:root {
  --bg: #0b0c0b;
  --panel: #111310;
  --ink: #f2f0e8;
  --muted: #a4a69d;
  --line: rgba(255, 255, 255, .14);
  --signal: #d1e59a;
  --sans: Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --display: "Arial Narrow", Impact, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --pad: clamp(20px, 3.2vw, 52px);
}

* { box-sizing: border-box; }
html { min-width: 320px; color-scheme: dark; background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 76% 12%, rgba(209, 229, 154, .07), transparent 24rem),
    linear-gradient(135deg, rgba(255,255,255,.012), transparent 35%),
    var(--bg);
  color: var(--ink);
  font: 14px/1.68 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, p { word-break: keep-all; overflow-wrap: normal; }
a:focus-visible { outline: 2px solid var(--signal); outline-offset: 5px; }

.skip {
  position: fixed;
  z-index: 30;
  top: -64px;
  left: 16px;
  padding: 10px 14px;
  background: var(--signal);
  color: var(--bg);
}
.skip:focus { top: 12px; }

.masthead {
  min-height: 82px;
  margin: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  white-space: nowrap;
  font: italic 37px/.84 var(--serif);
  letter-spacing: -2px;
}
.brand span { padding-top: 2px; font-size: 24px; font-style: normal; letter-spacing: -1.4px; }
.brand sup { margin-left: -3px; font: 9px var(--sans); letter-spacing: 0; }
.masthead nav { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2.3vw, 34px); }
.masthead nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: .06em;
  color: #c9cbc2;
}
.masthead nav a:hover { color: var(--signal); }
.masthead nav a[aria-current="page"] { color: var(--signal); border-bottom: 1px solid var(--signal); }

.tech-main { overflow: hidden; }
.tech-hero {
  min-height: min(820px, calc(100svh - 82px));
  padding: clamp(64px, 9vw, 148px) var(--pad);
  display: grid;
  grid-template-columns: minmax(170px, .42fr) minmax(0, 1.58fr);
  gap: clamp(34px, 7vw, 118px);
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.tech-index,
.micro {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
}
.tech-index { align-self: start; color: var(--signal); }
.tech-hero-copy { min-width: 0; }
.tech-symbol {
  display: block;
  margin-bottom: clamp(24px, 4vw, 56px);
  color: var(--signal);
  font: 300 clamp(68px, 9vw, 136px)/.7 var(--sans);
}
.tech-hero h1 {
  max-width: 14ch;
  font-size: clamp(44px, 6.2vw, 98px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.055em;
}
.tech-hero h1 span,
.tech-hero h1 em { display: block; }
.tech-hero h1 em {
  width: fit-content;
  max-width: 100%;
  margin-top: .08em;
  color: var(--signal);
  font-family: var(--serif);
  font-weight: 400;
}
.tech-lead { max-width: 780px; margin-top: 38px; color: #c3c5bd; font-size: clamp(17px, 1.45vw, 22px); }
.tech-qualifier { max-width: 760px; margin-top: 18px; color: #81847b; font-size: 12px; }

.tech-section { padding: clamp(68px, 9vw, 144px) var(--pad); border-bottom: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: minmax(160px, .42fr) minmax(0, 1.58fr);
  gap: clamp(34px, 7vw, 118px);
  margin-bottom: clamp(40px, 7vw, 86px);
}
.section-head .micro { color: var(--signal); }
.section-head h2 {
  max-width: 18ch;
  font-size: clamp(34px, 4.5vw, 68px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -.045em;
}
.section-head h2 em { color: var(--signal); font-family: var(--serif); font-weight: 400; }
.section-head p { max-width: 720px; margin-top: 22px; color: var(--muted); font-size: 16px; }

.axis-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.axis-card {
  min-height: 360px;
  padding: clamp(24px, 3vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: rgba(17, 19, 16, .52);
}
.axis-card:hover { background: rgba(209, 229, 154, .055); }
.axis-card-symbol { color: var(--signal); font-size: 50px; line-height: 1; }
.axis-card .micro { margin-top: auto; color: #74786f; }
.axis-card h2 { margin-top: 14px; font-size: clamp(27px, 2.4vw, 38px); line-height: 1.03; font-weight: 400; letter-spacing: -.035em; }
.axis-card p { margin-top: 18px; color: #aeb1a8; }
.axis-card-link { margin-top: 30px; color: var(--signal); font-size: 11px; letter-spacing: .08em; }

.term-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.term-card { min-width: 0; padding: clamp(24px, 3vw, 44px); border: 1px solid var(--line); background: rgba(17,19,16,.55); }
.term-card h2 { font-size: clamp(28px, 3.2vw, 48px); line-height: 1; font-weight: 400; letter-spacing: -.04em; }
.term-card .term-summary { margin-top: 22px; color: var(--signal); font-size: 15px; }
.term-card .term-copy { margin-top: 16px; color: #aeb1a8; }
.term-card .micro { display: block; margin-bottom: 28px; color: #73776e; }

.archive-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.archive-heading h2 { font-size: clamp(32px, 4vw, 62px); line-height: 1; font-weight: 400; letter-spacing: -.045em; }
.archive-heading p { max-width: 560px; color: var(--muted); }
.style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 26px); }
.style-card { min-width: 0; border: 1px solid var(--line); background: var(--panel); }
.style-card:hover { border-color: rgba(209, 229, 154, .75); }
.style-card img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%; }
.style-card > .gds-cover,
.style-card > .gds-men-square {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
}
.style-card > .gds-cover img,
.style-card > .gds-men-square img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.style-card > .gds-cover picture {
  position: absolute;
  inset: 0;
}
.style-card-copy { min-width: 0; padding: 20px; }
.style-card-copy .micro { color: var(--signal); }
.style-card-copy h3 { margin-top: 10px; font-size: 22px; line-height: 1.18; font-weight: 400; letter-spacing: -.03em; }
.style-card-copy p { margin-top: 8px; color: #878a82; font-size: 12px; }
.style-empty { min-height: 120px; display: grid; place-items: center; border: 1px dashed var(--line); color: #777a72; }

.tech-pagination {
  margin: 0 var(--pad);
  padding: 28px 0 clamp(42px, 6vw, 84px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  border-top: 1px solid var(--line);
}
.tech-pagination a { min-height: 44px; display: inline-flex; align-items: center; color: #a9aba3; font-size: 11px; letter-spacing: .07em; }
.tech-pagination a:hover { color: var(--signal); }
.site-footer { padding: 0 var(--pad) 32px; color: #777a72; font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }

@media (max-width: 980px) {
  .tech-hero, .section-head { grid-template-columns: 1fr; }
  .tech-hero { min-height: auto; align-items: start; }
  .tech-index { margin-bottom: 8px; }
  .axis-grid, .style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .term-grid { grid-template-columns: 1fr; }
  .axis-card { min-height: 320px; }
  .archive-heading { display: block; }
  .archive-heading p { margin-top: 18px; }
}

@media (max-width: 680px) {
  .masthead { min-height: 68px; gap: 14px; }
  .brand { font-size: 29px; }
  .brand span { font-size: 19px; }
  .masthead nav { gap: 12px; }
  .masthead nav a:not([aria-current="page"]) { display: none; }
  .tech-hero h1 { max-width: 100%; font-size: clamp(38px, 11vw, 62px); }
  .tech-hero h1 em { white-space: normal; }
  .axis-grid, .style-grid { grid-template-columns: 1fr; }
  .axis-card { min-height: 280px; }
  .section-head h2 { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
