/* ==========================================================================
   Ibby's Kitchen - Indian & Grill, Sligo
   Premium dark theme. Single stylesheet, no framework.
   Palette sampled from the restaurant interior + the brand logo.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root{
  /* Surfaces - charcoal, from the panelled walls */
  --ink:        #0A0A0B;
  --ink-2:      #101113;
  --ink-3:      #17191C;
  --ink-4:      #1F2226;

  /* Teal - the slatted feature walls */
  --teal-deep:  #0F2E36;
  --teal:       #17454F;
  --teal-lit:   #2C6E7B;

  /* Tan - the leather banquettes */
  --tan:        #B0714A;
  --tan-deep:   #7A4526;

  /* Brass / amber - the Edison bulbs + the brand gold */
  --gold:       #E4A548;
  --gold-lit:   #F2CB8A;
  --gold-deep:  #A9752C;

  /* Flame orange - straight from the logo */
  --flame:      #F0700F;
  --flame-lit:  #FF8A2B;

  /* Type */
  --cream:      #F5F0E8;
  --body:       #C6C0B8;
  --muted:      #8E8880;
  --faint:      #5C5750;

  --line:       rgba(228,165,72,.20);
  --line-soft:  rgba(255,255,255,.09);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --shell: 1240px;
  --gut:   clamp(20px, 5vw, 48px);
  --sect:  clamp(64px, 9vw, 130px);

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

/* ---------- 2. Reset ----------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  margin:0; background:var(--ink); color:var(--body);
  font:400 16px/1.75 var(--sans);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img,svg,video{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; color:inherit; background:none; border:0; cursor:pointer; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,h5,h6,p,figure{ margin:0; }
input,textarea,select{ font:inherit; color:inherit; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }
::selection{ background:var(--flame); color:#fff; }

/* ---------- 3. Typography ------------------------------------------------ */
h1,h2,h3,h4,h5{ font-family:var(--serif); color:var(--cream); font-weight:400; line-height:1.12; }
.t-hero  { font-size:clamp(2.6rem, 7.2vw, 5.6rem); letter-spacing:-.015em; }
.t-page  { font-size:clamp(2.2rem, 5.4vw, 3.9rem); letter-spacing:-.01em; }
.t-sect  { font-size:clamp(1.9rem, 4vw, 3rem);    letter-spacing:-.01em; }
.t-card  { font-size:clamp(1.15rem,1.9vw,1.5rem); }

/* small gold letterspaced label above a heading */
.eyebrow{
  font-family:var(--sans); font-size:.72rem; font-weight:700;
  letter-spacing:.34em; text-transform:uppercase; color:var(--gold);
  display:flex; align-items:center; gap:.85em; margin-bottom:1.1rem;
}
.eyebrow::before,.eyebrow::after{ content:""; height:1px; width:34px; background:var(--line); }
.eyebrow--l::before{ display:none; }
.eyebrow--c{ justify-content:center; }
.lead{ font-size:clamp(1.02rem,1.5vw,1.16rem); color:var(--body); line-height:1.85; }
.dim{ color:var(--muted); }
em.script{ font-family:var(--serif); font-style:italic; color:var(--gold); }

/* decorative flame divider */
.rule{ display:flex; align-items:center; justify-content:center; gap:14px; margin:1.4rem 0; }
.rule::before,.rule::after{ content:""; height:1px; width:clamp(40px,9vw,90px); background:linear-gradient(90deg,transparent,var(--line),transparent); }
.rule svg{ width:16px; height:20px; fill:var(--flame); flex:none; }
.rule--l{ justify-content:flex-start; }
.rule--l::before{ display:none; }

/* ---------- 4. Layout ---------------------------------------------------- */
.shell{ width:min(100% - (var(--gut)*2), var(--shell)); margin-inline:auto; }
.shell--wide{ width:min(100% - (var(--gut)*2), 1500px); }
.section{ padding-block:var(--sect); position:relative; }
.section--tight{ padding-block:clamp(48px,6vw,84px); }
.bg-2{ background:var(--ink-2); }
.bg-3{ background:var(--ink-3); }
.bg-teal{ background:linear-gradient(160deg,var(--teal-deep),#0B2129 70%); }
.center{ text-align:center; }
.sect-head{ max-width:680px; margin-inline:auto; margin-bottom:clamp(38px,5vw,64px); text-align:center; }
.sect-head .eyebrow{ justify-content:center; }
.sect-head--l{ margin-inline:0; text-align:left; }
.sect-head--l .eyebrow{ justify-content:flex-start; }
.sect-head--l .eyebrow::before{ display:none; }

.grid{ display:grid; gap:clamp(20px,3vw,34px); }
.g-2{ grid-template-columns:repeat(2,1fr); }
.g-3{ grid-template-columns:repeat(3,1fr); }
.g-4{ grid-template-columns:repeat(4,1fr); }

/* hairline framing that reads as premium without shouting */
.framed{ position:relative; }
.framed::after{
  content:""; position:absolute; inset:14px; border:1px solid var(--line);
  pointer-events:none; opacity:.55;
}

/* ---------- 5. Buttons --------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6em;
  padding:1.05em 2.4em; font-family:var(--sans); font-size:.76rem; font-weight:700;
  letter-spacing:.22em; text-transform:uppercase; border:1px solid transparent;
  position:relative; overflow:hidden; isolation:isolate;
  transition:color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
  white-space:nowrap;
}
.btn::before{
  content:""; position:absolute; inset:0; background:var(--flame-lit);
  transform:scaleX(0); transform-origin:right; transition:transform .5s var(--ease); z-index:-1;
}
.btn:hover::before{ transform:scaleX(1); transform-origin:left; }
.btn--flame{ background:var(--flame); color:#fff; }
.btn--flame:hover{ color:#fff; }
.btn--gold{ background:var(--gold); color:#1A1204; }
.btn--gold::before{ background:var(--gold-lit); }
.btn--ghost{ border-color:var(--line); color:var(--cream); }
.btn--ghost::before{ background:var(--gold); }
.btn--ghost:hover{ color:#1A1204; border-color:var(--gold); }
.btn--sm{ padding:.85em 1.7em; font-size:.7rem; }
.btn svg{ width:1.05em; height:1.05em; fill:currentColor; flex:none; }
.btn-row{ display:flex; flex-wrap:wrap; gap:14px; }
.btn-row--c{ justify-content:center; }

/* ---------- 6. Header ---------------------------------------------------- */
.topbar{
  background:var(--ink-2); border-bottom:1px solid var(--line-soft);
  font-size:.76rem; letter-spacing:.08em; color:var(--muted);
  position:relative; z-index:60;
}
.topbar__in{ display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:44px; }
.topbar a:hover{ color:var(--gold); }
.topbar__l,.topbar__r{ display:flex; align-items:center; gap:22px; }
.topbar svg{ width:13px; height:13px; fill:var(--gold); flex:none; }
.topbar span{ display:inline-flex; align-items:center; gap:7px; }

.site-head{
  position:sticky; top:0; z-index:50; background:rgba(10,10,11,.92);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-soft);
  transition:background .4s var(--ease), border-color .4s var(--ease);
}
.head__in{ display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:96px; }
.brand{ display:flex; align-items:center; gap:12px; flex:none; }
.brand img{ height:76px; width:auto; transition:height .35s var(--ease); }

.nav{ display:flex; align-items:center; gap:clamp(18px,2.4vw,38px); margin-left:auto; }
.nav a{
  font-size:.78rem; font-weight:700; letter-spacing:.19em; text-transform:uppercase;
  color:var(--cream); position:relative; padding:6px 0; transition:color .3s var(--ease);
}
.nav a::after{
  content:""; position:absolute; left:0; bottom:0; height:1px; width:100%;
  background:var(--gold); transform:scaleX(0); transform-origin:right;
  transition:transform .4s var(--ease);
}
.nav a:hover{ color:var(--gold); }
.nav a:hover::after,.nav a[aria-current="page"]::after{ transform:scaleX(1); transform-origin:left; }
.nav a[aria-current="page"]{ color:var(--gold); }
.head__cta{ flex:none; }
.burger{ display:none; width:44px; height:44px; align-items:center; justify-content:center; flex:none; position:relative; z-index:51; }
.burger span{ display:block; width:24px; height:2px; background:var(--cream); position:relative; transition:background .3s; }
.burger span::before,.burger span::after{ content:""; position:absolute; left:0; width:24px; height:2px; background:var(--cream); transition:transform .35s var(--ease); }
.burger span::before{ top:-7px; } .burger span::after{ top:7px; }
body.nav-open .burger span{ background:transparent; }
body.nav-open .burger span::before{ transform:translateY(7px) rotate(45deg); }
body.nav-open .burger span::after{ transform:translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.drawer{
  position:fixed; inset:0; z-index:49; background:rgba(8,8,9,.985);
  backdrop-filter:blur(6px); display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:6px;
  opacity:0; visibility:hidden; transition:opacity .4s var(--ease), visibility .4s;
}
body.nav-open .drawer{ opacity:1; visibility:visible; }
.drawer a{
  font-family:var(--serif); font-size:clamp(1.6rem,6vw,2.3rem); color:var(--cream);
  padding:.36em 0; transition:color .3s;
}
.drawer a:hover,.drawer a[aria-current="page"]{ color:var(--gold); }
.drawer .btn{ margin-top:22px; }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero{
  position:relative; min-height:min(94vh, 900px); display:grid; place-items:center;
  text-align:center; overflow:hidden; isolation:isolate;
}
.hero__bg{ position:absolute; inset:0; z-index:-2; }
.hero__bg img{ width:100%; height:100%; object-fit:cover; }
.hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(120% 90% at 50% 45%, rgba(10,10,11,.34) 0%, rgba(10,10,11,.70) 55%, rgba(10,10,11,.93) 100%),
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.15) 26%, rgba(10,10,11,.30) 62%, var(--ink) 100%);
}
/* wide enough to hold "Where Indian Tradition" on one line */
.hero__in{ padding-block:clamp(110px,15vh,170px); width:min(100% - (var(--gut)*2), 1180px); }
.hero .eyebrow{ justify-content:center; color:var(--gold-lit); }
.hero p.lead{ margin-top:1.4rem; color:#DCD6CE; }
.hero .btn-row{ margin-top:2.4rem; }
.hero__scroll{
  position:absolute; bottom:26px; left:50%; transform:translateX(-50%);
  font-size:.64rem; letter-spacing:.3em; text-transform:uppercase; color:var(--muted);
  display:flex; flex-direction:column; align-items:center; gap:9px;
}
.hero__scroll::after{ content:""; width:1px; height:38px; background:linear-gradient(var(--gold),transparent); animation:pulse 2.4s var(--ease) infinite; }
@keyframes pulse{ 0%,100%{ opacity:.35; transform:scaleY(.7); } 50%{ opacity:1; transform:scaleY(1); } }

/* page banner (inner pages) */
.banner{ position:relative; text-align:center; overflow:hidden; isolation:isolate; }
.banner__bg{ position:absolute; inset:0; z-index:-2; }
.banner__bg img{ width:100%; height:100%; object-fit:cover; }
.banner::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(180deg,rgba(10,10,11,.88),rgba(10,10,11,.60) 45%,rgba(10,10,11,.95));
}
.banner__in{ padding-block:clamp(84px,13vw,150px); }
.crumb{ font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; color:var(--muted); margin-top:1.1rem; }
.crumb a:hover{ color:var(--gold); }
.crumb span{ color:var(--gold); }

/* ---------- 8. Feature split (image + copy) ------------------------------ */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,5vw,74px); align-items:center; }
.split--rev .split__media{ order:2; }
.split__media{ position:relative; }
.split__media img{ width:100%; aspect-ratio:4/5; object-fit:cover; }
.split__media--wide img{ aspect-ratio:3/2; }
.split__badge{
  position:absolute; right:-18px; bottom:-18px; background:var(--flame); color:#fff;
  padding:20px 26px; text-align:center; max-width:200px;
}
.split__badge strong{ display:block; font-family:var(--serif); font-size:2.1rem; line-height:1; }
.split__badge span{ font-size:.64rem; letter-spacing:.18em; text-transform:uppercase; opacity:.95; display:block; margin-top:.4rem; }
.split__body p+p{ margin-top:1.05rem; }
.split__body .btn-row{ margin-top:2rem; }

/* stacked duo image treatment */
.duo{ display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:end; }
.duo img{ width:100%; object-fit:cover; }
.duo img:first-child{ aspect-ratio:3/4; }
.duo img:last-child{ aspect-ratio:1/1; margin-bottom:34px; }

/* ---------- 11. Cards ---------------------------------------------------- */
.card{ background:var(--ink-3); border:1px solid var(--line-soft); padding:clamp(26px,3.4vw,40px); height:100%; transition:border-color .4s var(--ease), transform .4s var(--ease); }
.card:hover{ border-color:var(--line); transform:translateY(-4px); }
.card__ico{ width:40px; height:40px; fill:var(--gold); margin-bottom:1.1rem; }
.card h3{ margin-bottom:.7rem; }
.card p{ font-size:.95rem; }
.card a.more{ display:inline-flex; align-items:center; gap:.5em; margin-top:1.2rem; font-size:.72rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); }
.card a.more svg{ width:14px; height:14px; fill:currentColor; transition:transform .35s var(--ease); }
.card a.more:hover svg{ transform:translateX(5px); }

/* stat strip */
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line-soft); border:1px solid var(--line-soft); }
.stat{ background:var(--ink); padding:clamp(26px,3.4vw,40px) 20px; text-align:center; }
.stat strong{ display:block; font-family:var(--serif); font-size:clamp(2rem,3.6vw,2.9rem); color:var(--gold); line-height:1; }
.stat span{ display:block; margin-top:.6rem; font-size:.68rem; letter-spacing:.22em; text-transform:uppercase; color:var(--muted); }

/* ---------- 12. CTA band ------------------------------------------------- */
.band{ position:relative; overflow:hidden; isolation:isolate; text-align:center; }
.band__bg{ position:absolute; inset:0; z-index:-2; }
.band__bg img{ width:100%; height:100%; object-fit:cover; }
.band::before{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(10,10,11,.90),rgba(10,10,11,.76)); }
.band__in{ padding-block:clamp(70px,10vw,120px); width:min(100% - (var(--gut)*2), 760px); margin-inline:auto; }

/* ---------- 14. Contact -------------------------------------------------- */
.info{ display:grid; gap:26px; }
.info__row{ display:flex; gap:18px; align-items:flex-start; }
.info__ico{ width:40px; height:40px; flex:none; display:grid; place-items:center; border:1px solid var(--line); }
.info__ico svg{ width:16px; height:16px; fill:var(--gold); }
.info__row h4{ font-family:var(--sans); font-size:.72rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); margin-bottom:.4rem; }
.info__row p{ color:var(--cream); font-size:1rem; line-height:1.65; }
.info__row a:hover{ color:var(--gold); }
.hours{ font-size:.95rem; }
.hours li{ display:flex; justify-content:space-between; gap:20px; padding:.68em 0; border-bottom:1px dashed rgba(255,255,255,.08); }
.hours li:last-child{ border-bottom:0; }
.hours span:last-child{ color:var(--gold); white-space:nowrap; }
.map{ border:1px solid var(--line-soft); line-height:0; }
.map iframe{ width:100%; height:100%; min-height:380px; border:0; filter:invert(1) grayscale(1) contrast(.82) brightness(.92); }

/* forms */
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.68rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--muted); margin-bottom:.55rem; }
.field input,.field textarea{
  width:100%; padding:.95em 1.1em; background:var(--ink-2); color:var(--cream);
  border:1px solid var(--line-soft); transition:border-color .3s;
}
.field input:focus,.field textarea:focus{ border-color:var(--gold); outline:none; }
.field textarea{ min-height:150px; resize:vertical; }

/* ---------- 15. Footer --------------------------------------------------- */
.site-foot{ background:var(--ink-2); border-top:1px solid var(--line-soft); padding-top:clamp(56px,7vw,90px); }
.foot__grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:clamp(28px,4vw,56px); padding-bottom:clamp(40px,5vw,64px); }
.foot h4{ font-family:var(--sans); font-size:.72rem; font-weight:700; letter-spacing:.24em; text-transform:uppercase; color:var(--gold); margin-bottom:1.3rem; }
.foot__brand img{ height:96px; width:auto; margin-bottom:1.2rem; }
.foot p,.foot li{ font-size:.92rem; color:var(--muted); }
.foot li{ padding:.34em 0; }
.foot a:hover{ color:var(--gold); }
.social{ display:flex; gap:10px; margin-top:1.4rem; }
.social a{ width:40px; height:40px; display:grid; place-items:center; border:1px solid var(--line-soft); transition:border-color .35s var(--ease), background .35s var(--ease); }
.social a svg{ width:15px; height:15px; fill:var(--muted); transition:fill .35s; }
.social a:hover{ border-color:var(--gold); background:var(--gold); }
.social a:hover svg{ fill:#1A1204; }
.foot__bar{ border-top:1px solid var(--line-soft); padding-block:24px; display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; font-size:.8rem; color:var(--faint); }

/* back to top */
.totop{ position:fixed; right:22px; bottom:22px; z-index:45; width:46px; height:46px; display:grid; place-items:center; background:var(--gold); opacity:0; visibility:hidden; transform:translateY(12px); transition:opacity .4s var(--ease), visibility .4s, transform .4s var(--ease), background .3s; }
.totop.on{ opacity:1; visibility:visible; transform:none; }
.totop svg{ width:16px; height:16px; fill:#1A1204; }
.totop:hover{ background:var(--flame); }
.totop:hover svg{ fill:#fff; }

/* ---------- 16. Reveal on scroll ----------------------------------------- */
/* Hidden only once JS confirms it can animate - see js-reveal in ibbys.js.
   Without JS (or if the observer never fires) everything stays visible. */
.js-reveal .rv{ opacity:0; transform:translateY(26px); transition:opacity .85s var(--ease), transform .85s var(--ease); }
.js-reveal .rv.in{ opacity:1; transform:none; }
.rv-2{ transition-delay:.1s; } .rv-3{ transition-delay:.2s; } .rv-4{ transition-delay:.3s; }
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
  .js-reveal .rv{ opacity:1; transform:none; }
  html{ scroll-behavior:auto; }
}

/* ---------- 17. Responsive ----------------------------------------------- */
@media (max-width:1080px){
  .dishes{ grid-template-columns:repeat(3,1fr); }
  .foot__grid{ grid-template-columns:1fr 1fr; }
  .gal{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:900px){
  .menu-nav ul{ flex-wrap:nowrap; justify-content:flex-start; overflow-x:auto; scrollbar-width:none; }
  .nav{ display:none; }
  .burger{ display:flex; }
  .head__cta{ display:none; }
  .menu-nav{ top:70px; }
  .head__in{ min-height:70px; }
  .brand img{ height:56px; }
  .split{ grid-template-columns:1fr; }
  .split--rev .split__media{ order:0; }
  .menu-list{ grid-template-columns:1fr; }
  .stats{ grid-template-columns:repeat(2,1fr); }
  .g-4{ grid-template-columns:repeat(2,1fr); }
  .g-3{ grid-template-columns:1fr; }
  .topbar__l span:not(:first-child){ display:none; }
}
@media (max-width:640px){
  .dishes{ grid-template-columns:repeat(2,1fr); }
  .gal{ grid-template-columns:repeat(2,1fr); }
  .gal a.wide{ grid-column:span 2; }
  .gal a.tall{ grid-row:span 1; aspect-ratio:1/1; }
  .g-2,.g-4{ grid-template-columns:1fr; }
  .foot__grid{ grid-template-columns:1fr; }
  .duo img:last-child{ margin-bottom:0; }
  .split__badge{ right:10px; bottom:-14px; padding:15px 19px; }
  .topbar__l span:first-child{ display:none; }
  .topbar__in{ justify-content:center; }
  .btn{ padding:1em 1.8em; }
  .map iframe{ min-height:300px; }
}
@media (max-width:420px){
  /* keep two columns on phones - a single column makes the photo grid
     an unreasonably long scroll */
  .filters button{ padding:.66em 1.15em; letter-spacing:.12em; }
}

/* ---------- 18. Opening flame ---------------------------------------------
   Shown once per browser session. Progressive enhancement: the markup is only
   inserted by JS, so with JS off (or reduced motion) the page just loads.     */
/* The overlay stays out of the document until the inline <head> script opts
   in with .intro-on. No JS, no intro - the page is simply there. */
.intro{ display:none; }
.intro-on .intro{
  position:fixed; inset:0; z-index:300; background:var(--ink);
  display:grid; place-items:center;
  transition:opacity .75s var(--ease), visibility .75s;
}
.intro-on body{ overflow:hidden; }
.intro.is-done{ opacity:0; visibility:hidden; pointer-events:none; }

.intro__mark{ display:grid; justify-items:center; gap:20px; position:relative; }
.intro__ring{
  position:absolute; top:26px; width:70px; height:70px; border-radius:50%;
  border:1px solid var(--flame); opacity:0;
  animation:ember 1.5s .25s var(--ease) forwards;
}
.intro__ring:nth-of-type(2){ animation-delay:.5s; }
@keyframes ember{
  0%  { opacity:.7; transform:scale(.3); }
  100%{ opacity:0;  transform:scale(3.6); }
}
.intro__flame{
  width:64px; height:78px; fill:var(--flame); position:relative;
  filter:drop-shadow(0 0 30px rgba(240,112,15,.55));
  animation:flame-rise 1s var(--ease) both, flame-flicker 1.4s .9s ease-in-out infinite;
}
@keyframes flame-rise{
  0%  { opacity:0; transform:translateY(30px) scale(.3); }
  55% { opacity:1; }
  100%{ opacity:1; transform:none; }
}
@keyframes flame-flicker{
  0%,100%{ transform:scale(1) rotate(0); }
  35%    { transform:scale(1.07) rotate(-1.5deg); }
  70%    { transform:scale(.96)  rotate(1.2deg); }
}
.intro__word{
  font-family:var(--sans); font-size:.72rem; font-weight:700;
  letter-spacing:.42em; text-transform:uppercase; color:var(--gold);
  opacity:0; animation:intro-word .9s .5s var(--ease) forwards;
}
@keyframes intro-word{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }

/* ---------- 19. Masonry photo grid (nothing is cropped) -------------------- */
.masonry{ --cols:4; --gap:14px; columns:var(--cols); column-gap:var(--gap); }
.masonry--int{ --cols:3; }

/* JS packs the images into a tight grid once it knows the column width.
   Until then (and if JS never runs) the CSS column layout above stands in,
   so the gallery is always usable. */
.masonry.is-packed{
  columns:auto; display:grid; grid-template-columns:repeat(var(--cols),1fr);
  column-gap:var(--gap); row-gap:0; grid-auto-rows:1px;
}
/* 1px rows mean each cell is sized to its own image to the pixel, so the
   grid packs tight without a single image being cropped. */
.masonry.is-packed a{ align-self:start; margin:0 0 var(--gap); }
.masonry.is-packed img{ width:100%; height:auto; }
.masonry a{
  display:block; break-inside:avoid; margin:0 0 14px; position:relative;
  overflow:hidden; background:var(--ink-3); cursor:zoom-in;
}
.masonry img{ width:100%; height:auto; display:block; transition:transform .9s var(--ease); }
.masonry a::after{
  content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 55%,rgba(6,6,7,.6));
  opacity:0; transition:opacity .45s var(--ease);
}
.masonry a::before{
  content:""; position:absolute; inset:10px; border:1px solid rgba(228,165,72,.55);
  opacity:0; transform:scale(1.04); transition:opacity .45s var(--ease), transform .45s var(--ease); z-index:2;
}
.masonry a:hover img,.masonry a:focus-visible img{ transform:scale(1.055); }
.masonry a:hover::after,.masonry a:hover::before,
.masonry a:focus-visible::after,.masonry a:focus-visible::before{ opacity:1; transform:none; }

/* About: the lead tile carries the specified feature photo */
.about-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.about-grid a{ position:relative; overflow:hidden; display:block; background:var(--ink-3); cursor:zoom-in; }
.about-grid a:first-child{ grid-column:span 2; grid-row:span 2; }
.about-grid img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .9s var(--ease); }
.about-grid a:hover img{ transform:scale(1.05); }

/* ---------- 20. Lightbox slider ------------------------------------------- */
.lb{
  position:fixed; inset:0; z-index:250; background:rgba(6,6,7,.97);
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  display:none; grid-template-rows:1fr auto; opacity:0; transition:opacity .35s var(--ease);
}
.lb.is-open{ display:grid; }
.lb.is-visible{ opacity:1; }
.lb__stage{ display:grid; place-items:center; padding:clamp(52px,7vw,80px) clamp(56px,9vw,120px) 8px; min-height:0; }
.lb__stage img{
  max-width:100%; max-height:calc(100vh - 170px); width:auto; height:auto; object-fit:contain;
  box-shadow:0 30px 90px rgba(0,0,0,.7); opacity:0; transition:opacity .3s var(--ease);
}
.lb__stage img.is-ready{ opacity:1; }
.lb__bar{ display:flex; align-items:center; justify-content:center; gap:18px; padding:0 24px 26px; }
.lb__count{ font-size:.76rem; letter-spacing:.24em; color:var(--muted); }
.lb__btn{
  position:absolute; top:50%; transform:translateY(-50%);
  width:52px; height:52px; border:1px solid var(--line); border-radius:50%;
  display:grid; place-items:center; background:rgba(10,10,11,.6);
  transition:background .35s var(--ease), border-color .35s var(--ease);
}
.lb__btn:hover{ background:var(--flame); border-color:var(--flame); }
.lb__btn svg{ width:20px; height:20px; fill:var(--cream); }
.lb__prev{ left:clamp(10px,3vw,34px); }
.lb__next{ right:clamp(10px,3vw,34px); }
.lb__close{ position:absolute; top:20px; right:clamp(10px,3vw,34px); width:46px; height:46px;
  border:1px solid var(--line); border-radius:50%; display:grid; place-items:center;
  background:rgba(10,10,11,.6); transition:background .35s var(--ease); }
.lb__close:hover{ background:var(--flame); border-color:var(--flame); }
.lb__close svg{ width:18px; height:18px; fill:var(--cream); }

/* ---------- 21. Reviews ---------------------------------------------------- */
.rev-score{ display:flex; align-items:center; justify-content:center; gap:18px; margin-bottom:12px; }
.rev-score__num{ font-family:var(--serif); font-size:3.2rem; line-height:1; color:var(--gold); }
.rev-score__meta{ text-align:left; }
.rev-stars{ display:flex; gap:3px; }
.rev-stars svg{ width:16px; height:16px; fill:var(--gold); }
.rev-score__meta span{ display:block; font-size:.76rem; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin-top:6px; }

.reviews{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(18px,2.4vw,28px); }
.review{
  background:var(--ink-3); border:1px solid var(--line-soft); padding:clamp(26px,3vw,36px);
  display:flex; flex-direction:column; gap:14px; position:relative;
}
.review::before{
  content:"\201C"; position:absolute; top:6px; right:22px;
  font-family:var(--serif); font-size:5rem; line-height:1; color:var(--gold); opacity:.16;
}
.review__text{ color:var(--body); font-size:.98rem; line-height:1.8; flex:1; }
.review__who{ display:flex; align-items:center; gap:12px; margin-top:4px; }
.review__av{
  width:40px; height:40px; border-radius:50%; flex:none; display:grid; place-items:center;
  background:var(--ink-4); color:var(--gold); font-weight:700; font-size:.9rem;
  border:1px solid var(--line);
}
.review__name{ color:var(--cream); font-weight:700; font-size:.92rem; }
.review__when{ color:var(--faint); font-size:.76rem; }

/* ---------- 22. Responsive for the new blocks ------------------------------ */
@media (max-width:1100px){
  .masonry{ --cols:3; }
  .reviews{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px){
  .masonry--int{ --cols:2; }
  .about-grid{ grid-template-columns:repeat(2,1fr); }
  .about-grid a:first-child{ grid-column:span 2; grid-row:auto; aspect-ratio:3/2; }
}
@media (max-width:700px){
  .masonry{ --cols:2; --gap:10px; }
  .reviews{ grid-template-columns:1fr; }
  .lb__stage{ padding:64px 12px 8px; }
  .lb__stage img{ max-height:calc(100vh - 190px); }
  .lb__btn{ width:44px; height:44px; }
  .rev-score__num{ font-size:2.6rem; }
}

/* ---------- 16. One-page additions --------------------------------------- */

/* Welcome image keeps its own shape - nothing is cropped. */
.split__media img.framed-img{
  aspect-ratio:auto; object-fit:contain; height:auto;
  border:1px solid var(--line-soft);
}
/* Map fills the row so it lines up with the contact details beside it. */
.split--contact{ align-items:stretch; }
.split--contact .map{ display:flex; }
.split--contact .map iframe{ min-height:460px; height:100%; flex:1; }

/* Temporary marker under the Reviews heading. Delete with the sample data. */
.sample-note{
  display:inline-block; margin-top:1rem; padding:.5em 1.1em;
  font-size:.72rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--gold); border:1px dashed var(--line);
}

@media (max-width:900px){
  .split--contact .map iframe{ min-height:320px; }
}

/* ==========================================================================
   17. Revision: intro cross-fade, food heading, ratings, contact, footer
   ========================================================================== */

/* ---- intro hands over to the page instead of cutting to it -------------- */
.topbar,.site-head,main{
  transition:opacity .95s var(--ease), transform .95s var(--ease);
}
.intro-on .topbar,.intro-on .site-head,.intro-on main{
  opacity:0; transform:translateY(18px);
}
.intro.is-done{ opacity:0; visibility:hidden; pointer-events:none; }
.intro.is-done .intro__mark{ transform:scale(1.12); opacity:0; }
.intro__mark{ transition:transform 1s var(--ease), opacity .8s var(--ease); }

/* ---- big animated section heading --------------------------------------- */
.t-xl{ font-size:clamp(2.3rem,6.2vw,4.4rem); line-height:1.06; letter-spacing:-.02em; }
.shine{
  background:linear-gradient(100deg,
    var(--cream) 18%, var(--gold-lit) 38%, var(--gold) 50%, var(--gold-lit) 62%, var(--cream) 82%);
  background-size:230% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:shine 6.5s linear infinite;
}
@keyframes shine{ from{ background-position:190% 0; } to{ background-position:-90% 0; } }

.lead--two{ max-width:640px; margin-inline:auto; }

/* ---- ratings ------------------------------------------------------------ */
.ratings{ display:flex; flex-wrap:wrap; justify-content:center; gap:clamp(16px,2.4vw,28px); }
.rating{
  flex:1 1 250px; max-width:340px;
  border:1px solid var(--line); background:var(--ink-2);
  padding:clamp(26px,3vw,40px) 20px; text-align:center;
  transition:border-color .4s var(--ease), transform .4s var(--ease);
}
.rating:hover{ border-color:var(--gold); transform:translateY(-4px); }
.rating__stars{ display:flex; justify-content:center; gap:3px; margin-bottom:1rem; }
.rating__stars svg{ width:15px; height:15px; fill:var(--gold); }
.rating__score{ font-family:var(--serif); font-size:clamp(2.4rem,4.6vw,3.4rem); color:var(--gold); line-height:1; }
.rating__score--word{ font-size:clamp(1.5rem,2.6vw,2rem); }
.rating__src{
  font-size:.78rem; font-weight:700; letter-spacing:.24em; text-transform:uppercase;
  color:var(--cream); margin-top:.9rem;
}
.rating__note{ font-size:.78rem; color:var(--muted); margin-top:.3rem; }

/* ---- contact ------------------------------------------------------------ */
.contact-sec{ position:relative; isolation:isolate; overflow:hidden; }
.contact-sec__bg{ position:absolute; inset:0; z-index:-1; }
.contact-sec__bg img{ width:100%; height:100%; object-fit:cover; }
.contact-sec__bg::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(10,10,11,.96) 0%, rgba(10,10,11,.9) 48%, rgba(10,10,11,.8) 100%);
}
/* the map fills its whole column, top to bottom */
.split--contact .map{ height:100%; display:flex; }
.split--contact .map iframe{ flex:1; width:100%; height:100%; min-height:520px; }

/* ---- powered by --------------------------------------------------------- */
.powered{
  display:flex; align-items:center; justify-content:center; gap:12px;
  padding:24px 0 6px; font-size:.72rem; letter-spacing:.2em;
  text-transform:uppercase; color:var(--faint);
}
.powered__logo{
  position:relative; display:inline-block; overflow:hidden; border-radius:6px;
  line-height:0; transition:transform .4s var(--ease);
}
.powered__logo img{ width:108px; height:auto; display:block; }
.powered__logo:hover{ transform:translateY(-2px); }
/* a highlight that travels across the logo every few seconds */
.powered__shine{
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(105deg,
    transparent 38%, rgba(255,255,255,.55) 50%, transparent 62%);
  background-size:260% 100%;
  animation:logo-sweep 5s ease-in-out infinite;
}
@keyframes logo-sweep{
  0%,58%{ background-position:200% 0; }
  100%  { background-position:-120% 0; }
}

/* ---- mobile ------------------------------------------------------------- */
@media (max-width:900px){
  /* headings and copy read better centred on a narrow screen */
  .sect-head--l{ text-align:center; margin-inline:auto; }
  .sect-head--l .eyebrow,.eyebrow--l{ justify-content:center; }
  .eyebrow--l::before{ display:block; }
  .split__body{ text-align:center; }
  .split__body .btn-row{ justify-content:center; }
  .info{ gap:22px; }
  .info__row{ flex-direction:column; align-items:center; text-align:center; gap:10px; }
  .info__row h4{ margin-bottom:.15rem; }
  .rule--l{ justify-content:center; }
  .rule--l::before{ display:block; }

  /* drawer: the links were far too large to fit */
  .drawer{ gap:2px; padding:132px 24px 44px; justify-content:center; overflow-y:auto; }
  .drawer a{ font-size:clamp(1.15rem,4.4vw,1.5rem); padding:.42em 0; }
  .drawer .btn{ margin-top:26px; font-size:.72rem; }
}

@media (max-width:640px){
  /* address, hours and phone all stay - stacked and centred */
  .topbar{ font-size:.7rem; letter-spacing:.04em; }
  .topbar__in{ flex-direction:column; justify-content:center; gap:4px; padding:8px 0; }
  .topbar__l{ flex-direction:column; align-items:center; gap:4px; }
  .topbar__l span:not(:first-child){ display:inline-flex; }
  .topbar__l span:first-child{ display:inline-flex; text-align:center; }
  .topbar__r{ gap:14px; }
  .split--contact .map iframe{ min-height:340px; }

  /* footer reads better fully centred on a phone */
  .foot__grid{ text-align:center; }
  .foot__brand{ display:flex; flex-direction:column; align-items:center; }
  .foot__brand img{ margin-inline:auto; }
  .social{ justify-content:center; }
  .foot h4{ margin-top:1.4rem; }
  .foot__bar{ flex-direction:column; gap:8px; text-align:center; }
  .powered{ flex-direction:column; gap:10px; }
}


/* ---------- 18. Three-image room block ----------------------------------- */
.gal3{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.gal3 a{
  position:relative; display:block; overflow:hidden; background:var(--ink-3);
  aspect-ratio:3/2; cursor:zoom-in;
}
.gal3 .anchor{ grid-column:span 2; grid-row:span 2; aspect-ratio:auto; }
.gal3 img{ width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .9s var(--ease); }
.gal3 a::before{
  content:""; position:absolute; inset:10px; border:1px solid rgba(228,165,72,.55);
  opacity:0; transform:scale(1.04); z-index:2;
  transition:opacity .45s var(--ease), transform .45s var(--ease);
}
.gal3 a:hover img,.gal3 a:focus-visible img{ transform:scale(1.055); }
.gal3 a:hover::before,.gal3 a:focus-visible::before{ opacity:1; transform:none; }

@media (max-width:760px){
  .gal3{ grid-template-columns:repeat(2,1fr); }
  .gal3 .anchor{ grid-column:span 2; grid-row:auto; aspect-ratio:3/2; }
}
