/* English version: the same structure as the Arabic, with touches of its own. */

/* Hero and contact: a quiet line, then a dark one. The hero's ampersand is the ornament. */
html:not([dir="rtl"]) .en-title { color: var(--ink); font-size: clamp(1.45rem, 6.5vw, 2rem); line-height: 1.4; }
.en-line { display: block; white-space: nowrap; }
.en-soft { color: var(--ink-soft); }
.en-amp {
  display: inline-block;
  margin-inline: -.02em .04em;
  font-family: "Instrument Serif", "Times New Roman", serif;
  font-size: 1.55em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: .6;
  vertical-align: -.07em;
}
.en-title.is-playing .en-amp { animation: en-amp 1400ms cubic-bezier(.2, .8, .2, 1) both; }
@keyframes en-amp { from { opacity: 0; transform: rotate(-14deg) scale(.7); } }

/* Contact: a small first line, then a larger second one */
.cta .en-title .en-soft { font-size: .68em; }
.cta .en-title .en-line:last-child { font-size: 1.04em; }

/* Section headings share the display voice, as the Arabic ones share Fatimah */
html:not([dir="rtl"]) .subtitle { font-family: var(--font-display); font-size: clamp(1.05rem, 4.9vw, 1.5rem); line-height: 1.55; letter-spacing: -.035em; }
html:not([dir="rtl"]) .xp-road { letter-spacing: 0; }

/* Text sizes: titles, descriptions and small details */
html:not([dir="rtl"]) .service h3, html:not([dir="rtl"]) .xp-company { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
html:not([dir="rtl"]) .service p, html:not([dir="rtl"]) .xp-note { font-size: .875rem; line-height: 1.6; }
html:not([dir="rtl"]) .xp-date, html:not([dir="rtl"]) .xp-duration, html:not([dir="rtl"]) .xp-role { font-size: .8125rem; line-height: 1.55; }
html:not([dir="rtl"]) .project-name { font-size: 1rem; }
html:not([dir="rtl"]) .project-tag { font-size: .8125rem; }

@media (prefers-reduced-motion: reduce) {
  .en-title.is-playing .en-amp { animation: none; }
}

@media (min-width: 600px) {
  .cta .en-title .en-line:last-child { font-size: 1.12em; }
}

@media (min-width: 900px) {
  html:not([dir="rtl"]) .en-title { line-height: 1.35; }
  html:not([dir="rtl"]) .hero .en-title { font-size: calc(var(--u) * 58); }
  html:not([dir="rtl"]) .cta .en-title { font-size: calc(var(--u) * 48); }
  html:not([dir="rtl"]) .subtitle { font-size: calc(var(--u) * 28); line-height: calc(var(--u) * 48); }
  html:not([dir="rtl"]) .btn, html:not([dir="rtl"]) .pill { font-size: calc(var(--u) * 14); }
  html:not([dir="rtl"]) .tag { font-size: calc(var(--u) * 13); }
  html:not([dir="rtl"]) .service h3, html:not([dir="rtl"]) .xp-company { font-size: calc(var(--u) * 18); line-height: calc(var(--u) * 26); }
  html:not([dir="rtl"]) .service p, html:not([dir="rtl"]) .xp-note { font-size: calc(var(--u) * 15); line-height: calc(var(--u) * 24); }
  html:not([dir="rtl"]) .xp-date, html:not([dir="rtl"]) .xp-duration, html:not([dir="rtl"]) .xp-role { font-size: calc(var(--u) * 13); line-height: calc(var(--u) * 20); }
  html:not([dir="rtl"]) .project-name { font-size: calc(var(--u) * 15); }
  html:not([dir="rtl"]) .project-tag { font-size: calc(var(--u) * 13); }
}
