:root {
  --ink: #0c0d0c;
  --charcoal: #151515;
  --paper: #f5f1e8;
  --signal: #d8ccb8;
  --line: rgba(17, 19, 15, 0.16);
  --white-line: rgba(245, 241, 232, 0.24);
  --shadow: 0 24px 80px rgba(17, 19, 15, 0.18);
  --body: "IBM Plex Sans", "Aptos", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open,
body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--signal);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 700;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--paper);
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(17, 19, 15, 0.92);
  border-bottom: 1px solid rgba(245, 241, 232, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  overflow: hidden;
  background: var(--ink);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(1) contrast(1.12);
}

.brand strong,
.brand em {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand em {
  margin-top: 2px;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--display);
  font-size: 0.96rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover {
  background: rgba(245, 241, 232, 0.12);
}

.site-nav .nav-cta {
  margin-left: 10px;
  background: var(--signal);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(245, 241, 232, 0.5);
  background: rgba(17, 19, 15, 0.25);
  color: inherit;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
  padding: 140px clamp(18px, 4vw, 56px) 56px;
  overflow: hidden;
  color: var(--paper);
}

.hero-media,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-media img {
  object-position: 52% 50%;
  filter: saturate(0.82) contrast(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(17, 19, 15, 0.86) 0%, rgba(17, 19, 15, 0.64) 45%, rgba(17, 19, 15, 0.22) 100%),
    linear-gradient(0deg, rgba(17, 19, 15, 0.86) 0%, rgba(17, 19, 15, 0) 42%);
}

.hero-grid {
  z-index: -1;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.18) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
}

.hero-content {
  min-width: 0;
  max-width: 900px;
  padding-bottom: clamp(12px, 4vw, 48px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--signal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

h1 {
  max-width: 920px;
  margin-bottom: 26px;
  font-size: clamp(4rem, 8.4vw, 8.8rem);
}

h1 span {
  display: block;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(245, 241, 232, 0.86);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid currentColor;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--signal);
  border-color: var(--signal);
  color: var(--ink);
}

.button-secondary {
  color: var(--paper);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mission-panel {
  min-width: 0;
  align-self: center;
  border: 1px solid var(--white-line);
  background: rgba(17, 19, 15, 0.48);
  backdrop-filter: blur(14px);
  padding: 24px;
  box-shadow: var(--shadow);
}

.mission-panel > span {
  display: block;
  margin-bottom: 14px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--signal);
}

.mission-panel strong {
  display: block;
  max-width: 320px;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.mission-panel dl {
  margin: 24px 0 0;
}

.mission-panel div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--white-line);
}

.mission-panel dt,
.mission-panel dd {
  margin: 0;
}

.mission-panel dt {
  color: var(--signal);
  font-family: var(--display);
  font-weight: 700;
}

.mission-panel dd {
  color: rgba(245, 241, 232, 0.86);
}

.section {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(120px, 240px) minmax(0, 980px);
  gap: clamp(24px, 5vw, 88px);
  background: var(--ink);
  color: var(--paper);
}

.intro h2,
.section-heading h2,
.about h2,
.terrain h2,
.process h2,
.faq h2,
.cta h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 6.2vw, 6.8rem);
}

.intro p {
  max-width: 920px;
  margin: 26px 0 0;
  color: rgba(245, 241, 232, 0.78);
  font-size: clamp(1.08rem, 1.65vw, 1.42rem);
}

.method {
  background: var(--paper);
}

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.domain-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, color 180ms ease;
}

.domain-card:hover {
  background: var(--charcoal);
  color: var(--paper);
}

.domain-card span,
.program-index,
.process-list span {
  font-family: var(--display);
  font-weight: 700;
  color: var(--signal);
}

.domain-card h3 {
  max-width: 280px;
  margin: 72px 0 18px;
  font-size: clamp(1.8rem, 2.5vw, 2.7rem);
}

.domain-card p {
  margin: 0;
  color: color-mix(in srgb, currentColor 72%, transparent);
}

.programs {
  background: var(--charcoal);
  color: var(--paper);
}

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

.program-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 52px);
  padding: clamp(24px, 4vw, 42px) 0;
  border-bottom: 1px solid var(--white-line);
}

.program-item h3 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
}

.program-item p {
  max-width: 830px;
  margin: 0;
  color: rgba(245, 241, 232, 0.72);
  font-size: 1.05rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  background: var(--ink);
  color: var(--paper);
}

.about-media {
  aspect-ratio: 4 / 5;
  width: min(100%, 360px);
  max-height: 520px;
  border: 1px solid var(--white-line);
  overflow: hidden;
}

.about-media > img {
  filter: grayscale(1) contrast(1.06);
}

.about-copy p {
  max-width: 760px;
  color: rgba(245, 241, 232, 0.78);
  font-size: 1.04rem;
}

.about-copy h2 {
  margin-bottom: 28px;
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.credential-row span {
  border: 1px solid var(--white-line);
  padding: 9px 11px;
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
}

.terrain {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  background: var(--ink);
  color: var(--paper);
}

.terrain-copy {
  color: rgba(245, 241, 232, 0.78);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}

.terrain-copy h2 {
  max-width: 980px;
  margin-bottom: 34px;
}

.terrain-copy p:not(.eyebrow) {
  max-width: 720px;
}

.field-archive {
  width: 100%;
  max-width: 520px;
  margin: 0;
  border: 1px solid var(--white-line);
  background: var(--charcoal);
}

.field-archive img {
  aspect-ratio: 4 / 5;
  height: auto;
  object-position: center top;
  filter: grayscale(0.75) saturate(0.55) contrast(0.95);
}

.field-archive figcaption {
  padding: 9px 11px;
  color: rgba(245, 241, 232, 0.66);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.process {
  background: var(--charcoal);
  color: var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: var(--white-line);
}

.process-list li {
  min-height: 300px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--charcoal);
}

.process-list h3 {
  margin: 72px 0 14px;
  font-size: clamp(1.65rem, 2.2vw, 2.4rem);
}

.process-list p {
  margin: 0;
  color: rgba(245, 241, 232, 0.72);
}

.faq {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 7vw, 90px);
  background: var(--ink);
  color: var(--paper);
}

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

details {
  border-bottom: 1px solid var(--white-line);
}

summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

summary::after {
  content: "+";
  color: var(--signal);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 0 24px;
  color: rgba(245, 241, 232, 0.72);
}

.cta {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 0;
  align-items: stretch;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--white-line);
}

.cta-copy {
  padding: clamp(28px, 5vw, 56px);
  background: var(--charcoal);
}

.cta-copy h2 {
  margin-bottom: 24px;
}

.cta-copy p {
  max-width: 620px;
  color: rgba(245, 241, 232, 0.78);
}

.cta-media {
  min-height: 420px;
  border-left: 1px solid var(--white-line);
  background: var(--ink);
  overflow: hidden;
}

.cta-media img {
  filter: grayscale(0.45) saturate(0.5) contrast(1.05);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--charcoal);
  color: var(--paper);
}

.footer-copy {
  display: grid;
  gap: 4px;
  text-align: right;
}

.site-footer p {
  margin: 0;
  color: rgba(245, 241, 232, 0.68);
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--ink);
  color: var(--paper);
}

.thanks {
  min-height: 74vh;
  display: grid;
  align-content: center;
  gap: 22px;
  padding-top: 120px;
}

.thanks h1 {
  max-width: 780px;
}

.thanks p {
  max-width: 620px;
  color: rgba(245, 241, 232, 0.78);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--paper);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 13, 12, 0.78);
  backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  width: min(100%, 720px);
  max-height: min(88vh, 820px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 44px);
  background: var(--charcoal);
  border: 1px solid var(--white-line);
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 8vw, 4.8rem);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--white-line);
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.consultation-form {
  display: grid;
  gap: 16px;
}

.form-hidden {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.consultation-form label {
  display: grid;
  gap: 8px;
}

.consultation-form label span {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--signal);
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(245, 241, 232, 0.28);
  border-radius: 0;
  background: rgba(245, 241, 232, 0.08);
  color: var(--paper);
  font: inherit;
  padding: 12px 14px;
}

.consultation-form select {
  appearance: auto;
}

.consultation-form option {
  color: var(--ink);
}

.consultation-form textarea {
  resize: vertical;
}

.consultation-form ::placeholder {
  color: rgba(245, 241, 232, 0.5);
}

.consultation-form .button {
  margin-top: 4px;
  border-radius: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: rgba(245, 241, 232, 0.68);
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .domain-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .mission-panel {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    padding: 12px 18px;
  }

  .brand em {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 70px 0 auto;
    display: grid;
    gap: 0;
    padding: 12px 18px 22px;
    background: rgba(17, 19, 15, 0.97);
    border-bottom: 1px solid rgba(245, 241, 232, 0.14);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a,
  .site-nav .nav-cta {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(245, 241, 232, 0.14);
  }

  .hero {
    display: block;
    min-height: 100svh;
    padding: 112px 18px 32px;
  }

  .hero-content,
  .mission-panel {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .hero-media img {
    object-position: 58% 50%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(17, 19, 15, 0.82), rgba(17, 19, 15, 0.42)),
      linear-gradient(0deg, rgba(17, 19, 15, 0.92) 0%, rgba(17, 19, 15, 0.18) 58%);
  }

  h1 {
    font-size: clamp(2.75rem, 11.4vw, 3.15rem);
  }

  .hero-copy {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .mission-panel {
    padding: 18px;
    margin-top: 28px;
  }

  .mission-panel strong {
    font-size: 1.65rem;
  }

  .section {
    padding: 64px 18px;
  }

  .intro,
  .about,
  .terrain,
  .faq,
  .cta {
    grid-template-columns: 1fr;
  }

  .cta-media {
    min-height: 320px;
    border-top: 1px solid var(--white-line);
    border-left: 0;
  }

  .intro h2,
  .section-heading h2,
  .about h2,
  .terrain h2,
  .process h2,
  .faq h2,
  .cta h2 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .domain-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .domain-card {
    min-height: 260px;
  }

  .program-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .program-item h3 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .about-media {
    max-height: none;
  }

  .field-archive {
    width: 100%;
  }

  .process-list li {
    min-height: 230px;
  }

  .process-list h3 {
    margin-top: 46px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-copy {
    text-align: left;
  }

  .modal {
    align-items: end;
    padding: 12px;
  }

  .modal-panel {
    max-height: 92vh;
    width: 100%;
  }

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

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