:root {
  --field: #f3eee5;
  --field-deep: #e4d9cb;
  --paper: #fbf8f2;
  --ink: #20211f;
  --grey: #74736d;
  --quiet: #a29c93;
  --line: rgba(32, 33, 31, 0.2);
  --signal: #f05235;
  --signal-light: #ff735b;
  --signal-depth: #a43525;
  --stage: #08090d;
  --stage-raised: #101218;
  --stage-line: rgba(255, 255, 255, 0.18);
  --stage-text: #f5f1ea;
  --max-width: 1480px;
  --gutter: clamp(20px, 4vw, 68px);
  --display: Arial, Helvetica, "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Kaku Gothic ProN", sans-serif;
  --record: "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Kaku Gothic ProN", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--field);
  color: var(--ink);
  font-family: var(--record);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  opacity: 0.035;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--signal-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  width: min(100%, var(--max-width));
  min-height: 82px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--stage-text);
  transform: translateX(-50%);
}

.wordmark {
  width: fit-content;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.wordmark span {
  color: var(--signal);
}

.site-nav {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
}

.site-nav a,
.header-status,
.record-label {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--signal-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(14px, 2vw, 28px);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(240, 82, 53, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

.dna-hero {
  position: relative;
  min-height: max(840px, 100svh);
  padding: 106px max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter))) 56px;
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(590px, 1.18fr);
  align-items: center;
  gap: clamp(38px, 5vw, 90px);
  overflow: hidden;
  background:
    radial-gradient(circle at 67% 36%, rgba(240, 82, 53, 0.15), transparent 27%),
    linear-gradient(115deg, #090a0e 0%, #07080c 58%, #0d0a0b 100%);
  color: var(--stage-text);
}

.hero-atmosphere,
.hero-atmosphere::before,
.hero-atmosphere::after {
  position: absolute;
  pointer-events: none;
}

.hero-atmosphere {
  inset: 0;
  opacity: 0.8;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, transparent, #000 52%);
}

.hero-atmosphere::before {
  content: "";
  top: -14%;
  right: 5%;
  width: 34%;
  height: 130%;
  border-left: 1px solid rgba(240, 82, 53, 0.35);
  transform: rotate(22deg);
}

.hero-atmosphere::after {
  content: "0021";
  right: 3vw;
  bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.055);
  font-family: var(--display);
  font-size: clamp(100px, 18vw, 280px);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.7;
}

.hero-copy,
.dna-showroom {
  position: relative;
  z-index: 2;
}

.hero-copy {
  align-self: center;
  padding-bottom: 3vh;
}

.record-label {
  margin: 0 0 22px;
  color: var(--grey);
}

.dna-hero .record-label {
  color: rgba(255, 255, 255, 0.48);
}

.hero-copy h1,
.section-heading h2,
.story-copy h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.95;
  word-break: keep-all;
}

.hero-copy h1 {
  max-width: 690px;
  font-size: clamp(48px, 5vw, 84px);
}

.hero-copy h1 span {
  display: inline-block;
  margin-top: 0.13em;
  color: var(--signal-light);
}

.hero-intro {
  max-width: 550px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.75;
  word-break: keep-all;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 750;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-signal {
  border-color: var(--signal);
  background: var(--signal);
  color: white;
}

.button-signal:hover {
  border-color: var(--signal-light);
  background: var(--signal-light);
}

.button-primary {
  background: var(--ink);
  color: var(--paper);
}

.button-primary:hover {
  border-color: var(--signal-depth);
  background: var(--signal-depth);
}

.text-link {
  padding: 12px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  color: var(--signal-light);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.text-link-light {
  color: rgba(255, 255, 255, 0.72);
}

.hero-code {
  margin-top: 42px;
  padding-left: 14px;
  display: grid;
  gap: 5px;
  border-left: 2px solid var(--signal);
}

.hero-code span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-code strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.dna-showroom {
  width: 100%;
  max-width: 770px;
  justify-self: end;
  border: 1px solid var(--stage-line);
  background: rgba(12, 13, 18, 0.82);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(16px);
}

.showroom-head {
  min-height: 38px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--stage-line);
  color: rgba(255, 255, 255, 0.52);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.showroom-head span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.showroom-head i {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
}

.dna-frame {
  position: relative;
  height: clamp(390px, 52vh, 590px);
  margin: 0;
  overflow: hidden;
  background: #18151a;
  isolation: isolate;
}

.dna-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  filter: saturate(0.93) contrast(1.05) brightness(0.94);
}

.dna-image-primary {
  z-index: 1;
}

.dna-image-buffer {
  z-index: 2;
  opacity: 0;
  transition: opacity 440ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.dna-image-buffer.is-visible {
  opacity: 1;
}

.frame-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(to top, rgba(4, 5, 9, 0.62), transparent 28%);
  background-size: 40px 40px, 40px 40px, 100% 100%;
}

.frame-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 45%, rgba(240, 82, 53, 0.11) 45.2%, transparent 45.8%);
}

.frame-corners {
  position: absolute;
  inset: 16px;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(var(--signal), var(--signal)) left top / 38px 1px no-repeat,
    linear-gradient(var(--signal), var(--signal)) left top / 1px 38px no-repeat,
    linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,.65)) right top / 38px 1px no-repeat,
    linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,.65)) right top / 1px 38px no-repeat,
    linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,.65)) left bottom / 38px 1px no-repeat,
    linear-gradient(rgba(255,255,255,.65), rgba(255,255,255,.65)) left bottom / 1px 38px no-repeat,
    linear-gradient(var(--signal), var(--signal)) right bottom / 38px 1px no-repeat,
    linear-gradient(var(--signal), var(--signal)) right bottom / 1px 38px no-repeat;
}

.dna-frame figcaption {
  position: absolute;
  right: 18px;
  bottom: 15px;
  left: 18px;
  z-index: 5;
  display: flex;
  align-items: end;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.66);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.dna-frame figcaption strong {
  color: white;
  font-size: 14px;
}

.sequence-progress {
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.sequence-progress span {
  width: 20%;
  height: 100%;
  display: block;
  background: var(--signal);
  transform-origin: left;
  transition: width 360ms ease;
}

.dna-controls {
  scroll-margin-top: 20px;
}

.trait-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--stage-line);
}

.trait-tabs button {
  min-width: 0;
  padding: 12px 13px 10px;
  display: grid;
  gap: 2px;
  border: 0;
  border-right: 1px solid var(--stage-line);
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.trait-tabs button:last-child {
  border-right: 0;
}

.trait-tabs button:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.8);
}

.trait-tabs button[aria-selected="true"] {
  background: var(--signal);
  color: white;
}

.trait-tabs button > span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.trait-tabs button strong {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.trait-tabs button small {
  overflow: hidden;
  font-size: 8px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trait-options {
  min-height: 86px;
}

.trait-options section {
  min-height: 86px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(116px, 0.35fr) 1fr;
  align-items: center;
  gap: 10px;
}

.trait-options section[hidden] {
  display: none;
}

.option-heading {
  display: grid;
  gap: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 700;
}

.option-heading small {
  color: rgba(255, 255, 255, 0.34);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.option-list button {
  min-width: 0;
  min-height: 58px;
  padding: 9px 10px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.56);
  text-align: left;
  cursor: pointer;
}

.option-list button:hover,
.option-list button[aria-pressed="true"] {
  border-color: var(--signal);
  background: rgba(240, 82, 53, 0.1);
  color: white;
}

.option-list button > span {
  grid-row: 1 / span 2;
  color: var(--signal-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
}

.option-list button strong,
.option-list button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.option-list button strong {
  font-size: 10px;
  letter-spacing: 0.06em;
}

.option-list button small {
  color: rgba(255, 255, 255, 0.38);
  font-size: 8px;
}

.control-footer {
  min-height: 42px;
  padding: 7px 10px 7px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--stage-line);
}

.control-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.36);
  font-size: 8px;
  line-height: 1.4;
}

.shuffle-button {
  min-height: 30px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.shuffle-button:hover {
  border-color: var(--signal);
  background: var(--signal);
}

.section-shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.today {
  padding-top: clamp(96px, 10vw, 150px);
  padding-bottom: clamp(90px, 10vw, 148px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: clamp(38px, 8vw, 130px);
}

.section-heading h2,
.story-copy h2,
.final-cta h2 {
  font-size: clamp(42px, 5.3vw, 78px);
}

.section-heading > p,
.today-heading > p,
.records-heading > p {
  max-width: 560px;
  margin: 0 0 5px;
  color: #4e4e49;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.8;
  word-break: keep-all;
}

.today-summary {
  margin: clamp(52px, 6vw, 82px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.today-summary div {
  min-width: 0;
  padding: 20px 18px 24px;
  border-right: 1px solid var(--line);
}

.today-summary div:last-child {
  border-right: 0;
}

.today-summary dt {
  display: flex;
  gap: 9px;
  color: var(--grey);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.today-summary dt span {
  color: var(--signal-depth);
}

.today-summary dd {
  margin: 14px 0 0;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(17px, 1.65vw, 24px);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.impact-flow {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
}

.impact-flow li {
  position: relative;
  min-height: 174px;
  padding: 25px 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.impact-flow li:last-child {
  border-right: 0;
}

.impact-flow li > span {
  color: var(--signal-depth);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.impact-flow li strong {
  margin-top: 25px;
  font-size: clamp(17px, 1.45vw, 22px);
}

.impact-flow li p {
  margin: 7px 0 0;
  color: var(--grey);
  font-size: 12px;
  line-height: 1.55;
}

.impact-flow li i {
  position: absolute;
  top: 50%;
  right: -11px;
  z-index: 2;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--field);
  color: var(--signal-depth);
  font-size: 11px;
  font-style: normal;
  transform: translateY(-50%);
}

.story {
  padding-top: clamp(82px, 8vw, 130px);
  padding-bottom: clamp(105px, 11vw, 180px);
  display: grid;
  grid-template-columns: minmax(350px, 0.9fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(60px, 11vw, 175px);
  border-top: 1px solid var(--line);
}

.story-image {
  position: relative;
  overflow: hidden;
  background: #c9ad92;
}

.story-image img {
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(0.82) contrast(1.02);
}

.story-image p {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  background: rgba(15, 14, 13, 0.78);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.story-image p span {
  color: var(--signal-light);
}

.story-copy > p:not(.record-label) {
  max-width: 620px;
  margin: 34px 0 0;
  color: #4b4b47;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.8;
  word-break: keep-all;
}

.profile-list {
  margin: 45px 0 0;
  border-top: 1px solid var(--ink);
}

.profile-list div {
  padding: 17px 0;
  display: grid;
  grid-template-columns: minmax(100px, 0.4fr) 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.profile-list dt {
  color: var(--grey);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.profile-list dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  word-break: keep-all;
}

.trace {
  padding-top: clamp(105px, 11vw, 170px);
  padding-bottom: clamp(110px, 12vw, 190px);
  border-top: 1px solid var(--line);
}

.trace-flow {
  margin: clamp(58px, 7vw, 100px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.trace-flow li {
  min-height: 330px;
  padding: 25px 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}

.trace-flow li:last-child {
  border-right: 0;
}

.trace-number {
  color: var(--signal-depth);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
}

.trace-flow small {
  color: var(--grey);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.trace-flow strong {
  margin-top: 14px;
  display: block;
  font-family: var(--display);
  font-size: clamp(23px, 2.2vw, 34px);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.trace-flow p {
  max-width: 340px;
  margin: 18px 0 0;
  color: var(--grey);
  font-size: 14px;
  line-height: 1.7;
}

.records {
  background: #222320;
  color: var(--paper);
}

.records-inner {
  padding-top: clamp(105px, 11vw, 170px);
  padding-bottom: clamp(105px, 11vw, 170px);
}

.records .record-label,
.records-heading > p {
  color: rgba(255, 255, 255, 0.46);
}

.metrics {
  margin: clamp(58px, 7vw, 100px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.metrics > div {
  min-height: 230px;
  padding: 20px 22px 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-right: 1px solid rgba(255, 255, 255, 0.17);
}

.metrics > div:last-child {
  border-right: 0;
}

.metrics dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.metrics dd {
  margin: 0;
  align-self: center;
  color: var(--signal-light);
  font-family: var(--display);
  font-size: clamp(54px, 5vw, 78px);
  font-weight: 900;
  line-height: 1;
}

.metrics .metric-note {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--record);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.record-empty {
  margin-top: 30px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
}

.record-empty p {
  margin: 0;
}

.record-empty strong {
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.86);
}

.final-cta {
  padding-top: clamp(120px, 14vw, 220px);
  padding-bottom: clamp(120px, 14vw, 220px);
  text-align: center;
}

.final-cta .record-label {
  color: var(--signal-depth);
}

.final-cta h2 {
  max-width: 1050px;
  margin: 0 auto;
  font-size: clamp(46px, 7vw, 104px);
}

.final-cta > p:not(.record-label) {
  max-width: 650px;
  margin: 34px auto 0;
  color: var(--grey);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}

.final-cta .button {
  margin-top: 38px;
}

.site-footer {
  min-height: 110px;
  padding: 0 max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-size: 10px;
}

.site-footer .wordmark {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-of-type(2) {
  justify-self: end;
}

.build-log {
  padding-top: clamp(100px, 11vw, 165px);
  padding-bottom: clamp(100px, 11vw, 165px);
  border-top: 1px solid var(--ink);
}

.build-log-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: clamp(38px, 8vw, 130px);
}

.build-log-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5.3vw, 78px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.95;
  word-break: keep-all;
}

.build-log-heading > p {
  max-width: 560px;
  margin: 0 0 5px;
  color: #4e4e49;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.8;
  word-break: keep-all;
}

.featured-log {
  position: relative;
  min-height: 340px;
  margin-top: clamp(55px, 7vw, 88px);
  padding: 30px 34px 34px;
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1.3fr) auto;
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: color 220ms ease, background-color 220ms ease;
}

.featured-log::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--signal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 220ms ease;
}

.featured-log:hover,
.featured-log:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.featured-log:hover::before,
.featured-log:focus-visible::before {
  transform: scaleY(1);
}

.featured-log-meta {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--grey);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.featured-log:hover .featured-log-meta,
.featured-log:focus-visible .featured-log-meta {
  color: #aba9a2;
}

.featured-log-copy h3 {
  max-width: 780px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 4.3vw, 64px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.05;
  word-break: keep-all;
}

.featured-log-copy > p {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--grey);
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}

.featured-log:hover .featured-log-copy > p,
.featured-log:focus-visible .featured-log-copy > p {
  color: #c7c5be;
}

.log-tags {
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.log-tags li {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--grey);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.featured-log:hover .log-tags li,
.featured-log:focus-visible .log-tags li {
  border-color: rgba(255, 255, 255, 0.24);
  color: #c7c5be;
}

.featured-log-action {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.featured-log-action i {
  color: var(--signal-depth);
  font-size: 27px;
  font-style: normal;
  transition: transform 180ms ease;
}

.featured-log:hover .featured-log-action i,
.featured-log:focus-visible .featured-log-action i {
  color: var(--signal);
  transform: translate(4px, 4px);
}

.build-log-all {
  margin-top: 30px;
}

.log-site-header {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.log-site-header .header-status {
  color: var(--ink);
}

.log-nav {
  display: flex;
  gap: 34px;
}

.log-nav a {
  position: relative;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.log-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--signal);
}

.log-main {
  min-height: calc(100svh - 126px);
}

.log-index {
  padding-top: clamp(150px, 16vw, 230px);
  padding-bottom: clamp(110px, 13vw, 190px);
}

.log-index-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: clamp(45px, 9vw, 150px);
}

.log-index-heading .record-label {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.log-index-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(50px, 7vw, 104px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.95;
  word-break: keep-all;
}

.log-index-heading > p:last-child {
  max-width: 480px;
  margin: 0 0 7px;
  color: #4c4b46;
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
}

.log-list {
  margin: 90px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.log-list > li {
  border-bottom: 1px solid var(--line);
}

.log-list > li > a {
  min-height: 280px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) minmax(0, 1.4fr) auto;
  align-items: end;
  gap: clamp(28px, 5vw, 80px);
}

.log-list-meta {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--grey);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.log-list-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.05;
  word-break: keep-all;
  transition: color 180ms ease;
}

.log-list-copy > p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--grey);
  line-height: 1.7;
  word-break: keep-all;
}

.log-list > li > a:hover h2,
.log-list > li > a:focus-visible h2 {
  color: var(--signal-depth);
}

.log-arrow {
  color: var(--signal-depth);
  font-size: 34px;
  transition: transform 180ms ease;
}

.log-list > li > a:hover .log-arrow,
.log-list > li > a:focus-visible .log-arrow {
  transform: translate(4px, 4px);
}

.log-article {
  max-width: 1120px;
  padding-top: clamp(140px, 15vw, 210px);
  padding-bottom: clamp(100px, 12vw, 170px);
}

.log-article-header {
  padding-bottom: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--ink);
}

.log-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
}

.log-back span {
  color: var(--signal-depth);
  font-size: 20px;
  transition: transform 180ms ease;
}

.log-back:hover span {
  transform: translateX(-4px);
}

.log-article-header > div {
  text-align: right;
}

.log-article-header .record-label {
  margin-bottom: 7px;
}

.log-article-header time {
  font-size: 13px;
  font-weight: 700;
}

.log-prose {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
}

.log-prose h1 {
  margin: 0 0 52px;
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1;
  word-break: keep-all;
}

.log-prose h2 {
  margin: 78px 0 25px;
  font-family: var(--display);
  font-size: clamp(27px, 3.5vw, 40px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
  word-break: keep-all;
}

.log-prose p,
.log-prose li {
  color: #3f403c;
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.9;
  word-break: keep-all;
}

.log-prose p {
  margin: 0 0 24px;
}

.log-prose ul,
.log-prose ol {
  margin: 28px 0 34px;
  padding-left: 1.4em;
}

.log-prose li + li {
  margin-top: 10px;
}

.log-prose strong {
  color: var(--ink);
  font-weight: 800;
}

.log-prose > p:last-child {
  margin-top: 60px;
  padding: 28px 0 0 24px;
  border-top: 1px solid var(--ink);
  border-left: 5px solid var(--signal);
}

.log-article-footer {
  padding-top: 28px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--ink);
}

.log-article-footer .log-tags {
  margin-top: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 82, 53, 0.52); }
  70% { box-shadow: 0 0 0 8px rgba(240, 82, 53, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 82, 53, 0); }
}

@media (max-width: 1120px) {
  .dna-hero {
    grid-template-columns: minmax(280px, 0.74fr) minmax(520px, 1.26fr);
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 5.7vw, 68px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section-heading {
    gap: 55px;
  }

  .impact-flow li {
    padding: 22px 20px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .dna-hero {
    min-height: 0;
    padding-top: 112px;
    grid-template-columns: 1fr;
    align-content: start;
    align-items: start;
    gap: 58px;
  }

  .hero-copy {
    max-width: 720px;
    padding: 0;
    align-self: start;
  }

  .hero-copy h1 {
    font-size: clamp(50px, 9vw, 76px);
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .dna-showroom {
    max-width: none;
    justify-self: stretch;
  }

  .dna-frame {
    height: min(68vh, 670px);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .today-summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .today-summary div:nth-child(2) {
    border-right: 0;
  }

  .today-summary div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .impact-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-flow li:nth-child(2) {
    border-right: 0;
  }

  .impact-flow li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .impact-flow li:nth-child(2) i {
    top: auto;
    right: auto;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .story {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .story-image {
    width: min(100%, 650px);
  }

  .trace-flow {
    grid-template-columns: 1fr;
  }

  .trace-flow li {
    min-height: 0;
    padding: 26px 0;
    display: grid;
    grid-template-columns: 70px 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trace-flow li:last-child {
    border-bottom: 0;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics > div:nth-child(2) {
    border-right: 0;
  }

  .metrics > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 20px;
  }

  .site-header {
    min-height: 68px;
  }

  .header-status {
    display: none;
  }

  .dna-hero {
    padding-top: 96px;
    padding-bottom: 38px;
    gap: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 13.7vw, 62px);
    line-height: 0.94;
  }

  .hero-intro {
    margin-top: 24px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 28px;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .button-signal {
    width: 100%;
  }

  .hero-code {
    margin-top: 30px;
  }

  .dna-showroom {
    margin-right: -8px;
    margin-left: -8px;
    width: calc(100% + 16px);
  }

  .dna-frame {
    height: min(122vw, 610px);
  }

  .frame-corners {
    inset: 11px;
  }

  .trait-tabs button {
    padding: 10px 7px 9px;
  }

  .trait-tabs button small {
    display: none;
  }

  .trait-options {
    min-height: 154px;
  }

  .trait-options section {
    min-height: 154px;
    padding: 12px;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .option-heading {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .option-list button {
    min-height: 72px;
  }

  .option-list button strong,
  .option-list button small {
    white-space: normal;
  }

  .control-footer {
    min-height: 48px;
  }

  .control-footer p {
    max-width: 205px;
  }

  .today,
  .story,
  .trace,
  .records-inner,
  .final-cta {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .section-heading h2,
  .story-copy h2,
  .final-cta h2 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .today-summary {
    margin-top: 44px;
  }

  .today-summary div {
    padding: 16px 12px 18px;
  }

  .today-summary dd {
    margin-top: 9px;
    font-size: 16px;
  }

  .impact-flow {
    grid-template-columns: 1fr;
  }

  .impact-flow li {
    min-height: 0;
    padding: 22px 20px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .impact-flow li:last-child {
    border-bottom: 0;
  }

  .impact-flow li strong {
    margin-top: 14px;
  }

  .impact-flow li i,
  .impact-flow li:nth-child(2) i {
    top: auto;
    right: auto;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .story {
    gap: 48px;
  }

  .profile-list div {
    grid-template-columns: 95px 1fr;
  }

  .trace-flow li {
    grid-template-columns: 44px 1fr;
  }

  .metrics > div {
    min-height: 180px;
    padding: 16px;
  }

  .metrics dd {
    font-size: 50px;
  }

  .record-empty {
    grid-template-columns: auto 1fr;
  }

  .record-empty > span:last-child {
    grid-column: 2;
  }

  .record-empty strong {
    display: block;
    margin-bottom: 5px;
  }

  .site-footer {
    min-height: 160px;
    padding-top: 30px;
    padding-bottom: 30px;
    grid-template-columns: 1fr auto;
    align-content: center;
    gap: 20px;
  }

  .site-footer p:first-of-type {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

html[data-motion="reduce"] {
  scroll-behavior: auto;
}

html[data-motion="reduce"] *,
html[data-motion="reduce"] *::before,
html[data-motion="reduce"] *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
}

html[data-motion="reduce"] .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .featured-log {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .featured-log-action {
    display: none;
  }
}

@media (max-width: 900px) {
  .build-log-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
  }

  .log-nav {
    display: none;
  }
}

@media (max-width: 620px) {
  .build-log {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .build-log-heading h2 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .build-log-heading > p {
    margin: 0;
  }

  .featured-log {
    min-height: 0;
    margin-top: 50px;
    padding: 22px 0 26px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .featured-log::before {
    display: none;
  }

  .featured-log-meta {
    min-height: 0;
    flex-direction: row;
    gap: 18px;
  }

  .featured-log-copy h3 {
    font-size: clamp(34px, 10.5vw, 50px);
  }

  .featured-log:hover,
  .featured-log:focus-visible {
    background: transparent;
    color: var(--ink);
  }

  .featured-log:hover .featured-log-meta,
  .featured-log:focus-visible .featured-log-meta,
  .featured-log:hover .featured-log-copy > p,
  .featured-log:focus-visible .featured-log-copy > p {
    color: var(--grey);
  }

  .featured-log:hover .log-tags li,
  .featured-log:focus-visible .log-tags li {
    border-color: var(--line);
    color: var(--grey);
  }

  .log-index-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 34px;
  }

  .log-index-heading .record-label {
    grid-column: auto;
    margin-bottom: -8px;
  }

  .log-index-heading h1 {
    font-size: clamp(48px, 13.5vw, 68px);
  }

  .log-index-heading > p:last-child {
    margin: 0;
  }

  .log-list {
    margin-top: 58px;
  }

  .log-list > li > a {
    min-height: 0;
    padding: 22px 0 26px;
    grid-template-columns: 1fr auto;
    gap: 42px 20px;
  }

  .log-list-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 18px;
  }

  .log-list-copy h2 {
    font-size: clamp(34px, 10.5vw, 50px);
  }

  .log-arrow {
    align-self: end;
  }

  .log-article-header {
    padding-bottom: 24px;
    align-items: start;
    flex-direction: column;
  }

  .log-article-header > div {
    text-align: left;
  }

  .log-prose {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .log-prose h1 {
    margin-bottom: 42px;
    font-size: clamp(46px, 13vw, 66px);
  }

  .log-prose h2 {
    margin-top: 62px;
  }

  .log-prose p,
  .log-prose li {
    font-size: 17px;
    line-height: 1.85;
  }

  .log-article-footer {
    flex-direction: column;
  }
}
