/* ==========================================================================
   ENGLISH TYPOGRAPHY (the pages in en/; nothing here touches a Persian page)
   Two Latin faces, both open (SIL Open Font License), served from the site: Sora for display (headings, names,
   numerals: geometric and a little wide, as the Karun word mark is) and Manrope for text and controls. Dubai
   stays behind them for the few Persian words an English page carries (the «فا» switch).
   English is set as English is read: ragged right rather than justified, tighter lines than Persian needs,
   headings close-set and a step smaller than their Persian size (Latin capitals stand taller), small labels
   in spaced capitals. Loaded last, so it has the last word on type.
   ========================================================================== */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 300 800; 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; }
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin.woff2") format("woff2"); font-weight: 300 800; 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; }

html[lang="en"] { --font: "Manrope", "Dubai", "Segoe UI", system-ui, sans-serif; --display: "Sora", "Manrope", "Dubai", sans-serif; }
html[lang="en"] body { font-size: 16.5px; line-height: 1.7; font-weight: 400; letter-spacing: -0.003em; font-optical-sizing: auto; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
html[lang="en"] b, html[lang="en"] strong { font-weight: 700; }

/* ---------- text: ragged right, calmer leading, no forced breaks inside words ---------- */
html[lang="en"] :is(p, .lede, .desc, .insight, .words, .contact h1, .footer__cta h2, .crow span.v, .pcard p, .path p, .plist p, .story__body p, .sibling span.s, .svc__p, .mean p, .step p, .fit li, .labout__text p) {
  text-align: start; -webkit-hyphens: manual; hyphens: manual; }
html[lang="en"] :is(p, .lede, .desc, .path p, .plist p, .pcard p, .svc__p, .mean p, .step p, .fit li, .labout__text p:not(.labout__lead), .cinfo .insight, .request__side p) { line-height: 1.72; }
html[lang="en"] .story__body { line-height: 1.75; }
html[lang="en"] .panel .lede { line-height: 1.75; max-width: 600px; }
html[lang="en"] :is(.gap__goal, .gap__lead, .head--center p) { text-align: center; }

/* ---------- display: headings, names, numerals ---------- */
html[lang="en"] :is(h1, h2, h3, h4, .panel--line .name, .mlink__title, .gap__word, .cinfo__head b, .cnode b, .lens__core b, .ring-label b, .sibling b, .mcard__head b,
  .path__num, .step__n, .svcs__count b, .principles__aside .count b, .pcard .num, .footer__cta h2, .story__body .quote, .rform__done b) {
  font-family: var(--display); font-weight: 600; letter-spacing: -0.028em; }
html[lang="en"] :is(h1, h2) { line-height: 1.14; }
html[lang="en"] h3 { line-height: 1.26; letter-spacing: -0.02em; }

/* home */
html[lang="en"] .panel h1 { font-size: clamp(44px, 5.5vw, 90px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 600; margin: 26px 0 24px; }
html[lang="en"] .panel--line .name { font-size: clamp(54px, 7.2vw, 118px); line-height: 1.04; letter-spacing: -0.045em; font-weight: 600; margin-top: 14px; }
html[lang="en"] .panel--line .sub { margin-top: 10px; font-size: clamp(17px, 1.45vw, 22px); font-weight: 600; letter-spacing: -0.01em; }
html[lang="en"] .panel--line .insight { font-weight: 500; line-height: 1.6; }
html[lang="en"] .pill { font-weight: 600; letter-spacing: -0.005em; }
/* the lead badge keeps to one line beside the ring: its size follows the column (about 47% of the window) */
@media (min-width: 900.02px) { html[lang="en"] .pill--lead { font-size: min(19px, calc(1.52vw - 2.5px)); padding: 9px 22px; } }
@media (min-width: 900.02px) and (max-height: 700px) { html[lang="en"] .pill--lead { font-size: min(15.5px, calc(1.52vw - 2.5px)); padding: 7px 18px; } }
html[lang="en"] .ring-label b { font-size: 15.5px; letter-spacing: -0.01em; }
html[lang="en"] .ring-label.is-active b { font-size: 19px; }
html[lang="en"] .ring-label small { font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
html[lang="en"] .head h2, html[lang="en"] .svcs__head h2, html[lang="en"] .request__side h2 { letter-spacing: -0.035em; }
html[lang="en"] .path h3 { font-size: clamp(21px, min(2vw, 3.4vh), 30px); }
html[lang="en"] .path p b { font-weight: 700; }

/* small labels: spaced capitals */
html[lang="en"] :is(.eyebrow, .menu__label, .svc__q span, .cinfo__head small, .cnode small, .crumbs, .footer h4, .hubfoot h4, .crow small, .mq__t small, .request__direct small) {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
html[lang="en"] .eyebrow { gap: 14px; }
html[lang="en"] .cnode small { font-size: 9.5px; letter-spacing: 0.1em; }
html[lang="en"] .crumbs { letter-spacing: 0.1em; font-weight: 600; }
html[lang="en"] .crumbs a, html[lang="en"] .crumbs span { text-transform: uppercase; }
html[lang="en"] :is(.key, .tag, .mcard__key, .cnode span, .lhero .key) { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; }

/* controls */
html[lang="en"] .btn { font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; }
html[lang="en"] .more { font-size: 15.5px; font-weight: 600; }
html[lang="en"] .nav a { font-size: 14.5px; font-weight: 600; letter-spacing: -0.005em; }
html[lang="en"] .hubfoot__next.btn, html[lang="en"] .footer .footer__next.btn { font-size: 14px; }
html[lang="en"] .lang { font-family: "Dubai", Tahoma, sans-serif; }

/* inner pages */
html[lang="en"] .phero h1 { font-size: clamp(30px, min(4vw, 6.6vh), 64px); line-height: 1.12; letter-spacing: -0.035em; max-width: 1000px; }
html[lang="en"] .phero .words { font-weight: 500; letter-spacing: -0.012em; line-height: 1.6; }
html[lang="en"] .lhero h1 { font-size: clamp(56px, min(9.2vw, 14vh), 150px); line-height: 1; letter-spacing: -0.05em; margin-top: 16px; }
html[lang="en"] .lhero .sub { margin-top: 14px; font-size: clamp(18px, min(1.6vw, 2.8vh), 24px); font-weight: 600; letter-spacing: -0.01em; }
html[lang="en"] .lhero__say { font-size: clamp(17px, min(1.5vw, 2.7vh), 23px); line-height: 1.55; letter-spacing: -0.012em; }
html[lang="en"] .labout__lead { font-family: var(--display); font-weight: 500; font-size: clamp(19px, min(1.65vw, 3vh), 26px); line-height: 1.5; letter-spacing: -0.02em; }
html[lang="en"] .svc__t { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
html[lang="en"] .svc__t small { font-family: var(--font); font-weight: 600; letter-spacing: 0; margin-top: 3px; }
html[lang="en"] .svc__q { font-family: var(--display); font-weight: 500; line-height: 1.5; letter-spacing: -0.018em; }
html[lang="en"] .svc__q span { font-family: var(--font); margin-bottom: 8px; }
html[lang="en"] .cinfo__head b { letter-spacing: -0.04em; }
html[lang="en"] .cinfo__sub { font-weight: 600; letter-spacing: -0.005em; }
html[lang="en"] .gap__word { font-weight: 600; letter-spacing: -0.04em; }
html[lang="en"] .gap__goal { font-family: var(--display); font-weight: 500; line-height: 1.45; letter-spacing: -0.02em; }
html[lang="en"] .story__body .quote { font-weight: 500; line-height: 1.4; }
html[lang="en"] .plist h3 { font-weight: 600; }
html[lang="en"] .contact h1 { font-family: var(--font); font-weight: 500; letter-spacing: -0.012em; line-height: 1.6; }
html[lang="en"] .crow a.v, html[lang="en"] .crow span.v { font-weight: 600; letter-spacing: -0.01em; }
html[lang="en"] .footer__cta h2 { letter-spacing: -0.035em; }
html[lang="en"] .mlink { --fs: clamp(28px, min(3.7vw, 6.4vh), 84px); }
html[lang="en"] .mlink__title { line-height: 1.2; letter-spacing: -0.035em; }
html[lang="en"] .msub__a { font-weight: 600; }
html[lang="en"] .mcard__head b { font-size: clamp(20px, 1.7vw, 30px); }
html[lang="en"] :is(.fld > span, .fld input, .fld textarea) { letter-spacing: 0; }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  html[lang="en"] body { font-size: 16px; }
  html[lang="en"] .panel--hero h1 { font-size: clamp(34px, 10.4vw, 44px); line-height: 1.06; margin: 14px 0 12px; }
  html[lang="en"] .panel .lede { font-size: 14.5px; line-height: 1.65; }
  html[lang="en"] .panel--line .name { font-size: clamp(44px, 14vw, 60px); margin-top: 8px; }
  html[lang="en"] .panel--line .sub { font-size: 16px; margin-top: 6px; }
  html[lang="en"] .panel--line .insight { font-size: 15px; line-height: 1.55; }
  html[lang="en"] .head h2 { font-size: clamp(27px, 7.4vw, 36px); }
  html[lang="en"] .phero h1 { font-size: clamp(25px, 7vw, 34px); }
  html[lang="en"] .phero .words { font-size: 18px; line-height: 1.6; }
  html[lang="en"] .lhero h1 { font-size: clamp(52px, 17vw, 76px); }
  html[lang="en"] .lhero__say { font-size: 17px; }
  html[lang="en"] .labout__lead { font-size: 20px; }
  html[lang="en"] .svc__t { font-size: 16px; }
  html[lang="en"] .svc__q { font-size: 17px; }
  html[lang="en"] .gap__word { font-size: clamp(22px, 7.4vw, 36px); }
  html[lang="en"] .gap__goal { font-size: 21px; }
  html[lang="en"] .mlink { --fs: clamp(19px, 5.4vw, 23px); }
  html[lang="en"] .mlink__title { font-weight: 600; letter-spacing: -0.02em; }
  html[lang="en"] .footer__cta h2 { font-size: 25px; line-height: 1.3; }
  html[lang="en"] .contact h1 { font-size: 20px; }
  html[lang="en"] .cnode b { font-size: clamp(15px, 4.6vw, 20px); }
}
@media (max-width: 900px) and (max-height: 760px) and (orientation: portrait) {
  html[lang="en"] .panel--hero h1 { font-size: 31px; margin: 10px 0 8px; }
  html[lang="en"] .panel .lede { font-size: 13.5px; }
  html[lang="en"] .panel--line .name { font-size: 42px; }
}
