:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #64706d;
  --paper: #f7f7f2;
  --surface: #ffffff;
  --line: #dfe3de;
  --accent: #176b5b;
  --accent-dark: #0f5145;
  --soft: #e7f1ed;
  --max-width: 72rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 20rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

a { color: inherit; }

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

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

.sr-only {
  position: absolute;
  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;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  transform: translateY(-160%);
  border-radius: .35rem;
  background: var(--ink);
  color: #fff;
}

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

.shell { width: min(calc(100% - 2.5rem), var(--max-width)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  font-family: ui-rounded, 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.025em;
  text-decoration: none;
}

.wordmark-mark {
  width: 1.9rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: .7rem;
  letter-spacing: -.08em;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg { width: 1.2rem; }

.site-nav ul { display: flex; align-items: center; gap: .2rem; margin: 0; padding: 0; list-style: none; }

.site-nav a {
  display: block;
  padding: .55rem .75rem;
  border-radius: .45rem;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover, .site-nav a[aria-current='page'] { background: var(--surface); color: var(--ink); }

main { overflow: hidden; }

.hero {
  min-height: calc(100svh - 4.75rem);
  display: grid;
  align-items: center;
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(15rem, .55fr); gap: clamp(3rem, 9vw, 8rem); align-items: end; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.5rem;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before { width: 1.5rem; height: 1px; background: currentColor; content: ''; }

h1, h2, h3 { margin: 0; font-family: ui-rounded, 'Segoe UI', sans-serif; line-height: 1.1; letter-spacing: -.045em; }

h1 { max-width: 14ch; font-size: clamp(3.5rem, 10vw, 7.8rem); font-weight: 600; }

.page-hero h1 { max-width: 12ch; font-size: clamp(3.15rem, 8vw, 6rem); }

h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 600; }

h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.025em; }

.hero-copy {
  margin: 0 0 .3rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-copy strong { color: var(--ink); font-weight: 500; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .7rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: .4rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button-secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--surface); }

.section { padding: clamp(5rem, 10vw, 8.5rem) 0; border-top: 1px solid var(--line); }
.section-muted { background: var(--soft); }
.section-heading { display: grid; grid-template-columns: minmax(10rem, .55fr) 1.45fr; gap: 3rem; align-items: start; margin-bottom: clamp(3rem, 7vw, 5.5rem); }
.section-heading p { max-width: 38rem; margin: .3rem 0 0; color: var(--muted); font-size: 1.08rem; }
.kicker { margin: 0; color: var(--accent); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(17rem, .9fr);
  min-height: 27rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--surface);
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 22rem;
  place-items: center;
  overflow: hidden;
  background: #183c35;
}

.project-visual::before, .project-visual::after { position: absolute; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; content: ''; }
.project-visual::before { width: 27rem; aspect-ratio: 1; }
.project-visual::after { width: 18rem; aspect-ratio: 1; }
.atlas-glyph { position: relative; z-index: 1; color: #eef5f1; font-family: ui-rounded, 'Segoe UI', sans-serif; font-size: clamp(3rem, 8vw, 6.5rem); font-weight: 500; letter-spacing: -.08em; }
.project-body { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); }
.project-body p { max-width: 30rem; margin: 1rem 0 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: .25rem; }

.about-grid, .info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 7vw, 6rem); }
.about-grid p, .info-card p { color: var(--muted); }
.about-lead { margin: 0; color: var(--ink) !important; font-family: ui-rounded, 'Segoe UI', sans-serif; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.35; letter-spacing: -.025em; }

.page-hero { padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 6rem); }
.page-hero p { max-width: 42rem; margin: 1.6rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.content-narrow { max-width: 48rem; }

.project-list { border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: 3rem minmax(0, .75fr) minmax(0, 1.25fr); gap: 2rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
.project-number { color: var(--accent); font: 600 .78rem ui-rounded, 'Segoe UI', sans-serif; }
.project-row p { max-width: 37rem; margin: 0; color: var(--muted); }

.info-card { padding: clamp(1.7rem, 4vw, 2.6rem); border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); }
.info-card .status { display: inline-block; margin-bottom: 2rem; padding: .25rem .55rem; border-radius: 10rem; background: var(--soft); color: var(--accent-dark); font-size: .75rem; font-weight: 600; }
.info-card p:last-child { margin-bottom: 0; }

.notice { max-width: 48rem; padding: 1.35rem 1.5rem; border-left: 3px solid var(--accent); background: var(--surface); color: var(--muted); }
.notice strong { color: var(--ink); }

.future-list { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.future-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.future-list span { color: var(--muted); font-size: .88rem; }

.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.footer-note { max-width: 24rem; margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; }
.footer-links a { color: var(--muted); font-size: .85rem; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.copyright { margin: 1rem 0 0; color: var(--muted); font-size: .78rem; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 3px; }

@media (max-width: 48rem) {
  .shell { width: min(calc(100% - 2rem), var(--max-width)); }
  .nav-toggle { display: grid; }
  .site-nav { position: absolute; top: calc(100% + 1px); left: 0; width: 100%; display: none; padding: .7rem 1rem 1rem; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav[data-open='true'] { display: block; }
  .site-nav ul { display: grid; }
  .site-nav a { padding: .85rem; }
  .hero { min-height: auto; }
  .hero-grid, .section-heading, .project-feature, .about-grid, .info-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 3rem; }
  .hero-copy { max-width: 28rem; }
  .section-heading { gap: 1.1rem; }
  .project-visual { min-height: 18rem; }
  .project-row { grid-template-columns: 2rem 1fr; gap: 1rem; }
  .project-row p { grid-column: 2; }
  .footer-inner { display: grid; }
  .footer-links { justify-content: flex-start; }
}

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