/* =====================================================================
   TSDC home page — builds on base.css tokens and utilities.
   The hero and the banner slider are "stages": always dark, whatever
   the theme, so they redefine the colour tokens locally.
   ===================================================================== */

/* Overlay header stays fixed on home (base switches it to sticky once
   scrolled, which would push the page down by the header height). */
body[data-page="home"] .site-header.is-overlay { position: fixed; left: 0; right: 0; }

.flip { display: inline-grid; }
.flip svg { transform: scaleX(-1); }
.section-head .display-lg { max-width: 13ch; }

/* ------------------------------------------------------------- loader */
.loader-inner { display: grid; justify-items: center; gap: 22px; }
.loader-word { font: 700 11px/1 var(--font-sans); letter-spacing: .42em; padding-left: .42em; text-transform: uppercase; color: rgba(244, 238, 221, .5); }

/* ------------------------------------------------------------- dark stages */
.hero, .bn {
  color-scheme: dark;
  --bg: #0d0b09; --bg-2: #14110d; --surface: #1a1611; --surface-2: #221d16;
  --ink: #f4eedd; --ink-2: #c4b9a2; --ink-3: #8b8170;
  --line: rgba(244, 238, 221, .12); --line-strong: rgba(244, 238, 221, .24);
  --accent: #ff6b2c; --accent-ink: #160b05; --accent-soft: rgba(255, 107, 44, .14);
  color: var(--ink);
}

/* ================================================================ HERO */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: var(--header-h);
  background: radial-gradient(120% 90% at 72% 38%, #21170e 0%, #0d0b09 62%) #0d0b09;
}
.hero-stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute; right: -18vmax; top: -16vmax; width: 78vmax; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 107, 44, .2), rgba(255, 107, 44, .05) 55%, transparent 72%);
}
.hero-arch {
  position: absolute; right: 7%; top: 9%; height: 84%; width: auto; color: var(--brand-sage); opacity: .2;
  transition: opacity 1.4s var(--ease);
}
.hero.is-3d .hero-arch { opacity: 0; }

/* static collage (fallback + first paint) */
.hero-collage { position: absolute; inset: 0; transition: opacity 1.6s var(--ease); }
.hero.is-3d .hero-collage { opacity: 0; }
.hc-layer { position: absolute; }
.hc-in {
  width: 100%; height: 100%;
  transform: translate3d(calc(var(--mx, 0) * var(--depth, 1) * -46px), calc(var(--my, 0) * var(--depth, 1) * -32px), 0);
}
.hc-in img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(244, 238, 221, .08);
}
.hc-main { right: 11%; top: 13%; width: min(32vw, 500px); aspect-ratio: 4 / 5; }
.hc-main img { border-radius: 999px 999px var(--radius) var(--radius); filter: saturate(1.05) contrast(1.05); }
.hc-a { right: 34%; bottom: 17%; width: min(18vw, 270px); aspect-ratio: 4 / 3; rotate: -7deg; }
.hc-b { right: 3.5%; top: 15%; width: min(13vw, 200px); aspect-ratio: 4 / 3; rotate: 6deg; }
.hc-c { right: 5%; bottom: 13%; width: min(15vw, 230px); aspect-ratio: 4 / 3; rotate: 3deg; }
.hero-collage .hc-in { animation: hc-float 9s var(--ease-in-out) infinite alternate; }
.hero-collage .hc-a .hc-in { animation-delay: -3s; }
.hero-collage .hc-c .hc-in { animation-delay: -6s; }
@keyframes hc-float { to { translate: 0 -14px; } }

.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero.is-3d .hero-canvas { opacity: 1; }
.hero-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 11, 9, .9) 0%, rgba(13, 11, 9, .55) 38%, rgba(13, 11, 9, 0) 66%),
    linear-gradient(0deg, #0d0b09 0%, rgba(13, 11, 9, .6) 22%, rgba(13, 11, 9, 0) 46%),
    linear-gradient(180deg, rgba(13, 11, 9, .7) 0%, rgba(13, 11, 9, 0) 18%);
}
.hero-grain { position: absolute; inset: 0; }

.hero-inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: flex-end; padding-block: clamp(32px, 7vh, 88px) clamp(28px, 5vh, 52px); }
.hero-copy { max-width: 780px; }
.hero-title {
  font-size: clamp(50px, 8.4vw, 138px); line-height: .9; letter-spacing: -.028em;
  margin: 22px 0 26px; max-width: 11ch; text-wrap: balance;
}
.hero-title em { font-weight: 400; }
.hero-title .split-word { transition-delay: calc(var(--d, 0s) + .1s); transition-duration: 1.4s; }
.hero-lead { color: var(--ink-2); max-width: 36ch; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost { --b-bg: rgba(244, 238, 221, .06); --b-line: rgba(244, 238, 221, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-platforms { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 26px; }
.hero-platforms .tiny { letter-spacing: .14em; text-transform: uppercase; font-weight: 700; font-size: 11px; color: var(--ink-3); }
.hero-platforms .platform { height: 42px; background: rgba(13, 11, 9, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

.hero-scroll {
  position: absolute; right: var(--gutter); bottom: clamp(28px, 5vh, 52px);
  display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 44px;
  font: 700 11px/1 var(--font-sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-2);
}
.hero-scroll span { writing-mode: vertical-rl; }
.hero-scroll i { position: relative; width: 1px; height: 72px; background: rgba(244, 238, 221, .18); overflow: hidden; }
.hero-scroll i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--accent); animation: scroll-cue 2.2s var(--ease-in-out) infinite; }
.hero-scroll:hover { color: var(--ink); }
@keyframes scroll-cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

.hero-stats-wrap { position: relative; z-index: 2; padding-bottom: clamp(20px, 4vh, 40px); }
.hero-stats {
  list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px 24px;
}
.hero-stats li { display: grid; gap: 8px; align-content: start; }
.hero-stats b { display: flex; align-items: baseline; gap: 4px; font: 500 clamp(32px, 3.4vw, 50px)/1 var(--font-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hero-stats .star { display: inline-block; color: var(--accent); font-size: .55em; transform: translateY(-.25em); }
.hero-stats li > span { font: 700 11px/1.35 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

/* intro choreography (only when JS runs, so no-JS shows everything) */
.js .hero [data-intro] { opacity: 0; transform: translateY(26px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .hero.is-loaded [data-intro] { opacity: 1; transform: none; }

@media (max-width: 899px) {
  .hero-glow { right: -40vmax; top: -30vmax; }
  .hero-arch { right: -6%; top: 6%; height: 58%; }
  .hc-main { right: -8%; top: calc(var(--header-h) - 12px); width: 74vw; max-width: 420px; }
  .hc-a { left: -5%; right: auto; top: 30%; bottom: auto; width: 42vw; max-width: 240px; }
  .hc-b { right: 6%; top: 44%; width: 30vw; max-width: 180px; }
  .hc-c { display: none; }
  .hero-vignette {
    background:
      linear-gradient(0deg, #0d0b09 0%, rgba(13, 11, 9, .94) 40%, rgba(13, 11, 9, .35) 66%, rgba(13, 11, 9, .1) 100%),
      linear-gradient(180deg, rgba(13, 11, 9, .6) 0%, rgba(13, 11, 9, 0) 20%);
  }
  .hero-inner { padding-top: 34vh; }
  .hero-scroll { display: none; }
}
@media (max-width: 560px) {
  .hero-title { margin: 16px 0 18px; }
  .hero-lead { margin-bottom: 24px; font-size: 16px; }
  .hero-ctas .btn-lg { min-height: 52px; padding: 0 22px; font-size: 14px; flex: 1 1 auto; }
  .hero-inner { padding-top: 30vh; }
}

/* ================================================================ MARQUEE BAND */
.band { position: relative; z-index: 1; overflow: hidden; background: var(--ink); color: var(--bg); padding-block: clamp(18px, 2.6vw, 30px); }
.band-row { will-change: transform; }
.band .marquee-track { gap: clamp(26px, 4vw, 56px); padding-right: clamp(26px, 4vw, 56px); }
.band span { font: 500 clamp(28px, 4.4vw, 62px)/1.1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.band em { font-style: italic; color: var(--accent); }
:root[data-theme="dark"] .band em { color: #b8401a; } /* deeper orange keeps contrast on the cream band */
.band-dot { flex: none; width: 14px; height: 18px; border-radius: 999px 999px 2px 2px; background: var(--accent); }

/* ================================================================ BANNER SLIDER */
.bn { position: relative; overflow: hidden; background: #0d0b09; }
.bn-viewport { position: relative; height: clamp(560px, 88vh, 920px); touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.bn-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; visibility: hidden; }
.bn-slide.is-active { visibility: visible; z-index: 2; animation: bn-in 1.25s var(--ease-in-out) both; }
.bn-slide.is-leaving { visibility: visible; z-index: 1; }
.bn[data-dir="prev"] .bn-slide.is-active { animation-name: bn-in-prev; }
@keyframes bn-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes bn-in-prev { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.bn-media { position: absolute; inset: 0; overflow: hidden; transition: transform 1.25s var(--ease-in-out); }
.bn-slide.is-active .bn-media { transform: translateX(calc(var(--drag, 0px) * .25)); }
.bn-viewport:not(.is-dragging) .bn-slide.is-active .bn-media { transition: transform .8s var(--ease); }
.bn-viewport.is-dragging .bn-slide.is-active .bn-media { transition: none; }
.bn-slide.is-leaving .bn-media { transform: translateX(-10%); }
.bn[data-dir="prev"] .bn-slide.is-leaving .bn-media { transform: translateX(10%); }
.bn-media img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.bn-slide:is(.is-active, .is-leaving) .bn-media img { animation: bn-kb 10s linear both; }
@keyframes bn-kb { from { transform: scale(1.16) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.bn-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(13, 11, 9, .94) 0%, rgba(13, 11, 9, .5) 42%, rgba(13, 11, 9, .08) 72%),
    linear-gradient(90deg, rgba(13, 11, 9, .65) 0%, rgba(13, 11, 9, 0) 62%);
}
.bn-copy { position: relative; z-index: 2; padding-bottom: clamp(130px, 17vh, 180px); }
.bn-title { font: 500 clamp(44px, 7vw, 112px)/.94 var(--font-display); letter-spacing: -.022em; margin: 16px 0 18px; max-width: 14ch; text-wrap: balance; }
.bn-sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 46ch; margin-bottom: 30px; }
.bn-copy > * { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.bn-slide.is-active .bn-copy > * { opacity: 1; transform: none; transition-duration: 1.2s; }
.bn-slide.is-active .bn-copy > :nth-child(1) { transition-delay: .4s; }
.bn-slide.is-active .bn-copy > :nth-child(2) { transition-delay: .5s; }
.bn-slide.is-active .bn-copy > :nth-child(3) { transition-delay: .62s; }
.bn-slide.is-active .bn-copy > :nth-child(4) { transition-delay: .74s; }

.bn-ui { position: absolute; left: 0; right: 0; bottom: clamp(26px, 4.5vh, 44px); z-index: 5; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.bn-tabs { display: flex; gap: 12px; flex: 1; max-width: 760px; }
.bn-tab { flex: 1; min-width: 0; min-height: 44px; display: flex; flex-direction: column; gap: 10px; text-align: left; color: var(--ink-3); transition: color .4s; }
.bn-tab i { position: relative; display: block; height: 2px; border-radius: 2px; background: rgba(244, 238, 221, .2); overflow: hidden; }
.bn-tab i::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.bn-tab span { order: 2; font: 700 11px/1 var(--font-sans); letter-spacing: .18em; }
.bn-tab em { order: 3; font-style: normal; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-tab i { order: 1; }
.bn-tab:hover, .bn-tab[aria-current="true"] { color: var(--ink); }
.bn-tab.is-done i::after { transform: scaleX(1); opacity: .5; }
.bn-tab[aria-current="true"] i::after { animation: bn-fill var(--bn-dur, 7s) linear forwards; }
.bn.is-paused .bn-tab[aria-current="true"] i::after { animation-play-state: paused; }
.bn.no-autoplay .bn-tab[aria-current="true"] i::after { animation: none; transform: scaleX(1); }
@keyframes bn-fill { to { transform: scaleX(1); } }
.bn-nav { display: flex; align-items: center; gap: 10px; }
.bn-count { font: 600 14px/1 var(--font-sans); color: var(--ink-3); letter-spacing: .08em; margin-right: 10px; font-variant-numeric: tabular-nums; }
.bn-count b { color: var(--ink); font-weight: 700; }
.bn-nav .icon-btn { background: rgba(13, 11, 9, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.bn-pause .i-play { display: none; }
.bn-pause[aria-pressed="true"] .i-play { display: block; }
.bn-pause[aria-pressed="true"] .i-pause { display: none; }
.bn-pause svg { width: 16px; height: 16px; }

@media (max-width: 760px) {
  .bn-viewport { height: max(540px, 84svh); }
  .bn-copy { padding-bottom: 136px; }
  .bn-ui { flex-direction: column; align-items: stretch; gap: 14px; }
  .bn-tab em { display: none; }
  .bn-tab { min-height: 32px; }
  .bn-nav { justify-content: space-between; }
  .bn-count { margin-right: auto; }
}

/* ================================================================ STORY */
.story { background: var(--bg); overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.story-media { display: grid; grid-template-columns: repeat(12, 1fr); position: relative; }
.story-img figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-img-main { grid-column: 1 / 11; grid-row: 1; }
.story-img-main figure { aspect-ratio: 4 / 3; }
.story-img-side { grid-column: 8 / 13; grid-row: 2; margin-top: -26%; position: relative; z-index: 2; }
.story-img-side figure { aspect-ratio: 3 / 4; border: 6px solid var(--bg); border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.story-img-founder { grid-column: 2 / 7; grid-row: 2; margin-top: 8%; }
.story-img-founder figure { aspect-ratio: 720 / 878; }
.story-cap { display: block; margin-top: 10px; letter-spacing: .06em; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-strong); }
.timeline li { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 20px; padding: 28px 0 28px 30px; }
.timeline li + li { border-top: 1px solid var(--line); }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 42px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.tl-year { font: italic 500 clamp(36px, 3.6vw, 52px)/1 var(--font-display); color: var(--accent); }
.timeline h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 4px 0 10px; }
.timeline p { color: var(--ink-2); margin: 0; font-size: 16px; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 20px; margin-top: clamp(64px, 9vw, 128px); }
.vm-card { display: grid; gap: 20px; align-content: start; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.vm-card p { margin: 0; font-size: clamp(24px, 2.1vw, 31px); line-height: 1.22; }
.vm-team { position: relative; margin: 0; border-radius: var(--radius-lg); min-height: 260px; }
.vm-team img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vm-team figcaption { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 8px 14px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 700; }

@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .vm-team { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 24px; }
  .timeline li::before { top: 38px; }
}

/* ================================================================ SIGNATURE */
.sig { position: relative; background: var(--bg-2); padding-block: var(--section-y); }
.sig.is-pinned { padding-block: 0; }
.sig-pin { position: relative; overflow: hidden; }
.sig.is-pinned .sig-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 48px); padding-top: 36px; }
.sig-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: 40px; }
.sig.is-pinned .sig-head { margin-bottom: 0; }
.sig-head .display-lg { max-width: 12ch; margin-top: 16px; }
.sig-aside { display: grid; gap: 22px; max-width: 380px; }
.sig-aside p { margin: 0; }
.sig-progress { display: none; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.sig.is-pinned .sig-progress { display: block; }
.sig-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

.sig-track {
  display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 10px var(--gutter) 30px; scrollbar-width: none;
}
.sig-track::-webkit-scrollbar { display: none; }
.sig.is-pinned .sig-track {
  overflow: visible; scroll-snap-type: none; gap: 28px; will-change: transform;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.sig-card {
  position: relative; flex: 0 0 auto; width: min(82vw, 380px); scroll-snap-align: start;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.sig.is-pinned .sig-card { width: clamp(300px, min(29vw, 52vh), 440px); }
.sig-media { position: relative; display: block; aspect-ratio: 4 / 3.25; overflow: hidden; background: var(--surface-2); }
.sig-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); -webkit-user-drag: none; }
.sig-card:hover .sig-media img { transform: scale(1.07); }
.sig-media.is-missing img { display: none; }
.sig-media.is-missing::after { content: 'TSDC'; position: absolute; inset: 0; display: grid; place-items: center; font: italic 500 48px/1 var(--font-display); color: var(--ink-3); }
.sig-index { position: absolute; left: 18px; top: 14px; font: italic 500 24px/1 var(--font-display); color: #f4eedd; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.sig-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.sig-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 22px; }
.sig-name { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.05; }
.sig-name a { transition: color .3s; }
.sig-name a:hover { color: var(--accent); }
.sig-desc { margin: 0; font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sig-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.sig-price { display: grid; gap: 4px; font: 600 28px/1 var(--font-display); }
.sig-price small { font: 700 10px/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.sig-foot .btn-sm { min-height: 44px; }
.sig-end {
  flex: 0 0 auto; width: min(72vw, 320px); scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 30px;
  border-radius: var(--radius-lg); border: 1px dashed var(--line-strong);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s;
}
.sig-end-title { font: 500 clamp(34px, 3.2vw, 48px)/1 var(--font-display); }
.sig-end-title em { color: var(--accent); transition: color .5s; }
.sig-end-arrow svg { width: 52px; height: 52px; transition: transform .6s var(--ease); }
.sig-end:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.sig-end:hover .eyebrow, .sig-end:hover em { color: var(--accent-ink); }
.sig-end:hover .sig-end-arrow svg { transform: translate(6px, -6px); }

/* ================================================================ WHY US */
.why { background: var(--bg); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.why-title { font-size: clamp(54px, 8.6vw, 148px); line-height: .9; letter-spacing: -.03em; margin: 20px 0 36px; }
.why-statement { font: 500 clamp(24px, 2.6vw, 38px)/1.3 var(--font-display); max-width: 30ch; margin-bottom: 52px; }
.why-statement em { font-style: italic; color: var(--accent); }
.why-statement.is-scrub .lw { opacity: .16; }
.why-pillars { list-style: none; margin: 0; padding: 28px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-pillars b { font: 700 12px/1 var(--font-sans); letter-spacing: .2em; color: var(--accent); }
.why-pillars h3 { font-size: 25px; margin: 12px 0 8px; }
.why-pillars p { margin: 0; font-size: 15px; color: var(--ink-2); }
.why-stack { position: relative; aspect-ratio: 4 / 5.2; max-width: 560px; justify-self: end; width: 100%; }
.ws { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--surface); }
.ws img { width: 100%; height: 100%; object-fit: cover; }
.ws-1 { left: 0; top: 0; width: 58%; aspect-ratio: 2 / 3; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.ws-2 { right: 0; top: 20%; width: 54%; aspect-ratio: 4 / 5; }
.ws-3 { left: 10%; bottom: 0; width: 60%; aspect-ratio: 4 / 3; border: 6px solid var(--bg); }
.ws-seal { position: absolute; right: 2%; bottom: 6%; z-index: 3; width: clamp(110px, 11vw, 140px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-lg); }
.ws-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: seal-spin 26s linear infinite; }
.ws-seal text { font: 700 12.5px var(--font-sans); letter-spacing: 2.6px; fill: currentColor; }
.ws-seal img { width: 44%; height: auto; border-radius: 8px; }
@keyframes seal-spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-stack { justify-self: center; max-width: 440px; }
  .why-pillars { grid-template-columns: 1fr; gap: 22px; }
}

/* ================================================================ MENU PREVIEW */
.mp { background: var(--bg-2); }
.mp-tabs {
  position: relative; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 36px; padding: 4px var(--gutter) 8px;
}
.mp-tabs::-webkit-scrollbar { display: none; }
.mp-tab {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 20px;
  border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); font-weight: 600; font-size: 15px;
  transition: background-color .35s var(--ease), color .35s, border-color .35s;
}
.mp-tab sup { font-size: 11px; font-weight: 700; color: var(--ink-3); top: -.55em; }
.mp-tab:hover { color: var(--ink); border-color: var(--ink-2); }
.mp-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.mp-tab[aria-selected="true"] sup { color: inherit; opacity: .6; }
.mp-panel:focus-visible { outline-offset: 8px; }
.mp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 30px); }
.mp-card { display: grid; gap: 14px; }
.mp-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.mp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mp-img.is-missing img { display: none; }
.mp-card:hover .mp-img img { transform: scale(1.06); }
.mp-info { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mp-name { display: flex; align-items: center; gap: 10px; font: 500 clamp(21px, 1.8vw, 26px)/1.15 var(--font-display); }
.mp-name b { font-weight: 500; transition: color .3s; }
.mp-card:hover .mp-name b { color: var(--accent); }
.mp-price { flex: none; font: 700 15px/1 var(--font-sans); color: var(--ink); }
.mp-desc { font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mp-foot { margin-top: 36px; font-weight: 700; }
.mp-foot a { padding-block: 10px; }
@media (max-width: 900px) { .mp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .mp-grid { gap: 22px 14px; }
  .mp-info { flex-direction: column; gap: 6px; }
  .mp-name { font-size: 19px; align-items: flex-start; }
  .mp-name .diet { margin-top: 3px; }
  .mp-desc { display: none; }
}

/* ================================================================ CHEF */
.chef { background: var(--bg); overflow: hidden; }
.chef-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 140px); align-items: center; }
.chef-media { position: relative; padding: 0 14% 16% 0; }
.chef-img figure { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); }
.chef-img img { width: 100%; height: 100%; object-fit: cover; }
.chef-img-main figure { aspect-ratio: 720 / 836; }
.chef-img-side { position: absolute; right: 0; bottom: 0; width: 44%; z-index: 2; }
.chef-img-side figure { aspect-ratio: 2 / 3; border: 6px solid var(--bg); border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.chef-tag { position: absolute; left: -28px; top: 6%; writing-mode: vertical-rl; transform: rotate(180deg); font: 700 11px/1 var(--font-sans); letter-spacing: .32em; text-transform: uppercase; color: var(--ink-3); }
.chef-copy .display-lg { margin: 18px 0 28px; }
.chef-copy .lead { margin-bottom: 18px; }
.chef-facts { margin: 40px 0 0; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.chef-facts dt { font: 500 clamp(30px, 3vw, 44px)/1 var(--font-display); color: var(--accent); }
.chef-facts dd { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 960px) {
  .chef-grid { grid-template-columns: 1fr; }
  .chef-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .chef-tag { display: none; }
}
@media (max-width: 560px) {
  .chef-facts { grid-template-columns: 1fr; gap: 18px; }
  .chef-facts > div { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 14px; }
  .chef-facts dd { margin: 0; }
}

/* ================================================================ ACHIEVEMENTS */
.ach { background: var(--bg-2); }
.ach-grid { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; justify-content: center; }
/* The certificate is portrait: cap its width so it never towers over the copy. */
.ach-award { position: relative; margin: 0; width: 100%; max-width: 440px; justify-self: center; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); }
.ach-award img { width: 100%; aspect-ratio: 504 / 720; object-fit: cover; }
.ach-list { display: grid; gap: 18px; }
.ach-item { display: grid; justify-items: start; gap: 14px; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.ach-item h3 { font-size: clamp(26px, 2.4vw, 34px); }
.ach-item p { margin: 0; }
.ach-counters { list-style: none; margin: clamp(56px, 7vw, 100px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line-strong); }
.ach-counters li { display: grid; gap: 10px; align-content: start; padding: 32px 24px 0 0; }
.ach-counters b { font: 500 clamp(46px, 5.4vw, 86px)/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ach-counters li > span { font-size: 15px; color: var(--ink-2); }
@media (max-width: 960px) { .ach-grid { grid-template-columns: 1fr; } .ach-award { max-width: min(86vw, 400px); } }
@media (max-width: 560px) { .ach-counters { grid-template-columns: 1fr 1fr; } .ach-counters li { padding-right: 12px; } }

/* ================================================================ REVIEWS */
.rv { background: var(--bg); overflow: hidden; }
.rv-layout { display: grid; gap: clamp(36px, 5vw, 64px); }
.rv-summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.rv-score { display: grid; gap: 8px; align-content: start; padding: 26px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.rv-score-label { font: 700 11px/1.2 var(--font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.rv-score-num { font: 500 clamp(56px, 5vw, 76px)/1 var(--font-display); letter-spacing: -.02em; }
.rv-score .tiny { font-size: 14px; }
.rv-score.is-overall { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.rv-score.is-overall .rv-score-label, .rv-score.is-overall .tiny { color: inherit; opacity: .65; }
.rv-stars { display: inline-flex; gap: 3px; }
.rv-stars .star { color: var(--line-strong); display: inline-grid; }
.rv-stars .star.on { color: var(--gold); }
.rv-stars svg { width: 17px; height: 17px; }
.rv-score.is-overall .rv-stars .star:not(.on) { color: currentColor; opacity: .25; }

.rv-empty {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 56px; align-items: center;
  padding: clamp(30px, 4vw, 60px); border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
}
.rv-empty-copy { position: relative; display: grid; gap: 16px; }
.rv-empty h3 { max-width: 16ch; }
.rv-empty p { margin: 0; max-width: 52ch; }
.rv-empty .rv-ctas { position: relative; justify-content: flex-end; margin: 0; }
.rv-quote { position: absolute; right: 18px; top: -46px; font: 400 260px/1 var(--font-display); color: var(--accent); opacity: .14; pointer-events: none; }
.rv-ctas { margin-top: 8px; }
.rv-ctas .platform { min-height: 46px; height: auto; padding-block: 6px; }

.rv-carousel { position: relative; }
.rv-stage { position: relative; height: 390px; perspective: 1400px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.rv-card {
  --w: min(84vw, 470px);
  position: absolute; left: 50%; top: 0; width: var(--w); height: 100%; margin-left: calc(var(--w) / -2);
  display: flex; flex-direction: column; gap: 16px; padding: 30px;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transform: translateX(calc(var(--o, 0) * 76%)) translateZ(calc(var(--a, 0) * -170px)) rotateY(calc(var(--o, 0) * -26deg));
  opacity: calc(1 - var(--a, 0) * .32);
  transition: transform 1s var(--ease), opacity 1s var(--ease);
  cursor: pointer;
}
.rv-card.is-active { cursor: auto; }
.rv-card.is-far { opacity: 0; pointer-events: none; }
.rv-card:not(.is-active)::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--bg); opacity: .35; pointer-events: none; }
.rv-card-head { display: flex; align-items: center; gap: 12px; }
.rv-avatar { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 15px; }
.rv-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-who { display: grid; min-width: 0; line-height: 1.35; }
.rv-who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-src { margin-left: auto; flex: none; padding: 5px 10px; border-radius: 999px; font: 700 11px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line-strong); color: var(--ink-2); }
.rv-src-google { color: #4285f4; border-color: rgba(66, 133, 244, .4); }
.rv-src-zomato { color: #e23744; border-color: rgba(226, 55, 68, .4); }
.rv-src-swiggy { color: #fc8019; border-color: rgba(252, 128, 25, .4); }
.rv-text { margin: 0; font: italic 400 clamp(19px, 1.6vw, 22px)/1.5 var(--font-display); display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card.is-open .rv-text { display: block; -webkit-line-clamp: unset; flex: 1; min-height: 0; overflow: auto; padding-right: 6px; }
.rv-more { align-self: flex-start; margin-top: auto; min-height: 44px; font-weight: 700; font-size: 14px; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.rv-more:hover { color: var(--accent); }
.rv-ui { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 28px; }
.rv-count { font: 600 14px/1 var(--font-sans); color: var(--ink-3); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.rv-count b { color: var(--ink); }
@media (max-width: 560px) {
  .rv-summary { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rv-score { padding: 18px; }
  .rv-score.is-overall { grid-column: 1 / -1; }
  .rv-score-num { font-size: 46px; }
  .rv-stars svg { width: 14px; height: 14px; }
}
@media (max-width: 860px) {
  .rv-empty { grid-template-columns: 1fr; }
  .rv-empty .rv-ctas { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .rv-stage { height: 420px; }
  .rv-card { padding: 24px; transform: translateX(calc(var(--o, 0) * 90%)) translateZ(calc(var(--a, 0) * -140px)) rotateY(calc(var(--o, 0) * -20deg)); }
}

/* ================================================================ SERVICES */
.svc { background: var(--bg-2); }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-strong); }
.svc-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 30px 24px 34px; border-right: 1px solid var(--line); }
.svc-card:last-child { border-right: 0; }
.svc-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--surface); transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.svc-card:hover::before, .svc-card:focus-within::before { transform: scaleY(1); }
.svc-num { font: 700 12px/1 var(--font-sans); letter-spacing: .2em; color: var(--ink-3); }
.svc-icon { width: 46px; height: 46px; margin: 22px 0 8px; color: var(--accent); transition: transform .8s var(--ease); }
.svc-card:hover .svc-icon { transform: translateY(-4px) rotate(-6deg); }
.svc-card h3 { font-size: clamp(26px, 2.2vw, 31px); }
.svc-card p { margin: 0; font-size: 15px; color: var(--ink-2); }
.svc-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 14px; transition: color .3s; }
.svc-link:hover { color: var(--accent); }
.svc-card > .svc-link, .svc-links { margin-top: auto; }
.svc-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-card { border-bottom: 1px solid var(--line); }
  .svc-card:nth-child(3) { border-right: 0; }
}
@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: 0; padding: 26px 4px 28px; }
  .svc-icon { margin-top: 10px; }
}

/* ================================================================ VISIT */
.visit { background: var(--bg); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vs-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.vs-map { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.vs-map-ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px;
  color: var(--ink-3); font-weight: 700; font-size: 14px; letter-spacing: .04em;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 36px 36px;
}
.vs-map-ph svg { width: 34px; height: 34px; color: var(--accent); }
.vs-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .9s var(--ease); }
.vs-map.is-loaded iframe { opacity: 1; }
:root[data-theme="dark"] .vs-map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.55) brightness(.95); }
.vs-body { display: grid; gap: 18px; padding: clamp(24px, 3vw, 40px); }
.vs-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.vs-open { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.vs-open i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.vs-open.is-open { color: var(--ink-2); }
.vs-open.is-open i { color: var(--veg); background: var(--veg); box-shadow: 0 0 0 0 currentColor; animation: open-pulse 2.4s var(--ease) infinite; }
@keyframes open-pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.vs-facts { display: grid; gap: 14px; margin: 0; }
.vs-facts > div { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.vs-facts dt svg { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.vs-facts dd { margin: 0; font-size: 15px; color: var(--ink-2); }
.vs-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .vs-actions .btn { flex: 1 1 auto; padding-inline: 18px; } }

/* ================================================================ GALLERY */
.gal { background: var(--bg); overflow: hidden; padding-top: clamp(40px, 6vw, 80px); }
.gal-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 36px; }
.gal-head .display-md { margin-top: 14px; }
.gal-handle { font-style: italic; }
.gal-strip { padding-bottom: clamp(70px, 9vw, 120px); }
.gal-strip .marquee-track { gap: 16px; padding-right: 16px; align-items: flex-start; }
.gal-item { position: relative; display: block; flex: none; width: clamp(190px, 22vw, 300px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.gal-item:nth-child(even) { margin-top: 44px; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); -webkit-user-drag: none; }
.gal-item:hover img { transform: scale(1.08); }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff; font: italic 500 21px/1.1 var(--font-display); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { opacity: 1; transform: none; }
.gal-item:focus-visible { outline-offset: -3px; }
.gal-strip:focus-within .marquee-track { animation-play-state: paused; }

/* ================================================================ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-collage .hc-in { animation: none !important; transform: none; }
  .hero-scroll i::after, .ws-seal svg { animation: none; }
  .bn-slide.is-active, .bn-slide .bn-media img { animation: none !important; }
  .rv-card { transition: none; }
}

/* ================================================================ TEXTURE */
/* Plain section backgrounds get the subtle woven table-mat texture; cards,
   photos and the dark hero/banner stages stay clean. */
.story, .sig, .why, .mp, .chef, .ach, .rv, .svc, .visit, .gal { background-image: var(--tex); background-size: 256px; }
