:root {
  --ink: #08100f;
  --ink-soft: #0c1715;
  --surface: #10201c;
  --surface-high: #152a24;
  --paper: #f0eee8;
  --paper-soft: #c9cec8;
  --muted: #91a09a;
  --green: #55d49f;
  --green-soft: #2c8f69;
  --copper: #e48447;
  --copper-light: #f1ad72;
  --line: rgba(218, 231, 224, 0.16);
  --line-strong: rgba(218, 231, 224, 0.3);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1240px, calc(100vw - 48px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 8%, rgba(53, 125, 91, 0.12), transparent 29rem),
    var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

::selection {
  color: var(--ink);
  background: var(--copper-light);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.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;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 0.65rem 1rem;
  color: var(--ink);
  background: var(--green);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.page-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 200;
  height: 2px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--copper));
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 16, 15, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
}

.brand-mark {
  width: 38px;
  height: 38px;
  fill: var(--copper);
}

.brand-mark-light {
  fill: var(--paper);
}

.brand-mark-dark {
  fill: var(--ink);
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.82rem;
  font-weight: 680;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.main-nav a {
  position: relative;
  padding: 0.65rem 0;
  color: var(--paper-soft);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: var(--paper);
  transition: transform 220ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid,
.closing-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(132, 196, 168, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132, 196, 168, 0.08) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 78% 45%, black, transparent 61%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(400px, 0.97fr);
  align-items: center;
  min-height: calc(100svh - 142px);
  padding-block: clamp(4.5rem, 8vw, 8rem) clamp(3rem, 5vw, 5rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  margin-right: -8.5rem;
}

.eyebrow,
.section-label {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0 0 1.75rem;
  color: var(--paper-soft);
  font-size: 0.73rem;
  font-weight: 680;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 32px;
  height: 1px;
  background: var(--copper);
}

.hero h1,
.section h2,
.closing h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.052em;
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(3.8rem, 7.25vw, 7.25rem);
  line-height: 0.9;
  text-wrap: balance;
}

.hero h1 em,
.section h2 em {
  color: var(--copper-light);
  font-weight: 400;
}

.hero-lead {
  max-width: 600px;
  margin: 2.2rem 0 0;
  color: var(--paper);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.52;
}

.hero-identity {
  max-width: 610px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-identity strong {
  color: var(--paper-soft);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  margin-top: 2.35rem;
}

.button {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.15rem 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 720;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  transition:
    transform 220ms var(--ease),
    background-color 220ms ease,
    color 220ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button-primary {
  color: #07110d;
  background: var(--green);
}

.button-primary:hover {
  background: #72e4b4;
  transform: translateY(-2px);
}

.text-link {
  position: relative;
  color: var(--paper-soft);
  font-size: 0.83rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.text-link::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--line-strong);
  transition: background-color 180ms ease;
}

.text-link:hover::after {
  background: var(--copper);
}

.hero-art {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 600px;
  margin: 0 -8vw 0 0;
}

.hero-art-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
  background: var(--surface);
}

.hero-art-frame::before {
  position: absolute;
  inset: 16px;
  z-index: 3;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(240, 238, 232, 0.15);
  clip-path: inherit;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  filter: saturate(0.92) contrast(1.03);
}

.hero-art-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0, rgba(8, 16, 15, 0.84) 10%, transparent 38%),
    linear-gradient(0deg, rgba(8, 16, 15, 0.58), transparent 36%);
}

.hero-coordinate {
  position: absolute;
  z-index: 4;
  color: rgba(240, 238, 232, 0.64);
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-coordinate-top {
  top: 36px;
  right: 38px;
}

.hero-coordinate-side {
  right: 36px;
  bottom: 38px;
}

.hero-art figcaption {
  position: absolute;
  right: 36px;
  bottom: -33px;
  z-index: 4;
  display: flex;
  gap: 2rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-art figcaption span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 0.55rem;
  vertical-align: 1px;
  content: "";
  background: var(--green);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.signal-strip span {
  position: relative;
  padding: 1.25rem 1.2rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.signal-strip span + span {
  border-left: 1px solid var(--line);
}

.section {
  position: relative;
  padding-block: clamp(6rem, 10vw, 10rem);
  border-bottom: 1px solid var(--line);
}

.section-label {
  color: var(--muted);
}

.section-label span {
  color: var(--copper);
}

.section h2 {
  font-size: clamp(3rem, 5.1vw, 5.4rem);
  line-height: 0.98;
}

.kicker {
  margin: 0 0 1.2rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.thesis {
  background:
    linear-gradient(90deg, transparent 0 66%, rgba(85, 212, 159, 0.025) 66%),
    var(--ink-soft);
}

.thesis-grid {
  display: grid;
  grid-template-columns: minmax(140px, 0.28fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 7rem);
}

.thesis .section-label {
  align-self: start;
  writing-mode: vertical-rl;
}

.thesis-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 900px;
  margin-top: 3.25rem;
}

.thesis-columns p {
  margin: 0;
  color: var(--paper-soft);
  font-size: 1.05rem;
}

.thesis blockquote {
  position: relative;
  max-width: 980px;
  margin: 4rem 0 0;
  padding: 1.8rem 0 0 3rem;
  border-top: 1px solid var(--line-strong);
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  font-style: italic;
  line-height: 1.35;
}

.thesis blockquote::before {
  position: absolute;
  top: 1.2rem;
  left: 0;
  color: var(--copper);
  content: "✦";
  font-family: var(--sans);
  font-size: 1rem;
  font-style: normal;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.5fr);
  gap: 5rem;
  align-items: end;
  margin-bottom: 4.5rem;
}

.section-head p {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.capabilities {
  background: var(--ink);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability-card {
  position: relative;
  min-height: 440px;
  padding: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  background: var(--ink-soft);
  transition: background-color 280ms ease;
}

.capability-card::before {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  content: "";
  border: 1px solid rgba(85, 212, 159, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(85, 212, 159, 0.025), 0 0 0 70px rgba(85, 212, 159, 0.018);
  transition: transform 500ms var(--ease);
}

.capability-card:hover {
  background: var(--surface);
}

.capability-card:hover::before {
  transform: scale(1.15) translate(-12px, -12px);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(4rem, 7vw, 6rem);
  color: var(--copper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.card-sigil {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--green);
  font-size: 1.2rem;
}

.capability-card h3 {
  max-width: 460px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 1.08;
}

.capability-card p {
  max-width: 560px;
  margin: 1.4rem 0 1.8rem;
  color: var(--muted);
}

.capability-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.capability-card li {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  color: var(--paper-soft);
  font-size: 0.72rem;
  letter-spacing: 0.055em;
}

.method {
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 45%, rgba(228, 132, 71, 0.11), transparent 28rem),
    var(--surface);
}

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

.method-shell {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(4rem, 9vw, 9rem);
  align-items: start;
}

.method-intro {
  position: sticky;
  top: 130px;
}

.method-intro > p:last-child {
  max-width: 490px;
  margin: 2rem 0 0;
  color: var(--paper-soft);
}

.method-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.method-list li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.4rem;
  padding: 2.2rem 0 2.6rem;
  border-top: 1px solid var(--line);
}

.method-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.method-number {
  color: var(--copper);
  font-family: var(--display);
  font-size: 1.3rem;
  font-style: italic;
}

.method-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  font-weight: 500;
}

.method-list p {
  max-width: 540px;
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.technology {
  background: var(--ink-soft);
}

.scope-map {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  margin: 0 0 4rem;
  padding: 1.15rem 1.4rem;
  border: 1px solid var(--line);
  color: var(--paper-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scope-map i {
  position: relative;
  height: 1px;
  background: var(--line-strong);
}

.scope-map i::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--green);
  transform: rotate(45deg);
}

.technology-list {
  border-top: 1px solid var(--line-strong);
}

.technology-row {
  display: grid;
  grid-template-columns: 60px minmax(190px, 0.38fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.tech-index {
  color: var(--copper);
  font-family: var(--display);
  font-size: 1.1rem;
  font-style: italic;
}

.technology-row h3 {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 500;
}

.technology-row p {
  margin: 0;
  color: var(--muted);
}

.technology-note {
  max-width: 720px;
  margin: 3rem 0 0 auto;
  padding-left: 1.5rem;
  border-left: 2px solid var(--green-soft);
  color: var(--paper-soft);
}

.fit {
  background:
    linear-gradient(90deg, rgba(85, 212, 159, 0.03) 0 50%, transparent 50%),
    var(--ink);
}

.fit-grid {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  gap: clamp(4rem, 10vw, 10rem);
}

.fit-heading {
  position: sticky;
  top: 130px;
  align-self: start;
}

.fit-list {
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.fit-list li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 1.2rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.fit-list span {
  color: var(--copper);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.fit-list p {
  margin: 0;
  color: var(--paper-soft);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.about {
  overflow: hidden;
  background: var(--surface);
}

.about-watermark {
  position: absolute;
  right: -0.05em;
  bottom: -0.25em;
  color: rgba(240, 238, 232, 0.024);
  font-family: var(--display);
  font-size: clamp(9rem, 27vw, 27rem);
  font-weight: 600;
  letter-spacing: -0.1em;
  line-height: 1;
  pointer-events: none;
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(4rem, 10vw, 10rem);
  align-items: center;
}

.about-portrait {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 36px 100%, 0 calc(100% - 36px));
  background:
    radial-gradient(circle at center, rgba(85, 212, 159, 0.12), transparent 40%),
    repeating-radial-gradient(circle at center, transparent 0 46px, rgba(240, 238, 232, 0.05) 47px 48px),
    var(--ink-soft);
}

.about-portrait::before,
.about-portrait::after {
  position: absolute;
  content: "";
  background: var(--line-strong);
}

.about-portrait::before {
  top: 50%;
  right: 8%;
  left: 8%;
  height: 1px;
}

.about-portrait::after {
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
}

.portrait-monogram {
  position: relative;
  z-index: 1;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(6rem, 12vw, 10rem);
  font-style: italic;
  letter-spacing: -0.12em;
  line-height: 1;
  text-shadow: 10px 10px 0 rgba(228, 132, 71, 0.38);
  transform: translateX(-0.08em);
}

.portrait-caption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.portrait-caption small {
  color: var(--green);
  font-size: inherit;
}

.about-copy > p:not(.kicker) {
  max-width: 680px;
  margin: 1.4rem 0 0;
  color: var(--paper-soft);
}

.about-copy blockquote {
  max-width: 680px;
  margin: 2.6rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line-strong);
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-style: italic;
  line-height: 1.4;
}

.closing {
  position: relative;
  padding-block: clamp(7rem, 12vw, 12rem);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 100%, rgba(228, 132, 71, 0.15), transparent 34rem),
    var(--ink);
}

.closing-grid {
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 68%);
}

.closing-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing .eyebrow {
  margin-bottom: 2.2rem;
}

.closing h2 {
  max-width: 960px;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: 0.96;
}

.closing-inner > p:not(.eyebrow) {
  margin: 1.5rem 0 2.3rem;
  color: var(--paper-soft);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-style: italic;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 100%;
}

.contact-actions .button {
  max-width: 100%;
  font-size: 0.875rem;
  clip-path: none;
}

.contact-actions svg {
  flex-shrink: 0;
}

.button-secondary {
  border-color: var(--line-strong);
  background: transparent;
}

.button-secondary:hover {
  border-color: var(--green);
  background: var(--surface);
  transform: translateY(-2px);
}

.contact-email {
  max-width: 100%;
  margin-top: 1.25rem;
  color: var(--paper-soft);
  font-size: 1rem;
  overflow-wrap: anywhere;
  text-underline-offset: 0.25em;
}

.contact-email:hover {
  text-decoration: underline;
}

.profile-copy {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  margin-top: 2rem;
  padding: 0.5rem 0;
  border: 0;
  background: transparent;
  font-size: 0.875rem;
  cursor: pointer;
}

.profile-copy svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.copy-status {
  min-height: 1.5em;
  margin-top: 1rem;
  color: var(--green);
  font-size: 0.78rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050a09;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
  min-height: 122px;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-inner > div {
  display: grid;
}

.footer-inner strong {
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0.045em;
}

.footer-inner span {
  margin-top: 0.15rem;
}

.footer-inner p {
  margin: 0;
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
}

.js .reveal[data-delay="1"] {
  transition-delay: 90ms;
}

.js .reveal[data-delay="2"] {
  transition-delay: 180ms;
}

.js .reveal[data-delay="3"] {
  transition-delay: 270ms;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  }

  .hero-copy {
    margin-right: -12rem;
  }

  .hero-art {
    min-height: 560px;
    opacity: 0.76;
  }

  .hero-art-shade {
    background:
      linear-gradient(90deg, var(--ink) 0, rgba(8, 16, 15, 0.86) 24%, transparent 70%),
      linear-gradient(0deg, rgba(8, 16, 15, 0.62), transparent 40%);
  }

  .method::after {
    left: 45%;
  }

  .method-shell {
    grid-template-columns: 0.78fr 1.22fr;
    gap: 5rem;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    justify-content: center;
    padding: 5rem 2rem;
    visibility: hidden;
    background: rgba(8, 16, 15, 0.98);
    opacity: 0;
    transition:
      opacity 220ms ease,
      visibility 220ms ease;
  }

  .main-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-open .main-nav {
    visibility: visible;
    opacity: 1;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    display: block;
    min-height: auto;
    padding-top: 6rem;
  }

  .hero-copy {
    margin-right: 0;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 12vw, 5.8rem);
  }

  .hero-art {
    min-height: 520px;
    margin: 4rem -16px 1.5rem;
    opacity: 1;
  }

  .hero-art-shade {
    background: linear-gradient(0deg, var(--ink) 0, transparent 48%);
  }

  .hero-art figcaption {
    right: 18px;
    bottom: -30px;
  }

  .signal-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-strip span:nth-child(3) {
    border-left: 0;
  }

  .signal-strip span:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .thesis-grid,
  .section-head,
  .method-shell,
  .fit-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .thesis .section-label {
    writing-mode: initial;
  }

  .section-head {
    gap: 2rem;
  }

  .capability-card {
    min-height: 390px;
  }

  .method::after {
    display: none;
  }

  .method-intro,
  .fit-heading {
    position: static;
  }

  .method-shell,
  .fit-grid,
  .about-grid {
    gap: 4rem;
  }

  .scope-map {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 0;
  }

  .scope-map span {
    padding: 0.9rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
  }

  .scope-map span:nth-of-type(3n) {
    border-right: 0;
  }

  .scope-map i {
    display: none;
  }

  .technology-row {
    grid-template-columns: 40px 1fr;
  }

  .technology-row p {
    grid-column: 2;
  }

  .about-portrait {
    min-height: 420px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner p {
    display: none;
  }
}

@media (max-width: 620px) {
  .header-inner {
    min-height: 68px;
  }

  .brand-copy strong {
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-inner {
    padding-top: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.8rem);
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    min-height: 420px;
  }

  .hero-art-frame::before {
    inset: 10px;
  }

  .hero-coordinate-top {
    top: 24px;
    right: 22px;
  }

  .hero-coordinate-side {
    display: none;
  }

  .hero-art figcaption {
    gap: 0.8rem;
    flex-direction: column;
  }

  .signal-strip {
    width: 100%;
  }

  .section {
    padding-block: 5rem;
  }

  .section h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .thesis-columns {
    grid-template-columns: 1fr;
  }

  .thesis blockquote {
    padding-left: 2rem;
    font-size: 1.35rem;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 0;
    padding: 2rem;
  }

  .card-topline {
    margin-bottom: 3rem;
  }

  .method-list li {
    grid-template-columns: 48px 1fr;
  }

  .scope-map {
    grid-template-columns: repeat(2, 1fr);
  }

  .scope-map span:nth-of-type(3n) {
    border-right: 1px solid var(--line);
  }

  .scope-map span:nth-of-type(2n) {
    border-right: 0;
  }

  .technology-row {
    grid-template-columns: 32px 1fr;
    gap: 0.8rem;
  }

  .about-portrait {
    min-height: 360px;
  }

  .portrait-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .closing h2 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .footer-inner {
    display: flex;
    min-height: 140px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
