*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; overflow-x: clip; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-sans); line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-block-start: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.04em; text-wrap: balance; }
h1 { max-width: 15ch; font-size: clamp(2.75rem, 6vw, 4.75rem); }
h2 { max-width: 18ch; font-size: clamp(2rem, 4vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--color-orange); color: var(--color-white); }
:focus-visible { outline: .2rem solid var(--color-orange); outline-offset: .25rem; }
.skip-link { position: fixed; inset-block-start: .5rem; inset-inline-start: .5rem; z-index: 1000; padding: .75rem 1rem; background: var(--color-white); color: var(--color-ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(calc(100% - 2rem), var(--content-max)); margin-inline: auto; padding-block: var(--space-section); }
.eyebrow { margin-block-end: 1.1rem; color: var(--color-orange); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
[lang="ar"] .eyebrow { letter-spacing: 0; }
.large-copy { max-width: var(--content-reading); font-size: clamp(1.125rem, 1.8vw, 1.5rem); line-height: 1.55; }
.display-copy { max-width: 38ch; font-size: clamp(1.4rem, 2.4vw, 2.25rem); line-height: 1.4; }
.section-heading { display: grid; gap: 1rem; margin-block-end: 3rem; }
.section-heading > p:last-child { max-width: 42rem; font-size: 1.1rem; color: var(--color-muted); }
.disclosure { max-width: 50rem; margin-block-start: 2rem; color: var(--color-muted); font-size: .92rem; }

@media (min-width: 48rem) {
  .section-shell { width: min(calc(100% - 4rem), var(--content-max)); }
  .section-heading { grid-template-columns: minmax(0, 1fr) minmax(18rem, .6fr); align-items: end; }
  .section-heading .eyebrow { grid-column: 1 / -1; }
}

@media (max-width: 47.99rem) {
  h1, h2, h3, p, a, strong, small { overflow-wrap: break-word; }
  .section-shell { width: min(calc(100% - 2rem), var(--content-max)); }
  .section-heading { margin-block-end: 2rem; }
  .section-heading > p:last-child { font-size: 1rem; }
}

@media print {
  .site-header, .site-footer, .project-fab, .proposal-dialog, .hero-controls, .pulse-section { display: none !important; }
  body { background: white; color: black; }
  main { padding: 0; }
}
