/* ============================================
   Hawaiian Dundee — main.css
   Aesthetic: editorial / field manual
   Palette: kapa (charcoal, bone, ʻalaea)
   Type: Anton + Newsreader + JetBrains Mono
   ============================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, blockquote, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: #1A1815; color: #F0E8D2; }

/* ---------- Tokens ---------- */
:root {
  /* kapa palette */
  --bone:        #F0E8D2;
  --bone-deep:   #E8DFC1;
  --ink:         #1A1815;
  --ink-soft:    #2F2A23;
  --ink-mid:     #4A4338;
  --alaea:       #A0382C;
  --alaea-deep:  #7E2B22;

  /* typography */
  --font-display: 'Anton', 'Bebas Neue', 'Impact', 'Arial Narrow Bold', sans-serif;
  --font-edit:    'Fraunces', 'Georgia', 'Times New Roman', serif;
  --font-mono:    'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace;

  /* spacing scale */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: 6rem;
  --s-7: 9rem;
  --s-8: 12rem;

  /* sizing */
  --max-w: 1280px;
  --max-w-wide: 1440px;
  --max-w-prose: 60ch;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-edit);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-variation-settings: "opsz" 18, "SOFT" 50, "WONK" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::marker { color: var(--alaea); }

/* ---------- Type roles ---------- */
.section-marker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--alaea);
}
.section-marker::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--alaea);
  display: inline-block;
}

.lede {
  font-family: var(--font-edit);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: var(--max-w-prose);
}

/* ---------- Masthead (page-level, sticky to top) ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-1) var(--s-3);
  background: var(--bone);
  border-bottom: 1px solid var(--ink);
  box-shadow: 0 4px 16px rgba(26, 24, 21, 0.06);
}
@media (min-width: 768px)  { .masthead { padding: var(--s-1) var(--s-4); } }
.masthead__nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: var(--s-1);
}
@media (max-width: 480px) {
  .masthead__nav { gap: var(--s-2); }
  .masthead__nav a:not(.masthead__cta) { display: none; }
  .masthead__logo img { height: 56px; }
}
.masthead__logo {
  display: block;
  flex: 0 0 auto;
}
.masthead__logo img {
  height: 56px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .masthead__logo img { height: 68px; }
}
@media (min-width: 1200px) {
  .masthead__logo img { height: 78px; }
}
.masthead__nav {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.masthead__nav a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}
.masthead__nav a:not(.masthead__cta)::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.masthead__nav a:not(.masthead__cta):hover::after { transform: scaleX(1); }
.masthead__cta {
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--alaea);
  background: var(--alaea);
  color: var(--bone);
  transition: background 0.3s ease, transform 0.3s ease;
}
.masthead__cta:hover {
  background: var(--alaea-deep);
  border-color: var(--alaea-deep);
  transform: translateX(3px);
}
.masthead__cta::after { display: none; }

/* ---------- Hero (split poster) ---------- */
.hero {
  position: relative;
  background: var(--bone);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

/* Top & bottom niho mano framing bands — tiled inline-SVG pattern (maintains triangle aspect) */
.hero__frame {
  flex: 0 0 auto;
  display: block;
  height: 22px;
  background-color: var(--bone);
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: 44px 22px;
}
@media (min-width: 768px) { .hero__frame { height: 28px; background-size: 56px 28px; } }
.hero__frame--top {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 22'><polygon points='0,22 22,0 44,22' fill='%231A1815'/></svg>");
}
.hero__frame--bottom {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 22'><polygon points='0,0 22,22 44,0' fill='%231A1815'/></svg>");
  background-position: top;
}

/* Split layout: type left, image right */
.hero__split {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bone);
}
@media (min-width: 1024px) {
  .hero__split { grid-template-columns: 1.05fr 1fr; }
}

/* Left: type panel */
.hero__type {
  padding: var(--s-4) var(--s-3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-4);
  position: relative;
}
@media (min-width: 768px) {
  .hero__type { padding: var(--s-5) var(--s-4); }
}
@media (min-width: 1024px) {
  .hero__type {
    padding: var(--s-5);
    border-right: 1px solid var(--ink);
    gap: var(--s-5);
  }
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alaea);
  margin-bottom: var(--s-4);
  animation: rise 0.9s ease-out 0.2s both;
  padding-top: var(--s-3);
  border-top: 2px solid var(--ink);
  display: inline-block;
  max-width: fit-content;
}

.hero__title {
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  font-weight: 600;
  font-size: clamp(44px, 6.5vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 var(--s-4);
}
.hero__line {
  display: block;
  animation: rise 1s ease-out both;
}
.hero__line:nth-child(1) { animation-delay: 0.30s; }
.hero__line:nth-child(2) { animation-delay: 0.45s; }
.hero__line:nth-child(3) { animation-delay: 0.60s; }
.hero__line em {
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--alaea);
}

.hero__foot {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: 56ch;
  animation: rise 1s ease-out 0.85s both;
}
.hero__meta {
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 18, "SOFT" 80;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 1rem 1.6rem;
  background: var(--ink);
  color: var(--bone);
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero__cta:hover {
  background: var(--alaea);
  transform: translateX(4px);
}

/* Right: image inset, framed like a print */
.hero__inset {
  margin: 0;
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  background: var(--bone-deep);
  position: relative;
}
@media (min-width: 768px)  { .hero__inset { padding: var(--s-4); } }
@media (min-width: 1024px) { .hero__inset { padding: var(--s-5); } }
.hero__inset-frame {
  flex: 1 1 auto;
  overflow: hidden;
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  min-height: 280px;
  background: var(--ink);
}
@media (min-width: 768px)  { .hero__inset-frame { min-height: 360px; box-shadow: 8px 8px 0 var(--ink); } }
.hero__inset-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  animation: hero-zoom 30s ease-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}
.hero__inset-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: var(--s-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.hero__inset-num {
  color: var(--alaea);
  font-weight: 700;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Divider ---------- */
.divider {
  color: var(--ink);
  padding: var(--s-3) 0;
  background: var(--bone);
}
.divider svg {
  display: block;
  width: 100%;
  height: 28px;
}
.divider--bone { color: var(--bone); background: var(--ink); }

/* ---------- Sections common ---------- */
/* Apply padding to content sections, NOT the hero (which manages its own layout). */
section:not(.hero) { padding: var(--s-5) var(--s-3); }
@media (min-width: 768px)  { section:not(.hero) { padding: var(--s-6) var(--s-4); } }
@media (min-width: 1024px) { section:not(.hero) { padding: var(--s-7) var(--s-4); } }

/* ---------- 01.5 Field Notes (photo strip) ---------- */
.notes { background: var(--bone); }
.notes__strip {
  max-width: var(--max-w-wide);
  margin: var(--s-4) auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
@media (min-width: 768px) {
  .notes__strip { grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
}
.notes__card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.notes__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--ink);
}
.notes__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.notes__card:hover .notes__image img { transform: scale(1.06); }
.notes__card figcaption {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  padding-top: 6px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.notes__num {
  color: var(--alaea);
  font-weight: 700;
  flex: 0 0 auto;
}

.section-head { margin-bottom: var(--s-5); max-width: var(--max-w); margin-inline: auto; }
.section-head--centered { text-align: center; }
.section-head--centered .section-marker { justify-content: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin-top: var(--s-3);
  color: var(--ink);
}
.section-head .lede {
  margin: var(--s-3) auto 0;
}

/* ---------- 01 Pillars ---------- */
.pillars { background: var(--bone); }
.pillars__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 768px) {
  .pillars__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-6);
  }
}
.pillar {
  position: relative;
  padding-top: var(--s-4);
  border-top: 1px solid var(--ink);
}
.pillar__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(60px, 7vw, 92px);
  line-height: 1;
  color: var(--alaea);
  display: block;
  margin-bottom: var(--s-2);
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}
.pillar p {
  font-family: var(--font-edit);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 36ch;
}

/* ---------- 02 The Doors ---------- */
.doors { background: var(--bone-deep); }
.door {
  max-width: var(--max-w);
  margin: 0 auto var(--s-6);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
.door:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .door {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--s-5);
    align-items: center;
  }
  .door--reverse .door__media { order: 2; }
  .door--reverse .door__body  { order: 1; padding-left: 0; padding-right: var(--s-4); }
  .door .door__body { padding-left: var(--s-4); }
}
.door__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink);
}
.door__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.door:hover .door__media img { transform: scale(1.04); }

.door__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--alaea);
  margin-bottom: var(--s-2);
}
.door__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.door__lede {
  font-family: var(--font-edit);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: var(--s-4);
  max-width: 48ch;
}
.door__meta {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: var(--s-5);
  row-gap: var(--s-2);
  padding-top: var(--s-3);
  border-top: 1px solid var(--ink);
  margin-bottom: var(--s-4);
  font-family: var(--font-edit);
  font-size: 15px;
  color: var(--ink);
}
.door__meta li span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 2px;
}
.door__cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--alaea);
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--alaea);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.door__cta:hover {
  color: var(--alaea-deep);
  border-color: var(--alaea-deep);
  transform: translateX(4px);
}

/* ---------- 03 Charlie ---------- */
.charlie { background: var(--bone); }
.charlie__layout {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 900px) {
  .charlie__layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--s-6);
    align-items: start;
  }
}
.charlie__portrait {
  margin: 0;
  position: sticky;
  top: var(--s-5);
}
.charlie__portrait img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  filter: grayscale(15%) contrast(1.02);
}
.charlie__portrait figcaption {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding-top: var(--s-2);
  border-top: 1px solid var(--ink);
  margin-top: var(--s-2);
}
.charlie__text > * + * { margin-top: var(--s-3); }
.charlie__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.98;
  margin-bottom: var(--s-3);
}
.charlie__intro {
  font-family: var(--font-edit);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 48ch;
}
.charlie__pull {
  border-left: 3px solid var(--alaea);
  padding: var(--s-2) 0 var(--s-2) var(--s-3);
  margin-block: var(--s-4);
}
.charlie__pull p {
  font-family: var(--font-edit);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.3;
  color: var(--ink);
}
.charlie__text p {
  font-family: var(--font-edit);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ---------- 04 Proof ---------- */
.proof { background: var(--bone-deep); }
.proof__grid {
  max-width: var(--max-w);
  margin: var(--s-4) auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 800px) {
  .proof__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
}
.proof__quote {
  margin: 0;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--ink);
}
.proof__quote p {
  font-family: var(--font-edit);
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: var(--s-2);
}
.proof__quote cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.proof__stat {
  margin-top: var(--s-5);
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.proof__stat strong {
  color: var(--alaea);
  font-weight: 700;
  font-size: 22px;
  margin-right: 0.4rem;
}

/* ---------- Book band ---------- */
.book {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  padding-block: var(--s-7);
}
.book__eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--alaea);
  margin-bottom: var(--s-3);
}
.book__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(54px, 8vw, 110px);
  line-height: 0.96;
  letter-spacing: 0.005em;
  margin-bottom: var(--s-3);
}
.book__body {
  font-family: var(--font-edit);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--bone);
  opacity: 0.78;
  max-width: 52ch;
  margin: 0 auto var(--s-5);
}
.book__cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: 0.18em;
  text-transform: lowercase;
  padding: 1.1rem 2rem;
  background: var(--alaea);
  color: var(--bone);
  border: 1px solid var(--alaea);
  transition: background 0.3s ease, color 0.3s ease;
}
.book__cta:hover {
  background: transparent;
  color: var(--bone);
}
.book__note {
  margin-top: var(--s-4);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.55;
}

/* ---------- Footer ---------- */
.masthead-foot {
  background: var(--ink);
  color: var(--bone);
  padding: 0 0 var(--s-4);
}
.masthead-foot .divider { padding: 0; }
.masthead-foot__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--s-5) var(--s-4) var(--s-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 700px) {
  .masthead-foot__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: var(--s-5);
  }
}
.masthead-foot__grid img {
  max-width: 220px;
  height: auto;
}
.masthead-foot__label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--alaea);
  margin-bottom: var(--s-1);
}
.masthead-foot__grid p {
  font-family: var(--font-edit);
  font-size: 15px;
  line-height: 1.55;
  color: var(--bone);
  opacity: 0.85;
}
.masthead-foot__grid a:hover { color: var(--alaea); }
.masthead-foot__signoff {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--s-3) var(--s-4) 0;
  border-top: 1px solid rgba(240, 232, 210, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  align-items: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.55;
}
.masthead-foot__credit {
  max-width: var(--max-w);
  margin: var(--s-2) auto 0;
  padding: 0 var(--s-4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--bone);
  opacity: 0.4;
}
.masthead-foot__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.masthead-foot__credit a:hover { color: var(--alaea); opacity: 1; }

/* =====================================================
   HERO — image-led with overlay type
   (Image hero immediately below masthead.
    Type from Direction B is overlaid for legibility.)
   ===================================================== */

.hero--image {
  background: var(--ink);
  display: block;
  min-height: 0;
  padding: 0;
}
.hero--image .hero__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 62vh;
  min-height: 62svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--bone);
}
@media (min-width: 768px)  { .hero--image .hero__panel { min-height: 72vh; min-height: 72svh; } }
@media (min-width: 1024px) { .hero--image .hero__panel { min-height: 78vh; min-height: 78svh; } }

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: -2;
  animation: hero-zoom-image 30s ease-out infinite alternate;
}
@keyframes hero-zoom-image {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}
/* Dark+warm gradient overlay for type legibility */
.hero--image .hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right,
      rgba(160, 56, 44, 0.14) 0%,
      rgba(160, 56, 44, 0.03) 40%,
      transparent 80%
    ),
    linear-gradient(to bottom,
      rgba(26, 24, 21, 0.55) 0%,
      rgba(26, 24, 21, 0.25) 30%,
      rgba(26, 24, 21, 0.70) 75%,
      rgba(26, 24, 21, 0.92) 100%
    );
}

/* Field-journal GPS stamp, top-right over image */
.hero--image .hero__stamp {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  align-self: auto;
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
  border-left: 2px solid var(--alaea);
  padding-left: var(--s-2);
  line-height: 1.55;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  animation: rise 0.9s ease-out 0.2s both;
  margin: 0;
  z-index: 2;
}
@media (min-width: 768px) {
  .hero--image .hero__stamp { top: var(--s-4); right: var(--s-5); font-size: 11px; }
}
.hero--image .hero__stamp-coords { margin: 0; color: var(--alaea); }
.hero--image .hero__stamp-place  { margin: 0; }

/* Main content stack — bottom-left overlay */
.hero--image .hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-3);
  max-width: 1100px;
}
@media (min-width: 768px) {
  .hero--image .hero__content {
    padding: var(--s-5) var(--s-5);
    gap: var(--s-4);
  }
}
@media (min-width: 1200px) {
  .hero--image .hero__content {
    padding: var(--s-6) var(--s-7);
  }
}

/* The headline — light on dark */
.hero--image .hero__title {
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 144, "SOFT" 20, "WONK" 1;
  font-weight: 600;
  font-size: clamp(48px, 7.5vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--bone);
  margin: 0;
  max-width: 18ch;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.hero--image .hero__line {
  display: block;
  animation: rise 1s ease-out both;
}
.hero--image .hero__line:nth-child(1) { animation-delay: 0.35s; }
.hero--image .hero__line:nth-child(2) { animation-delay: 0.50s; }
.hero--image .hero__line:nth-child(3) { animation-delay: 0.70s; }
.hero--image .hero__line--accent em {
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--alaea);
  /* small bone glow so alaea stays legible on darker patches */
  text-shadow: 0 1px 6px rgba(240, 232, 210, 0.18);
}

/* Refrain + values block */
.hero--image .hero__sub {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid rgba(240, 232, 210, 0.45);
  max-width: 760px;
  animation: rise 1s ease-out 0.9s both;
}
.hero--image .hero__refrain {
  margin: 0;
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 24, "SOFT" 100;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.4;
  color: var(--bone);
}
.hero--image .hero__refrain em {
  font-style: italic;
  font-weight: 600;
  color: var(--alaea);
}
.hero--image .hero__values {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
@media (min-width: 700px) {
  .hero--image .hero__values { grid-template-columns: repeat(3, auto); gap: var(--s-4); }
}
.hero--image .hero__values > div { display: flex; flex-direction: column; gap: 2px; }
.hero--image .hero__values dt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alaea);
}
.hero--image .hero__values dd {
  margin: 0;
  font-family: var(--font-edit);
  font-size: 16px;
  font-weight: 500;
  color: var(--bone);
}

/* Restrained CTA on image — bone underline */
.hero--image .hero__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
  padding: 0;
  background: transparent;
  color: var(--bone);
  border: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
  animation: rise 1s ease-out 1.1s both;
}
.hero--image .hero__cta:hover { color: var(--alaea); transform: translateX(4px); }
.hero--image .hero__cta-num { color: var(--alaea); font-weight: 700; }
.hero--image .hero__cta-text {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--bone);
}
.hero--image .hero__cta:hover .hero__cta-text { border-color: var(--alaea); }

/* GPS / location stamp — top-right (field journal mark) */
.hero__stamp {
  align-self: flex-end;
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-left: 2px solid var(--alaea);
  padding-left: var(--s-2);
  line-height: 1.6;
  animation: rise 0.9s ease-out 0.2s both;
  margin: 0;
}
@media (min-width: 768px) { .hero__stamp { font-size: 11px; } }
.hero__stamp-coords { margin: 0; color: var(--alaea); }
.hero__stamp-place  { margin: 0; }

/* The line. Broken across stanzas like a haiku. */
.hero--type .hero__title {
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 144, "SOFT" 20, "WONK" 1;
  font-weight: 600;
  font-size: clamp(48px, 7.5vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  max-width: 18ch;
}
.hero--type .hero__line {
  display: block;
  animation: rise 1s ease-out both;
}
.hero--type .hero__line:nth-child(1) { animation-delay: 0.35s; }
.hero--type .hero__line:nth-child(2) { animation-delay: 0.50s; }
.hero--type .hero__line:nth-child(3) { animation-delay: 0.70s; }
.hero--type .hero__line--accent em {
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--alaea);
}

/* Refrain + values block */
.hero__sub {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--ink);
  max-width: 760px;
  animation: rise 1s ease-out 0.9s both;
}
.hero__refrain {
  margin: 0;
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 24, "SOFT" 100;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.4;
  color: var(--ink-soft);
}
.hero__refrain em {
  font-style: italic;
  font-weight: 600;
  color: var(--alaea);
}
.hero__values {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
@media (min-width: 700px) {
  .hero__values { grid-template-columns: repeat(3, auto); gap: var(--s-4); }
}
.hero__values > div { display: flex; flex-direction: column; gap: 2px; }
.hero__values dt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.hero__values dd {
  margin: 0;
  font-family: var(--font-edit);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

/* Quiet CTA — late, single, restrained */
.hero--type .hero__cta {
  align-self: start;
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
  animation: rise 1s ease-out 1.1s both;
}
.hero--type .hero__cta:hover { color: var(--alaea); transform: translateX(4px); }
.hero__cta-num {
  color: var(--alaea);
  font-weight: 700;
}
.hero__cta-text {
  position: relative;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
}
.hero--type .hero__cta:hover .hero__cta-text { border-color: var(--alaea); }

/* ---------- Plate (demoted image, framed) ---------- */
.plate {
  background: var(--bone);
  padding: 0 var(--s-3) var(--s-5);
}
@media (min-width: 768px) { .plate { padding: 0 var(--s-4) var(--s-6); } }
.plate__frame {
  max-width: 960px;
  margin: 0 auto;
}
.plate__image {
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--ink);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
@media (max-width: 600px) {
  .plate__image { aspect-ratio: 4 / 3; box-shadow: 5px 5px 0 var(--ink); }
}
.plate__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.plate__caption {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  padding-top: var(--s-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.5;
}
.plate__num { color: var(--alaea); font-weight: 700; flex: 0 0 auto; }
.plate__text { flex: 1; }
.plate__text em { font-style: italic; color: var(--ink); }

/* ---------- 01 Intro (single dense paragraph) ---------- */
.intro { background: var(--bone); }
.intro__body {
  max-width: 720px;
  margin: var(--s-4) auto 0;
  text-align: center;
}
.intro__lede {
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 36, "SOFT" 80;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 var(--s-3);
}
.intro__lede em {
  font-style: italic;
  font-weight: 600;
  color: var(--alaea);
}
.intro__sig {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin: 0;
}

/* ---------- 03 Lineage: scrapbook + arc ---------- */
.lineage { background: var(--bone); }
.lineage__title {
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: var(--s-3) 0 0;
  color: var(--ink);
}

/* 2-col layout: scrapbook of Charlie + lineage arc */
.lineage__layout {
  max-width: var(--max-w);
  margin: var(--s-5) auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 900px) {
  .lineage__layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--s-6);
    align-items: start;
  }
}
.lineage__scrap {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
@media (min-width: 900px) {
  .lineage__scrap { position: sticky; top: var(--s-3); }
}

/* Individual scrap plates — magazine snapshot feel */
.scrap-plate {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.scrap-plate__image {
  overflow: hidden;
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--ink);
  aspect-ratio: 4 / 5;
}
.scrap-plate--feature .scrap-plate__image {
  aspect-ratio: 4 / 5;
  box-shadow: 8px 8px 0 var(--alaea);
}
.scrap-plate:nth-child(2) .scrap-plate__image {
  aspect-ratio: 5 / 4;
  margin-left: var(--s-3);
}
.scrap-plate:nth-child(3) .scrap-plate__image {
  aspect-ratio: 3 / 2;
}
.scrap-plate__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.scrap-plate:hover .scrap-plate__image img { transform: scale(1.04); }
.scrap-plate figcaption {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  padding-top: 4px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.scrap-plate__num { color: var(--alaea); font-weight: 700; flex: 0 0 auto; }
.scrap-plate:nth-child(2) figcaption { padding-left: var(--s-3); }

.lineage__arc {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.lineage__entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-1);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--ink);
}
@media (min-width: 768px) {
  .lineage__entry {
    grid-template-columns: minmax(220px, 0.4fr) 1fr;
    gap: var(--s-4);
    padding: var(--s-4) 0;
    align-items: baseline;
  }
}
.lineage__when {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--alaea);
  line-height: 1.4;
}
.lineage__what p {
  margin: 0;
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 18, "SOFT" 60;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink);
}
.lineage__what strong {
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(transparent 65%, rgba(160,56,44,0.18) 65%);
}
.lineage__what em {
  font-style: italic;
  font-weight: 600;
  color: var(--alaea);
}
.lineage__pull {
  max-width: var(--max-w);
  margin: var(--s-5) auto 0;
  padding: var(--s-4) 0 0;
  text-align: center;
}
.lineage__pull p {
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 72, "SOFT" 70, "WONK" 1;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 var(--s-2);
}
.lineage__pull cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

/* ---------- Polynesian page break between Doors ---------- */
.door-break {
  max-width: var(--max-w);
  margin: 0 auto var(--s-6);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.door-break__rule {
  flex: 1;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.door-break__rule::before,
.door-break__rule::after {
  content: "";
  position: absolute;
  width: 6px; height: 6px;
  background: var(--alaea);
  transform: rotate(45deg);
  top: -3px;
}
.door-break__rule::before { left: 0; }
.door-break__rule::after  { right: 0; }
.door-break__mark {
  flex: 0 0 auto;
  display: block;
  line-height: 0;
}
.door-break__mark svg { display: block; }

/* ---------- 04 Proof — magazine pullquote spread ---------- */
.proof { background: var(--bone-deep); }

/* Feature pullquote — the headline */
.proof__feature {
  max-width: 980px;
  margin: var(--s-5) auto var(--s-6);
  padding: 0 var(--s-3);
  position: relative;
  text-align: center;
}
.proof__mark {
  display: block;
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-weight: 600;
  font-size: clamp(120px, 16vw, 240px);
  line-height: 0.7;
  color: var(--alaea);
  opacity: 0.18;
  margin-bottom: calc(var(--s-3) * -1);
  user-select: none;
}
.proof__feature p {
  margin: 0 0 var(--s-3);
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 96, "SOFT" 60, "WONK" 1;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.proof__feature p em {
  font-style: italic;
  color: var(--alaea);
  font-weight: 600;
}
.proof__feature cite {
  display: inline-flex;
  align-items: baseline;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.proof__src { font-weight: 700; color: var(--ink); }
.proof__star { color: var(--alaea); font-weight: 700; }

/* Supporting quotes grid (3-up) */
.proof__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 700px) { .proof__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); } }
.proof__quote {
  margin: 0;
  padding: var(--s-3) 0 0;
  border-top: 1px solid var(--ink);
}
.proof__quote p {
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 24, "SOFT" 80;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 var(--s-2);
}
.proof__quote cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

/* Source strip — Tripadvisor / Viator / Travelers' Choice */
.proof__strip {
  max-width: var(--max-w);
  margin: var(--s-5) auto 0;
  padding: var(--s-3) var(--s-3);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  align-items: center;
  justify-items: center;
}
@media (min-width: 700px) {
  .proof__strip {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: var(--s-4);
  }
}
.proof__strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.proof__strip-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--alaea);
}
.proof__strip-num em {
  font-family: var(--font-edit);
  font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1;
  font-style: italic;
  font-weight: 600;
  font-size: 0.85em;
}
.proof__strip-label {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mid);
}
.proof__strip-divider {
  width: 1px;
  height: 32px;
  background: var(--ink);
  opacity: 0.3;
  display: none;
}
@media (min-width: 700px) { .proof__strip-divider { display: block; } }

/* Older proof__stat retired by the strip; keep selector inert */
.proof__stat { display: none; }

/* ---------- Booking band refrain ---------- */
.book__note em { font-style: italic; font-weight: 600; color: var(--alaea); }

/* ---------- Footer 'aumakua row (kapa stamps) ---------- */
.masthead-foot__aumakua {
  max-width: var(--max-w);
  margin: var(--s-4) auto 0;
  padding: var(--s-3) var(--s-4);
  border-top: 1px solid rgba(240, 232, 210, 0.18);
  border-bottom: 1px solid rgba(240, 232, 210, 0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  justify-items: center;
}
.aumakua {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.4s ease;
}
.aumakua:hover { opacity: 1; transform: translateY(-2px); }
.aumakua svg { width: 44px; height: 44px; display: block; }
@media (min-width: 768px) { .aumakua svg { width: 52px; height: 52px; } }
.aumakua figcaption {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alaea);
}

/* ---------- Footer notes ---------- */
.masthead-foot__notes {
  max-width: var(--max-w);
  margin: var(--s-4) auto 0;
  padding: 0 var(--s-4) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2);
}
@media (min-width: 900px) {
  .masthead-foot__notes { grid-template-columns: 1fr 1fr 1fr; gap: var(--s-4); }
}
.masthead-foot__note {
  font-family: var(--font-edit);
  font-size: 13px;
  line-height: 1.55;
  color: var(--bone);
  opacity: 0.7;
}
.masthead-foot__note strong {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--alaea);
  display: block;
  margin-bottom: 4px;
}
.masthead-foot__note em { font-style: italic; color: var(--bone); opacity: 0.85; }
.masthead-foot__note--draft { border-left: 2px solid var(--alaea); padding-left: var(--s-2); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
