/* =========================================================================
   Jimukka Grain Milling Solutions
   Palette taken from the mark: mill green, maize orange, kernel gold, on a
   pale sieve-stone paper. Display face Fraunces (warm, agrarian, high weight),
   body Public Sans, and IBM Plex Mono for every number, spec and label -
   the mono is doing real work here, it marks measured facts.
   ========================================================================= */

:root {
  --field: #08402a;
  --field-deep: #052c1d;
  --field-mid: #0c5734;
  --leaf: #0f9d45;
  --leaf-soft: #7cc49a;
  --maize: #f0921e;
  --kernel: #ffc24b;
  --bran: #9c6b3f;
  --sieve: #ecefe4;
  --paper: #fbfcf8;
  --ink: #12180f;
  --ink-soft: #47513f;
  --line: rgba(18, 24, 15, 0.12);
  --line-strong: rgba(18, 24, 15, 0.28);
  --on-dark: #eaf1e6;
  --on-dark-soft: rgba(234, 241, 230, 0.68);
  --line-dark: rgba(234, 241, 230, 0.2);

  --display: "Fraunces", Georgia, serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 1240px;
  --radius: 4px;
  --radius-lg: 18px;
  --section-y: clamp(4rem, 9vw, 7.5rem);
}

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

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

body {
  margin: 0;
  background: var(--sieve);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration-color: var(--maize); text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 40;
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- shared layout ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section--dark { background: var(--field); color: var(--on-dark); }
.section--paper { background: var(--paper); }
.section--bran { background: #f4ede2; }

.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--ink-soft); max-width: 62ch; }
.section--dark .lede { color: var(--on-dark-soft); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bran);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--maize);
  flex: none;
}
.section--dark .eyebrow { color: var(--kernel); }

.head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.head--split {
  display: grid;
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
  align-items: end;
}
@media (min-width: 900px) {
  .head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--body);
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--maize); color: #201200; }
.btn--primary:hover { background: var(--kernel); }
.btn--dark { background: var(--field); color: var(--on-dark); }
.btn--dark:hover { background: var(--field-mid); }
.btn--ghost { border-color: var(--line-strong); color: inherit; }
.btn--ghost:hover { border-color: var(--ink); background: rgba(18, 24, 15, 0.04); }
.section--dark .btn--ghost { border-color: var(--line-dark); color: var(--on-dark); }
.section--dark .btn--ghost:hover { border-color: var(--kernel); background: rgba(255, 194, 75, 0.1); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.86rem; }

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

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--field);
  color: var(--on-dark);
  padding: 0.8rem 1.2rem;
  z-index: 200;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- header ---------- */
.announce {
  background: var(--field-deep);
  color: var(--on-dark);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.55rem 1rem;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(236, 239, 228, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
  padding-block: 0.6rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; flex: none; }
.brand img { width: clamp(148px, 20vw, 208px); }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 550;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--field); border-bottom-color: var(--maize); }
.nav__links { display: flex; gap: clamp(1rem, 2vw, 1.9rem); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--gutter) 1.5rem;
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* ---------- hero ---------- */
.hero {
  background: var(--field);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--leaf) 0 33%, var(--kernel) 33% 66%, var(--maize) 66% 100%);
}
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
}
.hero h1 { color: var(--paper); }
.hero h1 em {
  font-style: normal;
  color: var(--kernel);
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 60;
}
.hero__lede { color: var(--on-dark-soft); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.3rem); max-width: 44ch; }
.hero .eyebrow { color: var(--leaf-soft); }
.hero .eyebrow::before { background: var(--kernel); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.stat {
  background: var(--field);
  padding: 1.1rem 1.15rem;
}
.stat__num {
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem);
  font-weight: 700;
  color: var(--kernel);
  line-height: 1;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 40;
}
.stat__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-top: 0.5rem;
  display: block;
}

/* ---------- the site elevation: the signature drawing ---------- */
.elevation {
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0));
  padding: clamp(1rem, 2vw, 1.6rem);
}
.elevation__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-bottom: 0.9rem;
}
.key { display: inline-flex; align-items: center; gap: 0.45rem; }
.key::before {
  content: "";
  width: 20px;
  height: 0;
  border-top: 2px solid var(--kernel);
}
.key--planned::before { border-top-style: dashed; border-color: var(--leaf-soft); opacity: 0.75; }

.elevation svg { width: 100%; height: auto; }
.elevation .built { stroke: var(--kernel); }
.elevation .built--fill { fill: rgba(255, 194, 75, 0.16); }
.elevation .planned { stroke: var(--leaf-soft); stroke-dasharray: 7 6; opacity: 0.8; }
.elevation .planned--fill { fill: rgba(124, 196, 154, 0.07); }
.elevation .ground { stroke: var(--kernel); stroke-width: 2.5; }
.elevation text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  fill: var(--on-dark-soft);
  stroke: none;
}
.elevation text.t-strong { fill: var(--kernel); }
.elevation .lead-line { stroke: var(--line-dark); stroke-width: 1; }

/* One orchestrated moment: the drawing wipes in from the left, the way a
   draughtsman would lay it down. Nothing else on the page animates on load. */
@media (prefers-reduced-motion: no-preference) {
  .elevation__svg {
    clip-path: inset(0 100% 0 0);
    animation: wipe 1.7s cubic-bezier(0.65, 0, 0.35, 1) 0.25s forwards;
  }
  @keyframes wipe { to { clip-path: inset(0 0 0 0); } }
}

.elevation__key {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem 1.25rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}
.elevation__key li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  font-size: 0.83rem;
  color: var(--on-dark-soft);
}
.elevation__key b {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--kernel);
  font-weight: 500;
  flex: none;
}
.elevation__key span { display: block; }
.elevation__key em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--leaf-soft);
}

/* ---------- grading ladder ---------- */
.ladder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.ladder__step {
  background: var(--paper);
  padding: 1.4rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
a.ladder__step:hover { background: #fff8ea; }
.ladder__idx {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--bran);
}
.swatch {
  height: 74px;
  border-radius: var(--radius);
  background-color: var(--field);
  background-image: radial-gradient(var(--dot-color, var(--kernel)) var(--dot), transparent calc(var(--dot) + 0.5px));
  background-size: var(--gap) var(--gap);
  background-position: center;
}
.ladder__step h3 { font-size: 1.05rem; margin: 0; }
.ladder__note { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* ---------- generic cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
a.card:hover {
  transform: translateY(-4px);
  border-color: var(--leaf);
  box-shadow: 0 18px 40px -28px rgba(8, 64, 42, 0.7);
}
.card__media { aspect-ratio: 4 / 3; background: var(--sieve); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card__body h3 { margin: 0; }
.card__meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bran);
}
.card__foot {
  margin-top: auto;
  padding-top: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.8rem;
}
.card p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

.value {
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
}
.value h3 { margin-bottom: 0.4rem; }
.value p { color: var(--ink-soft); font-size: 0.95rem; }
.section--dark .value { border-top-color: var(--kernel); }
.section--dark .value p { color: var(--on-dark-soft); }
.value__icon { color: var(--leaf); margin-bottom: 0.9rem; }
.section--dark .value__icon { color: var(--kernel); }

/* ---------- status list ---------- */
.status-cols { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 860px) { .status-cols { grid-template-columns: 1fr 1fr; } }

.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.section--dark .status-list li { border-bottom-color: var(--line-dark); }
.status-list strong { font-weight: 600; }
.status-list .spec {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--bran);
  white-space: nowrap;
}
.section--dark .status-list .spec { color: var(--kernel); }
.status-list small { display: block; color: var(--ink-soft); font-size: 0.86rem; line-height: 1.5; }
.section--dark .status-list small { color: var(--on-dark-soft); }
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot, var(--leaf));
  display: inline-block;
  transform: translateY(-1px);
}

/* ---------- pill filters ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.pill {
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill[aria-current="true"] { background: var(--field); border-color: var(--field); color: var(--paper); }

/* ---------- tables and figures ---------- */
.table-scroll { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 520px;
}
table.data th,
table.data td { padding: 0.85rem 1rem; text-align: right; border-bottom: 1px solid var(--line); }
table.data th:first-child,
table.data td:first-child { text-align: left; }
table.data thead th {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bran);
  border-bottom: 2px solid var(--ink);
}
table.data tbody td { font-family: var(--mono); }
table.data tbody td:first-child { font-family: var(--body); font-weight: 550; }
.section--dark table.data th,
.section--dark table.data td { border-bottom-color: var(--line-dark); }
.section--dark table.data thead th { color: var(--kernel); border-bottom-color: var(--kernel); }

.bars { display: flex; flex-direction: column; gap: 1.05rem; }
.bar__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.bar__amount { font-family: var(--mono); color: var(--kernel); white-space: nowrap; }
.bar__track { height: 9px; background: rgba(234, 241, 230, 0.14); border-radius: 999px; overflow: hidden; }
.bar__fill { height: 100%; background: var(--maize); border-radius: 999px; width: 0; transition: width 1s cubic-bezier(0.22, 1, 0.36, 1); }
.bar__note { font-size: 0.82rem; color: var(--on-dark-soft); margin: 0.35rem 0 0; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--bran);
  margin-bottom: 0.45rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  padding: 0.8rem 0.95rem;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--leaf); outline-offset: 1px; }
.field--check { display: flex; align-items: flex-start; gap: 0.65rem; }
.field--check input { width: auto; margin-top: 0.35rem; }
.field--check label { text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 0.94rem; color: var(--ink); }
.field .errorlist { list-style: none; margin: 0.4rem 0 0; padding: 0; color: #b3261e; font-size: 0.85rem; }
.field .helptext { display: block; margin-top: 0.35rem; font-size: 0.82rem; color: var(--ink-soft); }
.section--dark .field label { color: var(--kernel); }
.section--dark .field--check label { color: var(--on-dark); }

.alert {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--maize);
  background: rgba(240, 146, 30, 0.12);
  font-size: 0.94rem;
}

/* ---------- team ---------- */
.person { display: grid; gap: 1.1rem; }
.person__photo {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sieve);
  border: 1px solid var(--line);
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin: 0 0 0.15rem; }
.person__role { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bran); }
.person__bio { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.7rem; }

/* ---------- quote ---------- */
.pullquote {
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem);
  line-height: 1.28;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 40;
  border-left: 3px solid var(--maize);
  padding-left: clamp(1.2rem, 3vw, 2.2rem);
  margin: 0;
}
.pullquote cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bran);
}

/* ---------- prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.5em; }
.prose img { border-radius: var(--radius-lg); margin: 2rem 0; }
.prose blockquote {
  margin: 2rem 0;
  padding-left: 1.4rem;
  border-left: 3px solid var(--maize);
  font-family: var(--display);
  font-size: 1.2rem;
}

/* ---------- page banner ---------- */
.banner {
  background: var(--field);
  color: var(--on-dark);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 6px solid var(--maize);
}
.banner h1 { color: var(--paper); font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
.banner .lede { color: var(--on-dark-soft); }
.crumbs {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf-soft);
  margin-bottom: 1.2rem;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- CTA strip ---------- */
.cta {
  background: var(--maize);
  color: #1c1000;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta h2 { color: #1c1000; }
.cta__inner { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 880px) { .cta__inner { grid-template-columns: 1.4fr auto; } }
.cta p { max-width: 52ch; }

/* ---------- footer ---------- */
.footer {
  background: var(--field-deep);
  color: var(--on-dark);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.wordmark {
  font-family: var(--display);
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 800;
  font-variation-settings: "SOFT" 20, "WONK" 1, "opsz" 60;
  line-height: 0.98;
  color: var(--paper);
  margin: 0 0 0.6rem;
}
.footer__tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kernel); }
.footer h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf-soft);
  margin: 0 0 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer a { color: var(--on-dark-soft); text-decoration: none; font-size: 0.93rem; }
.footer a:hover { color: var(--kernel); }
.footer address { font-style: normal; color: var(--on-dark-soft); font-size: 0.93rem; line-height: 1.7; }
.footer__base {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--on-dark-soft);
}
.verse { color: var(--kernel); }

/* ---------- floating WhatsApp ---------- */
.whatsapp {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 70;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.55);
  color: #06301a;
}
.whatsapp:hover { transform: translateY(-3px); }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- utility ---------- */
.mono { font-family: var(--mono); }
.muted { color: var(--ink-soft); }
.section--dark .muted { color: var(--on-dark-soft); }
.center { text-align: center; }
.stack { display: grid; gap: 1.25rem; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
.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;
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
}
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.shot figcaption {
  padding: 1rem 1.15rem 1.2rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
}
.shot figcaption span { color: var(--ink-soft); font-size: 0.86rem; }
.gallery .shot:first-child { grid-column: span 2; }
@media (max-width: 700px) { .gallery .shot:first-child { grid-column: auto; } }
