/* ============================================================
   LUMI — dineatlumi.co.uk
   Palette sampled from the Lumi logo.
   ============================================================ */
:root{
  --cream:      #F9F1E0;   /* logo ground */
  --cream-deep: #F0E6D4;
  --sand:       #E2D5BF;
  --clay:       #8B5D4A;   /* logo mark */
  --russet:     #64220C;   /* sampled from the logo wordmark */
  --night:      #241310;   /* deepest tone in the mark */
  --ink:        #2E1C15;
  --muted:      #6F5D4D;

  --bg: var(--cream);
  --fg: var(--ink);

  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Jost', 'Avenir Next', 'Helvetica Neue', sans-serif;
  --script: 'Alex Brush', 'Snell Roundhand', cursive;   /* stands in for the logo wordmark */
  --hand: 'Caveat', 'Bradley Hand', cursive;            /* the 'By Josh Spear' line */

  --gut: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:var(--body);
  font-weight:300;
  font-size:clamp(15px,1.05vw,17px);
  line-height:1.65;
  color:var(--fg);
  background:var(--bg);
  transition:background-color .18s linear, color .18s linear;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit}
button{font:inherit;color:inherit}

/* very fine grain — keeps large flat cream areas from looking flat */
.grain{
  position:fixed; inset:0; z-index:45; pointer-events:none; opacity:.5;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  mix-blend-mode:multiply;
}

/* the glow — Lumi's signature. a soft light that follows the cursor over dark sections */
.glow{
  position:fixed; z-index:1; pointer-events:none;
  width:70vmax; height:70vmax; left:0; top:0;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle, rgba(199,146,104,.16), rgba(199,146,104,.05) 36%, transparent 64%);
  opacity:0; transition:opacity .6s var(--ease);
}
.glow.on{opacity:1}

/* ---------- type ---------- */
.h-xl,.h-lg,.h-md,.h-sm{
  font-family:var(--display); font-weight:400; margin:0;
  font-variation-settings:'SOFT' 40,'WONK' 1;
  letter-spacing:-.015em; line-height:1.06;
}
.h-xl{font-size:clamp(2.6rem,7.4vw,5.4rem)}
.h-lg{font-size:clamp(2.1rem,4.6vw,3.5rem); line-height:1.1}
.h-md{font-size:clamp(1.5rem,2.6vw,2.1rem); line-height:1.18}
.h-sm{font-size:clamp(1.15rem,1.7vw,1.4rem); line-height:1.25}
#signuptitle{font-size:clamp(1.8rem,3.4vw,2.7rem); line-height:1.15}
.eyebrow{
  font-size:.7rem; text-transform:uppercase; letter-spacing:.24em;
  font-weight:400; color:var(--clay); margin:0 0 1.4em;
}
.lede{font-size:clamp(1.05rem,1.5vw,1.28rem); line-height:1.55; max-width:46ch}
.dim{color:var(--muted)}
.p{max-width:60ch; margin:0 0 1.1em}

/* ---------- layout ---------- */
.wrap{max-width:var(--max); margin:0 auto; padding-inline:var(--gut); position:relative; z-index:2}
.band{padding-block:clamp(72px,11vw,150px)}
.band--tight{padding-block:clamp(52px,7vw,92px)}
.rule{height:1px; background:currentColor; opacity:.16; border:0; margin:0}

/* ---------- header ---------- */
.head{
  position:fixed; inset:0 0 auto; z-index:50; pointer-events:none;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:18px var(--gut);
  transition:padding .4s var(--ease), background-color .3s linear;
}
.head::before{
  content:''; position:absolute; inset:0; z-index:-1; opacity:0;
  pointer-events:none; transition:opacity .3s linear;
}
.head.stuck{padding-block:12px}
.head.stuck::before{opacity:1; background:color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter:blur(9px)}
.head > *{pointer-events:auto}
.brand{display:flex; align-items:center}
.brand img{display:block; height:46px; width:auto}
.nav{display:flex; align-items:center; gap:clamp(18px,2.4vw,34px)}
.nav a{
  text-decoration:none; font-size:.78rem; letter-spacing:.16em; text-transform:uppercase;
  padding-block:6px; position:relative; opacity:.82;
}
/* :not(.btn) — the CTA in the nav is an <a> too, and without this the
   underline draws straight across the inside of the pill */
.nav a:not(.btn)::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:1px;
  background:currentColor; transform:scaleX(0); transform-origin:left;
  transition:transform .45s var(--ease);
}
.nav a:hover,.nav a[aria-current]{opacity:1}
.nav a:hover::after,.nav a[aria-current]::after{transform:scaleX(1)}
.navbtn{display:none; position:relative; z-index:3; background:none; border:0; padding:10px; cursor:pointer}
.navbtn span{display:block; width:22px; height:1px; background:currentColor; margin:5px 0; transition:transform .35s var(--ease), opacity .2s}
.navbtn[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.navbtn[aria-expanded="true"] span:nth-child(2){opacity:0}
.navbtn[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.7em;
  border:1px solid currentColor; background:none; cursor:pointer;
  padding:.95em 1.9em; border-radius:999px; text-decoration:none;
  font-size:.76rem; letter-spacing:.18em; text-transform:uppercase;
  transition:background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover{background:var(--clay); border-color:var(--clay); color:var(--cream)}
.btn--solid{background:var(--russet); border-color:var(--russet); color:var(--cream)}
.btn--solid:hover{background:var(--clay); border-color:var(--clay); color:var(--cream)}
.btn--sm{padding:.72em 1.4em; font-size:.7rem}
/* Forms disable the button while they're sending. Without this the
   button looks identical mid-flight and people press it again. */
.btn:disabled{opacity:.5; cursor:default}
.btn:disabled:hover{background:none; border-color:currentColor; color:inherit}
.btn--solid:disabled:hover{background:var(--russet); border-color:var(--russet); color:var(--cream)}
.link{
  text-decoration:none; font-size:.78rem; letter-spacing:.16em; text-transform:uppercase;
  border-bottom:1px solid currentColor; padding-bottom:3px; display:inline-block;
  transition:opacity .3s;
}
.link:hover{opacity:.6}
:focus-visible{outline:2px solid var(--clay); outline-offset:3px; border-radius:2px}

/* ---------- hero ---------- */
.hero{position:relative; min-height:100svh; display:grid; place-items:center; text-align:center; overflow:hidden}
.hero--sub{min-height:58svh; padding-top:90px}
.hero__media{position:absolute; inset:0; z-index:0}
.hero__media .ph{height:100%; border:0; border-radius:0; color:var(--clay)}
.hero__media::after{
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(180deg, var(--cream) 0%, rgba(250,243,231,.72) 26%, rgba(250,243,231,.62) 62%, var(--cream) 100%),
    radial-gradient(ellipse at 50% 46%, rgba(250,243,231,.55), transparent 62%);
}
.hero__inner{position:relative; z-index:3; padding:110px var(--gut) 90px; width:100%}
.mark{
  font-family:var(--script); font-weight:400;
  font-size:clamp(4rem,15vw,8.4rem); line-height:1.05; letter-spacing:.005em;
  margin:0; color:var(--russet);
  position:relative; left:var(--nudge,0);
  text-shadow:0 2px 34px rgba(250,243,231,.95), 0 0 90px rgba(250,243,231,.8);
  opacity:0; animation:lite 1.6s var(--ease) .75s forwards;
}
.byline{
  color:var(--clay);
  position:relative; left:var(--nudge,0);
  font-family:var(--hand); font-size:clamp(1.1rem,2.4vw,1.6rem); font-weight:400;
  margin:.1em 0 0; opacity:0;
  animation:lite 1.4s var(--ease) 1.1s forwards;
}
@keyframes lite{to{opacity:1; transform:none}}

/* the sunburst — Lumi's mark, drawn as light */
.sun{width:100%; height:auto; display:block; overflow:visible}
.sun path{stroke-dasharray:var(--len,70); stroke-dashoffset:var(--len,70); animation:draw 1.1s var(--ease) forwards}
.sun--static path{animation:none; stroke-dashoffset:0}
@keyframes draw{to{stroke-dashoffset:0}}
.sun-wrap{width:clamp(122px,26vw,230px); margin:0 auto 12px; color:var(--russet);
  filter:drop-shadow(0 0 22px rgba(250,243,231,.95))}
/* The footer lockup is the real logo (sunburst + wordmark + byline baked into
   one shot), not the font-and-SVG stand-in the hero still uses — so it's a
   plain image, no optical centring needed. */
.foot__mark{width:clamp(110px,16vw,150px); height:auto; display:block; margin:0 0 14px}
.hero__say{
  font-size:.72rem; letter-spacing:.34em; text-transform:uppercase; color:var(--clay);
  margin:0 0 26px; opacity:0; animation:lite 1.2s var(--ease) .05s forwards;
}
.hero__sub{
  color:var(--muted);
  font-family:var(--display); font-size:clamp(1.05rem,1.9vw,1.45rem); font-weight:300;
  font-style:italic; margin:30px auto 38px; max-width:24ch; line-height:1.4;
  opacity:0; animation:lite 1.4s var(--ease) 1.45s forwards;
}
.hero__cta{opacity:0; animation:lite 1.4s var(--ease) 1.7s forwards}
.next{
  color:var(--muted); margin-top:34px; font-size:.72rem; letter-spacing:.18em; text-transform:uppercase;
  opacity:0; animation:lite 1.4s var(--ease) 1.95s forwards;
}
.next b{font-weight:400; color:var(--russet)}
.scrollcue{
  position:absolute; left:50%; bottom:26px; z-index:3; transform:translateX(-50%);
  width:1px; height:52px; background:linear-gradient(currentColor,transparent); opacity:.5;
}

/* ---------- image placeholders ---------- */
.ph{
  position:relative; display:grid; place-items:center; text-align:center;
  background:
    linear-gradient(135deg, rgba(139,93,74,.13), rgba(139,93,74,.04) 45%, rgba(226,213,191,.30)),
    var(--cream-deep);
  border:1px solid rgba(139,93,74,.22); border-radius:2px;
  color:var(--clay); overflow:hidden;
}
.ph::before{
  content:''; position:absolute; inset:10px; border:1px solid rgba(139,93,74,.14); border-radius:1px;
}
.ph__label{
  position:relative; padding:20px; max-width:34ch;
  font-size:.66rem; letter-spacing:.15em; text-transform:uppercase; line-height:1.85;
}
.ph__label i{display:block; font-style:normal; opacity:.62; letter-spacing:.06em; text-transform:none; font-size:.78rem; margin-top:6px}
.ph img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; display:block;
}
.r-4x5{aspect-ratio:4/5}
.r-1x1{aspect-ratio:1/1}
.r-3x2{aspect-ratio:3/2}
.r-16x9{aspect-ratio:16/9}
.r-7x10{aspect-ratio:7/10}

/* ---------- the strip (food, below hero) ---------- */
.strip{padding-block:clamp(46px,6vw,74px); overflow:hidden; position:relative; z-index:2}
.strip__head{display:flex; justify-content:space-between; align-items:baseline; gap:20px; margin-bottom:26px; padding-inline:var(--gut)}
.strip__head p{margin:0; font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; color:var(--muted)}
.track{display:flex; gap:14px; width:max-content; animation:slide 70s linear infinite}
.strip:focus-within .track{animation-play-state:paused}
@media(hover:hover){.strip:hover .track{animation-play-state:paused}}
@keyframes slide{to{transform:translateX(-50%)}}
.track .ph{width:min(74vw,320px); flex:0 0 auto}

/* Touch devices have no real hover, so gating the pause on :hover (above)
   would stick it "on" after a tap and freeze the marquee permanently — the
   :hover media query keeps that rule off touch entirely. The marquee keeps
   auto-scrolling on touch too; it only pauses while a finger is actually
   down, via :active, which clears itself on release instead of sticking. */
@media(hover:none){
  .strip:active .track{animation-play-state:paused}
}

/* ---------- generic grid ---------- */
.two{display:grid; gap:clamp(28px,5vw,72px); align-items:center}
@media(min-width:860px){.two{grid-template-columns:1fr 1fr}.two--wide{grid-template-columns:1.15fr .85fr}}

/* ---------- Ticket Tailor widget ----------
   Their own iframe is responsive once it loads; the min-height just
   stops the page jumping while it does. */
.tt-widget{width:100%; min-height:280px}

/* ---------- shop teaser ---------- */
.shop{background:var(--russet); color:var(--cream); border-radius:2px; padding:clamp(34px,5vw,66px); text-align:center}
.shop .eyebrow{color:#E0A472}
.shop .btn{border-color:rgba(250,243,231,.45)}

/* ---------- pantry ---------- */
.prods{display:grid; gap:clamp(20px,3vw,36px); grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); margin-top:8px}
.prod__name{margin:16px 0 4px; font-family:var(--display); font-size:1.05rem; font-variation-settings:'SOFT' 40}
.prod__meta{margin:0; font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted)}
.prod__soon{display:inline-block; margin-top:10px; font-size:.66rem; letter-spacing:.2em; text-transform:uppercase; color:var(--clay); border:1px solid rgba(139,93,74,.3); border-radius:999px; padding:.5em 1.1em}

/* ---------- prose pages ---------- */
.prose{max-width:68ch}
.prose h3{font-family:var(--display); font-weight:400; font-size:1.2rem; margin:42px 0 10px; font-variation-settings:'SOFT' 40}
.prose h3:first-child{margin-top:0}
.prose p{margin:0 0 1em}
.todo{border-left:2px solid var(--clay); padding:14px 0 14px 18px; margin:28px 0; font-size:.86rem; color:var(--muted)}
.todo b{color:var(--clay); font-weight:400; letter-spacing:.14em; text-transform:uppercase; font-size:.68rem; display:block; margin-bottom:6px}

/* ---------- mailing list ---------- */
.signup{border-top:1px solid rgba(139,93,74,.2); padding-block:clamp(56px,8vw,104px); scroll-margin-top:90px}
.signup__grid{display:grid; gap:clamp(26px,4vw,68px)}
@media(min-width:860px){.signup__grid{grid-template-columns:1.05fr .95fr; align-items:start}}
.signup .form{gap:16px}
.opt{text-transform:none; letter-spacing:.02em; opacity:.6; font-size:.78em}
.hp{position:absolute; left:-5000px; width:1px; height:1px; overflow:hidden}

/* ---------- forms ---------- */
.form{display:grid; gap:18px; max-width:520px}
.field{display:grid; gap:8px}
.field label{font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted)}
.field input,.field select,.field textarea{
  font:inherit; color:var(--ink); background:transparent;
  border:0; border-bottom:1px solid rgba(139,93,74,.35); padding:10px 0; border-radius:0;
  transition:border-color .3s;
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--clay); outline:none}
.field textarea{resize:vertical; min-height:110px}
.note{font-size:.74rem; color:var(--muted); margin:0}
.socials{display:flex; flex-wrap:wrap; gap:10px 14px; margin-top:6px}

/* ---------- image lightbox ---------- */
.ph-zoom{display:block; width:100%; background:none; border:0; padding:0; cursor:zoom-in}
.ph-zoom .ph{transition:opacity .3s var(--ease)}
.ph-zoom:hover .ph, .ph-zoom:focus-visible .ph{opacity:.85}
.lightbox{position:fixed; inset:0; z-index:90; display:none; place-items:center; padding:20px}
.lightbox.open{display:grid}
.lightbox__veil{position:absolute; inset:0; background:rgba(93,31,10,.34); backdrop-filter:blur(8px) saturate(1.1)}
.lightbox__body{position:relative; max-width:100%; max-height:88svh; animation:rise .4s var(--ease)}
@keyframes rise{from{opacity:0; transform:translateY(16px)}}
.lightbox__img{display:block; max-width:100%; max-height:88svh; width:auto; height:auto; object-fit:contain; border-radius:2px; box-shadow:0 30px 80px rgba(93,31,10,.20)}
.lightbox__ph{width:min(70vw,560px); box-shadow:0 30px 80px rgba(93,31,10,.20)}
.lightbox__x{position:absolute; top:14px; right:14px; background:none; border:0; cursor:pointer; font-size:1.6rem; line-height:1; padding:10px; color:var(--ink); opacity:.6}
.lightbox__x:hover{opacity:1}

/* ---------- footer ---------- */
.foot{background:var(--cream-deep); color:var(--ink); position:relative; z-index:2;
  border-top:1px solid rgba(139,93,74,.20)}
.foot a{text-decoration:none}
.foot__grid{display:grid; gap:36px; padding-block:clamp(52px,7vw,88px)}
@media(min-width:760px){.foot__grid{grid-template-columns:1.4fr 1fr 1fr}}
.foot__t{font-size:.7rem; letter-spacing:.22em; text-transform:uppercase; color:var(--clay); margin:0 0 16px}
.foot ul{list-style:none; margin:0; padding:0; display:grid; gap:10px; font-size:.9rem}
.foot__base{display:flex; flex-wrap:wrap; gap:10px 26px; justify-content:space-between; padding-block:22px; font-size:.72rem; letter-spacing:.1em; color:var(--muted); border-top:1px solid rgba(139,93,74,.20)}

/* ---------- reveal ---------- */
.rv{opacity:0; transform:translateY(22px); transition:opacity 1s var(--ease), transform 1s var(--ease)}
.rv.in{opacity:1; transform:none}

/* ---------- mobile ---------- */
@media(max-width:800px){
  .navbtn{display:block; z-index:2}
  .nav{
    position:fixed; inset:0; background:var(--cream); color:var(--ink);
    flex-direction:column; justify-content:center; gap:26px;
    visibility:hidden; clip-path:circle(0% at calc(100% - 34px) 34px);
    transition:clip-path .6s var(--ease), visibility .6s;
  }
  .nav.open{visibility:visible; clip-path:circle(150% at calc(100% - 34px) 34px)}
  .nav a{font-size:1rem; letter-spacing:.22em}
  .head.stuck::before{background:color-mix(in srgb, var(--bg) 94%, transparent)}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important}
  .rv{opacity:1; transform:none}
  .mark,.byline,.hero__say,.hero__sub,.hero__cta,.next{opacity:1}
  .sun path{stroke-dashoffset:0}
  .strip{overflow-x:auto}
  .track{animation:none}
  .track > [aria-hidden="true"]{display:none}
}
