/* Michael Santner V4 — shared visual system. Colors and spacing live here. */
:root {
  color-scheme: dark;
  --bg: #090a0e;
  --panel: #12141b;
  --text: #f5f3ef;
  --muted: #b9bdc8;
  --line: #ffffff26;
  --accent: #ffb343;
  --accent-rgb: 255, 179, 67;
  --max-width: 1440px;
}
.marketing, .accent-marketing { --accent: #ff617f; --accent-rgb: 255, 97, 127; }
.video, .accent-video { --accent: #169bff; --accent-rgb: 22, 155, 255; }
.design, .accent-design { --accent: #69ff47; --accent-rgb: 105, 255, 71; }
.about { --accent: #b184ff; --accent-rgb: 177, 132, 255; }
.contact { --accent: #ffb343; --accent-rgb: 255, 179, 67; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.2vw, 46px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
p { color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--accent); color: #090a0e; }
.skip-link:focus { top: 10px; }
main { min-height: 70vh; }
main > section, .section-head { scroll-margin-top: 110px; }
/* One header and navigation on all pages, including case studies. */
.site-header { position: sticky; top: 0; z-index: 50; min-height: 88px; display: flex; align-items: center; gap: 30px; padding: 8px 4vw; background: #090a0ef2; border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { flex-shrink: 0; }
.brand img { width: 182px; height: 85.12px; object-fit: contain; }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 2vw, 30px); margin-left: auto; }
.primary-nav a { padding: 12px 0; font-size: 13px; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.resume { font-size: 13px; border: 1px solid var(--line); padding: 10px 16px; white-space: nowrap; }
.resume:hover { border-color: var(--accent); }
.menu-toggle { color: var(--text); background: transparent; border: 1px solid var(--line); padding: 9px 14px; }
.button { display: inline-block; border: 1px solid #ffffff6b; padding: 13px 22px; font-size: 14px; font-weight: bold; letter-spacing: .045em; text-transform: uppercase; background: transparent; color: var(--text); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #090a0e; }
.button:hover { box-shadow: 0 0 24px rgba(var(--accent-rgb), .18); border-color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.text-link, .text-button { color: var(--text); border: 0; border-bottom: 1px solid var(--accent); padding: 0 0 4px; background: transparent; }
.text-link:hover, .text-button:hover { color: var(--accent); }
.footer { display: flex; justify-content: space-between; gap: 20px; padding: 30px 5vw; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
/* Actual portfolio imagery sits behind split department typography. */
.department-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 480px; display: grid; align-items: center; padding: 100px 5vw; background: radial-gradient(ellipse at 20% 60%, rgba(var(--accent-rgb), .1), transparent 60%); }
.department-art { position: absolute; z-index: -2; right: 0; top: 0; width: 60%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.75); }
.department-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #090a0e 15%, #090a0eb0 63%, #090a0e65), linear-gradient(0deg, #090a0e, transparent 60%); }
.hero-layout { width: 100%; max-width: var(--max-width); margin: auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: 6vw; align-items: center; }
.neon-title { margin: 0; width: 100%; line-height: 1; animation: tube-ignite 1.65s linear both; }
.neon-title img { width: 100%; max-height: 210px; object-fit: contain; object-position: left center; }
.hero-support { text-align: right; max-width: 520px; justify-self: end; }
.hero-support h2 { font-size: clamp(27px, 3.3vw, 44px); margin: 0 0 22px; }
.hero-support p { font-size: clamp(18px, 1.5vw, 22px); margin: 0; }
.section-head { max-width: var(--max-width); margin: 65px auto 38px; padding: 0 5vw; display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.section-head h2 { margin: 0; max-width: 680px; }
.section-head p { max-width: 490px; margin: 0; font-size: 18px; }
/* Uniform card media and SVG glass tubing; no text-dependent frame heights. */
.portfolio-grid { max-width: var(--max-width); margin: auto; padding: 0 5vw 85px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 55px 36px; }
.tile { min-width: 0; scroll-margin-top: 120px; }
.media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #14151b; box-shadow: 0 16px 32px #0009; }
.media > img { width: 100%; height: 100%; object-fit: cover; border-radius: 15px; }
.media.artwork { background: #eeebe5; }
.media.artwork > img { object-fit: contain; padding: 16px; }
.neon-frame { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); fill: none; pointer-events: none; overflow: visible; stroke-linecap: round; stroke-linejoin: round; animation: frame-ignite .85s ease-out both; }
.neon-frame path { vector-effect: non-scaling-stroke; }
.neon-frame .glass { stroke: var(--accent); stroke-width: 13.5; opacity: .8; filter: drop-shadow(0 0 3px var(--accent)) drop-shadow(0 0 11px rgba(var(--accent-rgb), .5)); transition: opacity .25s ease, filter .25s ease; }
.neon-frame .core { stroke: color-mix(in srgb, var(--accent) 40%, #fff 60%); stroke-width: 3.4; opacity: .9; filter: blur(.35px); transition: opacity .25s ease; }
.media:hover .glass, .media:focus-visible .glass { opacity: 1; filter: drop-shadow(0 0 4px var(--accent)) drop-shadow(0 0 16px rgba(var(--accent-rgb), .7)); }
.media:hover .core, .media:focus-visible .core { opacity: 1; }
/* A single irregular warm-up sequence; all titles settle into steady light. */
@keyframes tube-ignite {
  0%, 9% { opacity: .12; filter: brightness(.45); }
  10%, 17% { opacity: .85; filter: brightness(1.15); }
  18%, 24% { opacity: .22; filter: brightness(.6); }
  25%, 38% { opacity: 1; filter: brightness(1.08); }
  39%, 44% { opacity: .58; filter: brightness(.8); }
  45%, 100% { opacity: 1; filter: brightness(1); }
}
@keyframes frame-ignite { 0% { opacity: .3; } 15% { opacity: .9; } 22% { opacity: .55; } 40%, 100% { opacity: 1; } }
.tile-copy { padding: 25px 0 0; }
.tile-copy h3 { margin: 0 0 13px; }
.tile-copy p { margin: 0 0 16px; line-height: 1.6; }
.tile-copy h3 a:hover { color: var(--accent); }
.play-affordance { position: absolute; bottom: 13px; left: 13px; display: flex; align-items: center; gap: 9px; padding: 8px 13px; background: #090a0ef0; border: 1px solid var(--accent); border-radius: 25px; color: #fff; font-size: 14px; font-weight: bold; }
.media:hover .play-affordance, .media:focus-visible .play-affordance { background: var(--accent); color: #090a0e; }
.campaign-grid .media, .design-grid .media { aspect-ratio: 4 / 3; }
.campaign-preview img { object-position: top; }
.related-work, .about-teaser { max-width: var(--max-width); margin: auto; padding: 55px 5vw 90px; border-top: 1px solid var(--line); }
/* Home retains its established identity with the recolored original gears. */
.home-hero { min-height: 690px; height: min(880px, 88vh); position: relative; isolation: isolate; display: flex; align-items: center; padding: 80px 8vw; overflow: hidden; }
.home-gears { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #090a0ef5 0%, #090a0eaa 40%, #090a0e10 77%), url('../assets/images/home-gears-vision-clean.webp') 66% center / cover no-repeat; }
.home-hero-copy { max-width: 790px; }
.identity { font-size: 24px; color: var(--accent); margin: 0 0 20px; }
.home-hero .home-slogan { margin: 0 0 30px; font-size: clamp(62px, 8vw, 118px); line-height: .81; letter-spacing: -.01em; }
.home-hero .home-slogan em { font-weight: 400; color: var(--accent); }
.home-hero-copy > p:last-of-type { font-size: 22px; max-width: 620px; }
.departments { max-width: var(--max-width); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); padding: 35px 5vw 40px; gap: 22px; }
.departments a { position: relative; padding: 27px 24px; border: 1px solid var(--line); border-top: 2px solid var(--accent); background: #11131b; border-radius: 8px; }
.departments a:hover { background: rgba(var(--accent-rgb), .07); }
.departments h2 { font-size: 31px; margin: 0 0 12px; color: var(--accent); }
.departments p { margin: 0; padding-right: 18px; }
.departments span { position: absolute; right: 18px; bottom: 25px; color: var(--accent); }
.department-label { color: var(--accent); font-size: 15px; font-weight: bold; margin: 0 0 9px !important; }
/* Dedicated biography and contact pages. */
.biography { max-width: 1280px; margin: auto; padding: 35px 5vw 100px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; align-items: start; }
.portrait { border-radius: 14px; overflow: hidden; background: #12131b; }
.portrait img { width: 100%; height: auto; filter: saturate(.6) sepia(.18); }
.biography-copy h2 { margin-top: 0; }
/* Original recommendation supplied directly by Carolyn Litton. */
.recommendation { max-width: 1080px; margin: 0 auto 90px; padding: 45px 5vw 0; border-top: 1px solid var(--line); }
.recommendation h2 { margin: 0 0 32px; font-size: clamp(24px, 3vw, 36px); letter-spacing: .025em; }
.recommendation-letter { margin: 0; color: var(--text); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.75; }
.recommendation-letter p { margin: 0 0 1.2em; color: inherit; }
.recommendation-attribution { margin: 28px 0; color: var(--text); line-height: 1.8; }
.recommendation-signature { display: block; width: 100%; height: auto; border-radius: 8px; }
.contact-layout { max-width: 1280px; margin: auto; padding: 20px 5vw 100px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; }
.contact-intro h2 { margin-top: 0; }
.contact-alternative { margin-top: 30px; }
.contact-form fieldset { padding: 0; margin: 0; border: 0; }
.contact-form legend { font-size: 24px; font-weight: bold; margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 7px; }
.contact-form input, .contact-form textarea { display: block; width: 100%; padding: 12px 14px; margin: 0 0 20px; background: #161820; border: 1px solid #ffffff5a; border-radius: 5px; color: var(--text); }
.contact-form textarea { resize: vertical; }
.contact-form fieldset:disabled { opacity: .65; }
.contact-form fieldset:disabled button { cursor: not-allowed; }
.form-status { border-left: 3px solid var(--accent); padding: 10px 16px; }
.form-status.error { border-color: #ff617f; }
.privacy-note, .contact-alternative { font-size: 15px; }
.honeypot { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
/* Accessible native dialogs shared by video and full campaign views. */
.portfolio-dialog { width: min(1100px, 94vw); max-height: 92vh; padding: 22px; border: 1px solid var(--accent); border-radius: 10px; background: #0c0d13; color: var(--text); overflow: auto; }
.portfolio-dialog::backdrop { background: #000d; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.dialog-head h2 { font-size: clamp(22px, 3vw, 30px); margin: 0; }
.dialog-head button { background: #1b1e28; color: #fff; border: 1px solid #ffffff6b; padding: 10px 15px; white-space: nowrap; border-radius: 5px; }
.portfolio-dialog video { display: block; width: 100%; max-height: 72vh; background: #000; }
.campaign-dialog { width: min(980px, 94vw); }
.campaign-dialog > img { width: 100%; height: auto; background: #fff; }
.dialog-open { overflow: hidden; }
.dialog-error { color: #ffd4dc; }
.project-head { max-width: 1050px; padding: 85px 5vw 45px; margin: auto; }
.project-head h1 { font-size: clamp(42px, 6vw, 80px); margin: 0 0 25px; }
.project-head p { font-size: 21px; }
.project-gallery { max-width: var(--max-width); padding: 0 5vw 70px; margin: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
.project-gallery figure { margin: 0; background: #181a23; padding: 12px; border-radius: 10px; }
.project-gallery img { width: 100%; height: auto; }
.project-return { padding: 0 5vw 90px; max-width: var(--max-width); margin: auto; }
@media (max-width: 1080px) {
  .site-header { gap: 16px; }
  .brand img { width: 150px; height: 70.15px; }
  .primary-nav { gap: 16px; }
  .primary-nav a { font-size: 12px; }
  .resume { padding: 9px 12px; }
  .hero-layout { grid-template-columns: 1.3fr 1fr; gap: 30px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; padding: 10px 5vw; min-height: 80px; }
  .primary-nav { flex-basis: 100%; flex-wrap: wrap; order: 3; margin: 0; }
  .resume { margin-left: auto; }
  .menu-ready .menu-toggle { display: block; margin-left: auto; }
  .menu-ready .resume { margin-left: 0; }
  .menu-ready .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #10121afa; border-bottom: 1px solid var(--accent); padding: 20px 5vw 30px; max-height: calc(100dvh - 82px); overflow-y: auto; }
  .menu-ready .primary-nav.open { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; }
  .primary-nav a { padding: 14px; font-size: 15px; }
  .department-hero { padding: 65px 5vw; min-height: 400px; }
  .hero-layout { grid-template-columns: 1fr; gap: 28px; }
  .neon-title { max-width: 650px; }
  .hero-support { justify-self: start; text-align: left; max-width: 620px; }
  .department-art { width: 80%; opacity: .24; }
  .section-head { flex-direction: column; align-items: start; gap: 18px; }
  .section-head p { max-width: 650px; }
  .biography, .contact-layout { gap: 40px; }
  .departments { grid-template-columns: 1fr; }
}
@media (min-width: 901px) { .menu-toggle { display: none !important; } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header { gap: 12px; }
  .brand img { width: 119px; height: 55.65px; }
  .menu-toggle, .resume { font-size: 12px; padding: 9px 10px; }
  .department-hero { padding: 50px 5vw; min-height: 350px; }
  .neon-title img { max-height: 120px; }
  .hero-support h2 { font-size: 28px; }
  .hero-support p { font-size: 18px; }
  .section-head { margin-top: 45px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 42px; padding-bottom: 60px; }
  .tile-copy { padding-top: 22px; }
  .neon-frame { inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); }
  .neon-frame .glass { stroke-width: 5; }
  .home-hero { min-height: 610px; height: auto; padding: 70px 6vw; }
  .home-hero .home-slogan { font-size: clamp(50px, 13vw, 70px); }
  .home-hero-copy > p:last-of-type { font-size: 19px; }
  .identity { font-size: 21px; }
  .home-gears { background-position: 58% center; }
  .biography, .contact-layout, .project-gallery { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .portfolio-dialog { padding: 12px; }
  .dialog-head { gap: 10px; }
  .dialog-head h2 { font-size: 20px; }
  .dialog-head button { padding: 9px; font-size: 14px; }
  .footer { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Long client names must wrap within narrow case-study headings. */
.project-head h1 { overflow-wrap: anywhere; }
.career-list { list-style: none; margin: 0 0 35px; padding: 0; }
.career-list li { padding: 15px 0; border-bottom: 1px solid var(--line); }
.career-list strong, .career-list span { display: block; }
.career-list span { color: var(--muted); font-size: 16px; }

.home-hero .home-neon { width: min(440px, 100%); margin: 0 0 15px; }
.home-hero .home-neon img { max-height: 140px; }

/* Physical frame tubing scales down on compact grids, without changing cards. */
@media (max-width: 900px) {
  .neon-frame { inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); }
  .neon-frame .glass { stroke-width: 12; }
  .neon-frame .core { stroke-width: 3; }
}
@media (max-width: 480px) {
  .neon-frame { inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); }
  .neon-frame .glass { stroke-width: 10.5; }
  .neon-frame .core { stroke-width: 2.6; }
}

.gear-vision, .gear-ring { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% center; pointer-events: none; animation: tube-ignite 1.65s linear both; }

.home-hero .identity { font-size: clamp(28px, 3.3vw, 48px); line-height: 1.2; margin: 0 0 30px; max-width: 100%; }
.home-hero-copy { position: relative; }

.campaign-related { max-width: var(--max-width); margin: -12px auto 35px; padding: 0 5vw; display: flex; flex-wrap: wrap; gap: 12px 30px; font-size: 15px; }

.home-slogan .headline-line { display: block; width: fit-content; }
.departments .category-link { display: block; margin-top: 22px; font-size: 14px; font-weight: bold; color: var(--accent); line-height: 1.5; }

/* Relaxed letter spacing; retain natural word spacing and measured name fit. */
.home-hero .home-slogan { word-spacing: normal; }
.home-hero .identity { white-space: nowrap; }

/* A shared right edge, without stretching the continuous headline phrase. */
.hero-type { width: var(--headline-reference-width, max-content); max-width: 100%; }
.home-hero .hero-type .identity { width: 100%; text-align: left; font-size: clamp(28px, 4.1vw, 59px); }
.home-hero .home-slogan { font-size: clamp(50px, 7vw, 104px); }
.home-slogan .headline-line:first-child { white-space: nowrap; word-spacing: normal; letter-spacing: .005em; }
@media (max-width: 600px) {
  .home-hero .home-slogan { font-size: clamp(37px, 10.5vw, 58px); }
  .home-hero .hero-type .identity { font-size: clamp(25px, 7vw, 38px); }
}

.home-slogan .headline-line { white-space: nowrap; }

/* Small optical correction to the two hero word gaps. */
.home-hero .home-slogan .headline-line { word-spacing: -.035em; }

.home-hero .home-slogan .headline-line:first-child { word-spacing: -.05em; }

/* Full-category gateways have a distinct compact row above individual examples. */
.portfolio-navigation { max-width: var(--max-width); margin: auto; padding-top: 24px; scroll-margin-top: 0; }
.portfolio-navigation > .section-head { margin: 0 auto 24px; gap: 20px; }
.portfolio-navigation .departments { padding-top: 0; padding-bottom: 20px; }
.departments > a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 154px; padding: 25px 18px; border: 0; border-radius: 18px; background: #11131b; }
.departments > a h3 { font-size: clamp(28px, 3vw, 38px); color: var(--accent); margin: 0 0 12px; }
.departments > a p { padding: 0; font-size: 14px; letter-spacing: .06em; margin: 0; }
.departments > a .neon-frame { inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); }
.departments > a:hover .glass, .departments > a:focus-visible .glass { opacity: 1; }
.departments > a:hover .core, .departments > a:focus-visible .core { opacity: 1; }
.selected-work > .section-head { margin-top: 35px; }
.personal-gateways { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; padding-top: 0; padding-bottom: 75px; }
.personal-gateways > a { min-height: 116px; }
.personal-gateways > a h3 { font-size: 28px; }
.personal-gateways .glass { opacity: .6; }
.accent-about { --accent: #b184ff; --accent-rgb: 177, 132, 255; }
.accent-contact { --accent: #ffb343; --accent-rgb: 255, 179, 67; }
@media (max-width: 900px) { .portfolio-navigation { scroll-margin-top: 0; } }
@media (max-width: 600px) { .personal-gateways { grid-template-columns: 1fr; } }

@media (max-width: 360px) { .site-header { gap: 8px; padding-left: 4vw; padding-right: 4vw; } .menu-toggle, .resume { padding: 8px; } }

.portfolio-navigation .departments, .personal-gateways { gap: 32px; }

.image-dialog { width: min(1200px, 96vw); max-height: 94dvh; }
.image-dialog > img { display: block; width: 100%; height: auto; max-height: 73dvh; object-fit: contain; }
.image-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; }
.image-controls button { padding: 10px 14px; border: 1px solid currentColor; border-radius: 6px; background: #181a23; color: #fff; cursor: pointer; }
.project-gallery figcaption { padding: 12px 4px 2px; }
.project-gallery a { display: block; cursor: zoom-in; }
.image-dialog > img { width: auto; max-width: 100%; margin: auto; }

.image-dialog > img.tall-artwork { width: 100%; max-height: none; }
.image-controls { margin-bottom: 14px; }

/* Phase 2: restrained cinematic depth, without scroll interception or libraries. */
:root { --motion-ease: cubic-bezier(.22, 1, .36, 1); --header-height: 102px; }
html { scroll-padding-top: calc(var(--header-height) + 28px); }
.home-hero { --hero-x: 0px; --hero-y: 0px; --hero-scroll: 0px; }
.home-gears { z-index: -2; inset: -30px; transform: translate3d(var(--hero-x), calc(var(--hero-y) + var(--hero-scroll)), 0) scale(1.025); }
.home-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 76% 48%, #ffb34315, transparent 48%); }
.home-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 100px; pointer-events: none; background: linear-gradient(transparent, var(--bg)); }
.home-hero-copy { z-index: 1; }
.portfolio-navigation, .selected-work, .personal-navigation, .vision-collection, .vision-design, .portfolio-chapter { position: relative; isolation: isolate; }
.portfolio-chapter { max-width: var(--max-width); margin: 0 auto; padding-top: 1px; }
.portfolio-chapter + .portfolio-chapter::before, .vision-collection::before, .vision-design::before, .personal-navigation::before { content: ""; display: block; height: 1px; margin: 0 5vw; background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .38), #ffffff12, transparent); }
.section-head, .tile, .project-gallery figure { scroll-margin-top: calc(var(--header-height) + 32px); }
.section-head h2 { text-wrap: balance; }
.media, .departments > a, .project-gallery figure { transition: transform .55s var(--motion-ease), box-shadow .55s ease, background-color .3s ease; }
.media { isolation: isolate; }
.media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; border: 1px solid #ffffff20; background: linear-gradient(135deg, #ffffff12, transparent 42%, #ffffff04); opacity: .35; transition: opacity .4s ease; }
.media:focus-visible, .departments > a:focus-visible { outline: 2px solid #fff; outline-offset: 12px; }
.media:focus-visible::after { opacity: 1; }
.play-affordance { z-index: 1; transition: background-color .3s ease, color .3s ease; }
.button, .resume, .vision-library summary { transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.vision-library summary:hover { background: rgba(var(--accent-rgb), .08); box-shadow: 0 8px 30px #0005; }
@media (hover: hover) and (pointer: fine) {
  .media:hover { transform: translate3d(0, -5px, 0) scale(1.012); box-shadow: 0 24px 46px #000b, 0 0 24px rgba(var(--accent-rgb), .11); }
  .media:hover::after { opacity: 1; }
  .departments > a:hover { transform: translateY(-5px); box-shadow: 0 22px 40px #0008, inset 0 0 36px rgba(var(--accent-rgb), .06); }
  .project-gallery figure:hover { transform: translateY(-4px); box-shadow: 0 18px 35px #0006; }
}
@media (min-width: 1200px) {
  /* Each title pins only within its own collection; the next category releases it. */
  .portfolio-chapter { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 2.25fr); column-gap: 48px; padding: 60px 5vw 30px; }
  .portfolio-chapter > .section-head { position: sticky; top: calc(var(--header-height) + 36px); grid-column: 1; grid-row: 1 / span 2; align-self: start; display: block; margin: 0; padding: 0; }
  .portfolio-chapter > .section-head h2 { font-size: clamp(28px, 2.5vw, 38px); line-height: 1.15; }
  .portfolio-chapter > .section-head h2::before { content: ""; display: block; width: 42px; height: 2px; margin-bottom: 24px; background: var(--accent); box-shadow: 0 0 14px rgba(var(--accent-rgb), .45); }
  .portfolio-chapter > .section-head p { margin-top: 24px; font-size: 16px; }
  .portfolio-chapter > .portfolio-grid { grid-column: 2; width: 100%; padding: 0 0 45px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 30px; }
  .portfolio-chapter > .campaign-related { grid-column: 2; margin: 0 0 30px; padding: 0; }
  .portfolio-chapter + .portfolio-chapter::before { position: absolute; top: 0; left: 5vw; right: 5vw; margin: 0; }
}
@media (max-width: 600px) {
  .home-gears { inset: -16px; transform: scale(1.025); }
  .home-hero::before { background: linear-gradient(90deg, #090a0ee0, #090a0e85 65%, #090a0e40); }
}
@media (prefers-reduced-motion: reduce) {
  .home-gears { transform: none; }
  .media:hover, .departments > a:hover, .project-gallery figure:hover { transform: none; }
}

/* Cinematic upgrade: continuous scroll-controlled scenes and independent image planes. */
.hero-work-stage, .scene-cue { display: none; }
.cinema-image-window { display: block; position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.cinema-image-window > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.media.artwork .cinema-image-window > img { object-fit: contain; padding: 16px; }
.cinema-gallery-window { position: relative; }
.cinema-gallery-window > img { height: auto; }
.cinema-contain { display: grid; place-items: center; }
.cinema-contain > img { object-fit: contain; }
.category-image { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: inherit; }
.category-image img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.category-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #090a0ef5, #090a0e38 100%); }
.portfolio-navigation .departments > a { isolation: isolate; min-height: 260px; justify-content: end; align-items: start; padding: 32px; }
.portfolio-navigation .departments > a h3, .portfolio-navigation .departments > a p { position: relative; z-index: 1; }
.portfolio-navigation .departments > a h3 { text-shadow: 0 2px 14px #000; }

@media (prefers-reduced-motion: no-preference) {
  .cinematic-ready .hero-sequence { position: relative; height: 220svh; }
  .cinematic-ready .home-hero { position: sticky; top: var(--header-height); height: calc(100svh - var(--header-height)); min-height: 540px; max-height: none; padding-top: 40px; padding-bottom: 85px; perspective: 1200px; }
  .cinematic-ready .home-gears { inset: -45px; transform-origin: 68% 48%; transform: translate3d(0, var(--camera-y, 0%), 0) scale(var(--camera-scale, 1)); }
  .cinematic-ready .gear-ring { transform-origin: 65% 50%; transform: rotate(var(--ring-turn, 0deg)) scale(var(--ring-scale, 1)); }
  .cinematic-ready .gear-vision { transform: translate3d(0, var(--vision-y, 0%), 0); }
  .cinematic-ready .home-hero::before { z-index: -1; background: linear-gradient(90deg, #090a0ed9, #090a0e1a 85%), radial-gradient(ellipse at 70% 48%, #ffb34320, transparent 65%); }
  .cinematic-ready .home-hero::after { height: 180px; z-index: 3; }
  .cinematic-ready .home-hero-copy { transform: translate3d(var(--copy-x, 0px), var(--copy-y, 0px), 0); opacity: var(--copy-opacity, 1); }
  .cinematic-ready .home-hero-copy:focus-within { opacity: 1; transform: none; z-index: 6; background: #090a0ee8; border-radius: 18px; }
  .cinematic-ready .home-hero:has(.home-hero-copy:focus-within) .hero-work-stage { opacity: 0; }
  .cinematic-ready .hero-work-stage { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: var(--stage-opacity, 0); perspective: 1200px; }
  .hero-work-layer { position: absolute; top: 50%; left: 50%; width: min(900px, 66vw); aspect-ratio: 16 / 9; border: 2px solid var(--accent); border-radius: 28px; overflow: hidden; background: #11131b; box-shadow: 0 30px 80px #000c, 0 0 32px rgba(var(--accent-rgb), .22); transform: translate(-50%, -50%) translate3d(var(--plane-x, 120vw), var(--plane-y, 40vh), 0) rotate(var(--plane-turn, -15deg)) scale(var(--plane-scale, .45)); }
  .hero-work-layer > img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--plane-zoom, 1.4)); }
  .hero-plane-caption { position: absolute; z-index: 1; left: 16px; top: 16px; max-width: calc(100% - 32px); padding: 10px 12px; background: #090a0eee; color: #fff; text-shadow: 0 2px 4px #000; opacity: var(--caption-opacity, 0); transform: translateY(var(--caption-y, 24px)); }
  .hero-plane-caption strong { display: block; color: var(--accent); font-size: 18px; letter-spacing: .08em; line-height: 1.4; }
  .hero-plane-caption small { display: block; font-size: 14px; letter-spacing: .04em; line-height: 1.4; }
  .hero-work-marketing .hero-plane-caption { top: 25%; left: auto; right: 40px; text-align: right; }
  .hero-work-video { z-index: 3; --accent: #169bff; --accent-rgb: 22, 155, 255; }
  .hero-work-marketing { z-index: 1; --accent: #ff617f; --accent-rgb: 255, 97, 127; }
  .hero-work-design { z-index: 4; --accent: #69ff47; --accent-rgb: 105, 255, 71; }
  .cinematic-ready .scene-cue { display: flex; position: absolute; bottom: 24px; left: 8vw; z-index: 5; align-items: center; gap: 15px; margin: 0; font-size: 10px; letter-spacing: .2em; color: #e4d9c8; }
  .scene-cue span { display: block; position: relative; width: 85px; height: 2px; background: #ffffff40; }
  .scene-cue span::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--cue-scale, 0)); transform-origin: left; }
  .cinematic-ready .portfolio-navigation { margin-top: -70px; padding-top: 70px; padding-bottom: 70px; background: #10121a; z-index: 4; border-top: 1px solid #ffffff20; box-shadow: 0 -30px 90px #0007; }
  .cinematic-ready :is(.portfolio-navigation, .selected-work, .vision-collection, .vision-design) { clip-path: inset(0 var(--section-inset, 0%) 0 round var(--section-radius, 0px)); }
  .cinematic-ready :is(.portfolio-navigation, .selected-work, .vision-collection, .vision-design):focus-within { clip-path: none; }
  .cinematic-ready .portfolio-navigation .departments > a { transform: translate3d(0, var(--category-y, 0px), 0) rotate(var(--category-turn, 0deg)); transition: box-shadow .3s ease; }
  .cinematic-ready .category-image img { transform: translate3d(0, var(--category-image-y, 0%), 0) scale(var(--category-image-scale, 1.2)); }
  .cinematic-ready .portfolio-navigation .departments > a:focus-visible { transform: none; }
  .cinematic-ready .cinema-image-window { clip-path: inset(var(--image-reveal, 0%) 0 0 round 15px); }
  .cinematic-ready .cinema-image-window > img { transform: translate3d(0, var(--image-y, 0%), 0) rotate(var(--image-turn, 0deg)) scale(var(--image-scale, 1)); }
  .cinematic-ready .media:focus-visible .cinema-image-window, .cinematic-ready .project-gallery a:focus-visible .cinema-image-window { clip-path: none; }
  .cinematic-ready .media:focus-visible .cinema-image-window > img, .cinematic-ready .project-gallery a:focus-visible .cinema-image-window > img { transform: none; }
  .cinematic-ready .department-art { width: 74%; opacity: .42; transform: translate3d(0, var(--department-y, 0px), 0) scale(var(--department-scale, 1.1)); }
  @media (hover: hover) and (pointer: fine) {
    .cinematic-ready .media:hover .cinema-image-window { clip-path: none; }
    .cinematic-ready .media:hover .cinema-image-window > img { transform: none; transition: transform .55s var(--motion-ease); }
  }
  @media (min-width: 901px) {
    .home .selected-work { padding-top: 50px; }
    .home .selected-work > .portfolio-grid { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 70px 50px; }
    .home .selected-work .tile:first-child { grid-row: span 2; }
  }
  @media (max-width: 900px) {
    .cinematic-ready .hero-sequence { height: 185svh; }
    .cinematic-ready .home-hero { min-height: min(600px, calc(100svh - var(--header-height))); }
    .hero-work-layer { width: 86vw; border-radius: 20px; }
    .cinematic-ready .portfolio-navigation { margin-top: -30px; padding-top: 45px; padding-bottom: 40px; }
    .portfolio-navigation .departments > a { min-height: 210px; }
  }
  @media (max-width: 600px) {
    .cinematic-ready .home-hero { padding-top: 30px; padding-bottom: 55px; }
    .cinematic-ready .home-hero::before { background: linear-gradient(90deg, #090a0ee0, #090a0e80); }
    .cinematic-ready .scene-cue { left: 6vw; bottom: 18px; }
    .portfolio-navigation .departments > a { min-height: 190px; }
  }
}
.motion-toggle { position: fixed; right: 18px; bottom: 18px; z-index: 45; padding: 8px 13px; border: 1px solid #ffffff40; border-radius: 24px; background: #090a0ee8; color: #d7d8df; font-size: 11px; letter-spacing: .035em; box-shadow: 0 4px 16px #0006; }
.motion-toggle:hover, .motion-toggle:focus-visible { color: #fff; border-color: var(--accent); }
.motion-toggle:disabled { opacity: .7; cursor: default; }
.motion-paused { scroll-behavior: auto; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition: none !important; }
.motion-paused .media:hover, .motion-paused .departments > a:hover, .motion-paused .project-gallery figure:hover { transform: none; }
.motion-paused .home-gears { transform: none; }

/* Complete logo plates: the artwork stays intact while its window reveals on scroll. */
.logos-intro { max-width: var(--max-width); margin: auto; padding: 65px 5vw 50px; background: radial-gradient(ellipse at 10% 35%, #69ff4710, transparent 65%); }
.logos-title { margin: 12px 0 25px; font-size: clamp(70px, 12vw, 164px); font-weight: 800; letter-spacing: -.055em; line-height: 1; color: #e4ffdf; text-shadow: 0 0 3px #fff, 0 0 12px #69ff4799, 0 0 42px #69ff4733; }
.logos-intro-copy { display: flex; align-items: baseline; gap: 35px; flex-wrap: wrap; margin-bottom: 15px; }
.logos-intro-copy h2 { margin: 0; font-size: clamp(24px, 3vw, 36px); }
.logos-intro-copy p { margin: 0; max-width: 530px; }
.logo-gallery { gap: 40px; }
.logo-gallery figure { padding: 12px; border: 1px solid #69ff4733; border-radius: 18px; background: linear-gradient(145deg, #1c2420, #11151b); }
.logo-gallery a { border-radius: 9px; overflow: hidden; }
.logo-gallery img { aspect-ratio: auto; object-fit: contain; }
.logo-gallery figcaption { display: flex; align-items: baseline; gap: 15px; padding: 18px 8px 8px; color: #f5f3ef; font-size: 16px; line-height: 1.5; }
.logo-number { flex: none; color: var(--accent); font-size: 11px; letter-spacing: .14em; }
.logos .cinema-contain > img { transform: none; }
.logos.cinematic-ready .cinema-image-window { clip-path: none; opacity: calc(100% - var(--image-reveal, 0%)); }
.logos.cinematic-ready .project-gallery a:focus-visible .cinema-image-window { opacity: 1; }
.logo-gallery .logo-banner { grid-column: 1 / -1; }
.logo-gallery figcaption small { display: block; margin-top: 8px; color: #bfc4c4; font-size: 13px; line-height: 1.5; }
.logos .logo-gallery a:focus-visible { outline-offset: 3px; }
@media (max-width: 700px) {
  .logos-intro { padding-top: 45px; padding-bottom: 35px; }
  .logos-intro-copy { gap: 12px; }
  .logo-gallery { gap: 25px; }
}
@media (max-width: 600px) { .motion-toggle { right: 12px; bottom: 12px; font-size: 10px; padding: 7px 11px; } }
/* Landscape phones and short/zoomed windows keep every hero control in normal flow. */
@media (prefers-reduced-motion: no-preference) and (max-height: 600px) {
  .cinematic-ready .hero-sequence { height: auto; }
  .cinematic-ready .home-hero { position: relative; top: auto; height: auto; min-height: 580px; padding-top: 65px; padding-bottom: 65px; }
  .cinematic-ready .home-gears, .cinematic-ready .gear-ring, .cinematic-ready .gear-vision, .cinematic-ready .home-hero-copy { transform: none; }
  .cinematic-ready .home-hero-copy { opacity: 1; }
  .cinematic-ready .hero-work-stage, .cinematic-ready .scene-cue { display: none; }
  .cinematic-ready .portfolio-navigation { margin-top: 0; }
}

/* Complete, stable selected-design previews; original gallery files remain unchanged. */
.design .media.preview-complete { background: #000; }
.design .media.preview-complete .cinema-image-window { display: block; clip-path: none; }
.design .media.preview-complete img { width: 100%; height: 100%; min-width: 0; min-height: 0; padding: 0; object-fit: contain; object-position: center; transform: none; }
.design #vision-project .media.preview-complete img { object-fit: cover; }

/* Task 007: constrain only the practitioner thumbnail, never its lightbox. */
.logo-gallery #practitioner-badges > a { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1.32; }
.logo-gallery #practitioner-badges .cinema-gallery-window { position: absolute; inset: 0; width: 100%; height: 100%; }
.logo-gallery #practitioner-badges img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* 25-point refinement: equal featured projects, separate from category gateways. */
.home .selected-work > .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 55px 36px; }
.home .selected-work .tile:first-child { grid-row: auto; }
.home .selected-work .tile:last-child { grid-column: 1 / -1; width: calc((100% - 36px) / 2); justify-self: center; }
.home .selected-work .tile .media { aspect-ratio: 16 / 9; }
.home .selected-work .tile-copy { min-height: 200px; }
.home .selected-work .tile h3 { font-size: clamp(23px, 2.3vw, 31px); }
.home .selected-work .media .cinema-image-window > img { object-fit: cover; }
.portfolio-navigation .category-image img { transition: transform .55s var(--motion-ease); }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
 .portfolio-navigation .departments > a:is(:hover, :focus-visible) .category-image img { transform: translate3d(0, var(--category-image-y, 0%), 0) scale(calc(var(--category-image-scale, 1) * 1.06)); }
}
.portfolio-navigation .departments > a:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.nav-video { position: relative; display: flex; align-items: center; gap: 3px; }
.video-submenu-toggle { color: inherit; background: transparent; border: 1px solid #ffffff55; border-radius: 4px; padding: 6px; cursor: pointer; font: inherit; }
.video-submenu-toggle:focus-visible, .video-submenu a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.video-submenu { position: absolute; z-index: 30; top: 100%; left: 0; min-width: 230px; padding: 12px 16px; background: #10121a; border: 1px solid var(--accent); border-radius: 8px; box-shadow: 0 15px 30px #000b; }
.video-submenu a { display: block; white-space: nowrap; }
.submenu-ready .video-submenu { display: none; }
.submenu-ready .submenu-open .video-submenu { display: block; }
body:not(.submenu-ready) .video-submenu-toggle { display: none; }
.about .portrait { position: relative; padding: 9px; border: 2px solid #c98bff; border-radius: 18px; background: linear-gradient(135deg,#fff5,#ac56f122,#fff1); box-shadow: 0 0 6px #f4dfff, 0 0 24px #a44de677, inset 0 0 12px #c986ff66; }
.about .portrait img { border-radius: 10px; transition: transform .65s ease; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
 .about .portrait:hover img { transform: scale(1.035); }
}
@keyframes recommendation-soft-reveal {
 0% { filter: blur(9px); color: #fff; text-shadow: 0 0 12px #fff, 0 0 24px #fffc; }
 35% { filter: blur(4px); color: #fff; text-shadow: 0 0 14px #fff9; }
 100% { filter: blur(0); color: inherit; text-shadow: none; }
}
.recommendation-reveal { animation: recommendation-soft-reveal 1.05s ease-out both; }
.motion-paused .recommendation-reveal { animation: none; filter: none; text-shadow: none; }
.motion-paused .portfolio-navigation .category-image img, .motion-paused .portrait img { transform: none !important; transition: none; }
@media (prefers-reduced-motion: reduce) {
 .recommendation-reveal { animation: none; filter: none; text-shadow: none; }
 .portfolio-navigation .category-image img, .about .portrait img { transform: none !important; transition: none; }
}
@media (max-width: 900px) {
 .nav-video { flex-wrap: wrap; justify-content: space-between; }
 .video-submenu { position: static; flex-basis: 100%; min-width: 0; padding: 8px; }
 .video-submenu a { white-space: normal; font-size: 13px; padding: 10px; }
 .home .selected-work > .portfolio-grid { grid-template-columns: 1fr; }
 .home .selected-work .tile:last-child { grid-column: auto; width: 100%; }
 .home .selected-work .tile-copy { min-height: 0; }
}

.campaign-design .project-gallery a { position: relative; display: flex; aspect-ratio: 4 / 3; align-items: center; justify-content: center; background: #13171b; }
.campaign-design .project-gallery .cinema-gallery-window { position: absolute; inset: 0; height: 100%; }
.campaign-design .project-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.campaign-marketing-preview { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 40px; max-width: 1200px; padding: 35px 5vw; margin: 0 auto 50px; border-top: 1px solid var(--line); }
.campaign-marketing-preview .media { overflow: hidden; }
@media(max-width:700px) { .campaign-marketing-preview { grid-template-columns: 1fr; gap: 20px; } }

/* Task 009: compact, complete campaign compositions and an inspectable viewer. */
.campaign-grid .campaign-preview { aspect-ratio: 4 / 3; overflow: visible; background: #161820; }
.campaign-grid .campaign-preview .cinema-image-window { border-radius: 14px; clip-path: none; }
.campaign-grid .campaign-preview img,
.campaign-grid .campaign-preview .cinema-image-window > img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transform: none !important; }
.campaign-grid .tile-copy { padding-top: 22px; }
.campaign-grid .tile-copy h3 { font-size: clamp(18px,1.6vw,24px); }
.image-dialog .artwork-stage { height: 64dvh; overflow: auto; overscroll-behavior: contain; background: #161820; border-radius: 6px; }
.artwork-stage:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.artwork-canvas { position: relative; margin: auto; }
.artwork-canvas > img, .artwork-canvas > iframe { display: block; position: absolute; top: 0; left: 0; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; transform-origin: top left; }
.artwork-canvas > [hidden] { display: none; }
.image-dialog .image-controls { flex-wrap: wrap; justify-content: center; padding: 0; gap: 10px; }
.image-dialog .dialog-head h2 { font-size: clamp(16px,2.3vw,25px); }
.image-dialog .dialog-head { gap: 12px; }
.image-dialog .image-controls button { min-height: 42px; }
.contact-meeting { margin: 30px 0 0; }
.contact-meeting img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid #ffffff33; }
.contact-meeting figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
/* Reduce grid footprints with real layout space, not transforms or hero scaling. */
.portfolio-grid, .project-gallery, .portfolio-navigation .departments, .personal-gateways { column-gap: 52px; row-gap: 64px; }
.portfolio-grid > .tile, .project-gallery > figure { width: 94%; justify-self: center; }
.portfolio-navigation .departments > a, .personal-gateways > a { width: 94%; justify-self: center; }
.home .selected-work > .portfolio-grid { gap: 64px 52px; }
.home .selected-work .tile:last-child { width: calc((100% - 52px) * .47); }
@media(min-width:1200px) { .portfolio-chapter > .portfolio-grid { gap: 64px 48px; } }
@media(hover:hover) and (pointer:fine) {
 .media:hover, .media:focus-visible { transform: translateY(-2px); }
 .departments > a:hover, .project-gallery figure:hover { transform: translateY(-2px); }
}
@media(max-width:900px) {
 .home .selected-work .tile:last-child { width: 94%; }
 .portfolio-grid, .project-gallery, .portfolio-navigation .departments, .personal-gateways { column-gap: 38px; }
}
@media(max-width:600px) {
 .portfolio-grid, .project-gallery, .portfolio-navigation .departments, .personal-gateways { row-gap: 46px; }
 .portfolio-grid > .tile, .project-gallery > figure,
 .portfolio-navigation .departments > a, .personal-gateways > a, .home .selected-work .tile:last-child { width: 96%; }
 .image-dialog { padding: 12px; }
 .image-dialog .artwork-stage { height: 57dvh; }
 .image-dialog .image-controls button { font-size: 13px; padding: 8px; }
}
@media(prefers-reduced-motion:reduce) {
 .media:hover, .media:focus-visible, .departments > a:hover, .project-gallery figure:hover { transform: none; }
}

/* Task010: one caption reference, complete framed artwork and compact actions. */
:root { --badge-caption-size: clamp(18px,1.6vw,24px); }
.tile-copy h3, .home .selected-work .tile h3, .campaign-grid .tile-copy h3,
.project-gallery figcaption {
 font-family: Arial, Helvetica, sans-serif; font-size: var(--badge-caption-size);
 font-weight: 700; line-height: 1.12; letter-spacing: -.025em; text-transform: none;
 margin: 0 0 13px;
}
.tile-copy { padding-top: 22px; }
.project-gallery figcaption { padding: 22px 0 0; }
.project-gallery figcaption small { font-weight: 400; line-height: 1.5; letter-spacing: normal; }
.campaign-grid .tile-copy { min-height: 140px; display: flex; flex-direction: column; align-items: flex-start; }
.campaign-grid .tile-copy h3 { min-height: 2.24em; }
.email-view-button { display: inline-block; width: fit-content; margin-top: auto; padding: 9px 13px;
 border: 1px solid #fff; border-radius: 6px; color: #fff; background: #11141b;
 font: 700 12px/1.3 Arial,Helvetica,sans-serif; letter-spacing: .045em; text-transform: uppercase;
 box-shadow: 0 0 3px #fff8, 0 0 10px #fff2; text-decoration: none;
 transition: box-shadow .25s ease, background .25s ease;
}
.email-view-button:is(:hover,:focus-visible) { background: #242832; box-shadow: 0 0 5px #fff, 0 0 17px #fff6; }
.email-view-button:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.project-gallery .gallery-media { aspect-ratio: 4 / 3; overflow: visible; display: block; position: relative; background: #11151b; }
.project-gallery .gallery-media .cinema-image-window { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: none; opacity: 1; overflow: hidden; border-radius: 12px; }
.project-gallery .gallery-media img, .project-gallery .gallery-media .cinema-image-window > img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 12px; object-fit: contain; transform: none; }
.logo-gallery #practitioner-badges > a.gallery-media { aspect-ratio: 4 / 3; }
.project-gallery figure { overflow: visible; }
.contact-meeting-media { aspect-ratio: 3 / 2; }
.contact-meeting-media .cinema-image-window { clip-path: none; border-radius: 12px; }
.contact-meeting-media img, .contact-meeting-media .cinema-image-window > img { width: 100%; height: 100%; object-fit: contain; transform: none; }
.contact-meeting figcaption { margin-top: 20px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
 .contact-meeting-media:is(:hover,:focus-visible) { transform: translateY(-2px) scale(1.01); }
}
@media (prefers-reduced-motion:no-preference) {
 .contact-meeting-media:focus-visible { transform: translateY(-2px) scale(1.01); }
}
.home .selected-work .tile:last-child { grid-column: auto; width: 94%; }
.home .selected-work .media.preview-complete img { object-fit: contain; transform: none; }
.home .selected-work .media.preview-complete .cinema-image-window { clip-path: none; }
.recommendation-scroll-reveal { --letter-progress: 0; animation: none;
 filter: blur(calc(7px * (1 - var(--letter-progress))));
 color: #fff; text-shadow: 0 0 calc(22px * (1 - var(--letter-progress))) #fffc;
}
.recommendation-revealed { filter: none; text-shadow: none; }
.motion-paused .recommendation-scroll-reveal { filter: none; text-shadow: none; }
@media(prefers-reduced-motion:reduce) {
 .recommendation-scroll-reveal { filter: none; text-shadow: none; }
 .contact-meeting-media:is(:hover,:focus-visible), .contact-meeting-media:is(:hover,:focus-visible) img { transform: none; transition: none; }
}
.brand img { width: 227.5px; height: 106.4px; }
@media(max-width:1080px) { .brand img { width: 187.5px; height: 87.6875px; } }
@media(min-width:901px) and (max-width:1080px) {
 .site-header { gap: 12px; padding-inline: 3vw; }
 .primary-nav { gap: 12px; }
 .primary-nav a { font-size: 11px; }
}
@media(max-width:600px) {
 .brand img { width: 148.75px; height: 69.5625px; }
 .home .selected-work .tile:last-child { width: 96%; }
 .campaign-grid .tile-copy { min-height: 125px; }
}
@media(max-width:360px) {
 .site-header { gap: 6px; padding-inline: 3vw; }
 .menu-toggle, .resume { font-size: 11px; padding: 8px 6px; }
}

/* Task011: campaign-specific white neon; unrelated section colors stay intact. */
.rushified, .rushified-feature { --accent: #fff; --glow: #ffffff55; }
.rushified-feature .text-link { display: inline-block; margin-top: 12px; color: #fff; }
.rush-case { max-width: 1500px; margin: auto; padding: 70px 4vw 0; }
.rush-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6vw; padding: 30px 0 75px; }
.rush-kicker { font-size: 11px; letter-spacing: .17em; color: #ccc; }
.rush-hero h1 { font-family: Arial, sans-serif; font-size: clamp(46px,6.5vw,100px); letter-spacing: -.055em; line-height: 1; margin: 24px 0; color: #fff; text-shadow: 0 0 14px #ffffff25; }
.rush-hero h1 span { display: block; font-size: clamp(22px,2.4vw,34px); letter-spacing: -.025em; line-height: 1.2; margin-top: 22px; }
.rush-hero p { max-width: 60ch; line-height: 1.7; }
.rush-intro { font-size: 18px; color: #eee; }
.rush-jump { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 28px; font-size: 13px; }
.rush-jump a { padding: 7px 0; border-bottom: 1px solid #aaa; }
.rush-chapter { padding: 65px 0; border-top: 1px solid #ffffff33; scroll-margin-top: 140px; }
.rush-case .section-head h2 { font-size: clamp(27px,3vw,42px); text-transform: none; letter-spacing: -.025em; }
.rush-case .portfolio-grid, .rush-case .project-gallery { width: 100%; margin: 35px 0 0; }
.rush-case .project-gallery figure { min-width: 0; }
.rush-case .gallery-media { aspect-ratio: 4/3; background: #17171c; }
.rush-case .gallery-media img { width: 100%; height: 100%; object-fit: contain; }
.rush-case figcaption p { font: 15px/1.65 Arial,sans-serif; color: #bbb; margin-top: 12px; }
.rush-case figcaption h3 { font-size: clamp(18px,1.8vw,24px); }
.rush-case .tile-copy p { line-height: 1.65; }
.rush-radio { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.rush-audio { padding: 24px; border: 1px solid #fff; border-radius: 12px; box-shadow: 0 0 15px #ffffff15; }
.rush-audio audio { width: 100%; }
.rush-attribution { max-width: 900px; padding: 45px 0; border-top: 1px solid #ffffff33; color: #bbb; line-height: 1.8; }
.rush-attribution h2 { font-size: 20px; color: #eee; }
.logo-gallery .logo-banner-compact { grid-column: auto; }
.logo-gallery .logo-banner-compact .gallery-media { aspect-ratio: 4/3; }
.logo-gallery .logo-banner-compact .gallery-media img { aspect-ratio: auto !important; width: 100%; height: 100%; object-fit: contain; }
@media(max-width: 900px) { .rush-hero, .rush-radio { grid-template-columns: 1fr; } .rush-case { padding-top: 35px; } .rush-hero { gap: 30px; padding-bottom: 40px; } .rush-chapter { padding: 40px 0; } }
@media(prefers-reduced-motion: reduce) { .rushified .media img, .rushified-feature .media img { transform: none !important; transition: none !important; } }
.rushified, .rushified-feature { --accent-rgb: 255,255,255; }
