/* ==========================================================================
   Berlin Restaurant & More · برطعة
   Palette from the brand: deep navy story covers, white calligraphy,
   saffron from the restaurant's own posters.
   Radius system: buttons/tabs = pill, cards/tiles = 18px, media windows = arch.
   ========================================================================== */

:root {
  --bg: #0B1924;
  --bg-2: #0F2231;
  --bg-3: #16304A;
  --line: rgba(238, 240, 238, .10);
  --line-2: rgba(238, 240, 238, .20);
  --text: #EEF0EE;
  --muted: #A6B4BF;
  --accent: #D9BC85;        /* champagne gold: highlights, icons, emphasis */
  --accent-soft: rgba(217, 188, 133, .14);
  --cta: #F1EADB;           /* ivory: primary actions */
  --cta-hi: #FBF7EE;
  --on-accent: #0B1924;
  --radius: 18px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --display: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --body: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.75 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html.has-intro body { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }

.h2 {
  font: 700 clamp(2.1rem, 4.4vw, 3.6rem)/1.2 var(--display);
  margin: 0 0 .4em;
  letter-spacing: -.01em;
}
.lead { color: var(--muted); font-size: 1.12rem; max-width: 36ch; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  color: var(--accent); font: 500 .98rem var(--display); margin: 0 0 1.4rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }

/* Grain: fixed + pointer-events none, never on scrolling layers */
.grain {
  position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .06;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 54px; padding: 0 28px; border-radius: 999px; white-space: nowrap;
  font: 600 1.02rem var(--display);
  transition: transform .2s var(--ease-out), background-color .3s, border-color .3s, color .3s;
}
.btn i { font-size: 1.15em; transition: transform .35s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--cta); color: var(--on-accent); box-shadow: 0 10px 30px -12px rgba(241, 234, 219, .35); }
.btn--accent:hover { background: var(--cta-hi); }
.btn--accent:hover .ph-arrow-down-left { transform: translate(-2px, 2px); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(238, 240, 238, .07); border-color: rgba(238, 240, 238, .35); }
.btn--sm { height: 44px; padding: 0 20px; font-size: .95rem; }

/* ---------------------------------------------------------------- intro */
#intro {
  position: fixed; inset: 0; z-index: 100;
  perspective: 1800px; perspective-origin: 50% 50%;
  cursor: pointer; overflow: hidden;
}
html.no-intro #intro { display: none; }
.door {
  position: absolute; top: 0; bottom: 0; width: 50.2%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 25% 100%,
    radial-gradient(120% 80% at 50% 50%, #12293B 0%, #0B1924 75%);
  backface-visibility: hidden;
  will-change: transform;
}
.door::after {
  content: ""; position: absolute; inset: 28px; border: 1px solid rgba(238,240,238,.07); border-radius: 4px;
}
.door--start { right: 0; transform-origin: right center; }
.door--end { left: 0; transform-origin: left center; }
.door__handle {
  position: absolute; top: 74%; width: 4px; height: 96px; border-radius: 4px;
  background: linear-gradient(180deg, #EAD6AC, #9C7F4B);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25), 0 8px 24px rgba(0,0,0,.4);
}
.door--start .door__handle { left: 34px; }
.door--end .door__handle { right: 34px; }

.intro__stage {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 44px;
  pointer-events: none;
}
.intro__logo { position: relative; width: min(640px, 82vw); aspect-ratio: 880 / 270; }
.il { position: absolute; inset: 0; width: 100%; height: 100%; }
html.has-intro .il-gate { clip-path: inset(100% 0 0 0); }
html.has-intro .il-latin { clip-path: inset(0 100% 0 0); }
html.has-intro .il-arabic { clip-path: inset(0 0 0 100%); }
html.has-intro .il-tag { opacity: 0; transform: translateY(10px); filter: blur(6px); }
.intro__bar { width: 140px; height: 1px; background: rgba(238,240,238,.14); overflow: hidden; }
.intro__bar span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; }
.intro__skip {
  position: absolute; bottom: 28px; left: 50%; translate: -50% 0;
  color: var(--muted); font-size: .9rem; padding: 8px 14px; border-radius: 999px;
  transition: color .2s;
}
.intro__skip:hover { color: var(--text); }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: max(20px, 3.2vw);
  transition: transform .5s var(--ease-out), background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(11, 25, 36, .72);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand img { height: 46px; width: auto; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; padding: 8px 16px; font: 500 .98rem var(--display); color: rgba(238,240,238,.82);
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; inset: auto 16px 2px; height: 1px; background: var(--accent);
  transform: scaleX(0); transition: transform .45s var(--ease-out);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); position: relative; }
.nav__burger span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.sheet {
  position: fixed; inset: 0; z-index: 45; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; gap: 48px; padding: 100px 28px 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io);
}
.sheet.is-open { clip-path: inset(0 0 0 0); }
.sheet nav { display: grid; gap: 6px; }
.sheet nav a {
  font: 700 clamp(2.2rem, 10vw, 3rem)/1.35 var(--display);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.sheet.is-open nav a { opacity: 1; transform: none; }
.sheet.is-open nav a:nth-child(1) { transition-delay: .18s; }
.sheet.is-open nav a:nth-child(2) { transition-delay: .24s; }
.sheet.is-open nav a:nth-child(3) { transition-delay: .30s; }
.sheet.is-open nav a:nth-child(4) { transition-delay: .36s; }
.sheet__foot { display: flex; gap: 22px; color: var(--muted); font: 500 1.05rem var(--display); }

/* ----------------------------------------------------------------- hero */
.hero {
  min-height: 100dvh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 5vw;
  padding: calc(var(--nav-h) + 40px) max(24px, 5vw) 56px;
  position: relative;
}
.hero__title {
  font: 800 clamp(2.9rem, 6.2vw, 5.8rem)/1.18 var(--display);
  margin: 0 0 1.6rem; letter-spacing: -.015em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__sub { color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.22rem); max-width: 34ch; margin: 0 0 2.2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__windows {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 18px);
  height: min(74vh, 660px); align-items: end;
}
.win {
  margin: 0; position: relative; overflow: hidden; background: var(--bg-3);
  border-radius: 999px 999px 22px 22px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
  isolation: isolate;
}
.win::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(238,240,238,.12);
}
.win video { width: 100%; height: 100%; object-fit: cover; }
.win--1 { height: 80%; }
.win--2 { height: 100%; }
.win--3 { height: 70%; align-self: center; }

html.js .hero [data-hero] { opacity: 0; transform: translateY(18px); filter: blur(8px); }
html.js .hero__title .line > span[data-hero] { opacity: 1; filter: none; transform: translateY(112%); }
html.js .win { opacity: 0; transform: translateY(70px); }

/* ---------------------------------------------------------------- ribbon
   Two crossed tapes: an ivory menu tape with real dish photos, and a dark
   glass tape carrying lines from the restaurant's captions. */
.ribbon { position: relative; padding: 70px 0 90px; overflow: hidden; }
.ribbon__row { overflow: hidden; direction: ltr; }
.ribbon__row--a {
  position: relative; z-index: 2; transform: rotate(-2.2deg); margin-inline: -4vw;
  background: var(--cta); color: var(--on-accent); padding: 16px 0;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.ribbon__row--b {
  position: relative; z-index: 1; transform: rotate(1.6deg); margin: 6px -4vw 0; padding: 14px 0;
  background: rgba(22, 48, 74, .55); border-block: 1px solid rgba(217,188,133,.22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ribbon__track { display: flex; width: max-content; direction: ltr; animation: ribbon 46s linear infinite; }
.ribbon__row--b .ribbon__track { animation-duration: 58s; animation-direction: reverse; }
.ribbon__set { display: flex; align-items: center; flex-shrink: 0; }
.chip { display: inline-flex; align-items: center; gap: 16px; padding-inline: 26px; direction: rtl; white-space: nowrap; }
.chip img {
  width: clamp(48px, 5vw, 68px); height: clamp(48px, 5vw, 68px); border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 3px var(--cta), 0 0 0 4px rgba(11,25,36,.18);
}
.chip b { font: 800 clamp(1.5rem, 3.2vw, 2.6rem)/1.2 var(--display); }
.ribbon__set .sep { width: 9px; height: 9px; border-radius: 50%; background: var(--on-accent); opacity: .25; flex: none; }
.phrase { display: inline-flex; align-items: center; gap: 28px; padding-inline: 28px; direction: rtl; white-space: nowrap; color: var(--accent); font: 500 clamp(1rem, 1.5vw, 1.2rem) var(--display); }
.phrase img { height: 20px; opacity: .55; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* -------------------------------------------------- ambient background
   Aurora-style light pools on a fixed layer. Colours shift per section
   through registered custom properties, so the transitions are smooth. */
@property --c1 { syntax: '<color>'; inherits: false; initial-value: #1E4B78; }
@property --c2 { syntax: '<color>'; inherits: false; initial-value: #0E4A57; }
@property --c3 { syntax: '<color>'; inherits: false; initial-value: #5A4322; }
.ambient {
  position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  --c1: #1E4B78; --c2: #0E4A57; --c3: #5A4322;
  transition: --c1 1.8s ease, --c2 1.8s ease, --c3 1.8s ease;
}
.ambient[data-tone="kitchen"] { --c1: #24527E; --c2: #5E4220; --c3: #0F4A5A; }
.ambient[data-tone="menu"]    { --c1: #1B416A; --c2: #11505C; --c3: #573E1E; }
.ambient[data-tone="vibes"]   { --c1: #2A527F; --c2: #4F3D1E; --c3: #0E4858; }
.ambient[data-tone="team"]    { --c1: #1F4A74; --c2: #5A4423; --c3: #133F5F; }
.ambient[data-tone="visit"]   { --c1: #173C61; --c2: #0E4A57; --c3: #3E3220; }
.ambient__pool { position: absolute; width: 72vmax; height: 72vmax; border-radius: 50%; will-change: transform; }
.ambient__pool--1 { top: -30vmax; right: -22vmax; background: radial-gradient(closest-side, var(--c1), transparent 72%); opacity: .7; animation: drift1 36s ease-in-out infinite alternate; }
.ambient__pool--2 { bottom: -34vmax; left: -26vmax; background: radial-gradient(closest-side, var(--c2), transparent 72%); opacity: .6; animation: drift2 44s ease-in-out infinite alternate; }
.ambient__pool--3 { top: 30%; left: 30%; width: 52vmax; height: 52vmax; background: radial-gradient(closest-side, var(--c3), transparent 70%); opacity: .38; animation: drift3 40s ease-in-out infinite alternate; }
.ambient__light {
  position: absolute; left: 0; top: 0; width: 46vmax; height: 46vmax; margin: -23vmax 0 0 -23vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217,188,133,.075), transparent 70%);
  opacity: 0; transition: opacity .8s ease;
}
.ambient.has-light .ambient__light { opacity: 1; }
.ambient::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 45%, rgba(5, 12, 18, .6) 100%); }
@keyframes drift1 { to { transform: translate(-16vmax, 14vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(18vmax, -12vmax) scale(.9); } }
@keyframes drift3 { 0% { transform: translate(-10vmax, -6vmax) scale(.9); } 100% { transform: translate(14vmax, 8vmax) scale(1.2); } }

/* ------------------------------------------------------- kitchen strip */
.kitchen { position: relative; }
.kitchen__pin { height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.kitchen__track {
  display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px);
  width: max-content; padding-inline: max(24px, 6vw);
  will-change: transform;
}
.kitchen__intro { flex: 0 0 min(540px, 82vw); padding-inline-end: 3vw; }
.kitchen__hint { display: none; margin-top: 1.4rem; color: var(--muted); font-size: .95rem; align-items: center; gap: .5em; }

.sig { flex: 0 0 clamp(260px, 25vw, 370px); cursor: pointer; }
.sig:nth-of-type(even) { margin-top: 12vh; }
.sig:nth-of-type(odd) { margin-bottom: 8vh; }
.sig__media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); position: relative; }
.sig__media img { width: 100%; height: 100%; object-fit: cover; scale: 1.16; transition: scale .9s var(--ease-out); }
.sig:hover .sig__media img { scale: 1.22; }
.sig h3 { font: 600 1.32rem/1.4 var(--display); margin: 18px 0 4px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sig h3 i { font-size: 1.1rem; color: var(--accent); transition: transform .4s var(--ease-out); }
.sig:hover h3 i { transform: translateX(-5px); }
.sig p { color: var(--muted); margin: 0; font-size: .96rem; max-width: 34ch; }

/* --------------------------------------------------------------- cinema */
.cinema__pin { height: 100dvh; position: relative; display: grid; overflow: hidden; }
.cinema__frame { position: absolute; inset: 0; overflow: hidden; }
html.js .cinema__frame { clip-path: inset(16% 20% 16% 20% round 28px); }
.cinema__frame video { width: 100%; height: 100%; object-fit: cover; }
.cinema__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,18,26,.88) 0%, rgba(8,18,26,.25) 45%, rgba(8,18,26,.1) 100%); }
.cinema__copy { position: relative; z-index: 2; align-self: end; text-align: center; padding: 0 24px 11vh; }
.cinema__title { margin: 0 0 .6rem; display: grid; gap: .1em; }
.cinema__title span:first-child { font: 500 1.05rem var(--display); color: var(--accent); }
.cinema__title span:last-child { font: 800 clamp(2.3rem, 5.4vw, 4.8rem)/1.2 var(--display); }
.cinema__copy p { color: rgba(238,240,238,.82); margin: 0 auto; max-width: 40ch; font-size: 1.1rem; }
html.js .cinema__copy { opacity: 0; }

/* ----------------------------------------------------------------- menu */
.menu { padding-block: clamp(90px, 12vw, 160px); }
.menu__head { display: grid; gap: 22px; justify-items: start; }
.menu__head .h2 { margin: 0; }
.tabs {
  position: relative; display: flex; gap: 2px; max-width: 100%;
  padding: 6px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; z-index: 1; height: 46px; padding: 0 20px; border-radius: 999px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: .5em;
  font: 500 .98rem var(--display); color: var(--muted); transition: color .35s;
}
.tab i { font-size: 1.15em; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--on-accent); }
.tabs__thumb {
  position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--cta);
  transition: transform .55s var(--ease-out), width .55s var(--ease-out);
}

.menu__grid {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 22px;
}
.item {
  text-align: start; display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .45s var(--ease-out), border-color .3s, background-color .3s;
}
.item:hover { transform: translateY(-4px); border-color: var(--line-2); background: #112739; }
.item:active { transform: translateY(-1px) scale(.99); }
.item__media { display: block; aspect-ratio: 5 / 4; overflow: hidden; background: var(--bg-3); }
.item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.item:hover .item__media img { transform: scale(1.06); }
.item__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.item__name { font: 600 1.15rem/1.45 var(--display); }
.item__desc { color: var(--muted); font-size: .93rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; }
.item__price { font: 700 1.1rem var(--display); color: var(--text); }
.item__more { color: var(--accent); font: 500 .9rem var(--display); display: inline-flex; align-items: center; gap: .35em; margin-inline-start: auto; }
.item__more i { transition: transform .35s var(--ease-out); }
.item:hover .item__more i { transform: translateX(-4px); }

/* ------------------------------------------------------------ dish modal */
.dish {
  width: min(940px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: var(--bg-2); color: var(--text);
}
.dish[open] { display: grid; grid-template-columns: 1.05fr 1fr; animation: dishIn .55s var(--ease-out); }
.dish::backdrop { background: rgba(4, 11, 17, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeIn .4s ease-out; }
.dish__media { background: var(--bg-3); min-height: 100%; }
.dish__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.dish__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.dish__cat { color: var(--accent); font: 500 .95rem var(--display); margin: 0 0 .6rem; }
.dish h3 { font: 700 clamp(1.8rem, 3vw, 2.5rem)/1.3 var(--display); margin: 0 0 .8rem; }
.dish__desc { color: var(--muted); font-size: 1.08rem; margin: 0 0 1.4rem; max-width: 38ch; }
.dish__price { font: 700 1.6rem var(--display); margin: 0 0 1.4rem; }
.dish__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.dish__x {
  position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center; font-size: 1.2rem;
  background: rgba(11,25,36,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); transition: background-color .25s;
}
.dish__x:hover { background: rgba(11,25,36,.9); }
@keyframes dishIn { from { opacity: 0; transform: translateY(26px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
::view-transition-group(dish) { animation-duration: .6s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }

/* ---------------------------------------------------------------- vibes */
.vibes { padding-block: clamp(40px, 6vw, 80px) clamp(90px, 12vw, 160px); }
.bento {
  margin-top: 26px; display: grid; gap: 16px;
  grid-template-columns: 1.15fr 1fr .95fr;
  grid-template-rows: 310px 250px 230px;
  grid-template-areas:
    "hero hero video"
    "photo accent video"
    "photo plain plain";
}
.tile { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); isolation: isolate; }
.tile > img, .tile > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; scale: 1.1; transition: scale 1.1s var(--ease-out); z-index: -1; }
.tile:hover > img, .tile:hover > video { scale: 1.16; }
.tile figcaption {
  position: absolute; inset: auto 0 0; padding: 60px 24px 22px; display: grid; gap: 2px; justify-items: start;
  background: linear-gradient(0deg, rgba(8,18,26,.9), rgba(8,18,26,0));
}
.tile strong { font: 700 1.35rem/1.4 var(--display); }
.tile span { color: rgba(238,240,238,.78); font-size: .95rem; }
.tile--hero { grid-area: hero; }
.tile--hero > img { object-position: 50% 62%; }
.tile--video { grid-area: video; }
.tile--photo { grid-area: photo; }
.tile--accent, .tile--plain { padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.tile--accent {
  grid-area: accent; color: var(--text);
  background: radial-gradient(120% 120% at 100% 0%, #2C5C8A 0%, #18365A 48%, #10253A 100%);
  box-shadow: inset 0 0 0 1px rgba(217, 188, 133, .18);
}
.tile--accent i { color: var(--accent); }
.tile--plain { grid-area: plain; background: var(--bg-3); }
.tile--plain::before {
  content: ""; position: absolute; inset: 18px 18px auto auto; width: 42%; aspect-ratio: 292 / 201; z-index: -1;
  background: url("../assets/img/gate-mark.svg") center / contain no-repeat; opacity: .08;
}
.tile--accent i, .tile--plain i { font-size: 2rem; margin-bottom: auto; }
.link { display: inline-flex; align-items: center; gap: .4em; margin-top: 8px; color: var(--accent); font: 600 .95rem var(--display); }
.link i { transition: transform .35s var(--ease-out); }
.link:hover i { transform: translateX(-4px); }

/* --------------------------------------------------------------- social */
.social { padding-block: clamp(60px, 8vw, 110px); overflow: hidden; }
.social__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 5vw; align-items: center; }
.social__stats { display: grid; gap: 14px; margin-top: 14px; }
.social__stats a {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 0 14px;
  padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(11,25,36,.5);
  transition: border-color .3s, transform .4s var(--ease-out);
}
.social__stats a:hover { border-color: var(--line-2); transform: translateY(-3px); }
.social__stats i { font-size: 1.7rem; color: var(--accent); }
.social__stats b { font: 800 2.3rem/1 var(--display); font-variant-numeric: tabular-nums; }
.social__stats span { color: var(--muted); }
.reels { display: flex; justify-content: center; padding-block: 30px; }
.reel {
  --r: 0deg; --y: 0px;
  position: relative; flex: 0 0 clamp(130px, 12.5vw, 188px); aspect-ratio: 9 / 16; margin-inline: -18px;
  border-radius: 16px; overflow: hidden; background: var(--bg-3);
  box-shadow: 0 30px 50px -24px rgba(0,0,0,.75), 0 0 0 1px rgba(238,240,238,.1);
  rotate: var(--r); translate: 0 var(--y);
  transition: rotate .6s var(--ease-out), translate .6s var(--ease-out), scale .6s var(--ease-out), opacity .9s var(--ease-out), filter .9s var(--ease-out);
}
.reel:nth-child(1) { --r: 9deg; --y: 34px; }
.reel:nth-child(2) { --r: 4.5deg; --y: 10px; }
.reel:nth-child(3) { --r: 0deg; --y: 0px; z-index: 2; }
.reel:nth-child(4) { --r: -4.5deg; --y: 10px; }
.reel:nth-child(5) { --r: -9deg; --y: 34px; }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel i {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 46px; height: 46px; border-radius: 999px;
  display: grid; place-items: center; font-size: 1.1rem; color: var(--text);
  background: rgba(11,25,36,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .3s;
}
.reel:hover { rotate: 0deg; translate: 0 -16px; scale: 1.05; z-index: 3; }
.reel:hover i { opacity: 1; }

/* ---------------------------------------------------------------- visit */
.visit { padding-block: clamp(90px, 12vw, 150px); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.facts { margin: 10px 0 34px; display: grid; gap: 26px; }
.facts dt { color: var(--muted); font-size: .95rem; display: flex; align-items: center; gap: .5em; }
.facts dt i { color: var(--accent); font-size: 1.15rem; }
.facts dd { margin: 4px 0 0; font: 600 1.45rem/1.5 var(--display); }
.phones { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.phones a { transition: color .25s; text-align: start; }
.phones a:hover { color: var(--accent); }
.visit__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.visit__map {
  aspect-ratio: 4 / 3.2; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2);
}
.visit__map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: invert(.92) hue-rotate(185deg) saturate(.55) brightness(.92) contrast(.92);
}

/* --------------------------------------------------------------- footer */
.footer { padding: clamp(60px, 9vw, 120px) 0 28px; border-top: 1px solid var(--line); }
.footer__logo { overflow: hidden; }
.footer__logo img { width: min(980px, 100%); margin-inline: auto; opacity: .95; }
html.js .footer__logo img { clip-path: inset(0 0 100% 0); transform: translateY(30px); transition: clip-path 1.4s var(--ease-io), transform 1.4s var(--ease-out); }
html.js .footer__logo.in img { clip-path: inset(0 0 0 0); transform: none; }
.footer__row { margin-top: clamp(40px, 6vw, 80px); padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__row p { margin: 0; font: 600 1.2rem var(--display); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 1.3rem;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.footer__social a:hover { background: var(--cta); color: var(--on-accent); border-color: var(--cta); transform: translateY(-3px); }
.footer__legal { margin-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.footer__legal a:hover { color: var(--text); }

/* ----------------------------------------------------------------- team */
.team { padding-block: clamp(40px, 6vw, 90px) clamp(80px, 10vw, 140px); }
.team__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.team__copy p { color: var(--muted); font-size: 1.12rem; max-width: 40ch; margin: 0 0 2rem; }
.team__quote {
  margin: 0; padding: 22px 26px; border-radius: var(--radius); max-width: 34ch;
  background: var(--accent-soft); border: 1px solid rgba(217,188,133,.22);
  font: 600 clamp(1.15rem, 1.6vw, 1.35rem)/1.6 var(--display); color: var(--text);
}
.team__quote::before { content: "\201D"; display: block; font: 800 3rem/0.6 var(--display); color: var(--accent); margin-bottom: 10px; }
.team__media { position: relative; height: clamp(440px, 46vw, 620px); }
.team__media figure { margin: 0; position: absolute; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); box-shadow: 0 40px 80px -40px rgba(0,0,0,.75); }
.team__media img { width: 100%; height: 100%; object-fit: cover; }
.team__main { inset: 0 0 0 22%; }
.team__side { width: 42%; aspect-ratio: 4 / 5; left: 0; bottom: -6%; border: 6px solid var(--bg); }

/* ---------------------------------------------------- card spotlights */
.item, .social__stats a { position: relative; isolation: isolate; }
.item::before, .social__stats a::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(217,188,133,.11), transparent 60%);
  transition: opacity .4s;
}
.item:hover::before, .social__stats a:hover::before { opacity: 1; }

/* ------------------------------------------------------ hero watermark */
.hero__mark {
  position: absolute; z-index: -1; pointer-events: none; left: 2vw; bottom: 4vh; width: min(52vw, 760px); aspect-ratio: 292 / 201;
  background: url("../assets/img/gate-mark.svg") center / contain no-repeat; opacity: .045;
}

/* ---------------------------------------------------- mobile action bar */
.dock { display: none; }
@media (max-width: 900px) {
  .dock {
    position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; padding: 6px; border-radius: 999px;
    background: rgba(15, 34, 49, .78); border: 1px solid var(--line-2);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 20px 40px -18px rgba(0,0,0,.7);
    transform: translateY(140%); transition: transform .6s var(--ease-out);
  }
  .dock.is-on { transform: none; }
  .dock a { height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: .45em; font: 600 .95rem var(--display); }
  .dock a:first-child { background: var(--cta); color: var(--on-accent); }
  .dock a:active { scale: .97; }
  .dock i { font-size: 1.2rem; }
  .footer { padding-bottom: 100px; }
}

/* -------------------------------------------------------------- reveals */
html.js [data-reveal] {
  opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out), filter .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.w > span { display: inline-block; }
html.js [data-split] .w > span { transform: translateY(112%); transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
html.js [data-split].in .w > span { transform: none; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .nav__links a { padding-inline: 11px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__brand img { height: 38px; }
  .nav__cta span { display: none; }
  .nav__cta { width: 46px; padding: 0; }

  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: calc(var(--nav-h) + 34px); min-height: auto; }
  .hero__windows { height: 340px; }

  .kitchen__pin { height: auto; padding-block: 90px 60px; overflow: visible; display: block; }
  .kitchen__track {
    width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-inline: 24px; align-items: flex-start; flex-wrap: nowrap; scroll-padding-inline: 24px;
  }
  .kitchen__track::-webkit-scrollbar { display: none; }
  .kitchen__intro { padding: 0 24px 26px; }
  .kitchen__intro .lead { max-width: none; }
  .kitchen__hint { display: inline-flex; }
  .sig { flex-basis: 74vw; scroll-snap-align: center; }
  .sig:nth-of-type(even), .sig:nth-of-type(odd) { margin: 0; }
  .sig__media img { scale: 1; }

  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 300px 220px 200px; grid-template-areas:
    "hero hero" "photo video" "accent video" "plain plain"; }

  .social__inner, .visit__grid, .team__grid { grid-template-columns: 1fr; }
  .team__media { height: 520px; }
  .ribbon { padding: 50px 0 64px; }
  .chip { gap: 12px; padding-inline: 18px; }
  .reels { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin-inline: -24px; padding: 30px 24px; gap: 12px; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { margin: 0; --r: 0deg !important; --y: 0px !important; flex-basis: 140px; }

  .dish[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .dish__media img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .hero__windows { height: 260px; gap: 8px; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; grid-template-areas: none; }
  .bento > * { grid-area: auto !important; }
  .tile--hero, .tile--photo { height: 300px; }
  .tile--video { height: 420px; }
  .tile--accent, .tile--plain { min-height: 200px; }
  .footer__legal { justify-content: center; text-align: center; }
}

/* ------------------------------------------------- touch / iPhone mode
   Phones get native scrolling and no pinning (set in JS). Here: drop the
   effects that are expensive on mobile GPUs (live blur, animated light,
   blur-in reveals, clip-path on video) and keep the same look statically. */
@media (hover: none) and (pointer: coarse) {
  .grain { display: none; }
  /* one pre-rendered light image on its own GPU layer instead of live gradients */
  .ambient { transition: none; background: #0B1924 url("../assets/img/ambient-m.webp") center / cover no-repeat; transform: translateZ(0); }
  .ambient__pool, .ambient__light, .ambient::after { display: none; }
  .nav.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(11, 25, 36, .95); }
  .ribbon__row--b { -webkit-backdrop-filter: none; backdrop-filter: none; background: #13283D; }
  .dock { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(15, 34, 49, .97); }
  .reel i, .dish__x { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .dish::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(4, 11, 17, .86); }
  html.js [data-reveal], html.js .hero [data-hero] { filter: none; }
  html.js [data-reveal] { transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
  html.js .cinema__frame { clip-path: none; }
  html.js .cinema__copy { opacity: 1; }
  .cinema__pin { height: 78svh; min-height: 480px; }
  .tile > img, .tile > video { scale: 1; }
  .sig__media img { scale: 1; }
}

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html.js [data-reveal], html.js .hero [data-hero], html.js .win { opacity: 1; transform: none; filter: none; }
  html.js .hero__title .line > span[data-hero], html.js [data-split] .w > span { transform: none; }
  html.js .cinema__frame { clip-path: none; }
  html.js .cinema__copy { opacity: 1; }
  html.js .footer__logo img { clip-path: none; transform: none; }
  .ribbon__track, .ambient__pool { animation: none; }
  .ambient { transition: none; }
  .sig__media img { scale: 1; }
}
