:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-soft: #f0eee8;
  --ink: #121212;
  --muted: #5f5b53;
  --soft: #8a8479;
  --dark: #0d0f12;
  --dark-2: #17191d;
  --cream: #fbf7ee;
  --accent: #b48a3c;
  --accent-dark: #8a6528;
  --line: rgba(18, 18, 18, 0.12);
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 54px rgba(18, 18, 18, 0.12);
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Bricolage Grotesque", "Aptos Display", "Segoe UI", sans-serif;
  --body: "Manrope", "Aptos", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(180, 138, 60, 0.2);
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(180, 138, 60, 0.72);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transform: translateY(-140%);
  transition: transform 240ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  min-height: 100vh;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 245, 240, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav {
  width: min(100% - 40px, 1180px);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  box-shadow: 0 8px 22px rgba(18, 18, 18, 0.12);
  padding: 5px;
}

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

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: color 220ms var(--ease), background 220ms var(--ease);
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(18, 18, 18, 0.06);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
  position: relative;
}

.menu-toggle span:not(.sr-only) {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 220ms var(--ease), top 220ms var(--ease);
}

.menu-toggle span:first-child {
  top: 17px;
}

.menu-toggle span:nth-child(2) {
  top: 25px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

.section {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0;
  scroll-margin-top: 96px;
}

.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(52px, 7vw, 92px) max(20px, calc((100vw - 1180px) / 2)) clamp(64px, 8vw, 104px);
  min-height: 720px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
  background: var(--dark);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 15, 18, 0.92) 0%, rgba(13, 15, 18, 0.76) 44%, rgba(13, 15, 18, 0.38) 100%),
    radial-gradient(circle at 16% 22%, rgba(180, 138, 60, 0.24), transparent 32rem);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0d0f12 url("assets/EXM-hero-poster.jpg") center / cover no-repeat;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.94) brightness(0.68);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.trust-strip {
  width: 100%;
  padding: 24px max(20px, calc((100vw - 1180px) / 2)) 28px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.trust-strip-heading {
  width: min(100%, 1180px);
  margin: 0 auto 17px;
}

.trust-strip-heading .kicker {
  margin: 0;
  color: var(--accent-dark);
  text-align: center;
}

.trust-logos {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
}

.trust-logo {
  min-width: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #3d3b36;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.06em;
  opacity: 0.62;
  filter: grayscale(1);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}

.trust-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.trust-logo-warner {
  width: 48px;
  height: 48px;
  margin: auto;
  border: 2px solid currentColor;
  border-radius: 50% 50% 46% 46%;
  font-size: 16px;
  letter-spacing: -0.12em;
}

.trust-logo-cbs i {
  width: 22px;
  height: 15px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.trust-logo-cbs i::after {
  content: "";
  position: absolute;
  inset: 3px 6px;
  border-radius: 50%;
  background: currentColor;
}

.trust-logo-bbc {
  gap: 3px;
}

.trust-logo-bbc b {
  padding: 3px 4px 2px;
  color: var(--cream);
  background: #3d3b36;
  font-size: 14px;
  line-height: 1;
}

.trust-logo-hbo,
.trust-logo-fox {
  font-size: 24px;
}

.trust-logo-disney {
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
  letter-spacing: -0.08em;
}

.trust-logo-apple {
  font-size: 23px;
  letter-spacing: -0.08em;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.numbered-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.numbered-kicker span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: var(--display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 800px;
  font-size: clamp(39px, 4.7vw, 62px);
  line-height: 1.01;
}

h2 {
  max-width: 800px;
  font-size: clamp(31px, 3.5vw, 48px);
  line-height: 1.06;
}

h3 {
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.15;
}

p {
  color: var(--muted);
}

.hero p {
  color: rgba(255, 255, 255, 0.78);
}

.hero-lede {
  max-width: 560px;
  margin: 20px 0 0;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 13px 18px;
  font-weight: 800;
  white-space: nowrap;
  touch-action: manipulation;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}

.button:active {
  transform: scale(0.98);
}

.button.primary {
  background: var(--accent);
  color: #15110a;
}

.button.primary:hover {
  background: #c59a4b;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.button i {
  font-style: normal;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.social-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.11);
}

.social-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  border-radius: 50%;
  color: white;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.social-link.youtube .social-icon {
  background: #ff0033;
}

.social-link.instagram .social-icon {
  background: linear-gradient(135deg, #833ab4, #fd1d1d 58%, #fcb045);
  font-size: 20px;
}

.social-link.spotify .social-icon {
  color: #111;
  background: #1ed760;
  font-size: 22px;
}

.social-link.imdb .social-icon {
  width: 40px;
  flex-basis: 40px;
  border-radius: 7px;
  color: #111;
  background: #f5c518;
  font-size: 11px;
  letter-spacing: -0.04em;
}

.social-link.tiktok .social-icon {
  color: white;
  background: #111;
  box-shadow: -2px 0 #25f4ee, 2px 0 #fe2c55;
  font-size: 19px;
}

body.modal-open {
  overflow: hidden;
}

.project-modal[hidden] {
  display: none;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.project-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 10, 0.8);
  backdrop-filter: blur(12px);
  animation: modal-fade-in 220ms var(--ease) both;
}

.project-modal-window {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: #f4f2ed;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
  animation: modal-rise-in 300ms var(--ease) both;
}

.project-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(20, 22, 26, 0.12);
  background: #f4f2ed;
}

.project-modal-header .kicker {
  margin: 0 0 5px;
}

.project-modal-header h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1;
}

.project-modal-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid rgba(20, 22, 26, 0.16);
  border-radius: 50%;
  color: var(--ink);
  background: white;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}

.project-modal-close:hover {
  transform: rotate(8deg);
  background: var(--accent);
}

.project-modal-form {
  min-height: 0;
  overflow: auto;
  background: white;
}

.project-modal-form iframe {
  width: 100%;
  height: min(76vh, 993px);
  display: block;
  border: 0;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-rise-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.statement {
  position: relative;
  width: min(100% - 40px, 840px);
  max-width: 840px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line-dark);
  border-radius: clamp(26px, 5vw, 54px);
  color: white;
  background:
    radial-gradient(circle at 88% 12%, rgba(180, 138, 60, 0.28), transparent 26rem),
    linear-gradient(135deg, #17191d, #0d0f12);
  box-shadow: 0 24px 70px rgba(17, 18, 20, 0.2);
}

.statement blockquote {
  margin: 0;
  max-width: 760px;
  font-size: clamp(27px, 3.4vw, 45px);
  line-height: 1.08;
  text-align: center;
  text-wrap: balance;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 28px;
}

.section-heading p:not(.kicker) {
  max-width: 680px;
  margin: 16px 0 0;
  font-size: 18px;
}

.work {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: var(--surface);
}

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

.portfolio-explore {
  margin-top: 24px;
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 10%, rgba(180, 138, 60, 0.18), transparent 18rem),
    #fff;
}

.portfolio-explore .kicker {
  margin-bottom: 8px;
}

.portfolio-explore h3 {
  font-size: clamp(25px, 3vw, 38px);
}

.portfolio-explore p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.portfolio-explore-button {
  flex: 0 0 auto;
  border: 0;
  color: #15110a;
  background: var(--accent);
  cursor: pointer;
}

.portfolio-explore-button:hover {
  background: #c59a4b;
}

.portfolio-explore-button i {
  transition: transform 220ms var(--ease);
}

.portfolio-explore-button[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.portfolio-archive[hidden] {
  display: none;
}

.portfolio-archive {
  margin-top: 18px;
  animation: archive-reveal 380ms var(--ease) both;
}

@keyframes archive-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.credit-card,
.credit-card.wide,
.credit-card.tall {
  grid-column: auto;
  grid-row: auto;
}

.credit-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
  box-shadow: 0 12px 34px rgba(18, 18, 18, 0.12);
}

.credit-card.portrait {
  min-height: 420px;
}

.credit-card.wide {
  grid-column: span 2;
}

.credit-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 300ms var(--ease);
}

.credit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72));
}

.credit-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: white;
}

.credit-card span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.credit-card strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.02;
}

.credit-card:hover img {
  transform: scale(1.04);
}

.about {
  display: block;
  padding-bottom: clamp(24px, 3vw, 44px);
}

.about-heading {
  max-width: 780px;
}

.about-copy {
  display: grid;
  gap: 16px;
  max-width: 690px;
  margin-top: 22px;
}

.about-copy p {
  margin: 0;
  max-width: 660px;
  font-size: 18px;
  line-height: 1.72;
}

.services {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: var(--surface-soft);
}

.services .section-heading {
  max-width: 1180px;
}

.services .section-heading h2 {
  max-width: 800px;
}

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

.service {
  min-height: 210px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18, 18, 18, 0.06);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.service:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(18, 18, 18, 0.1);
}

.service h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.service p {
  margin: 0;
}

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

.video-card,
.playlist-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(18, 18, 18, 0.08);
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.video-card h3 {
  padding: 18px;
  font-size: 22px;
}

.playlist-card {
  grid-column: 1 / -1;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 480px);
  align-items: center;
  gap: 20px;
}

.playlist-card .kicker {
  margin-bottom: 8px;
}

.playlist-card h3 {
  margin-bottom: 8px;
}

.playlist-card p:not(.kicker) {
  max-width: 680px;
  margin: 0;
}

.disco-embed {
  width: 100%;
  max-width: 480px;
  min-height: 395px;
  border: 0;
  border-radius: 14px;
  background: white;
}

.edge {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.edge-panel,
.contact-card {
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 12px 38px rgba(18, 18, 18, 0.08);
}

.edge-panel p:not(.kicker),
.contact-card p:not(.kicker) {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.68;
}

.edge-panel .founder-quote {
  margin: 28px 0 20px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(22px, 2.5vw, 31px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.edge-image {
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 460px;
  box-shadow: 0 12px 38px rgba(18, 18, 18, 0.1);
}

.edge-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.course-promo {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  color: white;
  background:
    radial-gradient(circle at 12% 16%, rgba(180, 138, 60, 0.25), transparent 25rem),
    linear-gradient(135deg, #17191d, #0d0f12);
  box-shadow: 0 22px 64px rgba(18, 18, 18, 0.18);
}

.course-cover {
  min-height: 330px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, transparent 0 58%, rgba(180, 138, 60, 0.82) 58% 61%, transparent 61%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 24px),
    #101216;
}

.course-cover::after {
  content: "";
  width: 170px;
  height: 170px;
  position: absolute;
  right: -42px;
  top: -42px;
  border: 1px solid rgba(180, 138, 60, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(180, 138, 60, 0.08), 0 0 0 44px rgba(180, 138, 60, 0.04);
}

.course-cover span,
.course-cover small {
  position: relative;
  z-index: 1;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.course-cover span {
  font-size: 11px;
}

.course-cover strong {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.course-cover small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
}

.course-content {
  max-width: 660px;
}

.course-content h2 {
  max-width: 640px;
}

.course-content > p:not(.kicker) {
  max-width: 600px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.65;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.course-meta span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.course-button {
  width: fit-content;
  margin-top: 26px;
  color: #15110a;
  background: var(--accent);
}

.course-button:hover {
  background: #c59a4b;
}

.affiliate-note {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.5;
}

.contact {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: var(--dark);
}

.contact-card {
  color: white;
  background: linear-gradient(135deg, #15171b, #0d0f12);
  border-color: var(--line-dark);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.legal-page {
  min-height: 100vh;
  background: var(--bg);
}

.legal-header {
  width: min(100% - 40px, 900px);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) 0 44px;
}

.legal-header h1 {
  max-width: 760px;
}

.legal-header p {
  max-width: 680px;
  margin: 20px 0 0;
}

.legal-content {
  width: min(100% - 40px, 900px);
  margin: 0 auto;
  padding: 0 0 clamp(70px, 10vw, 130px);
}

.legal-content section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  max-width: 720px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-content p,
.legal-content li {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.legal-content ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 460ms var(--ease), transform 460ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .trust-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .statement,
  .about,
  .edge,
  .course-promo {
    grid-template-columns: 1fr;
  }

  .course-cover {
    min-height: 270px;
  }

  .credit-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credit-card.wide {
    grid-column: span 1;
  }

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

@media (max-width: 760px) {
  .hero h1 br {
    display: none;
  }

  .trust-strip {
    padding-inline: 16px;
  }

  .trust-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 14px;
  }

  .trust-logo {
    height: 44px;
  }

  .nav {
    width: min(100% - 28px, 1180px);
    min-height: 68px;
    position: relative;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 16px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 13px 14px;
    font-size: 16px;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 58px 0;
  }

  .hero,
  .work,
  .services,
  .contact {
    padding-inline: 16px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 60px;
    min-height: 760px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero-lede,
  .section-heading p:not(.kicker),
  .about-copy p,
  .statement p,
  .edge-panel p:not(.kicker),
  .contact-card p:not(.kicker) {
    font-size: 16px;
  }

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

  .button {
    width: 100%;
  }

  .contact-socials {
    display: grid;
    grid-template-columns: 1fr;
  }

  .social-link {
    width: 100%;
  }

  .course-promo {
    padding: 16px;
  }

  .course-cover {
    min-height: 250px;
  }

  .course-button {
    width: 100%;
  }

  .portfolio-explore {
    align-items: stretch;
    flex-direction: column;
  }

  .portfolio-explore-button {
    width: 100%;
  }

  .project-modal {
    padding: 10px;
  }

  .project-modal-window {
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  .project-modal-header {
    padding: 18px;
  }

  .project-modal-form iframe {
    height: calc(100dvh - 112px);
  }

  .credit-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(13, 15, 18, 0.88) 0%, rgba(13, 15, 18, 0.76) 56%, rgba(13, 15, 18, 0.9) 100%),
      radial-gradient(circle at 18% 18%, rgba(180, 138, 60, 0.22), transparent 28rem);
  }

  .playlist-card {
    grid-template-columns: 1fr;
  }

  .playlist-card .button {
    width: 100%;
  }

  .statement blockquote {
    font-size: clamp(28px, 8vw, 38px);
  }

  .credit-card {
    min-height: 260px;
  }

  .service {
    min-height: auto;
  }

  .service span {
    margin-bottom: 24px;
  }

  .edge-image {
    min-height: 300px;
  }

  .footer {
    width: min(100% - 32px, 1180px);
    display: grid;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

}
