/* =========================================================================
   Sections — the dawn hero, page heroes, picture/video bands, the needs.
   ========================================================================= */

/* ---- Home hero: dawn over the sea ----------------------------------------
   The one thing on the site that moves by itself, once, as the page opens.
   It is also the placeholder for the film to come: put a <video> or an <img>
   in .hero__media and the painted dawn steps aside. */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + var(--space-8)) clamp(var(--space-7), 7vh, var(--space-9));
  overflow: hidden;
  overflow: clip;
  background: var(--sea-deep);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 21, 27, 0.78) 0%, rgba(4, 21, 27, 0.42) 46%, rgba(4, 21, 27, 0) 74%),
    linear-gradient(0deg, rgba(4, 21, 27, 0.5) 0%, rgba(4, 21, 27, 0) 45%);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; }

.dawn { position: absolute; inset: 0; z-index: -1; --horizon: 64%; --sun-x: 72%; }
.dawn > span { position: absolute; display: block; }
.dawn__sky {
  inset: 0 0 calc(100% - var(--horizon)) 0;
  background: linear-gradient(180deg,
    #03131a 0%, #06222d 28%, #0e3d4b 52%, #2b5f66 70%, #a5705f 86%, #f09a4e 95%, #ffd27d 100%);
}
.dawn__light {
  inset: 0;
  background:
    radial-gradient(40vmax 24vmax at var(--sun-x) var(--horizon), rgba(255, 214, 110, 0.85) 0%, rgba(255, 160, 80, 0.36) 40%, rgba(255, 150, 70, 0) 74%);
  animation: dawn-light 7s var(--ease) 0.2s both;
}
.dawn__sun {
  left: var(--sun-x);
  top: var(--horizon);
  width: clamp(130px, 21vmin, 290px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #fffbe0 0%, #ffe27a 34%, #ffc62e 72%, #ffb21f 100%);
  box-shadow: 0 0 60px 18px rgba(255, 206, 100, 0.5);
  transform: translate(-50%, -64%);
  animation: dawn-sun 7s var(--ease) 0.2s both;
}
.dawn__sea {
  inset: var(--horizon) 0 0 0;
  background: linear-gradient(180deg, #1b5561 0%, #0f3944 14%, #0b2a33 42%, #061a20 100%);
  border-top: 1px solid rgba(255, 226, 160, 0.4);
}
.dawn__path {
  left: var(--sun-x);
  top: var(--horizon);
  width: clamp(200px, 34vmin, 460px);
  height: calc(100% - var(--horizon));
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 230, 150, 0.85) 0%, rgba(255, 190, 100, 0.34) 22%, rgba(255, 160, 70, 0) 70%);
  clip-path: polygon(42% 0, 58% 0, 88% 100%, 12% 100%);
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 4px, rgba(0, 0, 0, 0.55) 4px 9px);
  mask-image: repeating-linear-gradient(180deg, #000 0 4px, rgba(0, 0, 0, 0.55) 4px 9px);
  filter: blur(7px);
  animation: dawn-light 7s var(--ease) 0.6s both;
}
.hero--has-media .dawn { display: none; }

@keyframes dawn-sun {
  from { transform: translate(-50%, 8%); }
  to   { transform: translate(-50%, -64%); }
}
@keyframes dawn-light {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hero__inner { display: grid; gap: var(--space-6); }
.hero__title {
  margin-top: var(--space-5);
  max-width: 16ch;
  font-size: var(--step-5);
  font-weight: 800;
  font-stretch: 84%;
  line-height: 0.96;
  letter-spacing: -0.018em;
}
.hero__lede {
  margin-top: var(--space-6);
  max-width: 44ch;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

@media (max-width: 760px) {
  .hero { align-items: end; }
  /* On a phone the words take the lower two thirds: the sun rises above them
     and its path on the water stops short of the first line. */
  .dawn { --horizon: 25%; --sun-x: 70%; }
  .dawn__path { height: 12%; opacity: 0.8; }
  .hero::after {
    background: linear-gradient(0deg, rgba(4, 21, 27, 0.8) 0%, rgba(4, 21, 27, 0.55) 55%, rgba(4, 21, 27, 0) 74%);
  }
}

/* ---- Page hero (inner pages) ------------------------------------------------ */
.page-hero { padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero__title {
  margin-top: var(--space-5);
  max-width: 17ch;
  font-size: var(--step-4);
  font-weight: 800;
  font-stretch: 86%;
  line-height: 1;
  letter-spacing: -0.015em;
}
.page-hero__lede { margin-top: var(--space-6); }
.page-hero .lede + .lede { margin-top: var(--space-4); }
/* A plain hero and the plain section under it are one white surface: only
   the hero's own bottom padding separates them. */
.page-hero:not(.page-hero--sun, .page-hero--dawn, .page-hero--photo) + .section:not(.section--dawn, .section--mist, .section--sun) { padding-top: 0; }
.page-hero--sun { background: var(--sun); }
.page-hero--sun .lede { color: #141414; }
.page-hero--dawn { background: var(--dawn); }

/* With a picture (or, one day, a film) behind it. */
.page-hero--photo {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(92vh, 900px);
  padding-top: calc(var(--header-h) + var(--space-8));
  overflow: hidden;
  overflow: clip;
  background: var(--sea);
}
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img,
.page-hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 26, 32, 0.78) 0%, rgba(6, 26, 32, 0) 24%),
    linear-gradient(90deg, rgba(6, 26, 32, 0.92) 0%, rgba(6, 26, 32, 0.78) 46%, rgba(6, 26, 32, 0.3) 88%),
    linear-gradient(0deg, rgba(6, 26, 32, 0.8) 0%, rgba(6, 26, 32, 0) 55%);
}
.page-hero--photo .lede { color: var(--ink-soft); }

/* ---- Bands: full-width picture, film, or colour ------------------------------ */
.band {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(84vh, 780px);
  padding-block: var(--section-pad);
  overflow: hidden;
  overflow: clip;
  background: var(--sea);
}
.band--auto { min-height: 0; align-items: center; }
.band__media { position: absolute; inset: 0; z-index: -1; }
.band__media img,
.band__media video { width: 100%; height: 100%; object-fit: cover; }
.band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 26, 32, 0.92) 0%, rgba(6, 26, 32, 0.76) 46%, rgba(6, 26, 32, 0.22) 88%),
    linear-gradient(0deg, rgba(6, 26, 32, 0.7) 0%, rgba(6, 26, 32, 0) 50%);
}
/* Until the picture exists: the sea before dawn, a first light in one corner. */
.band--placeholder .band__media {
  background:
    radial-gradient(85% 70% at 88% 104%, rgba(255, 198, 46, 0.34) 0%, rgba(255, 150, 70, 0.12) 40%, rgba(255, 150, 70, 0) 68%),
    linear-gradient(180deg, var(--sea-deep) 0%, var(--sea) 58%, var(--sea-soft) 100%);
}
.band--placeholder .band__media::after { display: none; }
.band__title { max-width: 18ch; font-size: var(--step-4); font-weight: 800; font-stretch: 86%; line-height: 1; letter-spacing: -0.015em; }
.band__body { margin-top: var(--space-5); max-width: 54ch; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.band__body + .band__body { margin-top: var(--space-4); }
.band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-5); margin-top: var(--space-6); }
.band__cap { margin-top: var(--space-7); font-family: var(--font-ui); font-size: var(--step--1); color: var(--ink-faint); }

.band--sun { background: var(--sun); min-height: 0; align-items: center; }
/* The sun again, tone on tone, leaving by the right edge. */
.band--sun::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%; right: -9vw;
  width: clamp(280px, 40vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #ffe08a 0%, #ffd357 46%, rgba(255, 211, 87, 0) 71%);
  transform: translateY(-50%);
}
@media (max-width: 760px) { .band--sun::after { top: 0; right: -30vw; width: 90vw; transform: translateY(-45%); } }
.band--sun .band__body { color: #141414; }

/* Two columns of running text inside a band. */
.band__cols { display: grid; gap: var(--space-5) var(--space-8); margin-top: var(--space-6); }
.band__cols p { color: var(--ink-soft); max-width: 52ch; }
@media (min-width: 900px) { .band__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Closing call to action ------------------------------------------------------ */
.cta-band { max-width: 46rem; }
.cta-band__title { margin-top: var(--space-4); font-size: var(--step-4); font-weight: 800; font-stretch: 86%; line-height: 1; letter-spacing: -0.015em; }
.cta-band__lede { margin-top: var(--space-5); max-width: 50ch; font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.cta-band .cluster { margin-top: var(--space-6); }

/* ---- Portrait beside a statement ---------------------------------------------------- */
.duo { display: grid; gap: var(--space-7) var(--space-9); align-items: center; }
@media (min-width: 900px) {
  .duo { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .duo--media-left { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.duo__title { margin-top: var(--space-4); font-size: var(--step-4); font-weight: 800; font-stretch: 86%; line-height: 1; letter-spacing: -0.015em; max-width: 14ch; }
.duo .prose { margin-top: var(--space-6); }
.duo__more { margin-top: var(--space-6); }

/* ---- The needs: a list with no first and no last ------------------------------------ */
.needs { display: grid; gap: 0 var(--space-9); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.need {
  display: grid;
  grid-template-columns: 0.75rem minmax(0, 1fr);
  column-gap: var(--space-4);
  align-content: start;
  padding-block: var(--space-5);
  border-top: 1px solid var(--line);
}
.need::before {
  content: "";
  width: 0.75rem; height: 0.75rem;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--sun);
  transition: transform var(--dur) var(--ease);
}
.need:hover::before { transform: scale(1.5); }
.need__title { grid-column: 2; font-size: var(--step-2); font-weight: 700; font-stretch: 86%; letter-spacing: -0.02em; line-height: 1.1; }
.need__body { grid-column: 2; margin-top: var(--space-2); color: var(--ink-soft); max-width: 46ch; }
.needs-lede { margin-bottom: var(--space-7); }
