:root {
  --bg: #0b0d10;
  --bg-soft: #12161b;
  --bg-card: #171c22;
  --fg: #f4efe5;
  --fg-muted: #a8adb4;
  --line: rgba(255, 255, 255, 0.11);
  --gold: #ff8a3d;
  --gold-strong: #ffb067;
  --teal: #70c7b7;
  --red: #d76962;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.container-narrow {
  width: min(calc(100% - 32px), 900px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 13, 16, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.site-logo {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-logo span {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--fg-muted);
  font-size: 14px;
  border-radius: 8px;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.07);
}

.nav__submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 250px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #14181e;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: 160ms ease;
}

.nav__item:hover .nav__submenu,
.nav__item:focus-within .nav__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__submenu a {
  display: block;
  padding: 10px 12px;
  color: var(--fg-muted);
  font-size: 14px;
  border-radius: 6px;
}

.nav__submenu a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.hero {
  padding: 72px 0 54px;
  border-bottom: 1px solid var(--line);
}

.home-intro {
  padding: 72px 0 28px;
}

.home-intro h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-intro p {
  max-width: 690px;
  margin: 0;
  color: var(--fg-muted);
  font-size: 18px;
}

.home-reel {
  padding: 24px 0 70px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: 46px;
}

.hero__eyebrow,
.section__kicker,
.detail__label {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-title h1 {
  margin: 10px 0 16px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero p,
.page-title p {
  max-width: 680px;
  margin: 0;
  color: var(--fg-muted);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--fg);
  font-weight: 750;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.button:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.button--primary {
  color: #11100d;
  background: var(--gold);
  border-color: var(--gold);
}

.featured-video {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 350px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-soft);
}

.featured-video img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
}

.featured-video__badge,
.card__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 10px;
  color: #11100d;
  font-size: 12px;
  font-weight: 850;
  background: var(--gold);
  border-radius: 999px;
}

.section {
  padding: 54px 0;
}

.section--alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section__head h2 {
  margin: 4px 0 0;
  font-size: 34px;
  line-height: 1.1;
}

.section__head a {
  color: var(--teal);
  font-weight: 750;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 191, 99, 0.55);
}

.card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #20262e;
}

.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.22;
}

.card p,
.detail p,
.timeline p {
  margin: 0;
  color: var(--fg-muted);
}

.page-title {
  padding: 64px 0 30px;
}

.resume {
  padding: 58px 0 70px;
}

.resume__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.resume__name {
  margin: 0;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 0.98;
}

.resume__role {
  margin: 10px 0 0;
  color: var(--gold);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 850;
  letter-spacing: 0.18em;
}

.print-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--fg-muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.print-button:hover {
  color: var(--fg);
  border-color: var(--gold);
}

.resume__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--fg-muted);
}

.resume__contact a {
  color: var(--fg);
}

.resume__contact--links a {
  color: var(--gold);
  font-weight: 750;
}

.resume__section {
  margin-top: 42px;
}

.resume__section h2 {
  margin: 0 0 18px;
  padding-bottom: 8px;
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.resume__summary {
  max-width: 840px;
  margin: 0;
  color: var(--fg-muted);
  font-size: 17px;
}

.job {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.job__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.job__company {
  color: var(--fg);
  font-weight: 850;
}

.job__role {
  color: var(--fg-muted);
}

.job__dates {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 14px;
  font-weight: 750;
}

.job ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--fg-muted);
}

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

.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
}

.detail {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail h2,
.detail h3 {
  margin: 8px 0 10px;
}

.video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #050607;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame--home {
  max-width: 1136px;
  margin: 0 auto;
}

.video-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #050607;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-poster__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 48px;
  color: #11100d;
  font-size: 15px;
  font-weight: 900;
  background: var(--gold);
  border-radius: 8px;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.reel-caption {
  max-width: 1136px;
  margin: 14px auto 0;
  color: var(--gold);
  font-size: 18px;
  font-weight: 800;
}

.reel-link {
  max-width: 1136px;
  margin: 4px auto 0;
  color: var(--fg-muted);
  font-size: 14px;
}

.reel-link a {
  color: var(--gold);
  font-weight: 750;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline__item {
  padding: 18px;
  border-left: 3px solid var(--gold);
  background: var(--bg-card);
  border-radius: 0 8px 8px 0;
}

.timeline h3 {
  margin: 0 0 4px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-list span {
  color: var(--fg-muted);
}

.site-footer {
  color: var(--fg-muted);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--fg);
}

@media (max-width: 820px) {
  .site-header__inner {
    min-height: 62px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    background: #0d1014;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__link {
    width: 100%;
  }

  .nav__submenu {
    position: static;
    width: 100%;
    margin: 0 0 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .hero {
    padding-top: 46px;
  }

  .hero__grid,
  .detail-grid,
  .grid--three {
    grid-template-columns: 1fr;
  }

  .featured-video,
  .featured-video img {
    min-height: 250px;
  }

  .section__head,
  .site-footer__inner {
    align-items: start;
    flex-direction: column;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    background: var(--bg);
    color: #111;
    font-size: 10.2pt;
    line-height: 1.34;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .site-header,
  .site-footer,
  .print-button {
    display: none !important;
  }

  .container-narrow,
  .resume {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
  }

  .resume__head {
    display: block;
    padding: 4mm 0 7mm;
    border-bottom: 1px solid var(--line);
  }

  .resume__name {
    color: #111;
    font-size: 31pt;
    line-height: 1;
    text-align: center;
  }

  .resume__role {
    margin-top: 3.5mm;
    color: var(--gold);
    font-size: 17pt;
    letter-spacing: 0.16em;
    text-align: center;
  }

  .resume__contact {
    justify-content: center;
    gap: 2mm 6mm;
    margin-top: 4mm;
    color: #111;
  }

  .resume__contact a,
  .resume__contact--links a {
    color: #111;
  }

  .resume__section {
    margin-top: 7mm;
  }

  .resume__section h2 {
    margin: 0 0 2.2mm;
    padding-bottom: 1.1mm;
    color: var(--gold);
    font-size: 10.8pt;
    border-bottom: 1px solid var(--line);
  }

  .resume__summary {
    max-width: none;
    color: #111;
    font-size: 10.2pt;
  }

  .job {
    padding: 1.9mm 0;
    border-bottom: 0;
  }

  .job__head {
    gap: 4mm;
  }

  .job__company,
  .job__role {
    color: #111;
  }

  .job__dates {
    color: var(--gold);
    font-size: 9.3pt;
  }

  .job ul {
    margin: 1.1mm 0 0;
    padding-left: 5.4mm;
    color: #111;
  }

  .job li + li {
    margin-top: 0.75mm;
  }
}
