:root {
  --enamel: #080b09;
  --enamel-raised: #10130f;
  --enamel-soft: #171a15;
  --paper: #e8dfc9;
  --paper-deep: #d8caa8;
  --paper-ink: #201d17;
  --paper-muted: #aaa28f;
  --brass: #c7a05f;
  --brass-bright: #e2c081;
  --walnut: #3d2419;
  --rust: #a7552e;
  --blue-hour: #223940;
  --rule: rgba(232, 223, 201, 0.19);
  --rule-strong: rgba(232, 223, 201, 0.38);
  --display: 'Bebas Neue', 'Arial Narrow', 'Franklin Gothic Condensed', sans-serif;
  --type: 'Special Elite', 'Courier New', Courier, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--enamel);
  color: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.013) 50%, transparent 50.2%),
    radial-gradient(circle at 84% 5%, rgba(75, 100, 85, 0.14), transparent 29rem),
    linear-gradient(180deg, #0b0e0b 0%, var(--enamel) 30%, #050706 100%);
  font-family: var(--display);
  letter-spacing: 0.075em;
}

a, button { font: inherit; }
a { color: inherit; }

button, .button { min-height: 44px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--enamel);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: stretch;
  border-bottom: 1px solid var(--rule);
  background: rgba(7, 10, 8, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  min-width: 250px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 19px clamp(20px, 3vw, 42px);
  text-decoration: none;
}

.carbon-mark {
  font-family: var(--type);
  letter-spacing: -0.055em;
  text-transform: none;
}

.carbon-mark > span {
  color: var(--paper);
  text-shadow: 0.45px -0.25px rgba(232, 223, 201, 0.43), -0.35px 0.4px rgba(232, 223, 201, 0.23);
}

.carbon-mark > b {
  color: #c56735;
  font: inherit;
  letter-spacing: -0.095em;
  text-shadow: 0.4px -0.3px rgba(197, 103, 53, 0.46), -0.4px 0.45px rgba(197, 103, 53, 0.28);
}

.brand.carbon-mark { font-size: 22px; }

.header-location,
.release-stamp,
.site-header nav {
  margin: 0;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--rule);
  color: var(--paper-muted);
  font-size: 9px;
  letter-spacing: 0.19em;
}

.header-location { padding: 0 25px; }
.release-stamp { padding: 0 24px; color: var(--brass); }
.site-header nav { justify-content: flex-end; }
.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}
.site-header nav a:hover { color: var(--paper); background: rgba(255, 255, 255, 0.025); }

.hero {
  position: relative;
  min-height: min(850px, calc(100vh - 74px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  align-items: stretch;
  border-bottom: 1px solid var(--rule);
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(28px, 6vw, 112px) 100px;
}

.eyebrow, .section-number {
  margin: 0 0 18px;
  color: var(--brass);
  font-size: 10px;
  letter-spacing: 0.25em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(63px, 7.2vw, 126px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 0.012em;
  text-wrap: balance;
}

h1 em {
  color: var(--brass-bright);
  font-family: var(--type);
  font-size: 0.44em;
  font-style: normal;
  letter-spacing: -0.055em;
}

.hero-deck {
  max-width: 660px;
  margin-bottom: 34px;
  color: #c8c0ae;
  font: 14px/1.78 var(--type);
  letter-spacing: 0;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.button {
  min-width: 210px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 19px 11px;
  border: 1px solid var(--brass);
  border-radius: 0;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.17em;
  cursor: pointer;
  transition: transform 150ms ease, color 150ms ease, background 150ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brass); color: #100e0a; }
.button-secondary { background: transparent; color: var(--paper); }

.availability-note {
  max-width: 570px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 25px 0 0;
  color: var(--paper-muted);
  font: 10px/1.55 var(--type);
  letter-spacing: 0;
}

.availability-note span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 4px rgba(167, 85, 46, 0.16);
}

.hero-specimen {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  border-left: 1px solid var(--rule);
  background:
    linear-gradient(180deg, rgba(7, 10, 8, 0.02), rgba(7, 10, 8, 0.83)),
    linear-gradient(120deg, #1f1e19, #0a0e0d 58%);
}

.hero-specimen::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 58% 61%, transparent 0 15rem, rgba(4, 6, 5, 0.46) 35rem),
    repeating-linear-gradient(90deg, transparent 0 12.4%, rgba(232, 223, 201, 0.028) 12.55%, transparent 12.7%);
}

.hero-specimen img {
  position: absolute;
  z-index: 4;
  width: min(88%, 790px);
  left: 51%;
  bottom: 12%;
  transform: translateX(-50%);
  filter: drop-shadow(0 42px 42px rgba(0, 0, 0, 0.72));
  animation: settle 7s var(--ease) infinite alternate;
}

.specimen-window {
  position: absolute;
  inset: 0 0 34%; 23%;
  overflow: hidden;
  border-left: 1px solid rgba(211, 226, 224, 0.25);
  border-bottom: 1px solid rgba(211, 226, 224, 0.18);
  background: linear-gradient(180deg, #587077, #263e44 59%, #17282d);
  opacity: 0.8;
}

.specimen-window::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(215, 226, 222, 0.19) 50%, transparent 50.3%),
    linear-gradient(180deg, transparent 49.7%, rgba(215, 226, 222, 0.13) 50%, transparent 50.3%),
    linear-gradient(145deg, rgba(235, 224, 187, 0.11), transparent 48%);
}

.rowhouse {
  position: absolute;
  bottom: -2px;
  width: 31%;
  border: 1px solid rgba(9, 15, 14, 0.65);
  background: rgba(17, 27, 27, 0.8);
}
.rowhouse::before, .rowhouse::after {
  content: '';
  position: absolute;
  width: 16%;
  aspect-ratio: 0.8;
  top: 27%;
  background: rgba(212, 173, 101, 0.24);
}
.rowhouse::before { left: 20%; }
.rowhouse::after { right: 20%; }
.rowhouse-one { left: 3%; height: 32%; }
.rowhouse-two { left: 34%; height: 39%; }
.rowhouse-three { right: 2%; height: 35%; }

.snow-line {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: radial-gradient(circle, rgba(229, 227, 213, 0.9) 0 1px, transparent 1.6px);
  background-size: 35px 49px;
  animation: weather-drift 12s linear infinite;
}

.specimen-tag {
  position: absolute;
  z-index: 7;
  top: 9%;
  left: 7%;
  width: 195px;
  padding: 16px 17px 14px;
  border: 1px solid rgba(32, 29, 23, 0.42);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  background: var(--paper-deep);
  color: var(--paper-ink);
  transform: rotate(-1.5deg);
}
.specimen-tag::before {
  content: '';
  position: absolute;
  width: 54px;
  height: 13px;
  top: -7px;
  left: 70px;
  background: rgba(197, 178, 137, 0.7);
}
.specimen-tag small, .specimen-tag span { display: block; font: 8px/1.4 var(--type); letter-spacing: 0.06em; }
.specimen-tag b { display: block; margin: 5px 0 10px; font: 15px var(--type); letter-spacing: -0.03em; }

.map-coordinate {
  position: absolute;
  z-index: 5;
  right: 26px;
  bottom: 24px;
  color: rgba(232, 223, 201, 0.42);
  font: 9px var(--type);
  letter-spacing: 0.03em;
  writing-mode: vertical-rl;
}

.hero-index {
  position: absolute;
  z-index: 9;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 56px;
  display: grid;
  grid-template-columns: 75px 1fr auto;
  align-items: center;
  border-top: 1px solid var(--rule);
  background: rgba(7, 9, 7, 0.76);
}
.hero-index span { padding-left: 25px; color: var(--brass); }
.hero-index i { height: 1px; background: var(--rule); }
.hero-index small { padding: 0 25px; color: var(--paper-muted); font: 8px var(--type); letter-spacing: 0.08em; }

.concept-banner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 25px;
  border-bottom: 1px solid rgba(24, 19, 12, 0.55);
  background: var(--brass);
  color: #14110c;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
}
.concept-banner span { font: 10px/1.5 var(--type); letter-spacing: 0; }

.section-shell { padding: 100px clamp(24px, 5.8vw, 108px) 116px; }

.section-heading {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(260px, 390px);
  gap: clamp(25px, 4vw, 72px);
  align-items: end;
  margin-bottom: 56px;
}

.section-number { align-self: start; padding-top: 10px; }
.section-heading .eyebrow { margin-bottom: 11px; }

h2 {
  margin-bottom: 0;
  font-size: clamp(52px, 6.2vw, 94px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0.012em;
  text-wrap: balance;
}

.section-note {
  margin-bottom: 2px;
  color: var(--paper-muted);
  font: 12px/1.72 var(--type);
  letter-spacing: 0;
}

.registry { border-bottom: 1px solid var(--rule); }

.registry-toolbar {
  min-height: 58px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border: 1px solid var(--rule);
  border-bottom: 0;
}
.registry-toolbar p { margin: 0; display: flex; align-items: center; padding: 0 20px; color: var(--paper-muted); font: 10px var(--type); letter-spacing: 0; }
.filter-group { display: flex; }
.filter-button {
  min-width: 105px;
  border: 0;
  border-left: 1px solid var(--rule);
  border-radius: 0;
  background: transparent;
  color: var(--paper-muted);
  font-size: 10px;
  letter-spacing: 0.17em;
  cursor: pointer;
}
.filter-button:hover { color: var(--paper); }
.filter-button.active { background: var(--paper); color: var(--paper-ink); }

.machine-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--rule); }
.machine-card { min-width: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.machine-card[hidden] { display: none; }

.card-visual {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 35%),
    radial-gradient(circle at 50% 56%, rgba(213, 184, 123, 0.12), transparent 45%),
    #10130f;
}
.card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 9px, rgba(232, 223, 201, 0.012) 10px);
}
.sample-tab {
  position: absolute;
  z-index: 4;
  top: 17px;
  left: 17px;
  padding: 6px 9px 4px;
  background: var(--rust);
  color: #fff5df;
  font-size: 9px;
  letter-spacing: 0.19em;
}
.card-number {
  position: absolute;
  z-index: 4;
  right: 17px;
  bottom: 15px;
  color: rgba(232, 223, 201, 0.5);
  font: 9px var(--type);
  letter-spacing: 0;
}

.machine-drawing,
.dialog-machine > span {
  --machine-color: #282d26;
  --machine-trim: #b99a62;
  position: absolute;
  left: 50%;
  top: 53%;
  width: 65%;
  max-width: 290px;
  aspect-ratio: 1.32;
  border: 2px solid #030403;
  border-radius: 17% 17% 12% 12% / 28% 28% 10% 10%;
  background:
    radial-gradient(ellipse at 50% 23%, var(--machine-color) 0 32%, transparent 33%),
    linear-gradient(155deg, #383e35, var(--machine-color) 58%, #11140f);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.19), 0 25px 28px rgba(0, 0, 0, 0.52);
  transform: translate(-50%, -46%) rotate(-1deg);
}
.machine-drawing::before,
.dialog-machine > span::before {
  content: '';
  position: absolute;
  width: 86%;
  height: 12%;
  left: 7%;
  top: -18%;
  border: 2px solid #050605;
  border-radius: 999px;
  background: linear-gradient(180deg, #40473e, #0f120e 62%);
  box-shadow: 0 5px 0 -2px var(--machine-trim);
}
.machine-drawing::after,
.dialog-machine > span::after {
  content: '';
  position: absolute;
  width: 83%;
  height: 39%;
  left: 8.5%;
  bottom: 9%;
  border: 1px solid rgba(0, 0, 0, 0.8);
  transform: perspective(150px) rotateX(16deg);
  background:
    radial-gradient(circle, #ddd2b5 0 15%, #30322b 17% 30%, transparent 32%) 0 0 / 12.5% 35%,
    linear-gradient(180deg, #181b16, #080a08);
}
.machine-drawing i,
.dialog-machine i {
  position: absolute;
  z-index: -1;
  width: 56%;
  height: 67%;
  left: 22%;
  bottom: 65%;
  border: 1px solid rgba(34, 30, 21, 0.6);
  background: linear-gradient(180deg, #dfd2ae, #bdb08f);
  box-shadow: 0 0 20px rgba(221, 204, 158, 0.12);
}
.machine-drawing b,
.dialog-machine b {
  position: absolute;
  width: 92%;
  height: 6%;
  left: 4%;
  top: 9%;
  border-radius: 50%;
  background: #090b08;
  box-shadow: 0 3px 0 var(--machine-trim);
}
.machine-drawing em,
.dialog-machine em {
  position: absolute;
  width: 17%;
  height: 11%;
  right: 11%;
  top: 28%;
  border: 1px solid rgba(215, 187, 125, 0.55);
  border-radius: 50%;
}

.machine-smith .machine-drawing { --machine-color: #183128; --machine-trim: #c2b078; }
.machine-underwood .machine-drawing { --machine-color: #171916; --machine-trim: #9c7d49; width: 74%; border-radius: 9% 9% 8% 8% / 18% 18% 8% 8%; }

.card-body { padding: 25px 25px 28px; }
.card-meta { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 12px; color: var(--brass); font-size: 9px; letter-spacing: 0.17em; }
.card-body h3 { margin-bottom: 8px; font-size: 34px; font-weight: 400; letter-spacing: 0.045em; }
.card-body > p { min-height: 44px; margin-bottom: 23px; color: var(--paper-muted); font: 11px/1.65 var(--type); letter-spacing: 0; }
.card-body dl { margin: 0 0 24px; border-top: 1px solid var(--rule); }
.card-body dl div { display: grid; grid-template-columns: 85px 1fr; gap: 10px; padding: 10px 0 8px; border-bottom: 1px solid var(--rule); }
.card-body dt { color: var(--paper-muted); font-size: 9px; }
.card-body dd { margin: 0; font: 10px var(--type); letter-spacing: 0; }
.record-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 13px 9px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-size: 10px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}
.record-button:hover { border-color: var(--brass); background: rgba(199, 160, 95, 0.07); }
.sample-disclaimer { margin: 17px 0 0; color: var(--paper-muted); font: 9px/1.6 var(--type); letter-spacing: 0; }

.profile-anatomy {
  padding: 110px clamp(24px, 9vw, 170px);
  border-bottom: 1px solid rgba(32, 29, 23, 0.4);
  background:
    linear-gradient(rgba(61, 36, 25, 0.88), rgba(38, 22, 16, 0.93)),
    repeating-linear-gradient(90deg, #573427 0 4px, #342016 4px 8px);
}

.anatomy-paper {
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 85px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 70px rgba(92, 69, 36, 0.11);
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(54, 49, 39, 0.055) 32px),
    var(--paper);
  color: var(--paper-ink);
  transform: rotate(-0.25deg);
}
.anatomy-paper::before {
  content: '';
  position: absolute;
  width: 110px;
  height: 22px;
  top: -12px;
  left: 50%;
  background: rgba(185, 164, 119, 0.72);
  transform: translateX(-50%) rotate(1deg);
}
.paper-kicker { color: #7c5d31; font: 10px var(--type); letter-spacing: 0.06em; }
.anatomy-paper h2 { max-width: 900px; font-size: clamp(46px, 6vw, 86px); }
.field-map { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 55px; border-top: 1px solid rgba(32, 29, 23, 0.25); border-left: 1px solid rgba(32, 29, 23, 0.25); }
.field-map article { min-height: 205px; padding: 25px; border-right: 1px solid rgba(32, 29, 23, 0.25); border-bottom: 1px solid rgba(32, 29, 23, 0.25); }
.field-map article > span { color: #8b6738; font: 10px var(--type); }
.field-map h3 { margin: 32px 0 8px; font-size: 24px; font-weight: 400; }
.field-map p { margin: 0; color: #5f5848; font: 11px/1.7 var(--type); letter-spacing: 0; }

.consent { border-bottom: 1px solid var(--rule); }
.workflow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.workflow-list li { min-height: 128px; display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 25px; align-items: center; border-bottom: 1px solid var(--rule); }
.workflow-index { color: var(--brass); font: 15px var(--type); }
.workflow-list h3 { margin: 0 0 8px; font-size: 27px; font-weight: 400; }
.workflow-list p { max-width: 760px; margin: 0; color: var(--paper-muted); font: 11px/1.65 var(--type); letter-spacing: 0; }
.workflow-list small { padding: 8px 10px 6px; border: 1px solid var(--rule-strong); color: var(--paper-muted); font-size: 8px; letter-spacing: 0.17em; }

.privacy-ledger { display: grid; grid-template-columns: minmax(260px, 1fr) 0.8fr 0.8fr; gap: 35px; margin-top: 64px; padding: 35px; border: 1px solid var(--brass); background: rgba(199, 160, 95, 0.055); }
.privacy-lead .eyebrow { margin-bottom: 12px; }
.privacy-lead h3 { margin: 0; font-size: 36px; font-weight: 400; line-height: 1; }
.privacy-ledger ul { margin: 0; padding: 0; list-style: none; }
.privacy-ledger li { min-height: 39px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--rule); color: var(--paper-muted); font: 10px/1.4 var(--type); letter-spacing: 0; }
.privacy-ledger li span { width: 16px; color: var(--brass); font: 15px var(--display); text-align: center; }

.launch { overflow: hidden; border-bottom: 1px solid var(--rule); }
.launch-rail { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 85px; }
.launch-rail::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--brass); }
.launch-rail article { position: relative; min-height: 350px; padding: 68px clamp(25px, 3vw, 48px) 35px; border-right: 1px solid var(--rule); }
.launch-rail article:first-child { border-left: 1px solid var(--rule); }
.rail-marker { position: absolute; top: -28px; left: 30px; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--brass); border-radius: 50%; background: var(--enamel); color: var(--brass); font: 11px var(--type); letter-spacing: 0; }
.launch-rail h3 { margin: 0 0 14px; font-size: 38px; font-weight: 400; line-height: 0.95; }
.launch-rail p:not(.eyebrow) { color: var(--paper-muted); font: 11px/1.7 var(--type); letter-spacing: 0; }
.launch-rail article > small { position: absolute; bottom: 28px; left: clamp(25px, 3vw, 48px); color: var(--brass); font-size: 8px; letter-spacing: 0.18em; }

.closing { min-height: 580px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 95px 25px; text-align: center; background: radial-gradient(circle, rgba(199, 160, 95, 0.08), transparent 30rem); }
.closing h2 { margin-bottom: 24px; }
.closing > p:not(.eyebrow) { max-width: 580px; margin-bottom: 28px; color: var(--paper-muted); font: 12px/1.7 var(--type); letter-spacing: 0; }
.closing > span { margin-top: 20px; color: var(--paper-muted); font: 8px var(--type); letter-spacing: 0.08em; }

footer { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(25px, 5vw, 80px); border-top: 1px solid var(--rule); color: var(--paper-muted); font-size: 8px; letter-spacing: 0.18em; }
footer p { margin: 0; display: flex; align-items: baseline; gap: 14px; }
.footer-mark { display: inline-flex; align-items: baseline; gap: 5px; font-size: 15px; }
.footer-descriptor { padding-left: 14px; border-left: 1px solid var(--rule); }

.profile-dialog {
  width: min(960px, calc(100% - 32px));
  max-height: min(850px, calc(100vh - 32px));
  padding: 0;
  border: 1px solid var(--brass);
  border-radius: 0;
  background: var(--enamel-raised);
  color: var(--paper);
  box-shadow: 0 35px 130px rgba(0, 0, 0, 0.76);
}
.profile-dialog::backdrop { background: rgba(1, 3, 2, 0.83); backdrop-filter: blur(4px); }
.dialog-frame { padding: 30px; }
.dialog-close { float: right; min-width: 100px; padding: 10px; border: 1px solid var(--rule-strong); border-radius: 0; background: transparent; color: var(--paper); font-size: 9px; letter-spacing: 0.14em; cursor: pointer; }
.dialog-close span { color: var(--brass); font-size: 17px; }
.dialog-status { max-width: calc(100% - 120px); margin: 5px 0 45px; color: var(--rust); font: 9px var(--type); letter-spacing: 0.05em; }
.dialog-heading { display: grid; grid-template-columns: 160px 1fr; gap: 25px; align-items: end; padding-bottom: 25px; border-bottom: 1px solid var(--rule); }
.dialog-heading > span { color: var(--brass); font: 12px var(--type); letter-spacing: 0; }
.dialog-heading p { margin: 0 0 4px; color: var(--paper-muted); font-size: 9px; }
.dialog-heading h2 { font-size: clamp(46px, 7vw, 74px); }
.dialog-content { display: grid; grid-template-columns: 0.95fr 1.05fr; min-height: 370px; }
.dialog-machine { position: relative; min-height: 350px; border-right: 1px solid var(--rule); background: radial-gradient(circle, rgba(199, 160, 95, 0.08), transparent 55%); }
.dialog-machine > span { top: 54%; width: 72%; }
.dialog-details { padding: 28px; }
.dialog-details dl { margin: 0 0 28px; }
.dialog-details dl div { display: grid; grid-template-columns: 120px 1fr; gap: 15px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.dialog-details dt { color: var(--paper-muted); font-size: 9px; }
.dialog-details dd { margin: 0; font: 10px var(--type); letter-spacing: 0; }
.dialog-details blockquote { margin: 0 0 20px; padding: 18px 0 0 18px; border-left: 2px solid var(--brass); color: #cec5b2; font: 12px/1.7 var(--type); letter-spacing: 0; }
.dialog-consent { color: var(--paper-muted); font: 9px/1.55 var(--type); letter-spacing: 0; }
.dialog-done { display: none; }

:focus-visible { outline: 2px solid var(--brass-bright); outline-offset: 4px; }

@keyframes settle {
  from { transform: translateX(-50%) translateY(0) rotate(-0.25deg); }
  to { transform: translateX(-50%) translateY(4px) rotate(0.15deg); }
}

@keyframes weather-drift {
  from { background-position: 0 -50px; }
  to { background-position: 80px 80px; }
}

@media (max-width: 1120px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .header-location { display: none; }
  .site-header nav { justify-content: center; }
  .hero { grid-template-columns: 1fr 0.92fr; }
  .hero-copy { padding-left: 45px; padding-right: 45px; }
  .section-heading { grid-template-columns: 115px 1fr; }
  .section-heading .section-note { grid-column: 2; max-width: 600px; }
  .card-visual { min-height: 285px; }
  .privacy-ledger { grid-template-columns: 1fr 1fr; }
  .privacy-lead { grid-column: 1 / -1; }
}

@media (max-width: 840px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 66px; }
  .brand { min-width: 0; padding: 16px 20px; }
  .release-stamp { padding: 0 16px; }
  .site-header nav { grid-column: 1 / -1; order: 3; overflow-x: auto; justify-content: flex-start; border-top: 1px solid var(--rule); border-left: 0; }
  .site-header nav a { flex: 1 0 auto; justify-content: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 650px; padding: 85px 28px 85px; }
  .hero-specimen { min-height: 600px; border-top: 1px solid var(--rule); border-left: 0; }
  .hero-index { display: none; }
  .concept-banner { flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; }
  .section-shell { padding: 78px 24px 90px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading .section-note { grid-column: 1; }
  .machine-grid { grid-template-columns: 1fr; }
  .card-visual { min-height: 390px; }
  .card-body > p { min-height: 0; }
  .profile-anatomy { padding: 70px 20px; }
  .field-map { grid-template-columns: 1fr; }
  .workflow-list li { grid-template-columns: 60px 1fr; padding: 22px 0; }
  .workflow-list small { grid-column: 2; justify-self: start; }
  .privacy-ledger { grid-template-columns: 1fr; }
  .privacy-lead { grid-column: auto; }
  .launch-rail { grid-template-columns: 1fr; gap: 70px; }
  .launch-rail::before { top: 0; bottom: 0; left: 27px; right: auto; width: 1px; height: auto; }
  .launch-rail article { min-height: 290px; margin-left: 27px; padding: 48px 30px 35px 56px; border: 0; border-bottom: 1px solid var(--rule); }
  .launch-rail article:first-child { border-left: 0; }
  .rail-marker { left: -28px; }
  .launch-rail article > small { left: 56px; }
  .dialog-content { grid-template-columns: 1fr; }
  .dialog-machine { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--rule); }
}

@media (max-width: 560px) {
  .release-stamp { max-width: 130px; font-size: 7px; text-align: center; }
  .hero-copy { min-height: 610px; }
  h1 { font-size: clamp(53px, 17vw, 75px); }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-specimen { min-height: 470px; }
  .specimen-window { left: 12%; }
  .specimen-tag { top: 5%; left: 4%; transform: scale(0.82) rotate(-1.5deg); transform-origin: top left; }
  .registry-toolbar { flex-direction: column; }
  .registry-toolbar p { min-height: 48px; }
  .filter-group { border-top: 1px solid var(--rule); }
  .filter-button { flex: 1; min-width: 0; border-left: 0; border-right: 1px solid var(--rule); }
  .card-visual { min-height: 300px; }
  .anatomy-paper { padding: 38px 24px; }
  .field-map { margin-top: 38px; }
  .workflow-list li { grid-template-columns: 42px 1fr; gap: 12px; }
  .privacy-ledger { padding: 25px 20px; }
  footer { flex-direction: column; justify-content: center; padding: 22px; text-align: center; }
  .profile-dialog { width: calc(100% - 18px); max-height: calc(100vh - 18px); }
  .dialog-frame { padding: 20px; }
  .dialog-status { margin-bottom: 30px; }
  .dialog-heading { grid-template-columns: 1fr; gap: 12px; }
  .dialog-heading h2 { font-size: 48px; }
  .dialog-machine { min-height: 240px; }
  .dialog-details { padding: 22px 0 10px; }
  .dialog-details dl div { grid-template-columns: 95px 1fr; }
  .dialog-done { display: inline-flex; margin-top: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root { --paper-muted: #d4cbb9; --rule: rgba(232, 223, 201, 0.42); --rule-strong: rgba(232, 223, 201, 0.68); }
}

@media print {
  .site-header, .hero-actions, .registry-toolbar, .record-button, .profile-dialog { display: none !important; }
  body { background: white; color: black; }
  .hero, .registry, .consent, .launch { break-inside: avoid; }
}
