/* ==========================================================================
   Daryeel Humanitarian Agency
   Palette sampled from the DHA logo. One typeface: Outfit.

   Principles
   - One bold moment: the seasonal calendar on the home page. Everything
     else stays quiet, left-aligned and disciplined.
   - Type carries the voice: light display weight, sentence case, no
     tracked-out capitals.
   - Structure encodes information: numbers only where content is a
     sequence, radius scaled to an element's place in the hierarchy.
   ========================================================================== */

:root {
  /* Brand, from the logo */
  --night:       #080A33;
  --navy-deep:   #0D1050;
  --navy:        #171A85;
  --indigo:      #3637AB;
  --cyan:        #01B8FC;
  --cyan-ink:    #04263A;   /* text on cyan */
  --ice:         #C9D6F5;   /* dry seasons */
  --ice-pale:    #DDE5F8;

  /* Ground and text */
  --paper:       #EEF1FA;
  --paper-deep:  #E2E8F7;
  --white:       #FFFFFF;
  --ink:         #0B0E1C;
  --body:        #3E4458;
  --muted:       #626A80;
  --line:        #D6DCEC;

  /* Motion */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);

  /* Radius follows hierarchy */
  --r-photo:  6px;
  --r-input:  8px;
  --r-panel:  16px;
  --r-tile:   22px;
  --r-block:  clamp(28px, 4.5vw, 56px);

  /* Rhythm */
  --shell:    1240px;
  --gutter:   clamp(1.25rem, 5vw, 3.5rem);
  --section:  clamp(4.5rem, 9vw, 8rem);

  /* Classical scale: 13 15 17 21 28 36 48 64 84 */
  --t-xs:   0.8125rem;
  --t-sm:   0.9375rem;
  --t-body: 1.0625rem;
  --t-lg:   1.3125rem;
  --t-xl:   1.75rem;
  --t-display: clamp(2.75rem, 1.55rem + 5.2vw, 5.25rem);
  --t-h2:      clamp(2rem, 1.45rem + 2.3vw, 3rem);
  --t-h3:      clamp(1.3125rem, 1.15rem + 0.6vw, 1.75rem);

  --measure: 64ch;
}

/* --------------------------------------------------------------- reset -- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--t-body);
  font-weight: 350;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: var(--t-display); font-weight: 300; line-height: 1.02; letter-spacing: -0.038em; }
h2 { font-size: var(--t-h2); font-weight: 400; line-height: 1.08; letter-spacing: -0.028em; }
h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.22; letter-spacing: -0.015em; }
h4 { font-size: var(--t-body); font-weight: 500; line-height: 1.3; }

p { margin: 0 0 1.1em; max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-input);
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* -------------------------------------------------------------- layout -- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 920px; }

.section { position: relative; padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.block { isolation: isolate; }
.block--paper { background: var(--paper); }
.block--white { background: var(--white); }
.block--navy  { background: var(--navy-deep); color: rgba(255, 255, 255, 0.78); }
.block--navy h1, .block--navy h2, .block--navy h3, .block--navy h4 { color: var(--white); }
.block--navy a:not(.btn) { color: var(--cyan); }
.block--cyan  { background: var(--cyan); color: var(--cyan-ink); }
.block--cyan h2, .block--cyan p { color: var(--cyan-ink); }

/* deep blocks rise over the section above with a rounded shoulder */
.block--curve {
  border-radius: var(--r-block) var(--r-block) 0 0;
  margin-top: calc(-1 * var(--r-block));
}

.lead {
  font-size: var(--t-lg);
  line-height: 1.5;
  max-width: 56ch;
}
.block--navy .lead { color: rgba(255, 255, 255, 0.88); }

.muted { color: var(--muted); }
.block--navy .muted { color: rgba(255, 255, 255, 0.66); }

/* heading beside its introduction */
.intro {
  display: grid;
  gap: clamp(1rem, 2.5vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 900px) {
  .intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}
.intro h2 { margin: 0; max-width: 16ch; }
.intro p { margin: 0; max-width: 46ch; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 760px) {
  .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 940px) {
  .split          { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--text    { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .split--media   { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .split--top     { align-items: start; }
  .split--swap > :first-child { order: 2; }
  .sticky         { position: sticky; top: 7rem; }
}

.stack-sm > * + * { margin-top: 1rem; }
.gap-top   { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.gap-top-lg { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  font-size: var(--t-body);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--indigo); }
}

.btn--cyan { background: var(--cyan); color: var(--cyan-ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--cyan:hover { background: var(--white); color: var(--navy); }
}

.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover { background: var(--ink); color: var(--paper); }
}

.block--navy .btn--outline,
.cta .btn--outline { color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
@media (hover: hover) and (pointer: fine) {
  .block--navy .btn--outline:hover,
  .cta .btn--outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
}

.btn--sm { padding: 0.62rem 1.15rem; font-size: var(--t-sm); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ----------------------------------------------------------------- nav -- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 241, 250, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.masthead.is-scrolled { border-bottom-color: var(--line); }

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 80px;
}

.brand { display: inline-flex; }
.brand img { height: 42px; width: auto; }

.nav { display: none; }
@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; gap: 1.6rem; }
  .nav__link {
    position: relative;
    padding: 0.4rem 0;
    font-size: var(--t-sm);
    font-weight: 450;
    color: var(--body);
    text-decoration: none;
  }
  .nav__link[aria-current="page"] { color: var(--ink); font-weight: 500; }
  .nav__link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--cyan);
  }
}
@media (hover: hover) and (pointer: fine) {
  .nav__link:hover { color: var(--navy); }
}

.masthead__actions { display: flex; align-items: center; gap: 0.6rem; }
.masthead__cta { display: none; }
@media (min-width: 1080px) { .masthead__cta { display: inline-flex; } }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: transform 140ms var(--ease-out);
}
.burger:active { transform: scale(0.95); }
.burger span {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 240ms var(--ease-out), opacity 140ms ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1080px) { .burger { display: none; } }

.drawer {
  position: fixed;
  inset: 80px 0 0;
  z-index: 99;
  padding: 1.5rem var(--gutter) 3rem;
  overflow-y: auto;
  background: var(--paper);
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
}
.drawer.is-open {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}
.drawer__list { list-style: none; }
.drawer__list a {
  display: block;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.drawer__list a[aria-current="page"] { color: var(--navy); font-weight: 450; }
.drawer .btn { margin-top: 1.75rem; width: 100%; }

/* ---------------------------------------------------------------- hero -- */

.hero {
  background: var(--paper);
  padding-block: clamp(3rem, 7vw, 6rem) clamp(2.75rem, 5vw, 4.5rem);
}
.hero h1 { max-width: 15ch; }
.hero__lead {
  margin: 1.5rem 0 2.25rem;
  font-size: var(--t-lg);
  line-height: 1.5;
  max-width: 50ch;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: var(--t-sm);
  color: var(--muted);
}
.crumbs a { color: var(--navy); }
.crumbs span { opacity: 0.5; }

/* the single orchestrated load moment */
@media (prefers-reduced-motion: no-preference) {
  .hero [data-load] {
    animation: rise 760ms var(--ease-out) both;
    animation-delay: var(--d, 0ms);
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
}

/* photo strip that follows each hero */
.hero-strip { position: relative; z-index: 1; background: var(--paper); }
.hero-strip__media {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.hero-strip__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 719px) {
  .hero-strip__media { aspect-ratio: 16 / 10; }
}

/* Real photography: a taller frame anchored to the top, so people's heads stay
   in shot however the width crops it. */
@media (min-width: 720px) {
  .hero-strip__media--photo { aspect-ratio: 16 / 9; }
}
.hero-strip__media--photo img { object-position: 50% 0%; }

/* ---------------------------------------------------- seasonal calendar -- */

/* Somalia's year as four seasons, drawn to scale by months. Rains are the
   saturated brand colours; dry seasons are ice. A marker shows today. */
.seasons { margin: clamp(3rem, 6vw, 4.5rem) 0 0; }

.seasons__cap {
  margin: 0 0 1.1rem;
  max-width: 52ch;
  font-size: var(--t-body);
  color: var(--body);
}

.seasons__track { position: relative; }

.seasons__bar {
  list-style: none;
  display: grid;
  gap: 4px;
}
@media (min-width: 720px) {
  .seasons__bar { grid-template-columns: 4fr 3fr 3fr 2fr; }
}

.season {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 1.1rem 1.1rem;
  overflow: hidden;
  border-radius: var(--r-photo);
  background: var(--ice);
  color: var(--ink);
}
@media (min-width: 720px) {
  .season { min-height: 148px; }
  .season:first-child { border-radius: var(--r-panel) var(--r-photo) var(--r-photo) var(--r-panel); }
  .season:last-child  { border-radius: var(--r-photo) var(--r-panel) var(--r-panel) var(--r-photo); }
}
@media (max-width: 719px) {
  .season {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  .season__when { flex: 1; }
  .season .season__now { position: static; flex: none; }
  .season:first-child { border-radius: var(--r-panel) var(--r-panel) var(--r-photo) var(--r-photo); }
  .season:last-child  { border-radius: var(--r-photo) var(--r-photo) var(--r-panel) var(--r-panel); }
}

.season--xagaa { background: var(--ice-pale); }
.season--gu    { background: var(--navy); color: var(--white); }
.season--deyr  { background: var(--cyan); color: var(--cyan-ink); }

.season__name {
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
}
@media (max-width: 719px) {
  .season__name { flex: 0 0 5.5rem; font-size: var(--t-xl); }
}

.season__when {
  font-size: var(--t-sm);
  line-height: 1.35;
}
.season__when strong { display: block; font-weight: 500; }

.season__now {
  position: absolute;
  top: 0.85rem;
  right: 0.9rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: var(--t-xs);
  font-weight: 500;
}
.season--gu .season__now { background: var(--white); color: var(--navy); }
/* On wide screens the marker already shows "now"; the badge is for phones,
   where the marker is hidden. */
@media (min-width: 720px) {
  .season__now { display: none; }
}

.seasons__marker {
  position: absolute;
  top: -10px;
  bottom: -10px;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--ink);
  pointer-events: none;
}
.seasons__marker::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}
@media (max-width: 719px) {
  .seasons__marker { display: none; }
}

.seasons__note {
  margin: 1.1rem 0 0;
  font-size: var(--t-body);
  color: var(--ink);
}

@media (prefers-reduced-motion: no-preference) {
  .seasons .season {
    animation: wipe 720ms var(--ease-out) both;
    animation-delay: calc(360ms + var(--i, 0) * 110ms);
  }
  .seasons__marker {
    animation: rise 520ms var(--ease-out) both;
    animation-delay: 900ms;
  }
}
@keyframes wipe {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* --------------------------------------------------------------- media -- */

.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-photo);
  background: var(--paper-deep);
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media--3x2  { aspect-ratio: 3 / 2; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--21x9 { aspect-ratio: 21 / 9; }
.media--sq   { aspect-ratio: 1 / 1; }
@media (max-width: 719px) {
  .media--21x9 { aspect-ratio: 16 / 10; }
}

/* Duotone: any field photo is pulled into the brand palette, so a mixed set
   taken on different phones still reads as one body of work. */
.duo { isolation: isolate; }
.duo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cyan);
  mix-blend-mode: color;
  opacity: 0.42;
  pointer-events: none;
}
.duo img { filter: grayscale(1) contrast(1.06) brightness(0.96); }
.duo--navy { background: var(--navy-deep); }
.duo--navy::after { background: var(--navy); opacity: 0.55; }
.duo--indigo::after { background: var(--indigo); opacity: 0.5; }

/* two photographs, the smaller one set over the corner of the larger */
.pair { position: relative; padding-bottom: 12%; }
.pair__main { width: 86%; }
.pair__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  border: 6px solid var(--navy-deep);
  border-radius: calc(var(--r-photo) + 6px);
  overflow: hidden;
}
@media (max-width: 599px) {
  .pair { padding-bottom: 0; }
  .pair__main { width: 100%; }
  .pair__inset { display: none; }
}

/* --------------------------------------------------------------- tiles -- */

/* Programme areas as colour blocks, photograph rising from the colour in a
   shallow wave. */
.tiles { display: grid; gap: clamp(0.9rem, 1.8vw, 1.4rem); }
@media (min-width: 720px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-tile);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.84);
}
.tile__body { flex: 1 0 auto; padding: clamp(1.6rem, 3vw, 2.4rem); }
.tile h3 { color: var(--white); max-width: 18ch; }
.tile p { font-size: var(--t-body); max-width: 44ch; }

.tile__media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: -6%;
  overflow: hidden;
}
.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: ellipse(150% 100% at 50% 100%);
}

.tile--indigo { background: var(--indigo); }
.tile--cyan   { background: var(--cyan); color: var(--cyan-ink); }
.tile--cyan h3 { color: var(--cyan-ink); }
.tile--night  { background: var(--night); }

/* --------------------------------------------------------------- cards -- */

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-panel);
  background: var(--white);
}
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-deep); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { padding: clamp(1.4rem, 2.4vw, 1.9rem); }
.card h3 { font-size: var(--t-lg); margin-bottom: 0.45rem; }
.card p { color: var(--muted); font-size: var(--t-body); }

/* -------------------------------------------------------------- values -- */

.value {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.value h3 { font-size: var(--t-lg); margin-bottom: 0.35rem; }
.value p { color: rgba(255, 255, 255, 0.7); }

/* --------------------------------------------------------------- steps -- */

/* a real sequence, so it is numbered */
.steps { list-style: none; display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { counter-increment: step; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.step::before {
  content: counter(step);
  display: block;
  margin-bottom: 1rem;
  font-size: var(--t-display);
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: var(--t-lg); margin-bottom: 0.4rem; }
.step p { font-size: var(--t-body); color: rgba(255, 255, 255, 0.72); }

/* --------------------------------------------------------------- lists -- */

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: var(--t-sm);
  color: var(--body);
}
.block--navy .chips li {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.86);
}

.list-label {
  margin: 0 0 0.9rem;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--muted);
}
.block--navy .list-label { color: rgba(255, 255, 255, 0.66); }

.ticks { list-style: none; display: grid; gap: 0.85rem; }
.ticks li { position: relative; padding-left: 2rem; max-width: 60ch; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304263A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.66rem no-repeat;
}
.block--navy .ticks li { color: rgba(255, 255, 255, 0.86); }

/* -------------------------------------------------------------- panels -- */

.panel {
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border-radius: var(--r-panel);
  background: var(--white);
}
.panel--navy { background: var(--navy); color: rgba(255, 255, 255, 0.86); }
.panel--cyan { background: var(--cyan); color: var(--cyan-ink); }
.panel__label { margin: 0 0 1rem; font-size: var(--t-sm); font-weight: 500; opacity: 0.8; }

.statement {
  max-width: 34ch;
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.4rem);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.panel--navy .statement,
.block--navy .statement { color: var(--white); }
.panel--cyan .statement { color: var(--cyan-ink); }

/* ----------------------------------------------------------------- CTA -- */

.cta { overflow: hidden; color: rgba(255, 255, 255, 0.82); }
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(165deg, rgba(23, 26, 133, 0.95) 0%, rgba(13, 16, 80, 0.95) 55%, rgba(8, 10, 51, 0.97) 100%);
}
.cta h2 { color: var(--white); max-width: 18ch; }
.cta p { color: rgba(255, 255, 255, 0.82); }

/* --------------------------------------------------------------- forms -- */

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.4rem; }
.field > label { font-size: var(--t-sm); font-weight: 500; color: var(--ink); }
.field .opt { font-weight: 350; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: var(--t-body);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { resize: vertical; min-height: 150px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626A80' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.6rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(1, 184, 252, 0.22);
}

.form__note { font-size: var(--t-sm); color: var(--muted); }

.details { list-style: none; display: grid; gap: 1.35rem; }
.details li { display: grid; gap: 0.15rem; }
.details__label { font-size: var(--t-sm); color: rgba(255, 255, 255, 0.62); }
.details__value { font-size: var(--t-lg); font-weight: 400; color: var(--white); }

.tbd {
  display: inline-block;
  padding: 0.05rem 0.55rem;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: var(--r-input);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--t-body);
}

/* ------------------------------------------------------------- updates -- */

.post { display: grid; gap: 0.6rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.post__meta { font-size: var(--t-sm); color: var(--muted); }
.post h3 { margin: 0; }

.empty {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px dashed var(--ice);
  border-radius: var(--r-panel);
  background: var(--white);
}
.empty h3 { margin-bottom: 0.5rem; }
.empty .btn { margin-top: 1.5rem; }

/* -------------------------------------------------------------- footer -- */

.footer { background: var(--night); color: rgba(255, 255, 255, 0.6); font-size: var(--t-sm); }
.footer__top {
  display: grid;
  gap: clamp(2.25rem, 4vw, 3.5rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}
.footer__logo img { height: 46px; width: auto; }
.footer__logo strong {
  display: block;
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--white);
}
.footer__logo span span {
  display: block;
  margin-top: 0.3rem;
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.72);
}
.footer__brand p { max-width: 36ch; }
.footer h4 { margin-bottom: 1rem; font-size: var(--t-sm); color: var(--white); }
.footer ul { list-style: none; display: grid; gap: 0.65rem; }
.footer a { color: rgba(255, 255, 255, 0.64); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .footer a:hover { color: var(--white); text-decoration: underline; }
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--t-xs);
  color: rgba(255, 255, 255, 0.46);
}
.footer__bottom p { margin: 0; }

/* ------------------------------------------------------ reduced motion -- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .btn:active, .burger:active { transform: none; }
}

/* --------------------------------------------------------------- print -- */

@media print {
  .masthead, .drawer, .cta, .btn-row, .hero-strip, .seasons__marker { display: none !important; }
  body { background: #fff; color: #000; }
  .block--navy { background: #fff !important; color: #000 !important; }
  .block--navy h2, .block--navy h3, .block--navy p { color: #000 !important; }
}
