:root {
  --bg: #0A0C10;
  --bg-elev: #12161E;
  --bg-card: #161B26;
  --line: #2A3344;
  --text: #E8ECF4;
  --muted: #9AA3B5;
  --accent: #C43C3C;
  --accent-soft: rgba(196, 60, 60, 0.18);
  --accent-hover: #D45050;
  --focus: #C43C3C;
  --silver: #C5CCD8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  font-weight: 400;
}
h1, h2, h3, .logo-word {
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-weight: 650;
  letter-spacing: 0.01em;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
.wrap { width: min(1100px, calc(100% - 2.5rem)); margin: 0 auto; }
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.logo {
  display: flex; align-items: center; gap: 0.85rem;
  color: var(--text);
}
.logo img {
  height: 2.65rem; width: auto; display: block;
}
.logo-word {
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  line-height: 1.25;
}
.logo-word small {
  display: block; font-weight: 500; letter-spacing: 0.18em;
  color: var(--muted); font-size: 0.68rem; margin-top: 0.15rem;
}
nav { display: flex; gap: 1.35rem; font-size: 0.9rem; font-weight: 500; }
nav a { color: var(--muted); }
nav a:hover { color: var(--text); }
.hero {
  padding: 3.75rem 0 3.25rem;
  display: grid; gap: 1.35rem;
  justify-items: start;
  background:
    radial-gradient(ellipse 70% 45% at 18% -5%, rgba(196,60,60,0.16), transparent 55%),
    radial-gradient(ellipse 35% 30% at 92% 15%, rgba(197,204,216,0.06), transparent 50%);
}
.hero-mark {
  width: min(220px, 42vw);
  height: auto;
  display: block;
  margin-bottom: 0.35rem;
  filter: drop-shadow(0 8px 28px rgba(196,60,60,0.18));
}
.eyebrow {
  color: var(--accent); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-family: Montserrat, Inter, sans-serif;
}
h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  line-height: 1.12; font-weight: 700; max-width: 18ch;
}
.lede { color: var(--muted); max-width: 38rem; font-size: 1.05rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.35rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.72rem 1.2rem; border-radius: 0.4rem;
  font-size: 0.92rem; font-weight: 600; border: 1px solid transparent;
  font-family: Montserrat, Inter, sans-serif;
  letter-spacing: 0.02em;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--silver); color: var(--text); }
section { padding: 2.75rem 0; }
section h2 {
  font-size: 1.3rem; margin-bottom: 0.45rem; font-weight: 700;
}
.section-intro { color: var(--muted); margin-bottom: 1.5rem; max-width: 40rem; }
.rule {
  width: 3.5rem; height: 2px; background: var(--accent);
  border: 0; margin: 0 0 1.25rem;
  clip-path: polygon(0 50%, 8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%);
}
.grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 800px) {
  .grid { grid-template-columns: 1fr; }
  nav { display: none; }
  .logo-word { display: none; }
}
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 0.65rem; padding: 1.35rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.card h3 { font-size: 1.02rem; font-weight: 650; }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.tag {
  align-self: flex-start; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-family: Montserrat, Inter, sans-serif;
  color: var(--accent); border: 1px solid var(--accent-soft);
  background: var(--accent-soft);
  padding: 0.22rem 0.55rem; border-radius: 999px;
}
.split {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.panel {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 0.65rem; padding: 1.35rem;
}
.panel ul { list-style: none; display: grid; gap: 0.65rem; margin-top: 1rem; }
.panel li {
  padding-left: 1.1rem; position: relative; color: var(--muted); font-size: 0.95rem;
}
.panel li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem;
  width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent);
}
form { display: grid; gap: 0.85rem; }
label { display: grid; gap: 0.35rem; font-size: 0.85rem; color: var(--muted); font-weight: 500; }
input, select, textarea {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 0.4rem;
  padding: 0.65rem 0.75rem; font: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(196, 60, 60, 0.35); border-color: var(--accent);
}
textarea { min-height: 7rem; resize: vertical; }
.note { font-size: 0.8rem; color: var(--muted); }
.letterhead-band {
  margin: 0.5rem 0 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: center; background: #080A0E;
}
.letterhead-band img {
  width: min(640px, 92%);
  height: auto;
  display: block;
}
footer {
  border-top: 1px solid var(--line); padding: 1.75rem 0 2.5rem;
  color: var(--muted); font-size: 0.85rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between;
  align-items: center;
}
footer .foot-mark { height: 1.75rem; width: auto; opacity: 0.9; }
/* ---- v2 additions (Oct 2026): Field Notes & Lab page, home teaser, mobile nav ---- */
header { flex-wrap: wrap; gap: 0.75rem 1.5rem; }
nav a[aria-current="page"] { color: var(--text); }
@media (max-width: 800px) {
  /* nav was hidden on mobile; show it as a compact row so the new page is reachable */
  nav { display: flex; width: 100%; gap: 1.15rem; font-size: 0.84rem; overflow-x: auto;
        padding-bottom: 0.1rem; scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
}
.ztd { color: var(--accent); }
.feature {
  display: grid; grid-template-columns: 148px 1fr auto; gap: 1.35rem; align-items: center;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 0.65rem;
  padding: 1rem 1.35rem 1rem 1rem; margin-bottom: 1rem; color: var(--text);
  transition: border-color 0.15s;
}
.feature:hover { border-color: var(--silver); color: var(--text); }
.feature img { width: 148px; height: 148px; border-radius: 0.4rem; display: block; object-fit: cover; }
.feature h3 { font-size: 1.08rem; margin: 0.35rem 0 0.3rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }
.feature .go { font-family: Montserrat, Inter, sans-serif; font-weight: 600; font-size: 0.9rem; color: var(--accent); white-space: nowrap; }
@media (max-width: 800px) {
  .feature { grid-template-columns: 88px 1fr; padding: 0.85rem; gap: 0.9rem; }
  .feature img { width: 88px; height: 88px; }
  .feature .go { grid-column: 1 / -1; }
  .feature .sep { display: none; }
  .feature .ser { display: block; }
}
/* page intro */
.page-hero { padding: 3rem 0 1.25rem; display: grid; gap: 1rem; justify-items: start;
  background: radial-gradient(ellipse 60% 55% at 12% -10%, rgba(196,60,60,0.14), transparent 60%); }
.page-hero h1 { max-width: 22ch; }
/* field notes */
.fn { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2.25rem; align-items: center; }
.fn-hero { border-radius: 0.65rem; overflow: hidden; border: 1px solid var(--line); background: #1b1c1f; }
.fn-hero img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; }
.fn h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 0.75rem 0 0.65rem; letter-spacing: 0.02em; }
.fn .one-line { color: var(--muted); font-size: 1.05rem; max-width: 34rem; }
.fn .count { font-family: Montserrat, Inter, sans-serif; font-weight: 700; font-size: 1.05rem; margin-top: 1.1rem; }
.fn .meta { color: var(--muted); font-size: 0.92rem; margin-top: 0.2rem; }
.fn .actions { margin-top: 1.35rem; align-items: center; }
.btn-soon { background: transparent; color: var(--muted); border: 1px dashed var(--line); cursor: default; }
.btn-soon:hover { color: var(--muted); }
.fn .fine { font-size: 0.8rem; color: var(--muted); margin-top: 1.1rem; opacity: 0.85; max-width: 34rem; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; margin-top: 1.5rem; max-width: 26rem; }
.thumbs img { width: 100%; height: auto; display: block; aspect-ratio: 2 / 3; border-radius: 0.3rem;
  border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(0,0,0,0.45); }
@media (max-width: 800px) {
  .fn { grid-template-columns: 1fr; gap: 1.5rem; }
  .thumbs { max-width: none; }
}
/* lab */
.lab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.concept { background: var(--bg-card); border: 1px solid var(--line); border-radius: 0.65rem; overflow: hidden;
  display: flex; flex-direction: column; margin: 0; }
.concept picture, .concept img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: #000; }
.concept img { border-bottom: 1px solid var(--line); }
.concept figcaption { padding: 1rem 1.2rem 1.25rem; display: grid; gap: 0.45rem; justify-items: start; }
.concept h3 { font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.concept h3 small { color: var(--muted); font-weight: 600; letter-spacing: 0.16em; margin-right: 0.35rem; }
.concept p { color: var(--muted); font-size: 0.97rem; }
.tag-concept { color: var(--silver); border-color: rgba(197,204,216,0.18); background: rgba(197,204,216,0.06); }
.lab-note { font-size: 0.8rem; color: var(--muted); margin-top: 1.1rem; opacity: 0.85; }
@media (max-width: 800px) { .lab-grid { grid-template-columns: 1fr; } }
/* The small header/footer ZT PNG sits on a pure-black field; lighten lets that field take the
   page colour instead of showing a black box. The mark itself is unchanged. */
.logo img, footer .foot-mark { mix-blend-mode: lighten; }
