/* ============================================================
   Alatrakchy Company — design system "Modern Mesopotamian luxury"
   Ground: warm espresso-black · Accent: brand gold #FEB900
   Display: El Messiri · Body: IBM Plex Sans Arabic
   Logical properties throughout → one sheet serves RTL + LTR.
   ============================================================ */

@import url('/assets/fonts/fonts.css');

:root {
  /* ground */
  --coal: #16110b;
  --coal-2: #1d1710;
  --soot: #241d14;
  --line-gold: rgba(254, 185, 0, 0.16);
  --line-soft: rgba(244, 237, 225, 0.08);

  /* light sections */
  --ivory: #f5eee1;
  --paper: #fdf9f1;
  --ink: #221b12;
  --ink-soft: #5d5344;
  --line-ink: rgba(34, 27, 18, 0.12);

  /* gold */
  --gold: #feb900;
  --gold-deep: #d89c00;
  --gold-soft: rgba(254, 185, 0, 0.09);
  --thread: linear-gradient(90deg, #d89c00, #ffd257 45%, #d89c00);

  /* text on dark */
  --milk: #f2ead9;
  --milk-soft: rgba(242, 234, 217, 0.66);
  --milk-faint: rgba(242, 234, 217, 0.42);

  /* house of brands */
  --fort: #c8102e;
  --turath: #1b6570;
  --arido: #a97845;
  --khan: #a03a2e;
  --estate: #61758a;

  --font-display: 'El Messiri', 'IBM Plex Sans Arabic', serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1200px;
  --header-h: 76px;
  --ease-lux: cubic-bezier(0.22, 0.8, 0.24, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--coal);
  color: var(--milk);
  line-height: 1.8;
  font-size: 1.0625rem;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--coal); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.25; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

/* ---------- utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.eyebrow::before {
  content: ''; inline-size: 34px; block-size: 2px;
  background: var(--thread); border-radius: 2px;
}
.on-ivory .eyebrow { color: var(--gold-deep); }

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-head { max-width: 640px; margin-block-end: clamp(36px, 5vw, 60px); }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-block: 14px 12px; }
.section-head h2::after {
  content: ''; display: block; inline-size: 64px; block-size: 3px;
  background: var(--thread); border-radius: 3px; margin-block-start: 14px;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.9s var(--ease-lux) 0.25s;
}
[dir='rtl'] .section-head h2::after { transform-origin: 100% 50%; }
.section-head.is-in h2::after, .section-head h2.is-in::after { transform: scaleX(1); }
.reveal.is-in .section-head h2::after { transform: scaleX(1); }
.section-head p { color: var(--milk-soft); }
.on-ivory { background: var(--ivory); color: var(--ink); }
.on-ivory .section-head p { color: var(--ink-soft); }

/* woven-thread divider — the signature motif (kilim thread) */
.weave {
  display: block; inline-size: 100%; block-size: 22px; color: var(--gold);
  opacity: 0.55;
}
.weave.on-dark { color: var(--gold); opacity: 0.4; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-lux), transform 0.9s var(--ease-lux); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay='1'] { transition-delay: 0.12s; }
.reveal[data-delay='2'] { transition-delay: 0.24s; }
.reveal[data-delay='3'] { transition-delay: 0.36s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: transform 0.35s var(--ease-lux), box-shadow 0.35s var(--ease-lux), background 0.35s, color 0.35s;
  will-change: transform;
}
.btn-gold {
  background: linear-gradient(135deg, #ffd257, var(--gold) 45%, var(--gold-deep));
  color: #2a1e00; box-shadow: 0 10px 30px -12px rgba(254, 185, 0, 0.55);
  position: relative; overflow: hidden;
}
.btn-gold::after {
  /* shimmer sweep */
  content: ''; position: absolute; inset-block: 0; inline-size: 46%;
  inset-inline-start: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg);
  transition: inset-inline-start 0.7s var(--ease-lux);
}
.btn-gold:hover::after { inset-inline-start: 120%; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(254, 185, 0, 0.65); }
.btn-ghost { border: 1px solid var(--line-gold); color: var(--milk); background: rgba(254, 185, 0, 0.04); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.on-ivory .btn-ghost { border-color: rgba(34, 27, 18, 0.25); color: var(--ink); background: transparent; }
.on-ivory .btn-ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn .arr { transition: transform 0.3s var(--ease-lux); display: inline-block; }
.btn:hover .arr { transform: translateX(calc(var(--dir, 1) * -4px)); }
[dir='ltr'] .btn:hover .arr { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 60;
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.site-header.is-scrolled {
  background: rgba(22, 17, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-gold);
}
.header-in {
  display: flex; align-items: center; gap: 28px;
  block-size: var(--header-h);
}
.brand-logo img { block-size: 52px; inline-size: auto; }
.site-nav { display: flex; gap: clamp(14px, 2vw, 30px); margin-inline-start: auto; }
.site-nav a {
  font-size: 0.98rem; color: var(--milk-soft); font-weight: 500;
  padding-block: 6px; position: relative; transition: color 0.3s;
}
.site-nav a::after {
  content: ''; position: absolute; inset-inline: 0; inset-block-end: 0;
  block-size: 2px; background: var(--thread); border-radius: 2px;
  transform: scaleX(0); transition: transform 0.35s var(--ease-lux);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--milk); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  font-weight: 600; font-size: 0.9rem; color: var(--milk-soft);
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 7px 16px;
  transition: color 0.3s, border-color 0.3s;
}
.lang-switch:hover { color: var(--gold); border-color: var(--gold); }
.header-cta .btn { padding: 11px 22px; font-size: 0.92rem; }

/* mobile nav */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { display: block; inline-size: 24px; block-size: 2px; background: var(--milk); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }

.nav-cta { display: none; }
@media (max-width: 960px) {
  .site-nav {
    position: fixed; inset-block-start: var(--header-h); inset-inline: 0;
    flex-direction: column; gap: 0; padding: 12px 26px 26px;
    background: rgba(22, 17, 11, 0.97); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-block-start: 1px solid var(--line-gold);
    display: none; max-block-size: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding-block: 14px; font-size: 1.1rem; border-block-end: 1px solid var(--line-soft); }
  .nav-toggle { display: flex; margin-inline-start: auto; }
  .site-nav { margin-inline-start: 0; }
  .header-cta .btn-gold { display: none; }
  .site-nav a.nav-cta {
    display: block; margin-block-start: 16px; text-align: center;
    background: linear-gradient(135deg, #ffd257, var(--gold) 45%, var(--gold-deep));
    color: #2a1e00; font-weight: 700; border-radius: 999px; border-block-end: 0;
    padding-block: 13px;
  }
}

/* ---------- hero ---------- */
.hero {
  min-block-size: 100svh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-block: calc(var(--header-h) + 40px) 60px;
}
.hero::before {
  /* warm gold aura */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 44% at 18% 8%, rgba(254, 185, 0, 0.13), transparent 62%),
    radial-gradient(40% 36% at 88% 88%, rgba(200, 16, 46, 0.07), transparent 60%);
}
.hero-pattern {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23feb900' stroke-width='1'%3E%3Cpath d='M36 6 66 36 36 66 6 36Z'/%3E%3Cpath d='M36 20 52 36 36 52 20 36Z'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 70%);
}
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 80px); align-items: center; position: relative;
}
.hero-copy .eyebrow { margin-block-end: 20px; }
.hero-title {
  font-size: clamp(3rem, 8.4vw, 6rem);
  line-height: 1.12; letter-spacing: 0.005em;
  margin-block-end: 8px;
}
.hero-title .gold-word {
  color: var(--gold);
  background: linear-gradient(120deg, #ffd257, var(--gold) 55%, #e8a600);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-thread { inline-size: min(320px, 60%); margin-block: 10px 26px; }
.hero-thread path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: thread-in 2.2s 0.5s var(--ease-lux) forwards; }
@keyframes thread-in { to { stroke-dashoffset: 0; } }
.hero-lede { color: var(--milk-soft); max-width: 34rem; font-size: 1.12rem; margin-block-end: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* postcard deck of brand facades */
.deck { position: relative; block-size: clamp(420px, 46vw, 560px); }
.deck-card {
  position: absolute; inset-block-start: var(--y); left: var(--x);
  inline-size: clamp(200px, 22vw, 300px); aspect-ratio: 9 / 11;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(242, 234, 217, 0.07);
  transition: transform 0.6s var(--ease-lux), box-shadow 0.6s var(--ease-lux), z-index 0s 0.1s;
  transform: rotate(var(--tilt));
}
.deck-card img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 0.8s var(--ease-lux); }
.deck-card::after {
  content: attr(data-name);
  position: absolute; inset-inline: 0; inset-block-end: 0;
  padding: 34px 18px 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10, 8, 4, 0.85));
}
.deck-card::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(200deg, color-mix(in srgb, var(--tint) 34%, transparent), transparent 55%);
  mix-blend-mode: multiply; pointer-events: none;
}
.deck-card:hover { transform: rotate(0deg) translateY(-16px); z-index: 9; box-shadow: 0 44px 80px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line-gold); }
.deck-card:hover img { transform: scale(1.05); }

/* hero entrance */
.hero-copy > * { opacity: 0; transform: translateY(28px); animation: rise 1s var(--ease-lux) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.22s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.34s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.46s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.58s; }
.deck-card { opacity: 0; animation: deck-in 1.1s var(--ease-lux) forwards; }
.deck-card:nth-child(1) { animation-delay: 0.5s; }
.deck-card:nth-child(2) { animation-delay: 0.66s; }
.deck-card:nth-child(3) { animation-delay: 0.82s; }
.deck-card:nth-child(4) { animation-delay: 0.98s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes deck-in { from { opacity: 0; transform: rotate(var(--tilt)) translateY(60px); } to { opacity: 1; transform: rotate(var(--tilt)); } }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .deck { block-size: clamp(340px, 88vw, 460px); margin-inline: auto; inline-size: min(100%, 480px); }
}

/* ---------- province marquee ---------- */
.provinces {
  border-block: 1px solid var(--line-gold);
  padding-block: 18px; overflow: hidden; position: relative;
  background: var(--coal-2);
}
.marquee { display: flex; inline-size: max-content; animation: marquee 36s linear infinite; }
.provinces:hover .marquee { animation-play-state: paused; }
.marquee-track { display: flex; align-items: center; gap: 44px; padding-inline-end: 44px; }
.marquee-track span { font-family: var(--font-display); font-size: 1.25rem; color: var(--milk-faint); white-space: nowrap; }
.marquee-track .dia { color: var(--gold); font-size: 0.8rem; opacity: 0.8; }
@keyframes marquee { to { transform: translateX(calc(var(--dir, 1) * 50%)); } }
[dir='ltr'] .marquee { --dir: -1; }

/* ---------- numbers band ---------- */
.numbers { background: var(--coal); }
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-soft); border-block: 1px solid var(--line-soft);
}
.num-cell { background: var(--coal); padding: clamp(30px, 4vw, 52px) 20px; text-align: center; }
.num-cell b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem); color: var(--gold); line-height: 1.1;
}
.num-cell span { color: var(--milk-soft); font-size: 0.98rem; }
@media (max-width: 720px) { .numbers-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- house of brands (bento) ---------- */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
}
.tile {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper); box-shadow: 0 18px 44px -22px rgba(34, 27, 18, 0.35);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.5s var(--ease-lux), box-shadow 0.5s var(--ease-lux);
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(34, 27, 18, 0.5); }
.tile-media { position: absolute; inset: 0; }
.tile-media img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--ease-lux); }
.tile:hover .tile-media img { transform: scale(1.06); }
.tile::after {
  /* glass shine sweep */
  content: ''; position: absolute; inset-block: -20%; inline-size: 34%;
  inset-inline-start: -50%; z-index: 2; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-16deg);
  transition: inset-inline-start 0.9s var(--ease-lux);
}
.tile:hover::after { inset-inline-start: 130%; }
.tile-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(12, 9, 5, 0.88)),
    linear-gradient(160deg, color-mix(in srgb, var(--tint) 30%, transparent), transparent 50%);
}
.tile-body { position: relative; z-index: 1; padding: 24px; color: #fff; }
.tile-kicker { font-size: 0.8rem; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.72); display: block; margin-block-end: 4px; }
.tile-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-block-end: 6px; }
.tile-body p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); max-width: 30rem; line-height: 1.65; }
.tile-meta { display: flex; align-items: center; gap: 10px; margin-block-start: 14px; flex-wrap: wrap; }
.chip {
  font-size: 0.8rem; font-weight: 600; padding: 5px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22); color: #fff;
}
.chip-gold { background: var(--gold); border-color: var(--gold); color: #2a1e00; }
.tile-link-hint { margin-inline-start: auto; font-size: 1.1rem; opacity: 0; transform: translateX(calc(var(--dir, 1) * 8px)); transition: 0.4s var(--ease-lux); }
.tile:hover .tile-link-hint { opacity: 1; transform: none; }

.t-fort   { grid-column: span 4; grid-row: span 3; --tint: var(--fort); }
.t-turath { grid-column: span 2; grid-row: span 3; --tint: var(--turath); }
.t-arido  { grid-column: span 2; grid-row: span 3; --tint: #6b4a26; }
.t-khan   { grid-column: span 2; grid-row: span 3; --tint: var(--khan); }
.t-estate { grid-column: span 2; grid-row: span 3; --tint: var(--estate); }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .t-fort, .t-turath, .t-arido, .t-khan, .t-estate { grid-column: span 2; grid-row: span 3; }
}

/* ---------- founder ---------- */
.founder { background: var(--coal-2); overflow: hidden; }
.founder-in { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.founder-portrait { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.founder-portrait img { inline-size: 100%; aspect-ratio: 4/4.6; object-fit: cover; }
.founder-portrait::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--line-gold);
  border-radius: var(--radius-lg);
  background: linear-gradient(200deg, rgba(254, 185, 0, 0.12), transparent 40%);
}
.founder-card {
  position: absolute; inset-inline-start: 18px; inset-block-end: 18px;
  background: rgba(22, 17, 11, 0.85); backdrop-filter: blur(10px);
  border: 1px solid var(--line-gold); border-radius: 14px; padding: 12px 20px;
}
.founder-card b { display: block; font-family: var(--font-display); color: var(--milk); }
.founder-card span { font-size: 0.85rem; color: var(--gold); }
.founder-quote {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.6; color: var(--milk);
  margin-block: 18px 26px; position: relative; padding-inline-start: 26px;
}
.founder-quote::before {
  content: ''; position: absolute; inset-inline-start: 0; inset-block: 8px;
  inline-size: 3px; border-radius: 3px; background: var(--thread);
}
.founder-text { color: var(--milk-soft); max-width: 44rem; margin-block-end: 30px; }

/* ---------- franchise ---------- */
.franchise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.franchise-card {
  background: var(--paper); border: 1px solid var(--line-ink); border-radius: var(--radius);
  padding: 26px 24px; transition: transform 0.45s var(--ease-lux), box-shadow 0.45s var(--ease-lux), border-color 0.3s;
}
.franchise-card:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -26px rgba(34, 27, 18, 0.4); border-color: rgba(216, 156, 0, 0.5); }
.franchise-card .glyph {
  inline-size: 40px; block-size: 40px; display: grid; place-items: center;
  border-radius: 12px; background: var(--gold-soft); color: var(--gold-deep);
  margin-block-end: 16px;
}
.franchise-card h3 { font-size: 1.15rem; margin-block-end: 8px; color: var(--ink); }
.franchise-card p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 960px) { .franchise-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .franchise-grid { grid-template-columns: 1fr; } }

.franchise-cta {
  margin-block-start: 44px; border-radius: var(--radius-lg);
  background: var(--coal); color: var(--milk);
  padding: clamp(34px, 5vw, 56px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.franchise-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 12% 0%, rgba(254, 185, 0, 0.16), transparent 60%);
}
.franchise-cta h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-block-end: 8px; position: relative; }
.franchise-cta p { color: var(--milk-soft); position: relative; max-width: 34rem; }
.on-ivory .franchise-cta .btn-ghost { border-color: var(--line-gold); color: var(--milk); background: rgba(254, 185, 0, 0.04); }
.on-ivory .franchise-cta .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- contact strip / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact-list { display: grid; gap: 14px; margin-block-start: 26px; }
.contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 18px 20px; background: var(--coal-2);
  transition: border-color 0.3s;
}
.contact-item:hover { border-color: var(--line-gold); }
.contact-item .glyph { color: var(--gold); font-size: 1.3rem; margin-block-start: 3px; }
.contact-item b { display: block; font-family: var(--font-display); margin-block-end: 2px; }
.contact-item span, .contact-item a { color: var(--milk-soft); font-size: 0.97rem; }
.contact-item a:hover { color: var(--gold); }
.on-ivory .contact-item { background: var(--paper); border-color: var(--line-ink); }
.on-ivory .contact-item:hover { border-color: rgba(216, 156, 0, 0.5); }
.on-ivory .contact-item .glyph { color: var(--gold-deep); }
.on-ivory .contact-item b { color: var(--ink); }
.on-ivory .contact-item span, .on-ivory .contact-item a { color: var(--ink-soft); }
.on-ivory .contact-item a:hover { color: var(--gold-deep); }

.form-card {
  background: var(--coal-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--milk-soft); margin-block-end: 6px; }
.field input, .field textarea {
  inline-size: 100%; background: var(--coal); color: var(--milk);
  border: 1px solid var(--line-soft); border-radius: 12px;
  padding: 13px 16px; font: inherit; font-size: 0.98rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(254, 185, 0, 0.15); }
.field textarea { min-block-size: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--milk-faint); margin-block-start: 12px; }
.form-status { margin-block-start: 14px; font-size: 0.95rem; display: none; }
.form-status.ok { display: block; color: #7ddf9a; }
.form-status.err { display: block; color: #ff8f8f; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; } }

/* ---------- inner page hero ---------- */
.page-hero {
  padding-block: calc(var(--header-h) + clamp(60px, 9vw, 110px)) clamp(48px, 7vw, 84px);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 15% 0%, rgba(254, 185, 0, 0.12), transparent 60%);
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-block: 14px 10px; position: relative; }
.page-hero .hero-lede { margin-block-end: 0; }
.crumbs { display: flex; gap: 10px; font-size: 0.88rem; color: var(--milk-faint); position: relative; margin-block-start: 22px; }
.crumbs a:hover { color: var(--gold); }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-card { background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-ink); transition: transform 0.45s var(--ease-lux), box-shadow 0.45s var(--ease-lux); }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(34, 27, 18, 0.45); }
.team-card img { inline-size: 100%; aspect-ratio: 1; object-fit: cover; }
.team-body { padding: 20px 22px 24px; color: var(--ink); }
.team-body h3 { font-size: 1.15rem; }
.team-body .role { color: var(--gold-deep); font-size: 0.88rem; font-weight: 600; display: block; margin-block: 2px 8px; }
.team-body p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.65; }
.team-social { display: flex; gap: 12px; margin-block-start: 12px; }
.team-social a { color: var(--ink-soft); transition: color 0.3s; font-size: 1.05rem; }
.team-social a:hover { color: var(--gold-deep); }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- feast marquee (dish plates) ---------- */
.plates {
  background: var(--coal-2); border-block: 1px solid var(--line-gold);
  padding-block: clamp(30px, 4vw, 46px); overflow: hidden; position: relative;
}
.plates::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23feb900' stroke-width='1'%3E%3Cpath d='M36 6 66 36 36 66 6 36Z'/%3E%3Cpath d='M36 20 52 36 36 52 20 36Z'/%3E%3C/g%3E%3C/svg%3E");
}
.plates-head { text-align: center; margin-block-end: 26px; position: relative; }
.plates-head .eyebrow::before { display: none; }
.plates-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--milk); margin-block-start: 6px; }
.plates .marquee { animation-duration: 46s; }
.plate {
  inline-size: clamp(120px, 15vw, 180px); aspect-ratio: 1; border-radius: 50%;
  overflow: hidden; flex: none; position: relative;
  box-shadow: 0 0 0 3px var(--coal-2), 0 0 0 4px rgba(254, 185, 0, 0.55), 0 22px 40px -18px rgba(0, 0, 0, 0.8);
  transition: transform 0.5s var(--ease-lux);
}
.plate img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.plate:hover { transform: translateY(-8px) rotate(3deg); }
.plate figcaption {
  position: absolute; inset-inline: 0; inset-block-end: 0;
  padding: 26px 10px 10px; text-align: center;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(15, 10, 4, 0.82));
  opacity: 0; transition: opacity 0.4s;
}
.plate:hover figcaption { opacity: 1; }
.plates .marquee-track { gap: clamp(18px, 2.5vw, 34px); padding-inline-end: clamp(18px, 2.5vw, 34px); align-items: center; }

/* dish gallery (brand pages) */
.dish-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px; }
.dish-gallery .plate { inline-size: 100%; box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px rgba(216, 156, 0, 0.5), 0 20px 36px -20px rgba(34, 27, 18, 0.5); }
.dish-gallery .plate figcaption { opacity: 1; font-size: 0.85rem; }

/* ---------- photo band (full-bleed) ---------- */
.photo-band { position: relative; overflow: hidden; }
.photo-band img { inline-size: 100%; block-size: clamp(300px, 44vw, 520px); object-fit: cover; display: block; }
.photo-band .band-caption {
  position: absolute; inset-inline-start: 0; inset-block-end: 0; inset-inline-end: 0;
  padding: clamp(20px, 4vw, 44px);
  background: linear-gradient(180deg, transparent, rgba(16, 12, 7, 0.82));
  color: var(--milk);
}
.photo-band .band-caption b { font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.8rem); display: block; }
.photo-band .band-caption span { color: var(--milk-soft); font-size: 0.95rem; }

/* ---------- video block ---------- */
.video-block { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.6); }
.video-block video { inline-size: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; background: #000; }

/* ---------- feature rows (sectors / brand pages) ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px);
  align-items: center; padding-block: clamp(30px, 4vw, 50px);
}
.feature-row + .feature-row { border-block-start: 1px solid var(--line-ink); }
.section:not(.on-ivory) .feature-row + .feature-row { border-block-start-color: var(--line-soft); }
.feature-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.reveal .feature-media img, .feature-media.reveal img { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
.reveal:not(.is-in) .feature-media img { clip-path: inset(8% 8% 8% 8% round var(--radius-lg)); }
.feature-media img { transition: transform 0.9s var(--ease-lux), clip-path 1.1s var(--ease-lux); }
.feature-media img { inline-size: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top center; transition: transform 0.9s var(--ease-lux); }
.feature-row:hover .feature-media img { transform: scale(1.04); }
.feature-media::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(34, 27, 18, 0.08);
  background: linear-gradient(200deg, color-mix(in srgb, var(--tint, transparent) 18%, transparent), transparent 55%);
}
.feature-copy h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-block: 10px 12px; }
.feature-copy p { color: var(--ink-soft); max-width: 34rem; }
.section:not(.on-ivory) .feature-copy p { color: var(--milk-soft); }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin-block-start: 18px; }
.chip-link {
  font-size: 0.86rem; font-weight: 600; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line-ink); color: var(--ink); background: var(--paper);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.chip-link:hover { background: var(--gold); border-color: var(--gold); color: #2a1e00; transform: translateY(-2px); }
.section:not(.on-ivory) .chip-link { border-color: var(--line-soft); color: var(--milk); background: transparent; }
.section:not(.on-ivory) .chip-link:hover { background: var(--gold); border-color: var(--gold); color: #2a1e00; }
/* chips inside light cards keep ink text regardless of section ground */
.section .franchise-card .chip-link { border-color: rgba(34, 27, 18, 0.22); color: var(--ink); background: var(--ivory); }
.section .franchise-card .chip-link:hover { background: var(--gold); border-color: var(--gold); color: #2a1e00; }
@media (max-width: 820px) { .feature-row { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-card {
  background: var(--coal-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 38px);
}
.quote-card .mark { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gold); display: block; margin-block-end: 8px; }
.quote-card p { color: var(--milk-soft); font-size: 1.05rem; }
.quote-card footer { margin-block-start: 18px; }
.quote-card footer b { font-family: var(--font-display); display: block; }
.quote-card footer span { font-size: 0.88rem; color: var(--gold); }
@media (max-width: 700px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card {
  background: var(--paper); border: 1px solid var(--line-ink); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease-lux), box-shadow 0.45s var(--ease-lux);
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -26px rgba(34, 27, 18, 0.45); }
.post-card .cover { aspect-ratio: 16/10; overflow: hidden; background: var(--ivory); }
.post-card .cover img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform 0.8s var(--ease-lux); }
.post-card:hover .cover img { transform: scale(1.05); }
.post-body { padding: 20px 22px 24px; color: var(--ink); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body time { font-size: 0.82rem; color: var(--gold-deep); font-weight: 600; }
.post-body h3 { font-size: 1.2rem; line-height: 1.45; }
.post-body p { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.7; }
.post-body .more { margin-block-start: auto; padding-block-start: 10px; font-weight: 600; font-size: 0.9rem; color: var(--gold-deep); }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin-block-end: 34px; }
.tag-row .chip-link.is-on { background: var(--gold); border-color: var(--gold); color: #2a1e00; }

/* article page */
.article-hero { border-radius: var(--radius-lg); overflow: hidden; margin-block-end: 34px; }
.article-hero img { inline-size: 100%; max-block-size: 480px; object-fit: cover; }
.article-body { max-width: 760px; color: var(--ink); font-size: 1.05rem; }
.article-body h2, .article-body h3 { margin-block: 28px 12px; }
.article-body p { margin-block-end: 16px; line-height: 1.9; color: #3a3227; }
.article-body img { border-radius: var(--radius); margin-block: 18px; }
.article-body a { color: var(--gold-deep); text-decoration: underline; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-inline-start: 22px; list-style: disc; }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-block: 14px 26px; color: var(--ink-soft); font-size: 0.9rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-block-start: 34px; }
.gallery-grid img { inline-size: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- khan catalog ---------- */
.khan-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.khan-search {
  flex: 1 1 260px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-ink); border-radius: 999px; padding: 13px 22px; font: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.khan-search:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(216, 156, 0, 0.18); }
.khan-sort {
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-ink);
  border-radius: 999px; padding: 12px 20px; font: inherit;
}
.khan-count { color: var(--ink-soft); font-size: 0.92rem; margin-inline-start: auto; }
.pager { display: flex; gap: 12px; justify-content: center; margin-block-start: 40px; }

/* ---------- legal pages ---------- */
.legal-body { max-width: 800px; color: var(--ink); }
.legal-body h2 { font-size: 1.4rem; margin-block: 30px 10px; }
.legal-body p, .legal-body li { color: #3a3227; line-height: 1.9; margin-block-end: 12px; }
.legal-body ul { padding-inline-start: 22px; list-style: disc; }

/* ---------- footer ---------- */
.site-footer { background: #100c07; border-block-start: 1px solid var(--line-gold); position: relative; }
.footer-in { padding-block: clamp(56px, 8vw, 90px) 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: clamp(28px, 4vw, 54px); }
.footer-brand img { block-size: 64px; margin-block-end: 18px; }
.footer-brand p { color: var(--milk-soft); font-size: 0.95rem; max-width: 22rem; }
.footer-contact { display: grid; gap: 8px; margin-block-start: 18px; font-size: 0.95rem; color: var(--milk-soft); }
.footer-contact a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 12px; margin-block-start: 18px; }
.footer-social a {
  inline-size: 40px; block-size: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-soft); border-radius: 50%; color: var(--milk-soft);
  transition: color 0.3s, border-color 0.3s, transform 0.3s;
}
.footer-social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer-col h4 { color: var(--gold); font-size: 1.05rem; margin-block-end: 16px; }
.branch-row { display: flex; align-items: center; gap: 8px; padding-block: 7px; border-block-end: 1px dashed var(--line-soft); font-size: 0.93rem; color: var(--milk-soft); }
.branch-row:last-child { border-block-end: 0; }
.branch-row .socials { margin-inline-start: auto; display: flex; gap: 10px; }
.branch-row .socials a { color: var(--milk-faint); font-size: 0.95rem; transition: color 0.3s; }
.branch-row .socials a:hover { color: var(--gold); }
.footer-legal {
  margin-block-start: 46px; padding-block: 22px; border-block-start: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 0.88rem; color: var(--milk-faint);
}
.footer-legal a { color: var(--milk-soft); margin-inline-start: 18px; }
.footer-legal a:hover { color: var(--gold); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  .reveal, .hero-copy > *, .deck-card { opacity: 1 !important; transform: none !important; }
  .marquee { animation: none; }
}

/* ---------- responsive overrides (must stay last in file) ---------- */
@media (max-width: 960px) {
  .hero { min-block-size: auto; padding-block-end: 48px; }
  .hero-title { font-size: clamp(2.6rem, 12vw, 4rem); }
  .page-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .crumbs { flex-wrap: wrap; }
  .founder-in { grid-template-columns: 1fr; }
  .founder-portrait { max-inline-size: 420px; margin-inline: auto; inline-size: 100%; }
  .franchise-cta { padding: 28px 22px; }
  .num-cell b { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .founder-card { inset-inline-start: 12px; inset-block-end: 12px; padding: 8px 14px; max-inline-size: calc(100% - 24px); }
  .founder-card b { font-size: 0.95rem; }
  .founder-card span { font-size: 0.78rem; }
  .article-hero img { max-block-size: 300px; }
}
