/*
Theme Name: VelaWeb
Theme URI: https://paolocappelletti.com/
Author: Paolo Cappelletti
Author URI: https://paolocappelletti.com/
Description: Tema custom per il sito professionale VelaWeb, con homepage commerciale e blog nativo.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: velaweb
*/

@font-face {
  font-family: "IBM Plex Sans";
  src: url("risorse/fonti/ibm-plex-sans-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("risorse/fonti/ibm-plex-sans-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("risorse/fonti/source-serif-4-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("risorse/fonti/source-serif-4-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --color-navy: #2e4067;
  --color-blue: #496188;
  --color-yellow: #f2db3c;
  --color-ivory: #f7f8fa;
  --color-white: #ffffff;
  --color-ink: #1d2436;
  --color-muted-ink: #5a6478;
  --content-width: 76rem;
  --radius-small: .75rem;
  --radius-large: 1.75rem;
  --background: var(--color-white);
  --foreground: var(--color-ink);
  --card: var(--color-white);
  --card-foreground: var(--color-ink);
  --popover: var(--color-white);
  --popover-foreground: var(--color-ink);
  --primary: var(--color-navy);
  --primary-foreground: var(--color-white);
  --secondary: var(--color-ivory);
  --secondary-foreground: var(--color-ink);
  --muted: var(--color-ivory);
  --muted-foreground: var(--color-muted-ink);
  --accent: var(--color-ivory);
  --accent-foreground: var(--color-navy);
  --destructive: #b5333a;
  --border: #dfe3ea;
  --input: var(--border);
  --ring: var(--color-blue);
  --chart-1: var(--color-navy);
  --chart-2: var(--color-blue);
  --chart-3: var(--color-yellow);
  --chart-4: #879ab5;
  --chart-5: #b6c3d3;
  --sidebar: var(--color-white);
  --sidebar-foreground: var(--color-ink);
  --sidebar-primary: var(--color-navy);
  --sidebar-primary-foreground: var(--color-white);
  --sidebar-accent: var(--color-ivory);
  --sidebar-accent-foreground: var(--color-navy);
  --sidebar-border: var(--border);
  --sidebar-ring: var(--color-blue);
  --radius: var(--radius-small);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { color-scheme: light; }
body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
section { scroll-margin-top: 6.5rem; }
:focus-visible { outline: .2rem solid var(--color-yellow); outline-offset: .2rem; box-shadow: 0 0 0 .4rem var(--color-navy); }
::selection { color: var(--color-navy); background: var(--color-yellow); }

.site-container { width: min(calc(100% - 3rem), var(--content-width)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; background: var(--color-yellow); color: var(--color-navy); font-weight: 700; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: .75rem; z-index: 50; width: min(calc(100% - 3rem), var(--content-width)); margin: .75rem auto 0; border: 1px solid rgba(255,255,255,.8); border-radius: 2.5rem; background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(18px) saturate(1.45); backdrop-filter: blur(18px) saturate(1.45); box-shadow: 0 .9rem 2.75rem rgba(29,36,54,.15); }
body.home .site-header { position: fixed; left: 50%; margin: 0; transform: translateX(-50%); }
body.home .site-header[data-over-hero="true"] { background: rgba(255,255,255,.34); }
.site-header[data-over-hero="false"] .site-logo__studio { color: var(--foreground); }
.site-header__inner { width: 100%; min-height: 4.75rem; margin-inline: 0; padding-inline: clamp(1.25rem, 2.4vw, 2rem); display: flex; align-items: center; gap: 2rem; }
.site-logo { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; flex: none; min-width: 0; min-height: 2.75rem; text-decoration: none; }
.site-logo__mark { width: 2.75rem; height: 2.75rem; flex: none; border-radius: .7rem; object-fit: cover; }
.site-logo__text { display: inline-flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; }
.site-logo__name { color: var(--color-navy); font-family: "Source Serif 4", Georgia, serif; font-size: 1.25rem; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
.site-logo__studio { margin-top: .3rem; color: var(--color-blue); font-size: .65rem; font-weight: 600; line-height: 1.15; letter-spacing: .015em; white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); margin-left: auto; }
.site-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--color-navy); white-space: nowrap; }
.site-nav a:hover { color: var(--color-blue); }
.site-nav__mobile-contact { display: none !important; }
.header-contact { display: inline-flex; align-items: center; min-height: 2.75rem; margin-left: .5rem; padding: .68rem 1.2rem; border: 1px solid var(--color-yellow); border-radius: 999px; background: var(--color-yellow); color: var(--color-navy); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.header-contact:hover { background: rgba(255,255,255,.9); border-color: var(--color-navy); }
.menu-toggle { display: none; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; border: 1px solid rgba(46,64,103,.32); border-radius: 50%; background: rgba(255,255,255,.5); color: var(--color-navy); cursor: pointer; }
.menu-toggle__bars { width: 1.15rem; height: .8rem; display: flex; flex-direction: column; justify-content: space-between; }
.menu-toggle__bars::before, .menu-toggle__bars::after, .menu-toggle__bars span { content: ""; display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; }
.theme-toggle { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; flex: none; padding: 0; border: 1px solid rgba(46,64,103,.32); border-radius: 50%; background: rgba(255,255,255,.58); color: var(--color-navy); box-shadow: 0 .35rem 1rem rgba(46,64,103,.09), inset 0 1px 0 rgba(255,255,255,.82); cursor: pointer; transition: transform .22s ease, background-color .25s ease, border-color .25s ease, box-shadow .3s ease; }
.theme-toggle::before { content: ""; position: absolute; z-index: -1; inset: -.8rem; border-radius: 50%; background: radial-gradient(circle, rgba(242,219,60,.34), rgba(242,219,60,.12) 42%, transparent 72%); opacity: .66; transform: scale(1); filter: blur(.08rem); pointer-events: none; transition: opacity .3s ease, transform .38s cubic-bezier(.22,1,.36,1); }
.theme-toggle:hover { transform: translateY(-.1rem); border-color: rgba(46,64,103,.48); background: rgba(255,255,255,.94); }
.theme-toggle:hover::before { opacity: .88; transform: scale(1.08); }
.theme-toggle:active { transform: translateY(0) scale(.96); }
.theme-toggle__monitor { display: block; overflow: visible; }
.theme-toggle__monitor-frame, .theme-toggle__monitor-stand { fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle__monitor-screen { fill: var(--color-yellow); transform-box: fill-box; transform-origin: center; transform: scaleY(1); filter: drop-shadow(0 0 .28rem rgba(242,219,60,.7)); transition: transform .32s cubic-bezier(.34,1.56,.64,1), fill .24s ease, opacity .24s ease, filter .3s ease; }
.theme-toggle__monitor-circuit { fill: none; stroke: var(--color-navy); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; opacity: .95; transition: opacity .16s ease .12s; }
.theme-toggle__monitor-node { fill: var(--color-navy); opacity: .95; transition: opacity .16s ease .12s; }
.theme-toggle__monitor-led { fill: #d6bc10; filter: drop-shadow(0 0 .18rem rgba(242,219,60,.78)); transition: fill .2s ease, filter .2s ease; }
.theme-toggle[data-monitor-state="off"]::before { opacity: 0; transform: scale(.72); }
.theme-toggle[data-monitor-state="off"] .theme-toggle__monitor-screen { fill: #aebbd0; opacity: .64; transform: scaleY(.09); filter: none; transition-timing-function: cubic-bezier(.4,0,1,1); }
.theme-toggle[data-monitor-state="off"] .theme-toggle__monitor-circuit, .theme-toggle[data-monitor-state="off"] .theme-toggle__monitor-node { opacity: 0; transition-delay: 0s; }
.theme-toggle[data-monitor-state="off"] .theme-toggle__monitor-led { fill: #657590; filter: none; }
.theme-toggle[data-monitor-state="off"]:hover .theme-toggle__monitor-screen { opacity: .9; transform: scaleY(.16); }

.hero-scene { position: relative; isolation: isolate; overflow: hidden; background: var(--background); }
.hero-scene .hero { isolation: auto; background: transparent; }
.hero-scene .solutions-section > .site-container { position: relative; z-index: 2; }
.hero { --hero-header-space: 5.75rem; --hero-fade-height: clamp(7rem, 11vw, 10rem); position: relative; isolation: isolate; overflow: hidden; background: var(--background); color: #edf2f8; }
.hero__inner { position: relative; z-index: 2; min-height: clamp(calc(43rem + var(--hero-header-space)), 100svh, calc(56rem + var(--hero-header-space))); display: flex; align-items: center; padding-block: calc(clamp(4.5rem, 8vw, 8rem) + var(--hero-header-space)) clamp(4.5rem, 8vw, 8rem); }
.hero__copy { position: relative; width: min(58%, 44rem); text-shadow: 0 2px 18px rgba(0,0,0,.38); }
.hero__eyebrow { margin: 0 0 2rem; color: #b8c9dd; font-size: .9rem; font-weight: 750; letter-spacing: .01em; }
.hero h1 { margin: 0; max-width: none; color: #f6f8fb; font-size: clamp(2.4rem, 4.1vw, 3.2rem); font-weight: 600; line-height: 1.02; letter-spacing: -.025em; }
.hero__title-line { display: block; text-wrap: balance; }
.hero__subtitle { max-width: 37rem; margin: 1.2rem 0 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; line-height: 1.5; }
.hero__description { max-width: 37rem; margin: 1.8rem 0 0; color: #d9e2ee; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.25rem; }
.hero__primary { display: inline-flex; justify-content: center; align-items: center; min-height: 3.35rem; padding: .8rem 1.4rem; border-radius: var(--radius-small); background: var(--color-yellow); color: var(--color-navy); font-size: 1rem; font-weight: 800; text-decoration: none; }
.hero__primary:hover { background: #e7cf2f; }
.hero__secondary { display: inline-flex; align-items: center; min-height: 2.75rem; color: #edf2f8; font-weight: 750; text-underline-offset: .35rem; text-decoration-thickness: .08rem; }
.hero__proof { max-width: 37rem; margin: 2.9rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(189,198,209,.45); color: #b7c2d1; font-size: .88rem; font-weight: 650; line-height: 1.8; }
.hero__universe { --hero-sun-x: 76%; --hero-sun-y: 58%; position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 72% 53%, #111a21 0, #071015 38%, #03090d 78%); -webkit-mask-image: linear-gradient(to top, transparent, rgba(0,0,0,.12) calc(var(--hero-fade-height) * .2), rgba(0,0,0,.5) calc(var(--hero-fade-height) * .5), rgba(0,0,0,.9) calc(var(--hero-fade-height) * .8), #000 var(--hero-fade-height)); mask-image: linear-gradient(to top, transparent, rgba(0,0,0,.12) calc(var(--hero-fade-height) * .2), rgba(0,0,0,.5) calc(var(--hero-fade-height) * .5), rgba(0,0,0,.9) calc(var(--hero-fade-height) * .8), #000 var(--hero-fade-height)); }
.hero__universe::after { content: ""; position: absolute; z-index: 3; inset: 0; background: linear-gradient(90deg, rgba(3,9,14,.3), rgba(3,9,14,.12) 46%, transparent 67%); }
.hero-orbit__canvas { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; }
.hero-orbit__core { position: absolute; z-index: 2; left: var(--hero-sun-x); top: var(--hero-sun-y); width: clamp(9rem, 13.2vw, 12rem); aspect-ratio: 1; border-radius: 50%; opacity: var(--hero-core-opacity, 1); transform: translate(calc(-50% + var(--hero-core-offset-x, 0px)), calc(-50% + var(--hero-core-offset-y, 0px))) scale(var(--hero-core-scale, 1)); animation: hero-core-pulse 7s ease-in-out infinite; }
.hero-orbit__core::before, .hero-orbit__core::after { content: ""; position: absolute; inset: 0; border-radius: inherit; transition: opacity .55s ease; }
.hero-orbit__core::before { border: 1px solid rgba(255,235,184,.5); background: radial-gradient(circle at 44% 41%, #faf7dc 0, #f6f2cf 57%, #f5e6ae 86%, #e6b768 100%); box-shadow: 0 0 1.5rem rgba(255,208,108,.44), 0 0 4.5rem rgba(239,170,58,.3), 0 0 9rem rgba(224,153,58,.14); opacity: 1; }
.hero-orbit__core::after { border: 1px solid rgba(230,238,250,.46); background: #c6cdd5 url("risorse/immagini/luna-superficie.svg") center / cover; box-shadow: 0 0 1rem rgba(196,219,248,.24), 0 0 3.5rem rgba(113,162,219,.18), 0 0 7rem rgba(94,137,196,.1); opacity: 0; }
.hero-orbit[data-motion-state="static"] .hero-orbit__core { animation-play-state: paused; }
.hero__local { position: absolute; right: 0; bottom: 2.1rem; margin: 0; color: var(--muted-foreground); font-size: .79rem; font-weight: 600; line-height: 1.35; }

@keyframes hero-core-pulse {
  0%, 100% { filter: brightness(.985); }
  50% { filter: brightness(1.025); }
}

.commercial-section { padding-block: clamp(4.5rem, 8vw, 8rem); }
.section-heading { max-width: 47rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-heading h2, .ai-section h2, .profile-section h2, .local-section h2 { margin: 0; color: var(--color-navy); font-size: clamp(2.3rem, 4vw, 4rem); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.section-heading p { margin: 1.25rem 0 0; max-width: 42rem; font-size: 1.1rem; }
.solutions-grid { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 0; padding: 1.5rem clamp(.75rem, 2vw, 1.5rem) 5rem; perspective: 80rem; }
.solution-card { --card-x: 0%; --card-y: 0rem; --card-rotation: 0deg; --card-layer: 1; position: relative; z-index: var(--card-layer); display: flex; flex-direction: column; min-height: 19rem; padding: clamp(1.5rem, 2.5vw, 2.5rem); border: 1px solid var(--border); border-radius: 1.25rem 1.25rem .35rem 1.25rem; background: var(--color-white); box-shadow: 0 1.25rem 3rem rgba(29,36,54,.09); transform: translate3d(var(--card-x), var(--card-y), 0) rotate(var(--card-rotation)); transform-origin: center 70%; transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s ease, background-color .25s ease, border-color .25s ease, color .25s ease; will-change: transform; }
.solution-card::before { content: ""; width: 3.5rem; height: .25rem; margin-bottom: 2.4rem; background: var(--color-yellow); }
.solution-card:nth-child(1) { --card-x: 10%; --card-y: 2rem; --card-rotation: -4deg; --card-layer: 1; }
.solution-card:nth-child(2) { --card-x: 0%; --card-y: 0rem; --card-rotation: 0deg; --card-layer: 3; }
.solution-card:nth-child(3) { --card-x: -10%; --card-y: 2rem; --card-rotation: 4deg; --card-layer: 2; }
.solution-card:hover, .solution-card:focus-within { z-index: 10; background: var(--color-navy); border-color: var(--color-navy); color: var(--color-white); transform: translate3d(var(--card-x), calc(var(--card-y) - 1.75rem), 0) rotate(0deg) scale(1.045); box-shadow: 0 2rem 4rem rgba(29,36,54,.2); }
.solution-card h3 { margin: 0; color: var(--color-navy); font-size: clamp(1.75rem, 2.4vw, 2.45rem); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; }
.solution-card p { margin: 1.3rem 0 2rem; }
.solution-card a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: auto; align-self: flex-start; border-bottom: 1px solid currentColor; color: var(--color-navy); font-weight: 600; text-decoration: none; }
.solution-card:hover h3, .solution-card:hover a, .solution-card:focus-within h3, .solution-card:focus-within a { color: var(--color-white); }
.results-section { background: var(--color-ivory); }
.results-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 7vw, 8rem); }
.results-list { border-top: 1px solid #b8c2d2; }
.result-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1.5rem; padding-block: 1.5rem; border-bottom: 1px solid #b8c2d2; }
.result-row h3 { margin: 0; color: var(--color-navy); font-size: 1.2rem; line-height: 1.35; }
.result-row p { margin: 0; }
.method-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: method; }
.method-list li { padding: 1.3rem 1rem 1rem 0; border-top: .25rem solid var(--color-blue); counter-increment: method; }
.method-list li::before { content: counter(method, decimal-leading-zero); display: block; margin-bottom: 2rem; color: var(--color-blue); font-size: 1rem; font-weight: 750; }
.method-list h3 { margin: 0 0 .8rem; color: var(--color-navy); font-size: 1.25rem; line-height: 1.25; }
.method-list p { margin: 0; }
.method-note { max-width: 50rem; margin: 3rem 0 0; padding-left: 1.5rem; border-left: .25rem solid var(--color-blue); font-weight: 650; }
.ai-section { background: var(--color-navy); color: var(--color-white); }
.ai-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.ai-section h2 { color: var(--color-white); max-width: 12ch; }
.ai-section p { max-width: 45rem; margin: 1.5rem 0 0; font-size: 1.08rem; }
.ai-section .ai-clarification { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.3); font-weight: 750; }
.ai-benefits { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.3); }
.ai-benefits li { padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.3); font-size: 1.15rem; font-weight: 700; }
.projects-section { overflow: clip; background: var(--color-ivory); }
.featured-projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding-top: clamp(1rem, 3vw, 2rem); }
.project-card { display: flex; min-width: 0; overflow: hidden; flex-direction: column; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--color-white); }
.project-card__media { position: relative; flex: none; min-width: 0; aspect-ratio: 16 / 10; margin: 0; overflow: hidden; }
.project-card__media--app { border-bottom: 1px solid var(--border); background: #13210d; }
.project-card__screenshots { position: absolute; inset: .8rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: .45rem; }
.project-card__media--app .project-card__screenshots img { position: static; display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.project-card__media--placeholder { background: #e9eef5; }
.project-card:nth-child(2) .project-card__media--placeholder { background: var(--color-navy); color: var(--color-white); }
.project-card:nth-child(3) .project-card__media--placeholder { background: var(--color-blue); color: var(--color-white); }
.project-card__media--placeholder span { position: absolute; inset: 1.65rem 0 0; display: grid; place-items: center; font-family: "Source Serif 4", Georgia, serif; font-size: clamp(3.25rem, 6vw, 5.5rem); font-weight: 600; letter-spacing: -.05em; }
.project-card__content { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 1.25rem; }
.project-card__category { margin: 0 0 .8rem; color: var(--color-blue); font-size: .875rem; font-weight: 750; }
.project-card h3 { margin: 0; color: var(--color-navy); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -.035em; }
.project-card__summary { margin: .8rem 0 1.35rem; }
.project-card dl { margin: auto 0 0; }
.project-card dl div { padding-block: .8rem; border-top: 1px solid var(--border); }
.project-card dt { color: var(--color-blue); font-size: .875rem; font-weight: 800; }
.project-card dd { margin: .25rem 0 0; }
.references-block { margin-top: clamp(3.5rem, 6vw, 6rem); scroll-margin-top: 7rem; }
.references-block__heading { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; }
.references-block__heading h3 { margin: 0; color: var(--color-navy); font-size: clamp(1.7rem, 2.5vw, 2.5rem); letter-spacing: -.04em; }
.references-carousel__controls { display: flex; flex: none; align-items: center; gap: .5rem; }
.references-carousel__controls[hidden] { display: none; }
.references-carousel__status { min-width: 4.75rem; margin: 0 .5rem 0 0; color: var(--muted-foreground); font-size: .85rem; text-align: right; }
.references-carousel__button { display: grid; width: 2.75rem; height: 2.75rem; flex: none; place-items: center; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--background); color: var(--foreground); cursor: pointer; }
.references-carousel__button:hover:not(:disabled) { border-color: var(--color-blue); }
.references-carousel__button:disabled { opacity: .35; cursor: default; }
.references-carousel__button svg, .reference-card__link svg, .project-card__link svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.references-grid { position: relative; display: flex; gap: 1.5rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; }
.references-block[data-carousel-ready="true"] .references-grid { scrollbar-width: none; }
.references-block[data-carousel-ready="true"] .references-grid::-webkit-scrollbar { display: none; }
.reference-card { display: flex; min-width: 0; flex: 0 0 calc((100% - 3rem) / 3); flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--color-white); scroll-snap-align: start; }
.reference-card__media { aspect-ratio: 16 / 10; margin: 0; overflow: hidden; }
.reference-card__content { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.reference-card__content p:first-child { margin: 0 0 .8rem; color: var(--color-blue); font-size: .875rem; font-weight: 750; }
.references-grid h4 { margin: 0; color: var(--color-navy); font-size: 1.2rem; }
.reference-card__description { margin: .6rem 0 0; }
.reference-card__link, .project-card__link { display: inline-flex; align-self: flex-start; align-items: center; gap: .4rem; min-height: 2.75rem; margin-top: auto; padding-top: .75rem; color: var(--color-navy); font-size: .9rem; font-weight: 700; text-underline-offset: .25rem; }
.site-preview { position: relative; padding-top: 1.65rem; border-bottom: 1px solid var(--border); background: #edf1f5; }
.site-preview::before { content: ""; position: absolute; z-index: 1; top: .65rem; left: .8rem; width: .38rem; height: .38rem; border-radius: 50%; background: #e26b62; box-shadow: .7rem 0 0 #e3b341, 1.4rem 0 0 #63a978; }
.project-card__media img, .reference-card__media img { position: absolute; inset: 1.65rem 0 0; display: block; width: 100%; height: calc(100% - 1.65rem); object-fit: cover; object-position: top; }
.profile-layout { max-width: 54rem; }
.profile-section h2 { max-width: 26ch; }
.profile-section p { max-width: 45rem; margin: 1.4rem 0 0; font-size: 1.08rem; }
.local-section { background: var(--color-ivory); }
.local-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: start; }
.local-section h2 { max-width: 14ch; }
.local-section p { max-width: 41rem; margin: .3rem 0 0; font-size: 1.08rem; }
.faq-section { background: var(--color-white); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 7vw, 8rem); }
.faq-list { border-top: 1px solid #aeb9c9; }
.faq-list details { border-bottom: 1px solid #aeb9c9; }
.faq-list summary { position: relative; padding: 1.25rem 2.5rem 1.25rem 0; color: var(--color-navy); font-size: 1.15rem; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; font-size: 1.5rem; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 42rem; margin: 0 0 1.4rem; }

.contact-section { background: var(--color-ivory); }
.project-form { max-width: 57rem; }
.project-form__honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.project-form__required, .project-form__privacy { color: var(--color-muted-ink); }
.project-form__required { margin: 0 0 1.5rem; }
.project-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.project-form__field { display: flex; flex-direction: column; min-width: 0; }
.project-form__field--full { grid-column: 1 / -1; }
.project-form label, .project-form__prepared label { display: block; margin-bottom: .5rem; color: var(--color-navy); font-size: 1rem; font-weight: 750; }
.project-form input, .project-form select, .project-form textarea { display: block; width: 100%; min-width: 0; padding: .8rem 1rem; border: 1px solid #7b8ba1; border-radius: var(--radius-small); background: var(--color-white); color: var(--color-ink); font: inherit; }
.project-form textarea { resize: vertical; }
.project-form [aria-invalid="true"] { border-color: var(--color-navy); }
.project-form__error { margin: .4rem 0 0; color: var(--color-navy); font-size: .95rem; font-weight: 650; }
.project-form__error-summary { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-left: .25rem solid var(--color-navy); background: var(--color-white); }
.project-form__error-summary p { margin: 0; font-weight: 750; }
.project-form__error-summary ul { margin: .5rem 0 0; padding-left: 1.5rem; }
.project-form__prepare, .project-form__mail, .project-form__copy { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .75rem 1.3rem; border: 1px solid var(--color-navy); border-radius: var(--radius-small); font: inherit; font-weight: 800; cursor: pointer; text-align: center; text-decoration: none; }
.project-form__prepare, .project-form__mail { background: var(--color-yellow); color: var(--color-navy); }
.project-form__prepare { margin-top: 1.75rem; }
.project-form__prepare:disabled { cursor: wait; opacity: .72; }
.project-form__copy { background: var(--color-white); color: var(--color-navy); }
.project-form__privacy { max-width: 43rem; margin: .85rem 0 0; font-size: .95rem; }
.project-form__prepared { margin-top: 2.5rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-large); background: var(--color-white); }
.project-form__prepared h3 { margin: 0; color: var(--color-navy); font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.2; }
.project-form__prepared p { max-width: 44rem; }
.project-form__prepared textarea { min-height: 16rem; }
.project-form__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.project-form__status { margin: 0; font-weight: 700; }
.project-form__status:not(:empty) { margin-top: 1rem; }
.project-form[data-state="success"] .project-form__status { color: #1f6b3b; }
.project-form[data-state="error"] .project-form__status { color: #8a2432; }

.site-footer { background: var(--color-navy); color: var(--color-white); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 2rem; padding-block: 2.8rem 2.2rem; }
.site-footer__identity { max-width: 28rem; }
.site-footer__brand { margin: 0 0 .55rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.05em; }
.site-footer__identity p:not(.site-footer__brand) { margin: .3rem 0; color: #d6dfea; font-size: .9rem; }
.site-footer__contact { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; font-style: normal; font-size: .94rem; }
.site-footer__contact a { display: inline-flex; align-items: center; min-height: 2.75rem; text-underline-offset: .25rem; }
.site-footer__bottom { padding-block: 1rem 1.3rem; border-top: 1px solid rgba(255,255,255,.2); color: #d6dfea; font-size: .875rem; }

.blog-page { padding-block: clamp(2rem, 5vw, 4rem) clamp(5rem, 8vw, 8rem); }
.blog-intro { max-width: 52rem; padding-block: clamp(2rem, 4vw, 4rem); }
.blog-eyebrow { display: inline-block; margin: 0 0 1.1rem; color: var(--color-blue); font-size: .9rem; font-weight: 800; text-decoration-thickness: .08rem; text-underline-offset: .3rem; }
a.blog-eyebrow { display: inline-flex; align-items: center; min-height: 2.75rem; }
.blog-intro h1, .article-header h1, .not-found-page h1 { margin: 0; color: var(--color-navy); font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.08; letter-spacing: -.06em; text-wrap: balance; }
.blog-intro > p:last-child { max-width: 46rem; margin: 1.5rem 0 0; font-size: 1.16rem; }
.blog-categories { padding-block: 1.5rem 2.5rem; border-block: 1px solid var(--border); }
.blog-categories ul { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.blog-categories a { display: inline-flex; align-items: center; min-height: 2.8rem; padding: .55rem 1rem; border: 1px solid #7b8ba1; border-radius: 999px; color: var(--color-navy); font-weight: 700; text-decoration: none; }
.blog-categories a:hover { background: var(--color-ivory); }
.blog-list { padding-top: clamp(2.5rem, 5vw, 4rem); }
.blog-list > h2 { margin: 0 0 2rem; color: var(--color-navy); font-size: clamp(2rem, 3vw, 3rem); line-height: 1.2; letter-spacing: -.045em; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.blog-preview__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.blog-preview__all { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 2rem; color: var(--color-navy); font-weight: 800; text-underline-offset: .3rem; }
.blog-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-large); background: var(--color-ivory); }
.blog-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; color: var(--color-blue); font-size: .9rem; font-weight: 700; }
.blog-card__meta a { display: inline-flex; align-items: center; min-height: 2.75rem; text-underline-offset: .25rem; }
.blog-card h2 { margin: 1.2rem 0 0; color: var(--color-navy); font-size: clamp(1.5rem, 2vw, 2rem); line-height: 1.22; letter-spacing: -.04em; }
.blog-card h2 a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.blog-card h2 a:hover { text-decoration: underline; text-underline-offset: .18em; }
.blog-card p { margin: 1rem 0 2rem; }
.blog-card__read { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: auto; align-self: flex-start; color: var(--color-navy); font-weight: 800; text-underline-offset: .3rem; }
.blog-breadcrumb { display: flex; flex-wrap: wrap; gap: .35rem .65rem; max-width: 52rem; color: var(--color-muted-ink); font-size: .9rem; }
.blog-breadcrumb a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--color-navy); text-underline-offset: .25rem; }
.blog-back-link { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: 2.5rem; color: var(--color-navy); font-weight: 750; text-underline-offset: .25rem; }
.article-layout { max-width: 48rem; margin: 2.5rem auto 0; }
.article-header { padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.article-excerpt { margin: 1.4rem 0 0; font-size: 1.2rem; line-height: 1.65; }
.article-dates { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: 1.5rem 0 0; color: var(--color-muted-ink); font-size: .9rem; }
.article-index { margin: 2.5rem 0; padding: 1.5rem 2rem; border-left: .25rem solid var(--color-blue); background: var(--color-ivory); }
.article-index h2 { margin: 0 0 .75rem; color: var(--color-navy); font-size: 1.2rem; }
.article-index ol { margin: 0; padding-left: 1.5rem; }
.article-index li + li { margin-top: .45rem; }
.article-index a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--color-navy); text-underline-offset: .25rem; }
.article-sources a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--color-navy); text-underline-offset: .25rem; }
.article-prose { overflow-wrap: anywhere; font-size: 1.08rem; line-height: 1.75; }
.article-prose img { max-width: 100%; height: auto; }
.article-prose h2, .article-sources h2 { margin: 2.5rem 0 1rem; color: var(--color-navy); font-size: clamp(1.7rem, 2.5vw, 2.3rem); line-height: 1.25; letter-spacing: -.035em; scroll-margin-top: 2rem; }
.article-prose h3 { margin: 2rem 0 1rem; color: var(--color-navy); font-size: 1.35rem; line-height: 1.3; }
.article-prose p, .article-prose ul, .article-prose ol, .article-prose blockquote { margin-block: 1.1rem; }
.article-prose li + li { margin-top: .4rem; }
.article-prose a { color: var(--color-navy); text-decoration-thickness: .08rem; text-underline-offset: .2rem; }
.article-prose pre { max-width: 100%; overflow-x: auto; padding: 1rem; border-radius: var(--radius-small); background: var(--color-navy); color: var(--color-white); }
.article-prose :not(pre) > code { padding: .1rem .3rem; border-radius: .25rem; background: var(--color-ivory); }
.article-prose blockquote { padding-left: 1.2rem; border-left: .25rem solid var(--color-blue); }
.article-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-prose th, .article-prose td { padding: .5rem .75rem; border: 1px solid var(--border); text-align: left; }
.article-index { margin: 2rem 0; padding: 1.5rem 1.75rem; border-radius: var(--radius-large); background: var(--color-ivory); }
.article-index h2 { margin: 0; color: var(--color-navy); font-size: 1.25rem; }
.article-index ol { margin: 1rem 0 0; padding-left: 1.4rem; }
.article-index li + li { margin-top: .45rem; }
.article-index a { color: var(--color-navy); font-weight: 650; text-underline-offset: .25rem; }
.article-sources { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.article-sources ul { padding-left: 1.4rem; }
.article-sources li + li { margin-top: .5rem; }
.article-cta { margin-top: 3rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-large); background: var(--color-navy); color: var(--color-white); }
.article-cta h2 { margin: 0; font-size: clamp(1.6rem, 2.5vw, 2.2rem); line-height: 1.2; }
.article-cta p { margin: 1rem 0 1.5rem; }
.article-cta a, .not-found-page__links a:first-child { display: inline-flex; min-height: 3rem; align-items: center; padding: .7rem 1.2rem; border-radius: var(--radius-small); background: var(--color-yellow); color: var(--color-navy); font-weight: 800; text-decoration: none; }
.not-found-page { min-height: 55vh; padding-block: clamp(5rem, 10vw, 9rem); }
.not-found-page > .site-container { max-width: 48rem; }
.not-found-page p:not(.blog-eyebrow) { margin: 1.5rem 0 0; font-size: 1.1rem; }
.not-found-page__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.not-found-page__links a:last-child { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--color-navy); font-weight: 750; text-underline-offset: .3rem; }

@media (max-width: 920px) {
  .site-header { top: .65rem; width: min(calc(100% - 2rem), var(--content-width)); border-radius: 2rem; }
  /* Let the dropdown blur the page instead of the header backdrop root. */
  .site-header:has(.site-nav[data-open="true"]) { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header__inner { gap: .75rem; min-height: 4.2rem; padding-inline: 1rem; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .site-nav { display: none; position: absolute; top: calc(100% + .65rem); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .15rem; padding: .75rem; border: 1px solid rgba(255,255,255,.8); border-radius: 1.5rem; background: rgba(255,255,255,.66); -webkit-backdrop-filter: blur(18px) saturate(1.45); backdrop-filter: blur(18px) saturate(1.45); box-shadow: 0 1rem 2.5rem rgba(29,36,54,.16); }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: .75rem .85rem; border-radius: 1rem; font-size: 1rem; }
  .site-nav a:hover { background: transparent; color: var(--color-navy); }
  .site-nav .site-nav__mobile-contact { display: inline-flex !important; justify-content: center; margin-top: .35rem; background: var(--color-yellow); }
  .header-contact { display: none; }
  .hero { --hero-header-space: 5.1rem; }
  .hero__inner { min-height: calc(52rem + var(--hero-header-space)); align-items: flex-start; padding-block: calc(4.5rem + var(--hero-header-space)) 20rem; }
  .hero__copy { width: min(100%, 42rem); }
  .hero h1 { max-width: none; font-size: clamp(2.45rem, 5.3vw, 3.6rem); }
  .hero__universe { --hero-sun-x: 73%; --hero-sun-y: calc(100% - 12.5rem); }
  .hero-orbit__core { width: clamp(9rem, 18vw, 11rem); }
  .featured-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reference-card { flex-basis: calc((100% - 1.5rem) / 2); }
  .featured-projects { gap: 1rem; padding-top: 0; }
  .solutions-grid { grid-template-columns: 1fr; gap: 1.25rem; padding: .5rem 0 0; perspective: none; }
  .solution-card { --card-x: 0% !important; --card-y: 0rem !important; --card-rotation: 0deg !important; min-height: 0; }
  .solution-card:hover, .solution-card:focus-within { transform: translate3d(0, -.4rem, 0) rotate(0deg) scale(1.01); }
  .blog-preview__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-layout, .faq-layout, .ai-layout, .local-layout { grid-template-columns: 1fr; }
  .method-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .profile-section h2 { font-size: clamp(1.625rem, 8.5vw, 2.3rem); }
  .site-container { width: min(calc(100% - 2rem), var(--content-width)); }
  .site-header { top: .5rem; width: min(calc(100% - 1rem), var(--content-width)); margin-top: .5rem; border-radius: 1.65rem; }
  .site-header__inner { flex-wrap: nowrap; gap: .6rem; min-height: 3.9rem; padding-inline: .85rem; }
  .site-nav { top: calc(100% + .5rem); }
  .site-logo { flex: 1 1 auto; justify-content: flex-start; gap: .55rem; }
  .site-logo__mark { width: 2.2rem; height: 2.2rem; border-radius: .55rem; }
  .site-logo__name { font-size: 1.05rem; }
  .site-logo__studio { max-width: 100%; overflow: hidden; font-size: .56rem; text-overflow: ellipsis; }
  .site-logo__descriptor { display: none; }
  .hero { --hero-header-space: 4.6rem; }
  .hero__inner { min-height: calc(54rem + var(--hero-header-space)); padding-block: calc(2.8rem + var(--hero-header-space)) 19rem; }
  .hero__eyebrow { margin-bottom: 1.25rem; }
  .hero h1 { font-size: clamp(1.4rem, 6.4vw, 2.1rem); }
  .hero__subtitle { margin-top: .4rem; }
  .hero__description { margin-top: .75rem; }
  .hero__actions { align-items: stretch; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
  .hero__secondary { text-align: center; }
  .hero__proof { margin-top: 1.5rem; }
  .hero__universe { --hero-sun-x: 55%; --hero-sun-y: calc(100% - 11.5rem); }
  .hero__universe::after { background: linear-gradient(180deg, rgba(3,9,14,.12), rgba(3,9,14,.6) 23%, rgba(3,9,14,.52) 59%, transparent 75%); }
  .hero-orbit__core { width: 9rem; }
  .hero__local { bottom: 1.8rem; font-size: .72rem; }
  .site-footer__inner { flex-direction: column; }
  .solutions-grid, .featured-projects, .method-list { grid-template-columns: 1fr; }
  .references-block__heading { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .references-carousel__controls { align-self: flex-end; }
  .reference-card { flex-basis: 88%; }
  .result-row { grid-template-columns: 1fr; gap: .5rem; }
  .method-list li::before { margin-bottom: 1rem; }
  .project-form__grid { grid-template-columns: 1fr; }
  .project-form__actions { flex-direction: column; align-items: stretch; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-preview__grid { grid-template-columns: 1fr; }
  .article-index { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .solution-card:hover, .solution-card:focus-within { transform: translate3d(var(--card-x), var(--card-y), 0) rotate(var(--card-rotation)); }
  .hero-orbit__core { animation: none; }
}

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.archive-description { max-width: 46rem; margin-top: 1.5rem; font-size: 1.1rem; }
.navigation.pagination { margin-top: 2.5rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.page-numbers { display: inline-flex; min-width: 2.75rem; min-height: 2.75rem; align-items: center; justify-content: center; padding: .4rem .7rem; border: 1px solid #7b8ba1; border-radius: .65rem; color: var(--color-navy); text-decoration: none; }
.page-numbers.current { background: var(--color-navy); color: var(--color-white); }


html[data-theme="dark"] {
  color-scheme: dark;
  --background: #0d1420;
  --foreground: #edf2f8;
  --card: #192436;
  --card-foreground: #edf2f8;
  --popover: #192436;
  --popover-foreground: #edf2f8;
  --secondary: #131d2c;
  --secondary-foreground: #edf2f8;
  --muted: #131d2c;
  --muted-foreground: #b7c2d1;
  --accent: #1c2a40;
  --accent-foreground: #f6f8fb;
  --border: #344159;
  --input: #45536b;
  --ring: var(--color-yellow);
  --sidebar: #131d2c;
  --sidebar-foreground: #edf2f8;
  --sidebar-accent: #1c2a40;
  --sidebar-accent-foreground: #f6f8fb;
  --sidebar-border: #344159;
  --sidebar-ring: var(--color-yellow);
}
html[data-theme="dark"] body { color: var(--foreground); background: var(--background); }
html[data-theme="dark"] .hero-orbit__core::before { opacity: 0; }
html[data-theme="dark"] .hero-orbit__core::after { opacity: 1; }
html[data-theme="dark"] .site-header { border-color: rgba(175,194,223,.22); background: rgba(19,29,44,.64); box-shadow: 0 1rem 3rem rgba(0,0,0,.34); }
html[data-theme="dark"] body.home .site-header[data-over-hero="true"] { background: rgba(19,29,44,.38); }
@media (max-width: 920px) {
  html[data-theme="dark"] .site-nav { border-color: rgba(175,194,223,.22); background: rgba(19,29,44,.66); box-shadow: 0 1rem 3rem rgba(0,0,0,.34); }
}
html[data-theme="dark"] .menu-toggle { border-color: rgba(175,194,223,.35); background: rgba(25,36,54,.8); color: #f6f8fb; }
html[data-theme="dark"] .theme-toggle { border-color: rgba(175,194,223,.35); background: rgba(25,36,54,.82); color: #dce6f5; box-shadow: 0 .4rem 1.2rem rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.06); }
html[data-theme="dark"] .theme-toggle:hover { border-color: rgba(175,194,223,.52); background: #24324a; }
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] .site-logo__name,
html[data-theme="dark"] .site-nav a,
html[data-theme="dark"] .project-form label,
html[data-theme="dark"] .project-form__prepared label { color: #f6f8fb; }
html[data-theme="dark"] .site-logo__studio,
html[data-theme="dark"] .hero__eyebrow,
html[data-theme="dark"] .project-card__category,
html[data-theme="dark"] .project-card dt,
html[data-theme="dark"] .reference-card__content p:first-child,
html[data-theme="dark"] .blog-eyebrow,
html[data-theme="dark"] .blog-card__meta { color: #afc2df; }
html[data-theme="dark"] .results-section,
html[data-theme="dark"] .projects-section,
html[data-theme="dark"] .local-section,
html[data-theme="dark"] .contact-section,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .article-index,
html[data-theme="dark"] .article-prose :not(pre) > code { background: var(--secondary); }
html[data-theme="dark"] .solution-card,
html[data-theme="dark"] .project-card,
html[data-theme="dark"] .reference-card,
html[data-theme="dark"] .faq-section,
html[data-theme="dark"] .project-form input,
html[data-theme="dark"] .project-form select,
html[data-theme="dark"] .project-form textarea,
html[data-theme="dark"] .project-form__error-summary,
html[data-theme="dark"] .project-form__copy,
html[data-theme="dark"] .project-form__prepared { color: var(--foreground); background: var(--card); }
html[data-theme="dark"] .solution-card:hover, html[data-theme="dark"] .solution-card:focus-within { color: var(--color-navy); background: var(--color-white); border-color: var(--color-white); }
html[data-theme="dark"] .solution-card:hover h3,
html[data-theme="dark"] .solution-card:hover a,
html[data-theme="dark"] .solution-card:focus-within h3,
html[data-theme="dark"] .solution-card:focus-within a { color: var(--color-navy); }
html[data-theme="dark"] .solution-card a { color: inherit; }
html[data-theme="dark"] .hero__description,
html[data-theme="dark"] .project-form input,
html[data-theme="dark"] .project-form select,
html[data-theme="dark"] .project-form textarea { color: var(--foreground); }
html[data-theme="dark"] .hero__proof,
html[data-theme="dark"] .project-form__required,
html[data-theme="dark"] .project-form__privacy,
html[data-theme="dark"] .blog-breadcrumb,
html[data-theme="dark"] .article-dates { color: var(--muted-foreground); }
html[data-theme="dark"] .project-card h3,
html[data-theme="dark"] .references-block__heading h3,
html[data-theme="dark"] .reference-card__link,
html[data-theme="dark"] .project-card__link,
html[data-theme="dark"] .references-grid h4,
html[data-theme="dark"] .faq-list summary,
html[data-theme="dark"] .blog-categories a,
html[data-theme="dark"] .blog-preview__all,
html[data-theme="dark"] .blog-card__read,
html[data-theme="dark"] .blog-breadcrumb a,
html[data-theme="dark"] .blog-back-link,
html[data-theme="dark"] .article-index a,
html[data-theme="dark"] .article-sources a,
html[data-theme="dark"] .article-prose a,
html[data-theme="dark"] .not-found-page__links a:last-child,
html[data-theme="dark"] .page-numbers { color: #f6f8fb; }
html[data-theme="dark"] .results-list,
html[data-theme="dark"] .result-row,
html[data-theme="dark"] .faq-list,
html[data-theme="dark"] .faq-list details { border-color: #3a475d; }
html[data-theme="dark"] .header-contact:hover { border-color: #afc2df; background: var(--card); color: #f6f8fb; }
html[data-theme="dark"] .site-nav a:hover { background: transparent; color: var(--color-yellow); }
html[data-theme="dark"] .site-nav .site-nav__mobile-contact,
html[data-theme="dark"] .site-nav .site-nav__mobile-contact:hover { color: var(--color-navy); background: var(--color-yellow); }
html[data-theme="dark"] .page-numbers.current { color: var(--color-white); }

html:not([data-theme="dark"]) .hero__universe { background: radial-gradient(ellipse at 72% 52%, #509ace 0, #7fbadc 46%, #afd7ec 100%); }
html:not([data-theme="dark"]) .hero__universe::after { background: linear-gradient(90deg, rgba(226,242,251,.18), transparent 60%); }
html:not([data-theme="dark"]) .hero__copy { color: #162c47; text-shadow: none; }
html:not([data-theme="dark"]) .hero h1 { color: var(--color-navy); }
html:not([data-theme="dark"]) .hero__description,
html:not([data-theme="dark"]) .hero__secondary,
html:not([data-theme="dark"]) .hero__proof { color: #162c47; }
html:not([data-theme="dark"]) .hero__eyebrow { color: #244364; }
html:not([data-theme="dark"]) .hero__proof { border-color: rgba(46,64,103,.28); }
