/* Palette from Sierra Leonean gara cloth: indigo dye, cream starch-resist, kola-nut brown,
   palm-oil red, cassava-leaf green. Type: Danfo (Lagos bus-painting lettering) + Ojuju. */
:root {
  --indigo: #1f2a5c;
  --indigo-deep: #141b3f;
  --cream: #f2ead7;
  --paper: #f7f1e3;
  --kola: #6b3a24;
  --palm: #c8481a;
  --leaf: #3e5b2a;
  --ink: #1b1712;
  --display: "Danfo", "Ojuju", system-ui, sans-serif;
  --sans: "Figtree", system-ui, sans-serif; /* plain and easy to read for body text */
  --head: "Ojuju", "Figtree", sans-serif;
  --krio: "Ga Maamli", "Figtree", sans-serif; /* has ɛ and ɔ, which Danfo lacks */
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--indigo-deep); color: var(--cream); font: 500 1.125rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--palm); outline-offset: 3px; border-radius: 4px; }
h1, h2 { font-family: var(--head); font-weight: 800; line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
[lang="kri"] { font-family: var(--krio); }
.kicker { font: 700 .85rem/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--cream); color: var(--ink); padding: 10px 14px; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); background: linear-gradient(rgba(20,27,63,.8), rgba(20,27,63,0)); }
.brand { display: flex; align-items: center; gap: 10px; font: 400 1.7rem/1 var(--display); text-decoration: none; }
.brand img { width: 40px; height: auto; }
.top nav { display: flex; gap: 24px; align-items: center; }
.top nav .link { display: none; text-decoration: none; font-weight: 600; }
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 21; background: var(--palm); transform-origin: 0 50%; transform: scaleX(0); }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; text-decoration: none; background: var(--palm); color: #fff; border: 2px solid var(--palm); transition: transform .2s, background .2s; }
.pill:hover { transform: translateY(-2px); background: #a93a12; border-color: #a93a12; }
.pill.ghost { background: transparent; border-color: currentColor; color: inherit; }
.pill.ghost:hover { background: rgba(242,234,215,.12); }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero: centered over the sunset */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 110px var(--gutter) 90px; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; z-index: -2; animation: settle 14s cubic-bezier(.2,.6,.2,1) both; transform-origin: 50% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(20,27,63,.62), rgba(20,27,63,.25) 70%), linear-gradient(180deg, rgba(20,27,63,.35), rgba(20,27,63,.15) 40%, rgba(20,27,63,.9)); }
.hero-copy { display: grid; justify-items: center; max-width: 900px; }
.badge { display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(242,234,215,.14); border: 1px solid rgba(242,234,215,.4); backdrop-filter: blur(6px); font-weight: 700; font-size: .92rem; text-decoration: none; margin-bottom: 22px; }
.badge:hover { background: rgba(242,234,215,.24); }
.hero-emblem { width: clamp(96px, 16vw, 150px); height: auto; filter: drop-shadow(0 10px 28px rgba(0,0,0,.5)); margin-bottom: 6px; }
.hero h1 { margin: 0 0 18px; text-shadow: 0 3px 30px rgba(10,14,35,.7); }
.hero h1 .krio { display: block; color: var(--palm); font-size: clamp(4.4rem, 15vw, 10rem); line-height: 1; text-shadow: 0 4px 30px rgba(10,14,35,.6); }
.hero h1 .welcome { display: block; font-size: clamp(2.2rem, 6.5vw, 4.6rem); }
.lede { max-width: 40ch; font-size: 1.2rem; margin: 0 auto 28px; text-shadow: 0 2px 14px rgba(10,14,35,.8); }
.hero .btns { justify-content: center; }
.gloss { position: absolute; left: 0; right: 0; bottom: 22px; font-size: .9rem; opacity: .85; }
.scroll-cue { position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 26px; margin: 8px auto 0; background: var(--cream); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes settle { from { transform: scale(1.14); } to { transform: scale(1); } }

/* Gara cloth band, used as a divider */
.gara-band { height: clamp(56px, 9vw, 96px); background: url(media/gara.svg) 0 0 / 180px 180px repeat-x; }

/* Photo story: pinned; each photo arrives in vertical cloth strips */
.story { position: relative; height: 260svh; }
.story-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--indigo-deep); }
.layer { position: absolute; inset: 0; margin: 0; display: flex; }
.layer .strip-cut { flex: 1; overflow: hidden; position: relative; will-change: transform; margin-right: -1px; } /* overlap a pixel so no seams show */
.layer .strip-cut img { position: absolute; top: 0; height: 100%; width: var(--stage-w, 100vw); max-width: none; object-fit: cover; }
.layer > img { width: 100%; height: 100%; object-fit: cover; }
.story-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 75% 55% at 50% 50%, rgba(20,27,63,.5), rgba(20,27,63,.1) 75%), linear-gradient(180deg, rgba(20,27,63,.35), transparent 30%, transparent 70%, rgba(20,27,63,.6)); }
.captions { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter); pointer-events: none; }
.cap { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); text-shadow: 0 2px 6px rgba(0,0,0,.5), 0 4px 34px rgba(0,0,0,.6); }
.cap.on { opacity: 1; transform: none; }
.cap h2 { font-size: clamp(2.8rem, 9vw, 7rem); max-width: 12ch; margin: 12px auto 0; }
.chapters { position: absolute; z-index: 2; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; gap: 6px; padding: 0; margin: 0; list-style: none; }
.chapters li { width: 34px; height: 4px; border-radius: 4px; background: rgba(242,234,215,.3); transition: background .3s; }
.chapters li.on { background: var(--palm); }

/* Now showing: film strip that drifts sideways as you scroll past */
.reel { background: #0d0f14; padding: 96px 0 104px; overflow: hidden; text-align: center; }
.reel-head { padding: 0 var(--gutter); margin-bottom: 44px; }
.reel h2 { font-size: clamp(2.8rem, 9vw, 6.5rem); margin-top: 10px; }
.reel h2 span { color: var(--palm); }
.filmstrip { display: flex; gap: 18px; width: max-content; padding: 34px 22px; background:
    radial-gradient(circle at 50% 50%, #0d0f14 46%, transparent 48%) 0 8px / 26px 18px repeat-x,
    radial-gradient(circle at 50% 50%, #0d0f14 46%, transparent 48%) 0 calc(100% - 8px) / 26px 18px repeat-x,
    #26262b; transform: translateX(var(--x, 0)) rotate(-2deg); box-shadow: 0 30px 60px rgba(0,0,0,.5); will-change: transform; }
.filmstrip figure { margin: 0; width: clamp(240px, 34vw, 460px); }
.filmstrip img { width: 100%; height: auto; aspect-ratio: 4/3; display: block; border-radius: 2px; }
.filmstrip figcaption { margin-top: 10px; font: 700 .82rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); opacity: .85; }

/* Roots: sideways gallery pinned while you scroll down */
.roots { position: relative; background: var(--kola); }
.roots-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.roots-track { display: flex; gap: clamp(16px, 2.5vw, 32px); padding: 0 var(--gutter); will-change: transform; align-items: center; }
.roots-intro { flex: 0 0 min(86vw, 520px); }
.roots-intro h2 { font-size: clamp(2.8rem, 8vw, 6rem); margin: 12px 0 18px; }
.roots-intro p:not(.kicker) { font-size: 1.15rem; max-width: 36ch; }
.roots figure { flex: 0 0 auto; margin: 0; height: min(68svh, 620px); position: relative; }
.roots figure img { height: 100%; width: auto; max-width: 80vw; object-fit: cover; border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.roots figure:nth-of-type(even) { transform: translateY(26px); }
.roots figcaption { margin-top: 12px; font-weight: 700; }
.roots figcaption small { display: block; font-weight: 500; font-size: .78rem; opacity: .75; }

/* Headings slide up as they come into view */
.rise { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.rise.in { opacity: 1; transform: none; }

/* On the table: light, like starched cloth */
.feast { background: var(--paper); color: var(--ink); padding: 104px var(--gutter) 88px; }
.feast .kicker { color: var(--palm); }
.feast-head { max-width: 760px; margin: 0 auto 48px; text-align: center; display: grid; justify-items: center; }
.feast h2 { font-size: clamp(3.6rem, 13vw, 8.5rem); color: var(--indigo); }
.gloss-dark { color: var(--kola); margin: 10px 0 18px; font-size: 1.05rem; font-weight: 700; }
.feast-lede { font-size: 1.25rem; max-width: 40ch; }
/* Ring reveal: the plate opens out from a circle, like a gara ring */
.ring { margin: 0 auto 56px; max-width: 1100px; height: min(80svh, 760px); overflow: hidden; border-radius: 8px; clip-path: circle(calc(14% + var(--p, 0) * 75%) at 50% 50%); }
.ring img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.2 - var(--p, 0) * .2)); }
.kitchen { max-width: 1240px; margin: 0 auto 64px; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kitchen figure { margin: 0; }
.kitchen img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; }
.kitchen figcaption { margin-top: 8px; font-weight: 700; font-size: .95rem; text-align: center; }

/* Menu laid out like strip-woven country cloth: narrow bands sewn side by side */
.strips { max-width: 1240px; margin: 0 auto; display: grid; border-top: 3px solid var(--ink); }
.strip { padding: 26px 0 30px; border-bottom: 1px solid rgba(27,23,18,.25); }
.strip h3 { font: 800 1.9rem/1.1 var(--head); color: var(--kola); margin-bottom: 18px; }
.strip ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.strip li b { font-weight: 700; font-size: 1.12rem; }
.strip li .price { float: right; font-weight: 700; color: var(--palm); }
.strip li p { color: #3d342b; font-size: 1.02rem; }
.note { max-width: 1240px; margin: 28px auto 0; color: #3d342b; font-size: 1rem; }

/* Chef: kola-nut brown */
.chef { background: var(--kola); padding: 104px var(--gutter); }
.chef-inner { max-width: 1240px; margin: 0 auto; }
.chef h2 { font-size: clamp(3.2rem, 11vw, 8rem); margin: 12px 0 40px; max-width: 12ch; }
.chef-cols { display: grid; gap: 40px; }
.chef p { font-size: 1.2rem; max-width: 54ch; }
.tags { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { background: var(--cream); color: var(--ink); padding: 8px 14px; border-radius: 6px; font-weight: 600; font-size: .95rem; box-shadow: 3px 3px 0 var(--palm); }
blockquote { font: 700 clamp(1.5rem, 3.4vw, 2.3rem)/1.3 var(--sans); padding-left: 22px; border-left: 6px solid var(--palm); }
cite { display: block; margin-top: 16px; font: 500 1rem/1.4 var(--sans); font-style: normal; opacity: .92; }

/* Visit: gara cloth */
.visit { background: var(--indigo) url(media/gara.svg) 0 0 / 260px 260px; padding: 104px var(--gutter) 88px; }
.visit-inner { max-width: 1240px; margin: 0 auto; display: grid; gap: 32px; }
.visit h2 { font-size: clamp(3.2rem, 11vw, 7.5rem); margin: 12px 0 22px; text-shadow: 0 2px 18px rgba(20,27,63,.8); }
.visit h2 span { color: var(--palm); }
.visit .kicker { text-shadow: 0 1px 10px rgba(20,27,63,.9); }
address { font-style: normal; font-size: 1.2rem; margin-bottom: 20px; background: rgba(20,27,63,.75); display: inline-block; padding: 10px 14px; border-radius: 6px; }
.visit-card { background: var(--paper); color: var(--ink); border-radius: 8px; padding: 28px; box-shadow: 8px 8px 0 var(--palm); }
.visit-card .kicker { color: var(--palm); margin-bottom: 10px; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid rgba(27,23,18,.15); }
.hours td + td { text-align: right; }
.hours tr.today td { color: var(--palm); font-weight: 700; }
.events { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 10px; }
.events span { color: #3d342b; }

footer { background: var(--paper); color: var(--ink); padding: 56px var(--gutter) 110px; display: grid; gap: 14px; justify-items: start; }
.foot-logo { width: min(240px, 60vw); height: auto; margin-bottom: 8px; }
.bye { font: 400 clamp(3rem, 12vw, 7rem)/1 var(--krio); color: var(--palm); }
footer p:last-child { font-size: 1rem; }

.callbar { position: fixed; inset: auto 12px 12px; z-index: 20; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.callbar .pill.ghost { background: var(--indigo-deep); color: var(--cream); }

@media (min-width: 900px) {
  .top nav .link { display: inline; }
  .top .pill { display: none; }
  .callbar { display: none; }
  footer { padding-bottom: 48px; }
  .strips { grid-template-columns: 1fr 1fr; column-gap: 0; border-top: 0; }
  .strip { padding: 30px 36px; border: 0; border-left: 3px solid var(--ink); }
  .strip:last-child { border-right: 3px solid var(--ink); }
  .chef-cols { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
  .visit-inner { grid-template-columns: 1.2fr 1fr; align-items: start; }
}

/* ---- Splash ---- */
.splash { position: fixed; inset: 0; z-index: 100; pointer-events: auto; cursor: pointer; animation: splash-gone 0s linear 3.75s forwards; }
.no-splash .splash, .splash.done { display: none; }
.splash-strips { position: absolute; inset: 0; display: flex; }
.splash-strips i { flex: 1; will-change: transform; background: var(--indigo); animation: strip-up .75s cubic-bezier(.7,0,.25,1) both; animation-delay: calc(2.8s + var(--k) * 55ms); }
.splash-strips i:nth-child(even) { animation-name: strip-down; }
.splash-strips i:nth-child(1) { --k: 3; } .splash-strips i:nth-child(2) { --k: 2; } .splash-strips i:nth-child(3) { --k: 1; }
.splash-strips i:nth-child(4) { --k: 0; } .splash-strips i:nth-child(5) { --k: 1; } .splash-strips i:nth-child(6) { --k: 2; } .splash-strips i:nth-child(7) { --k: 3; }
.splash-art svg { width: 100%; height: 100%; display: block; }
.splash-layer { position: absolute; inset: 0; will-change: transform, opacity; }
.splash .ties path { stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: tie .7s cubic-bezier(.3,.7,.2,1) forwards; }
.splash .ties path:nth-child(1) { animation-delay: .05s; } .splash .ties path:nth-child(2) { animation-delay: .13s; }
.splash .ties path:nth-child(3) { animation-delay: .21s; } .splash .ties path:nth-child(4) { animation-delay: .29s; }
.splash .ties path:nth-child(5) { animation-delay: .37s; }
.splash .flood { transform: scale(0); animation: flood 1s cubic-bezier(.55,0,.2,1) .75s forwards; }
.splash .resist { opacity: 0; transform: scale(.85) rotate(-8deg); animation: resist 1s ease-out 1.3s forwards; }
.splash-art { position: absolute; inset: 0; animation: fade-out .25s ease 2.75s forwards; }
.splash-word { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--cream); }
.splash-logo { width: auto; height: min(42svh, 62vw); margin: 0 auto 6px; opacity: 0; transform: translateY(30px) scale(.8); animation: lift .8s cubic-bezier(.2,1.3,.4,1) 1.35s forwards; }
@keyframes lift { to { opacity: 1; transform: none; } }
.splash-word p { position: relative; overflow: hidden; opacity: 0; animation: appear 0s linear 1.6s forwards; font: 400 clamp(3.4rem, 12vw, 8rem)/1 var(--krio); text-shadow: 0 2px 10px rgba(20,27,63,.6); }
.splash-word p::after { content: ""; position: absolute; inset: 0; background: var(--indigo); transform-origin: right; animation: unveil .7s cubic-bezier(.6,0,.2,1) 1.7s forwards; will-change: transform; }
@keyframes unveil { to { transform: scaleX(0); } }
@keyframes appear { to { opacity: 1; } }
.splash-word small { font: 700 .9rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: 0; animation: rise .5s ease 2s forwards; }
html:not(.no-splash) .hero-img { animation-delay: 2.95s; }
@keyframes tie { to { stroke-dashoffset: 0; } }
@keyframes flood { to { transform: scale(1); } }
@keyframes resist { from { opacity: 0; transform: scale(.85) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes paint { to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: .9; transform: none; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes strip-up { to { transform: translateY(-101%); } }
@keyframes strip-down { to { transform: translateY(101%); } }
@keyframes splash-gone { to { visibility: hidden; pointer-events: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 699px) {
  .kitchen { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72vw; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); scrollbar-width: none; }
  .kitchen figure { scroll-snap-align: center; }
  .ring { height: 62svh; }
}


/* ---- One continuous page ----
   Sections are see-through; the body colour shifts as each chapter takes over, so there are no hard seams. */
body { transition: background-color .9s ease, color .9s ease; }
.reel, .roots, .feast, .chef, .visit, footer { background-color: transparent !important; }
.reel, .feast, .chef, .visit { padding-top: clamp(96px, 12vw, 150px); padding-bottom: clamp(96px, 12vw, 150px); }
.sec-head { max-width: 860px; margin: 0 auto clamp(36px, 5vw, 56px); padding: 0 var(--gutter); text-align: center; display: grid; justify-items: center; }
.sec-head h2 { font-size: clamp(2.8rem, 9vw, 6.5rem); margin: 12px 0 0; }
.sec-head p:not(.kicker) { font-size: 1.15rem; max-width: 46ch; margin-top: 16px; }
.sec-head .kicker { color: var(--palm); }
.chef .sec-head .kicker, .visit .sec-head .kicker { color: var(--cream); opacity: .85; }
.reel { padding-top: clamp(96px, 12vw, 150px); }
.reel-head { display: none; }

/* roots: heading on top, photos slide underneath */
.roots-stage { flex-direction: column; justify-content: center; gap: 8px; }
.roots-stage .sec-head { margin-bottom: 24px; }
.roots-stage .sec-head h2 { font-size: clamp(2.4rem, 7vw, 5rem); }
.roots figure { height: min(52svh, 520px); }
.roots-track { align-self: flex-start; }

/* chef: centered head, columns below */
.chef-inner h2 { margin: 12px 0 0; max-width: none; }

/* visit: gara cloth fades in and out at the edges instead of a hard block */
.visit { position: relative; isolation: isolate; background-image: none !important; }
.visit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(media/gara.svg) 0 0 / 260px 260px; opacity: .55;
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.visit-inner { margin-top: 0; }

/* the gara band fades into the dusk on both sides */
.gara-band { -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }

/* film strip sits on the same dusk; soft dark glow instead of a black block */
.reel { overflow: hidden; }
.filmstrip { box-shadow: 0 30px 80px rgba(5,8,25,.55); }

/* header follows the light/dark of the chapter */
.top { transition: color .6s ease, background .6s ease; }
body[data-tone="light"] .top { color: var(--ink); background: linear-gradient(rgba(247,241,227,.92), rgba(247,241,227,0)); }
.now { position: absolute; left: 50%; transform: translateX(-50%); font: 700 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.now.show { opacity: .85; }
@media (max-width: 899px) { .now { display: none; } }

footer { text-align: center; justify-items: center; }

/* phones: no scroll hint (the call bar sits there), translation sits under the buttons, no duplicate header button */
@media (max-width: 899px) {
  .scroll-cue { display: none; }
  .hero { padding-bottom: 130px; }
  .gloss { position: static; margin-top: 18px; }
  .top .pill { display: none; }
}

/* splash layers scale as a whole, so let the shapes draw past the box while they grow */
.splash-layer svg { overflow: visible; }
/* phones: skip the costly effects (frosted glass, a moving full-screen photo under the intro) */
@media (max-width: 899px) {
  .badge { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20,27,63,.55); }
  .hero-img { animation: none; }
}
