/* Pinnacle Vision */

:root {
  --bg: #070808;
  --bg-2: #0c0e0e;
  --ink: #f1f3f2;
  --muted: #8b9896;
  --line: rgba(143, 184, 184, 0.15);
  --steel: #9ec4c2;
  --steel-dim: #6d8684;
  --btn: #e7efee;
  --btn-text: #070808;
  --display: "Newsreader", "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1280px;
  --header: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body, h1, h2, h3, p, ul, ol, li, blockquote, figure, dl, dt, dd {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(158, 196, 194, 0.28);
  color: #fff;
}

:focus-visible {
  outline: 1px solid var(--steel);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 56px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 400;
  padding: 10px 14px;
  background: var(--bg-2);
}
.skip-link:focus { left: 12px; top: 12px; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.kicker,
.hero-fig,
.index-grid span,
.ledger-head,
.plate figcaption,
.spec dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.kicker { margin-bottom: 20px; }
.muted { color: var(--muted); font-size: 0.92rem; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  font-optical-sizing: auto;
  letter-spacing: -0.032em;
  line-height: 1.04;
  color: var(--ink);
}

h2 { font-size: clamp(2.5rem, 4.8vw, 3.75rem); }
h3 { font-size: 1.5rem; letter-spacing: -0.022em; }
p { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  background: var(--btn);
  color: var(--btn-text);
  border: 1px solid var(--btn);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--steel);
  background: transparent;
  color: var(--ink);
  transform: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(7, 8, 8, 0.7);
  backdrop-filter: blur(20px) saturate(1.15);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.brand span {
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  position: relative;
  font-size: 0.84rem;
  color: var(--muted);
  padding: 8px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--steel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover,
.main-nav a.active { color: var(--ink); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.header-cta:hover {
  border-color: var(--steel);
  background: rgba(158, 196, 194, 0.08);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.field {
  position: absolute;
  right: -6%;
  top: -4%;
  width: min(82vw, 1100px);
  height: auto;
  opacity: 0.88;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  will-change: transform;
}

.hero-inner {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.55fr);
  grid-template-rows: auto 1fr auto;
  gap: 0 48px;
  padding: 36px 0 48px;
  align-content: stretch;
}

.hero-frame {
  pointer-events: none;
  position: absolute;
  inset: 20px 0 28px;
}
.hero-frame i {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--steel);
  border-style: solid;
  opacity: 0.45;
}
.hero-frame i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.hero-frame i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.hero-frame i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.hero-frame i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.hero-fig {
  grid-column: 1 / -1;
  margin: 8px 0 0 8px;
  color: var(--steel-dim);
}

.hero-copy {
  grid-row: 2;
  align-self: end;
  padding: 0 8px 12px;
}

.hero h1 {
  font-size: clamp(3.6rem, 8vw, 7.4rem);
  font-weight: 400;
  line-height: 0.9;
  max-width: 8.1em;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--steel);
  display: inline;
}

.lede {
  margin-top: 28px;
  max-width: 32em;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-meta {
  grid-row: 2;
  align-self: end;
  padding: 0 8px 18px 0;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.hero-meta div + div { margin-top: 22px; }
.hero-meta span {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-dim);
  margin-bottom: 6px;
}
.hero-meta strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}
.hero-meta a:hover { color: var(--steel); }

.hero-rail {
  position: relative;
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  background: rgba(7, 8, 8, 0.55);
}
.rail-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: rail 46s linear infinite;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-dim);
}
.rail-track span { white-space: nowrap; }

@keyframes rail {
  to { transform: translateX(-50%); }
}

/* Index */

.index-bar { border-bottom: 1px solid var(--line); }
.index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.index-grid article {
  padding: 44px 40px 52px 0;
  border-right: 1px solid var(--line);
}
.index-grid article:last-child {
  border-right: none;
  padding-right: 0;
}
.index-grid span { display: block; margin-bottom: 16px; }
.index-grid h2 {
  font-size: clamp(1.85rem, 2.5vw, 2.35rem);
  margin-bottom: 12px;
}
.index-grid p { max-width: 28em; font-size: 0.95rem; }

/* About */

.about,
.research,
.process,
.ventures,
.focus { padding: 120px 0; border-bottom: 1px solid var(--line); }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-bottom: 80px;
  align-items: start;
}

.about-body p + p { margin-top: 18px; }

blockquote {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 16em;
}

.journal li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.journal li:last-child { border-bottom: 1px solid var(--line); }
.journal span {
  font-family: var(--display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--steel);
}
.journal p { max-width: 38em; }

/* Research */

.research-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.plate {
  margin: 0;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 28% 18%, rgba(158, 196, 194, 0.09), transparent 48%),
    var(--bg-2);
  padding: 22px 22px 0;
}
.plate img { width: 100%; height: auto; }
.plate figcaption {
  padding: 14px 4px 16px;
  color: var(--steel-dim);
}

.block-head { max-width: 34em; margin-bottom: 12px; }
.block-head p { margin-top: 16px; }

.spec { margin-top: 28px; }
.spec div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.spec div:last-child { border-bottom: 1px solid var(--line); }
.spec dt { padding-top: 4px; }
.spec dd { color: var(--muted); max-width: 36em; margin: 0; }

/* Process */

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--steel), transparent 92%);
  opacity: 0.45;
}
.process-track li {
  position: relative;
  padding: 40px 28px 4px 0;
  border-right: 1px solid var(--line);
}
.process-track li:last-child { border-right: 0; padding-right: 0; }
.process-track li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--bg);
  border: 1px solid var(--steel);
  border-radius: 50%;
}
.process-track span {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--steel);
  margin-bottom: 16px;
}
.process-track h3 { margin-bottom: 10px; }
.process-track p { font-size: 0.95rem; max-width: 22em; }

/* Ledger */

.ledger { margin-top: 40px; }
.ledger-head,
.ledger article {
  display: grid;
  grid-template-columns: 72px 0.8fr 1.4fr;
  gap: 24px;
  align-items: baseline;
}
.ledger-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--steel-dim);
}
.ledger article {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}
.ledger article:hover { background: rgba(158, 196, 194, 0.03); }
.ledger span:first-child,
.ledger article > span {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--steel);
}
.ledger-head span:first-child { font-style: normal; font-family: var(--mono); font-size: 0.68rem; }
.ledger h3 { font-size: 1.7rem; }
.ledger p { max-width: 38em; }

/* Domains */

.domains {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin-top: 36px;
}
.domains li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease);
}
.domains li:last-child { border-bottom: 1px solid var(--line); }
.domains li:hover { padding-left: 10px; }
.domains span {
  font-family: var(--display);
  font-style: italic;
  color: var(--steel);
  padding-top: 4px;
}
.domains h3 { margin-bottom: 6px; }
.domains p { max-width: 34em; font-size: 0.95rem; }

/* Contact */

.contact { padding: 120px 0 132px; }
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-intro h2 { margin-bottom: 18px; }
.contact-intro p { max-width: 28em; }

.email-line {
  margin-top: 32px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.3vw, 1.95rem);
  letter-spacing: -0.02em;
}
.email-line a {
  color: var(--steel);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease), color 0.2s ease;
}
.email-line a:hover {
  color: var(--ink);
  background-size: 100% 1px;
}
.email-line + .muted { margin-top: 12px; }

.contact-card {
  position: relative;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

form label {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--ink);
}
.opt { font-weight: 400; color: var(--steel-dim); letter-spacing: 0; text-transform: none; }

form input,
form select,
form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 4px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-bottom-color: var(--steel);
}
form textarea { min-height: 140px; resize: vertical; }
form select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%239ec4c2' d='M1 1.5 6 6.5 11 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 28px;
}

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.honeypot { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; min-height: 1.2em; font-size: 0.92rem; }
.form-status.success { color: var(--steel); }
.form-status.error { color: #d98a8a; }
.contact-card .btn { margin-top: 8px; width: 100%; }

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer-grid nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-grid nav a { font-size: 0.82rem; color: var(--muted); }
.footer-grid nav a:hover { color: var(--ink); }
.colophon { text-align: right; font-size: 0.8rem; font-family: var(--mono); letter-spacing: 0.04em; }

.page-simple {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 28px;
}
.page-simple .inner { max-width: 28em; }
.page-simple h1 { margin: 18px 0 12px; font-family: var(--display); }
.page-simple .btn { margin-top: 28px; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (min-width: 1081px) {
  .domains li:nth-child(5) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding-top: 24px;
  }
  .hero-copy { max-width: none; }
  .hero-meta {
    grid-row: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px 8px 8px;
    margin-top: 12px;
  }
  .hero-meta div + div { margin-top: 0; }
  .index-grid,
  .about-layout,
  .research-layout,
  .process-track,
  .contact-layout,
  .ledger-head,
  .ledger article,
  .domains {
    grid-template-columns: 1fr;
  }
  .index-grid article,
  .process-track li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 32px 0;
  }
  .spec div { grid-template-columns: 1fr; gap: 8px; }
  .field { width: 130vw; right: -28%; top: 0; opacity: 0.45; }
  .hero h1 { font-size: clamp(3rem, 11vw, 5.2rem); }
}

@media (max-width: 760px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .main-nav a::after { display: none; }
  .about, .research, .process, .ventures, .focus, .contact { padding: 76px 0; }
  .journal li,
  .domains li { grid-template-columns: 48px 1fr; }
  .fields { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .footer-grid nav, .colophon { justify-content: flex-start; text-align: left; }
  .contact-card { padding: 22px; }
  .hero { min-height: 0; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div + div { margin-top: 18px; }
  .domains li:hover { padding-left: 0; }
  .hero-fig { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rail-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .field { will-change: auto; }
}
