:root {
  --navy: #10182c;
  --navy-deep: #0c1222;
  --navy-raised: #16203a;
  --cream: #f1ead9;
  --cream-deep: #e8deca;
  --ink: #111728;
  --gold: #a98c4b;
  --gold-readable: #d8bc77;
  --gold-dark: #6f5928;
  --navy-muted: rgba(16, 24, 44, 0.72);
  --cream-muted: rgba(241, 234, 217, 0.76);
  --cream-quiet: rgba(241, 234, 217, 0.56);
  --cream-ghost: rgba(241, 234, 217, 0.07);
  --nav-border: rgba(216, 188, 119, 0.3);
  --nav-bg: rgba(12, 18, 34, 0.92);
  --gold-line: rgba(169, 140, 75, 0.35);
  --gold-line-strong: rgba(169, 140, 75, 0.7);
  --ink-line: rgba(17, 23, 40, 0.2);
  --cream-line: rgba(241, 234, 217, 0.2);
  --grid-line: rgba(169, 140, 75, 0.08);
  --focus: #f5d995;
  --serif: "Instrument Serif", "Didot", "Bodoni MT", "Playfair Display", Georgia, serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --page-pad: clamp(1.2rem, 4vw, 4.5rem);
  --content-max: 90rem;
  --radius: 4px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.92rem;
  line-height: 1.65;
  min-width: 20rem;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}

.skip-link {
  background: var(--cream);
  color: var(--ink);
  left: 1rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: -5rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  align-items: center;
  background: #051433;
  border-bottom: 1px solid var(--nav-border);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  min-height: 4.6rem;
  padding: 0 var(--page-pad);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-logo {
  display: block;
  flex: 0 0 auto;
  height: 2.6rem;
  width: auto;
}

.header-logo img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: auto;
}

.wordmark {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark span {
  color: var(--gold-readable);
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.5rem);
}

nav a {
  color: var(--cream-muted);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 0.75rem 0;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

nav a::after {
  background: var(--gold-readable);
  bottom: 0.35rem;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
  width: 100%;
}

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

main {
  overflow: clip;
}

.hero {
  align-items: end;
  background:
    radial-gradient(circle at 74% 36%, var(--navy-raised), var(--navy) 34%, var(--navy-deep) 74%);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: calc(100svh - 4.6rem);
  padding: clamp(5rem, 11vh, 8.5rem) var(--page-pad) 2rem;
  position: relative;
}

.hero-grid {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 4.25rem 4.25rem;
  inset: 0;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 80%, transparent);
  opacity: 0.85;
  pointer-events: none;
  position: absolute;
}

.hero::before,
.hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
}

.hero::before {
  border-left: 1px solid var(--gold-line);
  bottom: 11rem;
  left: var(--page-pad);
  top: 3rem;
}

.hero::after {
  border-right: 1px solid var(--gold-line);
  border-top: 1px solid var(--gold-line);
  height: 2.5rem;
  right: var(--page-pad);
  top: 3rem;
  width: 2.5rem;
}

.hero-content {
  max-width: var(--content-max);
  padding-left: clamp(1rem, 3vw, 3rem);
  position: relative;
  width: 100%;
  z-index: 2;
}

.eyebrow {
  align-items: center;
  color: var(--gold-readable);
  display: flex;
  font-size: 0.67rem;
  font-weight: 700;
  gap: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--cream-quiet);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.8rem, 7vw, 7.2rem);
  letter-spacing: -0.025em;
  line-height: 0.82;
  margin-top: clamp(1.8rem, 4vh, 3.8rem);
  position: relative;
  z-index: 2;
}

h1 em {
  color: var(--gold-readable);
  display: block;
  font-weight: 400;
}

.hero-monogram {
  color: var(--cream-ghost);
  font-family: var(--serif);
  font-size: clamp(12rem, 28vw, 30rem);
  letter-spacing: -0.13em;
  line-height: 0.68;
  pointer-events: none;
  position: absolute;
  right: -0.02em;
  top: 12%;
  white-space: nowrap;
}

.hero-monogram span {
  color: var(--gold-line);
}

.hero-logo {
  border: 1px solid var(--gold-line);
  box-shadow: 1.3rem 1.3rem 0 var(--cream-ghost);
  max-width: 31rem;
  position: absolute;
  right: clamp(2rem, 6vw, 7rem);
  top: 14%;
  width: clamp(19rem, 35vw, 31rem);
  z-index: 1;
}

.hero-logo::before,
.hero-logo::after {
  border-color: var(--gold-readable);
  border-style: solid;
  content: "";
  height: 1rem;
  pointer-events: none;
  position: absolute;
  width: 1rem;
  z-index: 1;
}

.hero-logo::before {
  border-width: 1px 0 0 1px;
  left: -1px;
  top: -1px;
}

.hero-logo::after {
  border-width: 0 1px 1px 0;
  bottom: -1px;
  right: -1px;
}

.hero-logo img {
  display: block;
  height: auto;
  width: 100%;
}

.hero-intro {
  align-items: start;
  border-left: 1px solid var(--gold-line-strong);
  display: grid;
  gap: 1.1rem;
  grid-template-columns: minmax(0, 39rem);
  margin-top: clamp(2.5rem, 6vh, 4rem);
  max-width: 57rem;
  padding-left: 1.2rem;
}

.status-label {
  border: 1px solid var(--gold-line-strong);
  border-radius: var(--radius);
  color: var(--gold-readable);
  display: inline-block;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  padding: 0.42rem 0.5rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-label-dark {
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

.hero-intro p {
  color: var(--cream-muted);
  font-size: clamp(0.87rem, 1.2vw, 1rem);
  max-width: 56ch;
}

.hero-guarantee {
  color: var(--gold-readable);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid var(--gold-line-strong);
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 0.64rem;
  font-weight: 700;
  gap: 2rem;
  justify-content: space-between;
  letter-spacing: 0.1em;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--gold-readable);
  border-color: var(--gold-readable);
  color: var(--ink);
  min-width: 12.5rem;
}

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

.button:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.hero-index {
  border-top: 1px solid var(--gold-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin-top: clamp(4rem, 8vh, 7rem);
  max-width: var(--content-max);
  padding-top: 1.25rem;
  position: relative;
  width: 100%;
  z-index: 2;
}

.hero-index li {
  color: var(--cream-quiet);
  font-size: 0.61rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-index li:not(:first-child) {
  border-left: 1px solid var(--gold-line);
  padding-left: 1rem;
}

.hero-index span {
  color: var(--gold-readable);
  margin-right: 0.5rem;
}

.section {
  display: grid;
  gap: 3rem 4rem;
  grid-template-columns: 4rem minmax(0, 0.85fr) minmax(18rem, 1fr);
  padding: clamp(5rem, 10vw, 9rem) var(--page-pad);
  scroll-margin-top: 4.5rem;
}

.section-number {
  color: var(--gold-dark);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding-top: 0.25rem;
}

.section-heading {
  grid-column: 2 / -1;
}

.section-heading h2 {
  font-size: clamp(3rem, 5vw, 5.5rem);
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin-top: 1.25rem;
}

.section-intro {
  align-self: end;
  border-top: 1px solid var(--ink-line);
  grid-column: 2 / -1;
  padding-top: 1rem;
}

.section-intro p {
  color: var(--navy-muted);
  margin-top: 1rem;
  max-width: 55ch;
}

.section-light {
  background: var(--cream);
  color: var(--ink);
}

.section-light .eyebrow,
.section-cream .eyebrow {
  color: var(--gold-dark);
}

.service-list {
  border-top: 1px solid var(--ink-line);
  grid-column: 2 / -1;
  list-style: none;
}

.service-list li {
  align-items: baseline;
  border-bottom: 1px solid var(--ink-line);
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: 4rem minmax(10rem, 0.7fr) minmax(16rem, 1fr);
  padding: clamp(1.4rem, 3vw, 2.4rem) 0;
}

.service-number {
  color: var(--gold-dark);
  font-size: 0.63rem;
  font-weight: 700;
}

.service-list h3 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
}

.service-list p {
  color: var(--navy-muted);
  max-width: 48ch;
}

.section-navy {
  background:
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--navy);
  background-size: 5rem 100%, auto;
  border-top: 1px solid var(--gold-line);
}

.section-navy .section-number {
  color: var(--gold-readable);
}

.client-layout {
  display: grid;
  gap: clamp(3rem, 5vw, 5rem);
  grid-column: 2 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  margin-top: 1rem;
}

.large-copy {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1.14;
  max-width: 34ch;
}

.pending-panel {
  align-items: center;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  display: grid;
  gap: 1.4rem;
  grid-template-columns: auto 1fr;
  padding: clamp(1.4rem, 4vw, 2.7rem);
  position: relative;
}

.pending-panel::before,
.pending-panel::after {
  border-color: var(--gold-readable);
  border-style: solid;
  content: "";
  height: 0.75rem;
  position: absolute;
  width: 0.75rem;
}

.pending-panel::before {
  border-width: 1px 0 0 1px;
  left: -1px;
  top: -1px;
}

.pending-panel::after {
  border-width: 0 1px 1px 0;
  bottom: -1px;
  right: -1px;
}

.pending-mark {
  color: var(--gold-readable);
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
}

.pending-panel h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  margin-top: 1rem;
}

.pending-panel p {
  color: var(--cream-muted);
  font-size: 0.8rem;
  margin-top: 0.8rem;
  max-width: 50ch;
}

.sector-line {
  border-bottom: 1px solid var(--cream-line);
  border-top: 1px solid var(--cream-line);
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.sector-line li {
  color: var(--cream-muted);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  padding: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.sector-line li + li {
  border-left: 1px solid var(--cream-line);
}

.section-cream {
  background: var(--cream-deep);
  color: var(--ink);
}

.stat-strip {
  border: 1px solid var(--ink-line);
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.stat-strip li {
  display: grid;
  gap: 0.35rem;
  padding: clamp(1.1rem, 2.2vw, 1.8rem);
}

.stat-strip li + li {
  border-left: 1px solid var(--ink-line);
}

.stat-value {
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-variant-numeric: tabular-nums;
  line-height: 0.95;
}

.stat-label {
  color: var(--ink);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stat-state {
  color: var(--navy-muted);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-grid {
  display: grid;
  gap: clamp(3rem, 5vw, 5rem);
  grid-column: 2 / -1;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  margin-top: 1rem;
}

.experience-statement > p {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1.15;
  max-width: 34ch;
}

.proof-note {
  border-left: 1px solid var(--gold-dark);
  color: var(--navy-muted);
  display: block;
  font-size: 0.67rem;
  letter-spacing: 0.04em;
  margin-top: 2rem;
  max-width: 47ch;
  padding-left: 1rem;
}

.experience-list {
  border-top: 1px solid var(--ink-line);
  list-style: none;
}

.experience-list li {
  border-bottom: 1px solid var(--ink-line);
  display: grid;
  gap: 0.45rem 1rem;
  grid-template-columns: 1fr auto;
  padding: 1.5rem 0;
}

.entry-kicker {
  color: var(--gold-dark);
  font-size: 0.61rem;
  font-weight: 700;
  grid-column: 1 / -1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience-list h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.entry-state {
  align-self: end;
  color: var(--navy-muted);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.team-section {
  padding-bottom: clamp(6rem, 12vw, 11rem);
}

.team-grid {
  border-top: 1px solid var(--gold-line);
  display: grid;
  grid-column: 2 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.person {
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.person + .person {
  border-left: 1px solid var(--gold-line);
}

.portrait-placeholder {
  align-items: end;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    var(--navy-deep);
  background-size: 2.2rem 2.2rem, 2.2rem 2.2rem, auto;
  border: 1px solid var(--gold-line);
  color: var(--gold-line-strong);
  display: flex;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7.2rem);
  justify-content: flex-end;
  line-height: 0.78;
  overflow: hidden;
  padding: 0 0.2rem;
  position: relative;
}

.portrait-placeholder::before {
  border-left: 1px solid var(--gold-readable);
  border-top: 1px solid var(--gold-readable);
  content: "";
  height: 1rem;
  left: -1px;
  position: absolute;
  top: -1px;
  width: 1rem;
}

.person-copy {
  border-top: 1px solid var(--gold-line);
  margin-top: 1.3rem;
  padding-top: 1.2rem;
}

.person-role {
  color: var(--gold-readable);
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.person h3 {
  font-size: clamp(1.75rem, 2.25vw, 2.4rem);
  line-height: 0.98;
  margin-top: 0.65rem;
  white-space: nowrap;
}

.placeholder-copy {
  color: var(--cream-muted);
  font-size: 0.72rem;
  margin-top: 1rem;
}

.site-footer {
  align-items: center;
  background: var(--navy-deep);
  border-top: 1px solid var(--gold-line);
  color: var(--cream-quiet);
  display: grid;
  font-size: 0.58rem;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  letter-spacing: 0.09em;
  padding: 2.5rem var(--page-pad);
  text-transform: uppercase;
}

.site-footer p:last-child {
  text-align: right;
}

@media (max-width: 900px) {
  h1 {
    font-size: clamp(3.2rem, 9vw, 5rem);
  }

  .section-heading h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }

  .large-copy,
  .experience-statement > p {
    font-size: clamp(1.7rem, 4vw, 2.3rem);
  }

  .person h3 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
  }

  .hero-logo {
    opacity: 0.38;
    right: -4rem;
    top: 16%;
    width: min(56vw, 27rem);
  }

  .section {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .section-heading {
    grid-column: 2;
  }

  .section-intro,
  .service-list,
  .client-layout,
  .sector-line,
  .stat-strip,
  .experience-grid,
  .team-grid {
    grid-column: 2;
  }

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

  .stat-strip li:nth-child(2n + 1) {
    border-left: 0;
  }

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

  .section-intro {
    max-width: 42rem;
  }

  .client-layout,
  .experience-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    gap: 2.5rem;
    grid-template-columns: 1fr;
  }

  .person {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(9rem, 0.7fr) minmax(14rem, 1.3fr);
    padding: 1.5rem 0;
  }

  .person + .person {
    border-left: 0;
    border-top: 1px solid var(--gold-line);
  }

  .person-copy {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: stretch;
    display: block;
    min-height: auto;
    padding: 0;
  }

  .site-header .header-logo {
    display: block;
    height: 3.45rem;
    margin-left: var(--page-pad);
    padding: 0.45rem 0;
    width: min(8rem, calc(100% - var(--page-pad) - var(--page-pad)));
  }

  nav {
    border-top: 1px solid var(--nav-border);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: auto;
  }

  nav a {
    align-items: center;
    border-right: 1px solid var(--nav-border);
    display: flex;
    font-size: 0.51rem;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0.55rem 0.25rem;
    text-align: center;
  }

  nav a:last-child {
    border-right: 0;
  }

  nav a::after {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 5.85rem);
    padding-top: 4.2rem;
  }

  .hero::before {
    bottom: 8rem;
  }

  .hero::after {
    height: 1.4rem;
    top: 1.8rem;
    width: 1.4rem;
  }

  .hero-content {
    padding-left: 0.9rem;
  }

  h1 {
    font-size: clamp(2.75rem, 12vw, 3.75rem);
  }

  .section-heading h2 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .large-copy,
  .experience-statement > p {
    font-size: clamp(1.6rem, 6.5vw, 1.7rem);
  }

  .person h3 {
    font-size: clamp(1.65rem, 7vw, 1.75rem);
  }

  .hero-monogram {
    font-size: 15rem;
    right: -2rem;
    top: 17%;
  }

  .hero-logo {
    display: none;
  }

  .hero-intro {
    gap: 0.85rem;
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

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

  .button {
    width: 100%;
  }

  .hero-index {
    margin-top: 3.4rem;
  }

  .hero-index li {
    font-size: 0.48rem;
  }

  .hero-index span {
    display: block;
    margin-bottom: 0.15rem;
  }

  .section {
    gap: 2rem 1rem;
    grid-template-columns: 1.2rem minmax(0, 1fr);
    scroll-margin-top: 5.8rem;
  }

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

  .service-list li {
    gap: 0.5rem;
    grid-template-columns: 2rem 1fr;
  }

  .service-list p {
    grid-column: 2;
  }

  .pending-panel {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .pending-mark {
    display: none;
  }

  .sector-line {
    grid-template-columns: 1fr 1fr;
  }

  .sector-line li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--cream-line);
  }

  .sector-line li:nth-child(4) {
    border-top: 1px solid var(--cream-line);
  }

  .experience-list li {
    grid-template-columns: 1fr;
  }

  .entry-state {
    margin-top: 0.3rem;
    text-align: left;
  }

  .person {
    display: block;
  }

  .person-copy {
    margin-top: 1rem;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .site-footer p:last-child {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
