.site-header .nav-list a:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (620px < width <= 820px) {
  .site-header .header-inner {
    gap: 10px;
  }

  .site-header .nav-list {
    column-gap: clamp(12px, 1.9vw, 16px);
  }

  .site-footer .footer-signature-v2--wake {
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  }
}

@media (620px < width <= 715px) {
  .site-header .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-block: 13px 14px;
  }
}

@media (620px < width <= 1250px) {
  .hero-visual::before {
    right: -20px;
  }
}

@media (max-width: 600px) {
  .site-header .nav-list {
    margin-left: 0;
    column-gap: clamp(4px, 1.15vw, 7px);
  }

  .site-header .nav-list a {
    font-size: clamp(.78rem, 3.2vw, .87rem);
  }
}


/* EIR final approval system · 2026-11-24
   Frozen decisions: compact section heroes, role-based typography,
   compact hub rhythm, stable island photos, Travel Stories photo strip. */
:root {
  --eir-h1-internal: clamp(2.35rem, 3.8vw, 3.25rem);
  --eir-h1-section: clamp(2.25rem, 3.55vw, 3rem);
  --eir-h2-section: clamp(1.95rem, 2.55vw, 2.45rem);
  --eir-h2-article: clamp(1.85rem, 2.35vw, 2.25rem);
  --eir-card-title: clamp(1.65rem, 2vw, 2rem);
}

/* Consistent internal-page hierarchy. The home landing hero remains intentionally distinct. */
.page-hero.cc-hero h1,
.article-hero h1,
.pier-hero h1,
.prose-page > h1 {
  font-size: var(--eir-h1-internal);
  line-height: 1.08;
  letter-spacing: -.026em;
}

.section h2,
.hub-section h2,
.split-intro h2,
.two-column h2,
.pier-block h2,
.pier-intro h2 {
  font-size: var(--eir-h2-section);
  line-height: 1.1;
  letter-spacing: -.018em;
}

.travel-story__body h2,
.article-body h2,
.guide-body h2,
.prose-page h2 {
  font-size: var(--eir-h2-article);
  line-height: 1.12;
  letter-spacing: -.012em;
}

.story-card__copy h2,
.guide-card h2,
.card h2 {
  font-size: var(--eir-card-title);
  line-height: 1.1;
}

.story-contributor h2,
.story-related h2 {
  font-size: clamp(1.6rem, 1.9vw, 1.9rem);
  line-height: 1.15;
}

/* New hub/section pages: compact heroes stay compact. */
.eir-section-page .page-hero.cc-hero.shell.cc-hero--unified .cc-hero__layout,
.eir-collection-page .page-hero.cc-hero.shell.cc-hero--unified .cc-hero__layout {
  min-height: 0;
  padding-block: 22px 24px;
}

.eir-section-page .page-hero.cc-hero.shell.cc-hero--unified h1,
.eir-collection-page .page-hero.cc-hero.shell.cc-hero--unified h1 {
  font-size: var(--eir-h1-section);
  margin-bottom: 10px;
}

.eir-section-page .page-hero.cc-hero.shell.cc-hero--unified .breadcrumbs,
.eir-collection-page .page-hero.cc-hero.shell.cc-hero--unified .breadcrumbs {
  margin-bottom: 10px;
}

.eir-section-page .page-hero.cc-hero.shell.cc-hero--unified .eyebrow,
.eir-collection-page .page-hero.cc-hero.shell.cc-hero--unified .eyebrow {
  margin-bottom: 8px;
}

/* Stable hero photography on all three island hubs. */
.eir-island-page .page-hero.cc-hero--island .cc-hero__art {
  align-self: center;
  width: 100%;
  min-width: 0;
}

.eir-island-page .page-hero.cc-hero--island .cc-photo {
  width: 100%;
  height: auto;
  margin: 0;
  gap: 4px;
}

.eir-island-page .page-hero.cc-hero--island .cc-photo-frame {
  width: 100%;
  height: clamp(220px, 18vw, 258px);
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 14px;
}

.eir-island-page .page-hero.cc-hero--island .cc-photo-frame img,
.eir-island-page .page-hero.cc-hero--island .cc-photo-frame picture {
  width: 100%;
  height: 100%;
}

.eir-island-page .page-hero.cc-hero--island .cc-photo-frame img {
  object-fit: cover;
  display: block;
}

.eir-island-page .page-hero.cc-hero--island .cc-photo-credit {
  min-height: 30px;
  overflow: visible;
}

.eir-island-page .page-hero.cc-hero--island .cc-photo-credits summary {
  min-height: 30px;
  line-height: 30px;
}

/* Compact inter-section rhythm: remove accidental blank-screen gaps, keep intentional breathing room. */
@media (min-width: 761px) {
  .eir-section-page main > .section {
    padding-block: 36px;
  }

  .eir-section-page main > .section.compact-top {
    padding-top: 34px;
    padding-bottom: 36px;
  }

  .eir-section-page main > .section.hub-section {
    padding-block: 36px;
  }

  .eir-section-page main > .section + .section {
    padding-top: 30px;
  }

  .eir-section-page main > .journey-context {
    padding-block: 25px 28px;
  }

  .eir-section-page main > .guide-hub-nav {
    padding-block: 22px 40px;
  }

  .eir-section-page .two-column {
    gap: clamp(40px, 5vw, 68px);
  }

  .eir-section-page .hub-grid,
  .eir-section-page .route-journey {
    margin-top: 28px;
  }

  .eir-section-page .hub-basics li + li {
    margin-top: 12px;
  }

  .eir-collection-page main > .section.hub-section {
    padding-block: 38px 50px;
  }
}

/* Travel Stories — approved option C: four real photos at small scale. */
.eir-stories-page .page-hero.cc-hero--stories .cc-hero__layout {
  grid-template-columns: minmax(0, 1.42fr) minmax(270px, .58fr);
  gap: 28px;
}

.eir-stories-page .page-hero.cc-hero--stories .cc-hero__copy > p:not(.eyebrow) {
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.5;
}

.eir-stories-page .cc-hero__art--stories-strip {
  height: auto;
  min-height: 0;
  justify-content: center;
}

.eir-stories-page .cc-stories-photo-strip {
  width: min(100%, 330px);
  height: 112px;
  margin: 0 auto;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  border-radius: 14px;
  background: rgba(255,255,255,.6);
  box-shadow: 0 7px 18px rgba(78,52,46,.11);
  overflow: hidden;
}

.eir-stories-page .cc-stories-photo-strip img {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 760px) {
  :root {
    --eir-h1-internal: clamp(2rem, 8vw, 2.55rem);
    --eir-h1-section: clamp(1.95rem, 7.4vw, 2.45rem);
    --eir-h2-section: clamp(1.75rem, 6.8vw, 2.1rem);
    --eir-h2-article: clamp(1.65rem, 6.2vw, 2rem);
    --eir-card-title: clamp(1.5rem, 5.8vw, 1.85rem);
  }

  .eir-section-page .page-hero.cc-hero.shell.cc-hero--unified .cc-hero__layout,
  .eir-collection-page .page-hero.cc-hero.shell.cc-hero--unified .cc-hero__layout {
    padding-block: 17px 19px;
    gap: 14px;
  }

  .eir-section-page main > .section,
  .eir-section-page main > .section.hub-section {
    padding-block: 32px;
  }

  .eir-section-page main > .section.compact-top {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .eir-section-page main > .journey-context {
    padding-block: 22px 25px;
  }

  .eir-island-page .page-hero.cc-hero--island .cc-photo-frame {
    height: 180px;
  }

  .eir-island-page .page-hero.cc-hero--island .cc-photo-credit {
    min-height: 28px;
  }

  .eir-stories-page .cc-hero__art--stories-strip {
    display: none;
  }

  .eir-stories-page .page-hero.cc-hero--stories .cc-hero__layout {
    display: block;
  }

  .eir-collection-page main > .section.hub-section {
    padding-block: 30px 38px;
  }
}

/* Final consistency pass: one internal H1 scale + hide Travel Stories strip on mobile. */
:root {
  --eir-h1-internal: clamp(2.25rem, 3.55vw, 3rem);
}
@media (max-width: 760px) {
  :root { --eir-h1-internal: clamp(1.95rem, 7.4vw, 2.45rem); }
  .eir-stories-page .page-hero.cc-hero.shell.cc-hero--unified .cc-hero__art.cc-hero__art--stories-strip {
    display: none !important;
  }
}
