/* ═══════════════════════════════════════════════════════════════
   Kamp Promenade — Advertorial
   Display  Instrument Serif   Text & Labels  Inter
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* palette — warm sand ground, brand green reserved for
     headlines and links, gold used sparingly as an accent */
  --ink:        #1d2320;   /* body text                       */
  --ink-soft:   #5c6560;   /* labels, meta                    */
  --green-deep: #01642b;   /* headlines, links                */
  --green:      #018237;   /* brand green, fills              */
  --gold:       #f7a600;   /* second brand colour, accents    */
  --ground:     #f4f1ec;   /* page                            */
  --paper:      #fffdf9;   /* cards                           */
  --line:       #e2dcd2;   /* rules, hairlines                */
  --night:      #1d2320;   /* credits band                    */

  /* layout — text column, plus a wider track the figures may use */
  --main: 36rem;
  --wide: 36rem;
  --pad: clamp(1.15rem, 5vw, 2.5rem);

  /* type */
  --display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

/* `clip` rather than `hidden`: it contains the full-bleed figures
   without turning the page into a scroll container, which would
   break the sticky masthead. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.72;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: var(--green-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: color-mix(in srgb, var(--green-deep) 40%, transparent);
  transition: text-decoration-color 0.15s ease;
}
a:hover { text-decoration-color: var(--green-deep); }

strong { font-weight: 600; }

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

/* small all-caps utility label, used in a dozen places */
.eyebrow,
.hero__facts dt,
.visit__details dt,
.masthead__label {
  font-family: var(--body);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.6875rem;
}

.skip {
  position: absolute;
  left: 50%; top: 0;
  translate: -50% -120%;
  z-index: 100;
  background: var(--green-deep); color: #fff;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem; font-weight: 500;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: translate 0.18s ease;
}
.skip:focus { translate: -50% 0; color: #fff; }

/* ── Masthead ──────────────────────────────────────────────────
   Pure white on purpose: the Kamp mark has an opaque white
   background baked into the file, so any other colour would show
   it as a box. The NOZ mark is recoloured to ink at build time. */

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  max-width: 76rem; margin-inline: auto;
  padding: 0.55rem var(--pad);
  display: flex; align-items: center; gap: 1rem;
}
.masthead__brand { display: block; flex: 0 0 auto; line-height: 0; }
.masthead__brand img { width: auto; height: 1.4rem; }
.masthead__brand--client { margin-left: auto; }
.masthead__brand--client img { height: 1.9rem; }

.masthead__label {
  margin: 0;
  color: var(--ink-soft);
  padding-left: 0.9rem;
  border-left: 1px solid var(--line);
}

.progress {
  position: absolute; inset: auto 0 -1px 0;
  height: 2px;
  background: transparent;
}
.progress__bar {
  display: block; height: 100%; width: 0;
  background: var(--green);
}

/* ── Hero ──────────────────────────────────────────────────────── */

.hero { position: relative; padding-bottom: 1rem; }

.hero__frame { position: relative; background: var(--line); }
.hero__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 28%;
}

.hero__plate {
  position: relative;
  width: min(100% - (2 * var(--pad)), 46rem);
  margin: -3.5rem auto 0;
  padding: clamp(1.6rem, 4vw, 2.9rem) clamp(1.4rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.2rem);
  background: var(--paper);
  border-radius: 2px;
  box-shadow: 0 1px 0 var(--line), 0 26px 50px -34px rgba(29, 35, 32, 0.4);
}

.eyebrow { margin: 0 0 1.15rem; color: var(--green-deep); }

.hero__title span, .visit__title span { display: block; }

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 1rem + 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.018em;
  color: var(--green-deep);
  text-wrap: balance;
}

.hero__dek {
  margin: 1.15rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem);
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
}

.hero__facts {
  margin: clamp(1.6rem, 3vw, 2.2rem) 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.75rem 2.75rem;
}
.hero__facts div { min-width: 7rem; }
.hero__facts dt { color: var(--ink-soft); }
.hero__facts dd {
  margin: 0.3rem 0 0;
  font-weight: 600; font-size: 1rem;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* ── Story grid ────────────────────────────────────────────────── */

.story {
  position: relative;
  display: grid;
  grid-template-columns:
    [wide-start] minmax(0, 1fr)
    [main-start] minmax(0, var(--main))
    [main-end] minmax(0, 1fr)
    [wide-end];
  row-gap: 0;
  width: min(100% - (2 * var(--pad)), var(--wide));
  margin: clamp(3rem, 7vw, 5.5rem) auto 0;
}

.story > * { margin-block: 0; grid-column: main; }

/* chapters ------------------------------------------------------ */

.chapter > * { margin-block: 0; }
.chapter > p + p { margin-top: 1.3em; }

/* one rhythm between story blocks; prose-to-prose is tighter */
.story > * + .chapter { margin-top: clamp(2.2rem, 4.5vw, 3rem); }
.chapter + .chapter { margin-top: 1.35em; }

.chapter p { hyphens: auto; }

.lead { font-size: 1.08em; }

.chapter--intro .lead::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4.6em;
  font-weight: 400;
  line-height: 0.76;
  padding: 0.02em 0.08em 0 0;
  color: var(--green-deep);
}

/* section turns ------------------------------------------------ */

.turn {
  margin-top: clamp(3.2rem, 6vw, 4.75rem);
  margin-bottom: 1.9rem;
  padding-top: 1.9rem;
  border-top: 1px solid var(--ink);
  font-family: var(--display);
  font-size: clamp(1.85rem, 1rem + 2.6vw, 3rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--green-deep);
  text-wrap: balance;
  hyphens: none;
}

/* pull quote --------------------------------------------------- */

.pull {
  margin: clamp(2.6rem, 5vw, 3.6rem) 0 0;
  padding: 0;
  border: 0;
}
.pull p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1rem + 2.1vw, 2.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--green-deep);
  text-wrap: balance;
}
.pull p::before {
  content: '';
  display: block;
  width: 2.75rem; height: 2px;
  margin-bottom: 1.3rem;
  background: var(--gold);
}

/* figures ------------------------------------------------------ */

.figure { margin: 0; }
.figure picture { display: block; }
.figure img {
  width: 100%;
  border-radius: 2px;
  background: var(--line);
}
.story > * + .figure { margin-top: clamp(2.2rem, 4.5vw, 3.2rem); }
.figure--wide { grid-column: main; }

.figure--breakout {
  grid-column: main;
  margin-top: clamp(2.6rem, 5.5vw, 4rem);
}

.duo {
  grid-column: main;
  margin-top: clamp(2.2rem, 4.5vw, 3.2rem);
  display: grid;
  gap: 1.5rem;
}
.duo .figure { margin-top: 0; }
/* pairs share a ratio so the two columns line up */
.duo .figure img { aspect-ratio: 3 / 2; object-fit: cover; }

/* ── Outro: aerial + contact ───────────────────────────────────── */

.outro { margin-top: clamp(4rem, 9vw, 7rem); }

.outro__figure { margin: 0; }
.outro__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--line);
}
.visit {
  width: min(100% - (2 * var(--pad)), var(--wide));
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: clamp(1.75rem, 4.5vw, 3.25rem);
  background: var(--green-deep);
  color: #fff;
  border-radius: 2px;
}
.eyebrow--light { color: color-mix(in srgb, var(--gold) 42%, #fff); }

.visit__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 1rem + 2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
}
.visit__details {
  margin: clamp(1.9rem, 4vw, 2.75rem) 0 0;
  padding-top: 1.7rem;
  border-top: 1px solid color-mix(in srgb, #fff 22%, transparent);
  display: grid;
  gap: 1.6rem;
}
.visit__details dt { color: color-mix(in srgb, var(--gold) 42%, #fff); }
.visit__details dd {
  margin: 0.5rem 0 0;
  font-weight: 500; font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: #fff;
}
.visit__details a {
  color: #fff;
  text-decoration-color: color-mix(in srgb, #fff 45%, transparent);
}
.visit__details a:hover { color: var(--gold); text-decoration-color: var(--gold); }

.cta {
  margin-top: clamp(1.9rem, 4vw, 2.5rem);
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.9rem 1.5rem;
  background: var(--gold); color: #4a3000;
  font-weight: 600; font-size: 0.9375rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s ease, gap 0.2s ease;
}
.cta:hover { background: #ffb92b; color: #4a3000; gap: 1.1rem; }

/* ── Credits ───────────────────────────────────────────────────── */

.credits {
  margin-top: clamp(4rem, 8vw, 6.5rem);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--night);
  color: #a9aea6;
}
.credits__inner {
  width: min(100% - (2 * var(--pad)), var(--wide));
  margin-inline: auto;
  font-size: 0.8125rem;
  line-height: 1.7;
}
.credits p { margin: 0 0 0.9rem; max-width: 46rem; }
.credits a { color: #e8e4dc; text-decoration-color: color-mix(in srgb, #e8e4dc 40%, transparent); }
.credits a:hover { color: var(--gold); text-decoration-color: var(--gold); }

.credits__line {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.75rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid #333a35;
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.06em;
  color: #e8e4dc;
}
.credits__fine { font-size: 0.75rem; color: #838c85; }
.credits__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  margin: 1.75rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid #333a35;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}
.credits__top { margin-left: auto; }

/* ── Motion ────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    translate: 0 1.75rem;
    transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.is-in { opacity: 1; translate: 0 0; }
}

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

/* ── Breakpoints ───────────────────────────────────────────────── */

/* ≥ 40em — two-up figures */
@media (min-width: 40em) {
  .duo { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .visit__details { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* ≥ 56em — figures step out past the text column */
@media (min-width: 56em) {
  :root { --wide: 54rem; }

  .hero__img { aspect-ratio: 21 / 9; }
  .hero__plate { margin-top: -6rem; }

  /* one step wider than the text */
  .figure--wide { grid-column: wide; }
  .duo { grid-column: wide; }

  /* and one true edge-to-edge photo. The main column is centred in the
     story, which is centred in the page, so no offset correction needed. */
  .figure--breakout {
    grid-column: main;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
  /* a fixed ratio rather than a vh cap: no layout shift when a mobile
     URL bar collapses, and nothing to recompute on resize */
  .figure--breakout img {
    border-radius: 0;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

/* ≥ 74em — a little more room again */
@media (min-width: 74em) {
  :root { --wide: 60rem; }
}

/* small screens — tighten the masthead */
@media (max-width: 30em) {
  .masthead__label { padding-left: 0.7rem; font-size: 0.625rem; letter-spacing: 0.12em; }
  .masthead__brand img { height: 1.15rem; }
  .masthead__brand--client img { height: 1.6rem; }
  .hero__img { aspect-ratio: 4 / 5; }
}
