/* ===== Design tokens ===== */
:root {
  --bg: #fbf9f5; /* warm off-white page */
  --bg-alt: #e6f5f3; /* mint section tint */
  --surface: #ffffff;
  --dark: #12263f; /* deep navy */
  --border: #d9e1e3;

  --text: #12263f;
  --text-secondary: #5b6b7b; /* slate body text */
  --text-muted: #5b6b7b; /* kept equal to secondary so it passes AA on mint */
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #b4c2cf;

  /* brand: navy + teal, one warm accent (coral) reserved for actions */
  --teal: #0f7f7a; /* text, links, icons, borders (AA on light surfaces) */
  --teal-hover: #0b6a66;
  --teal-bright: #1fa9a0; /* brand teal: fills, graphics, and use on navy */
  --teal-tint: #e6f5f3;

  --coral: #ff8a5b; /* CTAs only; always with navy text */
  --coral-hover: #f27544;
  --yellow: #ffc857; /* rare highlight */

  /* status: no red/green. Teal = typical, amber = worth discussing */
  --good: #0f7f7a;
  --good-tint: #e6f5f3;
  --warn: #ffc857;
  --warn-tint: #fff4d9;
  --info: #5b6b7b;
  --info-tint: #eef1f3;

  --r-lg: 8px;
  --r-sm: 4px;
  --r-btn: 4px;

  --shadow-sm: 1px 1px 0 rgba(18, 38, 63, 0.18);
  --shadow-md: 2px 2px 0 rgba(18, 38, 63, 0.22);
  --shadow-lg: 3px 3px 0 rgba(18, 38, 63, 0.28);

  --font-head: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --nav-h: 76px;
  --section-pad: 64px;
}

@media (max-width: 860px) {
  :root {
    --section-pad: 40px;
    --nav-h: 64px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.band-dark :focus-visible,
.footer :focus-visible {
  outline-color: var(--teal-bright);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h2 {
  font-size: clamp(28px, 3.6vw, 44px);
}
h3 {
  font-size: 20px;
  font-weight: 600;
}
h4 {
  font-size: 16px;
  font-weight: 600;
}
p {
  margin: 0 0 1em;
  color: var(--text-secondary);
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mono {
  font-family: var(--font-mono);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap.narrow {
  max-width: 820px;
}

.section {
  padding: var(--section-pad) 0;
}
.band-alt {
  background: var(--bg-alt);
}
.band-dark {
  background: var(--dark);
}
.band-dark p {
  color: var(--text-on-dark-muted);
}
.band-dark h1,
.band-dark h2,
.band-dark h3,
.band-dark h4 {
  color: #fff;
}
.on-dark {
  color: var(--text-on-dark) !important;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.eyebrow.on-dark {
  color: var(--text-on-dark-muted) !important;
}

.section-head {
  max-width: 680px;
  margin-bottom: 28px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-sub {
  font-size: 16px;
}

.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: var(--teal);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.12s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-sm {
  padding: 7px 14px;
  font-size: 14px;
}
.btn-primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--coral-hover);
  border-color: var(--coral-hover);
}
.btn-outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal-tint);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.wordmark span {
  font-weight: 500;
  color: var(--teal);
}
.wordmark.on-dark {
  color: #fff;
}
.wordmark.on-dark span {
  color: var(--teal-bright);
}
/* Section links: small uppercase mono, underline marks the section in view */
.nav-links {
  display: flex;
  align-self: stretch;
  gap: clamp(12px, 1.5vw, 22px);
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}
.nav-links a {
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
  box-shadow: inset 0 -2px 0 transparent;
  transition:
    color 0.15s ease,
    box-shadow 0.15s ease;
}
.nav-links a:hover {
  color: var(--teal);
}
.nav-links a.active {
  color: var(--teal);
  box-shadow: inset 0 -2px 0 var(--teal);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  position: relative;
  font-family: var(--font-mono);
  font-size: 13px;
}
.lang-current {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--text-secondary);
  cursor: pointer;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 170px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.lang-switch.open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-option {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--text-secondary);
}
.lang-menu .lang-option:hover {
  background: var(--teal-tint);
}
.lang-option.lang-active {
  color: var(--teal);
  font-weight: 600;
}

.footer-lang {
  display: flex;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.footer-lang .lang-option {
  width: auto;
  padding: 2px 4px;
  color: var(--text-on-dark-muted);
}
.footer-lang .lang-option.lang-active {
  color: var(--teal-bright);
}

.nav-mobile-lang {
  display: flex;
  gap: 8px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.nav-mobile-lang .lang-option {
  flex: 1;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  background: #fff;
}
.nav-mobile-lang .lang-option.lang-active {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-tint);
}

.nav-burger {
  display: none;
  align-items: center;
  gap: 10px;
  background: none;
  border: 1px solid var(--dark);
  border-radius: var(--r-btn);
  cursor: pointer;
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
}
.burger-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.burger-lines span {
  width: 16px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 16px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-md);
}
.nav-mobile a {
  padding: 12px 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a.active {
  color: var(--teal);
}
.nav-mobile a.btn {
  font-family: var(--font-body);
  letter-spacing: normal;
  text-transform: none;
}
.nav-mobile a:last-child {
  border-bottom: none;
  margin-top: 8px;
  text-align: center;
}
.nav-mobile.open {
  display: flex;
}

@media (max-width: 1200px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--section-pad) * 0.8) 0 var(--section-pad);
  overflow: hidden;
  background: var(--bg);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}
.hero-copy .lede {
  font-size: 18px;
  max-width: 52ch;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin: 14px 0 10px;
  flex-wrap: wrap;
}
.hero-ctas.center {
  justify-content: center;
}
.honesty-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.hero-base {
  position: absolute;
  bottom: 6%;
  width: min(320px, 88%);
  height: 1px;
  background: var(--border);
}
.scan-platform {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 3/4;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  position: relative;
}
.scan-platform::before {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 50%;
  translate: -50% 0;
  width: 76%;
  height: 2px;
  background: var(--teal-bright);
}
.point-cloud {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(10px);
  animation: floatIn 0.6s ease forwards;
}
.fc-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.fc-value {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--teal);
}
.fc-1 {
  top: 6%;
  left: -4%;
  animation-delay: 1.1s;
}
.fc-2 {
  top: 38%;
  right: -8%;
  animation-delay: 1.4s;
}
.fc-3 {
  bottom: 8%;
  left: 2%;
  animation-delay: 1.7s;
}
@keyframes floatIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    min-height: 320px;
  }
  .float-card {
    display: none;
  }
}

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 0 16px;
  position: relative;
}
.trust-stat + .trust-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: var(--border);
}
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--teal);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
@media (max-width: 760px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }
  .trust-stat:nth-child(3)::before {
    display: none;
  }
}

/* ===== Results ===== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.result-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 17px;
}
.result-group h3 .icon {
  color: var(--teal);
  flex-shrink: 0;
}
.result-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.result-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.result-label {
  font-size: 14.5px;
  color: var(--text);
}
.result-sub {
  font-size: 13px;
  color: var(--text-muted);
}
.results-note {
  margin-top: 20px;
  max-width: 720px;
}
@media (max-width: 860px) {
  .results-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Two col / problem ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.point-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  color: var(--text-secondary);
}
.point-list .icon {
  margin-top: 3px;
  color: var(--teal);
}

/* ===== Is / is not cards ===== */
.is-cards {
  margin-bottom: 20px;
}
.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.is-card {
  border-left: 4px solid var(--border);
}
.is-card.border-teal {
  border-left-color: var(--teal);
}
.is-card.border-neutral {
  border-left-color: var(--text-muted);
}
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.check-list .icon {
  color: var(--teal);
  margin-top: 2px;
}
.check-list.muted .icon {
  color: var(--text-muted);
}
.mono-statement {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin: 0;
}

/* ===== Steps flow ===== */
.steps-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.steps-line {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 1px;
  z-index: 0;
}
.dash-draw {
  stroke-dasharray: 6 8;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.4s ease;
}
.dash-draw.drawn {
  stroke-dashoffset: 0;
}
.step-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 16px 14px;
  text-align: left;
}
.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
  margin-bottom: 8px;
}
.step-icon {
  margin-bottom: 8px;
}
.step-card h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}
.step-card p {
  font-size: 14.5px;
  margin: 0;
}
/* the "parents see it first" step gets the coral border, text stays teal/navy for contrast */
.step-emphasis {
  border-color: var(--coral);
  box-shadow:
    0 0 0 1px var(--coral),
    var(--shadow-sm);
}
@media (max-width: 980px) {
  .steps-flow {
    grid-template-columns: 1fr;
  }
  .steps-line {
    display: none;
  }
}

/* ===== Sample report ===== */
.report-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.note-inline {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}
.note-inline .icon {
  color: var(--info);
  margin-top: 2px;
  flex-shrink: 0;
}
.report-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 480px;
  width: 100%;
  padding: 16px 16px 14px;
  transform: rotate(-1deg);
}
.report-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.report-body {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.report-metrics {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.report-metrics li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px dashed var(--border);
  padding-bottom: 6px;
}
.report-status {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--warn-tint);
  border: 1px solid var(--yellow);
  border-radius: var(--r-sm);
  padding: 10px;
}
.report-status .icon {
  color: var(--dark);
  margin-top: 2px;
}
.report-status strong {
  color: var(--text);
  font-size: 14.5px;
}
.report-status p {
  font-size: 13.5px;
  margin: 4px 0 0;
}
.report-status-mini {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--good-tint);
  border: 1px solid rgba(31, 169, 160, 0.4);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 520px;
  width: 100%;
}
.report-status-mini .icon {
  color: var(--good);
}
@media (max-width: 560px) {
  .report-body {
    flex-direction: column;
  }
}

/* ===== Card grid ===== */
/* structural-border grid: shared 1px lines instead of gapped shadow cards */
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}
.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid .card {
  border: none;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 980px) {
  .card-grid.four {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .card-grid.four,
  .card-grid.three {
    grid-template-columns: 1fr;
  }
}

.icon-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--teal-tint);
  margin-bottom: 10px;
}
.icon-card p {
  font-size: 14.5px;
  margin: 0;
}
.audience-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px;
}
.audience-card .btn {
  margin-top: 8px;
}

.download-item {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  font-weight: 600;
  color: var(--teal);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}
.download-item:hover {
  background: var(--teal-tint);
}

.privacy-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 14px;
}
.privacy-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.privacy-list .icon {
  color: var(--teal);
  margin-top: 2px;
  flex-shrink: 0;
}
.privacy-list strong {
  display: block;
  font-size: 15.5px;
  color: var(--text);
  margin-bottom: 2px;
}
.privacy-list span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* privacy as a navy band */
.band-dark .privacy-list .icon {
  color: var(--teal-bright);
}
.band-dark .privacy-list strong {
  color: #fff;
}
.band-dark .privacy-list span {
  color: var(--text-on-dark-muted);
}
.band-dark .download-item {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: none;
}
.band-dark .download-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.band-dark .download-item .icon {
  color: var(--teal-bright);
}

/* ===== Learn More: tags + plain lists (reused inside accordion panels) ===== */
.eco-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
  margin: 0;
}
.eco-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  padding: 7px 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.eco-tag .icon {
  color: var(--teal);
  flex-shrink: 0;
}

.acc-panel .plain-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px 4px;
  margin: 0;
}
.acc-panel .plain-list li {
  font-size: 14.5px;
  color: var(--text-secondary);
  list-style: none;
}
.acc-panel .panel-note {
  padding: 0 16px 12px;
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  margin: 0;
}

/* ===== FAQ accordion ===== */
.accordion {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.acc-item {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.acc-item:last-child {
  border-bottom: none;
}
.acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.acc-icon {
  color: var(--teal);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.acc-item.open .acc-icon {
  transform: rotate(45deg);
}
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.acc-panel p {
  padding: 0 16px 12px;
  font-size: 14.5px;
  margin: 0;
}
.disclaimer-band {
  text-align: center;
  background: var(--teal-tint);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== Footer (flat navy, no photo, no gradient) ===== */
.footer {
  position: relative;
  background: var(--dark);
  padding-top: var(--section-pad);
  overflow: hidden;
}
.footer h2 {
  color: #fff;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 8px;
}
.footer-cta {
  text-align: center;
  padding-bottom: var(--section-pad);
  border-bottom: 1px solid rgba(180, 194, 207, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr) 1.3fr;
  gap: 20px;
  padding: 32px 24px;
}
.footer-brand p {
  color: var(--text-on-dark-muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 26ch;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-on-dark-muted);
  font-size: 14px;
  margin-bottom: 10px;
}
.footer-col a:hover {
  color: var(--teal-bright);
}
.signup-form {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.signup-form input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(180, 194, 207, 0.3);
  border-radius: 8px;
  padding: 10px 12px;
  color: #fff;
  font-size: 13.5px;
}
.signup-form input::placeholder {
  color: var(--text-on-dark-muted);
}
.signup-form button {
  background: var(--coral);
  border: none;
  border-radius: 8px;
  width: 40px;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.signup-form button .icon {
  color: var(--dark);
}
.signup-form button:hover {
  background: var(--coral-hover);
}
.footer-email {
  font-size: 13.5px !important;
  color: var(--teal-bright) !important;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(180, 194, 207, 0.2);
  padding: 14px 24px;
  font-size: 12.5px;
  color: var(--text-on-dark-muted);
}
@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Photography (kept flat, for future licensed/own photos only) ===== */
.photo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Build log: spec strip + feature viewer + iteration list ===== */
#build-log {
  padding: var(--section-pad) 0;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 16px;
}
.spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
}
.spec + .spec {
  border-left: 1px solid var(--border);
}
.spec-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.spec-v {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.measure-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  background: var(--teal-tint);
  padding: 14px 16px;
  margin-bottom: 16px;
}
.measure-note .icon {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}
.measure-note p {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.build-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  border: 1px solid var(--border);
  background: var(--surface);
}

.log-feature {
  margin: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}
.log-feature img {
  display: block;
  width: 100%;
  height: clamp(420px, 72vh, 680px);
  object-fit: contain; /* whole photo visible, no cropping */
  object-position: 50% 50% !important; /* overrides the old inline crop positions */
  background: var(--bg-alt);
}
.log-feature figcaption {
  margin-top: auto;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
}
.log-feature figcaption b {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text);
  margin-right: 8px;
}

.log-list {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.log-head {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.log-row {
  flex: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  padding: 6px 14px;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  transition: background 0.15s ease;
}
.log-row:last-child {
  border-bottom: none;
}
.log-row:hover {
  background: var(--bg);
}
.log-row.active {
  background: var(--teal-tint);
  border-left-color: var(--teal);
}
.log-row:focus-visible {
  outline-offset: -2px;
}
.log-thumb {
  display: block;
  width: 88px;
  height: 60px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.log-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.log-code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
}
.log-text {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text-secondary);
}

@media (max-width: 980px) {
  .build-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .log-row {
    grid-template-columns: 72px 1fr;
  }
  .log-thumb {
    width: 72px;
    height: 52px;
  }
}
@media (max-width: 860px) {
  .spec-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .spec:nth-child(3) {
    border-left: none;
  }
  .spec:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
  .build-layout {
    grid-template-columns: 1fr;
  }
  .log-feature {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .log-feature img {
    height: min(70vh, 480px);
  }
  .log-row {
    grid-template-columns: 80px 1fr;
    padding: 8px 14px;
  }
  .log-thumb {
    width: 80px;
    height: 56px;
  }
}

/* Video entry in the log reuses the feature frame */
.log-feature video {
  display: block;
  width: 100%;
  height: clamp(420px, 72vh, 680px);
  object-fit: contain;
  background: var(--dark);
}
.log-feature [hidden] {
  display: none;
}
/* Fill the column when the iteration list is taller than the photo */
@media (min-width: 861px) {
  .log-feature img,
  .log-feature video {
    flex: 1 1 0;
    height: auto;
    min-height: clamp(420px, 72vh, 680px);
  }
}
.media-thumb {
  position: relative;
  display: block;
}
.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
@media (max-width: 860px) {
  .log-feature video {
    height: min(70vh, 480px);
  }
}

/* ===== In the field: one block per visit, same frame language as the build log ===== */
.field-block {
  border: 1px solid var(--border);
  background: var(--surface);
}
.field-block + .field-block {
  margin-top: 32px;
}
.field-note {
  margin: 0;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.55;
}
.field-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 18px;
}
/* One row = one shared height. Each item's width follows its aspect ratio,
   so nothing is cropped and every row runs edge to edge. */
.field-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.field-item {
  flex: var(--ar) 1 0;
  min-width: 0;
  margin: 0;
}
.field-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  cursor: zoom-in;
}
.field-open img,
.field-preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--ar);
  object-fit: cover;
  transition: opacity 0.15s ease;
}
.field-preview {
  background: var(--dark);
}
.field-open:hover img {
  opacity: 0.9;
}
.field-item figcaption {
  padding-top: 10px;
  font-size: 14.5px;
  line-height: 1.45;
  font-style: italic;
  color: var(--text-secondary);
}
.field-item figcaption b {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--teal);
  margin-right: 6px;
}
.field-hero figcaption {
  font-size: 15.5px;
}
.field-open .play-badge {
  transition: opacity 0.2s ease;
}
.field-open.is-playing .play-badge {
  opacity: 0;
}

/* Children block: videos left (original shapes), photos right */
.field-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px;
  align-items: start;
}
.field-videos,
.field-photos {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.field-videos .field-video {
  flex: none;
}

@media (max-width: 860px) {
  .field-split {
    grid-template-columns: 1fr;
  }
  /* tablets: two equal columns, so the vertical video stays tall and no
     single photo outgrows the class photo on top */
  .field-videos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
  }
}
@media (max-width: 480px) {
  .field-stack {
    padding: 14px;
    gap: 22px;
  }
  .field-row,
  .field-videos,
  .field-photos {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* full width before images load: no layout shift */
    gap: 22px;
  }
  .field-item,
  .field-videos .field-video {
    flex: none;
    width: 100%;
  }
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.team-card h3 {
  margin: 0;
  font-size: 17px;
}
.team-role {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}
.team-supervisor {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-secondary);
}
.team-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-tint);
  border: 1px solid var(--teal);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  color: var(--teal);
}
@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 64px;
  background: rgba(18, 38, 63, 0.92);
}
.lightbox[hidden],
.lightbox [hidden] {
  display: none;
}
.lb-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}
.lb-figure img,
.lb-figure video {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  width: auto;
  height: auto;
  background: var(--dark);
}
.lb-figure figcaption {
  max-width: 720px;
  padding-top: 12px;
  font-size: 14px;
  line-height: 1.45;
  font-style: italic;
  text-align: center;
  color: var(--text-on-dark-muted);
}
.lb-figure figcaption b {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 600;
  color: var(--teal-bright);
  margin-right: 8px;
}
.lb-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--r-btn);
  background: rgba(18, 38, 63, 0.6);
  cursor: pointer;
}
.lb-btn .icon {
  color: #fff;
}
.lb-btn:hover {
  background: var(--teal);
}
.lb-btn:focus-visible {
  outline-color: var(--teal-bright);
}
.lb-close {
  top: 12px;
  right: 12px;
}
.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
}
.lb-prev {
  left: 12px;
}
.lb-prev .icon {
  transform: scaleX(-1);
}
.lb-next {
  right: 12px;
}
@media (max-width: 600px) {
  .lightbox {
    padding: 64px 12px 72px;
  }
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 12px;
    transform: none;
  }
  .lb-figure img,
  .lb-figure video {
    max-height: calc(100vh - 220px);
  }
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateX(0);
}
