/* ─────────────────────────────────────────────
   ROHERA INDUSTRIES · OMNIA Drive
   Elegant editorial light theme — white & grey
   ───────────────────────────────────────────── */

:root {
  /* Light palette */
  --bg: #ffffff;
  --bg-soft: #fafaf8;        /* warm ivory */
  --bg-2: #f4f4f1;            /* pale stone */
  --bg-3: #ecece8;            /* deeper stone */
  --bg-dark: #1a1a1a;         /* charcoal feature blocks */
  --surface: #ffffff;
  --surface-2: #faf9f6;

  --line: #e8e7e2;
  --line-strong: #d8d6d0;
  --line-soft: #f0efea;

  --ink: #14171b;             /* near-black */
  --ink-2: #3a3d42;           /* dark grey body */
  --ink-3: #6e7176;           /* mid grey */
  --ink-mute: #9a9da3;        /* light grey */

  --accent: #1f3a5f;          /* deep navy primary */
  --accent-2: #345789;
  --accent-soft: #e8eef6;
  --gold: #b58a3b;            /* refined antique gold */
  --gold-soft: #d4a854;
  --gold-pale: #faf4e6;

  --green: #4d7d4f;
  --pink: #a35e6e;
  --orange: #b9683b;
  --purple: #6b5a8c;
  --amber: #b58a3b;

  --serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --radius: 2px;
  --radius-lg: 4px;
  --shadow-sm: 0 1px 3px rgba(20,23,27,0.04), 0 1px 2px rgba(20,23,27,0.06);
  --shadow-md: 0 8px 24px -8px rgba(20,23,27,0.08), 0 2px 6px rgba(20,23,27,0.04);
  --shadow-lg: 0 30px 60px -25px rgba(20,23,27,0.18);

  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.container.narrow { max-width: 820px; }

/* ─────────  Typography  ───────── */
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.italic { font-style: italic; }
.muted { color: var(--ink-3); }
.small { font-size: 0.875rem; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.eyebrow.small { font-size: 0.62rem; margin-bottom: 0.5rem; }
.eyebrow.accent { color: var(--accent); }
.eyebrow.accent-green { color: var(--green); }
.eyebrow.accent-amber { color: var(--gold); }
.eyebrow.accent-orange { color: var(--orange); }
.eyebrow.accent-purple { color: var(--purple); }
.eyebrow.accent-pink { color: var(--pink); }

.accent { color: var(--accent); }
.accent-green { color: var(--green); }
.accent-amber { color: var(--gold); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 1.25rem;
  letter-spacing: -0.018em;
}
.section-lede {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: var(--ink-3);
  margin: 0 0 3rem;
  max-width: 720px;
  line-height: 1.55;
}
.h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 500;
  font-family: var(--serif);
  color: var(--ink);
  margin: 0 0 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.lede { font-size: 1.075rem; line-height: 1.75; color: var(--ink-2); }

/* ─────────  Header  ───────── */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; color: var(--ink); }
.brand-mark { width: 56px; height: 35px; color: var(--accent); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.brand-sub {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: 0.92rem; }
.nav-links a { color: var(--ink-2); transition: color .2s; font-weight: 400; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink) !important;
  background: transparent;
  transition: all .2s;
  font-weight: 500;
}
.nav-cta:hover { background: var(--ink); color: var(--bg) !important; }

@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .brand-sub { display: none; }
}

/* ─────────  Hero  ───────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0 4rem;
  background: var(--bg-soft);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; opacity: 0.95; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.85) 35%, rgba(255,255,255,0.5) 65%, rgba(255,255,255,0.3) 100%);
}
@media (max-width: 880px) {
  .hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0.5) 100%); }
}

.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.95;
  color: var(--ink);
  margin: 0.5rem 0 1.2rem;
  letter-spacing: -0.03em;
}
.hero-title .accent { color: var(--gold); }
.hero-tag {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  color: var(--ink-2);
  margin: 0 0 1.6rem;
  letter-spacing: -0.01em;
}
.hero-tag .accent { color: var(--gold); }
.hero-lede {
  font-size: 1.075rem;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 0 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 3.5rem; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 2rem;
  margin: 0;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  max-width: 660px;
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta dt {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.4rem;
}
.hero-meta dd { margin: 0; color: var(--ink); font-size: 0.95rem; font-weight: 500; }
@media (max-width: 600px) {
  .hero-meta { grid-template-columns: 1fr; gap: 1rem; }
  .hero-meta div + div { padding-top: 1rem; border-top: 1px solid var(--line); }
}

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot-green { background: var(--green); box-shadow: 0 0 0 3px rgba(77,125,79,0.18); }

.scroll-cue {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1px solid var(--ink-3);
  border-radius: 999px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 8px;
  width: 2px; height: 6px; border-radius: 2px;
  background: var(--ink-2);
  transform: translateX(-50%);
  animation: sc 1.6s ease-in-out infinite;
}
@keyframes sc {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}

/* ─────────  Buttons  ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 1.7rem;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-2); }

/* ─────────  Sections  ───────── */
.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  position: relative;
}
.section-tinted { background: var(--bg-soft); }
.section-stone { background: var(--bg-2); }
.section-dark {
  background: var(--bg-dark);
  color: #d8d8d4;
}
.section-dark .section-title { color: #ffffff; }
.section-dark .section-lede { color: #a8a8a3; }
.section-dark .eyebrow { color: var(--gold-soft); }
.section-dark .h3 { color: #ffffff; }

/* reveal — only fade IF JS marks element as out-of-view first.
   Default to visible so content never gets stuck hidden. */
.reveal { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s ease; }
.reveal.is-pending { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; }

/* ─────────  Stats strip  ───────── */
.stats-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.stat-num .accent { color: var(--gold); }
.stat-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 0.6rem;
}
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }

/* ─────────  Problem Cards  ───────── */
.problem-grid { gap: 1.5rem; margin-top: 3rem; }
.problem-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius);
  padding: 2.4rem 2rem 2rem;
  transition: transform .3s, box-shadow .3s;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.problem-card:nth-child(2) { border-top-color: var(--pink); }
.problem-card:nth-child(3) { border-top-color: var(--purple); }
.problem-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 3rem;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.problem-num.accent-pink { color: var(--pink); }
.problem-num.accent-purple { color: var(--purple); }
.problem-card h3 { color: var(--ink); margin: 0 0 0.85rem; font-size: 1.25rem; font-weight: 600; font-family: var(--sans); letter-spacing: -0.005em; }
.problem-card p { margin: 0; font-size: 0.96rem; color: var(--ink-2); line-height: 1.65; }

.footnote-strip {
  margin-top: 3rem;
  padding: 1rem 1.5rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.section-note {
  margin-top: 1.5rem;
  padding: 1.1rem 1.4rem;
  background: var(--surface-2, #fafaf8);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-2);
}
.section-note a { color: var(--navy, #1f3a5f); text-decoration: underline; text-underline-offset: 2px; }
.section-note a:hover { color: var(--gold, #b58a3b); }

/* ─────────  Grids  ───────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.5rem; }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ─────────  Split (proposal)  ───────── */
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; } }

.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 1.5rem 0 2rem;
  position: relative;
}
.pull-quote .quote-mark {
  font-size: 4.5rem; line-height: 0.7;
  color: var(--gold);
  font-family: var(--serif);
  display: block;
  margin-bottom: -1.5rem;
}
.pull-quote .italic { color: var(--ink-3); font-weight: 300; }

.claim-list {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 2rem;
}
.claim {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.25rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}
.claim:last-child { border-bottom: none; }
.claim-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.claim span:last-child { color: var(--ink-2); font-size: 0.98rem; }

/* Patent card */
.patent-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2.2rem 1.8rem;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-sm);
}
.patent-dl { margin: 0; }
.patent-dl > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.patent-dl > div:last-child { border-bottom: none; }
.patent-dl dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.patent-dl dd { margin: 0; color: var(--ink); font-size: 0.93rem; line-height: 1.5; }
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 4px;
  font-weight: 500;
}
.tag-green { background: rgba(77,125,79,0.12); color: var(--green); }
.tag-amber { background: rgba(181,138,59,0.14); color: var(--gold); }
.patent-goal {
  margin-top: 1.5rem;
  padding: 1.1rem 1.3rem;
  background: var(--gold-pale);
  border: 1px solid rgba(181,138,59,0.25);
  border-radius: var(--radius);
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.patent-goal .eyebrow { display: block; margin-bottom: 0.4rem; color: var(--gold); }

/* ─────────  Figures  ───────── */
.figure-wide {
  margin: 4rem 0;
  padding: 0;
}
.figure-wide img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.figure-wide figcaption {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-3);
  margin-top: 1rem;
  font-size: 0.95rem;
}
.figure-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.figure-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.figure-card figcaption {
  padding: 0.95rem 1.2rem;
  font-family: var(--serif); font-style: italic;
  color: var(--ink-3); font-size: 0.92rem;
}

/* ─────────  PPU components  ───────── */
.ppu-grid { margin-top: 3rem; align-items: start; }
.section-dark .ppu-grid { color: #d8d8d4; }
.component-list {
  list-style: none; padding: 0; margin: 1rem 0 1.5rem;
}
.component-list li {
  padding: 0.95rem 0 0.95rem 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  line-height: 1.55;
  color: #c8c8c4;
  position: relative;
}
.component-list li .bullet {
  position: absolute;
  left: 0;
  top: 1.25rem;
}
.section:not(.section-dark) .component-list li {
  border-bottom-color: var(--line);
  color: var(--ink-2);
}
.component-list strong { color: #fff; font-weight: 600; }
.section:not(.section-dark) .component-list strong { color: var(--ink); }
.bullet {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  margin-top: 7px;
}
.bullet-blue { background: var(--accent); }
.bullet-cyan { background: #6b9dc4; }
.bullet-green { background: var(--green); }
.bullet-amber { background: var(--gold); }
.bullet-orange { background: var(--orange); }
.bullet-purple { background: var(--purple); }
.bullet-pink { background: var(--pink); }

/* Callouts */
.callout {
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.section-dark .callout {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  border-left-color: var(--gold-soft);
  color: #c8c8c4;
}
.callout .eyebrow { display: block; margin-bottom: 0.4rem; }
.callout-green { border-left-color: var(--green); background: rgba(77,125,79,0.06); }
.section-dark .callout-green { background: rgba(120,180,120,0.08); border-left-color: #8ac98c; }
.callout-green .eyebrow { color: var(--green); }
.section-dark .callout-green .eyebrow { color: #8ac98c; }

/* Method steps */
.method { margin-top: 5rem; }
.method-steps {
  list-style: none; padding: 0; margin: 2rem 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 1rem;
}
.method-steps li {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--gold-soft);
  padding: 1.6rem 1.4rem;
  border-radius: 0 0 var(--radius) var(--radius);
}
.section:not(.section-dark) .method-steps li {
  background: var(--bg-soft);
  border-color: var(--line);
}
.method-steps li:nth-child(1) { border-top-color: #6b9dc4; }
.method-steps li:nth-child(2) { border-top-color: var(--accent); }
.method-steps li:nth-child(3) { border-top-color: #8ac98c; }
.method-steps li:nth-child(4) { border-top-color: var(--gold-soft); }
.method-steps li:nth-child(5) { border-top-color: #d4a075; }
.step-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 0.6rem;
}
.method-steps li:nth-child(1) .step-num { color: #6b9dc4; }
.method-steps li:nth-child(2) .step-num { color: #8ab1d8; }
.method-steps li:nth-child(3) .step-num { color: #8ac98c; }
.method-steps h4 { font-size: 1.15rem; color: #fff; margin: 0 0 0.6rem; font-weight: 500; font-family: var(--serif); }
.section:not(.section-dark) .method-steps h4 { color: var(--ink); }
.method-steps p { margin: 0; font-size: 0.88rem; color: #b0b0ac; line-height: 1.55; }
.section:not(.section-dark) .method-steps p { color: var(--ink-3); }
@media (max-width: 980px) { .method-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .method-steps { grid-template-columns: 1fr; } }

/* ─────────  Source block  ───────── */
.source {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
}
.source:first-of-type { padding-top: 3rem; }
.source:last-of-type { border-bottom: none; }
.source-rev .source-media { order: 2; }
.source-rev .source-body { order: 1; }
@media (max-width: 880px) {
  .source { grid-template-columns: 1fr; gap: 2rem; }
  .source-rev .source-media { order: 0; }
  .source-rev .source-body { order: 0; }
}
.source-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/10;
  object-fit: cover;
}
.metric {
  display: flex; align-items: baseline; gap: 0.85rem;
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.metric-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.015em;
}
.metric-unit { font-size: 0.85rem; color: var(--ink-3); }
.metric-row { gap: 1rem; margin: 1rem 0 1.5rem; }
.metric-row .metric { margin: 0; }

.dot-list { list-style: none; padding: 0; margin: 0.5rem 0; }
.dot-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.6rem;
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.dot-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.6em;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.dot-list strong { color: var(--ink); font-weight: 600; }
.dot-list.small li { font-size: 0.86rem; margin-bottom: 0.55rem; }

.peer {
  margin-top: 1.5rem;
  padding: 0.95rem 1.2rem;
  border-left: 2px solid var(--gold);
  background: var(--gold-pale);
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.6;
  font-style: italic;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ─────────  Use Cases  ───────── */
.use-grid { gap: 2rem; margin-top: 3rem; }
.use-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.use-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.use-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.use-card-body { padding: 2rem 2.2rem 2.2rem; }
.use-green { border-top-color: var(--green); }
.use-orange { border-top-color: var(--orange); }
.use-pink { border-top-color: var(--pink); }
.use-card .eyebrow { color: var(--accent); }
.use-green .eyebrow { color: var(--green); }
.use-orange .eyebrow { color: var(--orange); }
.use-pink .eyebrow { color: var(--pink); }
.use-card h3 { color: var(--ink); margin-bottom: 0.5rem; }
.use-card > .use-card-body > p { font-size: 0.96rem; line-height: 1.7; color: var(--ink-2); }

.check-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}
.use-green .check-list li::before { color: var(--green); }
.use-orange .check-list li::before { color: var(--orange); }
.use-pink .check-list li::before { color: var(--pink); }
.check-list.large li { font-size: 0.98rem; line-height: 1.65; padding-left: 1.8rem; margin-bottom: 1rem; }
.check-list.large strong { color: var(--ink); }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.kpi {
  padding: 0.85rem 1rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.kpi span {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.kpi em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
  line-height: 1.4;
}
@media (max-width: 540px) { .kpi-row { grid-template-columns: 1fr; } }

/* ─────────  Advancements  ───────── */
.adv-grid { gap: 1.5rem; margin-top: 3rem; }
.adv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.adv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.adv-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  font-weight: 500;
  border: 1.5px solid;
  font-family: var(--serif);
}
.adv-green { color: var(--green); border-color: var(--green); background: rgba(77,125,79,0.05); }
.adv-blue { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.adv-amber { color: var(--gold); border-color: var(--gold); background: var(--gold-pale); }
.adv-orange { color: var(--orange); border-color: var(--orange); background: rgba(185,104,59,0.05); }
.adv-card h3 { font-size: 1.1rem; color: var(--ink); margin: 0 0 0.7rem; font-weight: 600; font-family: var(--sans); }
.adv-card p { font-size: 0.9rem; color: var(--ink-3); line-height: 1.6; margin: 0; }

.patent-quote {
  margin-top: 4rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 900px;
  margin-left: auto; margin-right: auto;
  padding: 0 2rem;
}
.patent-quote span { color: var(--gold); font-size: 1.7rem; vertical-align: -4px; font-family: var(--serif); }
.patent-quote em { display: block; font-style: normal; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-top: 1.2rem; }

/* ─────────  Patent / Grant  ───────── */
.grant-grid { gap: 3rem; margin-top: 2.5rem; align-items: start; }
.grant-card {
  background: rgba(77,125,79,0.04);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
}
.grant-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  background: var(--green);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.grant-badge .check { font-size: 0.9rem; }
.grant-badge .muted { color: rgba(255,255,255,0.75); font-weight: 500; letter-spacing: 0.12em; }

.family-grid { gap: 1.5rem; margin-top: 4rem; }
.family-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
}

/* ─────────  Comparison Table  ───────── */
.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  font-size: 0.92rem;
  background: var(--surface);
  border: 1px solid var(--line);
}
.compare thead th {
  background: var(--bg-2);
  padding: 1rem 1.2rem;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.compare tbody td, .compare tbody th {
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom: none; }
.compare tbody th {
  font-weight: 600;
  color: var(--ink);
  font-family: var(--sans);
  width: 28%;
  text-align: left;
}
.compare tbody td { color: var(--ink-2); }
.compare .yes { color: var(--green); font-weight: 600; }
.compare .no { color: var(--orange); font-weight: 600; }
@media (max-width: 760px) {
  .compare { font-size: 0.85rem; }
  .compare tbody td, .compare tbody th { padding: 0.7rem 0.8rem; }
}

/* ─────────  Inventor  ───────── */
.inventor-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}
@media (max-width: 880px) { .inventor-grid { grid-template-columns: 1fr; gap: 2rem; } }

.inventor-photo {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
  background: var(--bg-2);
  box-shadow: var(--shadow-md);
}
.cv-list {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
}
.cv-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  align-items: baseline;
}
.cv-list li:last-child { border-bottom: none; }
.cv-year {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.cv-list strong { color: var(--ink); display: block; margin-bottom: 0.2rem; font-weight: 600; font-size: 0.95rem; }
.cv-list span { color: var(--ink-3); font-size: 0.88rem; line-height: 1.5; display: block; }

/* ─────────  FAQ  ───────── */
.faq-list { margin-top: 2.5rem; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0;
}
.faq-item summary {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 300;
  transition: transform .3s;
  line-height: 0.7;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 1rem 0 0;
  color: var(--ink-2);
  line-height: 1.7;
  font-size: 0.96rem;
}

/* ─────────  Contact  ───────── */
.contact-section {
  background: var(--bg-dark);
  color: #d8d8d4;
}
.contact-section .section-title { color: #ffffff; }
.contact-section .section-lede { color: #a8a8a3; }
.contact-section .eyebrow { color: var(--gold-soft); }
.contact-grid { gap: 3rem; margin-top: 3rem; align-items: start; }

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.4rem;
}
.contact-list { list-style: none; padding: 0; margin: 1rem 0 2rem; }
.contact-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-list li:last-child { border-bottom: none; }
.contact-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a8a8a3;
  margin-bottom: 0.4rem;
}
.contact-value {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: -0.005em;
}
a.contact-value { color: #ffffff; }
a.contact-value:hover { color: var(--gold-soft); }

.enquiry-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.enquiry-form label { display: flex; flex-direction: column; gap: 0.4rem; }
.enquiry-form span {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a8a8a3;
}
.enquiry-form input,
.enquiry-form textarea,
.enquiry-form select {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 0.8rem 0.95rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: #ffffff;
  transition: border-color .2s, background .2s;
}
.enquiry-form input:focus,
.enquiry-form textarea:focus,
.enquiry-form select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(0,0,0,0.4);
  box-shadow: 0 0 0 3px rgba(181,138,59,0.18);
}
.enquiry-form textarea { resize: vertical; min-height: 120px; font-family: var(--sans); }
.enquiry-form .btn {
  margin-top: 0.5rem;
  align-self: flex-start;
  background: var(--gold);
  color: #1a1303;
  border-color: var(--gold);
}
.enquiry-form .btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.form-note { font-size: 0.78rem; margin: 0; color: #888884; }

/* ─────────  Footer  ───────── */
.site-footer {
  background: #0d0d0d;
  border-top: 1px solid #1f1f1f;
  padding: 4rem 0 2.5rem;
  color: #a8a8a3;
}
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
.foot-mark { width: 64px; height: 40px; color: #ffffff; display: block; margin-bottom: 1rem; }
.foot-brand .brand-name { display: block; font-size: 1.5rem; margin-bottom: 0.5rem; color: #ffffff; }
.foot-brand .muted { color: #888884 !important; }
.foot-meta p { margin: 0.4rem 0; font-size: 0.88rem; color: #a8a8a3; }
.foot-meta strong { color: #ffffff; font-weight: 600; }
.foot-meta a { color: #d8d8d4; }
.foot-meta a:hover { color: var(--gold-soft); }
.copy {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid #1f1f1f;
  margin: 2rem 0 0;
  text-align: center;
  color: #888884 !important;
}

/* selection */
::selection { background: var(--gold); color: #1a1303; }

/* ─────────  Skip link (a11y)  ───────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  text-decoration: none;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--gold); }

/* ─────────  Mobile nav toggle (hamburger)  ───────── */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(20, 23, 27, 0.18);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────  Mobile nav drawer  ───────── */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid rgba(20, 23, 27, 0.08);
  padding: 0.5rem 1.25rem 1.25rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a {
  padding: 0.85rem 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 23, 27, 0.06);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.nav-cta {
  margin-top: 0.75rem;
  background: var(--ink);
  color: #fff !important;
  text-align: center;
  border-radius: 2px;
  border-bottom: none;
  padding: 0.95rem 1rem;
}

/* ─────────  Table wrapper for horizontal scroll on mobile  ───────── */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border: 1px solid rgba(20, 23, 27, 0.08);
  border-radius: 4px;
}
.table-wrap table { margin: 0; min-width: 640px; }

/* ─────────  Mobile breakpoint  ───────── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 861px) {
  .mobile-nav { display: none !important; }
}

/* ─────────  Image responsiveness safeguard  ───────── */
img, picture { max-width: 100%; height: auto; }
picture img { display: block; }

/* ─────────  Print / reduced motion  ───────── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
