/* Personal introduction and a consistent service gallery. */
:root { --type-section: clamp(2.25rem, 3.7vw, 3.75rem); }
.studio-title h2, .service-copy h4, .contact-copy h2 { font: 600 var(--type-section)/1.08 var(--display); letter-spacing: -.035em; }
.hero h1 { font-weight: 600; letter-spacing: -.035em; }
.hero-clients { display: flex; flex-wrap: wrap; align-items: center; gap: .875rem 1.125rem; margin-top: 1.75rem; max-width: 660px; }
.hero-client-list { display: flex; flex: 0 0 auto; align-items: center; list-style: none; margin: 0; padding: 0; isolation: isolate; }
.hero-client-list > li { position: relative; }
.hero-client-list > li + li { margin-left: -12px; }
.hero-client-avatar { display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border: 3px solid var(--paper); border-radius: 50%; background: #ececec; }
.hero-client-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-client-wordmark img { width: 84%; height: auto; object-fit: contain; filter: brightness(0); }
.hero-client-copy { display: grid; flex: 1 1 260px; gap: .2rem; min-width: 0; }
.hero-client-copy strong { color: #d5d5d5; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.hero-client-copy > span { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.studio-section { padding-top: clamp(3.5rem, 6vw, 6rem); }
.studio-kicker { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.studio-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.studio-title h2 span { color: #858585; }
.studio-bio { max-width: 57ch; }
.studio-bio p { color: #c0c0c0; font-size: 1rem; line-height: 1.65; }
.studio-bio p + p { margin-top: 1rem; color: #999; }

.service-board { color-scheme: dark; color: var(--ink); margin-top: clamp(3rem, 6vw, 6rem); }
.service-board-top { border-bottom: 1px solid var(--line); }
.service-board .audience-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; border: 0; }
.service-board .audience-tabs[hidden] { display: none; }
.service-board .audience-tab { position: relative; margin: 0 0 -1px; min-height: 64px; padding: 1rem 0; border: 0; color: #969696; text-align: left; font: 400 clamp(1rem, 1.4vw, 1.25rem)/1.4 Arial, sans-serif; }
.service-board .audience-tab::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: #f4f4f4; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-board .audience-tab:hover, .service-board .audience-tab[aria-selected=true] { color: #f4f4f4; background: none; }
.service-board .audience-tab[aria-selected=true]::after { transform: scaleX(1); }
.service-board .audience-content { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2.5rem, 5vw, 5rem); padding-block: clamp(2.5rem, 4.5vw, 4.5rem); }
.service-board .audience-panel-title { grid-column: 1 / -1; margin: 0; }
.service-copy { min-width: 0; }
.service-copy h4 { margin: 0 0 1.5rem; }
.service-copy h4 span { color: #9a9a9a; }
.service-board .service-copy > p { color: #b8b8b8; font-size: 1rem; line-height: 1.65; max-width: 44ch; }
.service-deliverables { display: grid; margin: 1.75rem 0 0; padding: 0; max-width: 460px; }
.service-deliverables > div { display: grid; grid-template-columns: 72px 1fr; align-items: baseline; gap: 1rem; padding: .75rem 0; border-top: 1px solid #2a2a2a; }
.service-deliverables dt { color: #999; font: 400 .8125rem/1.5 Arial, sans-serif; }
.service-deliverables dd { margin: 0; color: #ccc; font-size: .875rem; line-height: 1.5; }
.service-action { margin-top: 1.75rem; }
.service-board .audience-enquire { width: fit-content; max-width: 100%; min-height: 52px; padding: .875rem 1.25rem; border-radius: 6px; font-size: .9375rem; }
.service-board p.service-note { margin-top: .875rem; color: #999; font-size: .8125rem; line-height: 1.5; max-width: 43ch; }

.service-evidence { min-width: 0; width: 100%; max-width: 740px; justify-self: end; }
.service-board .audience-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1.25rem; margin: 0; }
.service-board .audience-example { display: block; padding: 0; min-height: 0; border: 0; border-radius: 0; background: none; }
.service-board .audience-example-media { display: block; position: relative; grid-column: 1 / -1; min-width: 0; width: 100%; overflow: hidden; border-radius: 8px; background: #191919; isolation: isolate; aspect-ratio: 4 / 5; }
.service-board .audience-example-thumb { display: block; width: 100%; height: 100%; border-radius: 0; object-fit: cover; object-position: center; }
.service-board .film-preview { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity .3s; }
.service-board .film-youtube-preview { position: absolute; inset: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: opacity .3s; }
/* A 16:9 source fills a 4:5 preview. Reset the hero crop, including its transform. */
.service-board .film-youtube-preview iframe { position: absolute; inset: 50% auto auto 50%; width: 222.223%; max-width: none; height: 100%; transform: translate(-50%, -50%); border: 0; }
.service-board .is-playing .film-preview, .service-board .is-playing .film-youtube-preview { opacity: 1; }
.service-board [data-project="wNOfuD4JIbg"] .audience-example-thumb { object-position: right center; }
.service-board .audience-example-copy { display: grid; gap: .375rem; margin-top: .875rem; overflow-wrap: normal; }
.service-board .audience-example-copy strong { color: #efefef; font: 600 1rem/1.3 var(--display); letter-spacing: -.02em; }
.service-board .audience-example-copy > span { color: #a0a0a0; font-size: .8125rem; line-height: 1.5; }
.service-board .audience-example-play { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 36px; height: 36px; border: 1px solid #ffffff90; background: #1119; color: white; }
.service-board .audience-example-play svg { width: 12px; height: 12px; }
.service-board .audience-example:hover, .service-board .audience-example:focus-visible { background: none; }
.service-board .audience-example:hover .audience-example-play, .service-board .audience-example:focus-visible .audience-example-play { color: #111; background: #f4f4f4; border-color: #f4f4f4; }

.studio-section .about-proof { margin: 0; padding-block: 3rem; border-block: 1px solid var(--line); column-gap: 5rem; align-items: center; }
.studio-section .experience-strip { max-width: 520px; gap: 2rem; }
.studio-section .experience-strip strong { font: 600 clamp(2.5rem, 4vw, 4rem)/1.1 var(--display); letter-spacing: -.05em; }
.studio-section .experience-strip span { max-width: none; }
.studio-section .testimonial blockquote { font: 600 clamp(1.5rem, 2.1vw, 2rem)/1.35 var(--display); letter-spacing: -.035em; max-width: 33ch; text-wrap: pretty; }
.studio-section .quote-credit { margin-top: 1.5rem; }
.contact-section { padding-block: clamp(3.5rem, 6vw, 5rem); }

/* Repeated content roles use the same type treatment across sections. */
.work-heading h2, .work-browser-header h3 { font: 600 1.375rem/1.3 var(--display); letter-spacing: -.01em; }
.film-caption, #more-work-grid .additional-caption strong { font: 600 1rem/1.3 var(--display); letter-spacing: -.02em; }
.film-type { font: 400 .875rem/1.5 Arial, Helvetica, sans-serif; letter-spacing: normal; }
.contact-copy > p, .faqs details p, .project-information > p, .privacy-dialog > p { font-size: 1rem; line-height: 1.65; }
.faqs summary { font-size: .9375rem; line-height: 1.5; }
@media (max-width: 620px) {
  .work-heading h2, .work-browser-header h3 { font-size: 1.25rem; }
  .service-board .audience-enquire, .contact-section .pill-button { font-size: .875rem; }
}

/* Transitions enhance a synchronous tab switch; no animation dependency or hidden copy. */
.service-board.is-enhanced .audience-content:not([hidden]) .service-copy { view-transition-name: service-offer; }
.service-board.is-enhanced .audience-content:not([hidden]) .service-evidence { view-transition-name: service-films; }
::view-transition-group(service-offer), ::view-transition-group(service-films) { animation-duration: .32s; }
::view-transition-old(service-offer), ::view-transition-old(service-films) { animation-duration: .16s; }
::view-transition-new(service-offer), ::view-transition-new(service-films) { animation-duration: .32s; }
::view-transition-group(root) { animation: none; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

@media (max-width: 1050px) {
  :root { --type-section: 2.5rem; }
  .studio-intro { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .service-board .audience-content { gap: 2rem; }
  .service-board .service-copy > p { font-size: 1rem; }
  .service-board .audience-examples { column-gap: 1rem; }
  .service-board .audience-example-copy strong { font-size: 1rem; }
}
@media (max-width: 800px) {
  :root { --type-section: clamp(2.25rem, 6vw, 3rem); }
  .studio-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .studio-bio { max-width: 65ch; }
  .studio-section .about-proof { padding: 0; gap: 0; }
  .studio-section .proof-context, .studio-section .testimonial { padding-block: 2.5rem; }
  .studio-section .experience-strip { max-width: none; }
}
@media (max-width: 900px) {
  .service-board .audience-content { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 2.5rem 3rem; }
  .service-evidence { justify-self: start; max-width: 740px; }
  .service-board .service-copy > p { max-width: 50ch; }
  .service-board .audience-tab { min-height: 56px; font-size: 1rem; }
}
@media (max-width: 460px) {
  :root { --type-section: clamp(1.875rem, 7.9vw, 2.25rem); }
  .service-board { margin-top: 2.5rem; }
  .service-board .audience-tabs { grid-template-columns: 1.3fr 1fr 1fr; }
  .service-board .audience-tab { font-size: .875rem; }
  .service-board .audience-tab:nth-child(2) { text-align: center; }
  .service-board .audience-tab:last-child { text-align: right; }
  .service-deliverables > div { grid-template-columns: 56px 1fr; gap: .75rem; }
  .service-board .audience-enquire { width: 100%; justify-content: space-between; }
  .service-board .audience-example-play { width: 32px; height: 32px; right: 8px; bottom: 8px; }
  .studio-section .experience-strip { gap: 1.5rem; }
  .studio-section .experience-strip strong { font-size: 2.5rem; }
}

/* Mobile uses one uninterrupted, full-width introduction. */
@media (max-width: 620px) {
  .hero { display: block; padding-block: 2.5rem 2.5rem; }
  .hero-copy { display: block; width: 100%; }
  .hero h1 { display: block; width: 100%; max-width: none; padding: 0; margin: 0 0 1.5rem; font: 600 clamp(2.625rem, 13.8vw, 5rem)/1.06 var(--display); letter-spacing: -.035em; }
  .hero h1 > .hero-greeting, .hero h1 > .hero-promise { display: block; width: 100%; max-width: none; padding: 0; min-height: 0; margin: 0; font: inherit; letter-spacing: inherit; text-wrap: balance; }
  .hero-portrait { display: none; }
  .hero-copy > p { margin: 0; max-width: 52ch; font-size: 1rem; line-height: 1.6; }
  .hero-actions { margin: 1.5rem 0 0; gap: .5rem 1rem; }
  .hero-clients { display: grid; grid-template-columns: auto minmax(0, 1fr); width: 100%; gap: .75rem; margin: 1.5rem 0 0; }
  .hero-client-avatar { width: 32px; height: 32px; border-width: 2px; }
  .hero-client-list > li + li { margin-left: -12px; }
  .hero-client-copy { gap: .25rem; text-wrap: balance; }
  .hero-client-copy strong { font-size: .875rem; line-height: 1.4; }
  .hero-client-copy > span { font-size: .8125rem; line-height: 1.4; }
  .hero-actions .pill-button { padding-inline: 1rem; gap: 1rem; font-size: .875rem; }
  .hero-edit-link { font-size: .875rem; gap: .625rem; }
  .hero-edit-link .edit-link-icon { width: 18px; }
  .hero h1 > span { animation: none; }
}
@media (max-width: 359px) {
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .hero-actions .pill-button { width: 100%; justify-content: space-between; }
  .hero-edit-link { justify-self: center; }
}

/* The demonstration gives the picture the space; only the stage dock overlays it. */
.edit-dialog { --edit-height: min(720px, calc(100dvh - 190px)); width: min(1080px, calc(100% - 3rem)); max-width: none; max-height: calc(100dvh - 2rem); background: #151515; }
.edit-dialog .dialog-top { padding: .5rem 1.5rem; }
.edit-dialog .dialog-top h2 { font: 400 .9375rem/1.5 Arial, sans-serif; }
.edit-dialog .edit-lab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); padding: 2rem; }
.edit-player { width: min(100%, calc(var(--edit-height) * .5625)); justify-self: center; min-width: 0; }
.edit-dialog .edit-screen { padding: 0; background: transparent; }
.edit-dialog .edit-viewport { width: 100%; max-width: none; border-radius: 8px; }
.edit-dialog .edit-stages { position: absolute; z-index: 4; top: 12px; left: 12px; width: calc(100% - 24px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin: 0; padding: 4px; border: 1px solid #ffffff25; border-radius: 8px; background: #181818f2; box-shadow: 0 3px 12px #0003; }
.edit-dialog .edit-stages button { display: block; text-align: center; min-height: 40px; padding: .6rem .25rem; color: #ccc; border: 0; border-radius: 5px; background: transparent; font-size: .8125rem; white-space: nowrap; }
.edit-dialog .edit-stages button[aria-pressed=true] { background: #f4f4f4; color: #111; }
.edit-dialog .edit-stages button:hover { color: #fff; background: #393939; }
.edit-dialog .edit-stages button[aria-pressed=true]:hover { color: #111; background: #fff; }
.edit-dialog .edit-stages button:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.edit-guided-label { display: none; }
.edit-lab.is-guided [data-edit-video], .edit-lab.is-guided .edit-stages { display: none; }
.edit-lab.is-guided .edit-guided-label { position: absolute; z-index: 4; top: 10px; left: 10px; display: flex; align-items: center; gap: .5rem; padding: .4rem .6rem; border-radius: 5px; background: #101010df; color: #f4f4f4; font-size: .75rem; line-height: 1.4; pointer-events: none; }
.edit-guided-label [data-guided-count] { color: #aaa; font-variant-numeric: tabular-nums; }
.edit-lab.is-guided .edit-loading { inset: auto 50% 12px auto; transform: translateX(50%); width: max-content; padding: .4rem .65rem; border-radius: 5px; background: #101010df; }
.edit-dialog:has(.is-guided) { --edit-height: min(560px, max(240px, calc(100dvh - 280px))); }
.edit-lab.is-guided .edit-description { min-height: 3em; text-align: center; }
.edit-lab.is-guided .edit-detail, .edit-lab.is-guided .edit-actions { width: 100%; }
.edit-lab.is-guided .edit-controls { grid-template-columns: 52px minmax(0, 1fr) 66px 44px; gap: .25rem; }
.edit-lab.is-guided .edit-controls button { font-size: .8125rem; }
.edit-lab.is-guided .edit-time { font-size: .75rem; }
.edit-dialog .edit-controls { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 62px 44px; gap: .5rem; margin: .5rem 0 0; align-items: center; }
.edit-controls [data-edit-play] { grid-column: 1; grid-row: 1; }
.edit-controls [data-edit-seek] { grid-column: 2; grid-row: 1; min-height: 36px; }
.edit-controls .edit-time { grid-column: 3; grid-row: 1; font-size: .75rem; color: #aaa; }
.edit-controls [data-edit-mute] { grid-column: 4; grid-row: 1; }
.edit-controls button { border-radius: 4px; font-size: .875rem; }
.edit-controls button:hover { background: #252525; }
.edit-dialog .edit-information { min-width: 0; padding: 0; }
.edit-lab-heading .studio-kicker { color: #999; font-size: .6875rem; }
.edit-lab-heading h3 { font: 600 clamp(2rem, 3.5vw, 3rem)/1.08 var(--display); letter-spacing: -.035em; margin-top: 1rem; }
.edit-lab-heading > p:last-child { color: #b8b8b8; font-size: 1rem; line-height: 1.65; margin-top: 1rem; max-width: 36ch; }
.edit-brief { margin-top: 2rem; padding-block: 1.5rem; border-block: 1px solid #333; }
.edit-information h4 { color: #eee; font: 600 .9375rem/1.4 var(--display); margin: 0 0 .5rem; }
.edit-brief p { font-size: .875rem; color: #aaa; line-height: 1.65; }
.edit-brief h4:not(:first-child) { margin-top: 1.25rem; }
.edit-detail { min-width: 0; margin-top: 1.5rem; }
.edit-dialog .edit-description { font-size: .875rem; line-height: 1.65; min-height: 4.95em; margin: 0; color: #b8b8b8; }
.edit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 1.5rem; }
.edit-dialog .edit-return { margin: 0; min-height: 44px; font-size: .875rem; }
.edit-dialog .edit-enquire { margin: 0; width: auto; min-height: 44px; padding: .75rem 1rem; font-size: .875rem; }
@media (max-width: 900px) {
  .edit-dialog { --edit-height: min(560px, calc(100dvh - 340px)); width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); border-radius: 12px; }
  .edit-dialog .dialog-top { padding: .25rem 1rem; }
  .edit-dialog .edit-lab-grid { grid-template-columns: 1fr; gap: .5rem; padding: .75rem 1rem 1rem; }
  .edit-lab-heading, .edit-brief, .edit-detail h4 { display: none; }
  .edit-dialog .edit-stages { top: 8px; left: 8px; width: calc(100% - 16px); padding: 3px; gap: 1px; }
  .edit-dialog .edit-stages button { font-size: .6875rem; min-height: 40px; }
  .edit-detail { margin: 0; }
  .edit-dialog .edit-description { min-height: 3em; font-size: .8125rem; line-height: 1.5; text-align: center; }
  .edit-dialog .edit-controls { gap: .25rem; grid-template-columns: 40px minmax(0,1fr) 58px 40px; margin-top: .25rem; }
  .edit-actions { flex-wrap: nowrap; justify-content: space-between; gap: .75rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid #333; }
  .edit-dialog .edit-return { font-size: .75rem; gap: .5rem; }
  .edit-dialog .edit-enquire { font-size: .75rem; gap: .5rem; padding: .6rem .75rem; }
  .edit-dialog .edit-enquire .icon { width: 16px; height: 16px; flex-basis: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-board * { animation: none !important; transition: none !important; }
}

/* Repeat the reveal on entry and exit. Navigation, dialogs, keyboard focus,
   reduced-motion browsing and the no-JavaScript page remain fully visible. */
@media screen and (prefers-reduced-motion: no-preference) {
  .has-section-focus [data-scroll-focus] { opacity: var(--section-opacity, 1); transition: opacity 120ms linear; }
  .has-section-focus [data-scroll-focus]:has(:focus-visible) { opacity: 1; }
}
