:root {
  --paper: #e9e9eb;
  --ink: #111214;
  --night: #0c0d10;
  --muted: #5e6066;
  --coral: #f05030;
  --deep: #1d2a54;
  --line: rgba(17, 18, 20, 0.16);
  --gutter: clamp(16px, 3.2vw, 44px);
}

* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}
.skip:focus { left: var(--gutter); }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  color: var(--ink);
  transition: color 0.35s ease, background 0.35s ease;
}
.nav.scrolled {
  background: rgba(233, 233, 235, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.045em;
  text-decoration: none;
}
.brand img { width: 28px; height: auto; }
.brand .hire { color: var(--deep); }
.brand .me { color: var(--coral); }
.nav ul {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.nav a:not(.brand), .nav button {
  padding: 6px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}
.nav a[aria-current="page"] { box-shadow: inset 0 -1.5px 0 currentColor; }
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px !important;
  border-radius: 999px;
  background: var(--coral) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
}
.short { display: none; }

.nav a:focus-visible, .nav button:focus-visible, .button:focus-visible,
.card:focus-visible, .article-link:focus-visible, footer a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

main { min-height: 100vh; }
.page-head {
  position: relative;
  overflow: hidden;
  padding: clamp(126px, 19svh, 176px) var(--gutter) clamp(54px, 9svh, 100px);
  background:
    radial-gradient(90% 110% at 89% 24%, rgba(240, 80, 48, 0.35) 0, rgba(240, 80, 48, 0) 54%),
    radial-gradient(68% 85% at 78% 75%, rgba(29, 42, 84, 0.3) 0, rgba(29, 42, 84, 0) 64%),
    linear-gradient(135deg, #f2f2f4, var(--paper));
}
.page-head::after {
  position: absolute;
  right: -14vw;
  bottom: -28vw;
  width: min(60vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(29, 42, 84, 0.24);
  border-radius: 50%;
  content: "";
}
.head-inner { position: relative; z-index: 1; max-width: 930px; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { text-wrap: balance; }
h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--deep);
  font-size: clamp(54px, 8.2vw, 128px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.9;
}
h1 .accent { color: var(--coral); }
.lede {
  max-width: 39ch;
  margin: 28px 0 0;
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: -0.018em;
  line-height: 1.28;
}
.preview-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 30px 0 0;
  padding: 8px 13px;
  border: 1.5px solid var(--coral);
  border-radius: 999px;
  color: #9e341e;
  font-size: 13px;
  font-weight: 800;
}
.preview-status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.translation-note {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.translation-note strong { color: var(--ink); }

.content-wrap { padding: clamp(44px, 7vw, 96px) var(--gutter) clamp(70px, 10vw, 128px); }
.section-label {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.63fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
}
.article-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 24px;
  background: var(--night);
  color: #f3f3f4;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(17, 18, 20, 0.18); }
.article-card .eyebrow { color: #ffb5a4; }
.article-card h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.95;
}
.article-card p { max-width: 43ch; margin: 20px 0 0; color: #d6d7db; font-size: 17px; line-height: 1.55; }
.read-link { margin: 28px 0 0; color: #fff; font-weight: 800; }
.read-link span { color: var(--coral); }

.side-panel {
  display: grid;
  align-content: space-between;
  gap: 34px;
  min-height: 440px;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.42);
}
.side-panel h2 { max-width: 11ch; margin: 0; font-size: clamp(30px, 3vw, 48px); letter-spacing: -0.045em; line-height: 0.96; }
.side-panel p { max-width: 35ch; margin: 0; color: #36383e; font-size: 17px; line-height: 1.58; }
.side-panel ul { margin: 0; padding-left: 1.15em; color: #36383e; line-height: 1.5; }
.side-panel li { margin: 0 0 10px; }
.side-panel li::marker { color: var(--coral); }

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.55fr);
  gap: clamp(32px, 7vw, 110px);
  margin-top: clamp(70px, 10vw, 150px);
  padding-top: clamp(40px, 6vw, 72px);
  border-top: 1.5px solid var(--ink);
}
.workflow h2 { max-width: 13ch; margin: 0; font-size: clamp(36px, 4.4vw, 74px); letter-spacing: -0.05em; line-height: 0.94; }
.workflow-copy { display: grid; gap: 24px; align-content: start; }
.workflow-copy p { margin: 0; color: #36383e; font-size: 18px; line-height: 1.6; }
.workflow-copy a { color: var(--deep); font-weight: 800; text-underline-offset: 4px; }

.article-head {
  position: relative;
  overflow: hidden;
  padding: clamp(126px, 18svh, 170px) var(--gutter) clamp(42px, 7vw, 88px);
  background: linear-gradient(135deg, #f2f2f4, var(--paper));
}
.article-head::before {
  position: absolute;
  right: -12vw;
  top: -20vw;
  width: min(64vw, 880px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 55%, rgba(240, 80, 48, 0.5), rgba(240, 80, 48, 0) 66%);
  content: "";
}
.article-head-inner { position: relative; z-index: 1; max-width: 1000px; }
.article-head h1 { max-width: 12ch; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.article-meta span + span::before { margin-right: 18px; color: #a0a1a5; content: "•"; }
.article-head .lede { max-width: 42ch; }

.article-shell {
  display: grid;
  grid-template-columns: minmax(150px, 230px) minmax(0, 72ch);
  gap: clamp(32px, 7vw, 112px);
  padding: clamp(44px, 7vw, 92px) var(--gutter) clamp(70px, 10vw, 128px);
}
.table-of-contents { position: sticky; top: 96px; align-self: start; font-size: 14px; }
.table-of-contents p { margin: 0 0 12px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.table-of-contents ol { margin: 0; padding: 0; border-left: 1.5px solid var(--line); list-style: none; }
.table-of-contents a { display: block; margin-left: -1.5px; padding: 8px 0 8px 16px; border-left: 1.5px solid transparent; color: #45474d; line-height: 1.35; text-decoration: none; }
.table-of-contents a:hover, .table-of-contents a:focus-visible { border-left-color: var(--coral); color: var(--deep); }
.article-body section { padding: 32px 0 36px; border-top: 1.5px solid var(--ink); scroll-margin-top: 92px; }
.article-body section:first-child { padding-top: 0; border-top: 0; }
.article-body h2 { margin: 0 0 14px; font-size: clamp(26px, 2.5vw, 40px); letter-spacing: -0.035em; line-height: 1.08; }
.article-body h3 { margin: 26px 0 8px; font-size: 19px; }
.article-body p, .article-body li { color: #2a2b30; font-size: 18px; line-height: 1.65; }
.article-body p { margin: 0 0 16px; }
.article-body ul { margin: 0 0 16px; padding-left: 1.25em; }
.article-body li { margin: 0 0 8px; }
.article-body li::marker { color: var(--coral); }
.article-body strong { color: var(--ink); }
.image-placeholder {
  display: grid;
  min-height: 300px;
  place-content: center;
  gap: 10px;
  margin: 34px 0 10px;
  padding: 28px;
  border: 1.5px dashed rgba(29, 42, 84, 0.52);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(29, 42, 84, 0.08) 25%, transparent 25%) 0 0 / 20px 20px,
    linear-gradient(225deg, rgba(240, 80, 48, 0.12) 25%, transparent 25%) 0 0 / 20px 20px,
    #f4f4f5;
  color: var(--deep);
  text-align: center;
}

.hero-pending,
.hero-image {
  aspect-ratio: 1;
  max-width: 680px;
  margin-inline: auto;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.image-placeholder strong { font-size: 19px; }
.image-placeholder span { max-width: 38ch; color: #45474d; line-height: 1.45; }
figcaption { margin: 0 0 34px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.source-note { padding: 22px 24px; border-left: 3px solid var(--coral); background: rgba(240, 80, 48, 0.08); }
.source-note p:last-child { margin-bottom: 0; }
.article-links { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 40px; }
.article-link { color: var(--deep); font-weight: 800; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

.review-band { padding: clamp(66px, 10vw, 120px) var(--gutter); background: var(--night); color: #f3f3f4; }
.review-band h2 { max-width: 12ch; margin: 0; font-size: clamp(38px, 5.4vw, 84px); letter-spacing: -0.05em; line-height: 0.95; }
.review-band p { max-width: 47ch; margin: 18px 0 0; color: #d6d7db; font-size: 18px; line-height: 1.55; }
.review-band a { color: #fff; font-weight: 800; text-underline-offset: 4px; }

footer { padding: 64px var(--gutter) 40px; background: #000; color: #cfd0d4; font-size: 14px; }
footer .footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px 22px; }
footer a { text-decoration: none; }
footer .brand { color: #f3f3f4; }
footer .footer-note { max-width: 72ch; margin: 36px 0 0; color: #8d8f95; line-height: 1.5; }

@media (max-width: 900px) {
  .nav ul li.hide { display: none; }
  .article-grid, .workflow, .article-shell { grid-template-columns: 1fr; }
  .table-of-contents { position: static; }
  .table-of-contents ol { display: flex; flex-wrap: wrap; gap: 3px 17px; border: 0; }
  .table-of-contents a { margin: 0; padding: 4px 0; border: 0; }
}

@media (max-width: 560px) {
  .nav { padding: 10px var(--gutter); }
  .long { display: none; }
  .short { display: inline; }
  .article-card, .side-panel { min-height: 360px; }
  .article-meta span + span::before { margin-right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .article-card { transition: none; }
  .article-card:hover { transform: none; }
}

/* Release-only polish: readable article title, uncropped image, keyboard focus. */
.article-head h1 { max-width: 20ch; font-size: clamp(48px, 6.5vw, 96px); line-height: .98; }
.article-head-inner { max-width: 1180px; }
.article-head { padding-bottom: clamp(40px, 5vw, 72px); }
.article-body figure { margin: 0 0 34px; }
.hero-image { border-radius: 18px; }
figcaption { margin: 12px 0 0; font-size: 13px; }
.article-body a { text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--deep); outline-offset: 4px; }
footer a:focus-visible { outline-color: var(--coral); }
.article-card:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
footer .copyright { margin-top: 14px; }
@media (max-width: 560px) {
 .article-head h1 { font-size: clamp(42px, 10.8vw, 58px); line-height: 1.02; }
 .article-body p, .article-body li { font-size: 17px; }
 .article-meta { font-size: 13px; gap: 8px 12px; }
 .article-shell { gap: 32px; }
 .table-of-contents a { padding: 8px 0; }
}
