/* ============================================================
   Pangolin Journeys — shared site styles
   Tokens, base, header, footer, buttons, reveal.
   Page-specific CSS lives inline in each page.
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  color: #1B1D1A;
  background: #fff;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ---- Tokens ---- */
:root {
  --green: #013631;
  --green-hover: #024d46;
  --gold: #FEEDA7;
  --cream: #FBF8EE;
  --ink: #1B1D1A;
  --white: #fff;
  --olive: #465B2D;

  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --container-width: min(1280px, 100% - clamp(3rem, 8vw, 10rem));

  /* z-index scale */
  --z-sticky: 100;
  --z-header: 200;
  --z-overlay: 190;
}

/* ---- Utility ---- */
.container { width: var(--container-width); margin-inline: auto; }

.kicker {
  font-family: 'DM Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  display: block;
}

.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;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9em 1.9em;
  transition: background 240ms var(--ease-out-quart), color 240ms var(--ease-out-quart), border-color 240ms, transform 140ms var(--ease-out-quart);
}
.btn:active { transform: scale(0.97); }

.btn--solid-green {
  background: var(--green);
  color: var(--gold);
  border: 1.5px solid var(--green);
}
.btn--solid-green:hover { background: var(--green-hover); border-color: var(--green-hover); }

.btn--outline-green {
  color: var(--green);
  border: 1.5px solid var(--green);
}
.btn--outline-green:hover { background: var(--green); color: var(--gold); }

.btn--outline-cream {
  color: var(--cream);
  border: 1.5px solid rgba(251,248,238,0.45);
}
.btn--outline-cream:hover { background: var(--cream); color: var(--green); border-color: var(--cream); }

/* ---- Site Header ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.375rem clamp(1.5rem, 4vw, 4rem);
  transition: background 380ms var(--ease-out-quart), padding 380ms var(--ease-out-quart), opacity 220ms var(--ease-out-quart);
}
.site-header.is-scrolled {
  background: var(--green);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.header-logo { flex-shrink: 0; line-height: 0; }
/* drop-shadow keeps the logo legible over a transparent header on bright photos */
.header-logo img { height: 40px; width: auto; filter: drop-shadow(0 1px 5px rgba(1,54,49,0.45)); }
.header-logo .logo-dark { display: none; }
.site-header.is-scrolled .logo-light { display: none; }
.site-header.is-scrolled .logo-dark { display: block; }

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.25vw, 2.5rem);
}
.header-nav a {
  font-family: 'DM Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.92;
  text-shadow: 0 1px 6px rgba(1,54,49,0.55);
  transition: opacity 180ms;
}
.header-nav a:hover,
.header-nav a[aria-current="page"] { opacity: 1; }
.header-nav a[aria-current="page"] { color: var(--gold); }

.header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5.5px;
  width: 26px; height: 26px;
  flex-shrink: 0;
  transition: transform 140ms var(--ease-out-quart);
}
.header-burger:active { transform: scale(0.9); }
.header-burger span {
  display: block;
  height: 1.5px;
  background: #fff;
  transition: transform 280ms var(--ease-out-quart), opacity 200ms;
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  padding: 1.25rem clamp(1.5rem, 6vw, 2.75rem) clamp(2rem, 6vh, 3.25rem);
  background:
    radial-gradient(115% 55% at 50% 0%, rgba(2,77,70,0.6) 0%, rgba(1,54,49,0) 62%),
    var(--green);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition: opacity 200ms var(--ease-out-quart), transform 240ms var(--ease-out-expo), visibility 0s linear 240ms;
}
.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: opacity 260ms var(--ease-out-expo), transform 320ms var(--ease-out-expo), visibility 0s;
}
.mobile-nav__bar { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.mobile-nav__logo { line-height: 0; }
.mobile-nav__logo img { height: 34px; width: auto; }
.mobile-nav__close {
  width: 42px; height: 42px; margin-right: -9px;
  display: grid; place-items: center;
  color: var(--cream);
  border-radius: 50%;
  transition: background 200ms, transform 140ms var(--ease-out-quart);
}
.mobile-nav__close:active { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) { .mobile-nav__close:hover { background: rgba(255,255,255,0.08); } }
.mobile-nav__list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vh, 2rem) 0;
}
.mobile-nav__list li { border-top: 1px solid rgba(254,237,167,0.14); }
.mobile-nav__list li:last-child { border-bottom: 1px solid rgba(254,237,167,0.14); }
.mobile-nav__list a {
  display: flex; align-items: center; gap: 0.85rem;
  padding: clamp(0.72rem, 2.1vh, 1.15rem) 0.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 600;
  font-size: clamp(1.875rem, 7.5vw, 2.6rem);
  line-height: 1; letter-spacing: -0.012em;
  color: var(--cream);
  transition: color 200ms var(--ease-out-quart), transform 240ms var(--ease-out-quart);
}
.mobile-nav__list a[aria-current="page"] { color: var(--gold); }
.mobile-nav__list a[aria-current="page"]::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.mobile-nav__list a:active { color: var(--gold); transform: translateX(5px); }
@media (hover: hover) and (pointer: fine) { .mobile-nav__list a:hover { color: var(--gold); transform: translateX(5px); } }
.mobile-nav__foot { flex-shrink: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-nav__foot-label {
  font-family: 'DM Mono', monospace; font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.35rem;
}
.mobile-nav__foot a { font-size: 1.0625rem; color: rgba(255,255,255,0.72); transition: color 200ms; }
.mobile-nav__foot a:active { color: #fff; }
@media (hover: hover) and (pointer: fine) { .mobile-nav__foot a:hover { color: #fff; } }

/* Header hides while the mobile menu is open (prevents burger/logo overlapping the overlay) */
body.nav-open .site-header { opacity: 0; pointer-events: none; }

/* Staggered entrance for the menu items */
@media (prefers-reduced-motion: no-preference) {
  .mobile-nav__list li, .mobile-nav__foot { opacity: 0; transform: translateY(14px); }
  .mobile-nav.is-open .mobile-nav__list li,
  .mobile-nav.is-open .mobile-nav__foot {
    opacity: 1; transform: none;
    transition: opacity 440ms var(--ease-out-expo), transform 440ms var(--ease-out-expo);
  }
  .mobile-nav.is-open .mobile-nav__list li:nth-child(1) { transition-delay: 70ms; }
  .mobile-nav.is-open .mobile-nav__list li:nth-child(2) { transition-delay: 110ms; }
  .mobile-nav.is-open .mobile-nav__list li:nth-child(3) { transition-delay: 150ms; }
  .mobile-nav.is-open .mobile-nav__list li:nth-child(4) { transition-delay: 190ms; }
  .mobile-nav.is-open .mobile-nav__list li:nth-child(5) { transition-delay: 230ms; }
  .mobile-nav.is-open .mobile-nav__list li:nth-child(6) { transition-delay: 270ms; }
  .mobile-nav.is-open .mobile-nav__foot { transition-delay: 320ms; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-nav { transform: none; transition: opacity 120ms linear, visibility 0s linear 120ms; }
  .mobile-nav.is-open { transition: opacity 120ms linear, visibility 0s; }
}

@media (max-width: 1024px) {
  .header-nav { display: none; }
  .header-burger { display: flex; }
}

/* ---- Page hero (inner pages) — full-viewport, image-led like the home hero ---- */
.page-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  background: var(--green);
  color: #fff;
  /* top pad reserves the fixed-header band so the bottom-anchored content
     never slides under the nav on short / landscape viewports */
  padding: clamp(6rem, 14vh, 9rem) 0 clamp(3.5rem, 9vh, 7rem);
  overflow: hidden;
}
/* Two-stop scrim: keeps the middle of the photo crisp and clear, while
   darkening the top (nav legibility) and bottom (headline legibility). */
.page-hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(1,54,49,0.78) 0%, rgba(1,54,49,0.35) 10%, rgba(1,54,49,0) 22%),
    linear-gradient(to top, rgba(1,54,49,0.85) 0%, rgba(1,54,49,0.28) 34%, rgba(1,54,49,0) 62%);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero .kicker { color: var(--gold); margin-bottom: 1.125rem; }
.page-hero h1 {
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.75rem, 5.5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.022em;
  text-wrap: balance;
  max-width: 18ch;
  margin-bottom: 1.25rem;
}
.page-hero p {
  font-style: italic;
  font-size: clamp(1.0625rem, 1.35vw, 1.3rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--green);
  border-top: 1px solid rgba(254,237,167,0.12);
  padding: clamp(3.5rem, 8vh, 6rem) 0 2.25rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4.5vw, 5rem);
  margin-bottom: 3rem;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 1.375rem; opacity: 0.88; }
.footer-brand p {
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.58);
  max-width: 28ch;
}
.footer-col-head {
  font-family: 'DM Mono', monospace;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.125rem;
  display: block;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.9375rem; color: rgba(255,255,255,0.6); transition: color 200ms; }
.footer-links a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
}
.footer-contact-item a { color: inherit; transition: color 200ms; }
.footer-contact-item a:hover { color: #fff; }
.footer-socials { display: flex; gap: 0.625rem; margin-top: 1.375rem; }
.footer-social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(254,237,167,0.2);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.58);
  font-size: 0.8125rem;
  transition: border-color 200ms, color 200ms, transform 140ms var(--ease-out-quart);
}
.footer-social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-social-link:active { transform: scale(0.92); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.625rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-align: center;
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Featured journeys grid (destinations page) ---- */
.jrn-section { background: var(--cream); padding: clamp(4rem, 9vh, 7.5rem) 0; }
.jrn-section__head { margin-bottom: clamp(2rem, 4vh, 3rem); max-width: 60ch; }
.jrn-section__head .kicker { margin-bottom: 0.875rem; }
.jrn-section__head h2 {
  font-weight: 700;
  font-size: clamp(2rem, 3.25vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.014em;
  color: var(--green);
}
.jrn-section__head p {
  font-style: italic;
  font-size: clamp(1.0625rem, 1.2vw, 1.2rem);
  color: #555751;
  margin-top: 0.5rem;
}
.jrn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.journey-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(1,54,49,0.1);
  overflow: hidden;
  transition: box-shadow 340ms var(--ease-out-quart), transform 340ms var(--ease-out-quart);
}
.journey-card:hover { box-shadow: 0 6px 28px rgba(1,54,49,0.12); transform: translateY(-2px); }
.journey-card__img-wrap { overflow: hidden; }
.journey-card__img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 640ms var(--ease-out-quart);
}
.journey-card:hover .journey-card__img-wrap img { transform: scale(1.05); }
.journey-card__body { padding: 1.125rem 1.25rem 1.5rem; }
.journey-card__loc {
  font-family: 'DM Mono', monospace;
  font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.journey-card__loc::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--olive); flex-shrink: 0; }
.journey-card__title { font-size: 1.1875rem; font-weight: 600; line-height: 1.25; color: var(--green); margin-bottom: 1rem; }
.journey-card__meta { display: flex; gap: 1.5rem; padding-top: 0.875rem; border-top: 1px solid rgba(1,54,49,0.09); }
.journey-card__meta-item { display: flex; flex-direction: column; gap: 0.225rem; }
.journey-card__meta-label {
  font-family: 'DM Mono', monospace; font-size: 0.5rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #8a8c86;
}
.journey-card__meta-value { font-family: 'DM Mono', monospace; font-size: 0.8125rem; font-weight: 500; color: var(--ink); }

/* ---- Scroll reveal ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 680ms var(--ease-out-expo), transform 680ms var(--ease-out-expo);
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  .reveal-fade { opacity: 0; transition: opacity 580ms var(--ease-out-expo); }
  .reveal-fade.is-visible { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade { opacity: 1; transform: none; }
  /* Keep colour/opacity feedback; drop transform-based motion */
  .btn:active, .header-burger:active,
  .mobile-nav__close:active, .footer-social-link:active { transform: none; }
}

/* =============================================================
   THEME SURFACES — journal, prose pages, search, 404, comments
   (added for the WordPress theme; uses the same design tokens)
   ============================================================= */

/* Accessibility */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  left: 1rem; top: 1rem;
  z-index: 200;
  background: var(--green); color: var(--cream);
  padding: 0.75rem 1.25rem;
  font-family: "DM Mono", monospace;
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus {
  position: fixed;
  width: auto; height: auto;
  margin: 0; clip: auto;
  white-space: normal;
}

/* Readable prose column (pages + posts) */
.pj-prose-section { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--cream); }
.pj-prose { max-width: 72ch; }
.pj-prose h2, .pj-prose h3 { margin: 2.2em 0 0.6em; color: var(--green); }
.pj-prose p, .pj-prose ul, .pj-prose ol { margin: 0 0 1.2em; line-height: 1.75; }
.pj-prose img { max-width: 100%; height: auto; }
.pj-prose a { color: var(--green); }
.pj-prose blockquote {
  margin: 2em 0; padding: 0.5em 0 0.5em 1.5em;
  border-left: 2px solid var(--green);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25em; font-style: italic;
}
.pj-page-links { margin: 2em 0; font-family: "DM Mono", monospace; font-size: 0.85rem; }
.pj-entry-tags { margin-top: 2.5em; font-size: 0.9rem; }
.pj-entry-tags a { color: var(--green); }

/* Listing views (journal index, archives, search) */
.pj-listing { padding: clamp(3rem, 7vw, 6rem) 0; background: var(--cream); }
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.post-card { background: var(--white); border: 1px solid rgba(1, 54, 49, 0.12); display: flex; flex-direction: column; }
.post-card__img-wrap { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.post-card__img, .post-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out-quart); }
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__body { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.post-card__meta { font-size: 0.72rem; }
.post-card__title { margin: 0; font-size: 1.5rem; line-height: 1.2; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--green); }
.post-card__excerpt { font-size: 0.95rem; line-height: 1.65; color: rgba(27, 29, 26, 0.75); }
.post-card__excerpt p { margin: 0; }
.post-card__more {
  margin-top: auto; padding-top: 0.5rem;
  font-family: "DM Mono", monospace;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); text-decoration: none;
}
.post-card__more:hover { text-decoration: underline; }

/* Pagination */
.pagination, .pj-comments .navigation { margin-top: 3rem; }
.pagination .nav-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  font-family: "DM Mono", monospace; font-size: 0.85rem;
}
.pagination .page-numbers {
  display: inline-block; padding: 0.6rem 1rem;
  border: 1px solid var(--green); color: var(--green); text-decoration: none;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--green); color: var(--cream); }

/* Previous / next journal navigation */
.pj-post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.pj-post-nav__link {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1.5rem; border: 1px solid rgba(1, 54, 49, 0.2);
  text-decoration: none; color: var(--ink); background: var(--white);
}
.pj-post-nav__link--next { text-align: right; align-items: flex-end; }
.pj-post-nav__link:hover { border-color: var(--green); }
.pj-post-nav__title { font-family: "Cormorant Garamond", serif; font-size: 1.35rem; color: var(--green); }
@media (max-width: 640px) { .pj-post-nav { grid-template-columns: 1fr; } }

/* Search form */
.pj-search-form { display: flex; gap: 0.75rem; max-width: 34rem; }
.pj-search-form__input {
  flex: 1; padding: 0.85rem 1rem;
  border: 1px solid rgba(1, 54, 49, 0.35); background: var(--white);
  font: inherit; color: var(--ink);
}
.pj-search-form__input:focus { outline: 2px solid var(--green); outline-offset: 1px; }

/* Empty states + 404 */
.pj-empty { max-width: 40rem; }
.pj-empty h2 { color: var(--green); }
.pj-empty p { margin: 0.75rem 0 1.25rem; }
.pj-404__routes { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* Comments */
.pj-comments { padding: 0 0 clamp(3rem, 6vw, 5rem); max-width: 72ch; }
.pj-comments__title { color: var(--green); }
.pj-comments__list { list-style: none; margin: 2rem 0; padding: 0; }
.pj-comments__list .comment { padding: 1.25rem 0; border-top: 1px solid rgba(1, 54, 49, 0.15); }
.pj-comments__list .comment .children { list-style: none; margin: 1rem 0 0 2rem; padding: 0; }
.pj-comments__list .avatar { border-radius: 50%; margin-right: 0.75rem; vertical-align: middle; }
.pj-comments__list .comment-metadata { font-family: "DM Mono", monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.pj-comments__list .comment-metadata a { color: rgba(27, 29, 26, 0.6); text-decoration: none; }
.pj-comments__list .reply a { font-family: "DM Mono", monospace; font-size: 0.75rem; color: var(--green); }
.comment-form label { display: block; margin-bottom: 0.35rem; font-family: "DM Mono", monospace; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 0.85rem 1rem; margin-bottom: 1.25rem;
  border: 1px solid rgba(1, 54, 49, 0.35); background: var(--white);
  font: inherit; color: var(--ink);
}
.comment-form .submit {
  display: inline-block; padding: 1rem 2rem;
  background: var(--green); color: var(--cream); border: 0; cursor: pointer;
  font-family: "DM Mono", monospace; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.comment-form .submit:hover { background: var(--green-hover); }

/* Text-only heroes (journal, search, archives without imagery) stay compact —
   the full-viewport treatment is reserved for image heroes. */
.page-hero:not(.page-hero--image) {
  min-height: clamp(20rem, 45vh, 32rem);
}
