/* Waterfront Illustration Direction
   Brand palette (Canonical Brand Spec):
   Chalk #F3F3EB  Charcoal #2C2C2C  Slate #625C55
   Sand #C9B99A  Tan #AD8D6B  Limestone #F4F5E6  Stone #EEECE8
   Type: Cormorant Garamond (display), Source Serif 4 (body), Source Sans 3 (UI)
*/

:root {
  --chalk: #F3F3EB;
  --charcoal: #2C2C2C;
  --slate: #625C55;
  --sand: #C9B99A;
  --tan: #AD8D6B;
  --limestone: #F4F5E6;
  --stone: #EEECE8;

  --ink: #2C2C2C;
  --paper: #F3F3EB;
  --muted: #6f6a62;

  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Source Serif 4", Georgia, serif;
  --ui: "Source Sans 3", system-ui, sans-serif;

  --maxw: 1180px;
  --narrow: 720px;
  --gap: clamp(1.25rem, 4vw, 3rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

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

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--charcoal);
  color: var(--limestone);
  padding: .6rem 1rem;
  font-family: var(--ui);
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.narrow { max-width: var(--narrow); margin-inline: auto; }
.nopad { padding-inline: 0; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--stone);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .85rem;
}
.wordmark { height: 38px; width: auto; }
.header-tag {
  font-family: var(--ui);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate);
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(3.5rem, 11vw, 8rem);
  border-bottom: 1px solid var(--stone);
}
.hero-inner { max-width: 880px; }
.eyebrow {
  font-family: var(--ui);
  font-size: .8rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 1.5rem;
  font-weight: 600;
}
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin: 0 0 1.6rem;
}
.lede {
  font-family: var(--body);
  font-size: clamp(1.1rem, 2.3vw, 1.45rem);
  line-height: 1.65;
  color: var(--slate);
  max-width: 40ch;
}

/* ---------- Bands ---------- */
.band { padding-block: clamp(3rem, 9vw, 6.5rem); }
.band-tint { background: var(--stone); }
.band + .band { border-top: 1px solid var(--stone); }
.band-tint + .band,
.band + .band-tint { border-top: none; }

.section-kicker {
  font-family: var(--ui);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 600;
  margin: 0 0 1rem;
}
.section-kicker.on-dark { color: var(--sand); }

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin: 0 0 1.4rem;
}

h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0 0 .6rem;
}

.section-intro {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--slate);
  max-width: 60ch;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.pull {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.3;
  color: var(--slate);
  border-left: 3px solid var(--sand);
  margin: 2.5rem 0 0;
  padding: .2rem 0 .2rem 1.5rem;
  font-style: italic;
}

.footnote {
  font-family: var(--ui);
  font-size: .92rem;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 2rem;
}

/* ---------- Reason grid (art style) ---------- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: 2.5rem;
}
.reason h3 { margin-bottom: .5rem; }
.reason p { font-size: 1.02rem; line-height: 1.6; color: var(--slate); margin: 0; }
.reason {
  padding-top: 1.4rem;
  border-top: 2px solid var(--sand);
}

/* ---------- Exploration grid ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
}
.explore-card {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--stone);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.band-tint .explore-card { background: var(--limestone); }
.explore-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.explore-card.is-winner { border-color: var(--slate); border-width: 2px; }
.explore-card .badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--slate);
  color: var(--limestone);
  font-family: var(--ui);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: .4rem .9rem;
  z-index: 2;
  border-bottom-right-radius: 4px;
}
.explore-card figcaption { padding: 1.4rem 1.5rem 1.6rem; }
.explore-card figcaption p {
  font-size: 1rem;
  line-height: 1.58;
  color: var(--slate);
}
.set-aside-label {
  font-family: var(--ui) !important;
  font-size: .72rem !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tan) !important;
  font-weight: 600;
  margin-bottom: .7rem !important;
}

/* ---------- Refinement journey ---------- */
.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vw, 3.5rem);
}
.journey-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 720px) {
  .journey-step {
    grid-template-columns: 1.25fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
  }
  .journey-step:nth-child(even) .journey-img { order: 2; }
}
.journey-img {
  border: 1px solid var(--stone);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}
.journey-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.step-num {
  display: inline-block;
  font-family: var(--ui);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 600;
  margin-bottom: .7rem;
}
.journey-text p { font-size: 1.04rem; line-height: 1.62; color: var(--slate); margin: 0; }

/* ---------- Feature (winner + relief) ---------- */
.feature .feature-img {
  margin: 2.5rem 0;
}
.feature-img picture { display: block; }
.feature-img img {
  width: 100%;
  border: 1px solid var(--stone);
  border-radius: 4px;
}
.band-dark .feature-img img,
.feature.band-tint .feature-img img { border-color: rgba(0,0,0,.12); }
.feature-note { margin-top: 2.2rem; }
.feature-note p { color: var(--slate); }

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1.25rem, 4vw, 2.5rem);
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}
.band-tint .stat-row { border-color: rgba(0,0,0,.1); }
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1;
  color: var(--slate);
  margin-bottom: .5rem;
}
.stat-label {
  font-family: var(--ui);
  font-size: .85rem;
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: .01em;
}

/* ---------- Dark band ---------- */
.band-dark {
  background: var(--charcoal);
  color: var(--limestone);
}
.band-dark h2 { color: var(--limestone); }
.band-dark p { color: #d8d5cd; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: var(--limestone);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.wordmark-footer { height: 40px; opacity: .95; }
.footer-line {
  font-family: var(--ui);
  font-size: .9rem;
  letter-spacing: .04em;
  color: #b8b4ab;
  margin: 0;
}

/* ---------- Print ---------- */
@media print {
  .site-header { position: static; }
  .band, .hero { padding-block: 1.4rem; page-break-inside: avoid; }
  .band-dark { background: #fff; color: #000; }
  .band-dark h2, .band-dark p { color: #000; }
  .band-tint { background: #fff; }
  .feature-img img, .journey-img img, .explore-card img { border-color: #ccc; }
  .skip-link { display: none; }
  a { color: var(--charcoal); text-decoration: none; }
  body { font-size: 11pt; }
}
