/* Final brand accents and a readable three-step image presentation. */
.collaborations { background: var(--cream); }
.collaboration-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; margin-top: 36px; }
.collaboration-card { background: var(--paper); padding: 36px; border-top: 3px solid var(--accent); border-radius: 0 0 0 28px; }
.collaboration-card .eyebrow { font-size: .68rem; }
.collaboration-card h3 { font-size: 1.8rem; margin-block: 14px 22px; }
.collaboration-card p:not(.eyebrow) { color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.collaboration-others { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.collaboration-others h3 { font-size: 1.15rem; }
.collaboration-others ul { display: flex; flex-wrap: wrap; list-style: none; gap: 12px 34px; padding: 0; margin-top: 20px; color: var(--navy); }
.collaboration-others li { padding-block: 6px; }
@media (max-width: 760px) {
  .collaboration-grid { grid-template-columns: 1fr; gap: 20px; }
  .collaboration-card { padding: 26px; }
  .collaboration-others ul { gap: 8px 24px; }
}
.project-still-figure { margin: 0; }
.project-still-image { display: block; }
.project-still-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.project-still-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 16px 22px; color: #dce5ec; font-size: .76rem; }
.project-still-figure figcaption a { display: inline-flex; align-items: center; min-height: 32px; color: #f1b2a9; }
.project-still-image:focus-visible { outline: 3px solid #f1b2a9; outline-offset: -4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.expertise-panorama { padding-top: 40px; }
.expertise-panorama .image-block { aspect-ratio: 16 / 5; min-height: 220px; overflow: hidden; border-radius: 0 0 0 30px; }
.brand-image svg { aspect-ratio: 1390 / 300; background: transparent; mix-blend-mode: multiply; }
.button:hover { box-shadow: 0 5px 16px #b33e3820; }
.text-link:hover, .hero-scroll-link, .page-hero .eyebrow, .eyebrow { color: var(--accent); }
.focus-strip { background: #f2e3dc; }
.focus-items, .home-hero-project .hero-copy .body-copy { color: var(--muted); }
.focus-items span:before { background: #c84e48; }
.principle:nth-child(3), .about-panel { background: #f4e1dc; }
.contact-band { background: #f3e5df; }
.contact-band .button-white { background: var(--accent); }
.contact-band .button-white:hover { background: var(--accent-hover); }
.case-stage-heading { border-color: #d8c4bd; }
.case-stage-heading .number, .expertise-preview .case-stage-heading .number { background: #f5ded9; color: #a53530; }
.case-stage-image { border-color: var(--line); }
.case-stage figcaption p, .contact-band p { color: var(--muted); }
.expertise-preview .eyebrow, .expertise-preview>.wrap>.case-gallery-intro { color: #f2e4dd; }
.site-footer .footer-caption { color: #e1e7eb; }
.site-footer .footer-heading { color: #f1b2a9; }
.site-footer .footer-links a:hover { color: #ffd0c8; }
.footer-bottom { color: #d7e0e6; border-color: #3e5668; }
.site-footer .brand-image svg { mix-blend-mode: screen; }
.project-reel { min-width: 0; background: var(--navy); color: white; border-radius: 0 0 0 44px; overflow: hidden; }
.project-reel-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 30px; }
.project-reel-heading .eyebrow { color: #f1b2a9; font-size: .7rem; margin: 0 0 7px; }
.project-reel-heading h2 { color: white; font-size: 1.55rem; margin: 0; }
.project-reel-heading>.text-link { color: #f9e9e2; font-size: .86rem; white-space: nowrap; }
.project-reel-stage { position: relative; height: clamp(320px, 40vw, 570px); background: #ede9e4; overflow: hidden; }
.project-slide { position: absolute; inset: 0; display: block; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .8s ease, visibility .8s; }
.project-slide.is-current { opacity: 1; visibility: visible; pointer-events: auto; }
.project-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.project-slide-label { position: absolute; bottom: 20px; left: 24px; right: 24px; display: flex; align-items: center; gap: 18px; background: #102d42ed; color: white; padding: 14px 20px; border-left: 4px solid #e68176; border-radius: 4px; }
.project-slide-label>span { font-size: .78rem; }
.project-slide-label>span:last-child { margin-left: auto; }
.project-slide-label strong { font-size: 1rem; }
.project-reel-controls { display: none; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 28px 0; }
.project-reel[data-enhanced=true] .project-reel-controls { display: flex; }
.project-reel-arrows { display: flex; align-items: center; gap: 10px; }
.project-reel button { font: inherit; cursor: pointer; }
.project-reel-arrows button, .project-play { min-height: 44px; padding: 8px 17px; background: transparent; color: white; border: 1px solid #8295a3; border-radius: 5px; }
.project-reel-arrows button:hover, .project-play:hover { background: #24475e; }
.project-play:disabled { opacity: .75; cursor: default; }
.project-reel-arrows output { font-size: .8rem; color: #dbe3e9; margin-left: 6px; }
.project-reel-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px 28px 28px; }
.project-choice { padding: 0; border: 2px solid #536b7d; border-radius: 5px; text-align: left; background: #183a51; color: white; overflow: hidden; transition: border-color .2s, background .2s; }
.project-choice[aria-pressed=true] { border-color: #ee9c90; background: #8e302d; }
.project-choice img { display: block; width: 100%; height: clamp(72px, 10vw, 125px); object-fit: cover; }
.project-choice:last-child img { object-fit: contain; background: #f8f6f2; }
.project-choice>span { display: flex; align-items: center; gap: 10px; padding: 12px; font-size: .9rem; font-weight: 600; }
.project-choice small { font-size: .7rem; opacity: .9; }
.project-reel button:focus-visible, .project-slide:focus-visible { outline: 3px solid #ffb2a3; outline-offset: -5px; }
@media (max-width: 640px) {
  .project-reel { border-bottom-left-radius: 26px; }
  .project-reel-heading { padding: 20px 16px; flex-wrap: wrap; gap: 8px; }
  .project-reel-heading h2 { font-size: 1.35rem; }
  .project-reel-heading .eyebrow { font-size: .61rem; }
  .project-reel-heading>.text-link { min-height: 36px; }
  .project-reel-stage { height: 315px; }
  .project-slide-label { bottom: 10px; left: 10px; right: 10px; padding: 12px; gap: 8px; }
  .project-slide-label>span { font-size: .63rem; }
  .project-slide-label strong { font-size: .82rem; }
  .project-slide-label>span:last-child { font-size: .6rem; }
  .project-reel-controls { padding: 12px 14px 0; }
  .project-reel-choices { gap: 7px; padding: 14px 12px 20px; }
  .project-choice>span { display: block; padding: 9px 6px; font-size: .67rem; line-height: 1.4; }
  .project-choice small { display: block; margin-bottom: 4px; font-size: .6rem; }
  .project-choice img { height: 68px; }
  .project-play { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .project-slide { transition: none; }
}

/* Intro stage: the content rises over the opening view while scrolling. */
.work-index { align-self: center; display: grid; gap: 4px; padding-block: 24px; }
.work-index .eyebrow { font-size: .64rem; margin-bottom: 12px; }
.work-index a { position: relative; display: grid; grid-template-columns: 22px minmax(0,1fr); gap: 7px; padding: 19px 0; border-top: 1px solid var(--line); color: var(--navy); }
.work-index a>span { color: var(--accent); font-size: .68rem; padding-top: 3px; }
.work-index strong { font-size: .88rem; line-height: 1.4; font-weight: 650; }
.work-index small { grid-column: 2; color: var(--muted); font-size: .69rem; line-height: 1.5; }
.work-index a:hover strong { color: var(--accent); }
.work-index a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.project-reel .project-slide.is-current:not(:nth-child(3)) img { animation: project-camera 6.5s linear both paused; }
.project-reel[data-playing=true] .project-slide.is-current img { animation-play-state: running; }
@keyframes project-camera {
  from { transform: scale(1) translateX(-.4%); }
  to { transform: scale(1.055) translateX(.4%); }
}
.project-slide { overflow: hidden; }
.project-slide-label { z-index: 1; }
@media (min-width: 1100px) and (min-height: 760px) {
  .home-hero-curtain { position: sticky; top: var(--header-height); height: calc(100svh - var(--header-height)); z-index: 0; }
  .home-hero-curtain .hero-grid { height: 100%; width: min(calc(100% - 64px), 1640px); display: grid; grid-template-columns: minmax(140px,.48fr) minmax(280px,1fr) minmax(440px,1.65fr); align-items: center; gap: clamp(24px,3vw,52px); padding-block: 30px; }
  .home-hero-curtain .hero-copy { display: block; width: 100%; margin: 0; padding: 0; }
  .home-hero-curtain .hero-copy h1 { font-size: clamp(3rem,4.15vw,5rem); line-height: 1.04; }
  .home-hero-curtain .hero-heading .eyebrow { font-size: .63rem; line-height: 1.7; margin-bottom: 18px; }
  .home-hero-curtain .hero-copy .body-copy { font-size: .98rem; line-height: 1.7; margin-top: 22px; }
  .home-hero-curtain .hero-copy .actions { gap: 12px; margin-top: 24px; }
  .home-hero-curtain .hero-copy .button { min-height: 46px; padding: 12px 17px; gap: 16px; font-size: .87rem; }
  .home-hero-curtain .hero-contact { font-size: .82rem; min-height: 44px; }
  .home-hero-curtain .hero-scroll-link { font-size: .73rem; margin-top: 20px; }
  .home-hero-curtain .project-reel { border-bottom-left-radius: 30px; }
  .home-hero-curtain .project-reel-heading { padding: 18px 20px; gap: 12px; flex-wrap: wrap; }
  .home-hero-curtain .project-reel-heading h2 { font-size: 1.25rem; }
  .home-hero-curtain .project-reel-heading .eyebrow { font-size: .59rem; }
  .home-hero-curtain .project-reel-heading>.text-link { font-size: .72rem; min-height: 28px; }
  .home-hero-curtain .project-reel-stage { height: clamp(210px,31svh,350px); }
  .home-hero-curtain .project-reel-choices { padding: 14px 16px 20px; gap: 9px; }
  .home-hero-curtain .project-choice img { height: clamp(60px,9svh,95px); }
  .home-hero-curtain .project-choice>span { display: block; font-size: .7rem; padding: 9px 8px; }
  .home-hero-curtain .project-choice small { margin-right: 6px; }
  .home-hero-curtain .project-reel-controls { padding: 12px 18px 0; }
  .home-hero-curtain .project-slide-label { left: 12px; right: 12px; bottom: 12px; gap: 10px; padding: 12px; }
  .home-hero-curtain .project-slide-label strong { font-size: .85rem; }
  .home-hero-curtain .project-slide-label>span { font-size: .65rem; }
  .home-hero-curtain~* { position: relative; z-index: 2; }
  .home-hero-curtain~.section:not(.expertise-preview):not(.contact-band) { background-color: var(--paper); }
  .home-hero-curtain~.focus-strip { border-radius: 30px 30px 0 0; box-shadow: 0 -18px 35px #102d4210; }
}
@media (max-width: 1099px), (max-height: 759px) {
  .work-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; padding-block: 20px 0; }
  .work-index .eyebrow { grid-column: 1/-1; margin: 0; }
  .work-index a { padding-block: 12px; }
  .work-index small { display: none; }
}
@media (max-width: 640px) {
  .work-index { width: calc(100% - 40px); margin-inline: auto; gap: 10px; }
  .work-index a { display: block; }
  .work-index strong { display: block; font-size: .74rem; margin-top: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-reel .project-slide img { animation: none !important; }
  .home-hero-curtain { position: relative; height: auto; }
  .home-hero-curtain .hero-grid { min-height: calc(100svh - var(--header-height)); }
}

/* Shared curtain transition at desktop, tablet and phone sizes. */
.intro-scroll-stage { --intro-view: calc(100svh - var(--header-height)); position: relative; height: calc(var(--intro-size, var(--intro-view)) + 60svh); z-index: 0; }
.intro-scroll-stage .home-hero-curtain { position: sticky; top: var(--intro-top, var(--header-height)); height: auto; min-height: var(--intro-view); z-index: 0; }
.intro-scroll-stage .hero-grid { height: auto; min-height: var(--intro-view); }
.intro-scroll-stage~* { position: relative; z-index: 2; }
.intro-scroll-stage+.focus-strip { margin-top: -60svh; border-radius: 30px 30px 0 0; box-shadow: 0 -18px 35px #102d4220; }
.intro-scroll-stage~.section:not(.expertise-preview):not(.contact-band) { background: var(--paper); }
@media (max-width: 1099px) {
  .intro-scroll-stage .hero-grid { padding-bottom: 20px; }
  .intro-scroll-stage .hero-copy { padding-block: 24px; gap: 18px; }
  .intro-scroll-stage .hero-copy h1 { font-size: clamp(2.8rem, 6vw, 4rem); }
  .intro-scroll-stage .hero-scroll-link { margin-top: 14px; }
  .intro-scroll-stage .project-reel-stage { height: clamp(210px, 35svh, 370px); }
  .intro-scroll-stage .project-reel-heading { padding-block: 14px; }
}
@media (max-width: 640px) {
  .intro-scroll-stage .hero-copy { padding-block: 18px; }
  .intro-scroll-stage .hero-copy .body-copy { font-size: .9rem; line-height: 1.6; }
  .intro-scroll-stage .hero-copy .actions { margin-top: 15px; }
  .intro-scroll-stage .work-index { padding-top: 15px; }
  .intro-scroll-stage .project-reel-stage { height: 27svh; min-height: 200px; }
  .intro-scroll-stage .project-reel-heading { padding: 13px 16px; }
  .intro-scroll-stage .project-reel-heading h2 { font-size: 1.15rem; }
  .intro-scroll-stage .project-reel-heading>.text-link { display: none; }
  .intro-scroll-stage .project-choice img { height: 52px; }
  .intro-scroll-stage .project-reel-choices { padding-top: 10px; padding-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro-scroll-stage { height: auto; }
  .intro-scroll-stage .home-hero-curtain { position: relative; top: auto; }
  .intro-scroll-stage+.focus-strip { margin-top: 0; }
  .film-fallback img { animation: none !important; opacity: 0; }
  .film-fallback img:first-child { opacity: 1; }
}
