:root {
  --black: #000000;
  --white: #ffffff;
  --slate: #6c757d;
  --graphite: #212529;
  --soft: #f2f4f5;
  --line: #d7dcdf;
  --text: #15191c;
  --muted: #667078;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a,
button {
  font: inherit;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(108, 117, 125, 0.45);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 86px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(21,25,28,.72), rgba(21,25,28,.08));
}

.site-brand img {
  width: clamp(190px, 16vw, 250px);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.8vw, 36px);
  font-size: .92rem;
  font-weight: 800;
}

.site-header nav a {
  color: rgba(255,255,255,.84);
}

.site-header nav a:hover {
  color: var(--white);
}

.page {
  margin-left: 0;
}

.hero {
  width: 100vw;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--graphite);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(21,25,28,.78) 0%, rgba(21,25,28,.48) 42%, rgba(21,25,28,.08) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 58vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: clamp(22px, 7vw, 96px);
  padding-top: 92px;
  color: var(--white);
  background: transparent;
}

.kicker {
  margin: 0 0 16px;
  color: rgba(255,255,255,.72);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4.25vw, 4rem);
  font-weight: 800;
  line-height: .96;
  color: var(--white);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-copy > p {
  max-width: 570px;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid rgba(255,255,255,.76);
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.hero-actions a:first-child {
  background: var(--white);
  color: var(--graphite);
  border-color: var(--white);
}

.hero-actions a:not(:first-child) {
  color: var(--white);
}

.hero-actions a:first-child:hover {
  background: var(--graphite);
  color: var(--white);
}

.hero-actions a:hover {
  transform: translateY(-3px);
  background: var(--black);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background: var(--graphite);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.profile,
.technical-panel,
.work,
.commitment,
.contact {
  padding: clamp(64px, 9vw, 118px) clamp(22px, 6vw, 92px);
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(320px, .55fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: end;
  border-top: 1px solid var(--line);
}

.profile-body {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.technical-panel {
  display: grid;
  grid-template-columns: minmax(360px, .8fr) minmax(0, .8fr);
  align-items: stretch;
  gap: 0;
  background: var(--soft);
}

.technical-panel img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.technical-panel div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 74px);
  color: var(--white);
  background: var(--graphite);
}

.technical-panel p:last-child {
  color: rgba(255,255,255,.7);
}

.technical-panel h2,
.commitment h2 {
  font-size: clamp(2.1rem, 3.35vw, 3.45rem);
}

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

.work-heading {
  max-width: 860px;
  margin-bottom: 36px;
}

.work-tabs {
  display: grid;
  grid-template-columns: minmax(280px, .45fr) minmax(0, 1fr);
  min-height: 520px;
  border: 1px solid var(--line);
}

.tab-list {
  display: grid;
  background: var(--soft);
  border-right: 1px solid var(--line);
}

.tab-list button {
  min-height: 88px;
  padding: 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--graphite);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.tab-list button:hover,
.tab-list button.is-active {
  background: var(--graphite);
  color: var(--white);
}

.tab-stage {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(108,117,125,.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(108,117,125,.08) 1px, transparent 1px),
    var(--white);
  background-size: 44px 44px;
}

.tab-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(34px, 6vw, 76px);
  opacity: 0;
  transform: translateY(18px);
  visibility: hidden;
  transition: opacity 260ms ease, transform 260ms ease, visibility 260ms ease;
}

.tab-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.tab-panel span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 38px;
  color: var(--white);
  background: var(--graphite);
  font-weight: 900;
}

.tab-panel h3 {
  max-width: 640px;
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: .95;
}

.tab-panel p {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.06rem;
}

.commitment {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(390px, .92fr);
  gap: clamp(34px, 6vw, 86px);
  color: var(--white);
  background: var(--graphite);
}

.commitment > div:first-child {
  align-self: center;
}

.commitment > div:first-child p:last-child {
  color: rgba(255,255,255,.72);
}

.commitment-ledger {
  display: grid;
  align-self: center;
  border-top: 1px solid rgba(255,255,255,.26);
}

.ledger-row {
  display: grid;
  grid-template-columns: 58px minmax(160px, .45fr) minmax(220px, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.ledger-row span {
  color: #c8d0d5;
  font-size: .82rem;
  font-weight: 900;
}

.ledger-row strong {
  color: var(--white);
  font-size: 1.05rem;
}

.ledger-row p {
  margin: 0;
  color: rgba(255,255,255,.68);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(300px, .45fr);
  gap: 42px;
  align-items: end;
}

.contact p {
  max-width: 640px;
  color: var(--muted);
}

.contact address {
  display: grid;
  gap: 12px;
  padding: 30px;
  color: var(--white);
  background: var(--black);
  font-style: normal;
}

.contact a:hover {
  color: #c8d0d5;
}

@keyframes imageSettle {
  from { transform: scale(1.04); opacity: .82; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 1080px) {
  .profile,
  .technical-panel,
  .work-tabs,
  .commitment,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-copy {
    width: min(680px, calc(100% - 44px));
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: row;
    gap: 12px;
    min-height: 84px;
    padding: 16px 18px;
    background: linear-gradient(180deg, rgba(21,25,28,.82), rgba(21,25,28,0));
  }

  .site-brand img {
    width: 190px;
  }

  .site-header nav {
    width: auto;
    justify-content: flex-end;
    gap: 10px;
    overflow-x: auto;
    font-size: .82rem;
  }

  h1 {
    font-size: clamp(2rem, 8.85vw, 2.7rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .profile,
  .technical-panel,
  .work,
  .commitment,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(21,25,28,.78) 0%, rgba(21,25,28,.56) 46%, rgba(21,25,28,.22) 100%);
  }

  .hero-copy {
    width: auto;
    margin: 0;
    padding: 122px 18px 56px;
  }

  .tab-list button {
    min-height: 70px;
  }

  .work-tabs {
    min-height: 680px;
  }

  .tab-stage {
    min-height: 420px;
  }

  .tab-panel h3 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .ledger-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

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

.menu-toggle {
  display: none;
}

@media (max-width: 760px) {
  .site-header {
    position: fixed;
  }

  .menu-toggle {
    width: 46px;
    height: 42px;
    display: inline-grid;
    place-content: center;
    gap: 5px;
    margin-left: auto;
    border: 1px solid rgba(255,255,255,.55);
    background: rgba(21,25,28,.36);
    color: inherit;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    display: block;
    background: currentColor;
  }

  .site-header .nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 18px;
    right: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(33,37,41,.98);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  }

  .site-header .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }

  .site-header .nav a:last-child {
    border-bottom: 0;
  }
}
