/* ELUNA aesthetic clinic */

/* Persian reading and display face */
@font-face {
  font-family: "Markazi Text";
  src: url("../fonts/markazi-arabic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Markazi Text";
  src: url("../fonts/markazi-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Persian interface face */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn-arabic.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Latin display (echoes the logo) and Latin text */
@font-face {
  font-family: "Marcellus";
  src: url("../fonts/marcellus-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* tokens: ELUNA web palette */
:root {
  --porcelain: #FAF8F6;
  --blush: #F2E5E2;
  --rose-beige: #EBD2C6;
  --dusty-mauve: #C9A7B5;
  --muted-plum: #7D5B66;
  --warm-taupe: #6F6763;

  --bg: var(--porcelain);
  --bg-soft: var(--blush);
  --bg-inverse: var(--muted-plum);
  --text: var(--warm-taupe);
  --text-strong: var(--muted-plum);
  --text-inverse: var(--porcelain);
  --text-inverse-soft: var(--blush);
  --text-inverse-accent: var(--rose-beige);
  --line: rgb(201 167 181 / .55);
  --line-inverse: rgb(250 248 246 / .22);
  --focus: var(--muted-plum);

  --font-markazi: "Markazi Text", "Vazirmatn", serif;
  --font-vazir: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --font-marcellus: "Marcellus", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-jost: "Jost", "Segoe UI", system-ui, sans-serif;

  --font-display: var(--font-markazi);
  --font-body: var(--font-markazi);
  --font-ui: var(--font-vazir);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-film: cubic-bezier(.16, 1, .3, 1);
  --dur: 240ms;

  --gutter: clamp(16px, 5vw, 64px);
  --container: 1240px;
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  --header-h: 92px;
  --radius: 2px;
  --section-y: clamp(96px, 14vh, 168px);
}
html[lang="en"] {
  --font-display: var(--font-marcellus);
  --font-body: var(--font-jost);
  --font-ui: var(--font-jost);
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-size: 1.0625rem; line-height: 1.7; }
img, svg, canvas, picture { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, fieldset { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
ol, ul { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.on-dark { --focus: var(--porcelain); }

.skip-link {
  position: absolute;
  inset-inline-start: var(--gutter);
  top: -120px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--muted-plum);
  color: var(--porcelain);
  font-family: var(--font-ui);
  font-size: 1rem;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* logo (recolourable mask) */
.logo {
  display: block;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.logo--wordmark {
  -webkit-mask-image: url("../img/logo-wordmark.png");
  mask-image: url("../img/logo-wordmark.png");
  aspect-ratio: 1681 / 525;
  width: 112px;
}
.logo--full {
  -webkit-mask-image: url("../img/logo-full.png");
  mask-image: url("../img/logo-full.png");
  aspect-ratio: 1681 / 677;
  width: 220px;
}

/* buttons & links */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid var(--muted-plum);
  border-radius: 999px;
  background: var(--muted-plum);
  color: var(--porcelain);
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform 150ms var(--ease);
}
html[lang="en"] .btn { letter-spacing: .02em; }
.btn:hover { background: var(--porcelain); color: var(--muted-plum); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: .875rem; }
.btn--block { width: 100%; }
.on-dark .btn { background: var(--porcelain); border-color: var(--porcelain); color: var(--muted-plum); }
.on-dark .btn:hover { background: transparent; color: var(--porcelain); }

.btn__spinner {
  display: none;
  width: 16px; height: 16px;
  border: 1.5px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text-strong);
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
}
.link-arrow svg { width: 20px; height: 20px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--dur) var(--ease); padding-bottom: 2px; }
[dir="rtl"] .link-arrow span { background-position: 100% 100%; }
.link-arrow:hover span { background-size: 100% 1px; }

/* header: floating glass bar */
.site-header {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 50;
  color: var(--text-strong);
  font-family: var(--font-ui);
  pointer-events: none;
}
.site-header__inner,
.mobile-nav {
  background: linear-gradient(180deg, rgb(250 248 246 / .8), rgb(242 229 226 / .64));
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgb(250 248 246 / .7);
  box-shadow:
    inset 0 1px 0 rgb(250 248 246 / .85),
    0 12px 32px -14px rgb(125 91 102 / .4),
    0 2px 6px rgb(125 91 102 / .07);
  pointer-events: auto;
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding-inline: 28px 10px;
  border-radius: 999px;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-solid .site-header__inner {
  background: linear-gradient(180deg, rgb(250 248 246 / .92), rgb(250 248 246 / .84));
  box-shadow:
    inset 0 1px 0 rgb(250 248 246 / .9),
    0 14px 36px -16px rgb(125 91 102 / .45),
    0 2px 6px rgb(125 91 102 / .08);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header__inner, .mobile-nav { background: rgb(250 248 246 / .97); }
}

.site-header__brand { justify-self: start; display: inline-flex; padding: 8px 0; border-radius: var(--radius); }

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgb(125 91 102 / .07);
  box-shadow: inset 0 1px 2px rgb(125 91 102 / .08);
  font-size: .9375rem;
  line-height: 1.5;
}
.site-nav a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a[aria-current] { font-weight: 600; }
.site-nav a:focus-visible { outline-offset: 0; }
html:not(.js) .site-nav a:hover { background: var(--porcelain); }
.site-nav__indicator {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--porcelain);
  box-shadow: 0 1px 3px rgb(125 91 102 / .16), inset 0 0 0 1px rgb(201 167 181 / .5);
  opacity: 0;
  pointer-events: none;
  transition: transform 340ms var(--ease), width 340ms var(--ease), opacity 200ms var(--ease);
}

.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgb(125 91 102 / .22);
  border-radius: 999px;
  font-family: var(--font-jost);
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.lang-switch:lang(fa) { letter-spacing: 0; font-family: var(--font-vazir); font-size: .875rem; }
.lang-switch:hover { background: var(--porcelain); border-color: rgb(125 91 102 / .45); }
.site-header__cta { box-shadow: 0 6px 16px -8px rgb(125 91 102 / .7); }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(125 91 102 / .22);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease);
}
.menu-toggle:hover { background: var(--porcelain); }
.menu-toggle span {
  position: absolute;
  inset-inline: 13px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.site-header.is-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.site-header.is-open .menu-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin: 10px auto 0;
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgb(250 248 246 / .94), rgb(242 229 226 / .9));
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms;
}
.site-header.is-open .mobile-nav {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.mobile-nav a:not(.btn) {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 1.0625rem;
  text-decoration: none;
}
.mobile-nav a:not(.btn):hover,
.mobile-nav a[aria-current] { background: var(--porcelain); }
.mobile-nav a[aria-current] { font-weight: 600; }
.mobile-nav .btn { margin-top: 6px; width: 100%; }

@media (max-width: 899px) {
  .site-header { inset-block-start: 10px; }
  .site-header__inner { grid-template-columns: 1fr auto; height: 58px; padding-inline: 20px 7px; }
  .site-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .mobile-nav { display: grid; gap: 2px; }
}
@media (max-width: 520px) {
  .site-header__cta { display: none; }
}
@media (max-width: 400px) {
  .logo--wordmark { width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav__indicator, .mobile-nav, .menu-toggle span { transition: none; }
}

/* film: scroll-driven hero */
.film {
  position: relative;
  height: 420vh;
  height: 420svh;
}
.film__stage {
  --anchor: .7;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--porcelain);
}
.film__media {
  position: absolute;
  inset: 0;
  background: var(--rose-beige);
  overflow: hidden;
}
.film__fallback,
.film__fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 42%;
}
[dir="rtl"] .film__fallback img { transform: scaleX(-1); }
.film__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 600ms var(--ease);
}
.film__stage.is-ready .film__canvas { opacity: 1; }
.film__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgb(111 103 99 / .32) 100%);
  pointer-events: none;
}
.film__grain {
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07;
  mix-blend-mode: multiply;
  pointer-events: none;
  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); }
}
.film__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(250 248 246 / .95) 0%, rgb(250 248 246 / .9) 36%, rgb(250 248 246 / .55) 49%, rgb(250 248 246 / 0) 62%);
  pointer-events: none;
}
[dir="rtl"] .film__scrim {
  background: linear-gradient(270deg, rgb(250 248 246 / .95) 0%, rgb(250 248 246 / .9) 36%, rgb(250 248 246 / .55) 49%, rgb(250 248 246 / 0) 62%);
}
.film__top {
  position: absolute;
  inset: 0 0 auto;
  height: 140px;
  background: linear-gradient(to bottom, rgb(250 248 246 / .85), rgb(250 248 246 / 0));
  pointer-events: none;
}

.beat {
  position: absolute;
  inset-inline-start: var(--edge);
  top: 50%;
  width: min(32rem, 40vw);
  color: var(--text-strong);
  opacity: var(--o, 0);
  transform: translateY(calc(-50% + var(--y, 0px)));
  filter: blur(var(--bx, 0px));
  will-change: opacity, transform, filter;
}

/* hero words: --wp (0..1) comes from scroll position */
.js .beat .word { display: inline-block; }
.js .beat .word__in { display: inline-block; }
.js .beat .word__in,
.js .beat .beat__unit {
  opacity: var(--wp, 0);
  transform: translateY(calc((1 - var(--wp, 0)) * .55em));
  filter: blur(calc((1 - var(--wp, 0)) * 8px));
}
.film.is-intro .word__in,
.film.is-intro .beat__unit {
  transition: opacity 900ms var(--ease-film), transform 1200ms var(--ease-film), filter 900ms var(--ease-film);
  transition-delay: calc(var(--i, 0) * 75ms + 200ms);
}
.beat__kicker {
  margin-bottom: 16px;
  font-size: 1.1875rem;
  line-height: 1.5;
}
html[lang="en"] .beat__kicker { font-size: .8125rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.beat__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1.3;
}
html[lang="en"] .beat__title { font-size: clamp(2.25rem, 3.8vw, 3.6rem); font-weight: 400; line-height: 1.12; }
.beat__text { margin-top: 14px; font-size: 1.375rem; line-height: 1.7; }
html[lang="en"] .beat__text { margin-top: 18px; font-size: 1.125rem; font-weight: 400; line-height: 1.65; }
.beat__slogan {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.4;
}
html[lang="en"] .beat__slogan { font-size: clamp(1.9rem, 3vw, 2.75rem); font-weight: 400; line-height: 1.3; }
.beat__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }

.film__cue {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-family: var(--font-ui);
  font-size: .875rem;
  line-height: 1.6;
  color: var(--text-strong);
}
.film__cue-line {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: var(--line);
}
.film__cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--muted-plum);
  transform: translateY(-100%);
  animation: cue 2.2s var(--ease-film) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

.film__note {
  position: absolute;
  inset-inline-start: var(--edge);
  bottom: 22px;
  max-width: 34rem;
  font-family: var(--font-ui);
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--text);
}
.film__rail {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: rgb(250 248 246 / .3);
}
.film__rail span {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
}
[dir="rtl"] .film__rail span { transform-origin: right center; }
.film__rail-loaded { background: rgb(250 248 246 / .7); transition: transform 300ms var(--ease), opacity 600ms var(--ease); }
.film__rail-loaded.is-done { opacity: 0; }
.film__rail-progress { background: var(--muted-plum); }

/* tall / portrait screens: picture on top, text below */
@media (max-aspect-ratio: 7/5) {
  .film { height: 380vh; height: 380svh; }
  .film__stage { --anchor: .5; }
  .film__media { inset: 0 0 auto; height: 58vh; height: 58svh; }
  .film__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(to bottom, rgb(250 248 246 / 0), var(--porcelain));
    pointer-events: none;
  }
  .film__scrim { display: none; }
  .beat {
    top: 54vh;
    top: 54svh;
    inset-inline-end: var(--gutter);
    width: auto;
    max-width: 34rem;
    transform: translateY(var(--y, 0px));
  }
  .beat__title { font-size: clamp(2.1rem, 8vw, 3rem); }
  html[lang="en"] .beat__title { font-size: clamp(1.9rem, 7.2vw, 2.6rem); }
  .beat__slogan { font-size: clamp(1.9rem, 7.4vw, 2.6rem); }
  html[lang="en"] .beat__slogan { font-size: clamp(1.6rem, 6.2vw, 2.1rem); }
  .beat__text { margin-top: 8px; font-size: 1.1875rem; }
  html[lang="en"] .beat__text { margin-top: 10px; font-size: 1rem; }
  .beat__kicker { margin-bottom: 8px; font-size: 1.0625rem; }
  .beat__actions { margin-top: 22px; }
  .film__cue { margin-top: 22px; }
  .film__cue-line { height: 32px; }
  .film__note { bottom: 14px; inset-inline-end: var(--gutter); font-size: .75rem; }
}
@media (max-aspect-ratio: 7/5) and (max-height: 720px) {
  .film__media { height: 52vh; height: 52svh; }
  .beat { top: 48vh; top: 48svh; }
  .film__cue { display: none; }
}
@media (max-aspect-ratio: 29/50) {
  .film__fallback img { object-position: 50% 42%; }
}

/* ribbon: sits above section backgrounds, below section content */
main { position: relative; }
.ribbon {
  position: absolute;
  left: 0;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}
.ribbon__band { fill: rgb(201 167 181 / .2); }
.ribbon__edge {
  fill: none;
  stroke: var(--dusty-mauve);
  stroke-width: 1.25;
  stroke-linejoin: round;
}
.ribbon__edge--back { stroke-width: 1; stroke-opacity: .55; }
.ribbon__head {
  fill: var(--porcelain);
  stroke: var(--dusty-mauve);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 6px rgb(201 167 181 / .95));
  transition: opacity 300ms var(--ease);
}
@media (max-width: 760px) {
  .ribbon { opacity: .5; }
}

/* sections */
.section { position: relative; padding-block: var(--section-y); }
.section > .container { position: relative; z-index: 2; }
.section--soft { background: var(--bg-soft); }
.section--inverse { background: var(--bg-inverse); color: var(--text-inverse-soft); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--text-strong);
  line-height: 1.4;
}
.on-dark .eyebrow { color: var(--text-inverse-accent); }
.eyebrow__index { font-family: var(--font-ui); font-size: .9375rem; font-weight: 500; }
.eyebrow__index::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  margin-inline-start: 16px;
  vertical-align: middle;
  background: currentColor;
  opacity: .6;
}
.eyebrow__label { font-family: var(--font-marcellus); font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow__label:lang(fa) { font-family: var(--font-markazi); font-size: 1.1875rem; letter-spacing: 0; text-transform: none; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-strong);
}
html[lang="en"] .section-title { font-size: clamp(2.25rem, 4.4vw, 3.75rem); font-weight: 400; line-height: 1.12; }
.on-dark .section-title { color: var(--text-inverse); }
.section-intro { max-width: 30rem; color: var(--text-strong); }
.on-dark .section-intro { color: var(--text-inverse-soft); }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
}

/* about */
.about { overflow: hidden; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px clamp(32px, 7vw, 112px);
}
.about__body { display: grid; gap: 28px; padding-top: 52px; }
.lead {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-strong);
}
html[lang="en"] .lead { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.45; }
.about__body p:not(.lead) { max-width: 34rem; }
.swoosh {
  width: 100%;
  height: clamp(90px, 14vw, 200px);
  margin-top: clamp(48px, 8vw, 96px);
  color: var(--dusty-mauve);
}
[dir="rtl"] .swoosh { transform: scaleX(-1); }
.swoosh path { fill: none; stroke: currentColor; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.js .swoosh { clip-path: inset(0 calc((1 - var(--draw, 0)) * 100%) 0 0); }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__body { padding-top: 0; }
}

/* services */
.services-block + .services-block { margin-top: clamp(64px, 9vw, 112px); }
.block-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-strong);
}
.block-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
html[lang="en"] .block-title { font-size: 1.5rem; font-weight: 400; }

.offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}
.offer {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 52px);
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-strong);
  transition: border-color var(--dur) var(--ease);
}
.offer:hover { border-color: var(--muted-plum); }
.offer__tag { font-size: 1.125rem; line-height: 1.5; }
.offer__tag bdi { font-family: var(--font-marcellus); font-size: .875rem; letter-spacing: .12em; }
html[lang="en"] .offer__tag { font-family: var(--font-ui); font-size: .875rem; font-weight: 500; letter-spacing: .04em; }
.offer__name {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.35;
}
html[lang="en"] .offer__name { margin-top: 12px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 400; line-height: 1.25; }
.offer__desc { margin-top: 12px; max-width: 28rem; }
.offer__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 40px;
}
.offer__amount {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 1;
}
html[lang="en"] .offer__amount { font-size: clamp(3.5rem, 7vw, 5.5rem); }
.offer__unit { font-size: 1.125rem; }
html[lang="en"] .offer__unit { font-size: .9375rem; }
.offer__cta { margin-top: 28px; align-self: flex-start; }

@media (max-width: 760px) {
  .offers { grid-template-columns: 1fr; }
}

/* price menu */
.menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px clamp(32px, 5vw, 80px);
  align-items: start;
  color: var(--text-strong);
}
.menu__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--muted-plum);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
}
html[lang="en"] .menu__label { font-size: 1.375rem; font-weight: 400; }
.menu__label span { font-family: var(--font-marcellus); font-size: .75rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
.menu__label span:lang(fa) { font-family: var(--font-markazi); font-size: 1.0625rem; letter-spacing: 0; text-transform: none; }

.menu__item {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 16px;
  padding: 22px 16px;
  margin-inline: -16px;
  background-image: linear-gradient(var(--line), var(--line));
  background-repeat: no-repeat;
  background-size: calc(100% - 32px) 1px;
  background-position: 50% 100%;
  color: inherit;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease);
}
.menu__item::before {
  content: "";
  position: absolute;
  inset-block: -1px;
  inset-inline-start: 0;
  width: 2px;
  background: var(--muted-plum);
  transform: scaleY(0);
  transition: transform var(--dur) var(--ease);
}
.menu__item:hover { background-color: var(--porcelain); }
.menu__item:hover::before { transform: scaleY(1); }
.menu__item:active { background-color: var(--rose-beige); }
.menu__item:focus-visible { outline-offset: -2px; }

.menu__index {
  font-family: var(--font-ui);
  font-size: .8125rem;
  font-weight: 500;
  opacity: .85;
}
.menu__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.35;
  transition: transform var(--dur) var(--ease);
}
html[lang="en"] .menu__name { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 400; line-height: 1.3; }
.menu__item:hover .menu__name { transform: translateX(-6px); }
html[lang="en"] .menu__item:hover .menu__name { transform: translateX(6px); }

.menu__price { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.menu__from,
.menu__unit { font-family: var(--font-ui); font-size: .8125rem; }
.menu__amount {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.4vw, 2.875rem);
  font-weight: 400;
  line-height: 1;
}
html[lang="en"] .menu__amount { font-size: clamp(1.875rem, 2.8vw, 2.375rem); }

.menu__arrow {
  width: 20px;
  height: 20px;
  opacity: .4;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
[dir="rtl"] .menu__arrow { transform: scaleX(-1); }
.menu__item:hover .menu__arrow { opacity: 1; transform: translateX(4px); }
[dir="rtl"] .menu__item:hover .menu__arrow { transform: scaleX(-1) translateX(4px); }

.menu__note {
  margin-top: 28px;
  font-size: 1.0625rem;
  line-height: 1.75;
}
html[lang="en"] .menu__note { font-size: .875rem; line-height: 1.7; }

@media (max-width: 960px) {
  .menu { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .menu__item {
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: 4px 12px;
    padding-block: 18px;
  }
  .menu__price { grid-column: 2; }
  .menu__arrow { display: none; }
}

/* journey: sticky intro + scroll-filled timeline */
.journey { overflow: clip; }
.journey__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px clamp(40px, 7vw, 120px);
  align-items: start;
}
.journey__aside { align-self: stretch; }
.journey__sticky {
  position: sticky;
  top: calc(var(--header-h) + 48px);
}
.journey__stat {
  margin-block: clamp(40px, 6vw, 72px) 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-inverse);
}
.journey__stat-value {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6.75rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text-inverse);
}
html[lang="en"] .journey__stat-value { font-size: clamp(3.25rem, 6.4vw, 5.25rem); }
.journey__stat-label { margin-top: 14px; max-width: 18rem; color: var(--text-inverse-soft); }

.timeline {
  --rail: 64px;
  position: relative;
  padding-inline-start: var(--rail);
}
.timeline__step {
  --seg: 1;
  position: relative;
  padding-bottom: clamp(56px, 8vw, 96px);
}
.timeline__step:last-child { padding-bottom: 0; }
.js .timeline__step { --seg: 0; }

/* rail segment from this node to the next one */
.timeline__step::before,
.timeline__step::after {
  content: "";
  position: absolute;
  inset-inline-start: calc(var(--rail) * -1 + 8px);
  top: 30px;
  bottom: -14px;
  width: 1px;
}
.timeline__step::before { background: var(--line-inverse); }
.timeline__step::after {
  width: 2px;
  margin-inline-start: -.5px;
  background: var(--rose-beige);
  transform: scaleY(var(--seg));
  transform-origin: top center;
}
.timeline__step:last-child::before,
.timeline__step:last-child::after { display: none; }

.timeline__node {
  position: absolute;
  inset-inline-start: calc(var(--rail) * -1);
  top: 12px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid var(--porcelain);
  background: var(--porcelain);
  box-shadow: 0 0 0 7px rgb(250 248 246 / .12);
  transition: background-color 400ms var(--ease), box-shadow 400ms var(--ease), border-color 400ms var(--ease);
}
.js .timeline__step:not(.is-active) .timeline__node {
  background: var(--muted-plum);
  border-color: var(--rose-beige);
  box-shadow: 0 0 0 0 rgb(250 248 246 / 0);
}

.timeline__num {
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-inverse-accent);
}
html[lang="en"] .timeline__num { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.timeline__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-inverse);
  transition: color 400ms var(--ease);
}
html[lang="en"] .timeline__title { font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 400; line-height: 1.2; }
.js .timeline__step:not(.is-active) .timeline__title { color: var(--text-inverse-accent); }
.timeline__text { margin-top: 14px; max-width: 34rem; color: var(--text-inverse-soft); }

.timeline__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.timeline__split div {
  padding: 20px 22px;
  border: 1px solid var(--line-inverse);
  border-radius: var(--radius);
  background: rgb(250 248 246 / .06);
}
.timeline__split dt { font-family: var(--font-ui); font-size: .875rem; font-weight: 500; color: var(--text-inverse-accent); }
.timeline__split dd { margin-top: 6px; color: var(--text-inverse); line-height: 1.6; }

.timeline__stats {
  display: flex;
  gap: clamp(32px, 5vw, 64px);
  margin-top: 28px;
}
.timeline__stats div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
}
.timeline__stats div + div {
  padding-inline-start: clamp(32px, 5vw, 64px);
  border-inline-start: 1px solid var(--line-inverse);
}
.timeline__stats dd {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--text-inverse);
}
html[lang="en"] .timeline__stats dd { font-size: clamp(2.25rem, 4vw, 3.25rem); }
.timeline__stats dt { font-family: var(--font-ui); font-size: .875rem; color: var(--text-inverse-soft); }

@media (max-width: 860px) {
  .journey__grid { grid-template-columns: 1fr; }
  .journey__sticky { position: static; }
  .journey__stat { margin-block: 32px 28px; }
  .timeline { --rail: 40px; }
}
@media (max-width: 520px) {
  .timeline__split { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline__node, .timeline__title { transition: none; }
}

/* contact */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px clamp(32px, 7vw, 112px);
  align-items: start;
}
.contact__intro .section-title { margin-bottom: 24px; }
.contact__intro p { color: var(--text-strong); max-width: 30rem; }
.contact__notes { display: grid; gap: 14px; margin-top: 36px; }
.contact__notes li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text-strong);
}
.contact__notes strong { font-weight: 600; white-space: nowrap; }

.form-card {
  padding: clamp(24px, 4vw, 52px);
  background: var(--blush);
  border-radius: var(--radius);
  color: var(--text-strong);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.7;
}
.form { display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: grid; gap: 8px; align-content: start; }
.field__label { font-size: .9375rem; font-weight: 500; }
.field__control {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--porcelain);
  border: 1px solid var(--muted-plum);
  border-radius: var(--radius);
  color: var(--text-strong);
  font-size: 1rem;
  transition: box-shadow var(--dur) var(--ease);
}
.field__control::placeholder { color: var(--warm-taupe); opacity: .75; }
.field__control:hover { box-shadow: inset 0 0 0 1px var(--muted-plum); }
.field__control:focus-visible { outline-offset: 2px; }
select.field__control {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%237D5B66' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 18px;
  background-position: right 16px center;
  cursor: pointer;
}
[dir="rtl"] select.field__control { background-position: left 16px center; }
[dir="rtl"] input[dir="ltr"].field__control { text-align: right; }
.field__hint { font-size: .8125rem; line-height: 1.6; }
.field__error {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.6;
}
.field__error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--muted-plum);
  color: var(--porcelain);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
}
.field.is-invalid .field__error { display: flex; }
.field.is-invalid .field__control { border-width: 2px; padding: 11px 15px; }
.field.is-invalid select.field__control { padding-inline-end: 43px; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--muted-plum);
  border-radius: 999px;
  background: var(--porcelain);
  font-size: .9375rem;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.choice:hover span { background: var(--rose-beige); }
.choice input:checked + span { background: var(--muted-plum); color: var(--porcelain); }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.field.is-invalid .choice span { border-width: 2px; padding: 0 21px; }

.form__privacy { font-size: .8125rem; line-height: 1.7; }
.form__status { min-height: 1.7em; font-size: .9375rem; font-weight: 500; }
.form__status:empty { display: none; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-success { display: grid; gap: 16px; justify-items: start; padding-block: 24px; }
.form-success:focus { outline: none; }
.form-success svg { width: 56px; height: 56px; color: var(--muted-plum); }
.form-success h3 { font-family: var(--font-display); font-size: clamp(1.875rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.35; }
html[lang="en"] .form-success h3 { font-size: 2rem; font-weight: 400; line-height: 1.2; }

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .form__row { grid-template-columns: 1fr; }
}

/* footer */
.site-footer {
  padding-block: clamp(72px, 10vw, 128px) 32px;
  background: var(--bg-inverse);
  color: var(--text-inverse-soft);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 40px;
  align-items: start;
}
.footer__logo { display: inline-block; color: var(--porcelain); }
.footer__logo .logo--full { width: clamp(200px, 22vw, 300px); }
.footer__info { display: grid; gap: 8px; }
.footer__info strong { color: var(--text-inverse); font-weight: 600; }
.footer__nav { display: grid; gap: 4px; justify-items: start; font-family: var(--font-ui); font-size: .9375rem; }
.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
}
.footer__nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 24px;
  border-top: 1px solid var(--line-inverse);
  font-family: var(--font-ui);
  font-size: .8125rem;
}
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 1000ms var(--ease-film),
    transform 1100ms var(--ease-film),
    filter 1000ms var(--ease-film),
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* headings: words rise out of a blur, staggered */
.js [data-split] .word,
.js [data-split] .word__in { display: inline-block; }
.js [data-split] .word__in {
  opacity: 0;
  transform: translateY(.5em) rotate(.001deg);
  filter: blur(10px);
  transition: opacity 900ms var(--ease-film), transform 1200ms var(--ease-film), filter 900ms var(--ease-film);
  transition-delay: calc(var(--i, 0) * 80ms + 120ms);
}
.js [data-split].is-in .word__in { opacity: 1; transform: none; filter: none; }

/* reading paragraph: --r set from scroll */
.js [data-read] .word__in { opacity: var(--r, .18); transition: opacity 160ms linear; }

/* hairlines draw in once their block is revealed */
.js .eyebrow[data-reveal] .eyebrow__index::after,
.js .block-title[data-reveal]::after {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1400ms var(--ease-film) 350ms;
}
[dir="rtl"].js .eyebrow[data-reveal] .eyebrow__index::after,
[dir="rtl"].js .block-title[data-reveal]::after { transform-origin: right center; }
.js .eyebrow.is-in .eyebrow__index::after,
.js .block-title.is-in::after { transform: scaleX(1); }

/* price rows follow their group in sequence */
.js .menu__group[data-reveal] li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms var(--ease-film), transform 900ms var(--ease-film);
}
.js .menu__group.is-in li { opacity: 1; transform: none; }
.js .menu__group li:nth-child(1) { transition-delay: 250ms; }
.js .menu__group li:nth-child(2) { transition-delay: 370ms; }
.js .menu__group li:nth-child(3) { transition-delay: 490ms; }

/* without JavaScript the film is a single still */
html:not(.js) .film { height: auto; }
html:not(.js) .film__stage { position: relative; }
html:not(.js) .beat { display: none; }
html:not(.js) .beat--intro { display: block; --o: 1; }
html:not(.js) .film__rail { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film__grain, .film__cue-line::after, .btn__spinner { animation: none; }
  .js [data-reveal] { transform: none; filter: none; transition: opacity 200ms linear; transition-delay: 0ms; }
  .js [data-split] .word__in { transform: none; filter: none; transition: opacity 200ms linear; transition-delay: 0ms; }
  .js .beat { filter: none; }
  .js .beat .word__in, .js .beat .beat__unit { filter: none; transform: none; }
  .js .menu__group[data-reveal] li { transform: none; transition: opacity 200ms linear; transition-delay: 0ms; }
  .js .eyebrow[data-reveal] .eyebrow__index::after, .js .block-title[data-reveal]::after { transform: none; transition: none; }
  .btn, .link-arrow svg { transition: none; }
}
