/* v3: readable editorial hierarchy, restrained orange accents, comfortable controls. */
/* v5 additions preserve the existing gallery and typography system. */
.project-credit, .section-credit, .case-heading .case-credit { font-size: 14px; line-height: 1.6; color: var(--muted); }
.project-credit { margin-top: 12px; max-width: 65ch; }
.section-credit { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.case-heading .case-credit { margin-top: 18px; }
.video-group { padding-top: 48px; margin-top: 28px; border-top: 1px solid var(--line); }
.video-group--raffcom { border-top-color: var(--accent); }
.video-group-intro { max-width: 72ch; margin-bottom: 38px; }
.video-group-intro .eyebrow { color: var(--accent); }
.video-group-intro h2 { font-size: clamp(32px, 3.4vw, 52px); margin: 22px 0; }
.video-group-intro p { font-size: 18px; line-height: 1.6; }
.video-group + .video-group { margin-top: 72px; }
.video-meta { margin: 28px 0; display: grid; gap: 18px; }
.video-meta dt { font-size: 14px; color: var(--muted); }
.video-meta dd { font-size: 16px; margin: 5px 0 0; }
.video-card[data-featured="true"] .video-art { box-shadow: 0 0 0 1px #ff6a1a65; }
.contact-band .contact-band-channels { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 20px 28px; margin: 0; }
.lab-project { margin-block: 55px 75px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 35px; }
.lab-project-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.lab-project-heading > .eyebrow { color: var(--accent); }
.project-status { font-size: 14px; color: var(--muted); padding: 6px 12px; border: 1px solid var(--line); border-radius: 30px; }
.lab-project-intro { display: grid; grid-template-columns: 1.25fr 1fr; align-items: end; gap: 75px; margin: 32px 0 40px; }
.lab-project-intro h2 { font-size: clamp(42px, 5vw, 72px); margin-bottom: 24px; }
.lab-project-intro p { font-size: 18px; line-height: 1.6; }
.lab-project-intro .lab-project-description { color: var(--text); font-size: 22px; max-width: 48ch; }
.lab-project-role { margin-top: 18px; }
.lab-project-figure { background: #1f2023; border: 1px solid var(--line); }
.lab-project-image { display: block; width: 100%; padding: 0; background: none; cursor: zoom-in; }
.lab-project-image img { width: 100%; height: auto; }
.lab-project-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 22px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.lab-project-figure figcaption span:last-child { color: var(--accent); }
.lab-project-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 35px; }
.lab-project-features h3 { font-size: 24px; margin-bottom: 16px; }
.lab-project-features p { font-size: 17px; line-height: 1.6; }
.lab-project-note { font-size: 14px; line-height: 1.6; margin-top: 30px; }
.interface-viewer .lightbox-image img { min-width: 1254px; }
@media (max-width: 760px) {
  .video-group { padding-top: 32px; }
  .video-group-intro h2 { font-size: clamp(30px, 8vw, 44px); }
  .video-group-intro p { font-size: 16px; }
  .lab-project { margin-block: 40px 55px; padding-top: 30px; }
  .lab-project-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-block: 28px; }
  .lab-project-intro h2 { font-size: 42px; }
  .lab-project-intro p { font-size: 16px; }
  .lab-project-intro .lab-project-description { font-size: 20px; }
  .lab-project-figure figcaption { padding: 15px; }
  .lab-project-features { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .lab-project-features p { font-size: 16px; }
}
:root {
  --accent: #ff6a1a;
  --accent-hover: #f05b0b;
  --accent-on-light: #b24700;
  --muted: #b5b6b3;
  --control-border: #797b7d;
}
body { font-size: 18px; line-height: 1.6; }
h1, h2, h3 { line-height: 1.1; }
p { line-height: 1.6; }
button, input, a { touch-action: manipulation; }
main, section, article, figure, .hero-grid > *, .contact-full > * { min-width: 0; }
.eyebrow { font-size: 14px; letter-spacing: .1em; }
.small, .edition, .caption-type, .result-count, .selection-note,
.art-count, .duration, .lab-line, .service-list article > span,
.process-grid span, .lab-topics article > span, .case-meta dt,
.case-gallery figcaption, .related .eyebrow, .video-viewer .eyebrow,
.case-heading .eyebrow, .lab-teaser > .eyebrow, .hero-kicker .eyebrow,
.contact-details .eyebrow, .section-head .eyebrow { font-size: 14px; }
.brand-dot { font-size: 10px; }
.header nav { gap: 26px; font-size: 16px; }
.header nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; }
.header nav a[aria-current] { text-decoration: underline; text-underline-offset: 9px; text-decoration-thickness: 2px; }
.header nav a:hover { color: var(--accent); }
.nav-contact { margin-left: 8px; }
.nav-contact[aria-current] { border-bottom-color: transparent; }
.hero-kicker { flex-wrap: wrap; row-gap: 12px; }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 300px); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(52px, 6vw, 104px); line-height: 1.05; letter-spacing: -.065em; }
.hero-aside { max-width: none; }
.portrait-mini { max-width: 184px; }
.portrait-mini figcaption, .portrait-mini figcaption span { font-size: 14px; line-height: 1.5; }
.hero-aside > p { font-size: 17px; max-width: 32ch; line-height: 1.6; margin-block: 24px; }
.hero-bottom { gap: 28px; padding-block: 20px; }
.hero-bottom p, .hero-bottom > span { font-size: 14px; }
.hero-bottom > span { letter-spacing: .06em; }
.hero-bottom > a { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.status-dot { width: 7px; height: 7px; }
.pill, .hero-aside .pill { font-size: 16px; min-height: 48px; padding: 13px 22px; gap: 20px; line-height: 1.4; }
.pill.primary { color: #151617; }
.pill.primary:hover { background: var(--accent-hover); }
.pill:active, .chip:active { transform: translateY(1px); }
.text-link, .section-head > .text-link { min-height: 44px; font-size: 16px; gap: 24px; padding-block: 10px; line-height: 1.4; }
.section-head { align-items: end; }
.section-head h2 { font-size: clamp(36px, 4vw, 68px); }
.section-head > div { min-width: 0; }
.section-head > .text-link { flex-shrink: 0; }
.project-caption { padding-top: 24px; gap: 20px; flex-wrap: wrap; }
.project-caption h3 { font-size: clamp(24px, 2.5vw, 38px); }
.project-caption p { font-size: 17px; line-height: 1.6; margin-top: 10px; }
.caption-type { padding-top: 8px; }
.art-count { color: #f5f5f5; background: #151617df; padding: 5px 9px; letter-spacing: .06em; }
.art-open { width: 44px; height: 44px; color: #fff; background: #151617b3; border-color: #ffffff90; }
.project-card:focus-visible .art-open { color: #151617; background: var(--accent); }
.project-inbau .project-art { background: #384347; }
.project-tropical .project-art { background: #353638; }
.selection-note { line-height: 1.6; }
.section-description { font-size: 18px; line-height: 1.6; max-width: 55ch; margin-top: 0; }
.video-card h3, .all-videos .video-card h3 { font-size: 24px; line-height: 1.3; margin-top: 22px; }
.video-card > p, .all-videos .video-card > p { font-size: 15px; line-height: 1.6; margin-top: 10px; }
.video-card .play, .all-videos .video-card .play { width: 48px; height: 48px; font-size: 16px; }
.duration, .all-videos .duration { font-size: 14px; background: #151617e6; padding: 3px 7px; }
.video-card:hover .play, .video-card:focus-visible .play { background: var(--accent); color: #151617; border-color: var(--accent); }
.statement { font-size: clamp(32px, 3.7vw, 58px); line-height: 1.15; }
.service-list h3 { font-size: clamp(24px, 2vw, 30px); }
.service-list p, .current-work p { font-size: 18px; line-height: 1.6; max-width: 60ch; }
.service-list article { padding-block: 28px; }
.service-list article > span { padding-top: 3px; }
.current-work .eyebrow { font-size: 14px; }
.lab-teaser { background: #1c1d1e; color: var(--text); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.lab-teaser > .eyebrow, .lab-teaser .accent { color: var(--accent); }
.lab-teaser p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.lab-teaser .text-link { border-color: var(--control-border); }
.lab-teaser .text-link span, .lab-teaser .text-link:hover { color: var(--accent); }
.lab-line { border-color: var(--line); color: var(--muted); letter-spacing: .08em; }
.about-preview p, .about-copy p { font-size: 18px; line-height: 1.6; max-width: 65ch; }
.about-photo > span { font-size: 15px; line-height: 1.6; }
.expertise p, .process-grid p { font-size: 17px; line-height: 1.7; }
.expertise h3 { font-size: 28px; }
.lab-manifesto p { font-size: 18px; line-height: 1.6; }
.lab-topics h3 { font-size: 28px; }
.lab-topics p { font-size: 17px; line-height: 1.6; }
.lab-footnote { font-size: 15px; line-height: 1.6; }
.circle-link { background: var(--accent); color: #151617; border-color: var(--accent); }
.circle-link:hover { background: var(--accent-hover); color: #151617; }
.email-link { font-size: 18px; min-height: 44px; display: inline-flex; align-items: center; }
.footer { flex-wrap: wrap; row-gap: 22px; }
.footer > span, .footer > div { font-size: 14px; line-height: 1.5; }
.footer > div { flex-wrap: wrap; align-items: center; gap: 24px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
.page-intro p { font-size: 20px; line-height: 1.6; max-width: 60ch; }
.chip { font-size: 16px; min-height: 44px; padding: 10px 18px; line-height: 1.4; }
.chip > span { font-size: 14px; opacity: 1; }
.chip.active { color: #151617; font-weight: 650; box-shadow: inset 0 -3px 0 #a83e00; }
.search { min-width: 220px; }
.search input { font-size: 16px; min-height: 44px; width: 220px; }
.more-work p { font-size: 18px; }
.big-email { overflow-wrap: anywhere; }
.copy-email { color: var(--text); }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 26px; }
.contact-actions .copy-email { margin-top: 0; }
.menu-toggle span { transition: transform 200ms; }
.menu-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.video-card .play { background: #151617e6; }
#copy-status { font-size: 16px; }
.contact-details p, .contact-details a { font-size: 18px; line-height: 1.6; }
.contact-details .eyebrow { display: block; }
.contact-details a { min-height: 44px; display: flex; align-items: center; }
.case-heading > p { font-size: 18px; line-height: 1.6; max-width: 68ch; }
.case-meta dd { font-size: 16px; line-height: 1.6; }
.case-meta dt { letter-spacing: .06em; }
.case-story p { font-size: 17px; line-height: 1.6; }
.case-story h3 { font-size: 28px; }
.case-gallery figcaption { line-height: 1.6; flex-wrap: wrap; }
.close-viewer { min-height: 44px; font-size: 16px; border-color: var(--control-border); }
.video-viewer p { font-size: 18px; line-height: 1.6; }
.lightbox-toolbar, .lightbox-navigation { font-size: 14px; }
.lightbox-toolbar button, .lightbox-navigation button { min-height: 44px; min-width: 44px; font-size: 16px; padding: 9px 18px; }
.home-videos { scrollbar-color: var(--accent) #242527; }
.project-art img, .video-art img { transition-duration: 280ms; }
:is(a, button, input):focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }

@media (max-width: 1200px) {
  .header nav { gap: 18px; }
  .hero-grid { gap: 40px; grid-template-columns: minmax(0, 1fr) 260px; }
  .hero-bottom > span { display: none; }
  .filterbar { flex-wrap: wrap; }
  .lab-teaser > div:first-of-type { grid-template-columns: 1.2fr 1fr; gap: 40px; }
}
@media (max-width: 960px) {
  .header { height: 90px; }
  .menu-toggle { display: flex; min-height: 44px; min-width: 80px; justify-content: space-between; align-items: center; gap: 16px; background: none; font-size: 16px; }
  .menu-toggle span { color: var(--accent); font-size: 26px; }
  .header nav { display: none; position: absolute; top: 89px; left: 0; right: 0; z-index: 20; padding: 24px 32px; background: #1c1d1e; border-bottom: 1px solid var(--line); align-items: stretch; flex-direction: column; gap: 8px; }
  .header.menu-open nav { display: flex; }
  .header nav a { padding: 10px 0; }
  .nav-contact { margin: 0; border: 0; }
  .all-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { flex-wrap: wrap; row-gap: 16px; }
  .lab-manifesto { grid-template-columns: 100px 1fr; }
  .lab-manifesto > p { grid-column: 2; }
  .about-full { gap: 40px; }
  .contact-full { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .contact-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .header { height: 82px; }
  .header nav { top: 81px; padding-inline: 20px; }
  .hero-kicker .eyebrow { font-size: 14px; line-height: 1.65; letter-spacing: .07em; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 30px; }
  .hero h1 { font-size: clamp(38px, 10vw, 60px); line-height: 1.08; letter-spacing: -.06em; }
  .hero-aside { grid-template-columns: 104px minmax(0, 1fr); gap: 0 22px; }
  .portrait-mini { max-width: 104px; grid-row: auto; align-self: start; }
  .portrait-mini figcaption, .portrait-mini figcaption span { font-size: 14px; }
  .hero-aside > p { font-size: 16px; line-height: 1.6; margin: 0; }
  .hero-aside .pill { grid-column: 1 / -1; margin-top: 24px; font-size: 16px; }
  .hero-bottom { gap: 18px; }
  .hero-bottom p { font-size: 14px; flex: 1; min-width: 0; }
  .hero-bottom > a { flex-shrink: 0; }
  .section-head h2 { font-size: clamp(30px, 8vw, 44px); }
  .section-head > .text-link { font-size: 16px; white-space: normal; padding-block: 9px; }
  .section-head > .text-link > span { font-size: 20px; }
  .project-caption h3 { font-size: 24px; }
  .project-caption p { font-size: 16px; }
  .project-caption { gap: 8px; }
  .caption-type { width: 100%; padding-top: 0; }
  .selection-note { font-size: 14px; }
  .section-description { font-size: 16px; }
  .home-videos { grid-auto-columns: 84%; gap: 20px; }
  .video-card h3, .all-videos .video-card h3, .home-videos .video-card h3 { font-size: 24px; line-height: 1.3; }
  .video-card > p, .all-videos .video-card > p, .home-videos .video-card > p { font-size: 14px; }
  .all-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .all-videos .video-card h3 { font-size: 21px; }
  .video-card .play, .all-videos .video-card .play, .home-videos .play { width: 44px; height: 44px; font-size: 14px; bottom: 14px; left: 12px; }
  .duration, .all-videos .duration, .home-videos .duration { font-size: 14px; bottom: 18px; right: 10px; }
  .home-videos .play { left: 16px; bottom: 16px; }
  .home-videos .duration { right: 16px; bottom: 23px; }
  .service-list p, .current-work p, .about-preview p, .about-copy p,
  .expertise p, .process-grid p, .lab-manifesto p, .lab-topics p, .lab-teaser p,
  .case-heading > p, .case-story p, .video-viewer p, .more-work p { font-size: 16px; line-height: 1.6; }
  .statement { font-size: 36px; }
  .service-list h3 { font-size: 24px; }
  .lab-teaser { padding: 30px 24px; }
  .lab-teaser > div:first-of-type { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lab-teaser h2 { font-size: clamp(30px, 8vw, 44px); }
  .lab-line { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 14px; letter-spacing: .06em; }
  .about-preview .eyebrow { font-size: 14px; }
  .contact-band h2 { font-size: clamp(42px, 11.5vw, 70px); }
  .contact-band > div { align-items: end; }
  .email-link { font-size: 16px; }
  .page-intro p { font-size: 18px; }
  .filterbar { gap: 22px; }
  .chip { font-size: 16px; padding: 10px 15px; }
  .search { width: 100%; min-width: 0; }
  .search input { width: 90%; font-size: 16px; }
  .result-count { margin-bottom: 28px; }
  .about-photo > span, .lab-footnote { font-size: 14px; }
  .process-grid { column-gap: 24px; }
  .lab-manifesto { grid-template-columns: minmax(0, 1fr); }
  .lab-manifesto > p { grid-column: auto; }
  .contact-details { grid-template-columns: 1fr 1fr; }
  .contact-details p, .contact-details a { font-size: 16px; }
  .contact-details div:last-child { grid-column: 1 / -1; }
  .big-email { font-size: clamp(26px, 7vw, 48px); line-height: 1.4; }
  .case-meta dd { font-size: 16px; }
  .case-story h3 { font-size: 24px; }
  .case-gallery figcaption { font-size: 14px; gap: 8px; }
  .close-viewer { font-size: 16px; top: -55px; }
  .lightbox-navigation { flex-wrap: wrap; gap: 12px; }
  .lightbox-navigation > span { order: 3; width: 100%; text-align: center; font-size: 14px; }
  .lightbox-toolbar button, .lightbox-navigation button { font-size: 16px; min-height: 44px; padding: 9px 14px; }
}
@media (max-width: 390px) {
  .all-videos { grid-template-columns: minmax(0, 1fr); }
  .all-videos .video-art { aspect-ratio: 4 / 5; }
  .all-videos .video-card h3 { font-size: 24px; }
  .hero-aside { gap: 0 18px; }
  .art-count { left: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
