@font-face { font-family: "Modam"; src: url("/assets/fonts/modam-regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Modam"; src: url("/assets/fonts/modam-bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Modam"; src: url("/assets/fonts/modam-black.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/inter-tight.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: "Noto Naskh Arabic";
  src: url("assets/fonts/noto-naskh-arabic.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root[data-palette="olive"] {
  --reference-clay: #b6865a;
  --latin-display: "Freight Display Pro", "Cormorant Garamond", Georgia, serif;
  --latin-reading: "Inter Tight", Arial, sans-serif;
  --persian-reading: "Modam", Tahoma, sans-serif;
  --reference-display: var(--latin-display);
  --reference-reading: var(--latin-reading);
  --reference-leading: 1.38;
  --reference-nav-style: italic;
  --reference-title-style: italic;
  --reference-display-weight: 500;
  --reference-title-size: clamp(46px, 7.27vw, 98px);
  --reference-contact-title-size: clamp(44px, 5.46vw, 74px);
}

:root[data-palette="olive"][lang="fa"] {
  --reference-display: "Modam", Tahoma, sans-serif;
  --reference-reading: var(--persian-reading);
  --reference-leading: 1.68;
  --reference-nav-style: normal;
  --reference-title-style: normal;
  --reference-display-weight: 400;
  --reference-title-size: clamp(41px, 5.9vw, 79px);
  --reference-contact-title-size: clamp(39px, 5.1vw, 69px);
}

[data-palette="olive"] body {
  font-family: var(--reference-reading);
  font-weight: 500;
}
[data-palette="olive"] .site-header-inner { position: relative; }
.language-link { display: none; }
[data-palette="olive"] .language-link {
  position: absolute;
  inset-block-start: clamp(11px, 2.6vw, 35px);
  inset-inline-end: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 52px;
  color: var(--reference-olive);
  font-family: var(--reference-reading);
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
[data-palette="olive"] .language-link[lang="en"] { font-family: var(--latin-reading); }
[data-palette="olive"] .language-link[lang="fa"] { font-family: var(--persian-reading); }
[data-palette="olive"] .olive-brand { margin-bottom: 29px; }
[data-palette="olive"] .olive-brand .brand-role {
  inset-inline: auto;
  left: -46px;
  bottom: -27px;
  color: var(--reference-charcoal);
  text-align: right;
  font-family: var(--reference-reading);
  font-size: 11px;
  line-height: 1.52;
  font-weight: 600;
}
[data-palette="olive"] .site-header nav {
  font-family: var(--reference-display);
  font-style: var(--reference-nav-style);
  font-weight: var(--reference-display-weight);
  font-size: clamp(16px, 1.7vw, 23px);
  line-height: 1.7;
  letter-spacing: normal;
}

[data-palette="olive"] :is(.hero h1, .hero-description, .olive-summary h2, .olive-summary p) {
  font-family: var(--reference-display);
  font-weight: var(--reference-display-weight);
  letter-spacing: normal;
}
[data-palette="olive"] :is(.hero h1, .hero-description) {
  font-size: clamp(22px, calc(17.6px + .76vw), 28px);
  line-height: var(--reference-leading);
}
[data-palette="olive"] .hero h1 { margin-bottom: clamp(16px, 2.7vw, 35px); }
[data-palette="olive"] .hero-description { max-width: 26em; }
[data-palette="olive"] :is(.olive-summary h2, .olive-summary p) {
  font-size: clamp(24px, 2.67vw, 36px);
  line-height: var(--reference-leading);
}
[data-palette="olive"] .olive-summary p { width: min(100%, 940px); }

[data-palette="olive"] .button {
  min-height: clamp(48px, 4.53vw, 61px);
  font-family: var(--reference-reading);
  font-size: clamp(12px, calc(10.4px + .24vw), 14px);
  font-weight: 600;
  letter-spacing: .01em;
}
:root[data-palette="olive"][lang="en"] .button { text-transform: uppercase; }
:root[data-palette="olive"][lang="fa"] .button { letter-spacing: normal; }

:root[data-page]:not([data-page="home"]) .practice-page main h1 {
  font-family: var(--reference-display);
  font-style: var(--reference-title-style);
  font-weight: var(--reference-display-weight);
  font-size: var(--reference-title-size);
  line-height: 1.03;
  letter-spacing: normal;
}
:root[data-page="contact"] .practice-page main h1 { font-size: var(--reference-contact-title-size); line-height: 1.21; }
:root[lang="en"]:is([data-page="about"], [data-page="offerings"]) .practice-page main h1 { text-transform: lowercase; }
:root[lang="fa"][data-page]:not([data-page="home"]) .practice-page main h1 { line-height: 1.38; }
:root[data-page="about"] .practice-copy p {
  font-family: var(--reference-display);
  font-size: clamp(20px, 1.7vw, 23px);
  font-weight: var(--reference-display-weight);
  line-height: var(--reference-leading);
}
:root[data-page] :is(.space-text h2, .offering h2, .practice-field-title) {
  font-family: var(--reference-display);
  font-weight: var(--reference-display-weight);
  font-size: clamp(25px, 2.67vw, 36px);
  line-height: var(--reference-leading);
}
:root[data-page="offerings"] .offerings-intro {
  max-width: 730px;
  margin: 26px auto 0;
  text-align: center;
}
:root[data-page] :is(.offering p, .offerings-intro, .contact-lead .practice-copy > p) {
  font-family: var(--reference-reading);
  font-size: clamp(15px, 1.31vw, 17.7px);
  font-weight: 500;
  line-height: 1.58;
}
:root[data-page][lang="fa"] :is(.offering p, .offerings-intro, .contact-lead .practice-copy > p) { line-height: 1.95; }
:root[data-page] .practice-form .practice-field-title { color: var(--reference-olive); }
[data-palette="olive"] .footer-inner { min-height: clamp(155px, 16.4vw, 221px); }
[data-palette="olive"] :is(.footer-inner, .olive-footer-links) { font-size: clamp(12px, 1.06vw, 14.3px); }
:root[lang="en"] .olive-footer-links { font-family: var(--latin-reading); }

@media (min-width: 761px) {
  :root[lang="en"] .hero-copy,
  :root[lang="en"][data-page="about"] .practice-lead:not(.space-details) .practice-copy { grid-area: 1 / 2; }
  :root[lang="en"] .hero-portrait,
  :root[lang="en"][data-page="about"] .about-image { grid-area: 1 / 1; }
  :root[lang="en"] .contact-lead .practice-copy { grid-area: 1 / 1; }
  :root[lang="en"] .contact-image { grid-area: 1 / 2; }
}

@media (max-width: 660px) {
  [data-palette="olive"] .olive-brand .brand-role { left: -46px; bottom: -29px; }
  [data-palette="olive"] .site-header nav { column-gap: 19px; }
  [data-palette="olive"] .hero h1 { margin-bottom: 12px; }
}

:root[lang="fa"] body, :root[lang="fa"] input, :root[lang="fa"] textarea, :root[lang="fa"] select, :root[lang="fa"] button { font-family: "Modam", Tahoma, sans-serif; }
