:root {
  color-scheme: light;
  --ink: #111827;
  --navy: #101928;
  --petrol: #123d46;
  --forest: #19443a;
  --copper: #b65f2a;
  --ochre: #d8a043;
  --mist: #e7edf0;
  --line: #d7ddd9;
  --paper: #f8f5ee;
  --vellum: #fffdf8;
  --smoke: #edf2ef;
  --muted: #667085;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(17, 24, 39, 0.14);
  --max: 1180px;
  --radius: 8px;
  --header-h: 76px;
  font-family: Inter, Manrope, "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, var(--paper), #f3f0e8 54%, #f8f5ee);
  background-size: 76px 76px, auto;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.62;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(182, 95, 42, 0.78);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 60;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 245, 238, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(215, 221, 217, 0.86);
}

.nav-shell {
  min-height: var(--header-h);
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 12px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 244px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from 145deg, var(--petrol), var(--copper), var(--forest), var(--petrol));
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.73rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.nav-menu a,
.text-link {
  text-decoration: none;
  color: var(--petrol);
  font-weight: 800;
  font-size: 0.86rem;
}

.nav-menu a {
  padding: 9px 10px;
  border-radius: 999px;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(18, 61, 70, 0.09);
  color: var(--navy);
}

.header-cta,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-cta,
.button.primary {
  background: var(--navy);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(17, 24, 39, 0.18);
  color: var(--petrol);
  background: rgba(255, 253, 248, 0.74);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--vellum);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

.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;
}

.section,
.hero {
  padding: 96px 24px;
}

.hero {
  position: relative;
  min-height: min(860px, calc(100svh - var(--header-h)));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 25, 40, 0.96) 0%, rgba(16, 25, 40, 0.88) 42%, rgba(16, 25, 40, 0.18) 100%),
    linear-gradient(160deg, #101928, #123d46 58%, #b65f2a);
}

.hero::before {
  content: "GQ";
  position: absolute;
  right: -0.08em;
  bottom: -0.35em;
  color: rgba(255, 255, 255, 0.055);
  font-size: 27rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 160, 67, 0.76), transparent);
}

.hero-portrait {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(52vw, 660px);
  opacity: 0.72;
  mix-blend-mode: luminosity;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-grid,
.section-grid,
.tech-grid,
.contact-grid {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 56px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: end;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1bb83;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 8rem;
  line-height: 0.85;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 18px;
  color: #fff7ea;
  font-size: 1.58rem;
  line-height: 1.28;
}

.hero-text {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
}

.hero .button.primary {
  background: #fff7ea;
  color: var(--navy);
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero .text-link {
  color: #f1bb83;
  padding: 10px 0;
}

.hero-brief {
  align-self: end;
  padding: 0 0 8px 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-brief p {
  margin-bottom: 18px;
  color: #f1bb83;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.hero-brief dl {
  display: grid;
  gap: 18px;
}

.hero-brief div {
  display: grid;
  gap: 2px;
}

.hero-brief dt {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-brief dd {
  margin-left: 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 850;
}

.hero-signals {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 62px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-signals span {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 850;
}

.hero-signals span:last-child {
  border-right: 0;
}

.section-grid {
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 42px;
}

.section-kicker h2 {
  max-width: 560px;
}

.rich-copy {
  font-size: 1.1rem;
}

blockquote {
  margin: 34px 0 0;
  padding: 26px 0 0;
  border-top: 2px solid var(--copper);
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 850;
}

.documents {
  background: var(--smoke);
}

.document-intro {
  align-items: end;
  margin-bottom: 34px;
}

.document-intro > p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.document-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--vellum);
  box-shadow: 0 18px 54px rgba(17, 24, 39, 0.08);
}

.document-card {
  min-height: 260px;
  padding: 30px;
  border-right: 1px solid var(--line);
}

.document-card:last-child {
  border-right: 0;
}

.document-card span {
  display: inline-flex;
  min-width: 46px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border: 1px solid rgba(182, 95, 42, 0.26);
  border-radius: 999px;
  background: rgba(182, 95, 42, 0.08);
  color: var(--copper);
  font-weight: 950;
  font-size: 0.76rem;
}

.document-card h3 {
  font-size: 1.42rem;
}

.document-card p {
  max-width: 480px;
  color: var(--muted);
}

.document-card .button {
  margin-top: 14px;
}

.capability-grid,
.metrics-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  min-height: 230px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.64);
}

.card-index {
  display: block;
  margin-bottom: 26px;
  color: var(--copper);
  font-weight: 950;
}

.card p,
.metric span,
.timeline p,
.method-grid p,
.tech-grid p,
.contact p,
.education li {
  color: var(--muted);
}

.value-band {
  background: var(--vellum);
}

.value-flow {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid rgba(17, 24, 39, 0.18);
}

.value-flow article {
  min-height: 218px;
  padding: 30px 24px;
  border-right: 1px solid rgba(17, 24, 39, 0.14);
}

.value-flow article:last-child {
  border-right: 0;
}

.value-flow strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1.05;
}

.value-close,
.method-note {
  max-width: var(--max);
  margin: 28px auto 0;
  color: var(--muted);
}

.impact {
  background: var(--navy);
  color: var(--white);
}

.impact .eyebrow {
  color: #f1bb83;
}

.impact h2 {
  color: var(--white);
}

.metrics-grid {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.metric {
  min-height: 214px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.metric strong {
  display: block;
  margin-bottom: 16px;
  color: #f1bb83;
  font-size: 3.2rem;
  line-height: 1;
}

.impact .metric span,
.impact .method-note {
  color: rgba(255, 255, 255, 0.72);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline article {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr);
  gap: 24px;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
}

.timeline article + article {
  padding-top: 30px;
}

.timeline time {
  display: block;
  color: var(--copper);
  font-weight: 950;
  font-size: 0.86rem;
}

.timeline h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.work-method {
  background: var(--white);
}

.method-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.method-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--vellum), rgba(237, 242, 239, 0.72));
}

.method-grid span {
  color: var(--copper);
  font-weight: 950;
}

.leadership-list {
  max-width: var(--max);
  margin: 34px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.leadership-list span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--petrol);
  font-weight: 800;
}

.education {
  background: var(--smoke);
}

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

.education-columns div {
  padding: 26px;
  border-left: 3px solid var(--copper);
  background: rgba(255, 253, 248, 0.78);
}

.education ul {
  margin: 0;
  padding-left: 20px;
}

.applied-tech {
  background: var(--vellum);
}

.tech-grid,
.contact-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.66fr);
  align-items: center;
}

.system-map {
  min-height: 360px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.system-map span {
  display: grid;
  place-items: center;
  min-height: 174px;
  background: linear-gradient(145deg, var(--petrol), var(--forest));
  color: var(--white);
  font-weight: 900;
}

.contact {
  background:
    linear-gradient(90deg, rgba(16, 25, 40, 0.96), rgba(18, 61, 70, 0.92)),
    var(--navy);
  color: var(--white);
}

.contact h2 {
  color: var(--white);
}

.contact .eyebrow {
  color: #f1bb83;
}

address {
  display: grid;
  gap: 10px;
  font-style: normal;
  margin-top: 28px;
}

address a,
address span {
  color: rgba(255, 255, 255, 0.82);
}

.contact-actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.contact-photo {
  width: 190px;
  height: 190px;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 5px solid rgba(255, 255, 255, 0.18);
  background: var(--navy);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.22);
}

.contact .button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}

.footer {
  padding: 28px 24px;
  background: #0b1220;
  color: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 16px auto 16px;
    display: none;
    grid-column: 1 / -1;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--vellum);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .nav-menu a {
    padding: 12px;
    border-radius: var(--radius);
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
  }

  .hero::before {
    font-size: 20rem;
  }

  .hero-portrait {
    width: 58vw;
    opacity: 0.42;
  }

  h1 {
    font-size: 5.8rem;
  }

  h2 {
    font-size: 3.1rem;
  }

  .hero-lede {
    font-size: 1.38rem;
  }

  .metric strong {
    font-size: 2.65rem;
  }

  .hero-grid,
  .section-grid,
  .tech-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-brief {
    max-width: 620px;
    padding: 24px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

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

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

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

  .hero-signals span:nth-child(2) {
    border-right: 0;
  }

  .hero-signals span:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .value-flow article:nth-child(2) {
    border-right: 0;
  }

  .value-flow article {
    border-bottom: 1px solid rgba(17, 24, 39, 0.14);
  }

  .value-flow article:nth-child(n+3) {
    border-bottom: 0;
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 72px;
  }

  .nav-shell,
  .section,
  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 4rem;
    line-height: 0.88;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero::before {
    font-size: 13rem;
  }

  .hero-lede {
    font-size: 1.22rem;
  }

  .metric strong {
    font-size: 2.35rem;
  }

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

  .hero-portrait {
    width: 100%;
    opacity: 0.24;
  }

  .hero-signals,
  .capability-grid,
  .metrics-grid,
  .value-flow,
  .method-grid,
  .document-grid,
  .education-columns {
    grid-template-columns: 1fr;
  }

  .hero-signals span,
  .hero-signals span:nth-child(2),
  .document-card,
  .value-flow article,
  .value-flow article:nth-child(2),
  .value-flow article:nth-child(n+3) {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 24, 39, 0.14);
  }

  .hero-signals span {
    border-bottom-color: rgba(255, 255, 255, 0.16);
  }

  .hero-signals span:last-child,
  .document-card:last-child,
  .value-flow article:last-child {
    border-bottom: 0;
  }

  .section,
  .hero {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .document-card,
  .card,
  .metric,
  .method-grid article,
  .value-flow article {
    min-height: auto;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-actions {
    justify-items: stretch;
  }

  .contact-photo {
    justify-self: center;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
