:root {
  --navy: #14343c;
  --navy-deep: #0c2429;
  --navy-soft: #1e4d57;
  --teal: #1a5c68;
  --clay: #e07a45;
  --clay-deep: #c4652f;
  --aqua: #6cbdc1;
  --gold-bright: #f6dcc8;
  --ivory: #f4f1ea;
  --paper: #fffcf8;
  --sand: #efe6d6;
  --ink: #172226;
  --muted: #5c6b70;
  --line: rgba(20, 52, 60, 0.12);
  --shadow: 0 24px 60px rgba(12, 36, 41, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --arabic: "Amiri", "Noto Naskh Arabic", serif;
  --radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--clay) 0 22%, var(--aqua) 22% 100%);
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  line-height: 1.15;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--teal);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.hero :focus-visible,
.page-hero :focus-visible,
.quote :focus-visible,
.site-footer :focus-visible,
.info-bar :focus-visible {
  outline-color: var(--gold-bright);
}

::selection {
  background: #f3c7a4;
  color: var(--navy);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 50;
  background: var(--paper);
  color: var(--navy);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
}

.skip:focus {
  top: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.info-bar {
  background: var(--navy-deep);
  color: var(--ivory);
}

.info-bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 42px;
  font-size: 0.92rem;
}

.info-bar p {
  margin: 0;
}

.info-bar a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.info-bar a:hover {
  color: var(--gold-bright);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 241, 234, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  height: 104px;
  width: auto;
  flex: none;
  object-fit: contain;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-button {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  cursor: pointer;
  color: var(--navy);
}

.nav-button-bars,
.nav-button-bars::before,
.nav-button-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}

.nav-button-bars::before,
.nav-button-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-button-bars::before {
  top: -6px;
}

.nav-button-bars::after {
  top: 6px;
}

.nav-toggle:checked ~ .nav-button .nav-button-bars {
  background: transparent;
}

.nav-toggle:checked ~ .nav-button .nav-button-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle:checked ~ .nav-button .nav-button-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}

.nav a[aria-current="page"] {
  background: rgba(20, 52, 60, 0.06);
}

.nav-cta {
  margin-left: 0.3rem;
  background: var(--navy);
  color: var(--ivory) !important;
}

.nav-cta:hover {
  background: var(--navy-soft);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(224, 122, 69, 0.22), transparent 42%),
    radial-gradient(ellipse at 100% 100%, rgba(108, 189, 193, 0.16), transparent 46%),
    var(--navy);
}

.hero {
  padding: clamp(3.2rem, 6vw, 5.2rem) 0 5rem;
}

.page-hero {
  padding: clamp(3rem, 6vw, 4.8rem) 0;
}

.hero-arch {
  position: absolute;
  right: -1.5rem;
  bottom: -2.2rem;
  width: min(420px, 48vw);
  color: rgba(246, 220, 200, 0.28);
  pointer-events: none;
}

.hero-copy,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  margin: 0.15rem 0 1rem;
  max-width: 14ch;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  line-height: 0.94;
}

.hero h1 .line,
.page-hero h1 .line {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--gold-bright);
}

.keep,
a[href^="mailto:"] {
  white-space: nowrap;
}

.hero .kicker,
.page-hero .kicker,
.quote .kicker {
  color: var(--gold-bright);
}

.lede {
  max-width: 40rem;
  margin: 0;
  color: rgba(244, 241, 234, 0.86);
  font-size: 1.14rem;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-gold {
  background: var(--clay);
  color: #1a120c;
}

.btn-gold:hover {
  background: #f09968;
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  box-shadow: inset 0 0 0 1.5px rgba(244, 241, 234, 0.72);
}

.btn-ghost:hover {
  background: rgba(255, 252, 248, 0.08);
}

.btn-navy {
  background: var(--navy);
  color: var(--ivory);
}

.btn-navy:hover {
  background: var(--navy-soft);
}

.btn-line {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--navy);
}

.btn-line:hover {
  background: var(--navy);
  color: var(--ivory);
}

.pull-figure {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin: -2.6rem auto 0;
}

.pull-figure img,
.photo img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

.pull-figure img {
  box-shadow: 0 28px 70px rgba(12, 36, 41, 0.28);
}

.photo {
  margin: 0;
}

.photo img {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.pull-figure figcaption,
.photo figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.facts {
  padding: 2.4rem 0 0.4rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem 1.5rem;
}

.facts-value {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.facts p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: clamp(3.4rem, 7vw, 5.8rem) 0;
}

.section-sand {
  background: var(--sand);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.8rem;
}

.section-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.2rem;
}

.card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.2rem;
  display: grid;
  gap: 1.35rem;
  border-left: 1px solid rgba(224, 122, 69, 0.45);
}

.timeline li {
  position: relative;
  padding-left: 1.4rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px var(--ivory);
}

.section-sand .timeline li::before {
  box-shadow: 0 0 0 4px var(--sand);
}

.timeline li.is-done::before {
  background: var(--navy);
}

.timeline li.is-ahead::before {
  background: var(--ivory);
  box-shadow: 0 0 0 2px var(--clay), 0 0 0 6px var(--ivory);
}

.timeline h3 {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.35rem;
}

.timeline p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-done {
  background: #e4f0e6;
  color: #1c5a34;
}

.pill-live {
  background: #f8e7d4;
  color: #8a3f12;
}

.pill-ahead {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px rgba(20, 52, 60, 0.35);
}

.notice {
  margin-top: 1.3rem;
  background: #f8f1e3;
  border: 1px solid rgba(196, 101, 47, 0.35);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.05rem;
}

.notice h2,
.notice h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.notice p:last-child {
  margin-bottom: 0;
}

.clean-list {
  margin: 0.2rem 0 1rem;
  padding-left: 1.15rem;
}

.clean-list li {
  margin: 0.35rem 0;
}

.clean-list li::marker {
  color: var(--clay-deep);
}

.quote {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(224, 122, 69, 0.18), transparent 42%),
    var(--navy);
  color: var(--ivory);
  padding: clamp(4rem, 8vw, 6.2rem) 0;
}

.arabic {
  margin: 0 0 1.1rem;
  text-align: right;
}

.arabic span {
  display: inline-block;
  max-width: 36rem;
  direction: rtl;
  font-family: var(--arabic);
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.9;
  color: var(--gold-bright);
}

.quote blockquote {
  margin: 0;
  max-width: 44rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.quote blockquote p {
  margin: 0;
}

.quote cite {
  display: block;
  margin-top: 1.15rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--gold-bright);
}

.verse {
  max-width: 46rem;
}

.quote .lede {
  margin-top: 1.35rem;
}

.verse > .btn {
  margin-top: 1.5rem;
}

.stack {
  display: grid;
  gap: 1rem;
}

.people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.person {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.05rem 0.95rem;
}

.person span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.person strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  color: var(--navy);
}

.address-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.address-list a {
  color: inherit;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(244, 241, 234, 0.82);
  padding: 3.4rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin: 0 0 0.55rem;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.85rem;
}

.footer-label {
  margin: 0 0 0.7rem;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  color: rgba(244, 241, 234, 0.62);
  font-size: 0.9rem;
}

.footer-base p {
  margin: 0;
}

[id] {
  scroll-margin-top: 6rem;
}

@media (max-width: 979px) {
  .nav-button {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 1.25rem 1.1rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(12, 36, 41, 0.08);
  }

  .nav-toggle:checked ~ .nav {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0.15rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.08rem;
  }

  .nav-cta {
    margin: 0.85rem 0 0;
    border-bottom: 0;
    text-align: center;
  }

  .split,
  .footer-grid,
  .facts-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .info-bar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.45rem 0;
    font-size: 0.86rem;
  }

  .info-bar a {
    white-space: normal;
  }

  .brand img {
    height: 76px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.7rem;
  }

  .facts-grid,
  .feature-grid,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .actions .btn,
  .verse > .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
