.content-page {
  min-width: 320px;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  background: var(--surface-raised);
}

.content-page a {
  text-underline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 3px;
  color: var(--atlas-deep);
  background: white;
  box-shadow: 0 4px 16px rgb(3 20 29 / 28%);
  font-size: 12px;
  font-weight: 700;
  transform: translateY(-160%);
}

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

.content-shell {
  min-height: 100dvh;
  background: var(--surface-raised);
}

.content-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 64px;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  border-bottom: 1px solid #31505a;
  background: var(--atlas-deep);
}

.content-header .brand {
  flex: 0 0 auto;
}

.content-header nav {
  display: flex;
  align-items: stretch;
}

.content-header nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 76px;
  justify-content: center;
  padding: 0 14px;
  color: #c0d0ca;
  font-size: 11px;
  font-weight: 630;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}

.content-header nav a:hover {
  color: #fffdf5;
  background: rgb(255 255 255 / 5%);
}

.content-header nav a[aria-current="page"] {
  color: #fffdf5;
}

.content-header nav a[aria-current="page"]::after {
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 3px;
  background: var(--brand-accent);
  content: "";
}

.content-main {
  min-height: calc(100dvh - 64px);
}

.content-kicker,
.legal-label,
.about-card-label {
  margin: 0 0 13px;
  color: var(--quiet-ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.content-page h1,
.content-page h2 {
  text-wrap: balance;
}

.content-page h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 78px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) clamp(24px, 4vw, 48px);
}

.about-tagline {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--ink);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 670;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.about-intro > p:not(.content-kicker, .about-tagline) {
  max-width: 650px;
  margin: 19px 0 0;
  color: var(--muted-ink);
  font-size: 16px;
  line-height: 1.72;
}

.about-visual {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 455px;
  align-content: space-between;
  overflow: hidden;
  padding: 34px;
  border: 1px solid #31505a;
  border-radius: 6px;
  color: #eff4ec;
  background:
    radial-gradient(circle at 64% 40%, rgb(217 47 85 / 52%) 0 5px, transparent 6px),
    radial-gradient(circle at 72% 30%, rgb(206 91 27 / 45%) 0 4px, transparent 5px),
    radial-gradient(circle at 45% 60%, rgb(8 127 169 / 46%) 0 5px, transparent 6px),
    linear-gradient(rgb(168 193 184 / 10%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(168 193 184 / 10%) 1px, transparent 1px),
    var(--atlas-deep);
  background-size: auto, auto, auto, 48px 48px, 48px 48px, auto;
  box-shadow: 0 28px 64px rgb(3 20 29 / 20%);
}

.about-visual::before,
.about-visual::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  border: 1px solid rgb(190 215 204 / 20%);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.about-visual::before {
  width: 310px;
  height: 310px;
}

.about-visual::after {
  width: 225px;
  height: 225px;
}

.about-visual-mark {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: #fffdf5;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.about-visual-mark svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.about-visual-mark circle {
  fill: var(--brand-accent);
  stroke: #fffdf5;
}

.about-visual-caption {
  display: grid;
  gap: 12px;
}

.about-visual-caption strong {
  max-width: 290px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.about-visual-caption span {
  color: #a9bfb8;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-section {
  border-top: 1px solid var(--line);
}

.about-section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: clamp(52px, 8vw, 112px);
  align-items: center;
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 100px) clamp(24px, 4vw, 48px);
}

.about-section h2,
.about-details h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.about-section-copy p,
.about-details p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted-ink);
  font-size: 15px;
  line-height: 1.72;
}

.safety-note {
  margin-top: 30px;
  padding: 20px 22px;
  border-left: 3px solid var(--brand-accent);
  background: #f4edea;
}

.safety-note p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
}

.source-card {
  display: grid;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f0f3ec;
}

.source-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.source-card div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.source-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.source-card dt {
  color: var(--quiet-ink);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.source-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.source-card a,
.about-details a,
.legal-document a {
  color: #075f83;
}

.about-project {
  background:
    radial-gradient(circle at 84% 28%, rgb(197 216 207 / 52%), transparent 31%),
    linear-gradient(135deg, #eef2eb, #e8eee8);
}

.project-card {
  display: grid;
  justify-items: center;
  padding: 36px 30px 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgb(251 250 244 / 90%);
  box-shadow: 0 18px 46px rgb(3 20 29 / 8%);
  text-align: center;
}

.project-card img {
  width: min(220px, 76%);
  height: 190px;
  object-fit: contain;
}

.project-card .about-card-label {
  margin: 16px 0 0;
  color: var(--red);
}

.project-card p:last-child {
  max-width: 290px;
  margin: 6px 0 0;
  color: var(--muted-ink);
  font-size: 13px;
  line-height: 1.55;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.about-details article {
  min-height: 270px;
  padding: 54px max(28px, calc((100vw - 1172px) / 2));
}

.about-details article + article {
  border-left: 1px solid var(--line);
}

.about-details h2 {
  font-size: clamp(30px, 3.5vw, 40px);
}

.about-details a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
}

.legal-page {
  padding: clamp(60px, 8vw, 96px) 24px clamp(80px, 10vw, 128px);
  background: var(--surface-raised);
}

.legal-header,
.legal-document {
  width: min(100%, 760px);
  margin: 0 auto;
}

.legal-header {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.legal-header h1 {
  font-size: clamp(44px, 6vw, 64px);
}

.legal-date {
  margin: 20px 0 0;
  color: var(--quiet-ink);
  font-size: 13px;
}

.legal-date span {
  font-weight: 700;
}

.legal-document {
  color: var(--muted-ink);
  font-size: 16px;
  line-height: 1.76;
}

.legal-document > p:first-child {
  margin-top: 36px;
  color: var(--ink);
  font-size: 18px;
}

.legal-document p {
  margin: 16px 0 0;
}

.legal-document section {
  margin-top: 48px;
  scroll-margin-top: 24px;
}

.legal-document h2 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 31px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.legal-document ul {
  margin: 18px 0 0;
  padding-left: 24px;
}

.legal-document li {
  padding-left: 5px;
}

.legal-document li + li {
  margin-top: 7px;
}

.legal-document code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  background: var(--surface-muted);
  font-size: 0.9em;
}

.content-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 120px;
  padding: 24px max(28px, calc((100vw - 1172px) / 2));
  border-top: 1px solid var(--line);
  color: var(--quiet-ink);
  background: #e9ede7;
  font-size: 11px;
}

.content-footer-brand {
  display: grid;
  gap: 8px;
}

.content-footer-brand a {
  width: max-content;
  color: var(--ink);
  font-size: 19px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.content-footer p {
  margin: 0;
}

.content-footer nav {
  display: flex;
  gap: clamp(20px, 3vw, 38px);
  align-items: center;
}

.content-footer nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted-ink);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .about-hero,
  .about-section-inner {
    grid-template-columns: 1fr;
  }

  .about-visual {
    min-height: 390px;
  }

  .about-section-inner {
    align-items: start;
  }

  .project-card,
  .source-card {
    width: min(100%, 620px);
  }

  .about-details article {
    padding: 48px 28px;
  }
}

@media (max-width: 620px) {
  .content-header {
    min-height: 58px;
    padding: 0 12px;
  }

  .content-header .brand {
    gap: 7px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .content-header .brand svg {
    width: 22px;
    height: 22px;
  }

  .content-header nav a {
    min-width: 0;
    padding: 0 9px;
    font-size: 10px;
  }

  .content-header nav a[aria-current="page"]::after {
    right: 9px;
    left: 9px;
  }

  .content-main {
    min-height: calc(100dvh - 58px);
  }

  .content-page h1 {
    font-size: clamp(43px, 14vw, 58px);
  }

  .about-hero,
  .about-section-inner {
    gap: 42px;
    padding: 52px 18px 62px;
  }

  .about-tagline {
    font-size: 22px;
  }

  .about-intro > p:not(.content-kicker, .about-tagline) {
    font-size: 15px;
  }

  .about-visual {
    min-height: 330px;
    padding: 25px;
  }

  .about-visual::before {
    width: 240px;
    height: 240px;
  }

  .about-visual::after {
    width: 170px;
    height: 170px;
  }

  .about-visual-caption strong {
    font-size: 25px;
  }

  .about-details {
    grid-template-columns: 1fr;
  }

  .about-details article {
    min-height: 0;
    padding: 42px 18px;
  }

  .about-details article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .legal-page {
    padding: 48px 18px 76px;
  }

  .legal-header {
    padding-bottom: 29px;
  }

  .legal-document {
    font-size: 15px;
    line-height: 1.72;
  }

  .legal-document > p:first-child {
    margin-top: 30px;
    font-size: 17px;
  }

  .legal-document section {
    margin-top: 42px;
  }

  .content-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 18px;
  }

  .content-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-page *,
  .content-page *::before,
  .content-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
