/* Shared reading sizes, contrast and appearance. Loaded after page styles. */
:root{
  --ink:#20291e;--body-ink:#303b2c;--muted:#44513e;
  --line:#aab5a0;--panel:#e1e6da;--panel-soft:#edf0e780;
  --control:#edf1e5;--control-ink:#27351f;--focus:#365b26;
}
:root[data-theme="dark"]{
  --ink:#edf2e9;--body-ink:#d6dfd0;--muted:#bbc9b4;
  --line:#53614d;--panel:#293429;--panel-soft:#253024c9;
  --control:#c9dbbb;--control-ink:#1d2d16;--focus:#c1dfa9;
}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:17px;font-weight:500;color:var(--ink)}
h1,h2,h3,.lc h1,.lc h2,.lc h3{font-weight:500}
p,.page-intro p,.bio-grid p,.bio-card p,.experience-row p,.contact-details p,.detail-section p{font-size:18px;line-height:1.75;font-weight:500;color:var(--body-ink)}
.page-intro p{max-width:650px}
.bio-grid>div:first-child{max-width:680px}
.bio-card p{font-size:17px}
.experience-row p[style]{color:var(--body-ink)!important;font-weight:600}
.experience-row h3,.project-top h3{font-weight:550;line-height:1.3}
.eyebrow,.project-link .eyebrow,.reel-editorial-header>.eyebrow,.lc .eyebrow{font-size:13px;font-weight:650;letter-spacing:.09em;color:var(--muted)}
.nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:22px}
.nav>.brand{justify-self:start}
.nav>.navlinks{justify-self:center}
.nav>.nav-tools{justify-self:end}
.brand{font-size:19px;letter-spacing:-.04em;font-weight:650;white-space:nowrap}
.navlinks a{font-size:15px;font-weight:550;color:var(--body-ink);padding:11px 16px;min-height:44px}
.navlinks a.active,.navlinks a:hover{color:var(--ink)}
.nav-tools{display:flex;align-items:center;gap:20px}
.status{font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--muted);white-space:nowrap}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:120px;padding:10px 14px;border:1px solid var(--line);border-radius:26px;background:var(--panel-soft);color:var(--ink);font-size:14px;font-weight:600;white-space:nowrap}
.theme-toggle:hover{background:var(--panel)}
.theme-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.theme-sun{display:none}
:root[data-theme="dark"] .theme-moon{display:none}
:root[data-theme="dark"] .theme-sun{display:block}
a:focus-visible,button:focus-visible,summary:focus-visible,video:focus-visible{outline:3px solid var(--focus);outline-offset:5px}
.text-link,.back,.lc>.back,.pill,.tool,.tag{font-size:16px;font-weight:550;color:var(--body-ink)}
.pill{min-height:48px;background:var(--panel-soft);border-color:var(--line)}
.pill.dark{background:var(--control-ink);border-color:var(--control-ink);color:#f4f7f0}
.project-link p,.craft-intro{font-size:17px;line-height:1.7;color:var(--body-ink)}
.craft-intro strong{font-weight:600;color:var(--ink)}
.arrow{color:var(--muted)}
.reel-terms li,.reel-terms li:first-child{color:var(--body-ink);font-weight:500}
.reel-terms.terms-visible li{animation:none;opacity:1}
.reel-meta{font-size:14px;font-weight:550;color:var(--muted);opacity:1}
.thumbnail-label,.thumbnail-title small{font-size:14px;font-weight:550;color:#edf2e9}
.thumbnail-title strong{font-weight:500}
footer{font-size:14px;line-height:1.7;color:var(--muted)}
footer a{font-weight:600}
.portrait figcaption{font-size:14px;font-weight:550;color:var(--body-ink);background:var(--panel);border-color:var(--line)}
.contact-email{font-size:clamp(20px,2vw,26px);font-weight:550;color:var(--ink);letter-spacing:-.02em;line-height:1.5;min-height:44px;padding-bottom:8px}
.contact-details .eyebrow{margin-bottom:15px}
.cover-meta{font-size:13px;font-weight:650;letter-spacing:.08em}
.type-cover-shoot{background:radial-gradient(ellipse at 100% 0%,#81503d,transparent 65%),linear-gradient(135deg,#39323b,#684438)}
.cover-title{font-weight:500}
.cover-bottom{font-size:14px;font-weight:550;flex-wrap:wrap;gap:7px}
.cover-bottom span:last-child{font-size:12px;white-space:normal}
.notice,.empty,.detail-facts p{font-size:16px;color:var(--body-ink)}
/* Case studies share the same hierarchy rather than faint page-specific labels. */
.lc p,.lc .lc-hero-copy>p:not(.lc-lead),.lc .lc-more>p,.lc .lc-two p,.lc .ai-research-grid p,.lc .ai-artist-note p,.lc .music-scene-plan p,.lc .music-audio-branches p,.lc .ti-steps p,.lc-template .lc-hero-copy>p:not(.lc-lead){font-size:18px;line-height:1.75;color:var(--body-ink);font-weight:500}
.lc .lc-lead{font-size:23px;color:var(--ink);font-weight:500}
.lc .lc-role,.lc-template .lc-role{font-size:15px;color:var(--muted);font-weight:500}
.lc .lc-role span{font-size:13px;font-weight:650}
.lc .lc-no-brief,.lc .lc-hardware{color:var(--ink);font-weight:550}
.lc .lc-hardware small{font-size:15px;color:var(--muted);font-weight:500}
.lc-cloud-cost .lc-budget-total{color:var(--body-ink)}
.lc .lc-caption,.lc figcaption,.lc .ti-film>figcaption,.lc-node small,.lc-jump a,.lc-num,.lc-brains small{font-size:15px;line-height:1.7;color:var(--muted);font-weight:500}
.lc-stats span,.lc-measure span,.ti-stats span{font-size:16px;line-height:1.6;color:var(--body-ink)}
.lc-stats strong,.lc-measure strong,.ti-stats strong{font-weight:500;color:var(--ink)}
.lc blockquote,.lc-keyline,.lc-more summary,.lc-cloud-cost,.lc-cloud-cost strong,.lc-cloud-cost span,.lc-cloud-cost small,.lc-repair-flow,.lc-format-flow,.shoot-proofpoints,.music-audio-result,.ai-quality-note strong,.ti-process-heading h2,.ti-steps h3{color:var(--ink)}
.lc-more summary{font-size:18px;font-weight:550;min-height:48px}
.lc-node{font-size:17px;color:var(--body-ink)}
.lc-node small{font-size:14px}
.lc-graph>b,.lc-plus,.lc-num{color:var(--muted)}
.ai-research-grid>div>span,.music-scene-plan span,.music-audio-map span{font-size:13px;font-weight:650;color:var(--muted)}
.lc-cloud-cost small,.lc-timeline-note{font-size:14px}
.lc-track>span,.lc-track.bridges>div,.lc-track.audio>div{font-size:14px}
.lc-track.source i{font-size:13px}
.ti-versions span{font-size:14px;font-weight:550}
.ti-versions button{color:var(--body-ink);background:var(--panel-soft);border-color:var(--line)}
.ti-versions button[aria-pressed="true"]{background:var(--control-ink);color:#f4f7f0;border-color:var(--control-ink)}
.ti-step-number{color:var(--body-ink);background:var(--panel);border-color:var(--line);font-weight:600}
.ti-steps li:not(:last-child):before{background:var(--line)}
.ti-stats,.ti-process{border-color:var(--line)}
.lc .ti-process-heading p{font-size:20px;color:var(--body-ink)}
/* Keep intentional dark timeline panels readable in either appearance. */
.lc-timeline,.lc-preview-hold{color:#edf2e9}
.lc-timeline .lc-track>span,.lc-timeline .lc-timeline-note{color:#dce8d3}
.lc-timeline .lc-track.bridges>div{color:#edf2e9}
.lc-track.audio>div{color:#1b2b16}
/* Dark appearance covers every page surface; images and film pixels stay intact. */
:root[data-theme="dark"] body{background:radial-gradient(ellipse at 22% 0%,#29342b,transparent 65%),linear-gradient(125deg,#171e19,#1b241d 55%,#202920);background-attachment:fixed}
:root[data-theme="dark"] body:before{mix-blend-mode:screen;opacity:.07}
:root[data-theme="dark"] ::selection{background:#48613a;color:#fff}
:root[data-theme="dark"] .navlinks{background:linear-gradient(145deg,#3e4c3b99,#263024c9);border-color:#64725d;box-shadow:inset 0 1px 1px #a5b99526,0 7px 28px #0003}
:root[data-theme="dark"] .navlinks a.active{background:#4a5b40;color:#f7faf3;box-shadow:none}
:root[data-theme="dark"] .navlinks a:hover{background:#3a4833}
:root[data-theme="dark"] .pill.dark{background:var(--control);color:var(--control-ink);border-color:var(--control)}
:root[data-theme="dark"] .pill:hover{background:#34422e}
:root[data-theme="dark"] .pill.dark:hover{background:#d9e9cc}
:root[data-theme="dark"] .bio-card,
:root[data-theme="dark"] .lc-workflow,
:root[data-theme="dark"] .lc-node,
:root[data-theme="dark"] .music-audio-map,
:root[data-theme="dark"] .music-audio-branches>div,
:root[data-theme="dark"] .ai-input-image,
:root[data-theme="dark"] .flow div,
:root[data-theme="dark"] .tool{background:var(--panel-soft);border-color:var(--line);box-shadow:none;color:var(--body-ink)}
:root[data-theme="dark"] .lc-node small,
:root[data-theme="dark"] .music-audio-map>b{color:var(--muted)}
:root[data-theme="dark"] .ai-storyboard img,
:root[data-theme="dark"] .music-references>div,
:root[data-theme="dark"] .lc-source-grid,
:root[data-theme="dark"] .lc-source-grid img,
:root[data-theme="dark"] .lc-contact img{background:#252f24}
:root[data-theme="dark"] .project-visual.type-cover{border-color:#72816b55;box-shadow:inset 0 1px 0 #ffffff0d}
:root[data-theme="dark"] .type-cover-memory{color:#edf4e7;background:radial-gradient(ellipse at 90% 0%,#3f5743,transparent 65%),linear-gradient(130deg,#2f4435,#25362d)}
:root[data-theme="dark"] .type-cover-shoot{color:#fff0e2;background:radial-gradient(ellipse at 100% 0%,#704c37,transparent 65%),linear-gradient(135deg,#39323a,#48372f)}
:root[data-theme="dark"] .type-cover-ai{color:#f6e8ce;background:radial-gradient(ellipse at 90% 0%,#655334,transparent 65%),linear-gradient(135deg,#453c2b,#302d23)}
:root[data-theme="dark"] .type-cover-music{color:#f0edf7;background:radial-gradient(ellipse at 95% 0%,#50536a,transparent 65%),linear-gradient(135deg,#343e4c,#322e40)}
:root[data-theme="dark"] .type-cover-template{color:#e4f3ed;background:radial-gradient(ellipse at 95% 0%,#3d5a50,transparent 65%),linear-gradient(135deg,#2c4540,#223630)}
:root[data-theme="dark"] .cover-bottom{border-color:#f0f7e838}
:root[data-theme="dark"] .ti-versions button[aria-pressed="true"]{background:var(--control);color:var(--control-ink);border-color:var(--control)}
:root[data-theme="dark"] .watch-backdrop{background:#060a0666}
:root[data-theme="dark"] .skip{background:var(--panel);color:var(--ink)}
:root[data-theme="dark"] :is(.section,.experience-row,.contact-email,.lc-chapter,.lc-stats,.lc-more,.lc-brains,.lc-brains details,.lc blockquote,.lc-source-prep,.lc-cloud-cost,.ai-research-grid>div,.ai-artist-note,.ai-quality-note,.music-scene-plan>div,footer){border-color:var(--line)}
@media(max-width:1300px){.nav-tools .status{display:none}}
@media(max-width:850px){.navlinks a{padding-inline:12px}.nav{gap:16px}.theme-toggle{min-width:44px}.theme-label{display:none}}
@media(max-width:600px){
 .nav{display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px 12px}
 .brand{margin:0;font-size:19px}.nav-tools{grid-column:2;grid-row:1}
 .navlinks{grid-column:1/-1;grid-row:2;margin:0}
 .navlinks a{font-size:14px;padding:11px 12px;display:flex;align-items:center;justify-content:center}
 .theme-toggle{width:44px;padding:10px}.status{display:none}
 p,.page-intro p,.bio-grid p,.bio-card p,.experience-row p,.contact-details p{font-size:17px}
 .lc p,.lc .lc-hero-copy>p:not(.lc-lead),.lc .lc-more>p,.lc .lc-two p,.lc .ai-research-grid p,.lc .ai-artist-note p,.lc .music-scene-plan p,.lc .music-audio-branches p,.lc .ti-steps p,.lc-template .lc-hero-copy>p:not(.lc-lead){font-size:17px}
 .lc .lc-lead{font-size:21px}.lc .eyebrow,.eyebrow,.project-link .eyebrow,.reel-editorial-header>.eyebrow{font-size:13px}
 .project-top h3{font-size:23px}.project-link p{font-size:16px}
 .reel-meta{font-size:13px}.reel-terms li{font-size:18px}
 .thumbnail-label,.thumbnail-title span,.thumbnail-title small{font-size:13px}
 .cover-meta{font-size:13px}.cover-bottom{font-size:13px}.cover-bottom span:last-child{font-size:12px}
 .lc .lc-caption,.lc figcaption,.lc .ti-film>figcaption{font-size:14px}
 .contact-email{font-size:20px}
 .lc-timeline{overflow-x:auto}.lc-timeline .lc-track{min-width:520px;grid-template-columns:110px 1fr;gap:14px}
 .lc-track>span,.lc-track.bridges>div,.lc-track.audio>div{font-size:14px}
 .lc-track.source i{font-size:13px}.lc-timeline-note{font-size:13px}
 .cover-bottom span:last-child{display:none}
}
@media(max-width:380px){.navlinks a{font-size:13px;padding-inline:9px}.master-section .reel-terms{grid-template-columns:1fr;gap:7px}}
@media(max-width:850px){
 .nav{grid-template-columns:minmax(0,1fr) auto;gap:16px 12px}
 .nav>.brand{grid-column:1;grid-row:1;margin:0}
 .nav>.nav-tools{grid-column:2;grid-row:1}
 .nav>.navlinks{grid-column:1/-1;grid-row:2;width:max-content;max-width:100%;justify-self:center;justify-content:center}
}
/* Picture-area controls leave the native timeline and volume controls uncovered. */
.inline-player{position:relative;width:100%;border-radius:18px}
.video-surface-toggle{position:absolute;inset:0 0 58px;z-index:1;display:block;width:100%;border:0;padding:0;border-radius:inherit;background:transparent;color:#fff;cursor:pointer;touch-action:manipulation}
.surface-play-icon{position:absolute;left:50%;top:calc(50% + 29px);transform:translate(-50%,-50%);width:64px;height:64px;display:grid;place-items:center;border:1px solid #ffffffad;border-radius:50%;background:#15201499;backdrop-filter:blur(12px);opacity:0;pointer-events:none}
.surface-play-icon svg{width:23px;height:23px;fill:currentColor;margin-left:3px}
.video-surface-toggle[data-paused="true"] .surface-play-icon{opacity:1}
.reel-screen.has-poster{cursor:pointer}
.portrait img{aspect-ratio:auto;object-fit:contain}
@media(max-width:600px){.surface-play-icon{width:50px;height:50px}.surface-play-icon svg{width:19px;height:19px}}

/* Stable scrolling surfaces on touch devices; retain the matte grain. */
@media (max-width: 700px){
  body, :root[data-theme="dark"] body{background-attachment:scroll}
  body{position:relative;min-height:100vh}
  body:before{position:absolute;inset:0}
  .navlinks a{touch-action:manipulation}
}
.reel-fullscreen{display:none}
@media (max-width: 700px){
  .reel-fullscreen{display:grid;place-items:center;position:absolute;top:10px;right:10px;z-index:3;width:44px;height:44px;padding:11px;color:#fff;background:#152014b3;border:1px solid #ffffff80;border-radius:50%;touch-action:manipulation}
  .reel-fullscreen svg{width:100%;height:100%}
  .reel:has(video[hidden]) .reel-fullscreen{display:none}
  body.reel-expanded{overflow:hidden}
  .reel.is-fullscreen{position:fixed;inset:0;z-index:1000;width:100vw;height:100vh;height:100dvh;max-width:none;margin:0;border-radius:0;background:#050805;box-shadow:none}
  .reel.is-fullscreen .reel-fullscreen{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));opacity:0;pointer-events:none;transition:opacity .18s}
  .reel.is-fullscreen.show-player-controls .reel-fullscreen{opacity:1;pointer-events:auto}
}
