/* Krua Bophut · concept B "Silk & Teak"
   A light, editorial folio: warm paper, prints that wipe into view, one dark band
   where the evening turns from sunset to starlight. */

:root {
  --paper: #F3EDE2;
  --paper-2: #ECE3D4;
  --ink: #21170F;
  --ink-2: #5B493B;
  --rule: rgba(33, 23, 15, .16);
  --orange: #F37024;
  --night: #0A0F1C;
  --cream: #F6F0E6;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --m: clamp(20px, 5.2vw, 88px);          /* page margin */
  --gap: clamp(16px, 2.2vw, 32px);        /* column gap */
  --sec: clamp(104px, 13vw, 200px);       /* section rhythm */

  --ease: cubic-bezier(.16, 1, .3, 1);        /* expo out: settles softly */
  --ease-io: cubic-bezier(.65, 0, .35, 1);    /* crossfades */
  --ease-wipe: cubic-bezier(.77, 0, .18, 1);  /* print wipes */
  --ease-brush: cubic-bezier(.55, .06, .22, 1);
  --ease-sine: cubic-bezier(.37, 0, .63, 1);

  /* dry-brush edge for the logo reveal (feathered, uneven bristles) */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .13 0 0 0 0 .09 0 0 0 0 .06 .09 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 100' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='b' x='-20%25' y='-20%25' width='140%25' height='140%25'%3E%3CfeGaussianBlur stdDeviation='3.2 1.2'/%3E%3C/filter%3E%3ClinearGradient id='s'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='.75'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath filter='url(%23b)' fill='%23fff' d='M-20 -10H121C123 6 114 14 117 26S121 40 114 52S112 66 116 76S109 92 111 110H-20Z'/%3E%3Cg fill='url(%23s)'%3E%3Crect x='116' y='8' width='15' height='1.6'/%3E%3Crect x='115' y='20' width='12' height='1.2'/%3E%3Crect x='114' y='33' width='17' height='2'/%3E%3Crect x='112' y='46' width='14' height='1.4'/%3E%3Crect x='113' y='58' width='16' height='1.8'/%3E%3Crect x='112' y='69' width='11' height='1.2'/%3E%3Crect x='110' y='81' width='15' height='1.6'/%3E%3Crect x='109' y='93' width='13' height='1.4'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background-color: var(--paper);
  /* faint paper tooth */
  background-image: var(--grain);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}
img { display: block; max-width: 100%; }
picture { display: block; width: 100%; height: 100%; }
p, h1, h2, h3, figure, ul, dl, dd { margin: 0; }
a { color: inherit; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: 12px; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: var(--paper);
  font-size: 15px; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- type ---------- */
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4.3vw, 60px);
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h2 em { letter-spacing: -.015em; }
.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 1.85vw, 26px);
  line-height: 1.36;
  letter-spacing: -.005em;
}
/* masked line reveals: each .ln is a window, its span slides up into it */
.ln { display: block; overflow: hidden; padding: 0 .06em .14em 0; margin-bottom: -.14em; }
.ln > span { display: block; }

/* ---------- buttons ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 2px;
  font: 600 15px/1 var(--sans); letter-spacing: .015em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); opacity: 0;
  transition: opacity .45s var(--ease);
}
.btn--call { background: var(--orange); }
.btn--call::after { background: #5a1e00; }
.btn--line { box-shadow: inset 0 0 0 1px rgba(33, 23, 15, .45); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
@media (hover: hover) {
  .btn--call:hover::after { opacity: .14; }
  .btn--line:hover::after { opacity: .06; }
}
.btn:active { transform: scale(.98); }

/* ---------- header (appears once the hero actions scroll away) ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 40;
  transform: translate3d(0, -101%, 0);
  transition: transform .7s var(--ease);
}
.hdr.is-on, .hdr:focus-within { transform: none; }
.hdr.is-on.is-away { transform: translate3d(0, -101%, 0); }
.hdr__in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: calc(64px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--m) 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.hdr__mark { display: flex; align-items: center; min-height: 44px; }
.hdr__mark img { width: auto; height: 38px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding: calc(18px + env(safe-area-inset-top)) var(--m) 24px;
}
.logo {
  position: relative; overflow: hidden;
  width: min(100%, 480px);
  aspect-ratio: 1926 / 687;
  margin: 0 0 18px -1.2%;
}
.logo__l { position: absolute; display: block; }
.logo__l--thai { left: 1.765%; top: 1.164%; width: 33.489%; height: 22.562%; --del: .2s; --dur: 1s; }
.logo__l--word { left: .415%; top: 23.435%; width: 99.169%; height: 62.009%; --del: .5s; --dur: 1.45s; }
.logo__l--tag  { left: 41.641%; top: 85.298%; width: 57.528%; height: 13.537%; --del: 1.4s; --dur: .95s; }
.logo__brush { position: absolute; left: 0; top: 0; display: block; width: 140%; height: 100%; }
.logo__brush img { position: absolute; left: 0; top: 0; width: 71.4286%; height: 100%; }

.hero__print { position: relative; flex: 1 1 auto; min-height: 240px; max-height: 620px; }
.hero__print::before { /* warm glow under the print */
  content: ""; position: absolute; inset: 10% 5% 0;
  box-shadow: 0 34px 80px -18px rgba(120, 58, 12, .42);
  pointer-events: none;
}
.hero__frame {
  position: absolute; inset: 0; overflow: hidden;
  background: #1b120c var(--lq) center / cover;
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease-io); }
.slide.is-active { opacity: 1; z-index: 2; }
.slide.is-prev { opacity: 1; z-index: 1; transition: none; }
.slide__kb { position: absolute; inset: 0; transform-origin: var(--ox, 50% 50%); }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.hero__copy { padding-top: 20px; }
.hero__line {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(25px, 6.6vw, 38px); line-height: 1.12; letter-spacing: -.01em;
}
.hero__hours { margin-top: 10px; font-size: 15px; letter-spacing: .02em; color: var(--ink-2); }
.hero .cta { margin-top: 20px; max-width: 520px; }
.hero .cta .btn { flex: 1 1 0; }

@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1fr auto;
    column-gap: var(--gap);
    height: 100vh; height: 100svh; min-height: 660px;
    padding: clamp(40px, 6vh, 72px) var(--m);
  }
  .logo { grid-column: 1 / span 6; grid-row: 1; width: 100%; max-width: 780px; margin: 0 0 0 -.6%; }
  .hero__print { grid-column: 7 / -1; grid-row: 1 / 4; max-height: none; min-height: 0; }
  .hero__copy { grid-column: 1 / span 5; grid-row: 3; align-self: end; padding: 0; }
  .hero__line { font-size: clamp(30px, 2.7vw, 46px); }
  .hero__hours { margin-top: 14px; }
  .hero .cta { margin-top: 28px; }
  .hero .cta .btn { flex: 0 0 auto; }
}

/* ---------- prints ---------- */
.print { position: relative; margin: 0; }
.print__clip {
  position: relative; overflow: hidden; width: 100%; height: 100%;
  background: #2a1d14 var(--lq) center / cover;
}
.print__clip img { width: 100%; height: 100%; object-fit: cover; }
.print__par { position: absolute; inset: -7% 0; }
.print--glow::before {
  content: ""; position: absolute; inset: 12% 6% 0;
  box-shadow: 0 30px 70px -14px rgba(110, 55, 15, .34);
  pointer-events: none;
}

/* ---------- the house ---------- */
.story {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--sec) var(--m) 0;
}
.story__h { grid-column: 1 / -1; }
.story__body { grid-column: 1 / -1; margin-top: 28px; max-width: 34em; }
.story__body p + p { margin-top: 18px; color: var(--ink-2); }
.story__big { grid-column: 1 / -1; margin-top: 48px; aspect-ratio: 4 / 5; }
.story__small { grid-column: 4 / -1; margin-top: -72px; aspect-ratio: 16 / 10; z-index: 1; }
.story__small .print__clip { border: 7px solid var(--paper); }

@media (min-width: 900px) {
  .story { grid-template-rows: auto auto 1fr; }
  .story__h { grid-column: 1 / span 6; grid-row: 1; }
  .story__body { grid-column: 1 / span 4; grid-row: 2; margin-top: 44px; }
  .story__big { grid-column: 7 / -1; grid-row: 1 / span 3; margin-top: clamp(96px, 10vw, 160px); }
  .story__small { grid-column: 2 / span 4; grid-row: 3; align-self: start; margin-top: 80px; }
  .story__small .print__clip { border: 0; }
}

/* ---------- three places ---------- */
.places { padding: var(--sec) var(--m) 0; }
.places__h { margin-bottom: 44px; }
.place .print { aspect-ratio: 4 / 3; }
.place + .place { margin-top: 64px; }
.place--2 { margin-left: 14%; }
.place--3 { margin-right: 10%; }
.place__cap {
  display: grid; grid-template-columns: 2.1em 1fr; align-items: baseline;
  margin-top: 18px;
}
.place__n { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-2); }
.place__t { font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; }
.place__d { grid-column: 2; margin-top: 6px; font-size: 16px; color: var(--ink-2); }

@media (min-width: 900px) {
  .places {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
    align-items: start;
  }
  .places__h { grid-column: 1 / span 5; grid-row: 1; margin: 0; }
  .place + .place { margin-top: 0; }
  .places .place--1 { grid-column: 1 / span 6; grid-row: 2; margin-top: 56px; }
  .places .place--2 { grid-column: 8 / span 5; grid-row: 2; margin: clamp(150px, 15vw, 260px) 0 0; }
  .place--2 .print { aspect-ratio: 1 / 1; }
  .places .place--3 { grid-column: 2 / span 6; grid-row: 3; margin: -7.1vw 0 0; }
  .place--3 .print { aspect-ratio: 16 / 9; }
}

/* ---------- kitchen ---------- */
.kitchen {
  margin-top: calc(var(--sec) * .62);
  padding: calc(var(--sec) * .72) 0 clamp(80px, 9vw, 140px);
  background-color: var(--paper-2);
  background-image: var(--grain);
}
.kitchen__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: 0 var(--m);
}
.kitchen__h { grid-column: 1 / -1; }
.kitchen__p { grid-column: 1 / -1; margin-top: 24px; max-width: 22em; }
.kitchen__sea { grid-column: 1 / -1; margin-top: 44px; }
.kitchen__sea .print__clip { aspect-ratio: 5 / 4; height: auto; }
.kitchen__cap {
  margin-top: 16px; max-width: 22em;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 21px; line-height: 1.35;
}
@media (min-width: 900px) {
  .kitchen__h { grid-column: 1 / span 6; grid-row: 1; }
  .kitchen__p { grid-column: 1 / span 5; grid-row: 2; margin-top: 32px; align-self: start; }
  .kitchen__sea { grid-column: 8 / -1; grid-row: 1 / span 3; margin-top: 0; }
}

.rail-wrap { margin-top: clamp(64px, 8vw, 112px); }
.rail {
  position: relative;
  display: flex; gap: clamp(12px, 1.4vw, 20px);
  margin: 0; padding: 0 0 0 var(--m); list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--m);
  scrollbar-width: none;
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail::after { content: ""; flex: 0 0 max(1px, calc(var(--m) - clamp(12px, 1.4vw, 20px))); }
.rail.is-drag { cursor: grabbing; }
.rail.is-drag, .rail.is-free { scroll-snap-type: none; }
.rail:focus-visible { outline-offset: -2px; }
.dish {
  position: relative; flex: 0 0 auto; overflow: hidden;
  height: clamp(300px, 34vw, 460px);
  scroll-snap-align: start;
  background: #2a1d14 var(--lq) center / cover;
}
.dish--p { aspect-ratio: 4 / 5; }
.dish--l { aspect-ratio: 4 / 3; }
.dish img {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-user-drag: none; user-select: none;
  transition: transform 1.4s var(--ease);
}
@media (hover: hover) { .dish:hover img { transform: scale(1.035); } }

.rail-ctl { display: flex; align-items: center; gap: 10px; margin: 28px var(--m) 0; }
.rail-bar { position: relative; flex: 1; height: 1px; background: var(--rule); margin-right: 14px; }
.rail-bar__thumb {
  position: absolute; left: 0; top: -1px; height: 3px; width: 30%;
  background: var(--ink); border-radius: 2px;
}
.rail-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid rgba(33, 23, 15, .32); border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.rail-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn:disabled { opacity: .3; cursor: default; }
@media (hover: hover) {
  .rail-btn:not(:disabled):hover { transform: scale(1.06); }
}
@media (hover: none) { .rail-btn { display: none; } .rail-bar { margin-right: 0; } }

/* ---------- evenings: the dark band ---------- */
.band { position: relative; background-color: var(--paper-2); background-image: var(--grain); }
.band__stage { position: relative; height: 100vh; height: 100svh; min-height: 540px; }
.band__frame {
  position: absolute; inset: 0; overflow: hidden;
  background: var(--night);
  transform-origin: 50% 30%;
}
.band__img { position: absolute; inset: 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band__img--sun img { object-position: 58% 45%; }
.band__img--moon img { object-position: 50% 30%; }
.band__warm {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 168, 92, .2), rgba(255, 128, 48, .06) 50%, rgba(0, 0, 0, 0) 75%);
}
.band__night {
  position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(180deg, rgba(4, 8, 24, .5) 0%, rgba(4, 8, 24, .08) 46%, rgba(4, 8, 24, .16) 100%);
}
.band__stars { position: absolute; inset: 0 0 62% 0; opacity: 0; }
.band__stars i {
  position: absolute; display: block; border-radius: 50%;
  background: #fffaf0; box-shadow: 0 0 6px rgba(255, 246, 225, .7);
  animation: twinkle var(--tw, 4s) var(--ease-sine) var(--td, 0s) infinite alternate;
  animation-play-state: paused;
}
.band.is-live .band__stars i { animation-play-state: running; }
@keyframes twinkle { from { opacity: var(--o, .9); } to { opacity: .15; } }
.band__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(5, 7, 15, .84) 0%, rgba(5, 7, 15, .52) 30%, rgba(5, 7, 15, 0) 62%),
    linear-gradient(90deg, rgba(5, 7, 15, .4), rgba(5, 7, 15, 0) 65%);
}
.band__copy { position: absolute; left: var(--m); right: var(--m); bottom: clamp(44px, 10vh, 104px); }
.band__h {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(34px, 4.6vw, 62px); line-height: 1.1; letter-spacing: -.012em;
  color: var(--cream);
}
.bl { display: block; }
.band :focus-visible { outline-color: var(--cream); }

.js .band { height: 250vh; height: 250svh; }
.js .band__stage { position: sticky; top: 0; }
.js .band__img--moon { opacity: 0; }
.js .band__frame, .js .band__img { will-change: transform, opacity; }
.js .bl {
  opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(6px);
  transition: opacity 1.2s var(--ease), transform 1.5s var(--ease), filter 1.2s var(--ease);
}
.js .bl.is-on { opacity: 1; transform: none; filter: blur(0); }

/* ---------- awards ---------- */
.awards { padding: var(--sec) var(--m) 0; }
.awards__list { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.awards__list li { border-bottom: 1px solid var(--rule); }
.award {
  display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center;
  padding: 24px 0 26px; text-decoration: none;
}
.award__by { grid-column: 1; font-size: 14px; letter-spacing: .02em; color: var(--ink-2); }
.award__t {
  grid-column: 1; margin-top: 6px;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(27px, 2.8vw, 38px); line-height: 1.12; letter-spacing: -.012em;
}
.award__arr {
  grid-column: 2; grid-row: 1 / span 2;
  width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.3;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .6s var(--ease);
}
.award__t { position: relative; justify-self: start; }
.award__t::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease);
}
@media (hover: hover) {
  .award:hover .award__arr { transform: translate3d(4px, -4px, 0); }
  .award:hover .award__t::after { transform: none; }
}
@media (min-width: 900px) {
  .awards__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); border-top: 0; }
  .awards__list li { border-top: 1px solid var(--rule); }
  .award { padding: 30px 0 34px; }
}

/* ---------- visit ---------- */
.visit {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  padding: var(--sec) var(--m);
}
.visit__print { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.visit__print img { object-position: 28% 50%; }
.visit__info { grid-column: 1 / -1; margin-top: 48px; }
.visit__lead { margin-top: 22px; color: var(--ink-2); }
.facts { margin-top: 32px; border-top: 1px solid var(--rule); }
.facts > div {
  display: grid; grid-template-columns: 5.6em minmax(0, 1fr); column-gap: 12px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--rule);
}
.facts dt { font-size: 14px; letter-spacing: .02em; color: var(--ink-2); }
.facts dd { font-size: 16.5px; line-height: 1.5; overflow-wrap: anywhere; }
@media (min-width: 900px) { .facts > div { grid-template-columns: 6.6em minmax(0, 1fr); column-gap: 16px; } }
.facts dd a {
  display: block; padding: 10px 0; margin: -10px 0;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .24em;
  text-decoration-color: rgba(33, 23, 15, .3);
}
.facts dd a + br { display: none; }
.facts dd a + a { margin-top: 2px; }
@media (hover: hover) { .facts dd a:hover { text-decoration-color: var(--ink); } }
.visit .cta { margin-top: 36px; }

@media (min-width: 900px) {
  .visit { align-items: center; }
  .visit__print { grid-column: 1 / span 7; grid-row: 1; }
  .visit__info { grid-column: 9 / -1; grid-row: 1; margin: 0; }
}

/* ---------- footer ---------- */
.ftr {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px;
  padding: 40px var(--m) calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
}
.ftr__logo { width: auto; height: 46px; }
.ftr__where { font-size: 14px; color: var(--ink-2); }
.ftr__demo { margin-left: auto; font-size: 13px; letter-spacing: .02em; color: var(--ink-2); }

/* =========================================================
   Motion. Hidden states exist only under html.js (added by the
   inline head script), so the page is complete without JS.
   ========================================================= */

/* hero choreography, started by html.is-ready */
.js .logo__brush {
  -webkit-mask: var(--brush) 0 0 / 100% 100% no-repeat;
          mask: var(--brush) 0 0 / 100% 100% no-repeat;
  transform: translate3d(-100%, 0, 0);
}
.js .logo__brush img { transform: translate3d(140%, 0, 0); }
.js.is-ready .logo__brush { animation: brush var(--dur) var(--ease-brush) var(--del) both; }
.js.is-ready .logo__brush img { animation: brush var(--dur) var(--ease-brush) var(--del) both; }
@keyframes brush { to { transform: none; } }
.js .logo.is-done .logo__brush { -webkit-mask: none; mask: none; }

.js .hero__frame { clip-path: inset(100% 0 0 0); }
.js.is-ready .hero__frame { clip-path: inset(0 0 0 0); transition: clip-path 1.5s var(--ease-wipe) .05s; }
.js .hero .slide:first-child img { transform: scale(1.16); }
.js.is-ready .hero .slide:first-child img { transform: none; transition: transform 2.6s var(--ease) .05s; }
.js.is-ready .slide.is-active .slide__kb,
.js.is-ready .slide.is-prev .slide__kb { animation: kb 11s var(--ease-sine) both; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.075); } }
.js .hero__print::before { opacity: 0; }
.js.is-ready .hero__print::before { opacity: 1; transition: opacity 2s var(--ease) .9s; }

.js .ln > span { transform: translate3d(0, 110%, 0); }
.js.is-ready .hero .ln > span { transform: none; transition: transform 1.15s var(--ease) calc(1.05s + var(--i, 0) * .1s); }
.js .hero__hours, .js .hero .cta { opacity: 0; transform: translate3d(0, 14px, 0); }
.js.is-ready .hero__hours { opacity: 1; transform: none; transition: opacity 1s var(--ease) 1.35s, transform 1.2s var(--ease) 1.35s; }
.js.is-ready .hero .cta { opacity: 1; transform: none; transition: opacity 1s var(--ease) 1.5s, transform 1.2s var(--ease) 1.5s; }

/* scroll reveals (IntersectionObserver adds .is-in) */
.js [data-reveal="lines"].is-in .ln > span { transform: none; transition: transform 1.1s var(--ease) calc(var(--i, 0) * .1s); }
.js [data-reveal="fade"] { opacity: 0; transform: translate3d(0, 22px, 0); }
.js [data-reveal="fade"].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease) .12s, transform 1.2s var(--ease) .12s; }

.js .print[data-reveal] .print__clip { clip-path: inset(100% 0 0 0); }
.js .print[data-reveal][data-wipe="left"] .print__clip { clip-path: inset(0 100% 0 0); }
.js .print[data-reveal] .print__clip img { transform: scale(1.14); }
.js .print[data-reveal].is-in .print__clip { clip-path: inset(0 0 0 0); transition: clip-path 1.1s var(--ease-wipe); }
.js .print[data-reveal].is-in .print__clip img { transform: none; transition: transform 1.6s var(--ease); }
.js .print--glow[data-reveal]::before { opacity: 0; }
.js .print--glow[data-reveal].is-in::before { opacity: 1; transition: opacity 1.4s var(--ease) .5s; }
.js [data-parallax] { will-change: transform; }

.js [data-reveal="rail"] .dish { opacity: 0; transform: translate3d(48px, 0, 0); }
.js [data-reveal="rail"].is-in .dish {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease) var(--k, 0s), transform 1.3s var(--ease) var(--k, 0s);
}
.dish:nth-child(2) { --k: .07s; } .dish:nth-child(3) { --k: .14s; } .dish:nth-child(4) { --k: .21s; }
.dish:nth-child(5) { --k: .28s; } .dish:nth-child(n+6) { --k: .35s; }
.js [data-reveal="rail"] .rail-ctl { opacity: 0; }
.js [data-reveal="rail"].is-in .rail-ctl { opacity: 1; transition: opacity 1s var(--ease) .45s; }

/* Reduced motion: no movement. Content shows directly; crossfades only. */
@media (prefers-reduced-motion: reduce) {
  .js .logo__brush, .js .logo__brush img,
  .js.is-ready .logo__brush, .js.is-ready .logo__brush img { transform: none; animation: none; -webkit-mask: none; mask: none; }
  .js .logo { opacity: 0; }
  .js.is-ready .logo { opacity: 1; transition: opacity 1.2s var(--ease-io); }
  .js .hero__frame, .js.is-ready .hero__frame { clip-path: none; }
  .js .hero__frame { opacity: 0; }
  .js.is-ready .hero__frame { opacity: 1; transition: opacity 1.4s var(--ease-io); }
  .js .hero .slide:first-child img, .js.is-ready .hero .slide:first-child img { transform: none; }
  .js.is-ready .slide.is-active .slide__kb, .js.is-ready .slide.is-prev .slide__kb { animation: none; }

  .js .ln > span { transform: none; opacity: 0; }
  .js.is-ready .hero .ln > span, .js [data-reveal="lines"].is-in .ln > span { opacity: 1; transform: none; transition: opacity 1s var(--ease-io); }
  .js .hero__hours, .js .hero .cta, .js [data-reveal="fade"] { transform: none; }
  .js.is-ready .hero__hours, .js.is-ready .hero .cta, .js [data-reveal="fade"].is-in { transform: none; transition: opacity 1s var(--ease-io); }

  .js .print[data-reveal] .print__clip, .js .print[data-reveal].is-in .print__clip { clip-path: none; }
  .js .print[data-reveal] .print__clip img, .js .print[data-reveal].is-in .print__clip img { transform: none; }
  .js .print[data-reveal] { opacity: 0; }
  .js .print[data-reveal].is-in { opacity: 1; transition: opacity 1.1s var(--ease-io); }

  .js [data-reveal="rail"] .dish, .js [data-reveal="rail"].is-in .dish { transform: none; }
  .js .bl, .js .bl.is-on { transform: none; filter: none; }
  .band__stars i { animation: none; }
  .dish img, .btn, .award__arr, .award__t::after, .rail-btn { transition: none; }
  .dish:hover img { transform: none; }
}
