/* Gray's Autonomy — personal brand / live resume */

:root {
  --ink: #141414;
  --paper: #f6f2ea;
  --white: #fffdf9;
  --plum: #7D3C7D;
  --plum-soft: #f3e8f1;
  --tan: #C59358;
  --mute: #6b6560;
  --line: #e4dcd0;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", sans-serif;
  --header-h: 4.25rem;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --measure: 42rem;
  --page: 72rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

figure { margin: 0; }

a {
  color: var(--plum);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 7vw, 4.25rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

ul { margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--page);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.7rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.15;
}

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

.brand-lockup {
  display: flex;
  flex-direction: column;
}

.brand-mark {
  position: relative;
  display: block;
  width: 2.7rem;
  height: 2.7rem;
  overflow: hidden;
  background: #07101c;
  flex-shrink: 0;
}

.brand-mark img,
.brand-mark video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  pointer-events: none;
}

.brand-mark video.is-done { opacity: 0; }

.ga-splash {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #06101c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ga-splash[hidden] { display: none; }

.ga-splash video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  content: "";
  display: block;
  height: 1px;
  background: currentColor;
  transform: rotate(-90deg);
}

.header-cta {
  display: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--plum);
  border: 1px solid var(--plum);
  padding: 0.55rem 0.95rem;
  min-height: 2.75rem;
  white-space: nowrap;
  align-items: center;
}

.header-cta:hover {
  background: var(--plum);
  color: var(--white);
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem var(--space) 1.1rem;
}

.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.08rem;
  padding: 0.65rem 0.15rem;
}

.site-nav a[aria-current="page"] {
  color: var(--plum);
}

.site-nav a:hover { color: var(--plum); }

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--space);
}

.page-main { padding-bottom: 4rem; }

.page-head {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.5rem;
}

.kicker {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum);
  font-weight: 600;
}

.lede {
  max-width: 36rem;
  color: var(--mute);
  font-size: 1.15rem;
}

.pill {
  display: inline-block;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--plum);
  color: var(--plum);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0.75rem 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem var(--space);
  color: var(--mute);
  font-size: 0.88rem;
}

.footer-inner {
  max-width: var(--page);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

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

.sep::before {
  content: "·";
  color: var(--tan);
  margin-right: 0.75rem;
}

/* Home */
.hero {
  display: grid;
}

.hero-portrait {
  margin: 0;
  background: #8a8682;
  min-height: 70vh;
}

.hero-portrait img {
  width: 100%;
  height: 70vh;
  min-height: 28rem;
  object-fit: cover;
  object-position: center 18%;
}

.hero-copy {
  padding: 2.25rem var(--space) 2.75rem;
}

.hero-copy h1 {
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  margin: 0 0 0.7rem;
  line-height: 1.08;
  max-width: 14ch;
}

.hero-loc {
  margin: 0 0 1rem;
  color: var(--mute);
  letter-spacing: 0.04em;
}

.hero-rule {
  width: 4.5rem;
  height: 2px;
  background: var(--plum);
  border: 0;
  margin: 0 0 1.35rem;
}

.hero-line {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 0.55rem;
  max-width: 18ch;
}

.hero-line + .hero-line {
  font-style: italic;
  color: var(--plum);
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  max-width: 26ch;
  margin-bottom: 1.35rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 1.25rem 0 1.75rem;
}

.tenure {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.stats strong {
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1;
}

.stats span {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}

.blueprint-tease {
  padding: 3.25rem 0 1rem;
}

.section-line {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  margin: 0 0 1.6rem;
}

.plate-grid {
  display: grid;
  gap: 1.5rem;
}

.plate-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.7rem;
}

.plate-card:hover {
  border-color: var(--tan);
}

.plate-card img {
  width: 100%;
  aspect-ratio: 2752 / 1536;
  object-fit: cover;
  object-position: center top;
}

.plate-card figcaption {
  padding: 0.95rem 0.35rem 0.4rem;
}

.plate-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

/* Work */
.blueprint {
  padding: 0 0 3.5rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.blueprint + .blueprint {
  border-top: 1px solid var(--line);
  padding-top: 3.25rem;
}

.job-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--mute);
  margin: -0.2rem 0 1.4rem;
}

.plate-frame {
  margin: 0 0 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.7rem;
}

.plate-frame img {
  width: 100%;
}

.plate-video {
  max-width: 22rem;
  background: #06101c;
  padding: 0;
}

.plate-video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #06101c;
}

.agents {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.75rem;
}

.agents li {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.28rem 0.65rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

.how-why {
  display: grid;
  gap: 1.5rem;
}

.how-why h3 {
  color: var(--plum);
  margin-bottom: 0.45rem;
}

.how-why ul {
  list-style: none;
}

.how-why li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.45rem;
  max-width: 40rem;
}

.how-why li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.4rem;
  height: 1px;
  background: var(--tan);
}

.coming {
  margin-top: 0.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.2rem;
}

/* About */
.led-list {
  list-style: none;
  margin: 0 0 3rem;
}

.led-list li {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.role {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.company {
  color: var(--mute);
}

.years {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum);
  margin-top: 0.2rem;
}

.quotes { margin: 0 0 3rem; }

.quote {
  margin: 0 0 1rem;
  padding: 1.35rem 1.4rem;
  background: var(--plum-soft);
  border-left: 3px solid var(--plum);
}

.quote.featured {
  padding: 1.7rem 1.6rem;
}

.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.35;
  margin: 0 0 0.7rem;
}

.quote footer {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.88rem;
  color: var(--mute);
}

.creds {
  list-style: none;
}

.creds li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum);
  font-weight: 600;
  margin: 0 0 0.85rem;
}

/* Contact */
.contact-list {
  list-style: none;
  margin: 0 0 2.5rem;
}

.contact-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.2rem;
}

.contact-list a {
  text-decoration: none;
  color: var(--ink);
}

.contact-list a:hover { color: var(--plum); }


@media (min-width: 800px) {
  .nav-toggle { display: none; }

  .header-inner { gap: 2rem; }

  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    margin-left: auto;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }

  .site-nav a { padding: 0.45rem 0.2rem; min-height: 2.75rem; }

  .header-cta { display: inline-flex; }

  .hero {
    grid-template-columns: minmax(18rem, 42%) 1fr;
    min-height: calc(100vh - var(--header-h));
  }

  .hero-portrait,
  .hero-portrait img {
    height: 100%;
    min-height: calc(100vh - var(--header-h));
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem clamp(2rem, 5vw, 4.5rem);
  }

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

  .plate-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }

  .how-why {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

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

.hero-lede {
  max-width: 38rem;
  color: var(--mute);
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

.hero-quote {
  font-family: var(--serif);
  font-style: italic;
  color: var(--plum);
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.proof-label {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum);
  font-weight: 600;
}

.proof-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.6rem;
}

.proof-row li {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum);
  border: 1px solid var(--plum);
  padding: 0.65rem 1rem;
}

.btn:hover { color: var(--white); background: var(--plum); }

.btn-fill {
  background: var(--plum);
  color: var(--white);
}

.btn-fill:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

.core-type {
  margin: -0.4rem 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
  font-weight: 600;
}

.about-cta { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }

.contact-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
  font-weight: 600;
  margin-bottom: 0.2rem;
}



/* Hero name */
.hero-name {
  margin: -0.15rem 0 0.85rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Home featured work strip */
.work-strip {
  background: #06101c;
  color: #f6f2ea;
  padding: 2.5rem 0 3.5rem;
}

.work-strip-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--space);
  display: grid;
  gap: 1.15rem;
}

.work-lead,
.work-support {
  display: grid;
  color: #f6f2ea;
  background: #06101c;
  gap: 0;
}

.work-lead .ga-player {
  max-width: 26rem;
  width: 100%;
  margin: 0 auto;
}

.work-support .ga-player {
  max-width: 20rem;
  width: 100%;
  margin: 0 auto;
}

.work-lead .ga-player video,
.work-support .ga-player video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: center;
  background: #06101c;
  display: block;
}

.work-cap {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 0 0.2rem;
}

.work-strip .kicker {
  color: var(--tan);
  margin: 0;
}

.work-cap strong {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 400;
}

.work-strip .job-line {
  margin: 0.15rem 0 0;
  font-size: 1.02rem;
  color: color-mix(in srgb, #f6f2ea 70%, transparent);
}

.work-support-row {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .work-lead {
    grid-template-columns: minmax(16rem, 1fr) auto;
    align-items: center;
    gap: 2.5rem;
  }

  .work-lead .ga-player {
    max-width: 22rem;
    margin: 0;
  }

  .work-lead .work-cap {
    padding-top: 0;
  }

  .work-support-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }
}

/* Work cinema stage */
.page-head-work {
  margin-bottom: 0;
}

.film-stage {
  background: #06101c;
  color: #f6f2ea;
  padding: 2.75rem var(--space) 4.5rem;
}

.film-stage .kicker {
  color: var(--tan);
}

.film-stage h2 {
  color: #f6f2ea;
  margin: 0 0 0.4rem;
}

.film-stage .job-line {
  color: color-mix(in srgb, #f6f2ea 74%, #C59358);
}

.film-stage .btn-fill:hover {
  background: var(--tan);
  border-color: var(--tan);
  color: #06101c;
}

.featured-film {
  max-width: var(--page);
  margin: 0 auto 4rem;
  display: grid;
  gap: 1.75rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.featured-film-copy h2 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.featured-film-copy .job-line {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  margin: 0 0 1.6rem;
  max-width: 22rem;
}

.film-bezel {
  margin: 0;
  background: #06101c;
  line-height: 0;
}

.film-bezel .ga-player {
  position: relative;
  width: 100%;
  height: 100%;
}

.film-bezel video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #06101c;
}

.film-grid {
  max-width: var(--page);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

.film-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.film-card h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
}

.film-card .job-line {
  margin: 0;
}

.film-card .btn {
  justify-self: start;
}

@media (min-width: 900px) {
  .featured-film {
    grid-template-columns: minmax(16rem, 1fr) auto;
    align-items: center;
    gap: 3.25rem;
    min-height: 78vh;
  }

  .featured-film .film-bezel {
    height: 78vh;
    width: calc(78vh * 9 / 16);
    max-width: min(28rem, 46vw);
    max-height: 78vh;
  }

  .featured-film .film-bezel .ga-player,
  .featured-film .film-bezel video {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .film-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem 2.25rem;
  }
}


/* Shared click-to-play player */
.ga-player {
  position: relative;
  background: #06101c;
  isolation: isolate;
}

.ga-player:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: 3px;
}

.ga-player,
.film-bezel,
.work-lead,
.work-support,
.featured-film,
.film-card {
  max-width: 100%;
}
.ga-player video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #06101c;
  pointer-events: none;
}

.ga-player.is-playing video {
  pointer-events: auto;
}

.ga-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(6, 16, 28, 0.28);
  cursor: pointer;
  color: var(--plum);
}

.ga-play:hover {
  background: rgba(6, 16, 28, 0.4);
}

.ga-play:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: -4px;
}

.ga-play-disc {
  display: grid;
  place-items: center;
  width: 4.75rem;
  height: 4.75rem;
  min-width: 4.75rem;
  min-height: 4.75rem;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}

.ga-play:hover .ga-play-disc,
.ga-player:focus-visible .ga-play-disc {
  transform: scale(1.06);
  background: var(--white);
}

.ga-play-icon {
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.22rem;
  border-style: solid;
  border-width: 0.72rem 0 0.72rem 1.2rem;
  border-color: transparent transparent transparent var(--plum);
}

.ga-player.is-playing .ga-play {
  display: none;
}

.work-more {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.45rem;
  color: var(--tan);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-more:hover { color: #f6f2ea; }

.work-cap .job-line { max-width: 28rem; }

/* Contact chat + site-wide dock */
.contact-shell { padding-bottom: 3rem; }

#ga-chat-page,
.ga-chat-page,
.ga-chat--page,
.ga-chat {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  min-height: 0;
}

#ga-chat-page,
.ga-chat-page,
.ga-chat--page {
  min-height: min(72vh, 44rem);
  max-width: none;
  margin-top: 1.5rem;
}

.ga-chat-log {
  flex: 1;
  overflow: auto;
  padding: 1.25rem 1.2rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 16rem;
}

.ga-msg {
  max-width: min(38rem, 100%);
}

.ga-msg--user {
  align-self: flex-end;
}

.ga-msg-who {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}

.ga-msg-body {
  padding: 0.85rem 1rem;
  line-height: 1.5;
  background: var(--paper);
  border: 1px solid var(--line);
}

.ga-msg--bot .ga-msg-body {
  font-family: var(--serif);
  font-size: 1.12rem;
}

.ga-msg--user .ga-msg-body {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--white);
}

.ga-msg--user .ga-msg-who {
  text-align: right;
}

.ga-msg-body a { color: inherit; }
.ga-msg--bot .ga-msg-body a { color: var(--plum); }

.ga-chat-starters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.75rem 1.1rem 0.35rem;
}

.ga-chip {
  font: inherit;
  font-size: 0.85rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.ga-chip:hover,
.ga-chip:focus-visible {
  border-color: var(--plum);
  color: var(--plum);
}

.ga-chat-composer {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem 1.1rem;
  border-top: 1px solid var(--line);
}

.ga-chat-composer input {
  flex: 1;
  min-height: 2.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.65rem 0.85rem;
}

.ga-chat-composer input:focus {
  outline: 2px solid var(--plum);
  outline-offset: 1px;
  border-color: var(--plum);
}

.ga-chat-send {
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 2.85rem;
  min-width: 4.5rem;
  padding: 0.65rem 1.05rem;
  color: var(--white);
  background: var(--plum);
  border: 1px solid var(--plum);
  cursor: pointer;
}

.ga-chat-send:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.ga-chat-launch {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.2rem 0.85rem 0.2rem 0.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--plum);
  color: var(--white);
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(125, 60, 125, 0.35);
}

.ga-chat-launch:hover { background: var(--ink); }
.ga-chat-launch-label { pointer-events: none; }

.ga-chat-dock {
  position: fixed;
  right: 1.1rem;
  bottom: 5.1rem;
  z-index: 89;
  width: min(26rem, calc(100vw - 1.5rem));
  height: min(38rem, calc(100vh - 7.5rem));
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(20, 20, 20, 0.22);
}

.ga-chat-dock[hidden] { display: none !important; }

.ga-chat--dock {
  width: 100%;
  height: 100%;
  border: 0;
}

.ga-chat-dock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.ga-chat-dock-head p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.ga-chat-close {
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 2.5rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.ga-chat-close:hover { border-color: var(--plum); color: var(--plum); }

.ga-chat-dock-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.ga-chat-dock-body .ga-chat-log {
  min-height: 10rem;
}

.page-contact .ga-chat-launch,
.page-contact .ga-chat-dock {
  display: none !important;
}

@media (max-width: 520px) {
  .ga-chat-dock {
    right: 0.6rem;
    left: 0.6rem;
    width: auto;
    bottom: 4.8rem;
  }

  .ga-chat-launch {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

.nav-cta a {
  color: var(--plum);
  font-weight: 600;
}
@media (min-width: 800px) {
  .nav-cta { display: none; }
}
.page-head, .featured-film, .film-card, .work-lead, .work-support {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.page-contact .page-head { padding-top: 0.5rem; }
.ga-splash-skip {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: #f6f2ea;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.ga-play {
  min-width: 3.5rem;
  min-height: 3.5rem;
}
.led-list .pill, .pills .pill {
  cursor: default;
}
.ga-chat-launch {
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 800px) {
  .ga-player.is-playing .ga-play {
    display: grid;
    background: rgba(6, 16, 28, 0.2);
  }
  .ga-player.is-playing .ga-play-icon {
    width: 0.9rem;
    height: 1rem;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: inset 0.28rem 0 0 var(--plum), inset -0.28rem 0 0 var(--plum);
  }
}
body.ga-chat-open .ga-chat-launch {
  display: none !important;
}
.ga-chip {
  min-height: 44px;
}

/* Ozzie face — dock, launcher, page chat */
.ga-ozzie-face {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  background: var(--plum);
  display: block;
  flex-shrink: 0;
}
.ga-chat-launch-face {
  width: 48px;
  height: 48px;
}
.ga-chat-dock-who {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.ga-chat-dock-who .ga-ozzie-face {
  width: 38px;
  height: 38px;
}
.ga-chat-page-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.ga-chat-page-head p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
}
