:root {
  --bg-main: #f6f5f0;
  --bg-white: #fff;
  --text-main: #101010;
  --text-sub: #555;
  --line: rgba(0, 0, 0, .16);
  --line-strong: rgba(0, 0, 0, .5);
  --accent-lime: #cfff00;
  --accent-cyan: #00d8e8;
  --accent-purple: #d841ff;
  --page-pad: clamp(1.25rem, 4vw, 6rem);
  --content-max: 2200px;
  --header-height: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: Arial, "Helvetica Neue", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: none;
  display: none;
}

::selection { background: #cfff00; color: #101010; }
::-moz-selection { background: #cfff00; color: #101010; }

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem; top: 1rem;
  z-index: 1000;
  padding: .8rem 1rem;
  background: var(--text-main);
  color: #fff;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

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

.editorial-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100%, var(--content-max));
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 4rem);
}

.editorial-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.editorial-brand strong { font-size: 1.35rem; font-weight: 950; }
.editorial-brand b { font-size: .78rem; letter-spacing: .12em; }
.editorial-brand span { color: #999; }

.editorial-navigation {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(.9rem, 2vw, 2.6rem);
  height: 100%;
}
.editorial-navigation a {
  position: relative;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: clamp(.68rem, .72vw, .82rem);
  font-weight: 850;
  letter-spacing: .06em;
  white-space: nowrap;
}
.editorial-navigation a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--accent-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.editorial-navigation a:hover::after,
.editorial-navigation a.is-current::after { transform: scaleX(1); }

.header-socials { display: flex; gap: .35rem; }
.header-socials a {
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  border: 1px solid transparent;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.header-socials a:hover,
.header-socials a:focus-visible {
  color: var(--accent-lime);
  background: transparent;
  border-color: transparent;
}
.header-socials svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.menu-toggle { display: none; }

main { overflow: clip; }

.editorial-hero {
  width: min(100%, var(--content-max));
  min-height: min(980px, calc(100svh - var(--header-height)));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 9rem) var(--page-pad) clamp(4rem, 7vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 7rem);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin: 0 0 2rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--text-sub);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.section-kicker span {
  display: inline-grid;
  place-items: center;
  width: 2.3rem; height: 1.55rem;
  color: var(--text-main);
  background: var(--accent-lime);
  letter-spacing: 0;
}

.hero-copy h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(4rem, 7.8vw, 10.5rem);
  line-height: .82;
  letter-spacing: -.085em;
  font-weight: 950;
  text-transform: uppercase;
}

.marker-word {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.marker-word::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.025em; right: -.055em;
  top: 43%; bottom: -.02em;
  background: var(--accent-lime);
  clip-path: polygon(.5% 10%, 99.6% 0, 98.8% 94%, 1.2% 100%, 0 58%);
  transform: rotate(-.45deg);
}

.hero-category {
  margin: clamp(2rem, 4vw, 4rem) 0 1.3rem;
  font-weight: 900;
  letter-spacing: .19em;
  font-size: clamp(.78rem, 1vw, 1rem);
}
.hero-category i { color: var(--accent-purple); font-style: normal; padding: 0 .35em; }

.hero-copy h2 {
  margin: 0;
  max-width: 18em;
  font-size: clamp(1.35rem, 2vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: -.03em;
}
.hero-intro {
  max-width: 45rem;
  margin: 1rem 0 0;
  color: var(--text-sub);
  font-size: clamp(.95rem, 1.1vw, 1.18rem);
  line-height: 1.9;
  font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.editorial-button,
.card-action {
  min-height: 3.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: .85rem 1.15rem;
  border: 1px solid var(--text-main);
  background: transparent;
  color: var(--text-main);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  transition: color .2s ease, background .2s ease;
}
.editorial-button.is-dark { background: var(--text-main); color: #fff; }
.editorial-button i,
.card-action i,
.purpose-link > i,
.archive-row > i { font-style: normal; transition: transform .2s ease; }
.editorial-button:hover { background: var(--accent-lime); color: var(--text-main); }
.editorial-button:hover i,
.card-action:hover i,
.purpose-link:hover > i,
.archive-row:hover > i { transform: translateX(5px); }

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: clamp(620px, 49vw, 960px);
  isolation: isolate;
  pointer-events: none;
}
.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 5% 0 0 10%;
  border-radius: 50% 45% 5% 8%;
  background: linear-gradient(145deg, #fff 0 42%, #ecebe5 42% 100%);
  border: 1px solid var(--line);
}
.hero-visual::after {
  content: "+ + + + + + +";
  position: absolute;
  z-index: -1;
  right: 2%; top: 11%;
  color: var(--accent-purple);
  font: 900 clamp(.8rem, 1.2vw, 1.1rem)/1 monospace;
  letter-spacing: .45em;
  writing-mode: vertical-rl;
}
.hero-visual img {
  position: absolute;
  z-index: 2;
  left: 50%; bottom: 0;
  width: min(83%, 790px);
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-50%);
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, .12));
}
.outline-type {
  position: absolute;
  z-index: 0;
  left: 0; top: 13%;
  display: grid;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, .18);
  font-size: clamp(4rem, 8vw, 9rem);
  line-height: .78;
  font-weight: 950;
  letter-spacing: -.08em;
}
.hero-wave {
  position: absolute;
  z-index: 3;
  left: 2%; right: 2%; bottom: 11%;
  width: 96%;
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: .7;
  animation: wave-drift 12s ease-in-out infinite alternate;
}
.hero-symbols {
  position: absolute;
  z-index: 4;
  right: 0; bottom: 4%;
  padding: .7rem .9rem;
  background: var(--accent-lime);
  font: 800 .68rem/1 monospace;
  letter-spacing: .12em;
}

@keyframes wave-drift { to { transform: translateX(12px); } }

.projects-section,
.purpose-section,
.archive-section {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 10rem) var(--page-pad);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, .55fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
}
.section-heading .section-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.section-heading h2,
.purpose-intro h2,
.archive-heading h2 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 8.5rem);
  line-height: .84;
  letter-spacing: -.075em;
  font-weight: 950;
}
.section-heading > p:last-child {
  margin: 0;
  color: var(--text-sub);
  font-size: clamp(.95rem, 1.1vw, 1.15rem);
  line-height: 1.85;
  font-weight: 600;
}

.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--text-main); }
.project-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border-right: 1px solid var(--text-main);
  transition: background .2s ease;
}
.project-card:last-child { border-right: 0; }
.project-card:hover { background: #fbfbf7; }
.project-number {
  position: absolute;
  z-index: 4;
  top: 0; left: 0;
  min-width: 3.4rem;
  padding: .72rem .7rem;
  background: var(--text-main);
  color: #fff;
  text-align: center;
  font-size: .75rem;
  font-weight: 900;
}
.project-media {
  position: relative;
  aspect-ratio: 1.55;
  overflow: hidden;
  border-bottom: 1px solid var(--text-main);
  background: #111;
}
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.project-card:not(.project-card--note):hover .project-media img { transform: scale(1.035); }
.note-media {
  display: grid;
  place-items: center;
  background-color: #f8f7f1;
  background-image: radial-gradient(rgba(0, 0, 0, .22) .8px, transparent .8px);
  background-size: 12px 12px;
}
.note-media svg { width: 36%; fill: none; stroke: var(--text-main); stroke-width: 4; }
.note-media span {
  position: absolute;
  right: 1rem; bottom: 1rem;
  padding: .5rem .6rem;
  background: var(--accent-lime);
  font: 900 .6rem/1 monospace;
  letter-spacing: .11em;
}
.project-body { flex: 1; display: flex; flex-direction: column; padding: clamp(1.4rem, 2vw, 2.3rem); }
.project-labels { display: flex; flex-wrap: wrap; gap: .35rem; min-height: 3rem; align-content: start; }
.project-labels span {
  padding: .35rem .45rem;
  border: 1px solid currentColor;
  font-size: clamp(.56rem, .55vw, .66rem);
  font-weight: 900;
  letter-spacing: .06em;
  white-space: nowrap;
}
.project-card--breaker .project-labels { color: #436000; }
.project-card--tank .project-labels { color: #007a85; }
.project-card--ai .project-labels { color: #9624b0; }
.project-card--note .project-labels { color: #101010; }
.project-body h3 {
  margin: 1.15rem 0 .75rem;
  font-size: clamp(1.65rem, 2.2vw, 3rem);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 950;
}
.project-body p {
  margin: 0 0 1.6rem;
  color: var(--text-sub);
  font-size: clamp(.84rem, .82vw, 1rem);
  line-height: 1.75;
  font-weight: 600;
}
.card-action { margin-top: auto; min-height: 3rem; padding: .72rem .85rem; gap: 1rem; }
.project-card--breaker .card-action:hover { background: var(--accent-lime); }
.project-card--tank .card-action:hover { background: var(--accent-cyan); }
.project-card--ai .card-action:hover { background: var(--accent-purple); color: #fff; }
.project-card--note .card-action:hover { background: var(--text-main); color: #fff; }

.purpose-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.purpose-intro { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.purpose-intro .section-kicker { align-self: start; }
.purpose-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--text-main); border-left: 1px solid var(--text-main); }
.purpose-link {
  min-width: 0;
  min-height: 13rem;
  padding: 1.35rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  gap: 1.4rem;
  border-right: 1px solid var(--text-main);
  border-bottom: 1px solid var(--text-main);
  background: #fff;
  text-decoration: none;
  transition: background .2s ease;
}
.purpose-link:hover { background: var(--accent-lime); }
.purpose-link svg { grid-column: 1 / -1; width: 3rem; fill: none; stroke: currentColor; stroke-width: 1.8; }
.purpose-link span { display: grid; gap: .55rem; min-width: 0; }
.purpose-link b { font-size: 1.15rem; letter-spacing: -.02em; }
.purpose-link small { color: var(--text-sub); font-size: .74rem; line-height: 1.5; }
.purpose-link > i { align-self: end; font-style: normal; }

.archive-heading { display: flex; justify-content: space-between; align-items: start; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.archive-heading .section-kicker { order: 2; }
.archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .33fr); gap: clamp(1.5rem, 4vw, 5rem); align-items: start; }
.archive-list { border-top: 2px solid var(--text-main); }
.archive-row {
  min-height: 5.5rem;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1.3fr) minmax(6.5rem, .45fr) 5.5rem 1.5rem;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--text-main);
  text-decoration: none;
  transition: padding .2s ease, background .2s ease;
}
.archive-row:hover { padding-inline: .7rem; background: #fff; }
.archive-row > span,
.archive-row time { color: var(--text-sub); font: 700 .72rem/1 monospace; }
.archive-row strong { min-width: 0; font-size: clamp(1rem, 1.4vw, 1.6rem); letter-spacing: -.03em; overflow-wrap: anywhere; }
.archive-row b { width: fit-content; padding: .35rem .45rem; border: 1px solid currentColor; color: #666; font-size: .58rem; letter-spacing: .05em; white-space: nowrap; }
.archive-row b.status-live { background: var(--accent-lime); border-color: var(--accent-lime); color: var(--text-main); }
.archive-row > i { font-style: normal; }
.archive-note {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  padding: clamp(1.5rem, 2.5vw, 2.8rem);
  background: var(--text-main);
  color: #fff;
}
.archive-note-number { color: var(--accent-lime); font: 800 .7rem/1 monospace; letter-spacing: .12em; }
.archive-note svg { width: 6rem; margin: 3rem 0; fill: none; stroke: var(--accent-lime); stroke-width: 2; }
.archive-note p { margin: 0 0 2rem; color: #d7d7d7; font-size: .95rem; line-height: 1.75; }
.archive-note .editorial-button { width: 100%; border-color: #fff; }

.editorial-footer {
  min-height: 76px;
  padding: 1.4rem var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--text-main);
  color: #fff;
}
.editorial-footer p { margin: 0; font-size: clamp(.62rem, .7vw, .78rem); font-weight: 800; letter-spacing: .08em; }
.editorial-footer p:last-child { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
.editorial-footer i { width: .38rem; height: .38rem; background: var(--accent-lime); transform: rotate(45deg); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1320px) {
  .editorial-navigation { gap: 1.2rem; }
  .editorial-navigation a { font-size: .66rem; }
  .hero-copy h1 { font-size: clamp(4rem, 7.4vw, 7.5rem); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card { border-bottom: 1px solid var(--text-main); }
  .project-card:nth-child(2n) { border-right: 0; }
  .project-card:nth-child(n+3) { border-bottom: 0; }
  .project-body h3 { font-size: clamp(2rem, 3.2vw, 3rem); }
}

@media (max-width: 1080px) {
  :root { --header-height: 68px; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .menu-toggle {
    justify-self: end;
    width: 2.75rem; height: 2.75rem;
    display: grid;
    place-content: center;
    gap: .3rem;
    border: 1px solid var(--text-main);
    background: #fff;
    cursor: pointer;
  }
  .menu-toggle span { width: 1.2rem; height: 2px; background: var(--text-main); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .header-socials { grid-column: 3; grid-row: 1; margin-right: 3.5rem; }
  .editorial-navigation {
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: auto;
    padding: 1rem var(--page-pad) 1.5rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(max-content, 1fr));
    gap: .5rem;
    background: #fff;
    border-bottom: 1px solid var(--text-main);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
  }
  .editorial-navigation.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .editorial-navigation a { min-height: 3rem; padding: .6rem; border: 1px solid var(--line); }
  .editorial-navigation a::after { left: .5rem; right: .5rem; }

  .editorial-hero { grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); }
  .hero-visual { min-height: 650px; }
  .hero-copy h1 { font-size: clamp(3.6rem, 7.7vw, 6.5rem); }
  .purpose-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .editorial-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    padding-top: 4.5rem;
  }
  .hero-copy h1 { font-size: clamp(3.3rem, 11.5vw, 6rem); }
  .hero-visual { min-height: min(780px, 120vw); }
  .hero-visual::before { inset: 4% 4% 0; }
  .hero-visual img { width: min(87%, 650px); }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading .section-kicker { grid-column: 1; }
  .section-heading > p:last-child { max-width: 34rem; }
  .purpose-intro,
  .archive-heading { display: grid; }
  .archive-heading .section-kicker { order: 0; }
  .purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archive-layout { grid-template-columns: 1fr; }
  .archive-note { position: static; }
}

@media (max-width: 620px) {
  :root { --page-pad: 1rem; }
  .editorial-brand strong { font-size: 1.05rem; }
  .editorial-brand b { font-size: .63rem; }
  .header-socials { display: none; }
  .menu-toggle { grid-column: 3; }
  .editorial-navigation {
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    grid-template-columns: 1fr;
  }
  .editorial-navigation a { justify-items: start; padding-inline: 1rem; }
  .hero-copy h1 { font-size: clamp(2.25rem, 10.2vw, 4.3rem); line-height: .86; }
  .hero-copy h2 { font-size: 1.3rem; }
  .hero-intro { line-height: 1.8; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .editorial-button { width: 100%; }
  .hero-visual { min-height: min(690px, 143vw); }
  .outline-type { top: 8%; font-size: 22vw; }

  .section-heading h2,
  .purpose-intro h2,
  .archive-heading h2 { font-size: clamp(3rem, 16vw, 5rem); }

  .project-grid { grid-template-columns: 1fr; }
  .project-card,
  .project-card:nth-child(2n),
  .project-card:nth-child(n+3) { border-right: 0; border-bottom: 1px solid var(--text-main); }
  .project-card:last-child { border-bottom: 0; }
  .project-body h3 { font-size: 2.2rem; }
  .purpose-grid { grid-template-columns: 1fr; }
  .purpose-link { min-height: 10rem; }

  .archive-row {
    min-height: 0;
    padding: 1.15rem 0;
    grid-template-columns: 2.5rem minmax(0, 1fr) 1.2rem;
    grid-template-rows: auto auto;
    gap: .65rem .8rem;
  }
  .archive-row strong { grid-column: 2; font-size: 1.15rem; }
  .archive-row b { grid-column: 2; grid-row: 2; }
  .archive-row time { grid-column: 1; grid-row: 2; }
  .archive-row > i { grid-column: 3; grid-row: 1 / 3; }
  .editorial-footer { align-items: flex-start; flex-direction: column; gap: 1rem; }
}

@media (max-width: 400px) {
  .editorial-brand { gap: .4rem; }
  .section-kicker { font-size: .65rem; letter-spacing: .12em; }
  .project-labels span { font-size: .53rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Completion image alignment — compact editorial desktop composition */
@media (min-width: 821px) {
  :root {
    --header-height: 66px;
  }

  .header-inner {
    width: min(calc(100% - 4rem), 2200px);
    padding-inline: 0;
  }

  .editorial-hero,
  .projects-section,
  .purpose-section,
  .archive-section {
    width: min(calc(100% - 10vw), 2200px);
    padding-inline: 0;
  }

  .editorial-hero {
    min-height: 0;
    height: clamp(420px, 24.4vw, 540px);
    padding-block: clamp(1.75rem, 1.9vw, 2.4rem) 0;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
    gap: 0;
    border-bottom: 0;
  }

  .hero-copy {
    align-self: start;
    padding-top: .15rem;
  }

  .hero-kicker {
    margin-bottom: .45rem;
    color: var(--text-main);
    font-size: clamp(.82rem, .9vw, 1.05rem);
    letter-spacing: .025em;
  }

  .hero-copy h1 {
    font-size: clamp(4rem, 5.45vw, 7.25rem);
    line-height: .78;
    letter-spacing: -.07em;
  }

  .marker-word::before {
    left: -.02em;
    right: -.04em;
    top: 5%;
    bottom: -3%;
    clip-path: polygon(.5% 5%, 99.5% 0, 99% 94%, 1% 100%, 0 52%);
  }

  .hero-category {
    margin: .8rem 0 .45rem;
    font-size: clamp(.78rem, .9vw, 1rem);
    letter-spacing: .055em;
  }

  .hero-copy h2 {
    font-size: clamp(1.25rem, 1.45vw, 1.85rem);
    line-height: 1.25;
  }

  .hero-intro {
    max-width: 39rem;
    margin-top: .4rem;
    font-size: clamp(.76rem, .72vw, .92rem);
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 1.1rem;
    gap: .8rem;
  }

  .hero-actions .editorial-button {
    min-width: 14.3rem;
    min-height: 3.15rem;
  }

  .hero-visual {
    min-height: 0;
    height: 100%;
    align-self: end;
  }

  .hero-visual::before {
    inset: 7% 0 0;
    border: 0;
    border-radius: 0;
    background:
      repeating-radial-gradient(ellipse at 42% 30%, transparent 0 27px, rgba(0, 216, 232, .075) 28px 29px, transparent 30px 48px),
      linear-gradient(90deg, transparent, rgba(255, 255, 255, .58));
    opacity: .65;
  }

  .hero-visual img {
    left: 47%;
    width: min(90%, 760px);
    height: 120%;
    object-position: center bottom;
  }

  .outline-type {
    left: 52%;
    top: 8%;
    font-size: clamp(4.5rem, 6.8vw, 8.8rem);
    opacity: .72;
  }

  .hero-wave {
    left: -12%;
    right: auto;
    bottom: 22%;
    width: 112%;
    opacity: .32;
    stroke-width: 1.2;
  }

  .hero-symbols {
    right: 0;
    bottom: 12%;
    padding: .3rem .5rem;
    background: transparent;
    color: var(--accent-purple);
    opacity: .48;
  }

  .editorial-section-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .projects-section {
    padding-block: 0;
  }

  .project-grid {
    height: clamp(194px, 10.6vw, 234px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
    border: 0;
  }

  .project-card,
  .project-card:nth-child(2n),
  .project-card:nth-child(n+3) {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .52);
    border-radius: 6px;
    background: #070a0b;
    color: #fff;
  }

  .project-card:not(.project-card--note)::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .76) 0, rgba(0, 0, 0, .42) 58%, rgba(0, 0, 0, .15));
    pointer-events: none;
  }

  .project-media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    border: 0;
  }

  .project-media img {
    object-position: center;
  }

  .project-number {
    top: .75rem;
    left: 1.05rem;
    z-index: 4;
    min-width: 0;
    padding: 0;
    background: transparent;
    color: currentColor;
    font-size: .72rem;
  }

  .project-body {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: block;
    padding: 0;
    color: inherit;
  }

  .project-body h3 {
    position: absolute;
    top: 2rem;
    left: 1.05rem;
    margin: 0;
    padding: 0;
    font-size: clamp(1rem, 1.18vw, 1.45rem);
    line-height: 1;
    letter-spacing: -.025em;
  }

  .project-body h3 br { display: none; }

  .project-labels {
    position: absolute;
    top: 3.95rem;
    left: 1.05rem;
    right: .7rem;
    min-height: 0;
    gap: .35rem;
  }

  .project-labels span {
    padding: .28rem .42rem;
    background: rgba(0, 0, 0, .48);
    color: inherit;
    font-size: clamp(.5rem, .48vw, .61rem);
    line-height: 1;
  }

  .project-card--breaker .project-labels { color: var(--accent-lime); }
  .project-card--tank .project-labels { color: var(--accent-cyan); }
  .project-card--ai .project-labels { color: #ff69ff; }

  .project-card:not(.project-card--note) .project-body p {
    display: none;
  }

  .card-action {
    position: absolute;
    left: 1.05rem;
    bottom: .9rem;
    min-width: 8rem;
    min-height: 2.3rem;
    margin: 0;
    padding: .55rem .7rem;
    border-color: currentColor;
    color: inherit;
    background: rgba(0, 0, 0, .3);
    font-size: .65rem;
  }

  .project-card.project-card--note {
    background: #070a0b;
    color: #fff;
  }

  .project-card--note .note-media {
    left: 55%;
    background-size: 10px 10px;
  }

  .project-card--note .note-media::before {
    content: "";
    position: absolute;
    right: 17%;
    top: 30%;
    width: 14px;
    height: 88px;
    border: 3px solid var(--text-main);
    border-radius: 8px 8px 2px 2px;
    transform: rotate(40deg);
  }

  .project-card--note .note-media::after {
    content: "";
    position: absolute;
    right: 8%;
    top: 65%;
    width: 14px;
    height: 14px;
    border-right: 3px solid var(--text-main);
    border-bottom: 3px solid var(--text-main);
    transform: rotate(85deg);
  }

  .project-card--note .note-media svg,
  .project-card--note .note-media span {
    display: none;
  }

  .project-card--note .project-labels {
    color: var(--accent-lime);
  }

  .project-card--note .project-labels span {
    background: transparent;
  }

  .project-card--note .project-body p {
    position: absolute;
    top: 6.2rem;
    left: 1.05rem;
    width: 51%;
    margin: 0;
    color: #d7d9cf;
    font-size: clamp(.58rem, .52vw, .68rem);
    line-height: 1.45;
  }

  .project-card--note .card-action {
    background: rgba(0, 0, 0, .3);
  }

  .project-card--note .card-action:hover {
    background: var(--accent-lime);
    color: var(--text-main);
  }

  .purpose-section {
    padding-block: .875rem 0;
    border: 0;
  }

  .purpose-grid {
    height: clamp(72px, 4.2vw, 92px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 5px;
    background: rgba(255, 255, 255, .35);
    overflow: hidden;
  }

  .purpose-link {
    min-height: 0;
    height: 100%;
    padding: .75rem 1rem;
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
    grid-template-rows: 1fr;
    align-items: center;
    gap: .7rem;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
  }

  .purpose-link:last-child { border-right: 0; }

  .purpose-link svg {
    grid-column: 1;
    width: 2rem;
  }

  .purpose-link span {
    grid-column: 2;
    gap: .22rem;
  }

  .purpose-link b {
    font-size: clamp(.82rem, .9vw, 1.05rem);
  }

  .purpose-link small {
    font-size: clamp(.55rem, .53vw, .66rem);
    white-space: nowrap;
  }

  .purpose-link > i {
    grid-column: 3;
    align-self: center;
  }

  .archive-section {
    padding-block: 1rem .9rem;
  }

  .archive-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin: 0 0 .5rem;
  }

  .archive-heading h2 {
    font-size: clamp(1.25rem, 1.45vw, 1.7rem);
    line-height: 1;
    letter-spacing: -.035em;
  }

  .archive-heading p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--text-sub);
    font-size: .62rem;
    letter-spacing: .05em;
  }

  .archive-heading p i {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: var(--accent-lime);
  }

  .archive-layout {
    grid-template-columns: minmax(0, 1fr) minmax(270px, .32fr);
    gap: 2rem;
  }

  .archive-list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, 2rem);
    column-gap: 2rem;
    border: 0;
  }

  .archive-list::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
  }

  .archive-row {
    min-height: 0;
    height: 2rem;
    padding: 0 .35rem;
    grid-template-columns: 1.8rem minmax(0, 1fr) 5.5rem 4.4rem 1rem;
    gap: .45rem;
    border-color: var(--line);
  }

  .archive-row:nth-child(1) { grid-column: 1; grid-row: 1; }
  .archive-row:nth-child(2) { grid-column: 1; grid-row: 2; }
  .archive-row:nth-child(3) { grid-column: 1; grid-row: 3; }
  .archive-row:nth-child(4) { grid-column: 2; grid-row: 1; }
  .archive-row:nth-child(5) { grid-column: 2; grid-row: 2; }
  .archive-row:nth-child(6) { grid-column: 2; grid-row: 3; }
  .archive-row:nth-child(7) { grid-column: 2; grid-row: 4; }

  .archive-row:hover {
    padding-inline: .6rem;
  }

  .archive-row strong {
    font-size: clamp(.7rem, .68vw, .86rem);
  }

  .archive-row > span,
  .archive-row time {
    font-size: .58rem;
  }

  .archive-row b {
    padding: 0;
    border: 0;
    color: #666;
    font-size: .57rem;
  }

  .archive-row b.status-live {
    background: transparent;
    color: #8fbd00;
  }

  .archive-note {
    position: static;
    min-height: 7.8rem;
    padding: .65rem 0 .15rem 2rem;
    display: grid;
    grid-template-columns: 3rem 1fr;
    grid-template-rows: 1fr auto;
    column-gap: 1rem;
    align-items: center;
    border-left: 1px solid var(--line);
    background: transparent;
    color: var(--text-main);
  }

  .archive-note-number { display: none; }

  .archive-note svg {
    grid-column: 1;
    grid-row: 1;
    width: 2.7rem;
    margin: 0;
    stroke: currentColor;
  }

  .archive-note p {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    color: var(--text-main);
    font-size: .68rem;
    line-height: 1.45;
  }

  .archive-note .editorial-button {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-height: 2.6rem;
    border-color: var(--text-main);
    background: transparent;
    color: var(--text-main);
  }

  .editorial-footer {
    min-height: 52px;
    padding-block: .8rem;
  }
}

@media (min-width: 821px) and (max-width: 1320px) {
  .editorial-hero,
  .projects-section,
  .purpose-section,
  .archive-section {
    width: calc(100% - 5rem);
  }

  .editorial-hero {
    height: 430px;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
  }

  .hero-copy h1 {
    font-size: clamp(3.8rem, 6.8vw, 5.6rem);
  }

  .project-grid {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card,
  .project-card:nth-child(2n),
  .project-card:nth-child(n+3) {
    height: 205px;
  }

  .purpose-grid {
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .purpose-link {
    min-height: 72px;
    border-bottom: 1px solid var(--line);
  }

  .archive-layout {
    grid-template-columns: 1fr;
  }

  .archive-note {
    border-left: 0;
    border-top: 1px solid var(--line);
    grid-template-columns: 3rem 1fr minmax(220px, .38fr);
    grid-template-rows: 1fr;
  }

  .archive-note .editorial-button {
    grid-column: 3;
    grid-row: 1;
  }
}

@media (max-width: 820px) {
  .hero-kicker span { display: none; }

  .editorial-section-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  .projects-section {
    padding-top: 2rem;
  }

  .project-card {
    min-height: 0;
  }

  .archive-heading {
    display: grid;
    gap: .8rem;
  }

  .archive-heading h2 {
    font-size: clamp(2.5rem, 13vw, 4.5rem);
  }

  .archive-heading p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-sub);
    font-size: .7rem;
  }

  .archive-heading p i {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--accent-lime);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wave { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Clean hero requested after visual review */
.hero-visual::before,
.hero-visual::after,
.outline-type,
.hero-wave,
.hero-symbols {
  display: none !important;
}

@media (min-width: 821px) {
  main,
  .editorial-hero {
    overflow: visible;
  }

  .projects-section {
    position: relative;
    z-index: 200;
    scroll-margin-top: var(--header-height);
  }

  .hero-visual {
    z-index: 140;
    isolation: auto;
  }

  .hero-visual img {
    z-index: 150;
    left: 49%;
    bottom: -8vw;
    width: min(110%, 56rem);
    height: 156%;
    clip-path: inset(0 0 8vw 0);
  }
}

/* Supplied TKGS editorial icon set */
.editorial-icon {
  display: block;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  overflow: visible;
  color: #111111;
  fill: none;
  stroke: currentColor;
  transition: transform 180ms ease, color 180ms ease;
}

.purpose-link svg.purpose-link__icon {
  grid-column: 1;
  width: clamp(1.75rem, 2vw, 2.25rem);
  height: clamp(1.75rem, 2vw, 2.25rem);
  justify-self: center;
  align-self: center;
}

.purpose-link:hover .purpose-link__icon {
  transform: translateY(-2px);
}

.purpose-link:nth-child(1):hover .purpose-link__icon { color: #8caf00; }
.purpose-link:nth-child(2):hover .purpose-link__icon { color: #008f9c; }
.purpose-link:nth-child(3):hover .purpose-link__icon { color: #111111; }
.purpose-link:nth-child(4):hover .purpose-link__icon { color: #111111; }
.purpose-link:nth-child(5):hover .purpose-link__icon { color: #8d42d8; }

.project-card--note .note-media::before,
.project-card--note .note-media::after {
  content: none !important;
  display: none !important;
}

.project-card--note .note-media .note-card__pen-icon {
  display: block;
  width: clamp(4.5rem, 6vw, 7rem);
  height: clamp(4.5rem, 6vw, 7rem);
  color: #111111;
  object-fit: contain;
}

@media (min-width: 821px) {
  .project-card--note .note-media {
    z-index: 4;
    pointer-events: none;
  }
}

.archive-note .archive-guide__icon {
  grid-column: 1;
  grid-row: 1;
  width: clamp(2.5rem, 3vw, 3.5rem);
  height: clamp(2.5rem, 3vw, 3.5rem);
  margin: 0;
  justify-self: center;
  align-self: center;
  color: #111111;
}

@media (min-width: 1321px) {
  .archive-note {
    margin-top: -1rem;
  }

  .purpose-link {
    grid-template-columns: clamp(3.5rem, 3.4vw, 4.25rem) minmax(0, 1fr) auto;
    column-gap: clamp(.875rem, 1vw, 1.25rem);
  }

  .project-card--note .note-media .note-card__pen-icon {
    position: absolute;
    top: 50%;
    right: clamp(1.2rem, 2.2vw, 2.75rem);
    transform: translateY(-50%);
  }
}

@media (min-width: 821px) and (max-width: 1320px) {
  .purpose-link {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    column-gap: .875rem;
  }

  .purpose-link svg.purpose-link__icon {
    width: 2rem;
    height: 2rem;
  }

  .project-card--note .note-media .note-card__pen-icon {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    width: 4.75rem;
    height: 4.75rem;
    transform: translateY(-50%);
  }
}

@media (max-width: 820px) {
  .purpose-link svg.purpose-link__icon {
    width: 1.75rem;
    height: 1.75rem;
  }

  .project-card--note .note-media .note-card__pen-icon {
    width: clamp(4.5rem, 20vw, 6rem);
    height: clamp(4.5rem, 20vw, 6rem);
  }

  .archive-note .archive-guide__icon {
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-icon,
  .purpose-link:hover .purpose-link__icon {
    transform: none;
    transition: none;
  }
}

/* Readability and proportional desktop scaling */
.project-card--note .note-media {
  background-color: transparent;
  background-image: none;
}

.project-card--note .note-card__pen-icon,
.project-card--note:hover .note-card__pen-icon {
  transition: none !important;
  filter: invert(1);
}

@media (min-width: 821px) {
  .hero-intro {
    font-size: clamp(.875rem, .78vw, 1.05rem);
  }

  .project-number {
    font-size: clamp(.75rem, .68vw, 1rem);
  }

  .project-labels span {
    font-size: clamp(.68rem, .62vw, .92rem);
  }

  .card-action {
    font-size: clamp(.75rem, .68vw, 1rem);
  }

  .project-card--note .project-body p {
    font-size: clamp(.75rem, .68vw, 1rem);
    line-height: 1.6;
  }

  .purpose-link small {
    font-size: clamp(.75rem, .66vw, .96rem);
    line-height: 1.45;
  }

  .archive-heading p {
    font-size: clamp(.72rem, .65vw, .9rem);
  }

  .archive-row strong {
    font-size: clamp(.78rem, .72vw, 1rem);
  }

  .archive-row > span,
  .archive-row time,
  .archive-row b {
    font-size: clamp(.7rem, .62vw, .9rem);
  }

  .archive-note p {
    font-size: clamp(.78rem, .72vw, 1rem);
    line-height: 1.6;
  }

  .editorial-footer p {
    font-size: clamp(.72rem, .66vw, .94rem);
  }
}

@media (min-width: 1921px) {
  html {
    font-size: clamp(16px, .833333vw, 32px);
  }

  :root {
    --header-height: 4.125rem;
  }

  .header-inner {
    width: calc(100% - 4rem);
  }

  .editorial-hero,
  .projects-section,
  .purpose-section,
  .archive-section {
    width: 90vw;
  }

  .editorial-hero {
    height: 24.4vw;
  }

  .hero-visual img {
    width: min(96%, 51rem);
  }

  .project-grid {
    height: 10.6vw;
  }

  .purpose-grid {
    height: 4.2vw;
  }

  .editorial-footer {
    min-height: 3.25rem;
  }
}

@media (max-width: 820px) {
  .hero-visual img {
    width: min(100%, 700px);
    height: 110%;
    bottom: -6%;
  }

  .project-labels span,
  .purpose-link small,
  .archive-row > span,
  .archive-row time,
  .archive-row b,
  .editorial-footer p {
    font-size: .75rem;
  }
}

/* Mobile editorial balance and card legibility */
@media (max-width: 620px) {
  .editorial-hero {
    padding-top: 1rem;
    padding-bottom: 0;
    row-gap: 0;
  }

  .section-kicker {
    margin-bottom: 1rem;
  }

  .hero-category {
    margin-top: 1.25rem;
    margin-bottom: .75rem;
  }

  .hero-intro {
    margin-top: .65rem;
  }

  .hero-actions {
    margin-top: 1rem;
    gap: .6rem;
  }

  .hero-visual {
    min-height: min(520px, 118vw);
    margin-top: .75rem;
  }

  .hero-visual img {
    width: min(96%, 520px);
    height: 106%;
    bottom: .75rem;
  }

  .projects-section {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  .project-grid {
    gap: 1.25rem;
    border: 0;
  }

  .purpose-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .archive-section {
    padding-top: 1.5rem;
  }

  .project-card,
  .project-card:nth-child(2n),
  .project-card:nth-child(n+3),
  .project-card:last-child {
    border: 1px solid var(--text-main);
  }

  .project-card--note .note-media {
    background-color: #070a0b;
    background-image: none;
  }

  .project-card--note .note-media .note-card__pen-icon {
    color: #ffffff;
    filter: invert(1);
    opacity: 1;
  }

  .purpose-grid {
    gap: .75rem;
    border: 0;
  }

  .purpose-link {
    min-height: 7.5rem;
    padding: 1rem;
    grid-template-columns: 3.25rem minmax(0, 1fr) 1.25rem;
    grid-template-rows: 1fr;
    align-items: center;
    gap: .9rem;
    border: 1px solid var(--text-main);
  }

  .purpose-link svg.purpose-link__icon {
    grid-column: 1;
    grid-row: 1;
    width: 2.75rem;
    height: 2.75rem;
    justify-self: center;
  }

  .purpose-link span {
    grid-column: 2;
    grid-row: 1;
  }

  .purpose-link > i {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
  }

  .archive-row {
    padding: .9rem .35rem;
    grid-template-columns: 2.15rem minmax(0, 1fr) auto 1.1rem;
    grid-template-rows: auto auto;
    gap: .5rem .55rem;
  }

  .archive-row > span {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .archive-row strong {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    font-size: .95rem;
  }

  .archive-row b {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }

  .archive-row time {
    grid-column: 2 / 4;
    grid-row: 2;
  }

  .archive-row > i {
    grid-column: 4;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: end;
  }

  .archive-note .archive-guide__icon {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    margin: 1.5rem 0;
    justify-self: start;
    color: var(--accent-lime);
    stroke: var(--accent-lime) !important;
    opacity: 1;
  }
}
