:root {
  --bg: oklch(0.965 0.003 260);
  --ink: oklch(0.13 0.006 260);
  --muted: oklch(0.39 0.008 260);
  --line: oklch(0.86 0.006 260);
  --panel: oklch(0.995 0 0);
  --black: oklch(0.08 0.008 260);
  --black-2: oklch(0.13 0.012 260);
  --red: oklch(0.61 0.23 28);
  --red-dark: oklch(0.46 0.2 28);
  --max: 1480px;
  --gap: clamp(12px, 1.4vw, 22px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(14px, 2vw, 28px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  margin-bottom: var(--gap);
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
}

.brand,
.footer a:first-child {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.brand span,
.footer span {
  color: var(--red);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 48px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.nav a,
.nav-cta,
.button,
.section-head a,
.hover-card b {
  transition:
    color 180ms ease-out,
    background 180ms ease-out,
    border-color 180ms ease-out,
    transform 180ms ease-out,
    opacity 180ms ease-out;
}

.nav a:hover,
.section-head a:hover {
  color: var(--red);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

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

.nav-cta:hover,
.button.primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.button.ghost {
  border: 1px solid color-mix(in oklch, white 42%, transparent);
  color: white;
}

.button.ghost.dark {
  border-color: var(--ink);
  color: var(--ink);
}

.button.ghost:hover {
  border-color: var(--red);
  color: white;
  background: var(--red);
  transform: translateY(-2px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  grid-auto-rows: minmax(220px, auto);
  gap: var(--gap);
}

.panel,
.case-card {
  overflow: hidden;
  min-width: 0;
  border-radius: clamp(10px, 1.1vw, 16px);
  background: var(--panel);
}

.dark-panel {
  color: white;
  background:
    radial-gradient(circle at 78% 12%, color-mix(in oklch, var(--red) 34%, transparent), transparent 28%),
    linear-gradient(135deg, var(--black), var(--black-2));
}

.hero-copy {
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: clamp(540px, 74vh, 760px);
  padding: clamp(32px, 5vw, 78px);
}

.role,
.section-kicker {
  margin: 0;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin-top: 28px;
  font-size: clamp(46px, 5.8vw, 82px);
  line-height: 0.98;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(34px, 4.5vw, 70px);
  line-height: 0.98;
}

h3 {
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.03;
}

.lead {
  max-width: min(610px, 100%);
  margin: 30px 0 0;
  color: oklch(0.9 0.006 260);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero-photo {
  position: relative;
  min-height: clamp(440px, 74vh, 760px);
  background: oklch(0.9 0.004 260);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
}

.stat-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
}

.stat-card span {
  font-size: clamp(62px, 8vw, 112px);
  font-weight: 900;
  letter-spacing: -0.055em;
}

.stat-card p {
  max-width: 460px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.accent-card {
  color: white;
  background: var(--black);
}

.accent-card p {
  color: oklch(0.82 0.006 260);
}

.hover-card {
  position: relative;
}

.hover-card b {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
}

.hover-card:hover b,
.hover-card:focus-visible b {
  opacity: 1;
  transform: translateY(0);
}

.hover-card:hover {
  transform: translateY(-3px);
}

.logo-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) 1fr;
  gap: var(--gap);
  align-items: center;
  margin: var(--gap) 0;
  padding: 22px 28px;
  border-radius: 14px;
  color: white;
  background: var(--black);
}

.logo-strip p {
  margin: 0;
  color: oklch(0.84 0.006 260);
  font-size: 15px;
}

.logo-strip div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 30px;
}

.logo-strip span {
  font-size: clamp(20px, 2.2vw, 34px);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.7fr 1fr;
  gap: var(--gap);
  margin-top: var(--gap);
}

.intro-panel,
.services-panel,
.learning-card,
.media-card,
.contact-section {
  padding: clamp(24px, 3vw, 48px);
  border: 1px solid var(--line);
}

.intro-panel {
  min-height: 500px;
}

.intro-panel h2 {
  margin-top: 24px;
  font-size: clamp(34px, 4vw, 58px);
}

.intro-panel p:last-child,
.learning-card p,
.media-card p,
.contact-copy p:last-child {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.portrait-card {
  min-height: 500px;
  color: white;
  background: var(--black);
}

.portrait-card img {
  width: 100%;
  height: 68%;
  object-fit: cover;
  object-position: 50% 20%;
}

.portrait-card div {
  padding: 24px;
}

.portrait-card span,
.case-card span,
.media-card span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.portrait-card p {
  margin: 10px 0 0;
  color: oklch(0.84 0.006 260);
  line-height: 1.45;
}

.services-panel h3 {
  margin-bottom: 26px;
}

.service-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.service-list a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 18px;
  padding: 22px 0;
  background: var(--panel);
}

.service-list a:hover strong {
  color: var(--red);
}

.service-list span {
  color: var(--red);
  font-weight: 900;
}

.service-list strong {
  font-size: 22px;
  line-height: 1.1;
}

.service-list em {
  grid-column: 2;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.projects-section,
.media-grid,
.education-grid,
.contact-section {
  margin-top: var(--gap);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin: clamp(46px, 8vw, 100px) 0 24px;
}

.section-head .section-kicker {
  grid-column: 1 / -1;
}

.section-head a {
  align-self: center;
  font-weight: 900;
}

.marquee {
  overflow: hidden;
  margin-bottom: var(--gap);
  border-radius: 14px;
  background: var(--black);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 14px;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee img {
  width: clamp(220px, 28vw, 430px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.case-card {
  min-height: 430px;
  border: 1px solid var(--line);
  background: white;
  transition: transform 180ms ease-out;
}

.case-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-card span,
.case-card h3 {
  display: block;
  padding: 0 24px;
}

.case-card span {
  margin-top: 22px;
}

.case-card h3 {
  margin-top: 10px;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--gap);
}

.video-panel {
  position: relative;
  min-height: 620px;
  color: white;
  background: var(--black);
}

.video-panel video {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  filter: brightness(0.72);
}

.video-panel div {
  position: absolute;
  left: clamp(24px, 4vw, 58px);
  bottom: clamp(24px, 4vw, 58px);
  max-width: 660px;
}

.video-panel h2 {
  margin-top: 18px;
}

.media-card {
  min-height: 194px;
}

.media-card h3 {
  margin-top: 14px;
}

.red-media {
  color: white;
  background: var(--red);
}

.red-media span,
.red-media p {
  color: white;
}

.red-media b {
  color: var(--red);
  background: white;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.education-grid .section-head {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.learning-card {
  min-height: 290px;
}

.soft-card {
  color: white;
  background: var(--black);
}

.soft-card p {
  color: oklch(0.84 0.006 260);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--gap);
  color: white;
  background:
    radial-gradient(circle at 85% 15%, color-mix(in oklch, var(--red) 30%, transparent), transparent 26%),
    var(--black);
}

.contact-copy h2 {
  max-width: 980px;
  margin-top: 18px;
}

.contact-copy p:last-child {
  color: oklch(0.82 0.006 260);
}

.contact-actions {
  justify-content: flex-end;
  min-width: min(100%, 420px);
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 92px;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a:last-child {
  font-weight: 900;
}

@media (max-width: 1120px) {
  .topbar,
  .hero-grid,
  .about-grid,
  .media-grid,
  .education-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    order: 3;
    grid-column: 1 / -1;
  }

  .hero-copy,
  .hero-photo {
    min-height: auto;
  }

  .hero-photo {
    aspect-ratio: 16 / 10;
  }

  .logo-strip,
  .section-head,
  .footer {
    grid-template-columns: 1fr;
  }

  .logo-strip div {
    justify-content: flex-start;
  }

  .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .video-panel,
  .video-panel video {
    min-height: 480px;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-shell {
    padding: 10px;
  }

  .topbar {
    min-height: 0;
    padding: 10px 0 16px;
  }

  .nav {
    gap: 10px 18px;
    font-size: 12px;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 16px;
  }

  .hero-copy,
  .intro-panel,
  .services-panel,
  .learning-card,
  .media-card,
  .contact-section {
    padding: 24px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(34px, 11vw, 56px);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .hero-photo {
    aspect-ratio: 4 / 5;
  }

  .hero-photo img {
    object-position: 68% 50%;
  }

  .stat-card {
    min-height: 210px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    min-height: 0;
  }

  .case-card img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .video-panel,
  .video-panel video {
    min-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
