:root {
  --cocoa: #2a1714;
  --cocoa-2: #3a221d;
  --cocoa-3: #4b2e27;
  --ruby: #a3455b;
  --ruby-deep: #8a3449;
  --ruby-soft: #dba3b0;
  --blush: #f5e6e4;
  --cream: #fbf6f0;
  --paper: #f4ebe1;
  --gold: #b8955a;
  --gold-light: #dcc394;
  --ink: #3a2622;
  --muted: #7b625b;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
em { font-style: italic; color: var(--ruby); }
p { margin: 0 0 1em; }

.eyebrow {
  font: 500 .74rem/1 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 1.2rem;
}
.eyebrow--ruby { color: var(--ruby); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 30px;
  font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--cocoa); }
.btn--light:hover { background: var(--gold-light); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(251, 246, 240, .5); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(251, 246, 240, .08); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 14px 0;
}
.nav.is-solid { background: rgba(42, 23, 20, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(220, 195, 148, .18); padding: 6px 0; }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.nav__brand img { width: 46px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.nav__brand span { font: 500 1.5rem/1 var(--serif); letter-spacing: .02em; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { color: var(--cream); text-decoration: none; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; position: relative; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold-light); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta { border: 1px solid rgba(220, 195, 148, .6); padding: 11px 22px; border-radius: 999px; transition: background .3s, color .3s; }
.nav__cta:hover { background: var(--gold-light); color: var(--cocoa); }
.nav__toggle { display: none; }

@media (max-width: 760px) {
  .nav__toggle {
    display: grid; place-content: center; gap: 7px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0;
  }
  .nav__toggle span { width: 26px; height: 1.5px; background: var(--cream); transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0;
    background: var(--cocoa); padding: 8px var(--gutter) 28px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { width: 100%; text-align: center; padding: 16px 0; border-bottom: 1px solid rgba(220, 195, 148, .12); }
  .nav__links a::after { display: none; }
  .nav__cta { margin-top: 18px; border-bottom: 1px solid rgba(220, 195, 148, .6) !important; }
  .nav.menu-open { background: var(--cocoa); }
}

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--cream); overflow: hidden; background: var(--cocoa);
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 60% 60%; animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(42, 23, 20, .92) 0%, rgba(42, 23, 20, .7) 38%, rgba(42, 23, 20, .15) 75%),
    linear-gradient(0deg, rgba(42, 23, 20, .55), transparent 40%);
}
.hero__content { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; padding: 120px var(--gutter) 90px; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 7rem); font-weight: 400; max-width: 9ch; margin-bottom: 1.6rem; }
.hero h1 em { color: var(--ruby-soft); }
.hero__lead { max-width: 33rem; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(251, 246, 240, .82); margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1px solid rgba(251, 246, 240, .5); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cream); animation: scrollDot 2s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 760px) {
  .hero { align-items: flex-end; }
  .hero__bg img { object-position: 50% 30%; }
  .hero__shade { background: linear-gradient(0deg, rgba(42, 23, 20, .96) 10%, rgba(42, 23, 20, .7) 50%, rgba(42, 23, 20, .25) 100%); }
  .hero__content { padding-bottom: 96px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Welcome */
.welcome { padding: clamp(80px, 12vw, 150px) var(--gutter); background: var(--cream); }
.welcome__inner { max-width: 1020px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 90px); align-items: center; }
.welcome__logo { width: 100%; max-width: 360px; justify-self: center; filter: drop-shadow(0 24px 40px rgba(138, 52, 73, .18)); }
.welcome h2 { color: var(--cocoa); }
.welcome p { color: var(--muted); font-size: 1.05rem; }
.ornament { display: flex; align-items: center; gap: 12px; margin: 26px 0; }
.ornament span { width: 54px; height: 1px; background: var(--gold); }
.ornament i { width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg); }
.facts { list-style: none; display: flex; gap: clamp(20px, 5vw, 56px); padding: 26px 0 0; margin: 30px 0 0; border-top: 1px solid rgba(184, 149, 90, .35); }
.facts li { display: flex; flex-direction: column; }
.facts strong { font: 500 2.4rem/1 var(--serif); color: var(--ruby); }
.facts span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) {
  .welcome__inner { grid-template-columns: 1fr; text-align: center; }
  .welcome__logo { max-width: 240px; }
  .ornament, .facts { justify-content: center; }
}

/* Section heads */
.section-head { max-width: 680px; margin: 0 auto clamp(48px, 7vw, 80px); text-align: center; padding: 0 var(--gutter); }
.section-head h2 { color: var(--cream); margin-bottom: 1rem; }
.section-head h2 em { color: var(--ruby-soft); }
.section-head p:not(.eyebrow) { color: rgba(251, 246, 240, .7); }
.section-head--dark h2 { color: var(--cocoa); }
.section-head--dark h2 em { color: var(--ruby); }

/* Flavours */
.flavours {
  padding: clamp(80px, 12vw, 140px) 0;
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(163, 69, 91, .22), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(184, 149, 90, .12), transparent 60%),
    var(--cocoa);
  color: var(--cream);
}
.flavour-grid { list-style: none; margin: 0 auto; padding: 0; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(220, 195, 148, .16); border: 1px solid rgba(220, 195, 148, .16); }
.flavour { position: relative; background: var(--cocoa); padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 40px); transition: background .4s var(--ease); }
.flavour:hover { background: var(--cocoa-2); }
.flavour h3 { font-size: 1.85rem; margin: 26px 0 10px; }
.flavour p { color: rgba(251, 246, 240, .66); margin: 0; font-size: .98rem; }
.flavour--signature { background: linear-gradient(160deg, var(--cocoa-3), var(--cocoa)); }
.badge { position: absolute; top: 24px; right: 24px; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light); border: 1px solid rgba(220, 195, 148, .5); border-radius: 999px; padding: 6px 12px; }
.swatch { display: block; width: 74px; height: 74px; border-radius: 50%; box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .25), inset 0 4px 8px rgba(255, 255, 255, .25), 0 10px 26px rgba(0, 0, 0, .35); transition: transform .5s var(--ease); }
.flavour:hover .swatch { transform: rotate(-12deg) scale(1.06); }
.swatch--oreo { background: radial-gradient(circle at 30% 30%, #2b2420 0 9%, transparent 10%), radial-gradient(circle at 65% 40%, #2b2420 0 7%, transparent 8%), radial-gradient(circle at 45% 70%, #2b2420 0 10%, transparent 11%), radial-gradient(circle at 75% 72%, #2b2420 0 6%, transparent 7%), #f3ece2; }
.swatch--biscoff { background: radial-gradient(circle at 35% 30%, #d9a062, #b06b31 60%, #8a4f22); }
.swatch--strawberry { background: radial-gradient(circle at 30% 35%, #fff 0 3%, transparent 4%), radial-gradient(circle at 62% 55%, #fff 0 2.5%, transparent 3.5%), radial-gradient(circle at 45% 75%, #fff 0 3%, transparent 4%), radial-gradient(circle at 35% 30%, #f28b9c, #d5485f 65%, #a92d45); }
.swatch--dubai { background: radial-gradient(circle at 30% 30%, rgba(232, 200, 120, .9) 0 8%, transparent 9%), radial-gradient(circle at 60% 65%, rgba(232, 200, 120, .8) 0 10%, transparent 11%), radial-gradient(circle at 35% 30%, #b5c36a, #7f9a3a 60%, #5c7428); }
.swatch--fruit { background: radial-gradient(circle at 30% 35%, #e75a7a 0 14%, transparent 15%), radial-gradient(circle at 66% 60%, #e75a7a 0 11%, transparent 12%), radial-gradient(circle at 35% 30%, #8f5aa8, #5d2f7a 65%, #401d58); }
.swatch--nuts { background: radial-gradient(circle at 30% 35%, #e3c08f 0 12%, transparent 13%), radial-gradient(circle at 65% 62%, #d6ad75 0 10%, transparent 11%), radial-gradient(circle at 35% 30%, #a9744a, #7a4c2b 65%, #57331c); }
@media (max-width: 900px) { .flavour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .flavour-grid { grid-template-columns: 1fr; }
  .flavour { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; align-items: center; }
  .swatch { width: 64px; height: 64px; grid-row: span 2; }
  .flavour h3 { margin: 0 0 4px; font-size: 1.6rem; }
  .badge { top: 14px; right: 14px; }
}

/* Range / features */
.range { padding: clamp(80px, 12vw, 150px) 0 clamp(40px, 6vw, 80px); background: var(--paper); }
.feature { max-width: var(--max); margin: 0 auto clamp(80px, 11vw, 140px); padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media { position: relative; padding: 0 12% 14% 0; }
.feature--flip .feature__media { padding: 0 0 14% 12%; }
.feature__main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px 4px 4px; box-shadow: 0 30px 60px -20px rgba(42, 23, 20, .35); }
.feature__inset { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; border: 8px solid var(--paper); box-shadow: 0 20px 40px -12px rgba(42, 23, 20, .35); }
.feature--flip .feature__inset { right: auto; left: 0; }
.feature__num { display: block; font: italic 400 5rem/1 var(--serif); color: var(--gold); opacity: .55; margin-bottom: 8px; }
.feature h3 { font-size: clamp(2rem, 4vw, 3rem); color: var(--cocoa); margin-bottom: 18px; }
.feature__lead { font: italic 400 1.45rem/1.4 var(--serif); color: var(--ruby-deep); }
.feature p:not(.feature__lead) { color: var(--muted); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.tags li { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; padding: 8px 16px; border: 1px solid rgba(163, 69, 91, .35); color: var(--ruby-deep); border-radius: 999px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature--flip .feature__media { order: 0; }
  .feature__media { max-width: 520px; width: 100%; margin: 0 auto; }
}

/* Occasion */
.occasion {
  position: relative; padding: clamp(90px, 13vw, 160px) var(--gutter); text-align: center; color: var(--cream);
  background: linear-gradient(rgba(42, 23, 20, .78), rgba(42, 23, 20, .85)), url("img/tafel-sm.webp") center 70% / cover;
}
.occasion__inner { max-width: 820px; margin: 0 auto; }
.occasion__quote { font: italic 400 clamp(1.7rem, 4vw, 2.8rem)/1.3 var(--serif); margin-bottom: 2.4rem; }

/* Gallery */
.gallery { padding: clamp(80px, 12vw, 150px) 0; background: var(--cream); }
.masonry {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 18vw, 215px);
  grid-auto-flow: dense; gap: 14px;
}
.tile { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; overflow: hidden; border-radius: 4px; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .8s var(--ease); }
.tile:hover img { transform: scale(1.04); filter: saturate(1.08); }
.tile:focus-visible { outline: 2px solid var(--ruby); outline-offset: 3px; }
@media (max-width: 760px) {
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(110px, 30vw, 170px); gap: 10px; }
}

/* Order */
.order {
  padding: clamp(80px, 12vw, 150px) var(--gutter);
  background:
    radial-gradient(900px 500px at 100% 100%, rgba(163, 69, 91, .25), transparent 60%),
    var(--cocoa);
  color: var(--cream);
}
.order__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.order h2 { color: var(--cream); margin-bottom: 1.4rem; }
.order h2 em { color: var(--ruby-soft); }
.order__intro p { color: rgba(251, 246, 240, .72); }
.order__note { margin-top: 2rem; padding: 20px 22px; border-left: 2px solid var(--gold); background: rgba(251, 246, 240, .04); font-size: .92rem; }
.order__note strong { color: var(--gold-light); font-weight: 500; }
.order__form { background: rgba(251, 246, 240, .04); border: 1px solid rgba(220, 195, 148, .2); border-radius: 6px; padding: clamp(24px, 4vw, 44px); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend, .field > span { display: block; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border: 1px solid rgba(251, 246, 240, .28); border-radius: 999px; font-size: .92rem; transition: all .25s var(--ease); user-select: none; }
.chips label:hover span { border-color: var(--ruby-soft); }
.chips input:checked + span { background: var(--ruby); border-color: var(--ruby); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; font: 300 1rem/1.5 var(--sans); color: var(--cream);
  background: transparent; border: 0; border-bottom: 1px solid rgba(251, 246, 240, .3); border-radius: 0;
  padding: 8px 0 10px; transition: border-color .25s; color-scheme: dark;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-light); }
.field ::placeholder { color: rgba(251, 246, 240, .35); }
.order__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.order__status { margin: 16px 0 0; min-height: 1.5em; font-size: .9rem; color: var(--gold-light); }
@media (max-width: 900px) { .order__inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } .order__actions .btn { flex: 1 1 100%; } }

/* Contact */
.contact { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact a { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--cream); font-size: 1.02rem; transition: color .25s; }
.contact a:hover { color: var(--gold-light); }
.contact svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; border: 1px solid rgba(220, 195, 148, .45); color: var(--gold-light); flex: none; }
.contact--footer { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 22px 0 0; }
.contact--footer a { color: rgba(251, 246, 240, .75); font-size: .92rem; }
.contact--footer svg { width: 34px; height: 34px; padding: 7px; }

/* Footer */
.footer { background: #1e100e; color: rgba(251, 246, 240, .6); text-align: center; padding: 70px var(--gutter) 40px; }
.footer img { width: 110px; margin: 0 auto 18px; }
.footer__tag { font: italic 400 1.3rem/1.4 var(--serif); color: var(--cream); }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 36px; }
.footer__links a { text-decoration: none; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; }
.footer__links a:hover { color: var(--gold-light); }
.footer__copy { font-size: .8rem; margin: 0; padding-top: 28px; border-top: 1px solid rgba(220, 195, 148, .12); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 10, 8, .94); display: flex; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; background: none; border: 0; color: var(--cream); cursor: pointer; font: 300 2.6rem/1 var(--serif); width: 56px; height: 56px; opacity: .75; transition: opacity .2s; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__nav--prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 6px; top: 50%; transform: translateY(-50%); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
