:root{color-scheme:light dark;--bg:#f1f0ec;--ink:#222725;--muted:#626865;--line:#c7cac3;--accent:#ad3b29;--panel:#e7e8e2;--inverse:#172420;--inverse-text:#f2f0e8;font-family:Inter,Helvetica,Arial,sans-serif;font-size:16px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.55}body[data-theme=dark] {
  color-scheme: dark;

  --bg: #080909;
  --ink: #f3f3f0;
  --muted: #b3b6b5;
  --line: #363939;
  --accent: #e1e3e2;
  --panel: #181a1a;
  --inverse: #dedfdd;
  --inverse-text: #111313;
}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:.22em}a:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button{font:inherit}.skip{position:absolute;left:-999px;top:1rem;background:var(--bg);padding:.5rem;z-index:20}.skip:focus{left:1rem}.site-header{display:flex;align-items:center;justify-content:space-between;gap:2rem;min-height:108px;padding:1.4rem max(4vw,1.25rem);border-bottom:1px solid var(--line)}.brand{font-weight:900;font-size:1.35rem;line-height:.82;letter-spacing:-.065em;display:flex;flex-direction:column;min-width:7rem}.brand-dot,.shibi-hero h1 span{color:var(--accent)}nav{display:flex;gap:clamp(.7rem,2vw,2rem);flex-wrap:wrap;align-items:center}nav a{font-size:.88rem;font-weight:600}nav a[aria-current=page]{color:var(--accent)}.theme{border:1px solid var(--line);border-radius:50%;width:2.5rem;height:2.5rem;background:transparent;color:var(--ink);cursor:pointer;flex:none}.hero{position:relative;min-height:650px;padding:clamp(5rem,11vw,10rem) max(4vw,1.25rem) 6rem;overflow:hidden}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-weight:700;font-size:.75rem;color:var(--accent)}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.05;letter-spacing:-.05em}.hero h1{font-size:clamp(4.1rem,10.8vw,11.5rem);line-height:.88;margin:1.5rem 0 2.5rem;max-width:1000px}.hero h1 em{font-family:Georgia,serif;font-weight:400;letter-spacing:-.07em}.hero>p{font-size:1.13rem;max-width:570px;color:var(--muted)}.hero-actions{display:flex;align-items:center;gap:2rem;margin-top:2rem}.button{display:inline-block;background:var(--ink);color:var(--bg);padding:.88rem 1.25rem;font-weight:700;font-size:.9rem;border:1px solid var(--ink)}.button:hover{text-decoration:none;background:var(--accent);border-color:var(--accent);color:white}.quiet-link{font-weight:700}.hero-mark{position:absolute;right:4vw;bottom:4rem;font-size:clamp(7rem,22vw,24rem);font-weight:900;letter-spacing:-.13em;line-height:.7;opacity:.045;pointer-events:none}.hero-mark span{font-size:.14em;vertical-align:top;letter-spacing:0}.section{padding:6rem max(4vw,1.25rem)}.section.compact{padding-top:1rem}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:2.2rem}.section-heading h2,.split-callout h2{font-size:clamp(2.6rem,5vw,5rem);margin:.5rem 0 0}.section-heading>a{font-weight:700;font-size:.9rem}.count{color:var(--muted);font-size:.85rem}.card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}.work-card{background:var(--bg);min-height:310px;padding:1.7rem;display:flex;flex-direction:column}.work-card:hover{background:var(--panel)}.work-index{font-size:.75rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.work-index span{color:var(--accent)}.work-card h3{font-size:clamp(1.65rem,2.3vw,2.8rem);margin:3.2rem 0 1rem}.work-card p{color:var(--muted);font-size:.9rem}.card-link{margin-top:auto;font-size:.8rem;font-weight:700}.split-callout{background:var(--inverse);color:var(--inverse-text);display:grid;grid-template-columns:1fr 1fr;gap:4rem;padding:6rem max(4vw,1.25rem)}.split-callout p{max-width:540px;font-size:1.2rem}.button-light{background:var(--inverse-text);color:var(--inverse);border-color:var(--inverse-text)}.page-intro,.work-hero{padding:7rem max(4vw,1.25rem) 5rem;border-bottom:1px solid var(--line)}.page-intro h1,.work-hero h1,.shibi-hero h1{font-size:clamp(4rem,10vw,10rem);margin:1rem 0 2rem}.page-intro p{font-size:1.25rem;max-width:660px;color:var(--muted)}.work-list{border-top:1px solid var(--line)}.work-list a{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding:1rem 0;font-size:1.08rem}.work-list a span:last-child{color:var(--muted);font-size:.85rem;text-align:right}.back{display:block;font-size:.85rem;margin-bottom:4rem}.work-hero h1{max-width:1100px}.work-meta{display:flex;flex-wrap:wrap;gap:1.25rem;color:var(--muted);max-width:850px}.work-meta span+span:before{content:'·';margin-right:1.25rem;color:var(--accent)}.detail-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:5rem;padding:6rem max(4vw,1.25rem)}.work-note{font-family:Georgia,serif;font-size:clamp(1.5rem,2.6vw,2.8rem);line-height:1.35;max-width:850px;margin:2rem 0}.detail-layout aside{background:var(--panel);padding:2rem;align-self:start}.detail-layout aside h2{font-size:2rem;margin:1rem 0}.detail-layout aside p,.detail-extra{color:var(--muted)}.detail-extra{margin-top:4rem;border-top:1px solid var(--line);padding-top:2rem}.detail-extra li{margin-bottom:.5rem}.score-list{padding:2rem max(4vw,1.25rem) 6rem}.score-list article{border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:2rem;padding:1.7rem 0;scroll-margin-top:2rem}.score-list h2{font-size:1.55rem;margin:0 0 .4rem}.score-list p{margin:0;color:var(--muted);font-size:.86rem}.score-list a{white-space:nowrap;font-weight:700;font-size:.85rem}.shibi-hero{min-height:65vh;background:var(--inverse);color:var(--inverse-text);padding:9rem max(4vw,1.25rem)}.shibi-hero h1{letter-spacing:-.11em}.shibi-hero p{font-size:1.3rem;max-width:580px}.prose{padding:4rem max(4vw,1.25rem) 8rem;max-width:870px}.prose p{font-family:Georgia,serif;font-size:clamp(1.35rem,2vw,1.8rem);line-height:1.55;margin-bottom:2rem}.prose .button{font-family:Inter,Helvetica,Arial,sans-serif}footer{display:flex;justify-content:space-between;gap:2rem;border-top:1px solid var(--line);padding:2rem max(4vw,1.25rem);font-size:.8rem;color:var(--muted)}@media(max-width:900px){.site-header{min-height:80px;flex-wrap:wrap}.site-header nav{order:3;width:100%;overflow:auto;white-space:nowrap;flex-wrap:nowrap;padding:.5rem 0}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-layout{grid-template-columns:1fr}.hero{min-height:560px}.hero-mark{display:none}}@media(max-width:600px){.hero{min-height:0;padding:6rem 1.25rem}.hero h1{font-size:clamp(3.7rem,14vw,6rem)}.hero-actions{align-items:flex-start;flex-direction:column;gap:1rem}.section{padding:4rem 1.25rem}.section-heading{align-items:start}.card-grid{grid-template-columns:1fr}.work-card{min-height:230px}.work-card h3{margin:2rem 0 .5rem}.split-callout{grid-template-columns:1fr;padding:4rem 1.25rem;gap:1rem}.page-intro,.work-hero{padding:5rem 1.25rem 3rem}.page-intro h1,.work-hero h1{overflow-wrap:anywhere}.work-list a{flex-direction:column;gap:.25rem}.work-list a span:last-child{text-align:left}.score-list article{align-items:flex-start;flex-direction:column;gap:.75rem}.detail-layout{padding:4rem 1.25rem;gap:2rem}footer{flex-direction:column}}
/* Monochrome direction, dark by default. */
:root{color-scheme:dark;--bg:#080909;--ink:#f3f3f0;--muted:#b3b6b5;--line:#363939;--accent:#e1e3e2;--panel:#181a1a;--inverse:#dedfdd;--inverse-text:#111313}
body[data-theme=light]{color-scheme:light;--bg:#f0f0ed;--ink:#171919;--muted:#4d5351;--line:#9a9f9d;--accent:#292e2c;--panel:#e1e4e1;--inverse:#171919;--inverse-text:#f3f3f0}
.site-header{background:#080909;color:#f3f3f0;border-color:#383b3a}.site-header nav a[aria-current=page]{color:#fff;text-decoration:underline;text-underline-offset:.45em}.brand-dot,.shibi-hero h1 span{color:inherit}.header-actions{display:flex;gap:.55rem}.header-actions button{border:1px solid #777;border-radius:50%;width:2.5rem;height:2.5rem;background:transparent;color:#fff;cursor:pointer;font-size:1.05rem}
.hero{background:linear-gradient(90deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.76) 42%,rgba(0,0,0,.38) 100%),url('piano-dark.webp') center/cover no-repeat;color:#fff}.hero .eyebrow,.hero>p{color:#e4e4e2}.hero .button{background:#f4f4f1;color:#101111;border-color:#f4f4f1}.hero .button:hover{background:#c9cecb;border-color:#c9cecb;color:#101111}.hero .quiet-link{color:#fff}.hero h1{position:relative;z-index:1}
.button:hover{background:var(--muted);border-color:var(--muted);color:var(--bg)}.shibi-hero{background:linear-gradient(135deg,#030404,#242727);color:#f4f4f1}
.access-panel{position:absolute;z-index:15;right:4vw;top:96px;background:#161818;color:#fff;border:1px solid #aaa;padding:1.25rem;box-shadow:0 18px 40px #0008;width:min(320px,calc(100vw - 2rem))}.access-panel[hidden]{display:none}.access-panel h2{font-size:1.1rem;letter-spacing:0;margin:0 0 1rem}.access-panel button{display:block;width:100%;text-align:left;color:#fff;background:transparent;border:1px solid #777;padding:.65rem;margin:.4rem 0;cursor:pointer}.access-panel button:hover{background:#343838}body.large-text{font-size:20px}body.high-contrast{--bg:#000;--ink:#fff;--muted:#fff;--line:#fff;--panel:#000;--accent:#fff}body.reduce-motion,body.reduce-motion *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
.listening{background:var(--panel)}.embed-notice{font-size:.82rem;color:var(--muted);margin-top:-1rem;margin-bottom:2rem}.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.video-card{min-width:0}.video-poster{position:relative;aspect-ratio:16/9;background:#151717;overflow:hidden}.video-poster img{display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1) brightness(.55)}.video-poster:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0007,transparent 60%);pointer-events:none}.video-play{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);background:#f4f4f1;color:#0b0c0c;border:0;padding:.8rem 1.1rem;cursor:pointer;font-weight:800;white-space:nowrap}.video-play:hover{background:#d0d2d0}.video-info{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;padding:.85rem 0}.video-info :is(h2,h3){font-size:1.35rem;margin:0}.video-info a{font-size:.8rem;white-space:nowrap;color:var(--muted)}.video-poster iframe{width:100%;height:100%;border:0;display:block}.detail-video{margin-top:5rem}.detail-video .video-card{max-width:750px;margin-top:1rem}
@media(max-width:900px){.access-panel{top:76px}}@media(max-width:600px){.hero{background-position:60% center}.video-grid{grid-template-columns:1fr}.video-info{align-items:start;flex-direction:column;gap:.25rem}.access-panel{right:1rem;top:76px}}
.work-card{padding:0;min-height:0}.card-preview{aspect-ratio:16/9}.card-preview img{filter:grayscale(1) brightness(.8)}.card-preview .video-play{padding:.55rem .9rem;font-size:.83rem}.card-content{padding:1.35rem 1.5rem 1.5rem;display:flex;flex-direction:column;flex:1}.work-card h3{margin:1.2rem 0 .65rem}.card-link{display:inline-block;margin-top:auto;padding-top:1rem}.card-grid{align-items:stretch}@media(max-width:600px){.work-card h3{margin:1rem 0 .5rem}}
/* Center the editorial composition on wide screens. */
.site-header{display:grid;grid-template-columns:1fr auto 1fr;max-width:none}.site-header .brand{justify-self:start}.site-header nav{justify-content:center}.site-header .header-actions{justify-self:end}
.hero{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding-left:1.25rem;padding-right:1.25rem;background-image:linear-gradient(90deg,rgba(0,0,0,.77),rgba(0,0,0,.61),rgba(0,0,0,.77)),url('piano-dark.webp')}.hero h1{margin-left:auto;margin-right:auto}.hero>p{margin-left:auto;margin-right:auto}.hero-actions{justify-content:center}
.section{max-width:1360px;margin-left:auto;margin-right:auto}.section-heading{flex-direction:column;align-items:center;text-align:center;gap:.7rem}.section-heading h2{margin:.5rem 0}.card-grid{max-width:1240px;margin-left:auto;margin-right:auto}.work-card{text-align:center}.video-info{text-align:center}.page-intro{text-align:center}.page-intro p{margin-left:auto;margin-right:auto}.page-intro .button{margin-top:1rem}.work-list,.score-list{max-width:1240px;margin-left:auto;margin-right:auto}.split-callout{grid-template-columns:1fr;text-align:center;justify-items:center;gap:1rem}.split-callout p{margin-left:auto;margin-right:auto}.prose{margin-left:auto;margin-right:auto;text-align:center}.shibi-hero{text-align:center}.shibi-hero p{margin-left:auto;margin-right:auto}.work-hero{text-align:center}.work-hero h1,.work-meta{margin-left:auto;margin-right:auto}.work-meta{justify-content:center}.detail-layout{max-width:1360px;margin:auto}
.local-video-fallback{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7rem;padding:1rem;background:#121414;color:#fff;text-align:center}.local-video-fallback p{margin:0;font-size:.85rem;max-width:270px}.local-video-fallback a{font-weight:700;text-decoration:underline;font-size:.85rem}
@media(max-width:900px){.site-header{display:flex}.site-header nav{justify-content:flex-start}.site-header .header-actions{margin-left:auto}}@media(max-width:600px){.hero{padding-top:5rem;padding-bottom:5rem}.hero-actions{align-items:center}.section-heading{align-items:center}.work-card{text-align:center}}
html.large-text{font-size:20px}
/* Persistent navigation. */
:root{--header-height:108px}body{padding-top:var(--header-height)}.site-header{position:fixed;top:0;left:0;right:0;z-index:30;height:var(--header-height);min-height:0;background:#080909}html{scroll-padding-top:calc(var(--header-height) + 1rem)}.access-panel{position:fixed;top:var(--header-height)}.about-portrait{margin:0 auto 3rem;max-width:380px}.about-portrait img{display:block;width:100%;height:auto;filter:grayscale(1)}.about-portrait figcaption{font:normal .75rem Inter,Helvetica,Arial,sans-serif;color:var(--muted);margin-top:.5rem}
@media(max-width:900px){:root{--header-height:128px}.site-header{padding-top:.75rem;padding-bottom:.35rem}.site-header nav{padding:.25rem 0}.access-panel{top:var(--header-height)}}
/* Local draft indication is only rendered by the development preview route. */
.draft-banner{position:sticky;top:var(--header-height,72px);z-index:9;padding:.7rem 1rem;text-align:center;background:#262626;color:#fff;border-bottom:1px solid #666;font-size:.875rem}
.image-text{max-width:1240px;margin:auto;padding:5rem max(4vw,1.25rem);display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,6vw,6rem);align-items:center}.image-text.image-right figure{order:2}.image-text figure{margin:0}.image-text img{display:block;width:100%;height:auto;filter:grayscale(1)}.image-text figcaption{font-size:.8rem;color:var(--muted);margin-top:.6rem}.image-text h2,.editorial-links h2{font-size:clamp(2.6rem,5vw,5rem)}.image-text p{font-size:1.2rem}.editorial-links ul{list-style:none;padding:0;border-top:1px solid var(--line)}.editorial-links li{border-bottom:1px solid var(--line);padding:1rem 0}.editorial-video .video-card{max-width:750px;margin:auto}@media(max-width:700px){.image-text{grid-template-columns:1fr;padding:4rem 1.25rem}.image-text.image-right figure{order:0}}
.score-lead{font-size:1.05rem;color:var(--muted);margin:1rem 0 2rem}
/* Controlled site-wide layout choices from content settings. */
body{--content-max:1360px;--section-space:6rem;--overlay-edge:.77;--overlay-center:.61}
body[data-content-width=narrow]{--content-max:1080px}body[data-content-width=wide]{--content-max:1560px}
body[data-section-spacing=compact]{--section-space:4rem}body[data-section-spacing=spacious]{--section-space:8rem}
body[data-hero-overlay=medium]{--overlay-edge:.65;--overlay-center:.48}body[data-hero-overlay=light]{--overlay-edge:.5;--overlay-center:.35}
.section{max-width:var(--content-max);padding-top:var(--section-space);padding-bottom:var(--section-space)}.section.compact{padding-top:1rem}.card-grid,.work-list,.score-list{max-width:var(--content-max)}.split-callout{padding-top:var(--section-space);padding-bottom:var(--section-space)}.detail-layout{max-width:var(--content-max);padding-top:var(--section-space);padding-bottom:var(--section-space)}.image-text{max-width:var(--content-max)}
.hero{background-image:linear-gradient(90deg,rgba(0,0,0,var(--overlay-edge)),rgba(0,0,0,var(--overlay-center)),rgba(0,0,0,var(--overlay-edge))),url('piano-dark.webp')}
@media(max-width:600px){.section,.detail-layout,.split-callout{padding-top:clamp(3rem,var(--section-space),6rem);padding-bottom:clamp(3rem,var(--section-space),6rem)}}
/* Editorial controls keep images and text in a predictable, responsive layout. */
.hero{background:transparent;isolation:isolate}
.hero-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,var(--overlay-edge)),rgba(0,0,0,var(--overlay-center)),rgba(0,0,0,var(--overlay-edge)));z-index:1;pointer-events:none}
.hero>:not(.hero-background){position:relative;z-index:2}
.hero[data-alignment=left]{align-items:flex-start;text-align:left}
.hero[data-alignment=left] h1,.hero[data-alignment=left]>p{margin-left:0;margin-right:0}
.hero[data-alignment=left] .hero-actions{justify-content:flex-start}
.page-intro[data-alignment=left]{text-align:left}
.page-intro[data-alignment=left] p{margin-left:0;margin-right:0}
@media(min-width:901px){.card-grid{grid-template-columns:repeat(var(--card-columns,4),minmax(0,1fr))}}
body[data-card-columns="2"]{--card-columns:2}body[data-card-columns="3"]{--card-columns:3}body[data-card-columns="4"]{--card-columns:4}
@media(max-width:600px){.hero[data-alignment=left] .hero-actions{align-items:flex-start}}
/* SHIBI is a selectable editorial identity, with the site's navigation intact. */
body[data-visual-theme=shibi]{--shibi-acid:#5d83ff;--shibi-ink:#090d1e;background:#070a16;color:#eef1ff}
body[data-visual-theme=shibi] .site-header{border-bottom-color:#35427c}
body[data-visual-theme=shibi] .site-header nav a[aria-current=page]{color:var(--shibi-acid)}
body[data-visual-theme=shibi] footer{background:#0d1125;border-top-color:#35427c;color:#cdd5f5}
.shibi-hero{position:relative;isolation:isolate;overflow:hidden;min-height:min(800px,calc(100svh - var(--header-height)));display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);align-items:center;gap:2rem;padding:clamp(5rem,9vw,9rem) max(6vw,1.25rem);background:radial-gradient(circle at 80% 42%,#182659 0,#0d1632 35%,#080d20 70%);color:#eef1ff}
.shibi-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(#5d83ff16 1px,transparent 1px),linear-gradient(90deg,#5d83ff16 1px,transparent 1px);background-size:80px 80px;mask-image:linear-gradient(90deg,transparent,#000);pointer-events:none;z-index:-1}
.shibi-copy{position:relative;z-index:2}.shibi-hero .eyebrow,.shibi-track .eyebrow{color:var(--shibi-acid)}
.shibi-hero h1{font-size:clamp(5.4rem,16vw,16rem);line-height:.76;letter-spacing:-.115em;margin:2rem 0 2.6rem;white-space:nowrap}.shibi-hero h1 span{color:var(--shibi-acid)}
.shibi-hero p{font-size:clamp(1.15rem,1.8vw,1.55rem);max-width:25em;line-height:1.45;color:#dbe2ff}
.shibi-action{display:inline-block;margin-top:1.4rem;padding:.85rem 0;border-bottom:1px solid var(--shibi-acid);font-size:.9rem;font-weight:750;color:var(--shibi-acid)}
.shibi-action:hover{text-decoration:none;color:#fff;border-bottom-color:#fff}
.shibi-copy{grid-column:1;grid-row:1}
.shibi-hero-index{position:absolute;bottom:2rem;right:max(6vw,1.25rem);font-size:.7rem;letter-spacing:.18em;color:#b9c6f6}
.shibi-track{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(2rem,6vw,7rem);padding:clamp(5rem,9vw,9rem) max(6vw,1.25rem);max-width:1560px;margin:auto;scroll-margin-top:calc(var(--header-height) + 1rem)}
.shibi-track-heading h2{font-size:clamp(3.5rem,7vw,7rem);line-height:.94;letter-spacing:-.07em;margin:1.5rem 0 2rem}.shibi-track-heading p{font-size:1.2rem;color:#cbd4f4;max-width:28em}
.shibi-track-panel{position:relative;min-height:350px;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(1.4rem,3vw,3rem);border:1px solid #4058a4;background:linear-gradient(140deg,#182653,#0b1127 74%)}
.shibi-track-number{font-size:.75rem;letter-spacing:.15em;color:var(--shibi-acid)}.shibi-wave{display:flex;align-items:center;justify-content:center;gap:clamp(2px,.5vw,7px);height:120px;overflow:hidden}.shibi-wave span{flex:1;max-width:7px;height:var(--bar);background:var(--shibi-acid);opacity:.75;border-radius:4px}
.soundcloud-slot{min-height:56px}.soundcloud-load{display:flex;align-items:center;justify-content:space-between;gap:1rem;width:100%;min-height:56px;padding:.8rem 1.2rem;border:1px solid var(--shibi-acid);background:var(--shibi-acid);color:var(--shibi-ink);font-size:.95rem;font-weight:750;cursor:pointer}.soundcloud-load:hover{background:#8ea8ff}.soundcloud-slot iframe{display:block;width:100%;height:166px;border:0}.soundcloud-direct{display:inline-block;align-self:flex-start;margin-top:.8rem;color:#dbe2ff;font-size:.8rem;text-decoration:underline;text-underline-offset:.2em}
body[data-visual-theme=shibi].high-contrast .shibi-hero,body[data-visual-theme=shibi].high-contrast .shibi-track-panel{background:#000}
@media(max-width:1100px){.shibi-hero{grid-template-columns:1fr;min-height:0;padding-top:5rem;padding-bottom:6rem}.shibi-copy{max-width:650px}.shibi-hero h1{font-size:clamp(5rem,16vw,9rem)}}
@media(max-width:800px){.shibi-track{grid-template-columns:1fr}.shibi-track-heading h2{max-width:9em}}
@media(max-width:500px){.shibi-hero h1{font-size:clamp(4.5rem,20vw,7rem)}.shibi-hero p{max-width:19em}.shibi-track-panel{min-height:310px}.shibi-wave{height:75px}}
/* Keep the navigation centered on phones; retain horizontal scrolling if needed. */
@media(max-width:900px){.site-header nav{justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.site-header nav::-webkit-scrollbar{display:none}.site-header nav a:first-child{margin-left:auto}.site-header nav a:last-child{margin-right:auto}}
@media(max-width:600px){.site-header nav{gap:clamp(.55rem,2.6vw,1rem)}.site-header nav a{font-size:clamp(.74rem,2.7vw,.88rem)}}
/* Translucent background after scrolling, while labels and controls remain opaque. */
.site-header{transition:background-color .22s ease,border-color .22s ease}
body.header-scrolled .site-header{background:rgba(8,9,9,.64);border-bottom-color:rgba(170,175,173,.3);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
body[data-visual-theme=shibi].header-scrolled .site-header{background:rgba(8,12,31,.64);border-bottom-color:rgba(93,131,255,.42)}
@media(prefers-reduced-motion:reduce){.site-header{transition:none}}
@media(max-width:1100px){.shibi-copy{grid-column:1;grid-row:1}}
/* Content typography can be selected globally, then overridden per page. */
body{--body-face:Inter,Helvetica,Arial,sans-serif;--heading-face:Inter,Helvetica,Arial,sans-serif;--prose-face:Georgia,serif}
body[data-body-font=serif]{--body-face:Georgia,serif;--prose-face:Georgia,serif}
body[data-heading-font=serif]{--heading-face:Georgia,serif}
body[data-font-style=sans]{--body-face:Inter,Helvetica,Arial,sans-serif;--heading-face:Inter,Helvetica,Arial,sans-serif;--prose-face:Inter,Helvetica,Arial,sans-serif}
body[data-font-style=serif]{--body-face:Georgia,serif;--heading-face:Georgia,serif;--prose-face:Georgia,serif}
main{font-family:var(--body-face)}main h1,main h2,main h3{font-family:var(--heading-face)}.prose p,.work-note{font-family:var(--prose-face)}
.work-list a>span:first-child{min-width:0}.work-list small{display:block;font-size:.82rem;font-weight:400;color:var(--muted);margin-top:.2rem}
.work-list .work-list-entry{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding:1rem 0;font-size:1.08rem}.work-list-entry>span:last-child{color:var(--muted);font-size:.85rem;text-align:right}.work-list-entry small{display:block;font-size:.82rem;font-weight:400;color:var(--muted);margin-top:.2rem}
.events-list h2{font-size:clamp(2.6rem,5vw,5rem)}.events-list>p{color:var(--muted)}.events-rows{border-top:1px solid var(--line)}.event-row{display:grid;grid-template-columns:minmax(8rem,.45fr) minmax(0,2fr) auto;gap:1.5rem;align-items:start;padding:1.5rem 0;border-bottom:1px solid var(--line)}.event-row time{font-weight:700;font-variant-numeric:tabular-nums}.event-row h3{font-size:clamp(1.4rem,2.4vw,2.3rem);margin:0 0 .5rem}.event-row p{margin:0;color:var(--muted)}.event-row>a{font-weight:700;text-decoration:underline;text-underline-offset:.2em}@media(max-width:700px){.event-row{grid-template-columns:1fr;gap:.6rem}}
.work-sections{max-width:var(--content-max);margin:0 auto;padding:0 max(4vw,1.25rem) 6rem}
.work-section{padding:clamp(3rem,6vw,6rem) 0;border-bottom:1px solid var(--line)}
.work-section .eyebrow{display:block;margin-bottom:1.5rem}.work-section h2{font-size:clamp(2rem,4vw,4rem);margin:0 0 1rem}.work-section p{max-width:750px}
.work-media .video-card{max-width:900px}.work-media .video-info{text-align:left}.work-description .work-note{margin:0;max-width:950px}
.work-instrumentation p{font-size:clamp(1.05rem,1.8vw,1.4rem);line-height:1.6}.work-requirements ul{max-width:850px;padding-left:1.25rem}.work-requirements li{margin:.65rem 0;color:var(--muted)}
.score-inquiry{display:flex;justify-content:space-between;align-items:end;gap:2rem}.score-inquiry p{color:var(--muted)}.score-inquiry-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1.2rem;flex:none}
.editorial-gallery-section h2{font-size:clamp(2.4rem,5vw,5rem);text-align:center}.editorial-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1.25rem}.editorial-gallery figure{margin:0}.editorial-gallery img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.editorial-gallery figcaption{font-size:.8rem;color:var(--muted);margin-top:.55rem}
@media(max-width:700px){.score-inquiry{display:block}.score-inquiry-actions{margin-top:2rem}.work-sections{padding-bottom:3rem}}
/* SHIBI poster: a soft animated blue field under a thin technical frame. */
body[data-visual-theme=shibi] main{position:relative;isolation:isolate;overflow:hidden;padding:clamp(1rem,3.4vw,3.25rem);background:radial-gradient(ellipse at 76% 25%,#2c52bd,#101e54 43%,#080d23 75%)}
body[data-visual-theme=shibi] main>.shibi-fluid{position:absolute;inset:0;width:100%;height:100%;z-index:0;display:block;filter:blur(24px);pointer-events:none}
body[data-visual-theme=shibi] main::before{content:"";position:absolute;inset:0;z-index:1;background:url('shibi-noise.svg') repeat;background-size:128px 128px;opacity:.12;mix-blend-mode:soft-light;pointer-events:none}
body[data-visual-theme=shibi] main>:not(.shibi-fluid){position:relative;z-index:2}
body[data-visual-theme=shibi].high-contrast main{background:#000}
body[data-visual-theme=shibi].high-contrast main::before,body[data-visual-theme=shibi].high-contrast .shibi-fluid{display:none}
.shibi-hero{max-width:1500px;min-height:clamp(650px,78svh,900px);margin:0 auto;padding:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:0;row-gap:0;border:1px solid rgba(224,233,255,.62);background:transparent}
.shibi-hero:before{z-index:0;background:linear-gradient(90deg,rgba(4,7,24,.65),rgba(4,7,24,.24) 58%,transparent 85%);mask-image:none}
.shibi-poster-top,.shibi-poster-bottom{grid-column:1/-1;position:relative;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem clamp(1.4rem,3vw,3rem);font-size:clamp(.64rem,.75vw,.8rem);letter-spacing:.14em;font-weight:700;text-transform:uppercase}
.shibi-poster-top{grid-row:1;border-bottom:1px solid rgba(224,233,255,.55)}.shibi-poster-bottom{grid-row:3;border-top:1px solid rgba(224,233,255,.55)}
.shibi-copy{grid-column:1;grid-row:2;align-self:center;justify-self:center;text-align:left;width:min(100%,1000px);max-width:none;padding:clamp(3rem,6vw,7rem) clamp(1.4rem,4vw,4rem)}
.shibi-copy p{margin-left:0;margin-right:0}
.shibi-hero h1{font-size:clamp(3rem,8vw,8rem);margin:1.6rem 0 2rem;letter-spacing:-.08em;line-height:1}
.shibi-copy h1{width:100%;text-align:center}
.shibi-wordmark{display:block;width:min(100%,710px);height:auto;margin-inline:auto;filter:drop-shadow(0 0 12px #5d83ff45)}
.shibi-track{max-width:1500px;margin:0 auto;padding:clamp(3rem,6vw,6rem) clamp(1.4rem,4vw,4rem);border:1px solid rgba(224,233,255,.62);border-top:0;background:rgba(5,10,29,.55)}
.shibi-track-panel{background:rgba(7,14,39,.62);border-color:rgba(167,191,255,.64)}
@media(max-width:1100px){.shibi-hero{grid-template-columns:1fr;grid-template-rows:auto 1fr auto;padding:0;min-height:640px}.shibi-copy{grid-column:1;grid-row:2;max-width:700px;align-self:center;padding:4rem clamp(1.5rem,5vw,4rem)}.shibi-hero h1{font-size:clamp(3rem,12vw,7rem)}}
@media(max-width:600px){body[data-visual-theme=shibi] main{padding:1rem}.shibi-hero{min-height:630px}.shibi-poster-top,.shibi-poster-bottom{padding:.85rem 1rem;font-size:.62rem;letter-spacing:.08em}.shibi-poster-top span:last-child{max-width:7em;text-align:right}.shibi-copy{padding:3.5rem 1.2rem}.shibi-wordmark{width:100%}.shibi-track{padding:3rem 1.2rem}}
.home-social{padding:3rem max(4vw,1.25rem) 4rem;text-align:center;border-top:1px solid var(--line)}.home-social h2{font-size:clamp(1.4rem,2vw,2rem);margin:0 0 1.5rem}.social-icons{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem}.social-icons a{display:grid;place-items:center;width:2.8rem;height:2.8rem;border:1px solid var(--line);border-radius:50%;transition:background-color .2s,color .2s,transform .2s}.social-icons a:hover{background:var(--ink);color:var(--bg);transform:translateY(-3px)}.social-icons img{width:22px;height:22px;object-fit:contain}
/* Subtle kinetic details preserve the centered wordmark and fluid poster. */
.shibi-hero::after{content:"";position:absolute;top:0;left:0;width:clamp(48px,14%,180px);height:2px;background:#b8c9ff;box-shadow:0 0 18px #7b9bff;z-index:4;animation:signal-drift 14s ease-in-out infinite alternate;pointer-events:none}
.shibi-wordmark{animation:wordmark-breathe 8s ease-in-out infinite}
.shibi-wave span{transform-origin:center;animation:wave-breathe 3.5s ease-in-out infinite alternate;animation-delay:calc(var(--index) * -137ms)}
@keyframes signal-drift{from{left:0;opacity:.35}50%{opacity:.9}to{left:calc(100% - clamp(48px,14%,180px));opacity:.35}}
@keyframes wordmark-breathe{0%,100%{filter:drop-shadow(0 0 8px #5d83ff35)}50%{filter:drop-shadow(0 0 22px #5d83ff85)}}
@keyframes wave-breathe{from{transform:scaleY(.65);opacity:.45}to{transform:scaleY(1.1);opacity:.9}}
@media(prefers-reduced-motion:reduce){.social-icons a,.shibi-hero::after,.shibi-wordmark,.shibi-wave span{animation:none;transition:none}}
body.reduce-motion .social-icons a,body.reduce-motion .shibi-hero::after,body.reduce-motion .shibi-wordmark,body.reduce-motion .shibi-wave span{animation:none;transition:none}
body.high-contrast .shibi-hero::after{display:none}

/* Compact display controls in the header. */
.site-header .header-settings{position:relative;margin-left:auto;justify-self:end;flex:none}
.site-header .settings-toggle{display:flex;align-items:center;justify-content:center;gap:0;min-width:2.5rem;width:2.5rem;height:2.5rem;padding:0;border:1px solid #777;border-radius:999px;background:transparent;color:#fff;cursor:pointer;font-size:1.05rem;transition:width .2s ease,background-color .2s ease}
.site-header .settings-toggle:hover,.site-header .settings-toggle[aria-expanded=true]{background:#242828;border-color:#bbb}
.settings-toggle-label{max-width:0;overflow:hidden;white-space:nowrap;opacity:0;font-size:.75rem;font-weight:700;transition:max-width .2s ease,opacity .2s ease}
@media(hover:hover){.site-header .settings-toggle:hover,.site-header .settings-toggle:focus-visible{width:6.4rem;gap:.4rem}.settings-toggle:hover .settings-toggle-label,.settings-toggle:focus-visible .settings-toggle-label{max-width:4rem;opacity:1}}
.site-header .access-panel{position:absolute;top:100%;right:0;left:auto;width:min(290px,calc(100vw - 2rem));padding:1rem;border:1px solid #777;border-radius:.7rem;background:#161818;box-shadow:0 18px 40px #0008;color:#fff}
.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.65rem}
.access-panel .settings-heading h2{margin:0;font-size:1rem}
.site-header .access-panel .settings-close{display:grid;place-items:center;width:2rem;height:2rem;margin:0;padding:0;border:0;border-radius:50%;font-size:1.4rem;text-align:center}
.site-header .access-panel button:not(.settings-close){width:100%;height:auto;margin:.35rem 0;padding:.55rem .7rem;border:1px solid #777;border-radius:.3rem;background:transparent;color:#fff;text-align:left;font-size:.86rem}
.site-header .access-panel button:hover{background:#343838}
.site-header .access-panel .theme{display:block}
.site-header .settings-toggle:focus-visible,.site-header .access-panel button:focus-visible{outline:3px solid #fff;outline-offset:2px}
@media(max-width:600px){.site-header .access-panel{top:100%;right:0}}

@media (max-width: 900px) {
  :root { --header-height: 64px; }

  .site-header {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 10px 12px;
  }

  .site-header .brand {
    flex: none;
    min-width: 0;
    font-size: 1rem;
  }

  .site-header .header-settings {
    margin-left: 0;
  }

  .site-header nav {
    order: 0;
    flex: 1;
    width: auto;
    min-width: 0;
    gap: clamp(.35rem, 1.6vw, .65rem);
    padding: 0;
    align-self: center;
  }

  .site-header nav a {
    flex: none;
    font-size: clamp(.65rem, 2.4vw, .8rem);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0;
  }
}


@media (min-width: 901px) {
  :root { --header-height: 72px; }

  .site-header {
    padding: 12px max(4vw, 1.25rem);
    gap: 1rem;
  }

  .site-header .brand {
    font-size: 1.1rem;
  }
}



/* Global rounded-corner system */
:root {
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

.button,
.video-play,
.soundcloud-load,
.site-header .access-panel button:not(.settings-close) {
  border-radius: var(--radius-sm);
}

.work-card,
.video-poster,
.detail-layout aside,
.access-panel,
.shibi-track-panel,
.image-text img,
.editorial-gallery img,
.about-portrait img,
.video-card iframe,
.soundcloud-slot iframe {
  border-radius: var(--radius-md);
}

.card-grid,
.shibi-hero,
.shibi-track {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Give rounded SHIBI sections breathing room */
.shibi-track {
  margin: 1rem auto 0;
}


/* Rounded SHIBI refinements */
.shibi-hero,
.shibi-track {
  border-radius: 24px;
}

.shibi-track {
  margin: 1.25rem auto 0;
}

.shibi-track-panel {
  border-radius: 16px;
}

.shibi-poster-top {
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.shibi-poster-bottom {
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

@media (max-width: 600px) {
  body[data-visual-theme=shibi] main {
    padding: 1.25rem;
  }
}

/* Separate rounded work cards */
.card-grid {
  gap: 1rem;
  background: transparent;
  border: 0;
  overflow: visible;
}

.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.work-card .video-poster {
  border-radius: 0;
}

/* Polished interaction system */



/* Work card interaction */
.work-card {
  transition:
    transform .2s ease,
    border-color .2s ease,
    background-color .2s ease;
}

.work-card:hover {
  transform: translateY(-3px);
  border-color: var(--muted);
}

/* Video poster interaction */
.video-poster img {
  transition:
    filter .25s ease,
    transform .25s ease;
}

.video-card:hover .video-poster img {
  filter: grayscale(1) brightness(.68);
  transform: scale(1.015);
}

/* Slightly softer, more refined play button */
.video-play {
  background: rgba(244, 244, 241, .92);
  padding: .65rem .95rem;
  border-radius: var(--radius-sm);
  transition:
    background-color .2s ease,
    transform .2s ease;
}

.video-play:hover {
  background: rgba(244, 244, 241, 1);
  transform: translate(-50%, -50%) scale(1.04);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .work-card,
  .video-poster img,
  .video-play {
    transition: none;
  }

  .work-card:hover {
    transform: none;
  }

  .video-card:hover .video-poster img {
    transform: none;
  }

  .video-play:hover {
    transform: translate(-50%, -50%);
  }
}

/* Respect the site's manual reduce-motion mode too */
body.reduce-motion .work-card,
body.reduce-motion .video-poster img,
body.reduce-motion .video-play {
  transition: none;
}

body.reduce-motion .work-card:hover {
  transform: none;
}

body.reduce-motion .video-card:hover .video-poster img {
  transform: none;
}

body.reduce-motion .video-play:hover {
  transform: translate(-50%, -50%);
}


/* Final card polish */

.video-play {
  padding: .55rem .85rem;
  font-size: .9rem;
  border-radius: 10px;
}

.card-content {
  gap: .35rem;
}

.card-link {
  padding-top: .7rem;
}

.card-link {
  text-decoration: underline;
  text-underline-offset: .22em;
}


main p,
main li,
main blockquote,
main figcaption {
  white-space: pre-line;
}


/* Mobile navigation */
.site-header .menu-toggle {
  display: none;
}

.menu-icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  display: block;
}

.site-header #main-navigation[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .site-header.mobile-nav-ready {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 64px;
    flex-wrap: nowrap;
    gap: 10px;
    overflow: visible;
  }

  .site-header.mobile-nav-ready .brand {
    order: 1;
    margin-right: auto;
  }

  .site-header.mobile-nav-ready .menu-toggle {
    order: 2;
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #777;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .site-header.mobile-nav-ready .header-settings {
    order: 3;
    margin-left: 0;
  }

  .site-header.mobile-nav-ready .settings-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .site-header.mobile-nav-ready #main-navigation {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 8px 0 0;
    padding: 10px;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    white-space: normal;
    border: 1px solid #555;
    border-radius: 14px;
    background: #161818;
    color: #fff;
    box-shadow: 0 18px 40px #0008;
  }

  .site-header.mobile-nav-ready #main-navigation a {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 1rem;
  }

  .site-header.mobile-nav-ready #main-navigation a:hover,
  .site-header.mobile-nav-ready #main-navigation a:focus-visible {
    background: #303535;
  }

  .site-header.mobile-nav-ready #main-navigation a[aria-current="page"] {
    background: #242828;
  }

  .site-header.mobile-nav-ready .access-panel {
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
  }
}

/* Accessibility controls */
html[data-text-scale="normal"] {
  font-size: 16px;
}

html[data-text-scale="medium"] {
  font-size: 18px;
}

html[data-text-scale="large"] {
  font-size: 20px;
}

.site-header .access-panel .text-size-controls {
  display: flex;
  gap: 6px;
  margin: 8px 0;
}

.site-header .access-panel .text-size-controls button {
  flex: 1;
  width: auto;
  min-height: 44px;
  margin: 0;
  text-align: center;
}

.site-header .access-panel button[aria-pressed="true"] {
  background: #343838;
  border-color: #fff;
}

body.underline-links a {
  text-decoration: underline !important;
  text-underline-offset: 0.2em;
}

body.text-spacing main :is(p, li, .work-note) {
  line-height: 1.8 !important;
  letter-spacing: 0.025em !important;
  word-spacing: 0.08em !important;
}

body.readable-font main,
body.readable-font main :is(h1, h2, h3, p, a, li, button, span, em) {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* Hide the mobile menu when closed */
.site-header.mobile-nav-ready #main-navigation[hidden] {
  display: none;
}

/* Full-screen mobile navigation */
@media (max-width: 900px) {
  .site-header.mobile-nav-ready {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .site-header.mobile-nav-ready .brand,
  .site-header.mobile-nav-ready .menu-toggle,
  .site-header.mobile-nav-ready .header-settings {
    position: relative;
    z-index: 2;
  }

  .site-header.mobile-nav-ready #main-navigation {
    position: fixed;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 100px 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(8, 9, 9, 0.94);
    color: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header.mobile-nav-ready #main-navigation[hidden] {
    display: none;
  }

  .site-header.mobile-nav-ready #main-navigation a {
    flex: none;
    width: min(100%, 480px);
    min-height: 60px;
    margin: 0;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 1.4rem;
    font-weight: 600;
  }

  .site-header.mobile-nav-ready #main-navigation a:hover,
  .site-header.mobile-nav-ready #main-navigation a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
  }

  .site-header.mobile-nav-ready #main-navigation a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.08);
  }
}


/* Remove the old space above the mobile header */
@media (max-width: 900px) {
  body {
    padding-top: 0;
  }
}



/* Background images for pages and individual sections */
.content-background {
  --bg: #101212;
  --panel: #1a1e1d;
  --ink: #f3f3f0;
  --muted: #d0d3d1;
  --line: rgba(255, 255, 255, 0.25);
  --accent: #e1e3e2;

  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(
      rgba(0, 0, 0, var(--content-overlay, 0.65)),
      rgba(0, 0, 0, var(--content-overlay, 0.65))
    ),
    var(--content-image);
  background-position: var(--content-position, center);
  background-size: cover;
  background-repeat: no-repeat;
}

/* Let the chosen background show through the section */
.background-slot.content-background > section,
.page-background > .background-slot:not(.content-background) > section {
  background: transparent;
}

/* Avoid applying the old hero darkening twice */
.background-slot.content-background > .hero::before,
.page-background > .background-slot > .hero::before {
  display: none;
}

/* Keep high-contrast mode free of decorative backgrounds */
body.high-contrast .content-background {
  background-image: none !important;
  background-color: #000 !important;
  --ink: #fff;
  --muted: #fff;
}

body[data-background='default']:not([data-visual-theme='shibi'])
  .background-slot:not(.content-background) > .hero {
  color: var(--ink);
}

body[data-background='default']:not([data-visual-theme='shibi'])
  .background-slot:not(.content-background) > .hero::before {
  display: none;
}

body[data-background='default']:not([data-visual-theme='shibi'])
  .background-slot:not(.content-background) > .hero
  :is(.eyebrow, .quiet-link) {
  color: var(--ink);
}

body[data-background='default']:not([data-visual-theme='shibi'])
  .background-slot:not(.content-background) > .hero > p {
  color: var(--muted);
}

body[data-background='default']:not([data-visual-theme='shibi'])
  .background-slot:not(.content-background) > .hero .button {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

body[data-background='default']:not([data-visual-theme='shibi'])
  .background-slot:not(.content-background) > .hero .button:hover {
  background: var(--muted);
  border-color: var(--muted);
}

/* Show the work background through its content sections */
.work-background.content-background > .work-hero,
.work-background.content-background > .work-sections,
.work-background.content-background .work-section {
  background: transparent;
  color: inherit;
}



/* =========================================
   Accessibility + legal pages
   ========================================= */

/* Skip link */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10000;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  border-radius: var(--radius-sm, 8px);
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}


/* Keyboard focus */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}


/* Footer legal links */

.legal-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 160ms ease;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  opacity: 1;
}


/* Privacy + Accessibility pages */

.legal-page {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: clamp(72px, 10vw, 130px);
}

.legal-header {
  margin-bottom: 3.5rem;
}

.legal-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.55;
}

.legal-page h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.legal-updated {
  margin-top: 1.25rem;
  opacity: 0.55;
  font-size: 0.9rem;
}

.legal-page section {
  margin-top: 3rem;
}

.legal-page h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.legal-page p,
.legal-page li {
  line-height: 1.75;
}

.legal-page p {
  margin: 0.85rem 0;
}

.legal-page ul {
  padding-inline-start: 1.35rem;
}

.legal-page a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .skip-link,
  .legal-links a {
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important; 
  }
}


/* Contact page vertical balance */
@media (min-width: 601px) {
  .contact-hero {
    min-height: calc(100dvh - var(--header-height) - 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
} 


/* Contact page fills the available viewport on tablet and desktop */
@media (min-width: 601px) {
  body:has(main > .contact-page) {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
  }

  body:has(main > .contact-page) > main {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  main > .contact-page {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .contact-page > .background-slot {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .contact-page > .background-slot > .hero {
    flex: 1;
    min-height: 0 !important;
    width: 100%;
  }
}

/*Image and text on home page*/
.hero-profile {
  display: grid;
  grid-template-columns: minmax(220px, 350px) minmax(0, 480px);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin: 2.5rem auto;
  text-align: left;
}

.hero-profile figure {
  margin: 0;
}

.hero-profile img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-profile-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.hero-profile-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: clamp(1.2rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.hero-profile-copy .quiet-link {
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .hero-profile {
    grid-template-columns: 1fr;
    max-width: 320px;
    text-align: center;
  }

  .hero-profile img {
    max-width: 210px;
    margin-inline: auto;
  }
}


@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  footer .legal-links {
    justify-content: center;
  }
}



.footer-identity a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-identity a:hover,
.footer-identity a:focus-visible {
  opacity: 0.65;
}

@media (max-width: 768px) {
  .footer-identity a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  }
}

.prose .inline-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: opacity 0.2s ease;
}

.prose .inline-link:hover,
.prose .inline-link:focus-visible {
  opacity: 0.65;
}

@media (max-width: 768px) {
  .inline-link {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  }
}

@media (max-width: 600px) {
  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }
}


/* Default animated page background */
body[data-background='default']:not([data-visual-theme='shibi']) {
  position: relative;
  isolation: isolate;
  background: #080b12;
}

body[data-background='default'][data-theme='light']:not([data-visual-theme='shibi']) {
  background: #f1f3f8;
}

body[data-background='default'].high-contrast:not([data-visual-theme='shibi']) {
  background: #000;
}

body[data-theme='light'] .site-ambient {
  --ambient-blue: 100 126 205;
  --ambient-secondary: 120 137 190;
  --ambient-strength: 0.5;
}

.site-ambient {
  --ambient-blue: 35 58 145;
  --ambient-secondary: 27 46 116;
  --ambient-strength: 0.8;

  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 0% 35%,
      rgb(var(--ambient-blue) / 25%) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse at 100% 75%,
      rgb(var(--ambient-secondary) / 23%) 0%,
      transparent 65%
    );
}

.site-ambient::before,
.site-ambient::after {
  content: '';
  position: absolute;
  inset: -10%;
  background-repeat: no-repeat;
  opacity: var(--ambient-strength);
  transform-origin: center;
}

.site-ambient::before {
  background-image: radial-gradient(
    ellipse at 15% 30%,
    rgb(var(--ambient-blue) / 32%) 0%,
    rgb(var(--ambient-blue) / 10%) 35%,
    transparent 65%
  );

  animation: site-glow-left 24s ease-in-out infinite alternate;
}

.site-ambient::after {
  background-image: radial-gradient(
    ellipse at 85% 70%,
    rgb(var(--ambient-secondary) / 30%) 0%,
    rgb(var(--ambient-secondary) / 8%) 35%,
    transparent 65%
  );

  animation: site-glow-right 32s ease-in-out infinite alternate;
}

@keyframes site-glow-left {
  from {
    transform: translate(-3%, -4%) scale(1);
  }

  to {
    transform: translate(6%, 5%) scale(1.08);
  }
}

@keyframes site-glow-right {
  from {
    transform: translate(4%, 5%) scale(1.06);
  }

  to {
    transform: translate(-6%, -4%) scale(1);
  }
}

@media (max-width: 1100px) {
  .site-ambient {
    --ambient-blue: 39 65 156;
    --ambient-secondary: 31 52 132;
    --ambient-strength: 1;
  }
}

body.reduce-motion .site-ambient::before,
body.reduce-motion .site-ambient::after {
  animation: none !important;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-ambient::before,
  .site-ambient::after {
    animation: none !important;
    transform: none;
  }
}

body.high-contrast .site-ambient {
  display: none;
}

html:has(body.reduce-motion) {
  scroll-behavior: auto;
}

@media (max-width: 600px) {
  .eyebrow {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.split-callout .eyebrow {
  color: inherit;
}

body[data-visual-theme='shibi'][data-theme='light']:not(.high-contrast) .shared-footer {
  --muted: #cdd5f5;
}


@media (min-width: 1024px) {
  .prose.about-prose {
    width: min(1120px, 100%);
    max-width: 1120px;
    padding-inline: 32px;
  }
}
