:root {
  --black: #0a0a0a;
  --ink: #151515;
  --paper: #f2f1ed;
  --white: #ffffff;
  --accent: #ff4b23;
  --muted: #6f6d68;
  --line: rgba(21, 21, 21, .18);
  --line-light: rgba(255, 255, 255, .2);
  --mono: "IBM Plex Mono", monospace;
  --sans: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.065em; }
h1 em, h2 em { color: var(--accent); font-style: normal; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .5rem;
  left: .5rem;
  padding: .75rem 1rem;
  background: var(--accent);
  color: var(--black);
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  height: 6rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5vw;
  color: var(--white);
  border-bottom: 1px solid var(--line-light);
  transition: height .25s ease, background .25s ease, backdrop-filter .25s ease;
}
.site-header.is-fixed {
  position: fixed;
  height: 4.75rem;
  background: rgba(10, 10, 10, .92);
  backdrop-filter: blur(14px);
}
.logo {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  text-decoration: none;
}
.logo-mark {
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--black);
  font: 600 .9rem/1 var(--mono);
  letter-spacing: -.08em;
}
.logo-mark span { opacity: .55; }
.logo-type { display: grid; gap: .16rem; line-height: 1; }
.logo-type strong { font-size: .96rem; letter-spacing: -.04em; }
.logo-type small { font: 500 .55rem/1 var(--mono); letter-spacing: .25em; }
.desktop-nav { display: flex; gap: 2.2rem; }
.desktop-nav a, .header-contact {
  text-decoration: none;
  text-transform: uppercase;
  font: 500 .68rem/1 var(--mono);
  letter-spacing: .04em;
}
.desktop-nav a { padding: .75rem 0; border-bottom: 1px solid transparent; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { border-color: var(--accent); }
.header-contact { justify-self: end; }
.header-contact span { margin-left: .5rem; color: var(--accent); font-size: .9rem; }
.menu-button, .mobile-menu { display: none; }

.hero {
  position: relative;
  min-height: 52rem;
  height: 100vh;
  max-height: 65rem;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 6vw;
  padding: 8rem 6vw 7rem;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 46rem;
  height: 1px;
  left: -10rem;
  top: 33%;
  background: rgba(255, 255, 255, .16);
  transform: rotate(-25deg);
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-label {
  margin-bottom: 1.7rem;
  text-transform: uppercase;
  font: 500 .67rem/1.3 var(--mono);
  letter-spacing: .08em;
}
.eyebrow { color: rgba(255, 255, 255, .55); }
.eyebrow span { margin-right: 1rem; color: var(--accent); }
.hero h1 {
  max-width: 57rem;
  margin-bottom: 2rem;
  font-size: clamp(4.2rem, 7.4vw, 8.2rem);
  font-weight: 600;
  line-height: .88;
}
.hero-lead {
  max-width: 40rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, .67);
  font-size: 1.08rem;
  line-height: 1.72;
}
.hero-actions { display: flex; align-items: center; gap: 2rem; }
.button {
  min-height: 3.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: .9rem 1.35rem;
  text-decoration: none;
  text-transform: uppercase;
  font: 500 .7rem/1 var(--mono);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-accent { background: var(--accent); color: var(--black); }
.button-accent:hover { background: var(--white); }
.button-dark { background: var(--black); color: var(--white); }
.button-dark:hover { background: var(--white); color: var(--black); }
.text-link { color: var(--white); text-underline-offset: .4rem; font: 500 .72rem/1 var(--mono); }
.text-link span { margin-left: .5rem; color: var(--accent); }

.identity-panel {
  position: relative;
  z-index: 2;
  width: min(34rem, 100%);
  aspect-ratio: 1 / 1.12;
  justify-self: end;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  color: var(--white);
  background: var(--black);
  border: .28rem solid var(--accent);
  box-shadow: 1.5rem 1.5rem 0 rgba(255, 75, 35, .12);
  overflow: hidden;
}
.identity-panel::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.04) 28%, rgba(10,10,10,.08) 58%, rgba(10,10,10,.82) 100%);
  pointer-events: none;
}
.identity-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}
.identity-grid {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: .11;
  background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 20% 20%;
}
.identity-top, .identity-bottom {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font: 500 .62rem/1 var(--mono);
}
.identity-top span:first-child, .identity-bottom span:first-child { color: var(--accent); }
.hero-proof {
  position: absolute;
  z-index: 2;
  left: 6vw;
  right: 6vw;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
}
.hero-proof div { display: grid; gap: .35rem; padding: 1.3rem 1.5rem 1.3rem 0; border-right: 1px solid var(--line-light); }
.hero-proof div + div { padding-left: 1.5rem; }
.hero-proof div:last-child { border-right: 0; }
.hero-proof span { color: var(--accent); font: 500 .62rem/1 var(--mono); }
.hero-proof strong { font-size: .78rem; font-weight: 500; }

.section { padding: 8rem 7vw; }
.statement { display: grid; grid-template-columns: .35fr 1.65fr; gap: 5vw; background: var(--white); }
.section-label { color: var(--muted); }
.statement-copy {
  max-width: 72rem;
  margin: 0;
  font-size: clamp(2rem, 3.55vw, 4.15rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.055em;
}
.statement-copy mark { padding: 0; color: var(--accent); background: transparent; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 8vw; margin-bottom: 4.5rem; }
.section-head h2 { margin: 0; font-size: clamp(3.2rem, 5.6vw, 6.3rem); font-weight: 600; line-height: .9; }
.section-head > p { max-width: 34rem; margin: 0 0 .35rem; color: var(--muted); }

.services { background: var(--paper); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.service-card { min-height: 31rem; display: flex; flex-direction: column; padding: 2rem; border-right: 1px solid var(--line); }
.service-card:last-child { border-right: 0; }
.service-card-accent { background: var(--accent); }
.service-top { display: flex; justify-content: space-between; color: var(--muted); font: 500 .68rem/1 var(--mono); }
.service-card-accent .service-top { color: rgba(10, 10, 10, .58); }
.service-top span:last-child { font-size: 1.2rem; }
.service-card h3 { margin: 5rem 0 1.5rem; font-size: clamp(2.1rem, 3.5vw, 3.6rem); font-weight: 600; line-height: .92; }
.service-card p { color: var(--muted); }
.service-card-accent p { color: rgba(10, 10, 10, .67); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 2rem; }
.tags span { padding: .42rem .62rem; border: 1px solid currentColor; text-transform: uppercase; font: 500 .58rem/1 var(--mono); }

.experience { background: var(--black); color: var(--white); }
.section-head-light .section-label, .section-head-light > p { color: rgba(255, 255, 255, .48); }
.experience-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: 7vw; align-items: stretch; }
.experience-count {
  min-height: 34rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  background: var(--accent);
  color: var(--black);
}
.experience-count strong { font-size: clamp(9rem, 18vw, 18rem); font-weight: 600; line-height: .72; letter-spacing: -.13em; }
.experience-count span { max-width: 16rem; text-transform: uppercase; font: 500 .66rem/1.6 var(--mono); }
.experience-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.experience-list li { display: grid; grid-template-columns: 8rem 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line-light); }
.experience-list > li > span { color: var(--accent); text-transform: uppercase; font: 500 .62rem/1.6 var(--mono); }
.experience-list h3 { margin-bottom: .75rem; font-size: clamp(1.5rem, 2.6vw, 2.5rem); font-weight: 500; line-height: 1.05; }
.experience-list p { max-width: 43rem; margin: 0; color: rgba(255,255,255,.55); }
.country-strip { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 1rem; border: 1px solid var(--line-light); }
.country-strip span { min-height: 7.5rem; display: flex; flex-direction: column; justify-content: space-between; padding: 1.1rem; border-right: 1px solid var(--line-light); color: rgba(255,255,255,.5); font-size: .7rem; }
.country-strip span:last-child { border-right: 0; }
.country-strip b { color: var(--white); font: 500 1.25rem/1 var(--mono); }

.test-section {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 10vw;
  background: var(--accent);
  overflow: hidden;
}
.test-number { position: absolute; right: -1rem; top: -5rem; color: rgba(10,10,10,.08); font-size: clamp(18rem, 38vw, 38rem); font-weight: 700; line-height: 1; letter-spacing: -.14em; }
.test-copy, .test-facts { position: relative; z-index: 2; }
.test-copy h2 { margin-bottom: 2rem; font-size: clamp(3rem, 5.5vw, 6rem); font-weight: 600; line-height: .9; }
.test-copy p { max-width: 44rem; color: rgba(10,10,10,.68); }
.test-copy .button { margin-top: 1.2rem; }
.test-facts { align-self: end; border-top: 1px solid rgba(10,10,10,.28); }
.test-facts div { display: grid; grid-template-columns: 2rem 1fr; gap: .4rem 1rem; padding: 1.35rem 0; border-bottom: 1px solid rgba(10,10,10,.28); }
.test-facts span { grid-row: 1 / 3; color: rgba(10,10,10,.52); font: 500 .66rem/1.8 var(--mono); }
.test-facts strong { font-size: .95rem; }
.test-facts small { color: rgba(10,10,10,.6); font-size: .78rem; }

.profile { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; background: var(--white); }
.profile-title h2 { margin: 0; font-size: clamp(4.3rem, 8vw, 9rem); font-weight: 600; line-height: .8; }
.profile-copy { align-self: end; }
.profile-lead { color: var(--accent); font-size: 1.35rem; font-weight: 600; }
.profile-copy > p:not(.profile-lead) { max-width: 42rem; color: var(--muted); }
.profile-facts { margin-top: 2.5rem; }
.profile-facts div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.profile-facts div:last-child { border-bottom: 1px solid var(--line); }
.profile-facts span { color: var(--muted); text-transform: uppercase; font: 500 .6rem/1.7 var(--mono); }
.profile-facts strong { font-size: .9rem; }

.contact {
  position: relative;
  min-height: 44rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.contact::after { content: "/"; position: absolute; right: 0; bottom: -11rem; color: rgba(255,255,255,.055); font-size: 38rem; font-weight: 400; line-height: 1; }
.contact-top, .contact-bottom { position: absolute; z-index: 2; left: 7vw; right: 7vw; display: flex; justify-content: space-between; text-transform: uppercase; font: 400 .6rem/1 var(--mono); }
.contact-top { top: 3rem; color: rgba(255,255,255,.45); }
.contact-top span:last-child { color: var(--accent); }
.contact-bottom { bottom: 2.5rem; color: rgba(255,255,255,.45); }
.contact-content { position: relative; z-index: 2; }
.contact-content > p { color: var(--accent); text-transform: uppercase; font: 500 .68rem/1 var(--mono); }
.contact-content h2 { max-width: 70rem; margin-bottom: 3rem; font-size: clamp(4rem, 8vw, 8.6rem); font-weight: 600; line-height: .86; }
.contact-content a { display: inline-block; color: var(--white); font-size: clamp(1rem, 2vw, 1.55rem); text-decoration-color: var(--accent); text-underline-offset: .55rem; }
.contact-content a span { margin-left: .4rem; color: var(--accent); }

footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 3rem;
  padding: 2.5rem 5vw;
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--line-light);
}
footer p { margin: 0; color: rgba(255,255,255,.42); font-size: .67rem; }

.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-contact { display: none; }
  .menu-button { display: grid; place-content: center; gap: .4rem; width: 2.75rem; height: 2.75rem; padding: 0; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.35); }
  .menu-button i { display: block; width: 1.1rem; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] i:first-child { transform: translateY(.2rem) rotate(45deg); }
  .menu-button[aria-expanded="true"] i:last-child { transform: translateY(-.2rem) rotate(-45deg); }
  .mobile-menu { position: absolute; top: 6rem; left: 0; right: 0; padding: 1rem 5vw; background: var(--black); border-top: 1px solid var(--line-light); }
  .site-header.is-fixed .mobile-menu { top: 4.75rem; }
  .mobile-menu.open { display: grid; }
  .mobile-menu a { padding: .9rem 0; color: var(--white); text-decoration: none; border-bottom: 1px solid var(--line-light); }
  .hero { height: auto; max-height: none; grid-template-columns: 1fr; padding-top: 9rem; padding-bottom: 9rem; }
  .identity-panel { width: min(29rem, 82vw); margin-top: 2rem; justify-self: start; }
  .hero-proof { position: relative; left: auto; right: auto; bottom: auto; grid-column: 1; margin-top: 2rem; }
  .statement, .section-head, .experience-layout, .test-section, .profile { grid-template-columns: 1fr; }
  .section-head { gap: 2rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 25rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .experience-count { min-height: 24rem; }
  .test-facts { margin-top: 2rem; }
  footer { grid-template-columns: 1fr 1fr; }
  footer p:first-of-type { grid-column: 1 / 3; }
}

@media (max-width: 600px) {
  .site-header { height: 5.2rem; }
  .logo-type small { display: none; }
  .hero { min-height: auto; padding: 8rem 5vw 5rem; }
  .hero h1 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .eyebrow { max-width: 18rem; line-height: 1.7; }
  .eyebrow span { display: block; margin-bottom: .25rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .identity-panel { width: calc(100% - .75rem); }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div { border-right: 0; border-bottom: 1px solid var(--line-light); padding-left: 0 !important; }
  .hero-proof div:last-child { border-bottom: 0; }
  .section { padding: 5.5rem 5vw; }
  .statement-copy { font-size: 1.85rem; }
  .service-card { min-height: 23rem; }
  .service-card h3 { margin-top: 4rem; }
  .experience-list li { grid-template-columns: 1fr; gap: .7rem; }
  .country-strip { grid-template-columns: 1fr; }
  .country-strip span { min-height: 5rem; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .country-strip span:last-child { border-bottom: 0; }
  .test-number { top: 0; font-size: 17rem; }
  .profile-title h2 { font-size: 5rem; }
  .profile-facts div { grid-template-columns: 1fr; gap: .35rem; }
  .contact { min-height: 39rem; }
  .contact-bottom { display: grid; gap: .65rem; }
  footer { grid-template-columns: 1fr; }
  footer p:first-of-type { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
