:root {
  --ground: #0c1715;
  --ground-deep: #07110f;
  --surface: #13201d;
  --surface-2: #1a2925;
  --concrete: #9ca39d;
  --text: #f1f2e9;
  --muted: #aeb8b1;
  --line: rgba(226, 235, 227, 0.18);
  --line-strong: rgba(226, 235, 227, 0.34);
  --accent: #baff4a;
  --accent-ink: #0b160f;
  --danger: #ffb0a8;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --editorial: "Newsreader", Georgia, serif;
  --page: clamp(1.2rem, 4vw, 4.5rem);
  --section: clamp(5.5rem, 10vw, 10rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ground-deep); }
body {
  margin: 0;
  color: var(--text);
  background: var(--ground);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { color: var(--accent-ink); background: var(--accent); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ground-deep); }
::-webkit-scrollbar-thumb { background: #3d504a; border: 2px solid var(--ground-deep); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
em { color: var(--accent); font-family: var(--editorial); font-weight: 500; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--accent-ink);
  background: var(--accent);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 72px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 2rem;
  padding: 0 var(--page);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.site-header { background: rgba(7, 17, 15, 0.94); }
.site-header.is-solid { height: 64px; background: rgba(7, 17, 15, 0.98); border-color: var(--line); }
.brand { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; }
.brand-symbol { width: auto; height: 42px; object-fit: contain; }
.site-footer .brand { width: 72px; height: 72px; }
.site-footer .brand-symbol { height: 58px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.25rem, 3vw, 2.6rem); white-space: nowrap; }
.main-nav a { position: relative; color: rgba(241, 242, 233, 0.74); font-size: 0.76rem; font-weight: 600; }
.main-nav a::after { content: ""; position: absolute; inset: auto 0 -0.5rem; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 180ms var(--ease-out); }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 1rem; min-height: 43px; padding: 0 1rem; color: var(--accent-ink); background: var(--accent); font-size: 0.75rem; font-weight: 700; white-space: nowrap; transition: transform 150ms var(--ease-out), background-color 180ms ease; }
.header-cta i, .submit-button i, .whatsapp i { position: relative; width: 17px; height: 10px; display: block; }
.header-cta i::before, .submit-button i::before, .whatsapp i::before { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: currentColor; }
.header-cta i::after, .submit-button i::after, .whatsapp i::after { content: ""; position: absolute; right: 0; top: calc(50% - 3px); width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.header-cta:active, .submit-button:active { transform: scale(0.97); }
.menu-button { display: none; }

.hero { position: relative; min-height: 100dvh; display: grid; grid-template-columns: minmax(410px, 42%) 1fr; grid-template-rows: 1fr auto; overflow: hidden; background: var(--ground-deep); }
.hero-media { position: absolute; inset: 0 0 0 34%; overflow: hidden; background: #30423c; }
.hero-media .hero-poster, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-media video { opacity: 0; transition: opacity 500ms ease; }
.hero-media.is-playing video { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ground-deep) 0 34%, rgba(7, 17, 15, 0.82) 42%, rgba(7, 17, 15, 0.06) 64%), linear-gradient(0deg, rgba(7, 17, 15, 0.42), transparent 38%); }
.hero::before { content: ""; position: absolute; z-index: 2; top: 72px; bottom: 0; left: 34%; width: 1px; background: rgba(240, 244, 235, 0.36); }
.hero-copy { position: relative; z-index: 3; grid-column: 1 / -1; align-self: center; padding: 7rem var(--page) 3rem; max-width: min(66rem, 78vw); }
.hero h1 { max-width: 22ch; margin-bottom: 2.3rem; font-size: clamp(3.1rem, 6.2vw, 6rem); line-height: 0.92; letter-spacing: -0.04em; }
.hero h1 em { display: inline-block; line-height: 1.08; padding-bottom: 0.05em; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0; max-width: 39rem; border-top: 1px solid var(--line-strong); }
.hero-proof span { padding: 0.95rem 1.5rem 0 0; margin-right: 1.5rem; color: var(--muted); font-size: 0.72rem; font-weight: 600; }
.hero-summary { position: relative; z-index: 3; grid-column: 2; grid-row: 2; max-width: 34rem; margin: 0; padding: 2rem var(--page) 2.2rem 2rem; color: rgba(241, 242, 233, 0.84); font-size: clamp(0.9rem, 1.3vw, 1.1rem); line-height: 1.65; }

.section-name { margin-bottom: 1.4rem; color: var(--accent); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; }
.premise, .method, .services, .case, .clients, .contact { padding: var(--section) var(--page); }
.premise { display: grid; grid-template-columns: 1.2fr 0.8fr; column-gap: clamp(3rem, 9vw, 10rem); background: var(--surface); }
.premise-lead h2, .method-heading h2, .services-intro h2, .case-heading h2, .clients h2, .contact h2, .score-copy h2 { margin-bottom: 0; font-size: clamp(2.5rem, 5.2vw, 5.4rem); line-height: 0.98; letter-spacing: -0.04em; }
.premise-copy { align-self: end; max-width: 34rem; color: var(--muted); }
.premise-copy p { margin-bottom: 1rem; }
.decision-field { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 0.85fr 1fr; margin-top: clamp(4rem, 8vw, 8rem); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.decision-field article { min-height: 190px; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.015); }
.decision-field article:first-child { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; min-height: 380px; color: var(--accent-ink); background: var(--accent); }
.decision-field article:last-child { grid-column: 2 / 4; }
.decision-field strong { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.decision-field p { max-width: 18ch; margin: 2.8rem 0 0; font-size: clamp(1.35rem, 2.6vw, 2.5rem); line-height: 1.12; letter-spacing: -0.03em; }

.method { background: var(--ground); }
.method-heading { max-width: 58rem; margin-bottom: clamp(4rem, 8vw, 7rem); }
.method-heading > p:last-child, .services-intro > p:last-child, .case-heading > p:last-child { max-width: 48rem; margin: 1.8rem 0 0; color: var(--muted); }
.method-workbench { display: grid; grid-template-columns: minmax(250px, 0.72fr) 1.55fr; min-height: 630px; border: 1px solid var(--line-strong); }
.method-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line-strong); }
.method-tabs button { flex: 1; display: grid; gap: 0.25rem; align-content: center; padding: 1.2rem 1.5rem; border: 0; border-bottom: 1px solid var(--line); color: var(--muted); text-align: left; background: transparent; cursor: pointer; transition: color 180ms ease, background-color 180ms ease, transform 180ms var(--ease-out); }
.method-tabs button:last-child { border-bottom: 0; }
.method-tabs button b { font-size: 1.05rem; }
.method-tabs button span { font-size: 0.74rem; }
.method-tabs button.active { color: var(--accent-ink); background: var(--accent); transform: translateX(6px); }
.method-stage { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; overflow: hidden; background: var(--ground-deep); }
.section-model { position: relative; min-height: 100%; perspective: 900px; overflow: hidden; }
.section-model::before { content: ""; position: absolute; inset: 12% 4% 8% 8%; background: linear-gradient(rgba(186,255,74,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(186,255,74,.08) 1px, transparent 1px); background-size: 56px 56px; transform: skewY(-7deg); }
.model-slab { position: absolute; left: 16%; width: 64%; height: 22%; border: 1px solid rgba(186,255,74,.52); background: rgba(45,74,61,.38); transform: skewY(-14deg); transition: transform 500ms var(--ease-move), opacity 400ms var(--ease-out); }
.slab-a { top: 23%; }.slab-b { top: 42%; }.slab-c { top: 61%; }
.trace-a, .trace-b { position: absolute; height: 1px; background: var(--accent); transform-origin: left; }
.trace-a { left: 9%; top: 56%; width: 80%; }.trace-b { left: 44%; top: 18%; width: 1px; height: 65%; }
.section-model b { position: absolute; left: 10%; bottom: 8%; color: var(--accent); font-size: clamp(6rem, 12vw, 12rem); line-height: 1; opacity: .13; }
.method-stage.is-changing .model-slab { transform: skewY(-14deg) translateY(-8px); opacity: .5; }
.method-detail { align-self: end; padding: clamp(2rem, 5vw, 4.5rem); border-left: 1px solid var(--line); background: rgba(19,32,29,.76); }
.method-detail > span { color: var(--accent); font-size: .69rem; font-weight: 700; }
.method-detail h3 { margin: 1.2rem 0; font-size: clamp(1.8rem, 3vw, 3.2rem); line-height: 1.04; letter-spacing: -.03em; }
.method-detail p { color: var(--muted); }
.method-detail ul { display: grid; gap: .6rem; padding: 1rem 0 0; margin: 0; list-style: none; font-size: .78rem; font-weight: 600; }
.method-detail li::before { content: ""; display: inline-block; width: 14px; height: 1px; margin: 0 .7rem .25rem 0; background: var(--accent); }

.services { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr); gap: clamp(3rem, 8vw, 9rem); background: var(--surface-2); }
.services-intro { position: sticky; top: 8rem; align-self: start; }
.services-intro h2 { font-size: clamp(2.7rem, 4.2vw, 4.8rem); }
.service-list { border-top: 1px solid var(--line-strong); }
.service { border-bottom: 1px solid var(--line-strong); }
.service > button { width: 100%; display: grid; grid-template-columns: 1.4fr .7fr 28px; align-items: center; gap: 1rem; padding: 1.6rem 0; border: 0; color: var(--text); text-align: left; background: transparent; cursor: pointer; }
.service h3 { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.65rem); letter-spacing: -.025em; }
.service button span { color: var(--muted); font-size: .76rem; }
.service button i { position: relative; width: 24px; height: 24px; justify-self: end; }
.service button i::before, .service button i::after { content: ""; position: absolute; left: 5px; top: 11px; width: 14px; height: 1px; background: currentColor; transition: transform 180ms var(--ease-out); }
.service button i::after { transform: rotate(90deg); }
.service.active button { color: var(--accent); }
.service.active button i::after { transform: rotate(0); }
.service-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease-out); }
.service-panel > div { overflow: hidden; }
.service.active .service-panel { grid-template-rows: 1fr; }
.service-panel p { max-width: 43rem; color: var(--muted); }
.service-panel ul { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; padding: 0; list-style: none; color: var(--text); font-size: .78rem; }
.service-panel li::before { content: "+"; margin-right: .45rem; color: var(--accent); }
.service-panel strong { display: block; padding: 1.2rem 0 2rem; color: var(--accent); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }

.score { display: grid; grid-template-columns: 1.05fr 1fr; align-items: start; background: var(--ground-deep); border-block: 1px solid var(--line); }
.scan-dossier { position: sticky; top: 64px; padding: 2rem clamp(1rem, 3vw, 3rem); border-right: 1px solid var(--line); background: #10221c; }
.scan-topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: #c0cebd; font-size: .68rem; letter-spacing: .06em; }
.scan-topline span:last-child { color: var(--accent); letter-spacing: 0; }
.score-visual { position: relative; width: 100%; aspect-ratio: 640 / 620; perspective: 1000px; }
.scan-plane { width: 100%; height: 100%; position: relative; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform 450ms var(--ease-out); }
.scan-building { width: 100%; height: 100%; overflow: visible; }
.scan-ground { opacity: .4; }
.scan-floors { fill: #baff4a; fill-opacity: .035; }
.scan-envelope { fill: #baff4a; fill-opacity: .035; }
.scan-systems { opacity: .55; }
.scan-energy { opacity: .38; }
.scan-section-line { opacity: .65; }
.scan-building g { transform-box: fill-box; transform-origin: center; transition: opacity 350ms ease, transform 600ms var(--ease-out), fill-opacity 350ms ease; }
.score-visual.is-plan .scan-envelope { transform: translate(-11px, -15px); fill-opacity: .12; }
.score-visual.is-plan .scan-floors { transform: translateY(-18px); fill-opacity: .09; }
.score-visual.is-plan .scan-systems { opacity: 1; }
.score-visual.is-plan .scan-energy { opacity: .15; }
.score-visual[data-system="envelope"] .scan-systems, .score-visual[data-system="envelope"] .scan-energy,
.score-visual[data-system="systems"] .scan-envelope, .score-visual[data-system="systems"] .scan-energy,
.score-visual[data-system="energy"] .scan-envelope, .score-visual[data-system="energy"] .scan-systems { opacity: .08; }
.score-visual[data-system="envelope"] .scan-envelope { fill-opacity: .16; transform: translate(-16px, -10px); }
.score-visual[data-system="systems"] .scan-systems, .score-visual[data-system="energy"] .scan-energy { opacity: 1; transform: translateY(-8px); }
.scan-annotation { position: absolute; z-index: 2; display: grid; gap: .2rem; max-width: 44%; padding: .7rem .8rem; color: var(--text); background: #142c23; border: 1px solid #456b54; transform: translateZ(24px); transition: color 250ms ease, background-color 250ms ease; }
.scan-annotation small { color: #b7cbb8; font-size: .68rem; }
.scan-annotation strong { font-size: clamp(.65rem, 1vw, .88rem); font-weight: 600; }
.annotation-a { left: 2%; top: 24%; }.annotation-b { right: 0; top: 24%; }.annotation-c { left: 5%; bottom: 8%; }
.score-visual.is-plan .scan-annotation { background: #baff4a; color: #0b160f; border-color: #baff4a; }
.score-visual.is-plan .scan-annotation small { color: #264129; }
.scan-state { position: absolute; bottom: 0; right: 0; color: #c0cebd; font-size: .68rem; margin: 0; }
.system-controls { display: flex; border: 1px solid var(--line-strong); margin-top: 1.5rem; }
.system-controls button { flex: 1; min-height: 44px; padding: .5rem .4rem; border: 0; border-right: 1px solid var(--line); color: #c0cebd; background: transparent; font-size: .74rem; cursor: pointer; }
.system-controls button:last-child { border-right: 0; }
.system-controls button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); }
.system-description { min-height: 5.3em; margin: 1.2rem 0 .7rem; color: #b7cbb8; font-size: .85rem; line-height: 1.65; }
.scan-reference { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: #b7cbb8; font-size: .72rem; text-decoration: underline; text-underline-offset: .25em; }
.score-copy { padding: clamp(3rem, 6vw, 6rem) var(--page); }
.score-copy h2 { font-size: clamp(2.5rem, 4.4vw, 4.6rem); }
.score-copy > p:not(.score-note):not(.scenario-insight) { max-width: 45rem; margin: 1.6rem 0; color: var(--muted); }
.score-switch { display: flex; width: 100%; margin: 2rem 0 2.5rem; border: 1px solid var(--line-strong); }
.score-switch button { flex: 1; min-height: 48px; padding: .7rem; border: 0; color: var(--muted); background: transparent; font-size: .8rem; cursor: pointer; }
.score-switch button.active { color: var(--accent-ink); background: var(--accent); }
.score-reading { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: .25rem .7rem; }
.score-reading strong { color: var(--accent); font-size: clamp(6rem, 9vw, 8rem); font-weight: 500; line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.score-reading > span { color: var(--accent); font-size: 1.1rem; padding-bottom: .7rem; }
.score-reading p { grid-column: 1 / -1; margin: 1rem 0 0; color: var(--text); font-size: .8rem; }
.score-note { margin: .7rem 0 0; color: var(--muted); font-size: .75rem; }
.scenario-insight { min-height: 6.5em; margin: 1.5rem 0 0; padding-top: 1.3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; line-height: 1.65; }
.score-dimensions { margin-top: 1.8rem; border-top: 1px solid var(--line-strong); }
.score-dimensions details { border-bottom: 1px solid var(--line); }
.score-dimensions summary { font-size: .85rem; padding: .85rem 0; }
.score-dimensions summary span { margin-left: auto; color: var(--muted); font-size: .74rem; }
.score-dimensions p { color: var(--muted); font-size: .85rem; padding: 0 1.5rem .8rem 0; margin: 0; }

.case { background: var(--ground); }
.case-heading { max-width: 65rem; margin-bottom: clamp(4rem, 8vw, 8rem); }
.findings { display: grid; grid-template-columns: 1.35fr .85fr 1fr; border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong); }
.findings article { min-height: 220px; padding: 1.7rem; border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.findings article:first-child { grid-row: span 2; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; background: #24342f; }
.findings article:last-child { grid-column: 2 / 4; }
.findings span { color: var(--accent); font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.findings h3 { margin: 1rem 0 .4rem; font-size: clamp(1.35rem, 2.5vw, 2.5rem); letter-spacing: -.03em; }
.findings p { margin: 0; color: var(--muted); }

.clients { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 9vw, 9rem); background: var(--surface); }
.clients h2 { font-size: clamp(2.7rem, 4.5vw, 5rem); }
.client-types { display: grid; grid-template-columns: 1fr 1fr; align-content: center; border-top: 1px solid var(--line-strong); }
.client-types span { padding: 1.2rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .87rem; }
.client-types span:nth-child(odd) { padding-right: 1.5rem; }
.client-types span:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(4rem, 10vw, 11rem); background: var(--ground-deep); }
.contact-copy { align-self: start; }
.contact h2 { font-size: clamp(3rem, 5.2vw, 5.5rem); }
.contact-copy > p:not(.section-name) { max-width: 36rem; margin: 2rem 0 3rem; color: var(--muted); }
.whatsapp { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; max-width: 25rem; padding: 1.1rem 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); transition: color 180ms ease; }
.whatsapp small { color: var(--muted); font-size: .67rem; }.whatsapp span { grid-column: 1; font-weight: 600; }.whatsapp i { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.contact-form { display: grid; gap: 1.5rem; padding-top: .3rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-form label:not(.consent) { display: grid; gap: .55rem; }
.contact-form label > span { font-size: .72rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: .85rem 0; color: var(--text); background: transparent; caret-color: var(--accent); transition: border-color 160ms ease, background-color 160ms ease; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select { color-scheme: dark; }
.contact-form select option { color: var(--text); background-color: var(--ground); }
.contact-form ::placeholder { color: #8f9b94; opacity: 1; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 0; border-color: var(--accent); background: rgba(186,255,74,.025); }
.contact-form .invalid { border-color: var(--danger); }
.field-error { display: none; color: var(--danger); font-size: .67rem; }
.invalid + .field-error { display: block; }
.consent { display: flex; align-items: flex-start; gap: .65rem; color: var(--muted); font-size: .72rem; }
.consent input { appearance: none; width: 16px; height: 16px; flex: 0 0 16px; padding: 0; border: 1px solid var(--line-strong); }
.consent input:checked { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--ground-deep); }
.consent input.invalid { outline: 1px solid var(--danger); }
.submit-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; min-height: 58px; padding: 0 1.2rem; border: 0; color: var(--accent-ink); background: var(--accent); font-size: .8rem; font-weight: 700; cursor: pointer; transition: transform 150ms var(--ease-out), filter 180ms ease, opacity 180ms ease; }
.submit-button[disabled] { opacity: .62; cursor: wait; }
.submit-button.is-loading span { opacity: .65; }
.form-status { min-height: 1.4rem; margin: 0; color: var(--muted); font-size: .75rem; }
.form-status.success { color: var(--accent); }.form-status.error { color: var(--danger); }
.honeypot { position: absolute !important; left: -10000px !important; }

.site-footer { min-height: 260px; display: grid; grid-template-columns: .75fr 1fr .9fr; align-items: end; gap: 2rem; padding: 4rem var(--page); border-top: 1px solid var(--line); background: var(--ground-deep); }
.site-footer > p { max-width: 28rem; margin: 0; color: var(--muted); font-size: .78rem; }
.site-footer > div { display: flex; flex-direction: column; align-items: flex-end; gap: .65rem; color: var(--muted); font-size: .68rem; }
.site-footer > div a { color: var(--text); }
.site-footer i { font-style: normal; }

[data-reveal] { opacity: 1; transform: translateY(0); }
.js [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(24px); }
.js [data-reveal] { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .header-cta:hover, .submit-button:hover { filter: brightness(1.08); }
  .method-tabs button:not(.active):hover { color: var(--text); background: rgba(255,255,255,.03); }
  .service > button:hover h3, .whatsapp:hover { color: var(--accent); }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 1rem; }
  .main-nav { position: fixed; inset: 64px 0 auto; display: grid; gap: 0; padding: 1rem var(--page) 2rem; background: var(--ground-deep); border-bottom: 1px solid var(--line); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: transform 240ms var(--ease-out), opacity 180ms ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .header-cta { min-height: 38px; padding: 0 .8rem; font-size: .68rem; }
  .menu-button { justify-self: end; display: grid; grid-template-columns: 18px auto; align-items: center; column-gap: .6rem; width: auto; padding: .5rem 0; border: 0; background: transparent; }
  .menu-button span { grid-column: 1; width: 18px; height: 1px; background: currentColor; transition: transform 180ms var(--ease-out), opacity 140ms ease; }
  .menu-button span:nth-child(2) { margin-top: -6px; }.menu-button span:nth-child(3) { margin-top: -12px; }
  .menu-button b { grid-column: 2; grid-row: 1 / 4; font-size: .7rem; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { grid-template-columns: 1fr; }
  .hero-media { inset: 0; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,17,15,.96), rgba(7,17,15,.58) 68%, rgba(7,17,15,.28)), linear-gradient(0deg, rgba(7,17,15,.75), transparent 55%); }
  .hero::before { display: none; }
  .hero-copy { max-width: 95vw; }
  .hero-summary { grid-column: 1; padding-left: var(--page); }
  .premise, .services, .clients, .contact { grid-template-columns: 1fr; }
  .premise-copy { margin-top: 2rem; }
  .services-intro { position: static; }
  .method-workbench { grid-template-columns: 1fr; }
  .method-tabs { display: grid; grid-template-columns: repeat(5, minmax(120px,1fr)); overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .method-tabs button { min-height: 100px; border-right: 1px solid var(--line); border-bottom: 0; }
  .method-stage { min-height: 560px; }
  .score { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > div { grid-column: 2; grid-row: 1 / 3; }
}

@media (max-width: 700px) {
  :root { --page: 1.15rem; --section: 5.5rem; }
  .site-header { height: 64px; }
  .site-header .brand { width: 44px; height: 44px; }
  .site-header .brand-symbol { height: 35px; }
  .hero { min-height: 100dvh; }
  .hero-media { left: 18%; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,17,15,.98), rgba(7,17,15,.68) 78%, rgba(7,17,15,.34)), linear-gradient(0deg, rgba(7,17,15,.82), transparent 48%); }
  .hero-copy { align-self: end; padding: 6rem var(--page) 10.5rem; }
  .hero h1 { font-size: clamp(2.65rem, 12.5vw, 4rem); line-height: .96; }
  .hero h1 br { display: none; }
  .hero-proof { display: none; }
  .hero-summary { position: absolute; bottom: 0; max-width: 30rem; padding: 1.4rem var(--page) 1.7rem; border-top: 1px solid var(--line-strong); font-size: .82rem; }
  .premise-lead h2, .method-heading h2, .services-intro h2, .case-heading h2, .clients h2, .contact h2, .score-copy h2 { font-size: clamp(2.35rem, 11vw, 3.6rem); }
  .decision-field, .findings { grid-template-columns: 1fr; }
  .decision-field article, .decision-field article:first-child, .findings article, .findings article:first-child { grid-column: auto; grid-row: auto; min-height: 190px; }
  .decision-field article:last-child, .findings article:last-child { grid-column: auto; }
  .decision-field article:first-child { min-height: 260px; }
  .method-workbench { border-left: 0; border-right: 0; margin-inline: calc(var(--page) * -1); }
  .method-tabs { padding-left: var(--page); }
  .method-stage { grid-template-columns: 1fr; min-height: 650px; }
  .section-model { min-height: 350px; }
  .method-detail { border-left: 0; border-top: 1px solid var(--line); padding: 1.7rem var(--page) 2rem; }
  .service > button { grid-template-columns: 1fr 24px; }
  .service button span { grid-row: 2; }.service button i { grid-column: 2; grid-row: 1 / 3; }
  .service-panel ul { display: grid; gap: .5rem; }
  .score-copy { padding: 5rem var(--page); }
  .score-switch { width: 100%; }.score-switch button { flex: 1; font-size: .73rem; }
  .score-reading strong { font-size: 7rem; }
  .client-types { grid-template-columns: 1fr; }
  .client-types span:nth-child(even) { padding-left: 0; border-left: 0; }
  .field-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; align-items: start; }
  .site-footer > div { grid-column: 1; grid-row: auto; align-items: flex-start; }
}

@media (max-width: 470px) {
  .site-header { gap: .65rem; }
  .header-cta { min-height: 35px; padding: 0 .65rem; }
  .header-cta i { display: none; }
  .menu-button b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .score-visual::after, .scan-sweep { display: none; }
  .scan-node { animation: none; box-shadow: 0 8px 22px rgba(25,52,33,.32); }
  .js [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}

/* 2.1 — clearer entry points, sharper media and a readable diagnostic surface. */
section[id], main[id] { scroll-margin-top: 90px; }
section[tabindex="-1"]:focus, main[tabindex="-1"]:focus { outline: none; }
main > section { min-width: 0; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.main-nav a[aria-current] { color: var(--accent); }
.main-nav a[aria-current]::after { transform: scaleX(1); }
.main-nav a::after { bottom: 4px; }
.header-cta { min-height: 44px; }
.hero { min-height: min(950px, 100svh); grid-template-columns: 1fr; }
.hero-copy { max-width: min(70rem, 83vw); padding: 9rem var(--page) 4rem; }
.hero h1 { max-width: 17ch; margin-bottom: 1.4rem; font-size: clamp(3.3rem, 5.6vw, 5.6rem); line-height: 1; }
.hero h1 em { white-space: normal; }
.hero-description { max-width: 37ch; margin-bottom: 2rem; color: #d4ddd2; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.65; }
.hero-shade { background: linear-gradient(90deg, #07110f 0 28%, rgba(7,17,15,.96) 38%, rgba(7,17,15,.7) 52%, rgba(7,17,15,.08) 80%), linear-gradient(0deg, rgba(7,17,15,.8), transparent 30%); }
.hero-media { left: 32%; }
.hero::before { left: 32%; opacity: .4; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-bottom: 2rem; }
.action-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 54px; padding: .8rem 1.2rem; background: var(--accent); color: var(--accent-ink); font-size: .86rem; font-weight: 700; transition: background-color 180ms ease, transform 150ms ease; }
.action-primary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.action-primary:active { transform: scale(.98); }
.text-link { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; font-size: .84rem; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .35em; }
.text-link:hover { color: var(--accent); }
.hero-proof { max-width: 33rem; }
.hero-proof span { font-size: .72rem; padding-right: 1rem; margin-right: .8rem; color: #bac9bc; }
.hero-bottom { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1rem var(--page); border-top: 1px solid var(--line); color: #c6d2c6; font-size: .72rem; }
.motion-control { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .8rem; border: 1px solid var(--line-strong); color: var(--text); background: #102019; font-size: .72rem; cursor: pointer; }
.decision-field { margin-top: 3.5rem; grid-template-columns: 1.2fr 1fr; }
.decision-field article, .decision-field article:first-child { min-height: 170px; grid-row: auto; display: block; }
.decision-field article:first-child { background: #243a2d; color: var(--text); }
.decision-field article:first-child strong { color: var(--accent); }
.decision-field article:last-child { grid-column: auto; }
.decision-field p { margin-top: 1.2rem; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.method-heading, .case-heading { margin-bottom: 3.5rem; }
.method-workbench { min-height: 500px; grid-template-columns: .62fr 1.55fr; }
.method-stage { grid-template-columns: .8fr 1fr; }
.method-detail { padding: 2.5rem; }
.method-controls { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border: 1px solid var(--line-strong); border-top: 0; padding: .5rem 1.2rem; }
.method-controls button { min-height: 44px; padding: .6rem .3rem; border: 0; color: var(--text); background: transparent; cursor: pointer; font-size: .8rem; }
.method-controls > span { color: var(--muted); font-size: .78rem; }
[data-stage="1"] .slab-a { transform: skewY(-14deg) translateY(-28px); }
[data-stage="2"] .slab-b { transform: skewY(-14deg) translateX(24px); }
[data-stage="3"] .model-slab { transform: skewY(-14deg) translateY(16px); }
[data-stage="4"] .slab-a, [data-stage="4"] .slab-c { background: rgba(186,255,74,.22); }
.service-entry { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.service-entry > span { font-size: .8rem; color: var(--accent); }
.service-entry p { margin: .8rem 0; color: var(--muted); font-size: .9rem; }
.service-entry .text-link { font-size: .8rem; }
.service-list .service:first-child > button { border-top: 1px solid var(--accent); }
.service-panel[aria-hidden="true"] { visibility: hidden; }
html:not(.js) .service-panel { grid-template-rows: 1fr; }
.findings article { min-height: 270px; }
.findings article:first-child { justify-content: space-between; }
.finding-action { margin-top: 1.7rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.finding-action small { display: block; margin: .7rem 0 .35rem; color: #c6d4c6; font-size: .72rem; }
.finding-action p { font-size: .9rem; }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); padding: var(--section) var(--page); background: var(--ground); }
.faq h2 { font-size: clamp(2.5rem, 4.4vw, 4.6rem); line-height: 1.05; letter-spacing: -.04em; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; gap: 1rem; min-height: 48px; padding: 1.25rem 0; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: 0 0 8px; height: 8px; margin-left: auto; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transition: transform 180ms ease; }
details[open] > summary::after { transform: rotate(225deg); }
details[open] > summary { color: var(--accent); }
.faq-list p { color: var(--muted); line-height: 1.7; max-width: 65ch; margin: 0 0 1.7rem; }
.contact-copy > .contact-expectation { font-size: .85rem; margin: -1rem 0 2rem; }
.form-help { color: var(--muted); font-size: .75rem; margin: 0; }
.contact-form label > span { font-size: .83rem; }
.contact-form input, .contact-form select, .contact-form textarea { min-height: 48px; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.field-error { font-size: .78rem; }
.field-error.is-visible { display: block; }
.optional-fields { border-block: 1px solid var(--line); }
.optional-fields summary { padding-block: .7rem; font-size: .84rem; }
.optional-fields summary span { font-size: .72rem; color: var(--muted); margin-left: auto; }
.optional-fields .field-grid { padding: 1rem 0 1.5rem; }
.consent { align-items: center; min-height: 44px; cursor: pointer; }
.consent input { width: 22px; height: 22px; min-height: 22px; flex-basis: 22px; }
.consent span { font-size: .8rem !important; }
.privacy-note { color: var(--muted); font-size: .75rem; margin-top: -1rem; }
.privacy-note summary { padding: .4rem 0; }
.privacy-note p { line-height: 1.7; }
.form-status { font-size: .85rem; line-height: 1.6; }
button:disabled { cursor: wait; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
@media (hover: hover) { .action-primary:hover { background: #ccff7c; } .system-controls button:not([aria-pressed="true"]):hover { background: #253b2f; } }
@media (max-width: 1100px) { .scan-annotation { padding: .5rem; } .scan-annotation small { font-size: .63rem; } }
@media (max-width: 980px) {
  .site-header { height: 64px; background: #07110f; }
  .main-nav { visibility: hidden; }
  .main-nav.is-open { visibility: visible; }
  .menu-button { min-width: 44px; min-height: 44px; cursor: pointer; }
  .header-cta { min-height: 44px; }
  .hero { min-height: 800px; }
  .hero-copy { max-width: 95vw; padding-top: 9rem; }
  .hero h1 { max-width: 17ch; }
  .hero-media { left: 20%; }
  .method-workbench { grid-template-columns: 1fr; }
  .method-tabs { position: relative; scroll-padding-inline: 1rem; }
  .method-tabs button.active { transform: none; }
  .method-stage { min-height: 450px; }
  .score { grid-template-columns: 1fr; }
  .scan-dossier { position: static; border-right: 0; border-bottom: 1px solid var(--line); padding: 2rem var(--page); }
  .score-visual { max-width: 640px; margin-inline: auto; }
  .scan-annotation strong { font-size: .85rem; }
  .system-description { min-height: 3.3em; }
  .score-copy { padding: 4rem var(--page); }
  .scenario-insight { min-height: 0; }
  .faq { grid-template-columns: 1fr; gap: 2rem; }
  .faq h2 { max-width: 16ch; }
}
@media (max-width: 700px) {
  :root { --section: 4.5rem; }
  .site-header { gap: .6rem; }
  .header-cta { font-size: .7rem; min-height: 44px; }
  .hero { min-height: 100svh; }
  .hero-copy { max-width: 100%; align-self: center; padding: 8rem var(--page) 3rem; }
  .hero h1 { font-size: clamp(2.65rem, 10.7vw, 4.5rem); max-width: 16ch; line-height: 1.02; }
  .hero-media { left: 0; }
  .hero-media .hero-poster, .hero-media video { object-position: 36% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,17,15,.94), rgba(7,17,15,.75) 66%, rgba(7,17,15,.56)), linear-gradient(0deg, #07110f, transparent 60%); }
  .hero-description { font-size: .98rem; }
  .hero-actions { gap: .75rem; align-items: flex-start; flex-direction: column; margin-bottom: 1.3rem; }
  .hero-proof { display: flex; gap: .35rem .85rem; padding-top: .9rem; }
  .hero-proof span { padding: 0; margin: 0; font-size: .68rem; }
  .hero-bottom { align-items: center; gap: .8rem; font-size: .66rem; }
  .hero-bottom > span { max-width: 23ch; }
  .motion-control { flex-shrink: 0; font-size: .68rem; }
  .decision-field { grid-template-columns: 1fr; margin-top: 2rem; }
  .decision-field article, .decision-field article:first-child { min-height: auto; padding: 1.4rem; }
  .decision-field p { max-width: 25ch; margin-top: .7rem; }
  .method-workbench { margin-inline: 0; border: 1px solid var(--line-strong); }
  .method-tabs { padding-left: 0; grid-template-columns: repeat(5, minmax(150px, 1fr)); }
  .method-tabs button { min-height: 95px; padding: 1rem; }
  .method-stage { grid-template-columns: 1fr; min-height: 0; }
  .section-model { min-height: 230px; max-height: 230px; }
  .method-detail { padding: 1.5rem; min-height: 370px; }
  .method-controls { padding: .4rem .6rem; gap: .5rem; }
  .method-controls > span { font-size: .7rem; }
  .method-controls button { font-size: .75rem; }
  .scan-dossier { padding-inline: 1rem; }
  .scan-topline { font-size: .6rem; }
  .scan-annotation { padding: .45rem; }
  .scan-annotation strong { font-size: .65rem; }
  .scan-annotation small { font-size: .6rem; }
  .annotation-a { left: 0; }.annotation-b { right: 0; }.annotation-c { left: 3%; }
  .scan-state { font-size: .6rem; }
  .system-controls { margin-top: 1rem; }
  .system-controls button { font-size: .7rem; padding-inline: .25rem; }
  .system-description { font-size: .82rem; min-height: 6.6em; }
  .score-copy { padding: 3rem var(--page) 4rem; }
  .score-reading strong { font-size: 6rem; }
  .score-dimensions summary span { font-size: .7rem; }
  .findings article, .findings article:first-child { min-height: auto; padding: 1.5rem; }
  .findings article:first-child { display: block; }
  .finding-action { margin-top: 1rem; }
  .faq { padding-block: 4rem; }
  .faq h2 { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) { .scan-plane { transform: none !important; } }
.scenario-caption { margin-block: 1.5rem .8rem; color: var(--acid, #baff4a); font-size: .9rem; line-height: 1.5; }
html:not(.js) .motion-control, html:not(.js) .score-switch, html:not(.js) .system-controls, html:not(.js) .method-controls { display: none; }
@media (max-width: 980px) {
  html:not(.js) .site-header { position: relative; display: flex; flex-wrap: wrap; height: auto; padding-block: .8rem; }
  html:not(.js) .menu-button { display: none; }
  html:not(.js) .header-cta { margin-left: auto; }
  html:not(.js) .main-nav { position: static; order: 3; width: 100%; display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: 0; visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  html:not(.js) .main-nav a { font-size: .8rem; padding: .4rem 0; }
}
