:root {
  --berry: #6e1b47;
  --blush: #f9e4ea;
  --gold: #c89b3c;
  --ink: #24121f;
  --mist: #fff8fa;
  --shade: #b4636f;
  --on-shade: #ffffff;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mist);
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.35rem; }
a { color: inherit; }
p { max-width: 62ch; }
.wrap { width: min(1120px, 92%); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.sub { color: #5d4553; margin-bottom: 1.5rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border: 2px solid var(--berry);
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn.primary { background: var(--berry); color: #fff; }
.btn.primary:hover { background: #55143a; border-color: #55143a; }
.btn.ghost { background: transparent; color: var(--berry); }
.btn.ghost:hover { background: var(--berry); color: #fff; }
.btn.small { padding: 0.5rem 1rem; font-size: 0.95rem; white-space: nowrap; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 248, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f0d6de;
}
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--berry); }
.logo span { font-weight: 600; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--berry); }
.menu-btn { display: none; background: none; border: 2px solid var(--berry); color: var(--berry); border-radius: 999px; padding: 0.4rem 1rem; font: inherit; font-weight: 600; cursor: pointer; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.5vw, 4.8rem); margin-bottom: 1.25rem; color: var(--berry); }
.lead { font-size: 1.2rem; margin-bottom: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.shade-panel {
  min-height: 420px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  background: var(--shade);
  color: var(--on-shade);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  transition: background 0.45s ease, color 0.45s ease;
}
.shade-label { font-weight: 600; margin-bottom: 0.5rem; opacity: 0.9; }
.shade-panel h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.swatches { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.swatch {
  width: 48px; height: 48px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.55);
  cursor: pointer; padding: 0;
  transition: transform 0.2s;
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"] { border-color: var(--on-shade); box-shadow: 0 0 0 3px var(--shade), 0 0 0 6px var(--on-shade); }

/* Shop */
.shop { padding: clamp(3rem, 7vw, 5.5rem) 0; background: #fff; }
.rows { list-style: none; padding: 0; margin-top: 1rem; }
.row {
  display: grid; grid-template-columns: 1fr 2fr auto; gap: 1.5rem; align-items: center;
  padding: 1.5rem 0; border-top: 1px solid #ecd3db;
}
.row:last-child { border-bottom: 1px solid #ecd3db; }
.row p { color: #4d3a46; }

/* About */
.about { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--berry); color: #fff; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.about p { margin-bottom: 1rem; color: #f6dce7; }
.points { list-style: none; padding: 0; display: grid; gap: 1.2rem; align-content: center; }
.points li { border-left: 4px solid var(--gold); padding-left: 1.1rem; color: #f6dce7; }
.points strong { color: #fff; display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; }

/* Order */
.order { padding: clamp(3rem, 7vw, 5.5rem) 0; background: var(--blush); }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info { display: grid; gap: 0.15rem; }
.info dt { font-weight: 600; margin-top: 0.8rem; color: var(--berry); }
.info dd { margin: 0; }
form { background: #fff; padding: clamp(1.4rem, 3vw, 2rem); border-radius: var(--radius); display: grid; gap: 0.5rem; }
label { font-weight: 600; margin-top: 0.4rem; }
input, select, textarea {
  width: 100%; font: inherit; color: inherit;
  padding: 0.75rem 0.9rem; border: 2px solid #e6c8d2; border-radius: 12px; background: var(--mist);
}
input:focus, select:focus, textarea:focus { border-color: var(--berry); outline: none; }
form .btn { margin-top: 0.8rem; justify-self: start; }
.error { color: #a3122f; font-weight: 600; }

/* Footer */
footer { padding: 1.6rem 0; background: var(--ink); color: #e9d6de; font-size: 0.95rem; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* Responsive */
@media (max-width: 820px) {
  .hero-grid, .about-grid, .order-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 0.6rem; }
  .row .btn { justify-self: start; }
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 1rem;
    padding: 1.2rem 4%; background: var(--mist); border-bottom: 1px solid #f0d6de;
  }
  .nav.open { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
