/* ==========================================================
   Motaharehalsadat Hatami — Pastry & Bakery Chef
   Design & development: SPSDEVNIC.NET
   ========================================================== */

:root {
  --black: #0a0907;
  --ink: #12100c;
  --ink-2: #1a1712;
  --line: rgba(201, 164, 92, .22);
  --line-soft: rgba(201, 164, 92, .12);
  --gold: #c9a45c;
  --gold-hi: #f3dd9c;
  --gold-lo: #8a6a32;
  --cream: #f3ead8;
  --muted: #a99d87;
  --gold-grad: linear-gradient(110deg, #9c7638 0%, #f3dd9c 28%, #c9a45c 48%, #fff1c4 64%, #b08a46 82%, #f3dd9c 100%);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--black); }

/* Persian */
html[lang="fa"] body,
html[lang="fa"] .h2,
html[lang="fa"] .hero__title,
html[lang="fa"] .card__title,
html[lang="fa"] .quote p,
html[lang="fa"] .form__head h3,
html[lang="fa"] .step h4,
html[lang="fa"] .ccard__value,
html[lang="fa"] .brand__name,
html[lang="fa"] .marquee span,
html[lang="fa"] .about__stamp-num,
html[lang="fa"] .ring__num,
html[lang="fa"] .stat__num { font-family: "Vazirmatn", var(--sans); }
html[lang="fa"] body { line-height: 1.95; }
html[lang="fa"] .hero__title { font-weight: 800; line-height: 1.25; letter-spacing: 0; }
html[lang="fa"] .h2 { font-weight: 700; line-height: 1.45; letter-spacing: 0; }
html[lang="fa"] .h2 em, html[lang="fa"] .quote p,
html[lang="fa"] .hero__title .gold-text, html[lang="fa"] .marquee span { font-style: normal; }
html[lang="fa"] .hero__title .gold-text { font-size: 1em; }
html[lang="fa"] .eyebrow, html[lang="fa"] .kicker, html[lang="fa"] .brand__role,
html[lang="fa"] .nav a, html[lang="fa"] .btn, html[lang="fa"] .tags li,
html[lang="fa"] .ccard__go, html[lang="fa"] .scroll-cue, html[lang="fa"] .card__no { letter-spacing: 0; text-transform: none; }
html[lang="fa"] .btn__arrow, html[lang="fa"] .ccard__go::after { transform: scaleX(-1); }
html[lang="fa"] .marquee span { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 300; }

.stat__num, .about__stamp-num, .ring__num, .card__no, .step__no { font-variant-numeric: lining-nums; }

.container { width: 100%; max-width: 1260px; margin-inline: auto; padding-inline: var(--gutter); }

.gold-text {
  background: var(--gold-grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* grain */
.grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* progress */
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 80; }
.progress span { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
html[dir="rtl"] .progress span { transform-origin: right; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--black);
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader__inner { display: grid; justify-items: center; gap: 26px; }
.preloader__mark { width: 110px; height: 110px; }
.preloader__mark circle { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 352; stroke-dashoffset: 352; animation: draw 1.6s var(--ease-io) forwards; }
.preloader__mark text { font-family: var(--serif); font-size: 36px; fill: var(--gold-hi); opacity: 0; animation: fadeIn .8s .5s forwards; letter-spacing: 2px; }
.preloader__bar { width: 140px; height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--gold); transform: translateX(-100%); animation: bar 1.4s var(--ease-io) infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes bar { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
body.is-ready .preloader { opacity: 0; visibility: hidden; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 16px 28px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), transform .3s var(--ease);
}
.btn--sm { --pad: 11px 20px; font-size: .72rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold-grad); background-size: 200% 100%; color: var(--black); box-shadow: 0 10px 30px -12px rgba(201, 164, 92, .6); animation: shimmer 6s linear infinite; }
.btn--gold::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--black); transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit; }
.btn--gold:hover { color: var(--gold-hi); border-color: var(--gold); }
.btn--gold:hover::before { transform: translateY(0); }
.btn--ghost { border-color: var(--line); color: var(--cream); background: rgba(255, 255, 255, .02); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); box-shadow: 0 0 0 4px rgba(201, 164, 92, .08); }
.btn__arrow, .btn__icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .btn__arrow { transform: scaleX(-1) translateX(4px); }
.btn[disabled] { opacity: .65; pointer-events: none; }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; inset-inline: 0; z-index: 50; transition: background .5s var(--ease), border-color .5s, padding .5s var(--ease); border-bottom: 1px solid transparent; padding-block: 22px; }
.header.is-scrolled { background: rgba(10, 9, 7, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line-soft); padding-block: 12px; }
.header.menu-open { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none;
  border: 1px solid var(--gold); font-family: var(--serif); font-size: 1.05rem; color: var(--gold-hi); letter-spacing: 1px;
  background: radial-gradient(circle at 30% 25%, rgba(243, 221, 156, .18), transparent 60%);
}
.brand__text { display: grid; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.brand__role { font-size: .64rem; text-transform: uppercase; letter-spacing: .28em; color: var(--gold); }
.nav { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav a { position: relative; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .3s; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .45s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--cream); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header__tools { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(0, 0, 0, .3); }
.lang button { border: 0; background: none; cursor: pointer; padding: 5px 10px; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); transition: background .35s var(--ease), color .35s; }
.lang button[lang="fa"] { font-family: "Vazirmatn", sans-serif; font-size: .78rem; padding-block: 3px; }
.lang button:hover { color: var(--cream); }
.lang button.is-active { background: var(--gold); color: var(--black); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; inset-inline: 13px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Typography helpers ---------- */
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.eyebrow__line { width: 42px; height: 1px; background: var(--gold); display: inline-block; flex: none; }
.h2 { margin: 0 0 24px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -.01em; }
.h2--xl { font-size: clamp(2.4rem, 6vw, 5.4rem); }
.h2 em { font-style: italic; background: var(--gold-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; padding-inline-end: .06em; }
.body { margin: 0 0 18px; color: var(--muted); font-size: 1.02rem; max-width: 60ch; }
.body--center { margin-inline: auto; text-align: center; }

.section { position: relative; padding-block: clamp(90px, 13vw, 170px); }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .kicker { justify-content: center; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 130px; padding-bottom: 90px; overflow: hidden; }
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero__glow { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 55% at 72% 45%, rgba(201, 164, 92, .18), transparent 70%),
    radial-gradient(30% 40% at 12% 85%, rgba(201, 164, 92, .08), transparent 70%); }
html[dir="rtl"] .hero__glow { transform: scaleX(-1); }
.hero__bgword {
  position: absolute; bottom: 4%; inset-inline-start: -2%; z-index: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 19vw, 20rem); line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 92, .12);
}
.hero__grid > *, .about__grid > *, .classes__grid > * { min-width: 0; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(30px, 5vw, 80px); }
.hero__title { margin: 0 0 28px; font-family: var(--serif); font-weight: 500; font-size: clamp(2.3rem, 5.3vw, 5.6rem); line-height: .98; letter-spacing: -.02em; }
.hero__title .mask { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .mask > span { display: inline-block; }
.hero__title .gold-text { font-style: italic; font-size: 1.12em; }
.hero__lead { margin: 0 0 38px; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.12rem); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__chips { list-style: none; padding: 0; margin: 46px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero__chips li { position: relative; font-size: .8rem; letter-spacing: .1em; color: var(--cream); opacity: .78; padding-inline-start: 18px; }
.hero__chips li::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 7px; height: 7px; transform: translateY(-50%) rotate(45deg); border: 1px solid var(--gold); }

/* entrance */
.hero-in { opacity: 0; transform: translateY(40px); }
.mask > .hero-in { transform: translateY(105%); opacity: 1; }
body.is-ready .hero-in { animation: heroIn 1.2s var(--ease) forwards; animation-delay: calc(var(--i) * .12s + .25s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* visual */
.hero__visual { position: relative; justify-self: center; width: min(100%, 470px); }
.arch-frame { position: relative; }
.arch-frame::before, .arch-frame::after { content: ""; position: absolute; border-radius: 999px 999px 26px 26px; pointer-events: none; }
.arch-frame::before { inset: -16px; border: 1px solid var(--line); }
.arch-frame::after { inset: -32px; border: 1px solid var(--line-soft); }
.arch {
  position: relative; aspect-ratio: 4 / 5.3; border-radius: 999px 999px 22px 22px; overflow: hidden;
  border: 1px solid rgba(201, 164, 92, .55); background: var(--ink);
  clip-path: inset(100% 0 0 0 round 999px 999px 22px 22px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(201, 164, 92, .25);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transform: scale(1.22); filter: saturate(.86) contrast(1.06) brightness(.97); }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 9, 7, 0) 50%, rgba(10, 9, 7, .7) 100%), linear-gradient(0deg, rgba(201, 164, 92, .08), rgba(201, 164, 92, .08)); mix-blend-mode: normal; }
body.is-ready .arch { animation: archIn 1.6s .35s var(--ease) forwards; }
body.is-ready .arch img { animation: imgIn 2.2s .35s var(--ease) forwards; }
@keyframes archIn { to { clip-path: inset(0 0 0 0 round 999px 999px 22px 22px); } }
@keyframes imgIn { to { transform: scale(1.02); } }

.ring { position: absolute; top: 6%; inset-inline-end: -12%; width: clamp(110px, 12vw, 150px); aspect-ratio: 1; z-index: 3; opacity: 0; }
body.is-ready .ring { animation: popIn 1s 1.4s var(--ease) forwards; }
.ring__text { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.ring__text text { font-family: var(--sans); font-size: 13.5px; letter-spacing: 3.6px; fill: var(--gold); font-weight: 600; }
.ring__core {
  position: absolute; inset: 24%; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1;
  background: radial-gradient(circle at 35% 30%, #2a2318, #0a0907 70%); border: 1px solid var(--gold);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .8);
}
.ring__num { font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 600; color: var(--gold-hi); }
.ring__core span { font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
html[lang="fa"] .ring__core span { font-size: .7rem; letter-spacing: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popIn { from { opacity: 0; transform: scale(.6) rotate(-30deg); } to { opacity: 1; transform: none; } }

.croissant { position: absolute; margin: 0; bottom: -9%; inset-inline-start: -24%; width: 74%; z-index: 4; opacity: 0; }
body.is-ready .croissant { animation: dropIn 1.4s 1.15s var(--ease) forwards; }
.croissant__float { animation: float 5.5s ease-in-out infinite; transform-origin: 50% 80%; }
.croissant__svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .7)) drop-shadow(0 0 40px rgba(201, 164, 92, .18)); }
.croissant__tag {
  position: absolute; top: 4%; inset-inline-start: 6%; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  background: rgba(10, 9, 7, .78); border: 1px solid var(--line); backdrop-filter: blur(8px); color: var(--gold-hi);
}
html[lang="fa"] .croissant__tag { letter-spacing: 0; font-size: .78rem; }
.croissant__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(201, 164, 92, .7); animation: pulse 2s infinite; }
.steam path { stroke-dasharray: 60; stroke-dashoffset: 60; }
body.is-ready .steam { opacity: .5; }
body.is-ready .steam path { animation: steam 3.6s ease-in-out infinite; }
.steam .s2 { animation-delay: .7s !important; }
.steam .s3 { animation-delay: 1.4s !important; }
.sparkles path { transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
.sparkles .sp2 { animation-delay: .9s; }
.sparkles .sp3 { animation-delay: 1.6s; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-60px) rotate(-8deg) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes steam { 0% { stroke-dashoffset: 60; opacity: 0; transform: translateY(8px); } 40% { opacity: 1; } 100% { stroke-dashoffset: -60; opacity: 0; transform: translateY(-16px); } }
@keyframes twinkle { 0%, 100% { transform: scale(.3) rotate(0); opacity: .2; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201, 164, 92, .7); } 70% { box-shadow: 0 0 0 10px rgba(201, 164, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(201, 164, 92, 0); } }

.scroll-cue { position: absolute; bottom: 26px; inset-inline-end: var(--gutter); z-index: 3; display: grid; justify-items: center; gap: 10px; font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset-inline: 0; top: -40%; height: 40%; background: var(--gold-hi); animation: cue 2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line-soft); padding-block: 26px; background: linear-gradient(90deg, var(--black), var(--ink), var(--black)); direction: ltr; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); padding-inline-end: clamp(22px, 3vw, 44px); flex: none; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 3rem); white-space: nowrap; color: var(--cream); }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--gold); }
.marquee b { color: var(--gold); font-size: 1.1rem; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; }
.about__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.about__photo img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 20%; filter: saturate(.9) contrast(1.05); }
.about__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 9, 7, .55)); }
.about__frame { position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; opacity: .5; }
html[dir="rtl"] .about__frame { inset: 22px 22px -22px -22px; }
.about__stamp {
  position: absolute; bottom: -34px; inset-inline-end: -34px; width: 150px; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: 4px; padding: 18px;
  background: var(--gold-grad); background-size: 200% 100%; animation: shimmer 6s linear infinite; color: var(--black);
  box-shadow: 0 20px 50px -14px rgba(201, 164, 92, .55);
}
.about__stamp-num { font-family: var(--serif); font-size: 3rem; line-height: 1; font-weight: 600; }
.about__stamp-txt { font-size: .62rem; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
html[lang="fa"] .about__stamp-txt { font-size: .72rem; letter-spacing: 0; }

.quote { margin: 34px 0 0; padding: 26px 30px; border-inline-start: 2px solid var(--gold); background: linear-gradient(90deg, rgba(201, 164, 92, .07), transparent); border-radius: 0 14px 14px 0; }
html[dir="rtl"] .quote { border-radius: 14px 0 0 14px; background: linear-gradient(270deg, rgba(201, 164, 92, .07), transparent); }
.quote p { margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; color: var(--cream); }
.quote cite { font-style: normal; font-size: .82rem; letter-spacing: .14em; color: var(--gold); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; border-top: 1px solid var(--line-soft); }
.stat { padding: 24px 16px 0 0; display: grid; gap: 6px; align-content: start; }
html[dir="rtl"] .stat { padding: 24px 0 0 16px; }
.stat + .stat { border-inline-start: 1px solid var(--line-soft); padding-inline-start: 18px; }
.stat__num { font-family: var(--serif); font-size: clamp(2.2rem, 3.4vw, 3rem); font-weight: 500; line-height: 1; color: var(--gold-hi); }
.stat__num i { font-style: normal; color: var(--gold); }
.stat span:not(.count) { font-size: .8rem; color: var(--muted); line-height: 1.45; }

/* ---------- Specialties ---------- */
.spec { background: radial-gradient(60% 50% at 50% 0%, rgba(201, 164, 92, .07), transparent 70%), var(--black); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 26px); }
.card {
  position: relative; overflow: hidden; padding: clamp(28px, 3.4vw, 46px); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink-2), var(--ink) 60%); border: 1px solid var(--line-soft);
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease), transform .25s ease-out;
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { border-color: var(--line); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(201, 164, 92, .15) inset; }
.card__no { position: absolute; top: 24px; inset-inline-end: 30px; font-family: var(--serif); font-size: 4.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 92, .3); transition: -webkit-text-stroke-color .5s; }
.card:hover .card__no { -webkit-text-stroke-color: var(--gold); }
.card__icon { width: 58px; height: 58px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.card__icon path, .card__icon circle { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1.8s var(--ease); }
.card.is-in .card__icon path, .card.is-in .card__icon circle { stroke-dashoffset: 0; }
.card__title { margin: 0 0 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.15; max-width: 85%; }
.card__text { margin: 0 0 24px; color: var(--muted); font-size: .96rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .72rem; letter-spacing: .06em; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-hi); background: rgba(201, 164, 92, .04); }
.card__sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(243, 221, 156, .1) 50%, transparent 65%); transform: translateX(-120%); transition: transform 1.1s var(--ease); }
.card:hover .card__sheen { transform: translateX(120%); }

/* ---------- Classes ---------- */
.classes { background: var(--ink); border-block: 1px solid var(--line-soft); }
.classes::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 40% at 85% 20%, rgba(201, 164, 92, .08), transparent 70%); }
.euro-note { display: inline-flex; align-items: center; gap: 14px; margin: 10px 0 0; padding: 10px 22px 10px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 9, 7, .6); font-size: .9rem; color: var(--cream); }
html[dir="rtl"] .euro-note { padding: 10px 10px 10px 22px; }
.euro-note__sym { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-grad); color: var(--black); font-weight: 700; font-size: 1rem; }
.classes__grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.classes__photo { position: relative; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; border: 1px solid var(--line); margin-bottom: 40px; }
.classes__photo img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 10%; filter: saturate(.86) contrast(1.05); }
.classes__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18, 16, 12, .85)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.step__no { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold); font-family: var(--serif); font-size: 1.05rem; color: var(--gold-hi); }
.step h4 { margin: 0 0 4px; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

/* form */
.form {
  position: sticky; top: 100px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px;
  padding: clamp(24px, 3.6vw, 48px); border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(26, 23, 18, .95), rgba(10, 9, 7, .95));
  border: 1px solid var(--line); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9);
}
.form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--gold-hi) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: border-run 6s linear infinite; opacity: .8; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes border-run { to { --a: 360deg; } }
.form__head { grid-column: 1 / -1; margin-bottom: 6px; }
.form__head h3 { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.form__head p { margin: 0; color: var(--muted); font-size: .86rem; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
html[lang="fa"] .field label { letter-spacing: 0; font-size: .82rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-soft); outline: none;
  background: rgba(255, 255, 255, .025); color: var(--cream); font-size: .96rem;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a45c' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px; background-position: right 14px center; }
html[dir="rtl"] .field select { background-position: left 14px center; }
.field select option { background: var(--ink); color: var(--cream); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: rgba(201, 164, 92, .05); box-shadow: 0 0 0 4px rgba(201, 164, 92, .1); }
.field.is-invalid input, .field.is-invalid select { border-color: #d0735c; box-shadow: 0 0 0 4px rgba(208, 115, 92, .1); }
.hp { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; inset-inline-start: -9999px; }
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .88rem; color: var(--cream); line-height: 1.55; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check__box { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--gold); display: grid; place-items: center; transition: background .3s; margin-top: 1px; }
.check__box::after { content: ""; width: 10px; height: 6px; border-inline-start: 2px solid var(--black); border-bottom: 2px solid var(--black); transform: rotate(-45deg) scale(0); transition: transform .3s var(--ease); margin-top: -3px; }
.check input:checked + .check__box { background: var(--gold); }
.check input:checked + .check__box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(201, 164, 92, .2); }
.check.is-invalid .check__box { border-color: #d0735c; }
.form__foot { display: grid; gap: 12px; margin-top: 6px; }
.form__status { margin: 0; min-height: 1.4em; font-size: .9rem; text-align: center; }
.form__status.is-ok { color: #b9d99b; }
.form__status.is-err { color: #e59a85; }
.form__fallback { justify-self: center; font-size: .85rem; color: var(--gold-hi); border-bottom: 1px solid var(--gold); }
.form.is-sent .field, .form.is-sent .check { opacity: .4; pointer-events: none; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact__glow { position: absolute; left: 50%; top: 40%; width: 900px; height: 900px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(201, 164, 92, .12), transparent 60%); pointer-events: none; animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: .7; } }
.contact__cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.ccard {
  position: relative; display: grid; gap: 10px; justify-items: start; padding: 34px 30px; border-radius: var(--radius);
  background: rgba(18, 16, 12, .8); border: 1px solid var(--line-soft); backdrop-filter: blur(6px); overflow: hidden;
  transition: border-color .5s var(--ease), transform .25s ease-out, box-shadow .5s var(--ease);
}
.ccard::before { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
html[dir="rtl"] .ccard::before { transform-origin: right; }
.ccard:hover { border-color: var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.ccard:hover::before { transform: scaleX(1); }
.ccard__icon { width: 48px; height: 48px; padding: 11px; border-radius: 50%; border: 1px solid var(--gold); fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; transition: background .4s, stroke .4s; }
.ccard:hover .ccard__icon { background: var(--gold); stroke: var(--black); }
.ccard__label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
html[lang="fa"] .ccard__label { letter-spacing: 0; font-size: .85rem; }
.ccard__value { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 500; color: var(--cream); word-break: break-word; }
html[lang="fa"] .ccard__value { font-family: var(--serif); }
.ccard__value--sm { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.ccard__go { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.ccard__go::after { content: "→"; transition: transform .4s var(--ease); }
.ccard:hover .ccard__go::after { transform: translateX(5px); }
html[dir="rtl"] .ccard:hover .ccard__go::after { transform: scaleX(-1) translateX(5px); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding-block: 40px; background: var(--black); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--cream); }
.footer__brand .brand__mark { width: 38px; height: 38px; font-size: .9rem; }
.footer__links { display: flex; gap: 24px; font-size: .85rem; }
.footer__links a { color: var(--muted); transition: color .3s; }
.footer__links a:hover { color: var(--gold-hi); }
.footer__copy { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: .78rem; color: var(--muted); }
.footer__copy a { color: var(--gold); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease); }
[data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
[data-reveal="clip"] img { transform: scale(1.18); transition: transform 2s var(--ease); }
[data-reveal="clip"].is-in img { transform: scale(1); }
/* card tilt overrides reveal transform once visible */
.card.is-in, .ccard.is-in { transition: opacity 1.1s var(--ease), transform .25s ease-out, border-color .5s var(--ease), box-shadow .5s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: -1; justify-content: center; align-items: center; gap: 26px;
    background: rgba(10, 9, 7, .97); backdrop-filter: blur(10px); animation: fadeIn .4s forwards;
  }
  .nav.is-open a { font-family: var(--serif); font-size: 2rem; letter-spacing: 0; text-transform: none; color: var(--cream); }
  html[lang="fa"] .nav.is-open a { font-family: "Vazirmatn", sans-serif; font-size: 1.6rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
}
@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero__grid { grid-template-columns: 1fr; gap: 80px; }
  .hero__visual { width: min(78%, 400px); margin-bottom: 30px; }
  .hero__bgword { bottom: auto; top: 46%; }
  .about__grid, .classes__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .classes__side { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; }
  .classes__photo { margin-bottom: 0; }
  .form { position: relative; top: 0; }
  .contact__cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .brand__text { display: none; }
  .header__tools { gap: 8px; }
  .hero__visual { width: 82%; }
  .croissant { width: 78%; inset-inline-start: -16%; bottom: -12%; }
  .croissant__tag { font-size: .6rem; padding: 6px 10px; top: -2%; }
  .ring { inset-inline-end: -8%; width: 100px; }
  .hero__actions .btn { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .card__no { font-size: 3.4rem; }
  .classes__side { grid-template-columns: 1fr; }
  .classes__photo { aspect-ratio: 4 / 4; }
  .form { grid-template-columns: 1fr; }
  .about__stamp { width: 118px; right: auto; inset-inline-end: -8px; bottom: -28px; }
  .about__stamp-num { font-size: 2.3rem; }
  .about__frame { inset: 14px -10px -14px 14px; }
  html[dir="rtl"] .about__frame { inset: 14px 14px -14px -10px; }
  .euro-note { font-size: .82rem; text-align: start; }
  .footer__inner { grid-template-columns: 1fr; }
  .marquee { padding-block: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  [data-reveal], .hero-in { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
