/* Editorial content and the personal-credit gallery; the hero owns its atmosphere. */
body { --paper: #080a0c; --ink: #e7e9eb; --muted: #9ba5ae; --accent: #bfd1df; --line: #ffffff24; color-scheme: dark; }
.disciplines, .projects, .audio-section { background: var(--paper); }
.skip { background: #e7e9eb; color: #080a0c; }
.text-link { font-size: 12px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.text-link:hover { border-color: currentColor; }
.section-link { display: inline-flex; align-items: center; gap: 24px; margin-top: 32px; }
.section-subtitle { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 16px 0 0; }
.credit-note { max-width: 580px; font-size: 13px; line-height: 1.8; color: var(--muted); margin: 18px 0 0; }
.smoke-hero .hero-caption { display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 10px; }
.smoke-hero .hero-caption a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; white-space: nowrap; }
.smoke-hero .hero-caption a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.smoke-hero .hero-caption a:focus-visible { outline-color: #cbe5f7; }
.smoke-hero .hero-caption > span { opacity: .55; }
#work, #film-television, #audio, #software, #about { scroll-margin-top: 24px; }
.profile { display: grid; grid-template-columns: 1fr 2fr; gap: 35px; }
.home .profile { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.profile > .section-label { margin: 0; line-height: 1.6; }
.profile-copy { max-width: 660px; font-size: clamp(19px, 2vw, 24px); line-height: 1.65; letter-spacing: -.3px; margin: 0; }
.profile-copy a, .profile .body-copy a { text-decoration-color: var(--line); text-underline-offset: 4px; }
.profile-copy a:hover, .profile .body-copy a:hover { text-decoration-color: currentColor; }
.profile .body-copy.spaced { margin-top: 24px; }
.profile .credit-note { margin-top: 24px; }

/* Cool overhead pools and restrained focus/hover reactions evoke a gallery wall. */
.personal-work { background: linear-gradient(#080a0c, #0c0f12 25%, #090b0e 80%, #080a0c); }
.gallery-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 35px; padding-top: 48px; padding-bottom: 44px; }
.gallery-intro > .section-label { margin: 0; padding-top: 14px; color: var(--muted); }
.gallery-intro > div { min-width: 0; }
.gallery-intro h2 { font-size: clamp(40px, 5.5vw, 76px); line-height: 1.08; letter-spacing: -.045em; margin: 0; text-wrap: balance; }
.gallery-intro .credit-note { max-width: 490px; margin-top: 24px; }
.gallery-section { padding-top: 44px; padding-bottom: 64px; overflow: clip; }
.gallery-label { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; margin: 0 0 95px; font-size: 10px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.gallery-label span { letter-spacing: .08em; }
.gallery-grid { display: grid; gap: clamp(32px, 6vw, 90px); }
.film-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 120px; max-width: 900px; margin: 0 auto; padding: 0 24px; }
.audio-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 100px clamp(40px, 6vw, 90px); }
.audio-gallery > .gallery-card { width: 100%; max-width: 390px; justify-self: center; }
.audio-gallery > .origins-card { grid-column: 1 / -1; max-width: none; }
.gallery-card { min-width: 0; }
.gallery-frame { position: relative; isolation: isolate; display: block; padding: 6px; aspect-ratio: 2 / 3; background: #171b1e; border: 1px solid #c9d6de45; box-shadow: 0 2px 1px #000, 0 18px 30px #0009, 0 45px 60px #0005; transform-origin: 50% 70%; transition: border-color .65s, transform .8s cubic-bezier(.2,.65,.25,1), box-shadow .8s; }
.gallery-frame::before { content: ""; position: absolute; z-index: -1; pointer-events: none; top: -100px; bottom: -55px; left: -28%; right: -28%; background: radial-gradient(ellipse 18% 7% at 50% 8%, #d9eaff45, transparent 100%), radial-gradient(ellipse 45% 70% at 50% 0, #dcecff40, #b7d5f213 50%, transparent 85%); opacity: .72; filter: blur(17px); transition: opacity .8s; }
.gallery-frame::after { content: ""; position: absolute; pointer-events: none; inset: 0; border-top: 1px solid #e3f1ff85; background: linear-gradient(125deg, transparent 25%, #e6f2ff12 43%, transparent 62%); background-size: 220% 100%; background-position: 100% 0; opacity: .5; transition: background-position 1.1s, opacity .8s; }
.gallery-frame > img { display: block; width: 100%; height: 100%; object-fit: contain; background: #07090b; transition: filter .8s; }
.gallery-frame:is(:hover, :focus-visible)::before { opacity: 1; }
.gallery-frame:is(:hover, :focus-visible)::after { opacity: 1; background-position: 0 0; }
.gallery-frame:is(:hover, :focus-visible) { border-color: #bed5e6a0; }
.gallery-frame:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }
@media (hover: hover) and (pointer: fine) {
  .gallery-frame:hover { transform: perspective(1100px) translateY(-5px) rotateX(1deg) scale(1.008); box-shadow: 0 2px 1px #000, 0 25px 38px #000a, 0 50px 70px #0006; }
  .gallery-frame:hover > img { filter: brightness(1.065) saturate(1.025); }
}
.gallery-caption { padding: 26px 0 0; }
.gallery-caption .section-label { font-size: 9px; font-weight: 400; letter-spacing: .13em; color: var(--muted); }
.gallery-caption h4 { font-size: clamp(22px, 2.3vw, 30px); font-weight: 400; letter-spacing: -.65px; margin: 10px 0 0; }
.gallery-destination { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; margin-top: 4px; font-size: 10px; letter-spacing: .08em; color: var(--muted); text-decoration: none; }
.gallery-destination:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.gallery-caption p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 12px 0 0; max-width: 320px; }
.audio-gallery .gallery-frame { aspect-ratio: 1; }
.origins-covers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 36px); }
.origins-card .gallery-caption p { max-width: none; }
.artwork-note { color: #88939d; font-size: 10px; line-height: 1.8; margin: 70px 0 0; }
.artwork-note a { text-underline-offset: 3px; text-decoration-color: var(--line); }
/* Development shares the gallery frame, but reads separately from released credits. */
.development-feature { max-width: 900px; margin: 100px auto 0; padding: 0 24px; }
.development-topline { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.development-label { color: var(--muted); font-size: 10px; font-weight: 400; letter-spacing: .16em; }
.development-recognition { display: flex; align-items: center; gap: 20px; padding: 12px 20px; border-left: 1px solid #bfd1df80; background: linear-gradient(90deg, #bfd1df0d, transparent); color: var(--ink); text-decoration: none; }
.development-recognition strong { font-size: clamp(28px, 3vw, 36px); font-weight: 400; letter-spacing: -.8px; white-space: nowrap; }
.development-recognition > span { font-size: 14px; line-height: 1.5; letter-spacing: .03em; }
.development-recognition small { display: block; font-size: 10px; letter-spacing: .04em; color: var(--muted); margin-top: 4px; }
.development-recognition:hover { border-color: #fff; background-color: #bfd1df08; }
.development-recognition:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.development-preview { width: 100%; aspect-ratio: 16 / 9; min-height: 214px; }
.development-preview iframe { position: absolute; inset: 6px; display: block; width: calc(100% - 12px); height: calc(100% - 12px); border: 0; background: #07090b; }
.development-preview:hover { transform: none; }
.development-preview:focus-within { outline: 2px solid var(--accent); outline-offset: 5px; }
.development-preview::after { background: none; }
.development-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.development-caption :is(h3, h4) { font-size: clamp(28px, 3vw, 38px); font-weight: 400; letter-spacing: -.65px; margin: 0; }
.development-caption p { max-width: 440px; }
.development-links { flex-shrink: 0; display: flex; flex-direction: column; }
.development-links .gallery-destination { margin: 0; justify-content: space-between; gap: 24px; }
.development-links .gallery-destination:first-child { color: var(--ink); }
.home .projects { border-top: 1px solid var(--line); }
.project-status, .company-details > div { border-color: var(--line); }
@media (max-width: 700px) {
  .header nav a { display: inline; }
  .header .nav-contact span { display: none; }
  .header nav { gap: 18px; font-size: 11px; }
  .smoke-hero .hero-caption { gap: 8px; font-size: 8px; letter-spacing: .15em; left: 16px; right: 16px; }
  .profile { grid-template-columns: 1fr; gap: 28px; }
  .profile-copy { font-size: 19px; }
  .gallery-intro { grid-template-columns: 1fr; gap: 22px; padding-top: 24px; padding-bottom: 28px; }
  .gallery-intro > .section-label { padding-top: 0; }
  .gallery-label { margin-bottom: 75px; font-size: 9px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 94px; max-width: 390px; margin: auto; padding: 0 18px; }
  .audio-gallery > .origins-card { grid-column: auto; }
  .origins-covers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .gallery-frame::before { top: -64px; }
  .gallery-caption { padding-top: 22px; }
  .gallery-caption h4 { font-size: 27px; }
  .gallery-section { padding-bottom: 48px; }
  .development-feature { margin-top: 76px; padding: 0; }
  .development-caption { flex-direction: column; gap: 18px; }
  .development-links { flex-direction: row; flex-wrap: wrap; gap: 8px 28px; }
  .development-topline { flex-direction: column; align-items: flex-start; gap: 20px; }
  .development-recognition { gap: 16px; padding: 10px 14px; }
  .artwork-note { margin-top: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-frame, .gallery-frame::before, .gallery-frame::after, .gallery-frame > img { transition: none; }
  .gallery-frame:hover { transform: none; }
}
