/* Chef Mahmoud Haghighi — one page, bilingual (fa / en)
   Palette lifted from the studio portrait: black backdrop, teal table, gold watch, saffron / paprika / herb bowls. */
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Vazirmatn"; src: url("../fonts/vazirmatn-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+2010-2027; }
@font-face { font-family: "Estedad"; src: url("../fonts/estedad-arabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-latin-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Aghasem"; src: url("../fonts/aghasem.ttf") format("truetype"); font-display: swap; }

:root {
  --bg: #080a0b; --bg-2: #0e1315; --line: #1f2a2c;
  --teal: #12474c; --teal-hi: #3aa39c;
  --gold: #c9a45c; --gold-hi: #e6c98a; --saffron: #e3a72f; --paprika: #c8472d; --herb: #7d8f4e;
  --ivory: #f4efe4; --mist: #a9b0ae; --fog: #6f7876;
  --display: "Cormorant", "Estedad", Georgia, serif;
  --body: "Vazirmatn", system-ui, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --pad: clamp(20px, 5vw, 72px);
  color-scheme: dark;
}
html[lang="fa"] { --display: "Estedad", "Vazirmatn", serif; }
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ivory); font-family: var(--body); font-size: 17px; line-height: 1.85; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--bg); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; }
html[lang="fa"] h1, html[lang="fa"] h2, html[lang="fa"] h3 { font-weight: 800; line-height: 1.35; }
p { margin: 0; }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }
.eyebrow { font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
html[lang="fa"] .eyebrow { letter-spacing: .04em; font-size: 14px; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* film grain */
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- top bar ---------- */
.top { position: fixed; inset-inline: 0; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 16px var(--pad); transition: background-color .3s ease, backdrop-filter .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.top.stuck { background: rgb(8 10 11 / .78); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.mono { font-family: "Cormorant", serif; font-size: 22px; font-weight: 600; letter-spacing: .04em; display: inline-flex; align-items: baseline; gap: 8px; }
.mono i { font-style: italic; color: var(--saffron); font-weight: 500; }
.top nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 26px); font-size: 14px; color: var(--mist); }
.top nav a { transition: color .2s ease; }
.top nav a:hover { color: var(--ivory); }
.top nav .sec { display: none; }
@media (min-width: 860px) { .top nav .sec { display: inline; } }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ivory); font-weight: 600; min-height: 36px; display: inline-flex; align-items: center; }
.lang:hover { border-color: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transform-origin: 50% 30%; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(8 10 11 / .55) 0%, transparent 22%, transparent 45%, rgb(8 10 11 / .82) 78%, var(--bg) 100%); }
@media (min-width: 900px) {
  .hero-media { inset-inline-start: 38%; }
  .hero::before { background: linear-gradient(to var(--fade-side, right), var(--bg) 36%, rgb(8 10 11 / .65) 52%, transparent 74%), linear-gradient(180deg, rgb(8 10 11 / .5), transparent 25%, transparent 70%, var(--bg)); }
  html[dir="ltr"] .hero { --fade-side: right; }
  html[dir="rtl"] .hero { --fade-side: left; }
}
#spice { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-copy { width: 100%; padding-block: 96px clamp(28px, 6vh, 64px); }
.hero h1 { font-size: clamp(54px, min(10vw, 15vh), 132px); letter-spacing: -.01em; margin-top: 10px; }
html[lang="fa"] .hero h1 { font-size: clamp(48px, min(9vw, 13vh), 112px); letter-spacing: 0; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
html[lang="fa"] .hero h1 em { font-style: normal; font-weight: 800; }
.line { display: block; overflow: hidden; padding-block: .04em; }
.line > span { display: block; }
.hero .lead { max-width: 30ch; font-size: clamp(17px, 2vw, 22px); color: var(--mist); margin-top: 14px; }
.sig { height: clamp(52px, 9vh, 84px); width: auto; margin-top: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: 14px; color: var(--mist); }
.hero-meta b { font-family: var(--display); font-size: 26px; color: var(--ivory); font-weight: 600; margin-inline-end: 6px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .18s var(--ease), background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-line { border: 1px solid rgb(244 239 228 / .28); color: var(--ivory); }
@media (hover: hover) and (pointer: fine) { .btn-gold:hover { background: var(--gold-hi); } .btn-line:hover { border-color: var(--gold); color: var(--gold); } }
.scroll-cue { position: absolute; bottom: 18px; inset-inline-end: var(--pad); width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); transform-origin: top; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(30px); opacity: 0; } }

@media (max-width: 899px) {
  .hero-media { inset: 0 0 30% 0; }
  .hero-media img { object-position: 50% 0; }
  .hero::before { background: linear-gradient(180deg, rgb(8 10 11 / .5) 0%, transparent 18%, transparent 40%, rgb(8 10 11 / .9) 62%, var(--bg) 72%); }
  .hero-copy { padding-top: 0; }
  .sig { display: none; }
  .hero-meta { margin-top: 14px; }
  .cta-row { margin-top: 16px; }
  .tenet { min-height: 0; }
  .tenet h3 { margin-top: 18px; }
}

/* ---------- marquee ---------- */
.band { border-block: 1px solid var(--line); overflow: hidden; padding-block: 18px; direction: ltr; }
.band-track { display: flex; gap: 48px; width: max-content; animation: slide 38s linear infinite; font-family: "Cormorant", "Estedad", serif; font-size: clamp(28px, 4.4vw, 54px); font-style: italic; color: transparent; -webkit-text-stroke: 1px rgb(201 164 92 / .55); white-space: nowrap; }
html[lang="fa"] .band-track { font-style: normal; font-weight: 800; }
.band-track span::after { content: "✦"; margin-inline-start: 48px; -webkit-text-stroke: 0; color: var(--saffron); font-size: .5em; vertical-align: middle; font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- statement ---------- */
.section { padding-block: clamp(72px, 12vh, 150px); }
.statement { font-family: var(--display); font-size: clamp(27px, 4.3vw, 58px); line-height: 1.28; max-width: 22ch; max-width: min(100%, 1000px); margin-top: 22px; font-weight: 500; }
html[lang="fa"] .statement { font-size: clamp(24px, 3.6vw, 46px); line-height: 1.75; font-weight: 700; }
.statement .w { color: var(--ivory); transition: opacity .2s linear; }
.js-on .statement .w { opacity: .22; }
.statement .w.on { opacity: 1; }

/* ---------- principles ---------- */
.grid-4 { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.tenet { background: var(--bg); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; min-height: 250px; transition: background-color .3s ease; }
.tenet svg { color: var(--gold); }
.tenet h3 { font-size: clamp(25px, 2.6vw, 34px); margin-top: auto; }
html[lang="fa"] .tenet h3 { font-size: clamp(21px, 2.1vw, 27px); }
.tenet p { font-size: 15px; color: var(--mist); line-height: 1.8; }
@media (hover: hover) and (pointer: fine) { .tenet:hover { background: var(--bg-2); } }

/* ---------- portrait split ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 6fr; } }
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; max-width: 520px; }
.portrait img { width: 100%; height: 112%; object-fit: cover; object-position: top; will-change: transform; }
.portrait::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgb(201 164 92 / .5); pointer-events: none; }
.split h2 { font-size: clamp(36px, 5vw, 68px); margin-top: 14px; }
html[lang="fa"] .split h2 { font-size: clamp(30px, 4vw, 52px); }
.split p + p { margin-top: 16px; }
.split .body { color: var(--mist); margin-top: 22px; max-width: 58ch; }
.thumbs { display: flex; gap: 12px; margin-top: 28px; }
.thumbs img { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; filter: saturate(.9); }

/* ---------- dishes (horizontal) ---------- */
.dishes { overflow: hidden; }
.dishes-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.dishes h2 { font-size: clamp(36px, 5vw, 68px); margin-top: 14px; }
html[lang="fa"] .dishes h2 { font-size: clamp(30px, 4vw, 52px); }
.rail { display: flex; gap: clamp(14px, 2vw, 28px); margin-top: 36px; padding-inline: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.js-pin .rail { overflow: visible; scroll-snap-type: none; width: max-content; }
.dish { flex: none; width: min(78vw, 440px); scroll-snap-align: center; }
.dish figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--bg-2); }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover) and (pointer: fine) { .dish:hover img { transform: scale(1.05); } }
.dish h3 { font-size: clamp(26px, 2.6vw, 36px); margin-top: 16px; }
html[lang="fa"] .dish h3 { font-size: clamp(21px, 2vw, 27px); }
.dish p { font-size: 14.5px; color: var(--mist); margin-top: 4px; }
.dish .tag { display: inline-block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); margin-top: 14px; }
html[lang="fa"] .dish .tag { letter-spacing: 0; font-size: 13px; }

/* ---------- restaurants ---------- */
.places { background: linear-gradient(180deg, var(--bg), #0b2427 55%, var(--bg)); }
.places h2 { font-size: clamp(36px, 5vw, 68px); margin-top: 14px; }
html[lang="fa"] .places h2 { font-size: clamp(30px, 4vw, 52px); }
.places .ag { font-family: "Aghasem", "Estedad", serif; font-weight: 400; color: var(--gold); }
.place-list { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid rgb(244 239 228 / .14); }
.place-list li { display: grid; grid-template-columns: 1fr; gap: 2px 24px; padding: 20px 0; border-bottom: 1px solid rgb(244 239 228 / .14); }
@media (min-width: 760px) { .place-list li { grid-template-columns: 160px 1fr auto; align-items: baseline; } }
.place-list .city { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-hi); }
html[lang="fa"] .place-list .city { letter-spacing: 0; font-size: 14px; }
.place-list .name { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); }
html[lang="fa"] .place-list .name { font-size: clamp(20px, 2vw, 26px); font-weight: 700; }
.place-list .note { font-size: 14px; color: var(--mist); }

/* ---------- voice ---------- */
.voice { text-align: center; }
.voice .ring { position: relative; width: 92px; height: 92px; margin: 0 auto 26px; display: grid; place-items: center; color: var(--bg); background: var(--gold); border-radius: 50%; }
.voice .ring::before, .voice .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold); animation: ring 3.2s ease-out infinite; }
.voice .ring::after { animation-delay: 1.6s; }
@keyframes ring { from { transform: scale(1); opacity: .6; } to { transform: scale(2.1); opacity: 0; } }
.voice h2 { font-size: clamp(38px, 6.4vw, 92px); max-width: 16ch; margin-inline: auto; }
html[lang="fa"] .voice h2 { font-size: clamp(32px, 5vw, 68px); }
.voice p { color: var(--mist); max-width: 52ch; margin: 18px auto 0; }
.voice .cta-row { justify-content: center; margin-top: 28px; }

/* ---------- contact / footer ---------- */
.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 36px; }
.contact-grid a { background: var(--bg); padding: 26px; display: flex; flex-direction: column; gap: 6px; transition: background-color .25s ease; }
.contact-grid small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--fog); }
html[lang="fa"] .contact-grid small { letter-spacing: 0; font-size: 13px; }
.contact-grid b { font-family: var(--display); font-size: 24px; font-weight: 600; }
html[lang="fa"] .contact-grid b { font-family: var(--body); font-size: 19px; }
@media (hover: hover) and (pointer: fine) { .contact-grid a:hover { background: var(--bg-2); } .contact-grid a:hover b { color: var(--gold); } }
.contact h2 { font-size: clamp(36px, 5vw, 68px); margin-top: 14px; }
html[lang="fa"] .contact h2 { font-size: clamp(30px, 4vw, 52px); }
footer { padding: 34px var(--pad) 44px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: var(--fog); }

/* ---------- motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-on .statement .w { opacity: 1; }
}
