:root {
  --bg: #f4f2ee;
  --ink: #121212;
  --mute: #5f5a54;
  --line: rgba(18, 18, 18, 0.1);
  --white: #fff;
  --night: #111318;
  --orange: #e85d04;
  --orange-2: #ff6d1f;
  --blue: #2f5bff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --w: 920px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0 0 12px;
  color: var(--mute);
}

p:last-child {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* GATE */
.gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--night);
}

.gate[hidden] {
  display: none;
}

.gate__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 20%, rgba(47, 91, 255, 0.28), transparent 60%),
    radial-gradient(ellipse 45% 35% at 85% 75%, rgba(232, 93, 4, 0.22), transparent 55%);
}

.gate__panel {
  position: relative;
  width: min(360px, 100%);
  padding: 32px 28px;
  border-radius: 18px;
  background: var(--white);
  text-align: center;
}

.gate__label {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--mute);
}

.gate__name {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.gate__form {
  display: flex;
  gap: 8px;
}

.gate__input {
  flex: 1;
  height: 44px;
  border: 1px solid #d5d0c8;
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
  text-align: center;
  letter-spacing: 0.16em;
  outline: none;
}

.gate__input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 91, 255, 0.15);
}

.gate__btn {
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.gate__error {
  margin: 10px 0 0;
  color: var(--orange);
  font-size: 13px;
}

/* SITE */
.site[hidden] {
  display: none;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(16px, 3vw, 28px);
  background: rgba(244, 242, 238, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mute);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__cv {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
}

.nav__cv:hover {
  border-color: var(--ink);
}

.nav__phone {
  font-size: 13px;
  font-weight: 650;
  color: var(--orange);
  white-space: nowrap;
}

/* VIDEO */
.stage {
  background: #000;
}

.stage__video {
  width: 100%;
  max-height: 78svh;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  margin: 0 auto;
  background: #000;
}

/* LAYOUT */
.wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 24px) 48px;
}

.sec {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow--light {
  color: #9db0ff;
}

.role {
  margin: 0 0 10px !important;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 650;
  letter-spacing: -0.025em;
  color: var(--ink) !important;
}

.title {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 720;
  letter-spacing: -0.032em;
  line-height: 1.12;
  max-width: 18ch;
  color: var(--ink);
}

.h2--light {
  color: #fff;
}

.lead {
  max-width: 48ch;
  font-size: 17px;
  margin-bottom: 22px !important;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.btn--fill {
  background: var(--orange);
  color: #fff;
}

.btn--fill:hover {
  background: var(--orange-2);
}

.btn--line {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.btn--line:hover {
  border-color: var(--ink);
}

/* HERO */
.hero {
  padding: 40px 0 36px;
}

/* ABOUT */
.about__grid {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: 28px;
  align-items: start;
}

.about__img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 16px;
  background: #e8e6e1;
}

/* FIELD */
.field {
  padding-top: 0;
  border-top: 0;
}

.field__fig {
  margin: 0;
}

.field__fig img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 16px;
}

.field__fig figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--mute);
}

/* DARK */
.dark {
  margin: 0 -clamp(16px, 3vw, 24px);
  padding: 40px clamp(16px, 3vw, 24px);
  border-radius: 18px;
  border-top: 0;
  background: var(--night);
  color: #fff;
}

.muted-on-dark {
  color: rgba(255, 255, 255, 0.62) !important;
  max-width: 48ch;
  margin-bottom: 24px !important;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.trio article {
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trio h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.trio p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* CHIPS */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chips span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 550;
}

/* EXPERIENCE */
.sec__row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.sec__aside {
  margin: 0;
  font-size: 15px;
}

.jobs {
  display: grid;
  gap: 12px;
}

.job {
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}

.job__top {
  margin-bottom: 10px;
}

.job__top h3 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.job__top p {
  margin: 0;
  font-size: 13px;
}

.job ul {
  margin: 0;
  padding: 0 0 0 16px;
  color: var(--mute);
  font-size: 14px;
}

.job li + li {
  margin-top: 4px;
}

/* WORK */
.work {
  margin-top: 18px;
}

.work article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.work article:last-child {
  border-bottom: 1px solid var(--line);
}

.work span {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  padding-top: 2px;
}

.work h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.work p {
  margin: 0;
  font-size: 14px;
}

/* CTA */
.cta-band .h2 {
  max-width: 22ch;
}

.cta-band .actions {
  margin-top: 18px;
}

/* CONTACT */
.contact {
  margin: 0 -clamp(16px, 3vw, 24px);
  padding: 36px clamp(16px, 3vw, 24px);
  border-radius: 18px;
  border-top: 0;
  background: var(--night);
}

.contact__grid {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.contact__grid a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact__grid a:hover {
  background: rgba(232, 93, 4, 0.16);
  border-color: rgba(255, 109, 31, 0.4);
}

.contact__grid small {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.contact__grid strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

/* FOOTER */
.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px clamp(16px, 3vw, 28px) 28px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 12px;
}

.footer a {
  font-weight: 650;
  color: var(--ink);
}

/* RESPONSIVE */
@media (max-width: 820px) {
  .nav__links {
    display: none;
  }

  .about__grid,
  .sec__row,
  .trio {
    grid-template-columns: 1fr;
  }

  .about__img {
    max-width: 280px;
  }
}

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

  .gate__form {
    flex-direction: column;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stage__video {
    max-height: none;
  }
}
