/* ==========================================================================
   D-one Foodversity — African Range
   Design system derived from D_ONE BRAND GUIDES V1 SEPT 24
   Palette: Pantone 7528C stone / 7531C earth / rich black / brand red
   ========================================================================== */

:root{
  /* --- brand core --- */
  --stone:        #C2B9AC;   /* Pantone 7528C */
  --earth:        #786755;   /* Pantone 7531C */
  --ink:          #17140F;   /* C50 M50 Y50 K100 rich black */
  --red:          #BE1E2D;   /* C15 M100 Y90 K10 */

  /* --- extended, mixed from the core four --- */
  --paper:        #EFE9E0;
  --paper-warm:   #E5DCD0;
  --stone-deep:   #A79C8C;
  --earth-deep:   #5C4E40;
  --earth-dark:   #3B322A;
  --gold:         #A98E63;
  --red-deep:     #8E1622;

  /* --- pack accent colours, lifted from the real packaging --- */
  --acc-mild:     #D81E5B;
  --acc-hot:      #B3161F;
  --acc-jollof:   #E2632A;
  --acc-pepper:   #B85B34;
  --acc-gari:     #1F5B3E;
  --acc-maize:    #E0A81C;
  --acc-plantain: #2E8B4F;
  --acc-poundo:   #C08F63;
  --acc-elubo:    #7A6A54;
  --acc-spirit:   #24334F;

  --ink-70: rgba(23,20,15,.82);
  --paper-94: rgba(239,233,224,.94);
  --paper-35: rgba(239,233,224,.35);
  --rule-strong: rgba(23,20,15,.25);
  --ink-55: rgba(23,20,15,.68);
  --paper-70: rgba(239,233,224,.86);
  --paper-55: rgba(239,233,224,.70);

  /* --- type --- */
  --display: "Playfair Display", "Georgia", "Times New Roman", serif;
  --sans:    "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --hand:    "Fredericka the Greatest", var(--display);

  /* --- rhythm --- */
  --gut: clamp(1.25rem, 3.5vw, 2.75rem);
  --edge: clamp(1.25rem, 5vw, 5.5rem);
  --sec: clamp(4.5rem, 11vh, 9rem);
  --maxw: 1560px;
  --rule: 1px solid rgba(23,20,15,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:clamp(1.02rem,.42vw + .94rem,1.14rem);
  font-weight:400;
  line-height:1.7;
  letter-spacing:.004em;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img,svg{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }

/* --------------------------------------------------------------------------
   Type scale
   -------------------------------------------------------------------------- */
h1,h2,h3,h4{
  font-family:var(--display); font-weight:600; line-height:1.02; margin:0;
  /* Playfair's f has a ball terminal that collides with a following i when
     the pair is set as two separate glyphs. The fi LIGATURE is the designed
     fix for exactly this: it merges them into one form with a single dot.
     Turning ligatures off is what produced the collision. */
  letter-spacing:-.004em;
  font-variant-ligatures:common-ligatures contextual;
  font-feature-settings:"liga" 1, "clig" 1;
}
h1{ font-size:clamp(3rem,8.2vw,7.5rem); }
h2{ font-size:clamp(2.25rem,5vw,4.35rem); }
h3{ font-size:clamp(1.4rem,2.1vw,2.1rem); letter-spacing:-.01em; }
h4{ font-size:clamp(1.1rem,1.4vw,1.35rem); letter-spacing:-.005em; }
p{ margin:0 0 1.15em; }
p:last-child{ margin-bottom:0; }

.eyebrow{
  font-family:var(--sans); font-size:.8rem; font-weight:600;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--earth-deep); margin:0 0 1.4rem;
  display:flex; align-items:center; gap:.85rem; flex-wrap:wrap;
}
.eyebrow::before{
  content:""; width:2.4rem; height:1px; background:var(--red); flex:none;
}
.eyebrow--plain::before{ display:none; }
.eyebrow--light{ color:var(--stone); }

.lede{ font-size:clamp(1.12rem,1.35vw,1.38rem); line-height:1.62; font-weight:400; }
.script{ font-family:var(--hand); font-weight:400; letter-spacing:0; }
.tnum{ font-variant-numeric:tabular-nums; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.wrap{ max-width:var(--maxw); margin-inline:auto; padding-inline:var(--edge); }
.wrap--narrow{ max-width:940px; }
.wrap--mid{ max-width:1220px; }
.section{ padding-block:var(--sec); position:relative; }
.section--tight{ padding-block:clamp(3rem,6vh,5rem); }

.grid{ display:grid; gap:var(--gut); }
.grid-2{ grid-template-columns:repeat(auto-fit,minmax(min(100%,26rem),1fr)); }
.grid-3{ grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr)); }
.grid-4{ grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); }

/* tone blocks */
.tone-earth{ background:var(--earth); color:var(--paper); }
.tone-dark{ background:var(--earth-dark); color:var(--paper); }
.tone-stone{ background:var(--stone); }
.tone-paper-warm{ background:var(--paper-warm); }
.tone-earth .eyebrow,.tone-dark .eyebrow{ color:var(--stone); }
.tone-earth a:not(.btn),.tone-dark a:not(.btn){ color:var(--paper); }

/* --------------------------------------------------------------------------
   Adire — the brand's "symbolic African patterns", as CSS
   -------------------------------------------------------------------------- */
.adire{
  --adire-c: rgba(23,20,15,.055);
  background-image:
    repeating-linear-gradient(45deg,  var(--adire-c) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(-45deg, var(--adire-c) 0 2px, transparent 2px 13px);
  background-size:26px 26px;
}
.adire--light{ --adire-c: rgba(239,233,224,.075); }

/* zig-zag band, straight off the pack artwork */
.zigzag{
  height:12px; flex:none;
  background:
    linear-gradient(135deg, currentColor 25%, transparent 25%) -12px 0/24px 12px repeat-x,
    linear-gradient(225deg, currentColor 25%, transparent 25%) -12px 0/24px 12px repeat-x;
  opacity:.5;
}
.rule-red{ height:2px; background:var(--red); width:3.5rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; gap:.7rem;
  font-family:var(--sans); font-size:.8rem; font-weight:600;
  letter-spacing:.11em; text-transform:uppercase; text-decoration:none;
  padding:1.05rem 2rem; border:1px solid var(--ink); border-radius:999px;
  background:var(--ink); color:var(--paper);
  transition:background .35s var(--ease), color .35s var(--ease),
             border-color .35s var(--ease), transform .35s var(--ease);
  cursor:pointer;
}
.btn:hover{ background:var(--red); border-color:var(--red); transform:translateY(-2px); }
.btn .arw{ transition:transform .35s var(--ease); }
.btn:hover .arw{ transform:translateX(4px); }

.btn--ghost{ background:transparent; color:var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
.btn--light{ background:var(--paper); color:var(--ink); border-color:var(--paper); }
.btn--light:hover{ background:var(--red); border-color:var(--red); color:var(--paper); }
.btn--ghost-light{ background:transparent; color:var(--paper); border-color:rgba(239,233,224,.45); }
.btn--ghost-light:hover{ background:var(--paper); color:var(--ink); border-color:var(--paper); }

/* --------------------------------------------------------------------------
   Heritage objects — placed, never scattered
   -------------------------------------------------------------------------- */
.relic{
  position:absolute; pointer-events:none; z-index:0;
  max-width:var(--lane);
  filter:drop-shadow(0 26px 38px rgba(23,20,15,.28));
}
.relic img{ max-width:100%; }
.relic--tall img{ max-width:var(--lane); }
/* every section's copy sits above its relic, so an object can tuck behind
   a column of text without ever obscuring a word of it */
.section > .wrap,
.phead > .wrap{ position:relative; z-index:2; }
.relic img{ width:100%; }
@media (max-width:1099px){ .relic{ display:none; } }
.relic--keep{ display:block !important; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.topbar{
  background:var(--earth-dark); color:var(--paper-70);
  font-size:.74rem; font-weight:400; letter-spacing:.1em; text-transform:uppercase;
}
.topbar .wrap{ display:flex; gap:1.5rem; justify-content:space-between;
  align-items:center; min-height:2.6rem; flex-wrap:wrap; }
.topbar a{ text-decoration:none; }
.topbar a:hover{ color:var(--paper); }
.topbar__set{ display:flex; gap:1.5rem; align-items:center; }
@media (max-width:720px){ .topbar__set--hide{ display:none; } }

.masthead{
  position:sticky; top:0; z-index:60;
  background:rgba(239,233,224,.9);
  backdrop-filter:saturate(150%) blur(14px);
  border-bottom:var(--rule);
  transition:background .3s var(--ease), box-shadow .3s var(--ease);
}
.masthead.is-stuck{ box-shadow:0 8px 30px rgba(23,20,15,.09); }
.masthead .wrap{
  display:flex; align-items:center; justify-content:space-between;
  gap:var(--gut); min-height:5.2rem;
}
.brandmark{ display:flex; align-items:baseline; gap:.85rem; text-decoration:none; flex:none; }
.brandmark img{ width:clamp(112px,11vw,152px); }
.brandmark span{
  font-size:.68rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase;
  color:var(--earth-deep); white-space:nowrap;
}
@media (max-width:560px){ .brandmark span{ display:none; } }

.nav{ display:flex; align-items:center; gap:clamp(1.25rem,2.4vw,2.5rem); }
.nav a{
  position:relative; text-decoration:none; font-size:.82rem; font-weight:500;
  letter-spacing:.12em; text-transform:uppercase; padding-block:.4rem;
}
.nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:1px;
  background:var(--red); transition:right .4s var(--ease);
}
.nav a:hover::after,.nav a[aria-current="page"]::after{ right:0; }
.nav a[aria-current="page"]{ color:var(--red); }
@media (max-width:1000px){ .nav{ display:none; } }

.burger{
  display:none; background:none; border:0; padding:.55rem; cursor:pointer;
  color:var(--ink);
}
@media (max-width:1000px){ .burger{ display:block; } .nav-cta{ display:none; } }
.burger svg{ width:26px; height:26px; }

.drawer{
  position:fixed; inset:0; z-index:80; width:100%; max-width:100vw;
  overflow:auto; background:var(--earth-dark);
  color:var(--paper); display:flex; flex-direction:column;
  padding:var(--edge); gap:.4rem; justify-content:center;
  transform:translateY(-100%); transition:transform .5s var(--ease);
}
.drawer.is-open{ transform:none; }
.drawer a{
  font-family:var(--display); font-size:clamp(2rem,7vw,3rem);
  text-decoration:none; padding-block:.3rem;
  border-bottom:1px solid rgba(239,233,224,.14);
}
.drawer a:hover{ color:var(--stone); }
.drawer__x{
  position:absolute; top:var(--edge); right:var(--edge);
  background:none; border:0; color:var(--paper); cursor:pointer; padding:.5rem;
}
.drawer__x svg{ width:30px; height:30px; }

/* --------------------------------------------------------------------------
   HERO — the gele figure, large, left, gaze leading right
   -------------------------------------------------------------------------- */
.hero{
  position:relative; overflow:hidden;
  background:
    radial-gradient(120% 90% at 12% 100%, #CFC6B8 0%, var(--stone) 42%, #B4A997 100%);
  border-bottom:1px solid rgba(23,20,15,.14);
}
.hero__grid{
  position:relative; z-index:3;
  max-width:var(--maxw); margin-inline:auto; padding-inline:var(--edge);
  display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1fr);
  align-items:end; gap:clamp(1rem,2vw,3rem);
  min-height:clamp(560px,82vh,860px);
}

/* the figure */
.hero__figure{ position:relative; align-self:end; margin-bottom:-1px; }
.hero__figure img{
  width:clamp(340px,46vw,760px);
  margin-left:clamp(-6rem,-5vw,-1rem);
  filter:drop-shadow(0 40px 56px rgba(23,20,15,.28));
  animation:riseFig 1.5s var(--ease) both;
}
@keyframes riseFig{ from{ opacity:0; transform:translateY(46px) scale(.985); } }

/* the disc she sits against — echoes the pack's medallion */
.hero__disc{
  position:absolute; z-index:-1; left:6%; bottom:8%;
  width:clamp(320px,40vw,660px); aspect-ratio:1; border-radius:50%;
  background:radial-gradient(circle at 38% 34%, rgba(239,233,224,.62), rgba(239,233,224,0) 68%);
}

/* the copy */
.hero__copy{ padding-bottom:clamp(2.75rem,7vh,5rem); max-width:35rem; }
.hero__copy > *{ animation:riseCopy 1.1s var(--ease) both; }
.hero__copy > *:nth-child(1){ animation-delay:.15s; }
.hero__copy > *:nth-child(2){ animation-delay:.26s; }
.hero__copy > *:nth-child(3){ animation-delay:.37s; }
.hero__copy > *:nth-child(4){ animation-delay:.46s; }
.hero__copy > *:nth-child(5){ animation-delay:.55s; }
@keyframes riseCopy{ from{ opacity:0; transform:translateY(22px); } }

.hero__wordmark{ width:clamp(170px,18vw,250px); margin-bottom:1.35rem; }
.hero h1{
  font-size:clamp(2.5rem,4.6vw,4.4rem);
  line-height:1.04; margin-bottom:1.1rem;
}
.hero h1 em{
  display:block; font-style:normal; font-family:var(--hand);
  font-size:.46em; color:var(--red); letter-spacing:0;
  margin-top:.24em; line-height:1.1;
}
.hero__lede{ color:var(--ink-70); max-width:30rem; margin-bottom:2rem; }
.hero__cta{ display:flex; gap:.85rem; flex-wrap:wrap; }

/* pillars along the hero floor */
.hero__pillars{
  position:relative; z-index:3; border-top:1px solid rgba(23,20,15,.16);
  background:rgba(239,233,224,.32);
  /* centre the row in the band. Fredericka's line box is much taller than its
     ink, so the band is sized here and the content centred, rather than
     relying on padding to land it by eye. */
  display:flex; align-items:center;
  min-height:clamp(4.5rem,7.5vw,7rem);
}
.hero__pillars ul{
  max-width:var(--maxw); margin-inline:auto; padding:0 var(--edge);
  list-style:none; margin:0; width:100%;
  display:grid; grid-template-columns:repeat(4,1fr); gap:.75rem;
  font-family:var(--hand); font-size:clamp(1.6rem,3.4vw,3.1rem); color:var(--ink);
}
@media (max-width:620px){
  .hero__pillars ul{ grid-template-columns:repeat(2,1fr); gap:.6rem; }
}
.hero__pillars li{
  display:flex; align-items:center; justify-content:center; gap:.7rem;
  line-height:1;
}
.hero__pillars li::before{
  content:""; width:10px; height:10px; border-radius:50%;
  background:var(--red); flex:none;
}

@media (max-width:900px){
  .hero__grid{ grid-template-columns:1fr; align-items:start;
    min-height:0; padding-top:clamp(2.5rem,7vh,4rem); }
  .hero__copy{ padding-bottom:1rem; order:1; max-width:none; }
  .hero__figure{ order:2; justify-self:center; }
  .hero__figure img{ width:min(88vw,460px); margin-left:0; }
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee{
  overflow:hidden; background:var(--ink); color:var(--paper);
  padding-block:.95rem; border-block:1px solid rgba(239,233,224,.12);
}
.marquee__track{
  display:flex; gap:3rem; width:max-content;
  animation:slide 42s linear infinite;
  font-size:.8rem; font-weight:500; letter-spacing:.16em; text-transform:uppercase;
}
.marquee span{ display:flex; align-items:center; gap:3rem; white-space:nowrap; }
.marquee span::after{ content:"◆"; color:var(--red); font-size:.6rem; }
@keyframes slide{ to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){ .marquee__track{ animation:none; } }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card{
  position:relative; background:var(--paper); border:var(--rule);
  padding:clamp(1.6rem,2.4vw,2.4rem); display:flex; flex-direction:column;
  gap:.85rem; transition:transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover{ transform:translateY(-5px); box-shadow:0 22px 44px rgba(23,20,15,.11); }
.card__no{
  font-family:var(--display); font-size:.9rem; color:var(--red);
  letter-spacing:.06em;
}
.card h3{ margin:0; }
.card p{ color:var(--ink-70); font-size:1rem; line-height:1.62; margin:0; }

.pillar{ display:flex; flex-direction:column; gap:.7rem; }
.pillar__ico{ width:2.6rem; height:2.6rem; color:var(--red); }
.pillar h4{ font-family:var(--hand); font-size:clamp(1.35rem,2vw,1.75rem); font-weight:400; }
.pillar p{ color:var(--ink-70); font-size:1rem; line-height:1.62; margin:0; }
.tone-earth .pillar p,.tone-dark .pillar p{ color:var(--paper-70); }
.tone-earth .pillar__ico,.tone-dark .pillar__ico{ color:var(--stone); }

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */
.pcard{
  position:relative; display:flex; flex-direction:column;
  background:var(--paper); border:var(--rule); overflow:hidden;
  text-decoration:none; transition:transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pcard:hover{ transform:translateY(-6px); box-shadow:0 26px 50px rgba(23,20,15,.14); }
.pcard__shot{
  position:relative; aspect-ratio:1;
  background:transparent; overflow:hidden;
}
/* the pack casts its own shadow; a painted gradient underneath only ever
   read as the edge of a box */
.pcard__shot img{
  /* A percentage height inside an aspect-ratio box silently falls back to
     auto, which let tall pouches overflow and clip. Insets always resolve, so
     the box is defined by them and object-fit does the fitting. */
  /* On a replaced element, auto width/height means INTRINSIC size, so insets
     alone do not constrain an img. Fill the box explicitly and let the
     element's own padding (border-box) hold the pack off the edges. */
  position:absolute; inset:0;
  width:100%; height:100%; max-width:none; max-height:none;
  padding:1.9rem 1.6rem;
  object-fit:contain; object-position:center;
  transition:transform .55s var(--ease);
  filter:drop-shadow(0 12px 16px rgba(23,20,15,.18));
}
/* the packs scale from the base, so a hover lift never crops at the card edge */
.pcard__shot img{ transform-origin:50% 85%; }
.pcard:hover .pcard__shot img{ transform:scale(1.04) rotate(-1deg); }
.pcard__accent{ position:absolute; top:0; left:0; right:0; height:4px; }
.pcard__body{ padding:1.35rem 1.5rem 1.6rem; display:flex; flex-direction:column; gap:.55rem; flex:1; }
.pcard__kicker{
  font-size:.72rem; font-weight:600; letter-spacing:.14em;
  text-transform:uppercase; color:var(--earth-deep);
}
.pcard h3{ font-size:clamp(1.2rem,1.6vw,1.5rem); }
.pcard p{ color:var(--ink-70); font-size:.97rem; line-height:1.6; margin:0; flex:1; }
.pcard__foot{
  display:flex; justify-content:space-between; align-items:center;
  gap:.75rem; padding-top:.85rem; border-top:var(--rule);
  font-size:.74rem; font-weight:500; letter-spacing:.09em;
  text-transform:uppercase; color:var(--earth-deep);
}
.pill{
  display:inline-block; padding:.26rem .66rem; border-radius:999px;
  border:1px solid rgba(23,20,15,.3); font-size:.68rem; font-weight:500;
  letter-spacing:.08em; text-transform:uppercase; white-space:nowrap;
}
.pill--heat{ border-color:var(--red); color:var(--red); }

/* range navigation */
.rangenav{
  display:flex; gap:.5rem; flex-wrap:wrap; padding-block:1.1rem;
  border-block:var(--rule); position:sticky; top:5.2rem; z-index:40;
  background:rgba(239,233,224,.94); backdrop-filter:blur(12px);
}
.rangenav a{
  text-decoration:none; font-size:.78rem; font-weight:500; letter-spacing:.1em;
  text-transform:uppercase; padding:.6rem 1.1rem; border-radius:999px;
  border:1px solid rgba(23,20,15,.18); transition:.3s var(--ease);
}
.rangenav a:hover,.rangenav a.is-on{ background:var(--ink); color:var(--paper); border-color:var(--ink); }

/* --------------------------------------------------------------------------
   Split feature
   -------------------------------------------------------------------------- */
.split{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,25rem),1fr));
  gap:0; align-items:stretch; }
.split__media{ position:relative; overflow:hidden; min-height:clamp(340px,52vh,640px); }
.split__media img{ width:100%; height:100%; object-fit:cover; }
.split__body{
  padding:clamp(2.5rem,6vw,5.5rem); display:flex; flex-direction:column;
  justify-content:center; gap:1.15rem;
}

/* pull quote */
.quote{ position:relative; max-width:52rem; }
.quote blockquote{
  margin:0; font-family:var(--display); font-weight:500;
  font-size:clamp(1.6rem,3.4vw,3rem); line-height:1.16; letter-spacing:-.018em;
}
.quote figcaption{
  margin-top:1.5rem; font-size:.78rem; font-weight:500; letter-spacing:.13em;
  text-transform:uppercase; color:var(--stone);
}
.quote__mark{
  display:block; width:2.6rem; height:2px; background:var(--red);
  margin-bottom:1.6rem; font-size:0; color:transparent;
}

/* --------------------------------------------------------------------------
   Timeline (Story)
   -------------------------------------------------------------------------- */
.timeline{ list-style:none; margin:0; padding:0; position:relative; }
.timeline::before{
  content:""; position:absolute; left:.42rem; top:.6rem; bottom:.6rem;
  width:1px; background:rgba(23,20,15,.2);
}
.timeline li{ position:relative; padding:0 0 2.5rem 3rem; }
.timeline li:last-child{ padding-bottom:0; }
.timeline li::before{
  content:""; position:absolute; left:0; top:.42rem;
  width:.85rem; height:.85rem; border-radius:50%;
  background:var(--paper); border:2px solid var(--red);
}
.timeline h3{ font-size:clamp(1.2rem,1.7vw,1.55rem); margin-bottom:.4rem; }
.timeline p{ color:var(--ink-70); font-size:1.02rem; line-height:1.64; margin:0; }
.timeline__yr{
  font-size:.76rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--red); display:block; margin-bottom:.3rem;
}

/* --------------------------------------------------------------------------
   Recipes
   -------------------------------------------------------------------------- */
.rcard{
  position:relative; display:flex; flex-direction:column; overflow:hidden;
  background:var(--paper); border:var(--rule); text-decoration:none;
  transition:transform .45s var(--ease), box-shadow .45s var(--ease);
}
.rcard:hover{ transform:translateY(-5px); box-shadow:0 24px 46px rgba(23,20,15,.13); }
.rcard__media{ position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--paper-warm); }
.rcard__media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.rcard:hover .rcard__media img{ transform:scale(1.05); }
.rcard__body{ padding:1.35rem 1.5rem 1.6rem; display:flex; flex-direction:column; gap:.6rem; flex:1; }
.rcard__meta{
  display:flex; gap:1.1rem; flex-wrap:wrap; font-size:.74rem; font-weight:500;
  letter-spacing:.09em; text-transform:uppercase; color:var(--earth-deep);
}
.rcard p{ color:var(--ink-70); font-size:.98rem; line-height:1.6; margin:0; flex:1; }
.rcard__tag{
  position:absolute; top:.9rem; left:.9rem; z-index:2;
  background:var(--ink); color:var(--paper);
  font-size:.68rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase;
  padding:.38rem .75rem; border-radius:999px;
}

/* "recipes coming" placeholder tile */
.soon{
  display:grid; place-items:center; text-align:center; gap:.85rem;
  border:1px dashed rgba(23,20,15,.28); background:transparent;
  padding:clamp(2rem,4vw,3.25rem); min-height:15rem;
}
.soon .script{ font-size:clamp(1.5rem,2.6vw,2.1rem); color:var(--earth); }
.soon p{ color:var(--ink-55); font-size:.98rem; line-height:1.6; max-width:22rem; margin:0; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field{ display:flex; flex-direction:column; gap:.5rem; }
.field label{
  font-size:.76rem; font-weight:600; letter-spacing:.11em;
  text-transform:uppercase; color:var(--earth-deep);
}
.field .req{ color:var(--red); }
.field input,.field select,.field textarea{
  font-family:var(--sans); font-size:1.02rem; font-weight:400; color:var(--ink);
  background:rgba(239,233,224,.6); border:1px solid rgba(23,20,15,.22);
  padding:.95rem 1.05rem; border-radius:2px; width:100%;
  transition:border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea{ min-height:9.5rem; resize:vertical; }
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none; border-color:var(--red); background:var(--paper);
}
.field--wide{ grid-column:1/-1; }
.formgrid{ display:grid; gap:1.35rem; grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr)); }
.formnote{ font-size:.88rem; color:var(--ink-55); }

/* contact detail rows */
.detail{ display:flex; gap:1.15rem; padding-block:1.35rem; border-bottom:var(--rule); }
.detail:first-child{ border-top:var(--rule); }
.detail__ico{ width:1.5rem; flex:none; color:var(--red); margin-top:.25rem; }
.detail h4{ font-size:.78rem; letter-spacing:.11em; text-transform:uppercase;
  font-family:var(--sans); font-weight:600; color:var(--earth-deep); margin-bottom:.3rem; }
.detail a,.detail p{ text-decoration:none; font-size:1.02rem; margin:0; }
.detail a:hover{ color:var(--red); }

/* --------------------------------------------------------------------------
   Page head (interior pages)
   -------------------------------------------------------------------------- */
.phead{
  position:relative; overflow:hidden; background:var(--stone);
  border-bottom:1px solid rgba(23,20,15,.14);
  padding-block:clamp(3.5rem,9vh,7rem);
}
.phead__inner{ position:relative; z-index:2; max-width:46rem; }
/* only give up width once the figure is actually shown */
@media (min-width:1100px){
  .phead__inner{ max-width:min(46rem, calc(100% - var(--lane))); }
}
.phead h1{ font-size:clamp(2.6rem,6.4vw,5.4rem); margin-bottom:1.1rem; }
.phead p{ color:var(--ink-70); font-size:clamp(1.06rem,1.2vw,1.26rem); line-height:1.62; max-width:34rem; }
.phead__fig{
  position:absolute; right:0; bottom:-4%;
  width:min(var(--lane), 30vw); opacity:.9; z-index:1;
  filter:drop-shadow(0 24px 34px rgba(23,20,15,.24));
  transform:scaleX(-1);
}
@media (max-width:1099px){ .phead__fig{ display:none; } }

/* breadcrumb */
.crumb{
  font-size:.76rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
  color:var(--earth-deep); margin-bottom:1.4rem;
}
.crumb a{ text-decoration:none; }
.crumb a:hover{ color:var(--red); }
.crumb span{ opacity:.5; margin-inline:.5rem; }

/* --------------------------------------------------------------------------
   Age gate (spirit range — UK alcohol marketing compliance)
   -------------------------------------------------------------------------- */
.gate{
  position:relative; border:1px solid rgba(23,20,15,.2);
  background:var(--paper-warm); padding:clamp(1.75rem,3vw,2.75rem);
  display:grid; gap:1.1rem; place-items:start; max-width:40rem;
}
.gate__row{ display:flex; gap:.75rem; flex-wrap:wrap; align-items:center; }
.gate small{ color:var(--ink-55); font-size:.78rem; }
[hidden]{ display:none !important; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.foot{ background:var(--ink); color:var(--paper-70); padding-top:clamp(3.5rem,7vh,5.5rem); }
.foot a{ text-decoration:none; }
.foot a:hover{ color:var(--paper); }
.foot__top{
  display:grid; gap:var(--gut); grid-template-columns:1fr;
  padding-bottom:clamp(2.5rem,5vh,4rem);
}
@media (min-width:640px){ .foot__top{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1040px){ .foot__top{ grid-template-columns:1.5fr repeat(3,minmax(0,1fr)); } }
.foot__logo{ width:150px; margin-bottom:1.2rem; }
.foot__blurb{ font-size:1rem; line-height:1.65; max-width:24rem; }
.foot h5{
  font-family:var(--sans); font-size:.76rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--stone);
  margin:0 0 1.1rem;
}
.foot ul{ list-style:none; margin:0; padding:0; display:grid; gap:.7rem; font-size:1rem; line-height:1.55; }
.foot__bar{
  border-top:1px solid rgba(239,233,224,.14); padding-block:1.5rem;
  display:flex; gap:1.25rem; justify-content:space-between; flex-wrap:wrap;
  font-size:.84rem; letter-spacing:.02em;
}
.foot__legal{ display:flex; gap:1.35rem; flex-wrap:wrap; }
.social{ display:flex; gap:.6rem; }
.social a{
  width:2.3rem; height:2.3rem; border-radius:50%; display:grid; place-items:center;
  border:1px solid rgba(239,233,224,.28); transition:.3s var(--ease);
}
.social a:hover{ background:var(--paper); color:var(--ink); border-color:var(--paper); }
.social svg{ width:1rem; height:1rem; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.rv{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .rv{ opacity:1; transform:none; transition:none; }
  .hero__figure img,.hero__copy > *{ animation:none; }
}

.skip{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--ink); color:var(--paper); padding:.85rem 1.25rem;
}
.skip:focus{ left:0; }

/* --- placeholder pack shot, for lines without a render yet --- */
.pcard__shot--tbc{
  background:
    repeating-linear-gradient(45deg,  rgba(23,20,15,.05) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(-45deg, rgba(23,20,15,.05) 0 2px, transparent 2px 13px),
    var(--stone);
  background-size:26px 26px, 26px 26px, auto;
}
.pcard__shot--tbc::after{
  content:"n"; font-family:var(--display); font-weight:700;
  font-size:clamp(4rem,9vw,6.5rem); color:rgba(23,20,15,.16); line-height:1;
}
.pcard__tbc{
  position:absolute; bottom:1rem; left:0; right:0; text-align:center;
  font-size:.68rem; font-weight:500; letter-spacing:.11em;
  text-transform:uppercase; color:var(--earth-deep);
}



/* keep the wordmark intact — it was breaking across lines at the hyphen */
.nb{ white-space:nowrap; }

/* --------------------------------------------------------------------------
   Relic lanes — where an object sits beside a text column, the column gives
   up space for it, so the object can be large without ever crowding a word.
   -------------------------------------------------------------------------- */
/* A relic is only drawn where its section has actually reserved a column for
   it. The lane and the relic appear together at the same breakpoint, so there
   is never a width at which decoration sits on top of copy. */
:root{ --lane: clamp(200px, 18vw, 330px); }
@media (min-width:1100px){
  .section.lane-left  > .wrap{ padding-left:calc(var(--edge) + var(--lane)); }
  .section.lane-right > .wrap{ padding-right:calc(var(--edge) + var(--lane)); }
}
/* tall objects get sized by height so they can't outgrow their band */
.relic--tall img{ height:clamp(280px,32vw,480px); width:auto; }
.relic--tall{ width:auto !important; }
.timeline li{ max-width:52rem; }

/* --------------------------------------------------------------------------
   HERO v2 — cinematic 16:9 character plate, playhead driven by the cursor.
   She tracks the pointer across the frame; copy sits in the reserved
   negative space at the top and sides of the render.
   -------------------------------------------------------------------------- */
.heroFilm{
  position:relative; overflow:hidden; isolation:isolate;
  background:var(--stone);
  border-bottom:1px solid rgba(23,20,15,.14);
}
.heroFilm__stage{
  position:relative; width:100%;
  aspect-ratio:16/9;
  min-height:clamp(460px,74vh,860px);
  max-height:92vh;
}
.heroFilm__plate,
.heroFilm .heroFilm__vid{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover; object-position:64% 30%;
  display:block;
}
.heroFilm .heroFilm__vid{ opacity:0; transition:opacity .7s var(--ease); }
.heroFilm .heroFilm__vid.is-ready{ opacity:1; }

/* legibility scrim — the render is light, the copy is dark, so we lift the
   top and sides just enough without washing the character out */
.heroFilm__veil{
  position:absolute; inset:0; z-index:2; pointer-events:none;
  background:
    linear-gradient(to right,
      rgba(226,219,207,.97) 0%,
      rgba(226,219,207,.93) 26%,
      rgba(226,219,207,.62) 40%,
      rgba(226,219,207,0)   56%),
    linear-gradient(to bottom, rgba(226,219,207,.55) 0%, rgba(226,219,207,0) 22%);
}
.heroFilm__copy{
  position:absolute; inset:0; z-index:3;
  max-width:var(--maxw); margin-inline:auto;
  display:flex; flex-direction:column; align-items:flex-start;
  justify-content:center; text-align:left;
  padding:0 var(--edge) clamp(2rem,6vh,4rem);
}
.heroFilm__copy > *{ max-width:min(34rem,46%); }
.heroFilm__copy > *{ animation:riseCopy 1.1s var(--ease) both; }
.heroFilm__copy > *:nth-child(1){ animation-delay:.12s; }
.heroFilm__copy > *:nth-child(2){ animation-delay:.22s; }
.heroFilm__copy > *:nth-child(3){ animation-delay:.32s; }
.heroFilm__copy > *:nth-child(4){ animation-delay:.42s; }
.heroFilm__copy > *:nth-child(5){ animation-delay:.52s; }

.heroFilm .eyebrow{ justify-content:flex-start; margin-bottom:1.1rem; }
.heroFilm__wordmark{ width:clamp(160px,17vw,255px); margin-bottom:.7rem; }
.heroFilm h1{
  font-size:clamp(2.2rem,4.2vw,4rem); line-height:1.04;
  margin-bottom:.75rem;
}
.heroFilm h1 em{
  display:block; font-style:normal; font-family:var(--hand);
  font-size:.44em; color:var(--red); letter-spacing:0; margin-top:.22em;
}
.heroFilm__lede{
  color:var(--ink-70); margin-bottom:1.6rem;
  font-size:clamp(1rem,1.15vw,1.16rem);
}
.heroFilm__cta{ display:flex; gap:.8rem; flex-wrap:wrap; }

/* hint that she is watching the pointer */
.heroFilm__hint{
  position:absolute; z-index:6; right:1.6rem; bottom:1.75rem;
  display:flex; align-items:center; gap:.55rem;
  font-size:.72rem; font-weight:500; letter-spacing:.13em; text-transform:uppercase;
  color:var(--earth-deep); opacity:.85;
  background:rgba(239,233,224,.72); backdrop-filter:blur(6px);
  padding:.45rem .95rem; border-radius:999px; pointer-events:none;
  transition:opacity .6s var(--ease);
}
.heroFilm__hint svg{ width:.95rem; height:.95rem; }
.heroFilm.is-tracked .heroFilm__hint{ opacity:0; }

@media (max-width:900px){
  /* On a phone there is no cursor, so the portrait is a still and the overlay
     composition has no reason to survive: the copy was landing on her face and
     the second button was overflowing the stage. Stack instead — copy on a
     clean ground, portrait beneath it, both fully legible. */
  .heroFilm{ display:flex; flex-direction:column; }
  .heroFilm__copy{
    position:static; order:1;
    padding:clamp(2rem,7vw,3rem) var(--edge) clamp(1.75rem,5vw,2.5rem);
    max-width:none; background:var(--paper);
  }
  .heroFilm__copy > *{ max-width:100%; }
  .heroFilm__stage{
    order:2; aspect-ratio:4/5; min-height:0; max-height:none;
  }
  .heroFilm__plate,.heroFilm .heroFilm__vid{ object-position:56% 18%; }
  .heroFilm__veil{ display:none; }
  .hero__pillars{ order:3; }
  .heroFilm__hint{ display:none; }
  .heroFilm h1{ font-size:clamp(2.1rem,8.5vw,3rem); }
  .heroFilm__wordmark{ width:clamp(150px,38vw,200px); }
  .heroFilm__cta{ width:100%; }
  .heroFilm__cta .btn{ flex:1 1 auto; justify-content:center; }
}
@media (max-width:420px){
  .heroFilm__cta{ flex-direction:column; align-items:stretch; }
}


.heroFilm__layer{ position:absolute; inset:0; }

/* --------------------------------------------------------------------------
   Pack rows — a shelf of real product, staggered so it reads as arranged
   rather than pasted in a line.
   -------------------------------------------------------------------------- */
.packrow{
  display:flex; align-items:flex-end; justify-content:flex-start;
  gap:clamp(.35rem,1.4vw,1.1rem); flex:none; max-width:100%;
}
.packrow img{
  width:clamp(120px,14vw,248px); height:auto;
  min-width:0; flex:0 1 auto;
  transition:transform .55s var(--ease);
}
@media (max-width:700px){
  .packrow{ flex-wrap:wrap; justify-content:center; gap:.5rem; }
  .packrow img{ width:clamp(84px,25vw,140px); }
  .packrow--sm img{ width:clamp(76px,22vw,120px); }
  .packrow__note{ text-align:center; }
}
.packrow img:nth-child(1){ transform:rotate(-2.5deg); z-index:1; }
.packrow img:nth-child(2){ transform:rotate(.5deg);   z-index:3; }
.packrow img:nth-child(3){ transform:rotate(3deg);    z-index:2; }
.packrow img:nth-child(4){ transform:rotate(-1.5deg); z-index:1; }
.packrow:hover img:nth-child(1){ transform:translateY(-8px) rotate(-3.5deg); }
.packrow:hover img:nth-child(2){ transform:translateY(-8px) rotate(.5deg);   }
.packrow:hover img:nth-child(3){ transform:translateY(-8px) rotate(4deg);    }
.packrow:hover img:nth-child(4){ transform:translateY(-8px) rotate(-2.5deg); }

.packrow--sm img{ width:clamp(104px,12vw,196px); }

/* a caption under a shelf, for naming what's on it */
.packrow__note{
  font-size:.72rem; font-weight:500; letter-spacing:.11em; text-transform:uppercase;
  color:var(--earth-deep); margin:1.1rem 0 0;
}
.tone-earth .packrow__note,.tone-dark .packrow__note{ color:var(--stone); }

/* section header that carries a pack shelf beside the heading */
.secHead{
  display:grid; grid-template-columns:minmax(0,1fr) auto;
  gap:clamp(1.5rem,4vw,3.5rem); align-items:end;
  margin-bottom:clamp(2.5rem,5vh,4rem);
}
@media (max-width:1000px){
  .secHead{ grid-template-columns:1fr; }
  .secHead .packrow{ justify-content:flex-start; }
}

/* --------------------------------------------------------------------------
   Design credit — IVAR DC
   -------------------------------------------------------------------------- */
.credit{
  display:inline-flex; align-items:center; gap:.6rem;
  text-decoration:none; color:var(--paper-55);
  font-size:.76rem; letter-spacing:.05em; white-space:nowrap;
  transition:color .3s var(--ease), opacity .3s var(--ease);
}
.credit img{
  width:auto; height:1.85rem; display:block;
  opacity:.82; transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.credit:hover{ color:var(--paper); }
.credit:hover img{ opacity:1; transform:translateY(-1px); }
.credit svg{ width:.66rem; height:.66rem; opacity:.55; flex:none; transition:opacity .3s var(--ease); }
.credit:hover svg{ opacity:.95; }
@media (max-width:560px){ .credit{ font-size:.72rem; } .credit img{ height:1.5rem; } }

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */
.legal h2{
  font-size:clamp(1.3rem,2vw,1.75rem);
  margin:2.75rem 0 .85rem;
  padding-top:1.75rem; border-top:var(--rule);
}
.legal h2:first-of-type{ margin-top:0; padding-top:0; border-top:0; }
.legal p, .legal li{ color:var(--ink-70); max-width:62ch; }
.legal ul{ margin:0 0 1.15em; padding-left:1.15rem; display:grid; gap:.5rem; }
.legal li::marker{ color:var(--red); }
.legal a{ color:var(--ink); text-decoration:underline; text-underline-offset:2px; }
.legal a:hover{ color:var(--red); }
.legal__meta{
  font-size:.76rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
  color:var(--earth-deep); margin-bottom:2.5rem;
}
.legal strong{ color:var(--ink); font-weight:500; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.notfound{
  position:relative; overflow:hidden; background:var(--stone);
  display:grid; align-items:center;
  min-height:clamp(520px,72vh,760px);
  padding-block:clamp(3.5rem,8vh,6rem);
}
.notfound__inner{ position:relative; z-index:2; max-width:44rem; }
.notfound h1{
  font-size:clamp(2.4rem,6vw,5rem); margin:.4rem 0 1.1rem; text-wrap:balance;
}
.notfound .lede{ color:var(--ink-70); max-width:34rem; margin-bottom:.85rem; }
.notfound__hint{ color:var(--ink-55); font-size:.98rem; max-width:34rem; margin-bottom:2rem; }
.notfound__cta{ display:flex; gap:.85rem; flex-wrap:wrap; }

/* --------------------------------------------------------------------------
   Stockists
   -------------------------------------------------------------------------- */
.stockists{
  display:grid; gap:clamp(1.75rem,4vw,3.5rem);
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:center;
}
@media (max-width:900px){ .stockists{ grid-template-columns:1fr; } }
.stockists__lead h2{ margin-bottom:1rem; }
.stockists__list{
  list-style:none; margin:0; padding:0; display:grid; gap:.6rem;
}
.stockists__list li{
  display:flex; align-items:baseline; gap:.9rem; flex-wrap:wrap;
  padding:1.05rem 1.25rem; background:rgba(239,233,224,.7);
  border:1px solid rgba(23,20,15,.14);
}
.stockists__name{
  font-family:var(--display); font-size:clamp(1.15rem,1.8vw,1.5rem); color:var(--ink);
}
.stockists__meta{
  font-size:.76rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase;
  color:var(--earth-deep); margin-left:auto;
}
.stockists__list li::before{
  content:""; width:.5rem; height:.5rem; border-radius:50%;
  background:var(--red); flex:none;
}
.stockists__note{
  margin-top:clamp(1.5rem,3vh,2.25rem); font-size:.95rem; color:var(--ink-70);
}
.stockists__note a{ color:var(--ink); text-decoration:underline; text-underline-offset:2px; }
.stockists__note a:hover{ color:var(--red); }

/* --------------------------------------------------------------------------
   Panels on dark grounds
   Cream text sitting straight on the patterned earth was the hardest thing to
   read on the site. These give the copy a flat, slightly darker surface of its
   own, lift it to full contrast, and drop the decorative numbering.
   -------------------------------------------------------------------------- */
.panel{
  position:relative; display:flex; flex-direction:column; gap:.7rem;
  background:rgba(43,36,29,.55);
  border:1px solid rgba(239,233,224,.16);
  border-radius:2px;
  padding:clamp(1.5rem,2.4vw,2.15rem);
}
.panel::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:var(--red);
}
.panel h3{
  color:var(--paper); font-size:clamp(1.2rem,1.7vw,1.5rem);
  margin:0; letter-spacing:-.005em;
}
.panel p{
  color:rgba(239,233,224,.94); font-size:1rem; line-height:1.65; margin:0;
}
.panel__tag{
  font-size:.72rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--stone);
}
/* the pattern is decoration; it should not sit behind running text */
.section--flat.adire{ background-image:none; }

/* --------------------------------------------------------------------------
   Trade band — the client's own shelf-ready case photography
   -------------------------------------------------------------------------- */
.trade{
  display:grid; gap:clamp(2rem,5vw,4.5rem);
  grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);
  align-items:center;
}
@media (max-width:960px){ .trade{ grid-template-columns:1fr; } }
.trade__copy{ max-width:34rem; }
.trade__shots{
  position:relative; margin:0;
  min-height:clamp(300px,34vw,460px);
}
.trade__shot{
  position:absolute; width:auto; height:auto; max-width:none;
  filter:drop-shadow(0 26px 34px rgba(0,0,0,.44));
  transition:transform .6s var(--ease);
}
/* the Puff Puff case sits front and slightly low; the Obé Ata case behind it */
.trade__shot--a{ left:0; bottom:4%; width:clamp(280px,34vw,560px); z-index:2; }
.trade__shot--b{ right:0; top:0; width:clamp(200px,24vw,390px); z-index:1; opacity:.96; }
.trade__shots:hover .trade__shot--a{ transform:translateY(-6px); }
.trade__shots:hover .trade__shot--b{ transform:translateY(-3px); }
.trade__shots figcaption{
  position:absolute; left:0; bottom:-2.2rem;
  font-size:.74rem; font-weight:500; letter-spacing:.13em; text-transform:uppercase;
  color:var(--stone);
}
@media (max-width:960px){
  .trade__shots{ min-height:clamp(260px,66vw,420px); }
  .trade__shot--a{ width:min(78vw,460px); }
  .trade__shot--b{ width:min(52vw,300px); }
}

/* the lane itself: a relic occupies the reserved column and nothing else */
@media (min-width:1100px){
  .section.lane-left  > .relic{ left:var(--edge); width:var(--lane); }
  .section.lane-right > .relic{ right:var(--edge); width:var(--lane); }
  .section.lane-left  > .relic--tall,
  .section.lane-right > .relic--tall{ width:auto; }
}


/* the story portrait carries its own lift; kept here so the markup holds no
   colour literals */
.storyFigure{ width:min(100%,420px); filter:drop-shadow(0 30px 40px rgba(23,20,15,.22)); }
