:root {
  --ink: #0b0d10;
  --panel: #12161b;
  --panel-soft: #171c22;
  --paper: #eeeae1;
  --muted: #a9adb2;
  --dim: #737980;
  --brass: #c8a45f;
  --brass-soft: #806b43;
  --sage: #9cb7a7;
  --rule: #2a3037;
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--paper);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(255,255,255,.025) 50%, transparent calc(50% + 1px)),
    var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-200%);
}

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

.site-shell {
  min-height: 100vh;
}

.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(11, 13, 16, .9);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .9rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--brass);
}

.brand-name,
.utility,
.eyebrow,
.nav-link,
.service-fit,
.service-meta,
.registration,
.artifact-label,
.artifact-action,
.operator-label,
.profile-link {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .13em;
}

.brand-name {
  font-size: .66rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2rem);
}

.nav-link {
  color: var(--muted);
  font-size: .64rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-link:hover {
  color: var(--paper);
}

.hero {
  min-height: min(820px, calc(100vh - 74px));
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  border-bottom: 1px solid var(--rule);
}

.hero-copy {
  padding: clamp(5rem, 10vw, 9.5rem) var(--gutter) clamp(5rem, 9vw, 8rem);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--brass);
  font-size: .65rem;
}

.hero h1,
.section-title,
.contact-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(3.25rem, 7vw, 7.2rem);
  line-height: .96;
}

.hero-body {
  max-width: 720px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.75;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.15rem;
  border: 1px solid var(--brass-soft);
  color: var(--ink);
  background: var(--brass);
  font-size: .78rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

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

.button-secondary {
  color: var(--paper);
  background: transparent;
  border-color: var(--rule);
}

.button-secondary:hover {
  background: var(--panel);
}

.brief {
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 4rem);
  border-left: 1px solid var(--rule);
  background: rgba(18,22,27,.55);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.brief-label {
  margin: 0 0 2rem;
  color: var(--sage);
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.brief-item {
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule);
}

.brief-term {
  display: block;
  margin-bottom: .45rem;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.brief-detail {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.13rem;
  line-height: 1.45;
}

.section {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--rule);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr);
  gap: 2rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-title {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
}

.section-intro {
  max-width: 650px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-list {
  border-top: 1px solid var(--rule);
}

.service {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
}

.service:last-child {
  border-bottom: 0;
}

.service-name {
  margin: 0 0 .75rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1.08;
}

.service-fit {
  color: var(--brass);
  font-size: .62rem;
}

.service-meta {
  margin: .45rem 0 0;
  color: var(--dim);
  font-size: .58rem;
}

.service-summary {
  max-width: 680px;
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.03rem;
}

.service-structure {
  margin: 0 0 1.5rem;
  padding: .85rem 1rem;
  border-left: 2px solid var(--brass);
  color: var(--paper);
  background: rgba(200,164,95,.06);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.deliverables,
.evidence-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliverables li,
.evidence-points li {
  position: relative;
  padding: .65rem 0 .65rem 1.4rem;
  border-top: 1px solid rgba(255,255,255,.055);
}

.deliverables li::before,
.evidence-points li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--sage);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.method-step {
  min-height: 300px;
  padding: 2rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.step-number {
  color: var(--brass);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .12em;
}

.step-title {
  margin: 4rem 0 1rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.15;
}

.step-body {
  margin: 0;
  color: var(--muted);
  font-size: .93rem;
}

.evidence-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.evidence-copy {
  margin: 2rem 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.evidence-points {
  align-self: end;
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.evidence-proof {
  align-self: end;
}

.artifact-list {
  border-top: 1px solid var(--rule);
}

.artifact-link {
  display: block;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}

.artifact-label,
.operator-label {
  display: block;
  margin: 0 0 .55rem;
  color: var(--sage);
  font-size: .58rem;
}

.artifact-title {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
}

.artifact-detail {
  display: block;
  margin-top: .55rem;
  color: var(--muted);
  font-size: .82rem;
}

.artifact-action {
  display: block;
  margin-top: .9rem;
  color: var(--brass);
  font-size: .58rem;
  transition: color 160ms ease;
}

.artifact-link:hover .artifact-action {
  color: var(--paper);
}

.operator {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--rule);
  background: var(--panel);
}

.operator-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.operator-note {
  margin: .8rem 0 0;
  color: var(--muted);
  font-size: .84rem;
}

.profile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  margin-top: 1.25rem;
}

.profile-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .65rem;
  border: 1px solid var(--rule);
  color: var(--paper);
  font-size: .56rem;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.profile-link:hover {
  border-color: var(--brass-soft);
  background: rgba(200,164,95,.06);
}

.registration {
  margin-top: 2rem;
  color: var(--dim);
  font-size: .61rem;
}

.contact {
  padding-block: clamp(5rem, 11vw, 10rem);
  background: var(--paper);
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.contact .eyebrow {
  color: #6f582d;
}

.contact-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .95;
}

.contact-body {
  margin: 0 0 2rem;
  color: #474a4d;
}

.contact .button {
  width: 100%;
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
  font-family: inherit;
  cursor: pointer;
}

.contact-actions {
  display: grid;
  gap: .75rem;
}

.contact .button-copy {
  color: var(--ink);
  background: transparent;
  border-color: #a8a39a;
}

.contact .button-copy:hover {
  background: #ded9d0;
}

.contact-email {
  display: block;
  margin-top: 1rem;
  text-align: center;
  color: #5b5e61;
  font-family: var(--mono);
  font-size: .68rem;
}

.copy-status {
  min-height: 1.4em;
  margin: .5rem 0 0;
  color: #386553;
  text-align: center;
  font-family: var(--mono);
  font-size: .62rem;
}

.site-footer {
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  color: var(--dim);
  font-family: var(--mono);
  font-size: .64rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.loading-state,
.noscript,
.error-state {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 20vh var(--gutter);
}

.utility {
  color: var(--brass);
  font-size: .68rem;
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero,
  .section-heading,
  .service,
  .evidence-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-left: var(--gutter);
  }

  .brief {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

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

  .method-step {
    min-height: 250px;
  }
}

@media (max-width: 560px) {
  .brand-name {
    display: none;
  }

  .hero {
    min-height: auto;
  }

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

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

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

  .method-step {
    min-height: 0;
  }

  .step-title {
    margin-top: 2.5rem;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
