/* Appearance is selected before first paint; existing brand colours stay intact. */
:root{color-scheme:light}
:root[data-theme=dark]{color-scheme:dark;background:#11191d}
[hidden]{display:none!important}
.theme-switch{font:inherit;font-size:.6875rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:76px;min-height:44px;padding:9px 11px;flex-shrink:0;border:1px solid currentColor;border-color:color-mix(in srgb,currentColor 28%,transparent);border-radius:30px;background:transparent;color:inherit;cursor:pointer;line-height:1;transition:background .2s,border-color .2s}
.theme-switch:hover{background:color-mix(in srgb,currentColor 8%,transparent);border-color:currentColor}
.theme-switch:focus-visible{outline:3px solid #b85c42;outline-offset:4px}
[data-theme=dark] .theme-switch:focus-visible{outline-color:#eea185}
.theme-switch svg{flex:0 0 18px}
.theme-sun,[data-theme=dark] .theme-moon{display:none}
[data-theme=dark] .theme-sun{display:block}
.appearance-controls{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.theme-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Text tokens adapt; identity illustrations retain their deliberate dark palette. */
[data-theme=dark] .site-v2{--navy:#f3eee7;--cloud:#11191d;--mist:#29373e;--peach:#513b33;--coral:#eea185;--sage:#304b42;--muted:#b4c2c7;--line:#3b4c53;color:var(--navy);background:var(--cloud)}
[data-theme=dark] .site-v2 .site-header{background:rgb(17 25 29 / 95%);border-color:var(--line)}
[data-theme=dark] .site-v2[data-scrolled=true] .site-header{box-shadow:0 6px 24px #0004;border-color:var(--line)}
[data-theme=dark] .site-v2 .hero{background:radial-gradient(ellipse at 95% 8%,#6b463b45,transparent 48%),radial-gradient(ellipse at 4% 100%,#31584945,transparent 45%),var(--cloud)}
[data-theme=dark] .site-v2 .hero-bottom{border-color:var(--line)}
[data-theme=dark] .site-v2 .eyebrow,[data-theme=dark] .site-v2 .problem-index,[data-theme=dark] .site-v2 .founder-caption{color:#efbca5}
[data-theme=dark] .site-v2 .muted{color:var(--muted)}
[data-theme=dark] .site-v2 :is(.system-visual,.framework){--navy:#223843;--cloud:#fbf8f3;--mist:#dddfe0;--peach:#efbca5;color:var(--cloud)}
[data-theme=dark] .site-v2 .system-visual{box-shadow:15px 18px 0 #304b42,0 24px 50px #0003;border-color:#54746c}
[data-theme=dark] .site-v2 .button-dark{background:#efbca5;color:#17242b;border-color:#efbca5}
[data-theme=dark] .site-v2 .button-dark:hover{background:#f7cfb9;color:#17242b}
[data-theme=dark] .site-v2 .button-light:hover{background:#29373e}
[data-theme=dark] .site-v2 .text-link{border-color:#b4c2c780}
[data-theme=dark] .site-v2 .problem-grid article{background:#2c2725;border-color:#5b4640}
[data-theme=dark] .site-v2 .problem-grid article:nth-child(2){background:#20312b;border-color:#3f5c4c}
[data-theme=dark] .site-v2 .problem-grid article:nth-child(3){background:#2b2833;border-color:#51465b}
[data-theme=dark] .site-v2 .process{background:#1c2c26}
[data-theme=dark] .site-v2 .step-number{color:#b5d7c2}
[data-theme=dark] .site-v2 .featured{background:#392b25}
[data-theme=dark] .site-v2 .flow-panel{background:#49372d;border-color:#7e5d4d;box-shadow:9px 9px 0 #271f1b}
[data-theme=dark] .site-v2 .feature-flow li>span{color:#fff5ec}
[data-theme=dark] .site-v2 .feature-flow li:not(:last-child)::after{border-color:#af9c8c70}
[data-theme=dark] .site-v2 .why-section{background:var(--cloud)}
[data-theme=dark] .site-v2 .demo-project-link{background:linear-gradient(110deg,#20352b,#342b23);border-color:#48604f}
[data-theme=dark] .site-v2 .about-preview,[data-theme=dark] .site-v2 .studio-about{background:#2b2623;border-color:#6c5145}
[data-theme=dark] .site-v2 .studio-nav a:hover{background:#513b33}
[data-theme=dark] .site-v2 .faq-section{background:#26232f}
[data-theme=dark] .site-v2 .closing{background:linear-gradient(110deg,#483329,#393026)}
[data-theme=dark] .site-v2 .contact-page{background:linear-gradient(110deg,#11191d 45%,#1c2e27)}
[data-theme=dark] .site-v2 .audit-form{background:#1b272d;border-color:#41545c;box-shadow:8px 12px 0 #304b4255}
[data-theme=dark] .site-v2 .page-intro{background:radial-gradient(ellipse at 100% 10%,#6b463b40,transparent 65%)}
[data-theme=dark] .site-v2 .footer{background:#162126}
[data-theme=dark] .site-v2 .field :is(input,select,textarea),[data-theme=dark] .site-v2 .demo-workspace :is(input,select,textarea){background:#142026;border-color:#6e858e;color:#f3eee7;color-scheme:dark}
[data-theme=dark] .site-v2 .field :is(input,textarea)::placeholder{color:#aabac0}
[data-theme=dark] .site-v2 .field .field-error{color:#ffc0a9}
[data-theme=dark] .site-v2 .cookie-banner{border-color:#53666e;box-shadow:0 12px 60px #0006}
[data-theme=dark] .site-v2 .founders-section{background:#1c2529}
[data-theme=dark] .site-v2 .founder-profile{background:#1b272d;border-color:#52646b}
[data-theme=dark] .site-v2 .founder-profile-head{background:#48382f}
[data-theme=dark] .site-v2 .founder-profile:nth-child(2) .founder-profile-head{background:#2d4439}
[data-theme=dark] .site-v2 .founder-profile-head .eyebrow{color:#efbca5}
[data-theme=dark] .site-v2 .founder-sport{color:#b5d7c2;border-color:#52646b}
[data-theme=dark] .site-v2 .founders-direct{border-color:#52646b}
[data-theme=dark] .site-v2 .demo-stats>div{color:#fbf8f3}
[data-theme=dark] .site-v2 .demo-stats span{color:#e0e1dd}
[data-theme=dark] .site-v2 .demo-warning{background:#493c26;color:#fff0cf;border-color:#d9bf8e}
[data-theme=dark] .site-v2 .demo-lead.is-selected{background:#293a41;border-color:#efbca5;box-shadow:inset 3px 0 #efbca5}
[data-theme=dark] .site-v2 .demo-badge{border-color:#6e858e}
[data-theme=dark] .site-v2 .demo-workspace :focus-visible{outline-color:#eea185}
/* Portfolio thumbnails represent the original concept design, like images. */
[data-theme=dark] .site-v2 .work-visual{color:#223843}
/* Shared language dialog is also used by the standalone concept websites. */
[data-theme=dark] .language-dialog{background:#1b272d;color:#f3eee7;border-color:#53666e}
[data-theme=dark] .language-dialog p,[data-theme=dark] .language-options button small{color:#b4c2c7}
[data-theme=dark] .language-options button{color:#f3eee7;border-color:#6e858e}
[data-theme=dark] .language-options button:hover{background:#29373e;border-color:#efbca5}
/* Concepts keep their own identity while respecting the same preference. */
[data-theme=light] .standard{--ink:#f4f1e8;--paper:#202b20;--muted:#53604a;--line:#b9c1ad;--accent:#263c28}
[data-theme=light] .standard .demo-header,[data-theme=light] .standard .nav-wrap nav{background:#f4f1e8f5}
[data-theme=light] .standard :is(.hero-detail,.item-no){color:#53604a}
[data-theme=light] .standard .field :is(input,select){background:#fffdf7;color:#202b20;color-scheme:light;border-color:#79896c}
[data-theme=light] .standard .field input::placeholder{color:#59664f}
[data-theme=light] .standard .btn{color:#f4f1e8}
[data-theme=light] .standard .demo-result{background:#e4e9da}
[data-theme=dark] :is(.standard,.form){--paper:#f2f5e8;--ink:#152019;--muted:#b4c2af;--line:#526348}
[data-theme=dark] :is(.standard,.form) :is(.craft-section,.classes-section,.studio-section,.booking-section){background:#1b2c20;color:#f2f5e8;--muted:#c2cfb9;--line:#526348}
[data-theme=dark] :is(.standard,.form) :is(.principle p,.principle b,.studio-section .story-copy>p){color:#c2cfb9}
[data-theme=dark] .form :is(.concept-strip,.demo-header,.nav-wrap nav){background:#1b2c20;color:#e2ed86;border-color:#526348}
[data-theme=dark] .form .concept-strip>span{color:#c2cfb9}
[data-theme=dark] .form .class-grid article{background:#293b27;color:#f2f5e8;--muted:#c2cfb9}
[data-theme=dark] .form .class-grid article:nth-child(2){background:#354527}
[data-theme=dark] .form :is(.demo-form,.demo-result){background:#1e3022}
[data-theme=dark] .form .field :is(input,select){background:#152019;color:#f2f5e8;border-color:#7f936e;color-scheme:dark}
[data-theme=dark] .form .field input::placeholder{color:#b4c2af}
[data-theme=dark] .form .form-submit{background:#e2ed86;color:#152019}
[data-theme=dark] .form .demo-result b{color:#e2ed86}
[data-theme=light] .form{--muted:#526343;--line:#b3c1a5;background:#f0f2e8;color:#24301c}
[data-theme=light] .form :is(.schedule-section,.demo-footer){background:#e3e8d8}
[data-theme=light] .form :is(.schedule-tabs button,.schedule-row p){color:#526343}
[data-theme=light] .form .class-time{color:#334c24}
[data-theme=dark] .oliva{--paper:#f2e4d7;--ink:#291f1b;--muted:#d7b6a0;--line:#765a49;background:#291f1b;color:#f2e4d7}
[data-theme=dark] .oliva :is(.demo-header,.nav-wrap nav,.demo-footer){background:#291f1bf5;color:#f2e4d7}
[data-theme=dark] .oliva :is(.restaurant-hero .lede,.story-copy>p:not(.kicker),.menu-items p,.footer-bottom){color:#d7b6a0}
[data-theme=dark] .oliva .menu-section{background:#35271f}
[data-theme=dark] .oliva .menu-tabs button{color:#d7b6a0}
[data-theme=dark] .oliva .menu-tabs button[aria-selected=true]{color:#ffbf9c;border-color:#ffbf9c}
[data-theme=dark] .oliva .btn{background:#efb38d;color:#291f1b;border-color:#efb38d}
[data-theme=dark] .oliva .demo-result b{color:#f2e4d7}
/* Make room for a real touch target, including narrow phones and tablet menus. */
@media(min-width:801px) and (max-width:1200px){.site-v2 .nav-wrap{gap:12px}.site-v2 .nav-links{gap:14px}.site-v2 .nav-cta{display:none}}
@media(max-width:800px){.site-v2 .theme-switch{min-width:44px;width:44px;padding:10px}.site-header .theme-switch>span{display:none}.site-v2 .site-header .nav-wrap{gap:8px}[data-theme=dark] .site-v2 .nav-links{background:#162126}}
@media(max-width:600px){.site-v2 .site-header .brand{font-size:1rem}.site-v2 .site-header .language-switcher{gap:0}.site-v2 .site-header .language-switcher a{min-width:29px;padding-inline:5px}.site-v2 .site-header .nav-wrap{gap:5px}.site-header .menu-button{flex-shrink:0}.demo-header .theme-switch{width:44px;min-width:44px;padding:10px}.demo-header .theme-switch>span{display:none}.standard .demo-header .demo-logo{font-size:.95rem}.demo-header .language-switcher a{min-width:27px;padding-inline:4px}.demo-header .nav-wrap{gap:6px}[data-theme=dark] .site-v2 .system-visual{box-shadow:7px 9px 0 #304b42,0 18px 30px #0003}}
@media(prefers-reduced-motion:reduce){.theme-switch{transition:none}}

@media(max-width:600px){.demo-header .menu{width:44px;min-width:44px;height:44px;padding:10px;margin-right:0;flex-shrink:0}}
.language-switcher a{opacity:.8}
[data-theme=dark] .site-v2 .demo-workspace :is(input,textarea)::placeholder{color:#aabac0;opacity:1}
