/* Public site and shared navigation */
:root {
  --night: #0b1b36;
  --ink: #0b1b36;
  --muted: #475569;
  --line: #d5ddeb;
  --ice: #eff3fa;
  --blue: #244ad6;
}
body { font-family: Inter, "Segoe UI", Arial, sans-serif; }
.studio-wrap { width: min(100% - clamp(2.5rem, 8vw, 9rem), 78rem); margin-inline: auto; }
.studio-nav { border-bottom: 1px solid #dfe4ee; }
.nav-line, .nav-desktop, .nav-tools { display: flex; align-items: center; }
.nav-line { justify-content: space-between; gap: 1.5rem; min-height: 4.5rem; }
.nav-brand img { width: 7rem; height: auto; }
.nav-desktop { align-self: stretch; gap: clamp(.8rem,2.3vw,2.3rem); }
.nav-desktop a { display: grid; align-items: center; position: relative; font-size: .925rem; font-weight: 550; color: #2f3a50; }
.nav-desktop a[aria-current], .nav-desktop a:hover, .nav-mobile a[aria-current] { color: var(--blue); }
.nav-desktop a[aria-current]::after { position: absolute; content: ""; inset-inline: 0; bottom: 0; height: 3px; background: var(--blue); }
.nav-tools { gap: 1.25rem; }
.nav-lang { position: relative; }
.nav-tools summary { list-style: none; cursor: pointer; }
.nav-tools summary::-webkit-details-marker { display: none; }
.nav-lang summary { display: flex; align-items: center; gap: .45rem; min-height: 44px; font-size: .875rem; font-weight: 650; }
.nav-lang summary::after { content: ""; width: .4rem; height: .4rem; border: solid currentColor; border-width: 0 1px 1px 0; transform: translateY(-2px) rotate(45deg); }
.nav-lang > div, .nav-mobile nav { position: absolute; z-index: 2; background: white; border: 1px solid var(--line); box-shadow: 0 12px 30px #14234715; padding: .4rem; }
.nav-lang > div { inset-inline-end: 0; min-width: 8rem; }
.nav-lang a, .nav-mobile nav a { display: block; padding: .65rem .8rem; font-size: .95rem; }
.nav-tools details a:hover, .nav-lang a[aria-current] { background: var(--ice); }
.nav-contact, .studio-button { display: inline-flex; justify-content: center; align-items: center; font-weight: 600; border-radius: .35rem; }
.nav-contact { padding: .68rem 1.2rem; color: white; background: var(--ink); font-size: .9rem; }
.nav-contact:hover, .studio-button.ink:hover { background: #263b63; }
.nav-mobile { display: none; }
.page-intro, .studio-contact { color: white; background-color: var(--night); }
.studio-hero-grid { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); gap: clamp(1rem, 4vw, 4rem); align-items: center; padding-block: clamp(2.8rem,4.6vw,5rem); }
.studio-kicker, .work-row > span:first-child {
  font-family: "IBM Plex Mono", Consolas, ui-monospace, monospace; font-size: .78rem; font-weight: 550; letter-spacing: .09em; text-transform: uppercase;
}
.studio-kicker { display: flex; align-items: center; gap: .7rem; color: var(--blue); }
.studio-kicker i { width: 1.9rem; height: 2px; background: currentColor; }
.page-intro .studio-kicker, .studio-contact .studio-kicker { color: #a9c3ff; }
.studio-intro h1, .page-intro h1, .studio-section h2, .studio-contact h2, .project-copy h2 { font-weight: 540; letter-spacing: -.055em; text-wrap: balance; }
.studio-intro h1 { margin: 1.3rem 0 1.55rem; font-size: clamp(2.5rem,4.2vw,4.3rem); line-height: 1.05; }
.studio-intro h1 em { display: block; color: #1d4ed8; font: italic 1.05em/1.12 Baskervville, Georgia, serif; letter-spacing: -.045em; }
.studio-lead, .page-summary { max-width: 32rem; color: #c7d1e2; font-size: clamp(1.06rem,1.45vw,1.24rem); line-height: 1.65; }
.studio-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.studio-button { min-height: 3rem; padding: .85rem 1.25rem; font-size: .95rem; line-height: 1.3; }
.studio-button.primary { color: #0c1b3a; background: #b5c8ff; }
.studio-button.primary:hover { background: #d2deff; }
.studio-button.outline { color: #eef3ff; border: 1px solid #667187; }
.studio-button.outline:hover { background: #1a253a; border-color: #afc3ed; }
.studio-button.ink { color: white; background: var(--ink); }
.studio-section { padding-block: clamp(3.5rem,6.4vw,6.5rem); }
.studio-heading { display: flex; gap: 1.5rem; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(1.7rem,3vw,3rem); }
.studio-section h2, .studio-contact h2 { margin-top: .65rem; font-size: clamp(2.15rem,3.65vw,3.8rem); line-height: 1.12; color: var(--ink); }
.studio-link, .work-detail { color: var(--blue); font-size: .95rem; font-weight: 650; text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.studio-link:hover { text-decoration-thickness: 2px; }
.capabilities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,2vw,2rem); }
.capability { display: block; border: 1px solid var(--line); border-radius: .65rem; overflow: hidden; background: white; }
.capability:hover { border-color: #849bd4; box-shadow: 0 12px 38px #182a540e; transform: translateY(-3px); }
.cap-art { height: clamp(11rem,15.5vw,15rem); display: grid; place-items: center; overflow: hidden; position: relative; isolation: isolate; direction: ltr; }
.art-knowledge { background: radial-gradient(ellipse at 35% 20%,#e6edff,#b9c8ec); }
.doc-stack { position: relative; width: 7rem; height: 7.8rem; transform: rotateX(46deg) rotateZ(-35deg); transform-style: preserve-3d; }
.doc-sheet { position: absolute; inset: 0; padding: 1.05rem; border-radius: .3rem; border: 1px solid #eaf0ff; background: linear-gradient(135deg,#fafcff,#c1d2ff); box-shadow: 0 3px 0 #647fb7, 0 8px 12px #3b51884d; }
.doc-sheet:nth-child(1) { transform: translate3d(-1.2rem,1.3rem,-16px); }
.doc-sheet:nth-child(2) { transform: translate3d(-.6rem,.65rem,-8px); }
.doc-sheet b, .doc-sheet i { display: block; height: .25rem; margin: .5rem 0; border-radius: 2px; background: #8c9dc2; }
.doc-sheet b { width: 1.35rem; height: 1.35rem; margin-bottom: 1rem; background: #3f62bd; }
.doc-sheet i:last-child { width: 65%; }
.art-agents { background: radial-gradient(ellipse at 80% 10%,#516489,#1b2a4b); }
.flow-art { width: 10.2rem; height: 7.5rem; transform: rotate(-13deg) skewY(-5deg); position: relative; }
.flow-track { position: absolute; inset: 10% 20% 50%; border: 2px solid #b7ccff; border-radius: 10px; }
.flow-track.track-two { inset: 50% 20% 10%; }
.flow-art i, .flow-art b { position: absolute; width: 1.8rem; height: 1.8rem; background: linear-gradient(140deg,#f2f6ff,#9db7eb); border-radius: .28rem; box-shadow: 0 4px 0 #506a9c, 0 8px 12px #0d183757; }
.flow-art i:nth-of-type(1) { top: 0; left: 12%; }
.flow-art i:nth-of-type(2) { top: 0; right: 12%; }
.flow-art i:nth-of-type(3) { bottom: 0; left: 12%; }
.flow-art i:nth-of-type(4) { bottom: 0; right: 12%; }
.flow-art b { left: 39%; top: 33%; width: 2.5rem; height: 2.5rem; background: linear-gradient(130deg,#b3fcdf,#63d1aa); }
.art-signals { background: radial-gradient(ellipse at 55% 10%,#e5f6f0,#aed4cb); }
.signal-bars { height: 6.4rem; width: 64%; display: flex; gap: 1.8%; align-items: center; justify-content: center; transform: rotate(-9deg) skewY(-4deg); }
.signal-bars i { height: var(--height); flex: 1; background: linear-gradient(90deg,#276c66,#578f88 65%,#164d4e 65%); border-radius: 2px; box-shadow: 3px 9px 8px #476c6240; }
.cap-copy { padding: clamp(1.2rem,2vw,1.8rem); }
.cap-copy .studio-kicker, .work-row > span:first-child { font-size: .75rem; }
.cap-copy h3 { margin: .7rem 0; font-size: clamp(1.35rem,1.9vw,1.8rem); letter-spacing: -.04em; font-weight: 600; line-height: 1.15; }
.cap-copy > p:last-child, .academy-copy > p:not(.studio-kicker), .project-copy > p:not(.studio-kicker) { color: var(--muted); line-height: 1.65; }
.studio-work { background: var(--ice); }
.work-row { display: grid; grid-template-columns: minmax(8rem,1fr) 3fr auto; align-items: baseline; gap: 1.5rem; padding: 1.65rem .15rem; border-top: 1px solid #bfcade; }
.work-row:last-child { border-bottom: 1px solid #bfcade; }
.work-row:hover h3 { color: var(--blue); }
.work-row > span:first-child { color: var(--muted); }
.work-row h3 { font-size: clamp(1.4rem,2.6vw,2.45rem); font-weight: 520; line-height: 1.2; letter-spacing: -.045em; }
.academy { display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: .7rem; }
.academy-copy { padding: clamp(2rem,5vw,5rem); align-self: center; }
.academy-copy > p:not(.studio-kicker) { margin: 1.2rem 0 1.6rem; }
.academy-art { display: grid; place-items: center; padding: 2.8rem; background: repeating-linear-gradient(135deg, transparent 0 26px,#869bc332 26px 27px),linear-gradient(125deg,#ced9ef,#a4b8df); perspective: 50rem; }
.academy-art img { width: min(54%,12.2rem); height: auto; box-shadow: 1px 1px #bac1ce,3px 3px #f3f4f8,5px 5px #abb5c7,15px 20px 27px #344a7460; transform: rotateY(-13deg) rotateZ(7deg); }
.academy-art:hover img { transform: rotateY(-5deg) rotateZ(4deg); }
.studio-contact { padding-block: clamp(3.5rem,6vw,6rem) 2.7rem; }
.contact-grid { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.studio-contact h2 { color: white; max-width: 17ch; }
.studio-metrics { display: flex; flex-wrap: wrap; gap: 2rem 4rem; border-top: 1px solid #354055; margin-top: 2.7rem; padding-top: 1.5rem; }
.studio-metrics > div { display: flex; align-items: baseline; gap: .6rem; }
.studio-metrics strong { color: #d7e1ff; font-size: 1.45rem; font-weight: 550; }
.studio-metrics span { color: #bdc9e0; font-size: .9rem; }
.page-intro { position: relative; isolation: isolate; overflow: hidden; }
.page-intro::after { content: ""; position: absolute; z-index: -1; inset: 0 0 0 52%; background: url('/static/media/neural-form.webp') center / cover no-repeat; opacity: .65; mask-image: linear-gradient(to right,transparent,#000 35%); }
.page-intro-body { padding-block: clamp(3rem,5.7vw,5.6rem); }
.page-intro h1 { max-width: 70%; margin-block: .9rem 1.2rem; font-size: clamp(2.7rem,5.6vw,5rem); line-height: 1.06; }
.page-summary { max-width: min(57%,44rem); }
.project-entry { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); border-bottom: 1px solid var(--line); gap: clamp(1.5rem,5vw,5rem); padding-block: 2.2rem; align-items: center; }
.project-entry:first-child { padding-top: 0; }
.project-photo { aspect-ratio: 16/9; overflow: hidden; border-radius: .4rem; background: var(--ice); }
.project-photo img { width: 100%; height: 100%; object-fit: cover; }
.project-copy h2 { font-size: clamp(1.8rem,3.1vw,3rem); margin-bottom: .85rem; }
.project-result { margin-top: 1rem; font-weight: 600; border-inline-start: 2px solid #789af3; padding-inline-start: .7rem; }
.project-copy .studio-link { display: inline-block; margin-top: 1.3rem; }
[id] { scroll-margin-top: 5.5rem; }
footer h3 { color: var(--muted); letter-spacing: .1em; }
footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.service-card, .workshop-card { background-color: white; border-color: var(--line); border-radius: .65rem; }
body:is([data-page="contact"],[data-page="feedback"],[data-page="privacy"],[data-page="imprint"]) main h1 { font-size: clamp(2.7rem,5vw,4.5rem); line-height: 1.1; font-weight: 550; letter-spacing: -.045em; }
html[dir="rtl"] :is(.studio-kicker,.studio-intro h1,.studio-section h2,.studio-contact h2,.page-intro h1,.work-row h3,.cap-copy h3) { letter-spacing: normal; line-height: 1.4; }
html[dir="rtl"] .page-intro::after { inset: 0 52% 0 0; transform: scaleX(-1); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cap-art > div, .academy-art img { animation: art-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 44%; }
    @keyframes art-rise { from { translate: 0 1rem; } to { translate: 0 0; } }
  }
}
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .nav-mobile summary { display: grid; align-content: center; gap: 4px; width: 44px; height: 44px; justify-content: center; }
  .nav-mobile summary span { width: 21px; height: 2px; background: var(--ink); }
  .nav-mobile nav { inset-inline: 0; top: 100%; }
  .nav-mobile nav a { padding-inline: 1.5rem; }
  .studio-hero-grid { gap: 1.4rem; }
  .studio-intro h1 { font-size: clamp(2.3rem,4.8vw,3.45rem); }
}
@media (max-width: 720px) {
  .studio-wrap { width: calc(100% - 2.5rem); }
  .studio-hero-grid,.academy,.project-entry,.capabilities { grid-template-columns: 1fr; }
  .studio-hero-grid { padding-block: 2.6rem 1.4rem; gap: 1.8rem; }
  .studio-intro h1 { font-size: clamp(2.5rem,8.8vw,3.5rem); margin-block: 1.1rem; }
  .studio-actions { margin-top: 1.45rem; }
  .nav-line { min-height: 3.8rem; }
  .nav-brand img { width: 5.6rem; }
  .nav-tools { gap: .75rem; }
  .nav-contact { padding: .6rem .85rem; }
  .studio-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .cap-art { height: 11rem; }
  .work-row { grid-template-columns: 1fr auto; gap: .4rem 1rem; }
  .work-row > span:first-child { grid-column: 1 / -1; }
  .work-detail { align-self: center; font-size: .8rem; }
  .academy-art { min-height: 14rem; }
  .academy-art img { width: 8.5rem; }
  .contact-grid { align-items: flex-start; flex-direction: column; }
  .studio-metrics { gap: 1rem 1.6rem; }
  .page-intro::after { opacity: .18; }
  .page-summary,.page-intro h1 { max-width: 100%; }
  .project-entry { gap: 1rem; }
}
@media (max-width: 400px) {
  .studio-wrap { width: calc(100% - 2rem); }
  .studio-button { padding-inline: .85rem; font-size: .875rem; }
  .studio-actions { gap: .5rem; }
  .work-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .capability:hover, .academy-art:hover img { translate: none; }
}

/* Module preview */
.module-section { padding-bottom: 0; }
.module-intro { max-width: 27rem; color: var(--muted); line-height: 1.6; }
.module-switch { display: flex; gap: .45rem; min-width: 0; overflow-x: auto; padding: .3rem; scrollbar-width: thin; }
.module-controls[hidden], .solar-stage canvas[hidden] { display: none; }
.module-switch button { display: inline-flex; align-items: center; gap: .65rem; padding: .75rem 1.15rem; min-height: 44px; border: 1px solid var(--line); border-radius: .35rem; font-size: 1rem; color: #37465f; }
.module-switch button[aria-selected="true"] { background: var(--ink); color: white; border-color: var(--ink); }

.module-mark { width: .85rem; height: .85rem; background: #688dff; }
.mark-crm { border-radius: 50% 50% 0 50%; }
.mark-finance { background: #d69a44; transform: rotate(45deg) scale(.78); }
.mark-hr { border-radius: 50%; background: #50aa8d; }
.module-panel { --tint: #e8f1fc; --accent: #1d4ed8; display: grid; grid-template-columns: 1fr 1.1fr; background: var(--tint); overflow: hidden; border-radius: .65rem; }
.module-crm { --tint: #e8f1fc; --accent: #1d4ed8; }
.module-finance { --tint: #e6f2f6; --accent: #0e5d72; }
.module-hr { --tint: #e8f3ec; --accent: #22603f; }
.module-panel + .module-panel:not([hidden]) { margin-top: 1rem; }
.module-deck.is-sliding .module-panel { margin: 0; }
.module-copy { padding: clamp(1.5rem,4vw,3.8rem); align-self: center; }
.module-copy { color: var(--ink); }
.module-copy .studio-kicker,.module-copy .studio-link { color: var(--accent); }
.module-copy h3 { color: var(--ink); font-size: clamp(1.85rem,3.1vw,3.15rem); letter-spacing: -.045em; line-height: 1.09; font-weight: 540; text-wrap: balance; margin: .9rem 0 1rem; }
.module-copy > p:not(.studio-kicker) { color: #334155; line-height: 1.65; }
.module-copy ul { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: 1.3rem 1.7rem; }
.module-copy li { border: 1px solid color-mix(in srgb,var(--accent) 25%,transparent); border-radius: 1rem; padding: .25rem .65rem; color: var(--accent); font-size: .85rem; }
.module-image { position: relative; min-height: 20rem; }
.module-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html[dir="rtl"] .module-copy h3 { letter-spacing: 0; line-height: 1.4; }
@media (max-width: 720px) {
  .module-panel { grid-template-columns: 1fr; }
  .module-image { min-height: 0; aspect-ratio: 16/9; grid-row: 1; }
  .module-switch button { padding-inline: .85rem; }
}

.services-layout,.about-team { display: grid; grid-template-columns: minmax(13rem,.7fr) minmax(0,1.3fr); gap: clamp(2rem,6vw,6rem); }
.services-index { align-self: start; position: sticky; top: 6rem; }
.services-index h2,.about-team h2 { margin-top: 0; }
.service-filters { margin-top: 1.5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.service-filters[hidden] { display: none; }
.service-filters button { border: 1px solid var(--line); border-radius: 2rem; padding: .6rem 1rem; font-size: .9rem; }
.service-filters button[aria-pressed="true"] { color: white; background: var(--ink); border-color: var(--ink); }
.service-directory article,.values-list article { border-top: 1px solid var(--line); padding: 1.5rem 0; }
.service-directory article:target { border-color: var(--blue); }
.service-directory h3,.values-list h3 { font-size: clamp(1.4rem,2.3vw,2.1rem); letter-spacing: -.04em; line-height: 1.2; margin: .45rem 0; font-weight: 550; }
.service-directory article > p:last-child,.about-team p:not(.studio-kicker),.story-list article > div > p { color: var(--muted); margin: .7rem 0; line-height: 1.7; }
.about-team .studio-button { margin-top: 1rem; }
.story-list article { display: grid; grid-template-columns: .6fr 1.8fr 1fr; gap: clamp(1rem,3vw,3rem); align-items: start; border-top: 1px solid var(--line); padding-block: 2rem; }
.story-list article h2 { margin: 0; font-size: clamp(1.65rem,2.65vw,2.65rem); }
.story-list blockquote { border-inline-start: 2px solid #92a9fa; padding-inline-start: 1rem; color: #264586; font-size: 1.15rem; line-height: 1.5; }
.story-list .studio-button { margin-top: 1.5rem; }
body[data-page="contact"] .page-intro::after,body[data-page="services"] .page-intro::after { background-image: url('/static/media/module-crm.webp'); }
body[data-page="workshops"] .page-intro::after,body[data-page="about"] .page-intro::after { background-image: url('/static/media/module-hr.webp'); }
body[data-page="success_stories"] .page-intro::after { background-image: url('/static/media/module-finance.webp'); }
html[dir="rtl"] .page-intro::after { transform: none; mask-image: linear-gradient(to left,transparent,#000 35%); }
body[data-page="workshops"] :is(.workshop-card,#catalog .catalog-stage) { background: #f1f5fc; border-radius: .65rem; }
body[data-page="workshops"] #catalog { background: #e7edf8; }
@media (max-width: 720px) {
  .story-list article,.services-layout,.about-team { grid-template-columns: 1fr; }
  .services-index { position: static; }
}

/* Daylight sky: landing hero and sub-page intros share one light, airy theme
   with dark navy text so everything stays readable while scrolling. */
:root { color-scheme: light; }
.studio-hero, .page-intro {
  position: relative; isolation: isolate; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(ellipse 38% 22% at 12% 78%, #ffffffb3, transparent 70%),
    radial-gradient(ellipse 30% 16% at 86% 18%, #ffffff99, transparent 70%),
    radial-gradient(ellipse 26% 14% at 44% 8%, #ffffff80, transparent 70%),
    linear-gradient(180deg, #b9d8f6 0%, #d4e8fb 40%, #ecf5fe 78%, #f8fbff 100%);
  border-bottom: 1px solid #d6e4f2;
}
.studio-hero-grid { position: relative; z-index: 1; }
.studio-hero .studio-kicker, .page-intro .studio-kicker { color: #1847b8; }
.studio-hero .studio-lead, .page-intro .page-summary { color: #31425c; font-size: clamp(1.05rem,1.3vw,1.18rem); }
.studio-hero .studio-button.primary, .page-intro .studio-button.primary, body[data-page="home"] .nav-contact { color: #fff; background: var(--ink); }
.studio-hero .studio-button.primary:hover, .page-intro .studio-button.primary:hover, body[data-page="home"] .nav-contact:hover { background: #1d3561; }
.studio-hero .studio-button.outline, .page-intro .studio-button.outline { color: var(--ink); border-color: #7d8ea8; background: #ffffff66; }
.studio-hero .studio-button.outline:hover, .page-intro .studio-button.outline:hover { background: #ffffffcc; border-color: #4a5d7c; }
.page-intro::after { opacity: .2; mix-blend-mode: multiply; }
.solar-figure { margin: 0; min-width: 0; }
.solar-stage { position: relative; aspect-ratio: 1.45; background: transparent; border: 0; outline: 0; touch-action: pan-y; }
.solar-stage img, .solar-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.solar-stage canvas { cursor: grab; }
.solar-stage canvas:active { cursor: grabbing; }
.solar-stage img[hidden] { display: none; }
/* The fallback poster has a dark space backdrop: show only the globe. */
.solar-stage img { -webkit-mask-image: radial-gradient(ellipse 25.6% 37.1% at 58% 52.7%, #000 97%, transparent 100%); mask-image: radial-gradient(ellipse 25.6% 37.1% at 58% 52.7%, #000 97%, transparent 100%); }
.solar-stage:focus-visible { outline: 2px solid #1d4ed880; outline-offset: 4px; border-radius: .5rem; }

/* Satellites and a rocket drift across the full hero width, come and go. */
.hero-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
html[dir="rtl"] .hero-sky { transform: scaleX(-1); }
@media (max-width: 720px) {
  .solar-stage { aspect-ratio: 1.38; }
  .studio-hero-grid { padding-bottom: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
}

/* Module controls */
.module-controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: -.3rem 0 1.2rem; }
.module-switch button { white-space: nowrap; flex-shrink: 0; }
.module-switch button:hover { border-color: #8aa3cf; }
.module-auto { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 44px; color: var(--muted); font-size: .875rem; }
.auto-icon { width: 0; height: 0; border: 5px solid transparent; border-inline-start: 8px solid currentColor; border-inline-end: 0; }
.module-auto[data-running="true"] .auto-icon { width: 8px; height: 10px; border: solid currentColor; border-width: 0 2px; }
.module-deck.is-sliding { display: grid; overflow: hidden; isolation: isolate; border-radius: .65rem; }
.is-sliding .module-panel { grid-area: 1/1; min-width: 0; visibility: hidden; border-radius: 0; }
.is-sliding .module-panel[aria-hidden="false"] { visibility: visible; }
.mark-automation { background: #6366f1; border-radius: 2px; transform: skew(-15deg); }
.mark-integrations { background: #14a3a0; border-radius: 45% 0; }
.mark-websites { background: #8b6cf0; border-radius: 2px; height: .64rem; }
.module-automation { --tint: #ecedfb; --accent: #4338ca; }
.module-integrations { --tint: #e5f3f3; --accent: #0f6460; }
.module-websites { --tint: #efecfa; --accent: #5b3fa8; }
html[dir="rtl"] .studio-intro h1 em { font: inherit; letter-spacing: 0; }
@media (max-width: 1050px) {
  .module-controls { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .module-switch { max-width: 100%; }
  .module-auto { align-self: flex-end; }
}
@media (max-width: 720px) { .module-controls { margin-bottom: .45rem; } }
.privacy-binding-note { margin: 0 0 1.75rem; padding: .85rem 1rem; border-inline-start: 3px solid #1d4ed8; background: #e8f1fc; color: #0b1b36; border-radius: .35rem; font-size: .95rem; line-height: 1.6; }
html[dir="rtl"] :is(.studio-kicker,.work-row > span:first-child) { font-family: inherit; font-size: .9rem; text-transform: none; }

/* Explorable globe (explore.js): cross-fades from the illustrated scene to a real map. */
.solar-figure { position: relative; }
.solar-stage { transition: opacity .5s ease; }
.solar-figure > .globe-map { position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none; border-radius: 1rem; overflow: hidden; transition: opacity .7s ease; background: transparent; }
.is-exploring .globe-map { opacity: 1; pointer-events: auto; }
.is-exploring .solar-stage { opacity: 0; pointer-events: none; }
.globe-ui { position: absolute; z-index: 3; inset-inline-start: 0; bottom: .2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; max-width: 100%; pointer-events: none; }
.globe-ui > * { pointer-events: auto; }
.is-exploring .globe-ui { top: .6rem; bottom: auto; inset-inline-start: .6rem; }
.globe-button { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem .95rem; border: 1px solid #9fb6d8; border-radius: 999px; background: #ffffffd9; color: var(--ink); font-size: .875rem; font-weight: 600; box-shadow: 0 6px 18px #1b345a1f; backdrop-filter: blur(6px); }
.globe-button:hover { background: #fff; border-color: #4a6fb0; }
.globe-button[hidden] { display: none; }
.globe-button svg { width: 1.05rem; height: 1.05rem; flex: none; }
html[dir="rtl"] .globe-button [data-globe-close] svg, html[dir="rtl"] [data-globe-close] svg { transform: scaleX(-1); }
.is-loading [data-globe-open] { opacity: .75; cursor: progress; }
.globe-status { margin: 0; color: #31425c; font-size: .8rem; }
.globe-status:empty { display: none; }
.is-exploring .globe-status { padding: .3rem .65rem; border-radius: 999px; background: #0b1b36cc; color: #fff; }
.globe-hq { display: flex; align-items: center; gap: .4rem; padding: 0; border: 0; background: none; cursor: pointer; direction: ltr; }
.globe-hq i { width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: #e2553b; animation: hq-pulse 2s ease-out infinite; }
.globe-hq span { padding: .2rem .55rem; border-radius: 999px; background: #0b1b36e6; color: #fff; font-size: .75rem; font-weight: 600; white-space: nowrap; unicode-bidi: plaintext; }
@keyframes hq-pulse { 0% { box-shadow: 0 0 0 0 #e2553b99; } 70% { box-shadow: 0 0 0 14px #e2553b00; } 100% { box-shadow: 0 0 0 0 #e2553b00; } }
.globe-popup { display: grid; gap: .2rem; color: var(--ink); font: 400 .85rem/1.45 Inter, "Segoe UI", Arial, sans-serif; }
.globe-popup strong { font-size: .95rem; }
.globe-popup small { color: #64748b; font-size: .75rem; }
.globe-map .maplibregl-popup-content { padding: .7rem 1.6rem .7rem .85rem; border-radius: .6rem; box-shadow: 0 10px 28px #0b1b3633; }
.globe-map .maplibregl-ctrl-attrib { font-size: .68rem; }
.solar-figure:fullscreen { display: grid; place-items: stretch; padding: 0; background: linear-gradient(180deg,#b9d8f6,#eef6fd); }
.solar-figure:fullscreen .solar-stage { aspect-ratio: auto; height: 100%; }
.solar-figure:fullscreen .globe-map { border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .globe-hq i { animation: none; } .globe-map, .solar-stage { transition: none; } }
/* Soft edges: the map fades into the sky instead of ending in a hard box. */
.solar-figure > .globe-map .maplibregl-canvas-container {
  position: absolute; inset: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}
.solar-figure:fullscreen > .globe-map .maplibregl-canvas-container { -webkit-mask-image: none; mask-image: none; }
.globe-map .maplibregl-ctrl-top-right { margin-top: .4rem; margin-inline-end: .4rem; }
.globe-map .maplibregl-ctrl-bottom-right { margin-bottom: .5rem; margin-right: .6rem; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; max-width: 68rem; margin-inline: auto; }
.contact-body :is(.contact-card, .contact-form) h2 { margin: 0; font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; overflow-wrap: anywhere; }
.contact-card { position: relative; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 1rem; color: #e6eefc; background: radial-gradient(ellipse 80% 60% at 100% 0%, #24427e 0%, transparent 70%), linear-gradient(160deg, #10234a, #0b1b36); box-shadow: 0 18px 40px #0b1b3626; }
.contact-body .contact-card h2 { color: #fff; }
.contact-card-lead { margin: .75rem 0 1.6rem; color: #b9c8e4; line-height: 1.6; font-size: .95rem; }
.contact-list { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.contact-list li > span:last-child { display: grid; min-width: 0; }
.contact-list small { color: #8fa6cf; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
html[dir="rtl"] .contact-list small { letter-spacing: 0; text-transform: none; font-size: .8rem; }
.contact-list a, .contact-list li > span:last-child > span { color: #fff; font-size: .98rem; font-weight: 500; overflow-wrap: anywhere; }
html[dir="rtl"] .contact-list a { text-align: right; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: .2em; }
.contact-icon { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #ffffff14; color: #9cc0ff; border: 1px solid #ffffff1f; }
.contact-icon svg { width: 1.2rem; height: 1.2rem; }
.contact-social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; padding-top: 1.4rem; border-top: 1px solid #ffffff1f; }
.contact-social a { display: inline-flex; align-items: center; gap: .3rem; min-height: 2.25rem; padding: .35rem .85rem; border-radius: 999px; border: 1px solid #ffffff33; color: #fff; font-size: .85rem; font-weight: 600; }
.contact-social a:hover { background: #ffffff1a; border-color: #ffffff66; }
.contact-social svg { width: .95rem; height: .95rem; }
html[dir="rtl"] .contact-social svg { transform: scaleX(-1); }
.contact-form { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: 1rem; background: #fff; box-shadow: 0 18px 40px #1b345a0f; }
.contact-body .contact-form h2 { color: var(--ink); margin-bottom: .2rem; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-field { display: grid; gap: .4rem; min-width: 0; }
.contact-field label { color: var(--ink); font-size: .875rem; font-weight: 600; }
.contact-optional { color: var(--muted); font-weight: 400; }
.contact-field :is(input, textarea) { width: 100%; padding: .75rem .9rem; border: 1px solid #c6d3e6; border-radius: .6rem; background: #f8fbff; color: var(--ink); font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s, background .15s; }
.contact-field textarea { resize: vertical; min-height: 9rem; line-height: 1.55; }
.contact-field :is(input, textarea):hover { border-color: #9fb6d8; }
.contact-field :is(input, textarea):focus { outline: none; border-color: #1d4ed8; background: #fff; box-shadow: 0 0 0 3px #1d4ed829; }
html[dir="rtl"] .contact-field input[dir="ltr"] { text-align: right; }
.contact-submit { justify-self: start; gap: .55rem; padding-inline: 1.5rem; color: #fff; background: var(--ink); border: 0; cursor: pointer; }
.contact-submit:hover { background: #1d3561; }
.contact-submit svg { width: 1.1rem; height: 1.1rem; }
html[dir="rtl"] .contact-submit svg { transform: scaleX(-1); }
.contact-note { margin: -.2rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.contact-note a { color: var(--blue); text-decoration: underline; text-underline-offset: .15em; }
.contact-success { display: flex; align-items: center; gap: .6rem; max-width: 68rem; margin: 0 auto 1.5rem; padding: .9rem 1.1rem; border: 1px solid #86d3b0; border-radius: .75rem; background: #ecfaf3; color: #14573a; font-weight: 500; }
.contact-success svg { flex: none; width: 1.3rem; height: 1.3rem; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-row { grid-template-columns: 1fr; } .contact-submit { justify-self: stretch; } }

/* Realistic rocket launch (sky.js moves it and draws the exhaust plume on .sky-smoke). */
.sky-smoke { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sky-rocket { position: absolute; left: 0; top: 0; width: clamp(14px, 1.15vw, 19px); aspect-ratio: 40 / 360; opacity: 0; will-change: transform; filter: drop-shadow(0 4px 6px #1b345a40); }
.rocket-body { display: block; width: 100%; height: 100%; }
.rocket-flame { position: absolute; left: 50%; top: 98%; width: 160%; height: 70%; translate: -50% 0; pointer-events: none; }
.rocket-flame i { position: absolute; left: 50%; top: 0; translate: -50% 0; border-radius: 50% 50% 50% 50% / 18% 18% 82% 82%; transform-origin: 50% 0; animation: flame-flicker .09s ease-in-out infinite alternate; }
.rocket-flame i:nth-child(1) { width: 100%; height: 100%; background: radial-gradient(ellipse 50% 60% at 50% 18%, #ffcf7acc, #ff7b2a99 55%, #ff4d1a00 100%); filter: blur(2px); }
.rocket-flame i:nth-child(2) { width: 62%; height: 72%; background: radial-gradient(ellipse 50% 60% at 50% 14%, #fff6d8, #ffc04d 50%, #ff8a2a00 100%); animation-duration: .07s; }
.rocket-flame i:nth-child(3) { width: 32%; height: 38%; background: radial-gradient(ellipse 50% 60% at 50% 10%, #ffffff, #fff2c2 60%, #ffe08000 100%); animation-duration: .05s; }
@keyframes flame-flicker { from { transform: scaleY(.9) scaleX(1.04); opacity: .92; } to { transform: scaleY(1.12) scaleX(.96); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sky-rocket, .sky-smoke { display: none; } }

/* Real satellites (orbit.js) */
.solar-stage canvas.solar-sats { pointer-events: none; cursor: default; }
.sat-legend { position: absolute; z-index: 3; inset-inline-end: .2rem; bottom: .55rem; display: flex; align-items: center; gap: .4rem; margin: 0; color: #31425c; font-size: .75rem; }
.sat-legend[hidden], .is-exploring .sat-legend { display: none; }
.sat-legend i { width: .55rem; height: .55rem; border-radius: 50%; background: #d99a1e; box-shadow: 0 0 0 3px #d99a1e33; }
@media (max-width: 560px) { .sat-legend { bottom: auto; top: 0; font-size: .7rem; } }
