@font-face { font-family:"Cuprum"; src:url("assets/fonts/cuprum-latin.woff2") format("woff2"); font-display:swap; font-weight:400 700; }
:root { --play-display:"Manrope","Segoe UI",sans-serif; --play-panel-width:400px; --play-control-height:44px; }
html[data-play-font="space"] { --play-display:"Space Grotesk","Segoe UI",sans-serif; }
html[data-play-font="cuprum"] { --play-display:"Cuprum","Arial Narrow",sans-serif; }
html[data-play-font] body,html[data-play-font] button,html[data-play-font] input,html[data-play-font] textarea,html[data-play-font] select { font-family:var(--play-display); }
html[data-play-font] :where(h1,h2,h3,.phone,.project strong,.contact a,.contact-dialog h2,.project-dialog h2) { font-family:var(--play-display)!important; }
.playground-toggle { position:fixed; z-index:45; right:0; top:50%; display:flex; width:52px; min-height:144px; flex-direction:column; align-items:center; justify-content:center; gap:12px; padding:12px 0; border:1px solid var(--line-dark,var(--line)); border-right:0; border-radius:26px 0 0 26px; background:var(--navy); color:var(--white); box-shadow:0 12px 36px rgba(6,23,36,.3); cursor:pointer; transform:translateY(-50%); }
.playground-toggle span { font-size:.64rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; writing-mode:vertical-rl; transform:rotate(180deg); }
.playground-toggle b { color:var(--yellow); font-size:.7rem; }
.playground { position:fixed; z-index:50; top:12px; right:12px; bottom:12px; width:min(var(--play-panel-width),calc(100vw - 24px)); padding:24px; overflow-y:auto; border:1px solid var(--line-dark,var(--line)); background:var(--navy); color:var(--white); box-shadow:0 24px 80px rgba(6,23,36,.48); transform:translateX(calc(100% + 28px)); transition:transform .32s var(--ease); }
.playground.is-open { transform:translateX(0); }
.playground header { display:flex; align-items:start; justify-content:space-between; gap:24px; }
.playground header small { display:block; margin-bottom:8px; color:var(--sky); font-size:.62rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.playground header strong { font:650 2rem/1 var(--play-display); }
.playground header button { width:44px; height:44px; flex:0 0 auto; border:1px solid var(--line-dark,var(--line)); background:transparent; color:inherit; cursor:pointer; font-size:1.5rem; }
.playground>p { margin:28px 0; color:rgba(248,250,247,.66); font-size:.8rem; line-height:1.6; }
.playground label { display:grid; gap:9px; padding:18px 0; border-top:1px solid var(--line-dark,var(--line)); color:var(--white); font-size:.64rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }
.playground select { width:100%; min-height:var(--play-control-height); padding:10px 12px; border:1px solid var(--line-dark,var(--line)); border-radius:0; background:var(--navy-2); color:var(--white); cursor:pointer; text-transform:none; }
.playground-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding-top:20px; border-top:1px solid var(--line-dark,var(--line)); }
.playground-actions button { min-height:var(--play-control-height); border:1px solid var(--line-dark,var(--line)); background:transparent; color:var(--white); cursor:pointer; font-size:.68rem; }
.playground-actions button:first-child { border-color:var(--orange); color:var(--orange); }
.playground output { display:block; min-height:20px; margin-top:14px; color:var(--yellow); font-size:.68rem; }
.playground :focus-visible,.playground-toggle:focus-visible { outline:3px solid var(--yellow); outline-offset:3px; }
html[data-play-composition="centered"] .hero-copy { right:6vw!important; left:6vw!important; max-width:1000px!important; margin-inline:auto; text-align:center; }
html[data-play-composition="centered"] .hero-copy>:where(p,span) { margin-inline:auto!important; }
html[data-play-composition="centered"] .hero-copy .action { justify-self:center; }
html[data-play-composition="centered"] .proof { grid-template-columns:1fr!important; text-align:center; }
html[data-play-composition="centered"] .proof>:where(div,.proof-copy) { max-width:900px; margin-inline:auto; }
html[data-play-composition="poster"] .hero-copy { right:6vw!important; bottom:5vh!important; left:auto!important; width:min(900px,88vw); text-align:right; }
html[data-play-composition="poster"] .hero-copy>:where(p,span) { margin-left:auto!important; }
html[data-play-composition="poster"] .proof { grid-template-columns:.72fr 1.28fr!important; align-items:start!important; }
html[data-play-treatment="mono"] :where(.hero>img,.hero video,.project,.company img) { filter:grayscale(1) contrast(1.1)!important; }
html[data-play-treatment="mono"] :where(.hero::before,.scrim,.media-scrim) { filter:grayscale(1); }
html[data-play-treatment="vivid"] :where(.hero>img,.hero video,.project,.company img) { filter:saturate(1.22) contrast(1.08)!important; }
html[data-site="fields"][data-play-composition="centered"] .hero { grid-template-columns:1fr; align-items:center; }
html[data-site="fields"][data-play-composition="centered"] .hero-copy { padding:40px 0 16px; }
html[data-site="fields"][data-play-composition="poster"] .hero { grid-template-columns:minmax(300px,.7fr) minmax(560px,1.3fr); }
@media (max-width:900px) { html[data-play-composition] .proof { grid-template-columns:1fr!important; text-align:left; } html[data-play-composition] .proof>:where(div,.proof-copy) { margin-inline:0; } }
@media (max-width:600px) { .playground-toggle { top:auto; right:16px; bottom:16px; width:52px; min-height:52px; padding:0; border-right:1px solid var(--line-dark,var(--line)); border-radius:50%; transform:none; } .playground-toggle span { display:none; } html[data-play-composition="poster"] .hero-copy { right:20px!important; left:20px!important; width:auto; text-align:left; } html[data-play-composition="poster"] .hero-copy>:where(p,span) { margin-left:0!important; } }
@media (prefers-reduced-motion:reduce) { .playground { transition-duration:.01ms; } }
