/* Warm light, quiet dark. The amber illustration keeps its own palette. */
:root{color-scheme:light;--accent:#94601c;--surface:#eae8de}
html[data-theme="dark"]{color-scheme:dark;--paper:#151712;--ink:#f2f1e9;--muted:#b5b8ab;--amber:#eaa233;--line:#414638;--dark:#1c2018;--accent:#efbc72;--surface:#23271e}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.site-preferences{display:flex;gap:8px;align-items:center;margin-inline-start:auto;flex-shrink:0}
.preference-control{display:flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:22px;min-height:40px;padding-inline:10px;color:var(--ink);background:var(--paper)}
.preference-control svg{flex-shrink:0}
.preference-control select{font:400 11px/1.5 var(--sans);background:var(--paper);color:var(--ink);border:0;border-radius:4px;min-height:36px;max-width:112px;cursor:pointer;padding:0 2px}
.preference-control:focus-within{outline:2px solid var(--accent);outline-offset:3px}
.preference-control select:focus-visible{outline:none}
.header{gap:22px}.header nav{gap:22px}.header-contact{margin-inline-start:0}
.hero-layout,.idea-layout,.projects-heading,.process-heading,.project,.contact{min-width:0}
.hero-copy,.idea-copy,.project-main,.contact-intro{min-width:0}
h1,h2,h3,p{overflow-wrap:break-word}
html:not([lang="en-US"]):not([lang="ru"]) h1{font-size:clamp(62px,6.5vw,96px);line-height:1.08;letter-spacing:-3px;font-weight:500}
html:not([lang="en-US"]):not([lang="ru"]) h1 em{letter-spacing:-2px;color:var(--accent)}
html:not([lang="en-US"]):not([lang="ru"]) .hero-brand-statement{font-size:clamp(25px,2.2vw,33px);letter-spacing:-.6px}
html:not([lang="en-US"]):not([lang="ru"]) .stage-panel h3{font-size:35px;min-height:0}
html[lang="zh-Hans"] h1,html[lang="ja"] h1,html[lang="hi"] h1,html[lang="ar"] h1{letter-spacing:0;font-size:clamp(58px,5.9vw,85px);line-height:1.25}
html[lang="zh-Hans"] h1 em,html[lang="ja"] h1 em,html[lang="hi"] h1 em,html[lang="ar"] h1 em{letter-spacing:0;font-style:normal}
html[lang="zh-Hans"],html[lang="ja"],html[lang="hi"],html[lang="ar"],html[lang="he"]{--sans:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
html[lang="zh-Hans"] :is(h2,h3,.hero-brand-statement),html[lang="ja"] :is(h2,h3,.hero-brand-statement),html[lang="hi"] :is(h2,h3,.hero-brand-statement),html[lang="ar"] :is(h2,h3,.hero-brand-statement){letter-spacing:0;line-height:1.35}
.hero-art{--ink:#24221c;--paper:#f5f3ed;color:#24221c}
.tool-art{--ink:#24221c;color:#24221c}
.process-shell{--paper:#f5f3ed;--ink:#24221c}
html[data-theme="dark"] .hero-copy{color:var(--ink)}
html[data-theme="dark"] :is(h1 em,.brand-dot,.principles-grid article>.mono){color:var(--accent)}
html[data-theme="dark"] .hero-description,html[data-theme="dark"] .project-main>p,html[data-theme="dark"] .project-sign>.mono{color:var(--muted)}
html[data-theme="dark"] .idea-layout>h2 em{color:var(--accent)}
html[data-theme="dark"] .button.dark{background:#edbb71;color:#171a13}
html[data-theme="dark"] .button.dark:hover{background:#ffce8a}
html[data-theme="dark"] .project,html[data-theme="dark"] .project::before{background:var(--surface)}
html[data-theme="dark"] .project{background-clip:content-box}
html[data-theme="dark"] .tool-card{background:#1c2018}
html[data-theme="dark"] .feedback-form :is(input,textarea,select){background:#1c2018;border-color:#737b67;color:var(--ink)}
html[data-theme="dark"] .feedback-form ::placeholder{color:#b3b7a7}
html[data-theme="dark"] :is(.text-link,.contact-link):hover{color:var(--accent);border-color:var(--accent)}
html[data-theme="dark"] .status-dot{background:#9dac81}
html[data-theme="dark"] ::selection{background:#edbb71;color:#171a13}
html[dir="rtl"] .stage-list{padding-right:0;padding-left:38px}
html[dir="rtl"] .stage-list button{text-align:right}
html[dir="rtl"] .principles-grid article{padding-left:0;padding-right:49px}
html[dir="rtl"] .principles-grid article>.mono{left:auto;right:0}
html[dir="rtl"] .orbit-node{direction:ltr}
html[dir="rtl"] .orbit-node>span{direction:rtl}
html[dir="rtl"] :is(.contact-email,.brand,.art-count,.stage-count){direction:ltr;unicode-bidi:isolate}
html[dir="rtl"] .panel-bottom{direction:rtl}
html[dir="rtl"] .next-stage{transform:scaleX(-1)}
.art-top,.art-bottom{gap:8px}.art-top>span{font-size:7px}.art-bottom>span{max-width:48%;font-size:6px}
.orbit-node span{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.3}
.locale-links{display:flex;gap:12px 22px;flex-wrap:wrap;padding-top:0;padding-bottom:38px;font-size:11px;line-height:2;color:var(--muted)}.locale-links a[aria-current="page"]{color:var(--ink);text-decoration:underline;text-underline-offset:5px}.locale-links a:hover{color:var(--accent)}
html[lang="he"] :is(h1,h2,h3,.hero-brand-statement){letter-spacing:0;line-height:1.3}html[lang="he"] h1 em{letter-spacing:0;font-style:normal}
@media(max-width:1200px){.header-contact{display:none}.header nav{gap:15px}.header{gap:18px}.header nav a{font-size:11px}}
@media(max-width:900px){.header nav{display:none}.site-preferences{margin-inline-start:auto}.wrap{padding-inline:30px}}
@media(max-width:720px){.wrap{padding-inline:22px}.header{gap:10px;height:auto;min-height:88px;flex-wrap:wrap;padding-block:18px}.header .brand{font-size:25px}.brand img{width:29px;height:29px}.site-preferences{gap:5px}.preference-control{padding-inline:6px;gap:3px;min-height:38px}.preference-control svg{width:13px;height:13px}.preference-control select{font-size:10px;max-width:90px;min-height:34px}.menu-button{width:32px;height:32px;flex-shrink:0}.hero-layout{grid-template-columns:minmax(0,1fr)}html:not([lang="en-US"]):not([lang="ru"]) h1{font-size:clamp(54px,13vw,86px);letter-spacing:-2px}html[lang="zh-Hans"] h1,html[lang="ja"] h1,html[lang="hi"] h1,html[lang="ar"] h1{font-size:clamp(49px,12vw,75px);letter-spacing:0}.projects-heading,.process-heading,.idea-layout,.principles-heading,.project,.contact{grid-template-columns:minmax(0,1fr)}.hero-top{flex-wrap:wrap}.hero-brand-statement{max-width:100%}.art-top>span{font-size:6px}.art-bottom>span{font-size:5px}.stage-panel{padding-inline:20px}.stage-list{max-width:100%}html[dir="rtl"] .stage-list{padding:12px 0}html[dir="rtl"] .principles-grid article{padding-right:40px}.hero-note{overflow-wrap:anywhere}.contact-email{font-size:15px}}
@media(max-width:420px){.header .brand{font-size:24px}.header .brand img{width:26px;height:26px}.site-preferences{gap:4px}.preference-control svg{display:none}.preference-control{padding-inline:5px}.preference-control select{max-width:85px;font-size:10px}.appearance-control select{max-width:76px}.header{gap:7px}.menu-button{width:29px;height:29px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(max-width:720px){.header{display:grid;grid-template-columns:minmax(0,1fr) auto;row-gap:12px}.header .brand{grid-column:1;grid-row:1;justify-self:start}.header .menu-button{grid-column:2;grid-row:1}.site-preferences{grid-column:1/-1;grid-row:2;margin:0;width:100%;justify-content:flex-start}.preference-control select{max-width:145px;font-size:11px}.preference-control svg{display:block}.preference-control{padding-inline:10px;gap:5px}.appearance-control select{max-width:125px}.header-contact{display:none}}

/* The opening follows the same explicit/system theme as the rest of Artel. */
:root{--opening-bg:#f5f3ed;--opening-ink:#24221c;--opening-accent:#94601c;--opening-line:#24221c55}
html[data-theme="dark"]{--opening-bg:#050505;--opening-ink:#f2f1e9;--opening-accent:#efbc72;--opening-line:#f2f1e966}
body>.header{color:var(--opening-ink)}
.header .preference-control{--paper:var(--opening-bg);--ink:var(--opening-ink);--line:var(--opening-line);background:var(--opening-bg);color:var(--opening-ink)}
.header .header-contact{border-color:var(--opening-line)}
.header .header-contact:hover{background:var(--opening-ink);color:var(--opening-bg)}
.opening{background:var(--opening-bg);color:var(--opening-ink)}
body .opening h1{color:var(--opening-ink)}
.opening h1 em{color:var(--opening-accent)}
.typed-visual::after{background:var(--opening-accent)}
.opening-scroll{border-color:var(--opening-line);color:var(--opening-ink)}
.opening-scroll:hover{border-color:var(--opening-accent);color:var(--opening-accent)}
@media(max-width:900px){.header .menu-button{display:flex;width:44px;height:44px;align-items:center;justify-content:center;flex-direction:column}.mobile-menu{position:absolute;inset:108px 0 auto;z-index:20;background:var(--opening-bg);color:var(--opening-ink)}}
@media(max-width:720px){.mobile-menu{top:155px}}
.next-stage{width:44px;height:44px}
.feedback-context{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.5}
.feedback-context[hidden]{display:none}
.feedback-context button{border:1px solid var(--line);background:none;padding:8px 12px;min-height:40px;font-size:12px}
.tool-copy>p,.principles-grid p,.project-main>p{font-size:14px}
.tool-meta{font-size:11px}.locale-links{font-size:12px}.locale-links a{display:inline-flex;align-items:center;min-height:36px}

/* A shorter path from purpose to projects and a concrete way to contribute. */
.idea-layout{min-height:0}.idea .principles-grid{margin-top:42px}
.process-heading h2{font-size:clamp(32px,3.3vw,46px);letter-spacing:-.04em}
.process-details{margin-top:30px;border-top:1px solid #515348;border-bottom:1px solid #515348}
.process-details>summary{cursor:pointer;padding:20px 0;font-size:16px;list-style-position:inside}
.process-details>summary:focus-visible{outline:3px solid var(--amber);outline-offset:6px}
.process-details .process-layout{margin-top:0}
.process-details[open]{padding-bottom:24px}
.project-contribute{padding:48px 40px 28px 0;display:flex;flex-direction:column;justify-content:center;min-width:0}
.project-contribute h3{font-size:22px;font-weight:500;letter-spacing:-.03em;margin-bottom:15px}
.contribution-links{display:flex;flex-direction:column}
.contribution-links a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px;padding:10px 0;border-bottom:1px solid var(--line);font-size:18px}
.contribution-links a:hover{color:var(--accent)}
@media(max-width:720px){.project-contribute{padding:0 28px 32px}.project-contribute h3{font-size:21px}.process-heading h2{font-size:34px}.idea-layout>h2{position:static}}

:root{--muted:#6c6b62}
.process-shell .section{padding-block:56px}
.process-details{border-bottom:0;margin-top:24px}
.process-details+.human-gate{border-top:0;margin-top:12px;padding-top:12px}
.idea.section{padding-block:64px}.idea .principles-grid{margin-top:30px}

/* A single transparent artwork drifts on composited layers, with fixed amber hues. */
.opening{isolation:isolate}
.opening-light{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
.opening-light img{position:absolute;max-width:none;width:130%;height:100%;object-fit:contain;left:-15%;top:16%;opacity:.48;mix-blend-mode:multiply;will-change:transform;animation:opening-light-drift 24s ease-in-out infinite alternate}
.opening-light .opening-light-echo{width:115%;left:-6%;top:24%;opacity:.2;animation:opening-light-return 31s ease-in-out infinite alternate}
html[data-theme="dark"] .opening-light img{opacity:.28;mix-blend-mode:screen}
html[data-theme="dark"] .opening-light .opening-light-echo{opacity:.12}
.opening-motion{position:absolute;inset-inline-end:clamp(24px,4.5vw,70px);bottom:clamp(28px,6svh,60px);width:44px;height:44px;border-color:var(--opening-line);color:var(--opening-ink)}
.opening-motion:hover{background:var(--opening-bg);border-color:var(--opening-accent)}
.opening-motion:focus-visible{outline:2px solid var(--opening-accent);outline-offset:5px}
.motion-ready .opening:not(.is-in-view) .opening-light img{animation-play-state:paused}
@keyframes opening-light-drift{from{transform:translate3d(-5%,-4%,0) rotate(-5deg) scale(1.04)}to{transform:translate3d(6%,4%,0) rotate(5deg) scale(1.14)}}
@keyframes opening-light-return{from{transform:translate3d(7%,4%,0) rotate(174deg) scale(1.06)}to{transform:translate3d(-6%,-3%,0) rotate(187deg) scale(1.15)}}
@media(max-width:720px){.opening-light img{width:200%;left:-50%;height:85%;top:23%;opacity:.4}.opening-light .opening-light-echo{width:170%;left:-35%;top:31%;opacity:.16}}
@media(prefers-reduced-motion:reduce){.opening-light img{animation:none;will-change:auto;transform:none}}
