/* ===================================================================
   Foul Abo Hesham — Design Tokens
   Palette: charcoal / bone / deep olive / single saffron accent
   (deliberately avoiding beige+brass+espresso premium-consumer cliche)
   =================================================================== */

:root {
  --ink: #17181a;
  --ink-soft: #2a2c2e;
  --bone: #f3efe6;
  --bone-dim: #e7e1d2;
  --olive: #3f4a34;
  --olive-deep: #262e1f;
  --saffron: #e2a63b;
  --saffron-dim: #c98f2c;

  --bg: var(--ink);
  --fg: var(--bone);
  --muted: #b9b6ac;

  --radius: 999px;
  --nav-h: 76px;

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

* { box-sizing: border-box; }

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Cabinet Grotesk', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video {
  /* max-width: 100%; */
  display: block;
}

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.display {
  font-size: clamp(2.75rem, 9vw, 6.5rem);
  letter-spacing: -0.04em;
}

.h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  line-height: 1.65;
  color: var(--muted);
  max-width: 60ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 600;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--saffron);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .5s var(--ease), background .3s ease, border-color .3s ease, color .3s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--saffron);
  color: var(--ink);
}
.btn-primary:hover { background: var(--bone); }

.btn-ghost {
  background: transparent;
  border-color: rgba(243,239,230,0.28);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--saffron); color: var(--saffron); }

.btn-arrow {
  transition: transform .4s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Nav — floating glass pill ---------- */

.nav {
  position: fixed;
  top: clamp(14px, 2.5vw, 24px);
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.nav-pill {
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: rgba(23, 24, 26, 0.55);
  border: 1px solid rgba(243, 239, 230, 0.1);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 12px 32px -12px rgba(0,0,0,0.5);
}

.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bone);
  white-space: nowrap;
}

.nav-logo span { color: var(--saffron); }

.nav-links {
  display: none;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--bone-dim);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--bone); }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--saffron);
  transition: width .35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: none; }

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(243,239,230,0.06);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-burger span {
  width: 16px;
  height: 1.5px;
  background: var(--bone);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: calc(clamp(14px, 2.5vw, 24px) + 64px);
  left: 16px;
  right: 16px;
  z-index: 199;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(23, 24, 26, 0.85);
  border: 1px solid rgba(243, 239, 230, 0.1);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 20px 44px -16px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.nav-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-drawer a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--bone-dim);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-drawer a:hover { background: rgba(243,239,230,0.06); color: var(--bone); }

.nav-drawer .btn { margin-top: 6px; justify-content: center; }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .nav-drawer { display: none; }
}

/* ===================================================================
   HERO — pinned scroll-driven video reveal
   =================================================================== */

.hero-pin {
  position: relative;
  height: 380vh;
}

.hero-stage {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--bone);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,24,26,0.45) 0%, rgba(23,24,26,0.4) 40%, rgba(23,24,26,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 600;
  opacity: 0;
  transform: translateY(16px);
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(2.6rem, 9vw, 7.2rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  font-weight: 700;
  color: var(--bone);
  text-shadow: 0 4px 32px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(28px) scale(0.96);
}

.hero-title .accent { color: var(--saffron); font-style: italic; padding-bottom: 0.08em; }

.hero-sub {
  margin-top: 22px;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: var(--bone-dim);
  max-width: 40ch;
  opacity: 0;
  transform: translateY(16px);
}

.hero-cta {
  margin-top: 40px;
  opacity: 0;
  transform: translateY(16px);
}

.hero-frame-index {
  position: absolute;
  bottom: 36px;
  left: 0; right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-frame-index i {
  width: 28px;
  height: 2px;
  background: rgba(243,239,230,0.28);
  transition: background .3s ease, width .3s ease;
}
.hero-frame-index i.on { background: var(--saffron); width: 44px; }

/* ---------- Sections shared ---------- */

section { position: relative; }

.section-pad { padding: clamp(80px, 12vw, 160px) 0; }

.reveal {
  opacity: 0;
  transform: translateY(36px);
}

/* ===================================================================
   MENU — 3D coverflow slider
   =================================================================== */

/* .timeline-pin and .menu-section used to each paint their own gradient,
   and even with matching colors at the seam, .menu-section's own top-glow
   created a brighter band right at the boundary — reading as two separate
   pieces instead of one. Both now share one flat solid color with no
   gradient shift, so there is no color value left that could mismatch. */
.journey-block {
  position: relative;
  background: var(--olive-deep);
}

.menu-section {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 13vw, 170px) 0 clamp(70px, 10vw, 120px);
}

.menu-head {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
}

.menu-head .h2 { margin-left: auto; margin-right: auto; color: var(--bone); }

/* ---- Coverflow stage ---- */

.coverflow {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 28px);
  margin-top: clamp(50px, 7vw, 90px);
  padding: 0 clamp(10px, 4vw, 40px);
}

.cf-stage {
  position: relative;
  flex: 1;
  max-width: 900px;
  height: clamp(360px, 44vw, 480px);
  perspective: 1600px;
}

.cf-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(230px, 30vw, 340px);
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: transform 0.65s var(--ease), opacity 0.65s var(--ease), filter 0.65s var(--ease);
  cursor: pointer;
}

.cf-card-inner {
  position: relative;
  aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
}

.cf-card-frame {
  position: absolute;
  inset: 10% 4% 4%;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--ink-soft) 0%, #1f2118 100%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(243,239,230,0.06);
  transform: translateZ(0px);
}

/* Photo sized past the frame's edges and left uncropped (object-fit: contain
   on a transparent PNG) so the sandwich silhouette itself overflows the card
   and reads as an object sitting on top of it, not a photo inside it. */
.cf-card-photo {
  position: absolute;
  top: 50%;
  left: 47%;
  width: 150%;
  height: 80%;
  transform: translate(-50%, -50%) translateZ(0px);
  object-fit: revert-layer;
  object-position: center center;
  transition: transform 0.65s var(--ease), filter 0.65s var(--ease);
  filter: drop-shadow(0 14px 18px rgba(0,0,0,0.45));
}

/* Center card: sandwich lifts off its frame in 3D, drop shadow deepens */
.cf-card[data-pos="center"] .cf-card-photo {
  transform: translate(-50%, -50%) translateZ(56px);
  filter: drop-shadow(0 30px 30px rgba(0,0,0,0.55));
}

.cf-card[data-pos="left1"] .cf-card-photo,
.cf-card[data-pos="right1"] .cf-card-photo {
  transform: translate(-50%, -50%) translateZ(14px);
}

.cf-card-info {
  position: relative;
  z-index: 6;
  margin-top: 18px;
  padding-top: 20px;
  text-align: center;
  /* .cf-card-photo pops toward the viewer via translateZ inside a
     preserve-3d parent, so it renders nearer than anything left at
     translateZ(0) regardless of z-index. Match that depth here so the
     price/title aren't painted underneath the popped sandwich. */
  transform: translateZ(60px);
}

.cf-card-info h3 {
  font-size: 1.15rem;
  color: var(--bone);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cf-desc {
  margin: 8px auto 0;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 30ch;
}

.cf-price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 14px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--saffron);
  letter-spacing: -0.02em;
}

.cf-price em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--saffron-dim);
  text-transform: uppercase;
}

/* Card position states, set via JS by adding data-pos */
.cf-card[data-pos="center"] {
  transform: translate(-50%, -50%) translateZ(0) rotateY(0deg) scale(1);
  z-index: 5;
  opacity: 1;
  filter: brightness(1);
}

.cf-card[data-pos="left1"] {
  transform: translate(-135%, -50%) translateZ(-160px) rotateY(35deg) scale(0.82);
  z-index: 4;
  opacity: 1;
  filter: brightness(0.55);
}

.cf-card[data-pos="right1"] {
  transform: translate(35%, -50%) translateZ(-160px) rotateY(-35deg) scale(0.82);
  z-index: 4;
  opacity: 1;
  filter: brightness(0.55);
}

.cf-card[data-pos="left2"] {
  transform: translate(-190%, -50%) translateZ(-320px) rotateY(40deg) scale(0.66);
  z-index: 3;
  opacity: 0;
  filter: brightness(0.35);
  pointer-events: none;
}

.cf-card[data-pos="right2"] {
  transform: translate(90%, -50%) translateZ(-320px) rotateY(-40deg) scale(0.66);
  z-index: 3;
  opacity: 0;
  filter: brightness(0.35);
  pointer-events: none;
}

.cf-card[data-pos="hidden"] {
  transform: translate(-50%, -50%) translateZ(-400px) scale(0.5);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.cf-card[data-pos="left1"] .cf-card-info,
.cf-card[data-pos="right1"] .cf-card-info {
  opacity: 0;
}

/* ---- Arrows ---- */

.cf-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(243,239,230,0.22);
  background: rgba(243,239,230,0.04);
  color: var(--bone);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

.cf-arrow:hover {
  border-color: var(--saffron);
  color: var(--saffron);
  background: rgba(226,166,59,0.08);
  transform: scale(1.06);
}

.cf-arrow:active { transform: scale(0.94); }

@media (max-width: 720px) {
  .cf-arrow { width: 40px; height: 40px; }
  .cf-stage { height: clamp(300px, 62vw, 380px); }
  .cf-card[data-pos="left1"] { transform: translate(-118%, -50%) translateZ(-140px) rotateY(35deg) scale(0.72); }
  .cf-card[data-pos="right1"] { transform: translate(18%, -50%) translateZ(-140px) rotateY(-35deg) scale(0.72); }
}

/* ---- Dots ---- */

.cf-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 80px;
}

.cf-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(243,239,230,0.25);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.cf-dot.on {
  background: var(--saffron);
  width: 26px;
  border-radius: 4px;
}

/* ===================================================================
   TIMELINE — 1980 to 2026, vertical scroll journey
   =================================================================== */

.timeline-pin {
  position: relative;
  height: 400vh;
}

.timeline-stage {
  position: relative;
  height: 100vh;
  overflow: hidden;
  /* Pinned to position: fixed during scroll (GSAP), so it needs its own
     opaque background — kept as the exact same flat color as .journey-block
     (no gradient) so there is no seam once the pin releases. */
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(226,166,59,0.08) 0%, rgba(226,166,59,0) 65%),
    var(--olive-deep);
  display: flex;
  flex-direction: column;
}

.timeline-head {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: clamp(28px, 5vh, 56px) auto 0;
  flex-shrink: 0;
}

.timeline-head .eyebrow { justify-content: center; }
.timeline-head .h2 { color: var(--bone); }

.timeline-rail {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px clamp(16px, 4vw, 40px) clamp(28px, 5vh, 56px);
}

/* Central vertical line, with a saffron fill that grows as the user
   scrolls through the section (progress driven from JS). */
.tl-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(243,239,230,0.12);
}

.tl-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--saffron) 0%, var(--saffron-dim) 100%);
}

/* Fixed (not clipped inside .timeline-stage) so it can visually bridge
   the timeline and menu sections at the handoff instead of being cut
   off by either section's overflow: hidden. Position is driven entirely
   from JS in viewport pixels while pinned; hidden once released. */
.tl-dish {
  position: fixed;
  top: 0;
  left: 50%;
  width: clamp(70px, 7vw, 110px);
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.5));
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tl-dish.tl-dish-active { opacity: 1; }

.tl-nodes {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Endpoint marker where the dish comes to rest after the last milestone.
   top: 96% matches the dish's clamped MAX_TOP in main.js so the two align. */
.tl-end {
  position: absolute;
  top: 96%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.35;
  transition: opacity 0.5s ease;
}

.tl-end.on { opacity: 1; }

.tl-end-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid rgba(243,239,230,0.3);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.tl-end.on .tl-end-dot {
  background: var(--saffron);
  border-color: var(--saffron);
  box-shadow: 0 0 0 6px rgba(226,166,59,0.16);
}

.tl-end-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  white-space: nowrap;
}

.tl-node {
  position: relative;
  display: flex;
  width: 50%;
}

.tl-node[data-side="left"] {
  justify-content: flex-end;
  padding-right: clamp(28px, 4vw, 56px);
}

.tl-node[data-side="right"] {
  justify-content: flex-start;
  padding-left: clamp(28px, 4vw, 56px);
  margin-left: 50%;
}

.tl-dot {
  position: absolute;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid rgba(243,239,230,0.3);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.tl-node[data-side="left"] .tl-dot { right: -7px; }
.tl-node[data-side="right"] .tl-dot { left: -7px; }

.tl-node.on .tl-dot {
  background: var(--saffron);
  border-color: var(--saffron);
  box-shadow: 0 0 0 6px rgba(226,166,59,0.16);
}

.tl-node-card {
  max-width: 320px;
  opacity: 0.4;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tl-node[data-side="left"] .tl-node-card { text-align: right; }
.tl-node[data-side="right"] .tl-node-card { text-align: left; }

.tl-node.on .tl-node-card {
  opacity: 1;
  transform: translateY(0);
}

.tl-year {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--saffron);
}

.tl-node-card h3 {
  margin-top: 10px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--bone);
  letter-spacing: -0.02em;
}

.tl-node-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tl-node[data-side="left"] p { margin-left: auto; }

@media (max-width: 720px) {
  .tl-line { left: 24px; }
  .tl-dish { left: 24px; width: clamp(52px, 12vw, 72px); }

  .tl-node,
  .tl-node[data-side="left"],
  .tl-node[data-side="right"] {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    padding-left: 44px;
    padding-right: 0;
  }

  .tl-node[data-side="left"] .tl-dot,
  .tl-node[data-side="right"] .tl-dot {
    left: 17px;
    right: auto;
  }

  .tl-node[data-side="left"] .tl-node-card,
  .tl-node[data-side="right"] .tl-node-card,
  .tl-node[data-side="left"] p {
    text-align: left;
    margin-left: 0;
  }

  .tl-node-card h3 { font-size: 0.95rem; margin-top: 4px; }
  .tl-node-card p { font-size: 0.72rem; margin-top: 4px; }
  .tl-year { font-size: 0.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .tl-node-card { opacity: 1; transform: none; }
  .tl-dish { transition: none; }
}

/* ===================================================================
   TESTIMONIALS — one marquee, per the max-one-per-page rule
   =================================================================== */

.testimonials-section {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 9vw, 110px);
  background: var(--ink);
}

.testimonials-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.testimonials-head .eyebrow { justify-content: center; }
.testimonials-head .h2 { color: var(--bone); }

.marquee {
  position: relative;
  margin-top: clamp(48px, 7vw, 80px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.t-card {
  flex: 0 0 auto;
  width: clamp(260px, 30vw, 340px);
  padding: 28px;
  border-radius: 10px;
  background: rgba(243,239,230,0.04);
  border: 1px solid rgba(243,239,230,0.1);
}

.t-stars {
  color: var(--saffron);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}

.t-card p {
  margin-top: 16px;
  color: var(--bone-dim);
  font-size: 0.92rem;
  line-height: 1.6;
}

.t-name {
  display: block;
  margin-top: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

/* ===================================================================
   CONTACT — placeholder
   =================================================================== */

.contact-section {
  position: relative;
  padding: clamp(100px, 15vw, 180px) 0;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  text-align: center;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
}

.contact-inner .eyebrow { justify-content: center; }
.contact-inner .h2 { color: var(--bone); }

.contact-meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-owner { color: var(--bone-dim); font-weight: 600; }
.contact-sep { color: var(--saffron-dim); }

.contact-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bone);
  background: rgba(243,239,230,0.06);
  border: 1px solid rgba(243,239,230,0.14);
  transition: transform 0.4s var(--ease), background 0.3s ease, border-color 0.3s ease;
}

.contact-btn:hover { transform: translateY(-2px); }

.contact-whatsapp:hover { background: rgba(37,211,102,0.14); border-color: rgba(37,211,102,0.4); }
.contact-telegram:hover { background: rgba(34,158,217,0.14); border-color: rgba(34,158,217,0.4); }
.contact-call:hover { background: rgba(226,166,59,0.14); border-color: var(--saffron); }

.site-footer {
  padding: 22px 0;
  background: var(--ink);
  border-top: 1px solid rgba(243,239,230,0.08);
  text-align: center;
}

.site-footer p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.site-footer a {
  color: var(--bone-dim);
  font-weight: 600;
  transition: color 0.3s ease;
}

.site-footer a:hover { color: var(--saffron); }

/* ===================================================================
   LOADER — full-screen splash until assets are ready
   =================================================================== */

body.is-loading { overflow: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.loader-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.loader-mark {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bone);
  opacity: 0;
  animation: loaderFadeIn 0.6s ease forwards 0.1s;
}

.loader-mark span { color: var(--saffron); }

.loader-bar {
  width: clamp(160px, 24vw, 220px);
  height: 2px;
  background: rgba(243,239,230,0.14);
  border-radius: 999px;
  overflow: hidden;
  opacity: 0;
  animation: loaderFadeIn 0.6s ease forwards 0.25s;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--saffron-dim), var(--saffron));
  border-radius: inherit;
  transition: width 0.35s ease;
}

.loader-pct {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  opacity: 0;
  animation: loaderFadeIn 0.6s ease forwards 0.35s;
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .loader-mark, .loader-bar, .loader-pct { animation: none; opacity: 1; }
}

/* ===================================================================
   SECTION RAIL — side progress dots, clickable jump-navigation
   =================================================================== */

.section-rail {
  position: fixed;
  top: 50%;
  right: clamp(16px, 3vw, 32px);
  transform: translateY(-50%);
  z-index: 90;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}

@media (min-width: 900px) {
  .section-rail { display: flex; }
}

.rail-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(243,239,230,0.25);
  cursor: pointer;
  transition: background 0.35s ease, transform 0.35s ease, width 0.35s ease, height 0.35s ease;
}

.rail-dot:hover { background: rgba(226,166,59,0.6); }

.rail-dot.on {
  background: var(--saffron);
  transform: scale(1.3);
  box-shadow: 0 0 0 5px rgba(226,166,59,0.16);
}

.rail-label {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone-dim);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.rail-dot.on .rail-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  /* Pre-rasterized noise tile instead of a live feTurbulence filter — the
     filter version forces a full-viewport GPU recomposite every scroll
     frame, which stalls in lockstep with the pinned hero scrub. */
  background-image: url("../assets/img/grain.webp");
  background-repeat: repeat;
  background-size: 128px 128px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-pin { height: auto; }
  .hero-stage { position: relative; height: 100vh; }
  .hero-eyebrow, .hero-title, .hero-sub, .hero-cta, .reveal {
    opacity: 1 !important; transform: none !important;
  }
}
