/* Shared navigation control; the visual palette comes from theme.css. */
.nav-actions{display:flex;align-items:center;justify-self:end;gap:10px}
.language-select{height:42px;max-width:112px;border:1px solid var(--control-border);border-radius:8px;background:var(--surface);color:var(--ink);padding:0 9px;font:600 13px Geist,Arial,sans-serif;cursor:pointer}
.language-select:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.nav-actions .nav-cta{justify-self:auto}
.form-status.error{color:var(--danger)}
html[dir="rtl"] body{font-family:"Segoe UI",Tahoma,Arial,sans-serif}
html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="tel"],html[dir="rtl"] input[type="url"],html[dir="rtl"] input[type="date"],html[dir="rtl"] .orbit-control{direction:ltr;text-align:left;unicode-bidi:isolate}
html[dir="rtl"] a[href^="http"],html[dir="rtl"] a[href^="mailto:"]{unicode-bidi:isolate}
html[dir="rtl"] svg:has(use[href="#arrow-right"]),html[dir="rtl"] svg:has(use[href="#arrow-ne"]){transform:scaleX(-1)}
html[dir="rtl"] .scene-frame,html[dir="rtl"] .scene-frame img{direction:ltr}
html[dir="rtl"] .scene{margin-inline:auto}
.form-panel .honeypot{left:0;top:0;clip-path:inset(50%);pointer-events:none}
@media(max-width:760px){.nav-actions{grid-row:1;grid-column:3;gap:8px}}
@media(max-width:440px){.nav-wrap{gap:8px}.language-select{width:48px;padding:0 3px;font-size:11px}.nav-actions{gap:5px}.nav-cta{width:42px;padding:0}.nav-cta .cta-label{display:none}}

/* Light surfaces keep the existing media tiles and catalogue visuals intact. */
html[data-theme="light"] body{background:var(--bg);color:var(--ink)}
html[data-theme="light"] :focus-visible{outline-color:var(--focus)}
html[data-theme="light"] .site-header{background:var(--header-bg);border-bottom-color:var(--line);box-shadow:0 4px 20px #173f3710}
html[data-theme="light"] .brand img{filter:brightness(0) saturate(100%) invert(13%) sepia(17%) saturate(822%) hue-rotate(155deg)}
html[data-theme="light"] nav{color:var(--nav-ink)}
html[data-theme="light"] nav a:hover,html[data-theme="light"] .footer-link:hover{color:var(--mint)}
html[data-theme="light"] .menu-toggle{border-color:var(--line);background:#ffffffa8}
html[data-theme="light"] .button{color:var(--ink)}
html[data-theme="light"] .button-primary{background:var(--mint);color:var(--on-accent);box-shadow:0 8px 24px #176b5830}
html[data-theme="light"] .button-primary:hover{background:var(--mint-hover)}
html[data-theme="light"] .button-secondary,html[data-theme="light"] .button-small{background:#ffffffae;border-color:var(--control-border);color:var(--ink)}
html[data-theme="light"] .button-secondary:hover,html[data-theme="light"] .button-small:hover{background:#e4f1eb;border-color:var(--mint)}
html[data-theme="light"] .button-quiet{color:var(--mint)}
html[data-theme="light"] .skip:focus{background:var(--mint);color:var(--on-accent)}
html[data-theme="light"] .hero{background:var(--hero-gradient)}
html[data-theme="light"] .hero::before,html[data-theme="light"] .inner-hero::before{opacity:.5;background-image:linear-gradient(#417b7b18 1px,transparent 1px),linear-gradient(90deg,#417b7b18 1px,transparent 1px)}
html[data-theme="light"] .hero-kicker,html[data-theme="light"] .section-kicker{color:#465b61}
html[data-theme="light"] .signal{background:#176b58;box-shadow:0 0 14px #176b5860}
html[data-theme="light"] .kicker-sep{background:#91aaa8}
html[data-theme="light"] h1 span{background:linear-gradient(101deg,#0d624d 4%,#315477 54%,#5b4087 92%);background-clip:text;-webkit-text-fill-color:transparent}
html[data-theme="light"] .hero-intro,html[data-theme="light"] .section-head>p,html[data-theme="light"] .section-copy{color:var(--muted)}
html[data-theme="light"] .scene-frame{background:radial-gradient(ellipse at 51% 49%,#14263b 0%,#0a1321 64%,#070e19 100%);border:1px solid #6f8da0;border-radius:24px;box-shadow:0 24px 55px #16374236,0 0 0 7px #fff7}
@media(min-width:761px){html[data-theme="light"] .scene{margin-left:10px}html[data-theme="light"] .scene-frame{width:calc(100% - 52px);margin-left:52px}}
html[data-theme="light"] .scene-frame img{mask-image:radial-gradient(ellipse at 52% 52%,#000 52%,#000e 68%,#0005 85%,transparent 100%)}
html[data-theme="light"] .scene figcaption{color:#40565f}
html[data-theme="light"] .scene figcaption svg{color:var(--mint)}
html[data-theme="light"] .hero-foot{border-top-color:var(--line);color:var(--muted)}
html[data-theme="light"] .round-arrow{border-color:#9cb3b1}
html[data-theme="light"] .hero-pillars span+span::before{background:var(--mint)}
html[data-theme="light"] h2 em{color:#5d7a81}
html[data-theme="light"] .service{color:#f8fbfb;box-shadow:var(--shadow)}
html[data-theme="light"] .service p{color:#d8e2e5}
html[data-theme="light"] .service-index{color:var(--tone,#b5f5d6)}
html[data-theme="light"] .portfolio-band{background:var(--portfolio-gradient);border-color:var(--line)}
html[data-theme="light"] .work-list li,html[data-theme="light"] .work-list li:first-child{border-color:var(--line)}
html[data-theme="light"] .work-list li span{color:#526a72}
html[data-theme="light"] .work-visual{border-color:#b2c7c6;box-shadow:var(--shadow)}
html[data-theme="light"] .work-caption{background:#101c24ee;color:#f7faf9;border-color:#8da8a666}
html[data-theme="light"] .method-grid li>span{color:var(--mint)}
html[data-theme="light"] .catalogue-card{background:var(--catalogue-gradient);border-color:#bbcfce;box-shadow:var(--shadow)}
html[data-theme="light"] .catalogue-card::after{background:linear-gradient(111deg,transparent 59%,#176b5812 60%,transparent 79%)}
html[data-theme="light"] .catalogue-cover{border-color:#9bb8b7;box-shadow:14px 21px 42px #1c484727}
html[data-theme="light"] .offers div{background:var(--surface);border-color:var(--line);box-shadow:var(--shadow)}
html[data-theme="light"] .offers div>span{color:#35535a}
html[data-theme="light"] .location svg{color:var(--mint)}
html[data-theme="light"] .site-footer{background:#edf2ef;border-top-color:var(--line)}

/* Interior pages, portfolio details, and forms. */
html[data-theme="light"] .inner-hero{background:var(--inner-gradient);border-bottom-color:var(--line)}
html[data-theme="light"] .crumbs{color:#50636a}
html[data-theme="light"] .page-intro{color:var(--muted)}
html[data-theme="light"] .page-visual{border-color:#b0c8c7;background:#15232b;box-shadow:var(--shadow)}
html[data-theme="light"] .detail-card,html[data-theme="light"] .related-link{background:var(--surface);border-color:var(--card-border);box-shadow:var(--shadow)}
html[data-theme="light"] .detail-card p:not(.kicker),html[data-theme="light"] .step-list li,html[data-theme="light"] .simple-list{color:var(--muted)}
html[data-theme="light"] .related-link:hover{border-color:var(--mint)}
html[data-theme="light"] .form-panel{background:var(--surface);border-color:var(--card-border);box-shadow:var(--shadow)}
html[data-theme="light"] .form-panel input,html[data-theme="light"] .form-panel select,html[data-theme="light"] .form-panel textarea{background:var(--field-bg);border-color:var(--field-border);color:var(--ink)}
html[data-theme="light"] .form-panel input::placeholder,html[data-theme="light"] .form-panel textarea::placeholder{color:#586b72}
html[data-theme="light"] .form-panel input[type="checkbox"]{accent-color:var(--mint)}
html[data-theme="light"] .form-status{color:var(--mint)}
html[data-theme="light"] .form-status.error{color:var(--danger)}
html[data-theme="light"] .portfolio-filters a{color:var(--ink);border-color:var(--control-border);background:#ffffffad}
html[data-theme="light"] .portfolio-filters a[aria-current="page"],html[data-theme="light"] .portfolio-filters a:hover{background:var(--mint);border-color:var(--mint);color:var(--on-accent)}
html[data-theme="light"] .portfolio-card{background:var(--surface);border-color:var(--card-border);box-shadow:var(--shadow)}
html[data-theme="light"] .portfolio-card-copy>span:last-child{color:var(--muted)}
html[data-theme="light"] .portfolio-card-placeholder{background:radial-gradient(circle at 35% 40%,#aed6cd 0,transparent 42%),radial-gradient(circle at 70% 65%,#d8c6e9 0,transparent 45%),#e6eeeb}
html[data-theme="light"] .portfolio-facts{background:var(--surface);border-color:var(--card-border);box-shadow:var(--shadow)}
html[data-theme="light"] .portfolio-gallery figure,html[data-theme="light"] .legacy-work-image{background:var(--surface);border:1px solid var(--card-border);box-shadow:var(--shadow)}
html[data-theme="light"] .portfolio-gallery figcaption{color:var(--muted)}
html[data-theme="light"] .portfolio-videos iframe{background:#dce7e5}
