/* ============================================================
   Lithien — lithien.com
   "A well-lit greenhouse built by an aerospace machine shop."
   ============================================================ */

:root {
  --ink:    #12211A;
  --forest: #1C3B2E;
  --fern:   #4F7D63;
  --sprout: #A7CDAF;
  --mist:   #EAF3ED;
  --paper:  #FFFFFF;
  --glass:  rgba(255, 255, 255, 0.62);
  --steel:  #C7D0D2;
  --line:   rgba(18, 33, 26, 0.16);

  /* derived */
  --fern-deep: #3F6B52;            /* fern darkened for small text on mist (AA) */
  --body-2:    #46584D;            /* secondary text */
  --lake:      #CFE4D9;            /* map water fill */
  --shadow-green: 0 10px 30px -12px rgba(28, 59, 46, 0.18);

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --nav-h: 64px;
}

/* ---------- reset ---------- */

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; }

ul { margin: 0; padding: 0; }

a { color: var(--fern-deep); text-underline-offset: 3px; }
a:hover { color: var(--forest); }

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

::selection { background: var(--sprout); color: var(--ink); }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

section[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

/* ---------- skip link ---------- */

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--forest);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus-visible { top: 0; outline-offset: 0; color: #fff; }

/* ---------- typography helpers ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fern-deep);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "◇";
  margin-right: 10px;
  color: var(--fern);
}
.eyebrow-h2 { font-size: 12px; margin-bottom: 28px; }

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  margin-bottom: 20px;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  max-width: 66ch;
  color: var(--ink);
  margin-bottom: clamp(32px, 5vw, 48px);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn-solid {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.btn-solid:hover, .btn-solid:focus-visible { background: #142c22; color: #fff; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--forest);
  border: 1px solid var(--steel);
}
.btn-ghost:hover { background: var(--mist); border-color: var(--fern); color: var(--forest); }

/* ---------- sticky glass nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(199, 208, 210, 0.75);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  color: var(--forest);
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}
.wordmark-glyph { color: var(--fern); margin-right: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 1.5px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--fern); }

.btn-nav { padding: 9px 18px; font-size: 0.9rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--steel);
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
  color: var(--forest);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.nav-toggle-icon { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle-icon span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--forest);
  border-radius: 1px;
  transition: transform 0.2s ease;
}
.site-nav.nav-open .nav-toggle-icon span:first-child { transform: translateY(3px) rotate(45deg); }
.site-nav.nav-open .nav-toggle-icon span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- sections & backgrounds ---------- */

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-paper { background: var(--paper); }
.section-mist  { background: var(--mist); border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); }

/* faint greenhouse pane grid */
.pane-grid {
  background-image:
    linear-gradient(to right, rgba(199, 208, 210, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(199, 208, 210, 0.4) 1px, transparent 1px);
  background-size: 112px 112px;
  background-color: var(--mist);
}

/* ---------- glass cards ---------- */

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--steel);
  border-radius: 10px;
  box-shadow: var(--shadow-green);
}

/* ---------- image frames (thin steel + white inset) ---------- */

.frame {
  display: block;
  margin: 0;
  padding: 2px;                    /* 2px white inset */
  background: var(--paper);
  border: 1px solid var(--steel);
  border-radius: 10px;
  overflow: hidden;
}
.frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}

/* styled placeholder when an image is missing */
.frame--missing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    linear-gradient(to right, rgba(199, 208, 210, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(199, 208, 210, 0.35) 1px, transparent 1px),
    linear-gradient(150deg, #FBFDFB 0%, #EDF5F0 100%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
}
.frame--missing::before {
  content: "◇";
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--fern);
}
.frame--missing::after {
  content: attr(data-label);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--body-2);
  text-align: center;
  padding: 0 16px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 880px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--steel);
  background-image:
    linear-gradient(to right, rgba(199, 208, 210, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(199, 208, 210, 0.4) 1px, transparent 1px),
    linear-gradient(180deg, #F7FBF8 0%, var(--mist) 100%);
  background-size: 112px 112px, 112px 112px, 100% 100%;
}

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* hero placeholder — intentional, not broken */
.hero-media.frame--missing {
  display: block;
  background:
    radial-gradient(900px 480px at 78% 30%, rgba(167, 205, 175, 0.4), transparent 65%),
    radial-gradient(700px 420px at 12% 85%, rgba(255, 255, 255, 0.9), transparent 60%);
}
.hero-media.frame--missing::before {
  content: "◇";
  position: absolute;
  top: 44%;
  right: 10%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(160px, 30vw, 340px);
  font-weight: 400;
  line-height: 1;
  color: rgba(79, 125, 99, 0.22);
}
.hero-media.frame--missing::after {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  bottom: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--body-2);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--steel);
  border-radius: 6px;
  padding: 6px 10px;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(22deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.82) 38%,
    rgba(255, 255, 255, 0.42) 62%,
    rgba(255, 255, 255, 0) 84%);
  pointer-events: none;
}

.hero-eyebrow, .hero h1, .hero-sub {
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.85), 0 0 3px rgba(255, 255, 255, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  padding-top: 140px;
  padding-bottom: clamp(56px, 9vh, 104px);
}

.hero-eyebrow { margin-bottom: 20px; }

.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.35rem);
  letter-spacing: -0.03em;
  max-width: 15ch;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-height: 1.62;
  max-width: 62ch;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- product ---------- */

.image-row {
  display: grid;
  grid-template-columns: 1.85fr 1fr;
  gap: 20px;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.image-row .frame { height: clamp(260px, 34vw, 440px); }

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.module-card {
  padding: 26px 26px 24px;
  position: relative;
}
.module-card h3 {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  margin: 14px 0 6px;
}
.module-card p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--body-2);
}

/* the one playful micro-interaction: two diamonds dock */
.dock {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1;
  color: var(--fern);
}
.module-card:hover .dock, .module-card:focus-within .dock { color: var(--forest); }

.image-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: clamp(32px, 5vw, 44px);
}
.image-strip .frame { height: clamp(200px, 28vw, 340px); }

.status-line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--fern-deep);
  border-top: 1px solid var(--steel);
  padding-top: 20px;
  margin: 0;
}
.status-line span { color: var(--fern); margin-right: 10px; }

/* ---------- island ---------- */

.island-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.island-block { padding: clamp(24px, 3.5vw, 36px); min-width: 0; }
.island-block h3 { font-size: 1.22rem; margin-bottom: 10px; }
.island-block .dmark { color: var(--fern); font-size: 0.9em; margin-right: 6px; }
.island-block-wide { grid-column: 1 / -1; }

.basin-copy { max-width: 88ch; margin-bottom: 28px; }

/* ---------- ore basin map ---------- */

.map-panel {
  background: var(--paper);
  border: 1px solid var(--steel);
  border-radius: 10px;
  padding: 10px 10px 0;
}

.map-scroll {
  overflow-x: auto;
  border-radius: 7px;
}
.map-scroll:focus-visible { outline-offset: 0; }

.ore-map {
  display: block;
  width: 100%;
  min-width: 660px;
  height: auto;
  border-radius: 7px;
}

.map-caption {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--body-2);
  text-align: center;
  padding: 12px 8px 14px;
  margin: 0;
}

/* svg internals */
.map-bg   { fill: var(--mist); }
.map-grat path { stroke: var(--steel); stroke-width: 1; opacity: 0.4; }
.map-lake {
  fill: var(--lake);
  stroke: var(--fern);
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.map-isle { fill: var(--mist); stroke: var(--fern); stroke-width: 1.2; }

.map-route {
  fill: none;
  stroke: #93A9AE;
  stroke-width: 1.2;
  stroke-dasharray: 2 5;
  stroke-linecap: round;
  opacity: 0.85;
}
.map-rail path {
  fill: none;
  stroke: var(--fern-deep);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
}
.map-rail .map-rail-cont { opacity: 0.45; stroke-dasharray: 2 5; stroke-width: 1.2; }
.map-arrow { fill: var(--fern-deep); }

.mk-mineral rect { fill: var(--paper); stroke: var(--fern); stroke-width: 1.6; }
.mk-infra rect   { fill: var(--paper); stroke: #7B8A8E; stroke-width: 1.4; }
.mk-star-ring    { fill: none; stroke: var(--forest); stroke-width: 1.3; opacity: 0.5; }
.mk-star-core    { fill: var(--forest); }

.ore-map text {
  font-family: var(--font-mono);
  paint-order: stroke;
  stroke: var(--mist);
  stroke-width: 3.5px;
  stroke-linejoin: round;
}
.lbl-name { font-size: 12px; font-weight: 500; letter-spacing: 0.04em; fill: var(--ink); }
.lbl-com  { font-size: 11px; fill: var(--fern-deep); }
.lbl-hq   { font-size: 12.5px; font-weight: 600; letter-spacing: 0.05em; fill: var(--forest); }
.lbl-bakken { font-weight: 500; letter-spacing: 0.04em; }
.map-state text { font-size: 10px; letter-spacing: 0.3em; fill: var(--ink); opacity: 0.42; stroke: none; }
.map-lakename { font-size: 11px; letter-spacing: 0.35em; fill: var(--fern); opacity: 0.75; stroke: none; }
.map-compass text { font-size: 10px; letter-spacing: 0.1em; fill: var(--body-2); stroke: none; }
.map-compass rect { fill: none; stroke: #7B8A8E; stroke-width: 1.2; }
.map-legend text { font-size: 9.5px; letter-spacing: 0.12em; fill: var(--body-2); stroke-width: 3px; }

.frame-panorama { height: clamp(220px, 30vw, 380px); margin-top: 20px; }

/* ---------- mission ---------- */

.mission-band {
  background: var(--forest);
  color: var(--mist);
  text-align: center;
  padding: clamp(72px, 10vw, 128px) 0;
}
.mission-glyph {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.5em;
  color: var(--sprout);
  margin-bottom: 18px;
}
.mission-band h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  margin-bottom: 18px;
}
.mission-band p {
  color: var(--mist);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.7;
  max-width: 64ch;
  margin: 0 auto;
}

/* ---------- team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.team-card {
  display: flex;
  gap: 22px;
  padding: clamp(22px, 3vw, 30px);
  align-items: flex-start;
}

.frame-team {
  flex: 0 0 128px;
  width: 128px;
  height: 156px;
}
.frame-team.frame--missing { gap: 0; position: relative; }
.frame-team.frame--missing::before {
  content: "";
  width: 58px;
  height: 58px;
  background: var(--forest);
  border-radius: 6px;
  transform: rotate(45deg);
}
.frame-team.frame--missing::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
  padding: 0;
}

.team-info h3 { font-size: 1.3rem; margin-bottom: 4px; }
.team-role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--fern-deep);
  margin-bottom: 12px;
}
.team-info p:last-child {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}

/* ---------- careers ---------- */

.roles { display: grid; gap: 14px; }

.role { overflow: hidden; }

.role summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
}
.role summary::-webkit-details-marker { display: none; }
.role summary:focus-visible { outline: 2px solid var(--fern); outline-offset: -2px; border-radius: 10px; }

.role-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  flex: 1;
}

.role-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.role-badges { display: inline-flex; flex-wrap: wrap; gap: 8px; }

.badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--forest);
  background: rgba(167, 205, 175, 0.32);
  border: 1px solid rgba(79, 125, 99, 0.28);
  border-radius: 5px;
  padding: 4px 9px;
  white-space: nowrap;
}

.role-caret {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--fern);
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.role[open] .role-caret { transform: rotate(45deg); color: var(--forest); }

.role-body {
  padding: 4px 24px 24px;
  border-top: 1px solid var(--line);
  margin: 0 0;
}
.role-body p { max-width: 78ch; padding-top: 14px; margin-bottom: 0; }
.role-body p + p { padding-top: 12px; }

.role-apply {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--body-2);
}

/* ---------- investors & press strip ---------- */

.invest-strip {
  background: var(--mist);
  border-top: 1px solid var(--steel);
  border-bottom: 1px solid var(--steel);
  padding: 30px 0;
  text-align: center;
}
.invest-strip p { font-size: 1.02rem; margin: 0; }
.invest-strip strong { font-family: var(--font-display); color: var(--forest); }
.invest-strip .sep { color: var(--fern); margin: 0 6px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--forest);
  color: var(--mist);
  padding: 44px 0 48px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-mark {
  font-family: var(--font-display);
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  margin: 0;
}
.footer-mark span { color: var(--sprout); margin-right: 6px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
}
.footer-links a {
  color: var(--mist);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(234, 243, 237, 0.35);
  padding-bottom: 2px;
}
.footer-links a:hover { color: #fff; border-bottom-color: var(--sprout); }
.footer-links a:focus-visible { outline-color: var(--sprout); }

/* ---------- motion ---------- */

/* scroll reveal — armed by JS only when motion is allowed */
html.anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.anim .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* orchestrated hero entrance */
  .hero-media img, .hero-media.frame--missing::before {
    animation: hero-settle 1.4s cubic-bezier(0.22, 0.7, 0.3, 1) both;
  }
  .hero-eyebrow  { animation: hero-rise 0.8s 0.15s cubic-bezier(0.22, 0.7, 0.3, 1) both; }
  .hero h1       { animation: hero-rise 0.9s 0.25s cubic-bezier(0.22, 0.7, 0.3, 1) both; }
  .hero-sub      { animation: hero-rise 0.9s 0.38s cubic-bezier(0.22, 0.7, 0.3, 1) both; }
  .hero-actions  { animation: hero-rise 0.9s 0.5s  cubic-bezier(0.22, 0.7, 0.3, 1) both; }

  .dock { transition: gap 0.28s cubic-bezier(0.34, 1.4, 0.5, 1), color 0.2s ease; }
  .module-card:hover .dock, .module-card:focus-within .dock { gap: 2px; }
}

@keyframes hero-settle {
  from { transform: scale(1.03); }
  to   { transform: scale(1); }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--steel);
    padding: 8px 0;
    box-shadow: var(--shadow-green);
  }
  .site-nav.nav-open .nav-links { display: flex; }
  .nav-links a {
    display: block;
    padding: 14px clamp(20px, 5vw, 32px);
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav-links li:last-child a { border-bottom: none; }

  .island-blocks { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .image-row { grid-template-columns: 1fr; }
  .image-row .frame { height: clamp(220px, 48vw, 360px); }
  .image-row .frame-tall { height: clamp(200px, 42vw, 320px); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .btn-nav { padding: 8px 13px; font-size: 0.82rem; }
  .nav-inner { gap: 12px; }
  .wordmark { font-size: 0.94rem; letter-spacing: 0.1em; }

  .hero-content { padding-top: 120px; }
  .hero-actions .btn { width: 100%; }

  .module-grid { grid-template-columns: 1fr; }
  .image-strip { grid-template-columns: 1fr; }
  .image-strip .frame { height: clamp(190px, 52vw, 280px); }

  .team-card { flex-direction: column; align-items: center; text-align: center; }
  .frame-team { width: 148px; height: 168px; }

  .role summary { padding: 16px 18px; }
  .role-body { padding: 4px 18px 20px; }

  .footer-inner { gap: 22px; }
}
