.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(400px, 43vw, 525px);
}
.hero-heading { padding-block: 48px; }
.hero-heading .eyebrow { color: #fff; font-weight: 600; }
.hero h1, .about-wordmark, .hero-statement {
  width: max-content;
  white-space: nowrap;
}
.hero h1, .about-wordmark {
  margin-top: 0.55rem;
  color: var(--gold);
  font: italic 500 clamp(3.9rem, 9.7vw, 8.5rem)/1.025 "Playfair Display", Georgia, serif;
  letter-spacing: -0.06em;
  text-transform: none;
}
.about-wordmark { font-size: clamp(2.65rem, 22cqi, 8.5rem); }
.hero-statement {
  margin-top: 1.3rem;
  font-size: clamp(0.875rem, 2.2vw, 1.625rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.hero-invitation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  margin-top: 0.65rem;
  color: var(--muted);
}
.glass-cta {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  background: var(--gold-glass-surface);
  box-shadow: var(--gold-glass-shadow);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 710;
  letter-spacing: 0.04em;
  text-decoration: none;
}
a.glass-cta:is(:hover, :focus-visible) {
  box-shadow:
    inset 0 0 10px rgb(191 167 111 / 0.35),
    0 0 14px rgb(191 167 111 / 0.3);
}
@media (prefers-reduced-motion: no-preference) {
  .glass-cta { transition: box-shadow var(--glass-ease); }
}

.hero-portrait {
  position: relative;
  align-self: stretch;
  min-width: 0;
}
.hero-portrait .portrait {
  position: absolute;
  inset: 0;
  height: 100%;
  object-position: 50% 38%;
}

.home-feature, .home-reel {
  border-top: 1px solid var(--line);
  padding-top: clamp(23px, 4.25vw, 53px);
  scroll-margin-top: 24px;
}
.home-section-heading {
  margin-bottom: clamp(18px, 3vw, 29px);
}
.home-section-heading h2,
.home-work .section-heading h2 {
  font-size: clamp(1.75rem, 3.55vw, 2.9375rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.home-work, .home-reel { margin-top: clamp(2.25rem, 5.5vw, 5rem); }
.home-work { padding-bottom: 0; }
.home-work .work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.home-feature .screen { border-radius: 6px; scroll-margin-top: 24px; }
.reel-player { --white: #ffffff; position: relative; }
.reel-picture { position: relative; isolation: isolate; }
.reel-play[hidden], .reel-fullscreen[hidden] { display: none; }
.reel-fullscreen { margin-inline-start: auto; }
.reel-player:not(:fullscreen, .is-expanded) .fullscreen-exit,
.reel-player:is(:fullscreen, .is-expanded) .fullscreen-enter { display: none; }
.reel-player.is-expanded {
  position: fixed;
  z-index: 10;
  inset: 0;
}
html:has(.reel-player.is-expanded) { overflow: hidden; }
.reel-player:is(:fullscreen, .is-expanded) {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--black);
}
.reel-player:is(:fullscreen, .is-expanded) .reel-video {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  background: var(--black);
}
.reel-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  border-radius: 6px;
  background: var(--inset);
}
.home-work + .closing { margin-top: clamp(2.25rem, 5.5vw, 5rem); }

@media (max-width: 700px) {
  .home-work .work-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-portrait {
    order: -1;
    height: clamp(190px, 44vw, 285px);
    margin-bottom: -34px;
  }
  .hero-heading { padding: 2rem 0 1.3rem; }
  .hero h1 { font-size: clamp(3.3rem, 14vw, 5.85rem); }
  .hero-statement {
    margin-top: 0.85rem;
    font-size: clamp(0.875rem, 4.4vw, 1.625rem);
  }
}

@media (max-width: 40rem) {
  .hero-heading {
    container-type: inline-size;
    --mobile-name-size: clamp(2.65rem, 22cqi, 8.5rem);
  }
  .hero h1 { font-size: var(--mobile-name-size); }
  .hero .hero-statement {
    /* Match the wordmark’s text width using the bundled fonts at fixed optical size. */
    font-optical-sizing: none;
    font-size: calc(var(--mobile-name-size) * 0.233);
    white-space: nowrap;
  }
}

.about-portrait.about-portrait-mobile { display: none; }

@media (max-width: 40rem) {
  .hero-portrait,
  .hero-invitation,
  .page-intro .project-cta[href="#screening"],
  .about-portrait.about-portrait-desktop { display: none; }

  .about-portrait.about-portrait-mobile {
    display: block;
    margin-top: 1.25rem;
  }
}
