/* NovaSolutions — éditorial, précis et sans dépendance d’interface. */
:root {
  --paper: #f6f6f4;
  --ink: #1a1a1a;
  --muted: #686b65;
  --green: #1c3a13;
  --sage: #d2d8d0;
  --sage-soft: #e7eae4;
  --line: #ced1c9;
  --white: #ffffff;
  --mono: "IBM Plex Mono", monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1320px;
  --header-height: 88px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
p, h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: var(--paper); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.shell { width: min(calc(100% - 96px), var(--shell)); margin-inline: auto; }
.mono, .eyebrow { font-family: var(--mono); font-size: .7rem; font-weight: 400; letter-spacing: .11em; line-height: 1.5; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; background: var(--green); color: var(--paper); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

/* En-tête */
.site-header { position: sticky; z-index: 30; top: 0; min-height: var(--header-height); border-bottom: 1px solid transparent; background: rgba(246,246,244,.94); transition: border-color 200ms ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: grid; min-height: var(--header-height); grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; }
.brand { display: inline-flex; width: fit-content; min-height: 48px; align-items: center; }
.brand img { width: 146px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a { position: relative; display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-size: .84rem; text-decoration: none; }
.desktop-nav a::after { position: absolute; right: 0; bottom: 7px; left: 0; height: 1px; background: var(--green); content: ""; transform: scaleX(0); transform-origin: right; transition: transform 220ms var(--ease); }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--ink); }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header-contact { display: inline-flex; min-height: 44px; align-items: center; justify-self: end; gap: 18px; border-bottom: 1px solid var(--ink); font-size: .82rem; font-weight: 500; text-decoration: none; }
.header-contact span { transition: transform 220ms var(--ease); }
.header-contact:hover span { transform: translate(3px,3px); }
.menu-toggle, .mobile-nav { display: none; }

/* Héros */
.hero { padding-top: 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: stretch; }
.hero-copy { grid-column: 1 / 8; padding: 46px 24px 54px 0; }
.hero-copy .eyebrow { margin-bottom: 46px; }
.hero h1 { max-width: 9.7ch; font-size: clamp(3.6rem,6.5vw,6.6rem); font-weight: 450; letter-spacing: -.07em; line-height: .96; }
.hero h1 span { color: var(--green); }
.hero-intro { max-width: 590px; margin-top: 40px; color: var(--muted); font-size: clamp(1.05rem,1.4vw,1.22rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 42px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 34px; padding: 14px 22px; font-size: .84rem; font-weight: 500; text-decoration: none; transition: background 180ms ease,color 180ms ease; }
.button-primary { background: var(--green); color: var(--paper); }
.button-primary:hover { background: #2a4b20; }
.button-primary span:last-child { font-size: 1.1rem; transition: transform 200ms var(--ease); }
.button-primary:hover span:last-child { transform: translate(3px,3px); }
.text-link { display: inline-flex; min-height: 48px; align-items: center; gap: 14px; font-size: .83rem; text-underline-offset: 5px; }
.text-link span { transition: transform 200ms var(--ease); }
.text-link:hover span { transform: translateY(3px); }
.hero-map { position: relative; grid-column: 8 / 13; padding: 28px 30px 26px; background: var(--sage-soft); }
.map-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .7rem; }
.map-heading > span:last-child { font-family: var(--mono); font-size: .66rem; }
.decision-map { width: 100%; max-height: 440px; margin-block: 18px 4px; color: var(--green); }
.map-grid { opacity: .12; }
.map-path { fill: none; stroke-width: 1.4; }
.map-path-base { stroke: rgba(28,58,19,.22); }
.map-path-progress { stroke: var(--green); }
.map-node circle { fill: var(--paper); stroke: var(--green); stroke-width: 1.4; }
.map-node .node-core { fill: var(--green); stroke: none; }
.map-node text { fill: var(--green); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.map-node .node-sub { fill: var(--muted); font-family: var(--sans); font-size: 10px; letter-spacing: 0; }
.map-node .decision-ring { fill: none; stroke-dasharray: 2 4; }
.map-note { max-width: 36ch; margin-left: auto; padding-top: 20px; border-top: 1px solid rgba(28,58,19,.2); color: var(--muted); font-size: .76rem; line-height: 1.6; }
.operating-principles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 68px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.operating-principles p { display: flex; min-height: 92px; align-items: center; gap: 20px; padding: 20px 24px; color: var(--muted); font-size: .78rem; }
.operating-principles p:first-child { padding-left: 0; }
.operating-principles p + p { border-left: 1px solid var(--line); }
.operating-principles span { color: var(--green); font-family: var(--mono); font-size: .66rem; }

/* Structure éditoriale commune */
.section { padding-block: 144px; }
.section-heading { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; margin-bottom: 92px; }
.section-heading .eyebrow { grid-column: 1 / 4; align-self: start; margin-top: 14px; }
.section-heading h2 { grid-column: 4 / 11; font-size: clamp(2.6rem,4.7vw,4.8rem); font-weight: 450; letter-spacing: -.055em; line-height: 1.03; }
.section-heading h2 span { color: var(--green); }
.section-heading > p:last-child { grid-column: 9 / 13; max-width: 410px; margin-top: 34px; color: var(--muted); font-size: .95rem; }
.section-note { max-width: 620px; margin: 34px 0 0 auto; color: var(--muted); font-size: .78rem; }

/* Services */
.services { padding-bottom: 124px; }
.service-list { border-bottom: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; padding-block: 46px; border-top: 1px solid var(--line); }
.service-index { grid-column: 1 / 3; display: flex; flex-direction: column; gap: 9px; }
.service-index span:first-child { color: var(--green); font-family: var(--mono); font-size: .78rem; }
.service-index span:last-child { color: var(--muted); font-family: var(--mono); font-size: .63rem; letter-spacing: .08em; }
.service-main { grid-column: 3 / 8; padding-right: 32px; }
.service-main h3 { max-width: 480px; font-size: clamp(1.65rem,2.5vw,2.45rem); font-weight: 450; letter-spacing: -.045em; line-height: 1.12; }
.service-main p { max-width: 520px; margin-top: 20px; color: var(--muted); font-size: .92rem; }
.service-detail { grid-column: 8 / 13; padding-left: 34px; border-left: 1px solid var(--line); }
.service-detail h4 { margin-bottom: 12px; color: var(--muted); font-family: var(--mono); font-size: .64rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; }
.service-detail > p { font-size: .88rem; }
.service-detail .deliverable { margin-top: 22px; color: var(--muted); font-size: .78rem; }
.deliverable span { display: block; margin-bottom: 4px; color: var(--green); font-family: var(--mono); font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; }

/* Méthode pilotée par le défilement */
.method { background: var(--green); color: var(--paper); }
.method-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; }
.method-sticky { position: sticky; top: 120px; grid-column: 1 / 6; align-self: start; padding-right: 44px; }
.method .eyebrow { color: var(--sage); }
.method-intro h2 { margin-top: 32px; font-size: clamp(2.6rem,4.4vw,4.5rem); font-weight: 450; letter-spacing: -.055em; line-height: 1.02; }
.method-intro h2 span { color: var(--sage); }
.method-intro > p:last-child { max-width: 450px; margin-top: 28px; color: rgba(246,246,244,.66); font-size: .92rem; }
.method-visual { position: relative; display: flex; height: 210px; align-items: center; gap: 18px; margin-top: 38px; padding-left: 44px; }
.method-path { width: 84px; height: 210px; overflow: visible; }
.method-path-base, .method-path-draw { fill: none; stroke-width: 1.4; }
.method-path-base { stroke: rgba(246,246,244,.16); }
.method-path-draw { stroke: var(--sage); }
.method-dot { fill: var(--paper); stroke: var(--green); stroke-width: 2; }
.method-visual > .mono { color: rgba(246,246,244,.48); font-size: .56rem; }
.method-ticks { position: absolute; top: 8px; bottom: 8px; left: 0; display: flex; flex-direction: column; justify-content: space-between; }
.method-ticks i { display: block; width: 13px; height: 1px; background: rgba(246,246,244,.22); transition: width 180ms ease,background 180ms ease; }
.method-ticks i.is-active { width: 30px; background: var(--sage); }
.method-steps { grid-column: 7 / 13; border-bottom: 1px solid rgba(246,246,244,.2); }
.method-step { padding: 58px 0 64px; border-top: 1px solid rgba(246,246,244,.2); }
.step-number { color: var(--sage); font-family: var(--mono); font-size: .72rem; }
.method-step h3 { margin-top: 16px; color: rgba(246,246,244,.58); font-size: clamp(2.2rem,3.8vw,3.8rem); font-weight: 450; letter-spacing: -.05em; line-height: 1.05; transition: color 240ms ease,transform 300ms var(--ease); }
.method-step.is-active h3 { color: var(--paper); transform: translateX(8px); }
.method-step > p { max-width: 580px; margin-top: 24px; color: rgba(246,246,244,.65); font-size: .94rem; }
.step-output { display: grid; grid-template-columns: 90px 1fr; gap: 20px; max-width: 580px; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(246,246,244,.13); }
.step-output span { color: var(--sage); font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.step-output p { color: rgba(246,246,244,.78); font-size: .79rem; }

/* Calculateur du temps répétitif */
.calculator-shell { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr); background: var(--sage-soft); }
.calculator-inputs { padding: 56px; }
.calculator-intro h2 { max-width: 620px; font-size: clamp(2.4rem,4vw,4rem); font-weight: 450; letter-spacing: -.055em; line-height: 1.04; }
.calculator-intro p { max-width: 520px; margin-top: 22px; color: var(--muted); font-size: .92rem; }
.calculator-controls { display: grid; gap: 30px; margin-top: 48px; }
.range-label { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; font-size: .85rem; font-weight: 500; line-height: 1.5; }
.range-value { flex: 0 0 auto; color: var(--green); font-family: var(--mono); font-size: .76rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.range-control input[type="range"] { width: 100%; height: 44px; margin: 5px 0 0; padding: 0; border: 0; background: transparent; cursor: pointer; appearance: none; -webkit-appearance: none; }
.range-control input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right,var(--green) 0,var(--green) var(--range-progress,0%),rgba(28,58,19,.2) var(--range-progress,0%),rgba(28,58,19,.2) 100%); }
.range-control input[type="range"]::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -7.5px; border: 0; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--sage-soft); appearance: none; -webkit-appearance: none; transition: transform 180ms ease; }
.range-control input[type="range"]::-moz-range-track { height: 3px; background: rgba(28,58,19,.2); }
.range-control input[type="range"]::-moz-range-progress { height: 3px; background: var(--green); }
.range-control input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--sage-soft); transition: transform 180ms ease; }
.range-control input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); }
.range-control input[type="range"]:hover::-moz-range-thumb { transform: scale(1.12); }
.range-control input[type="range"]:focus-visible { outline-offset: 2px; }
.range-bounds { display: flex; justify-content: space-between; margin-top: -3px; color: var(--muted); font-family: var(--mono); font-size: .6rem; }
.calculator-results { display: flex; flex-direction: column; justify-content: center; gap: 42px; padding: 56px; background: var(--green); color: var(--paper); }
.calculator-result + .calculator-result { padding-top: 42px; border-top: 1px solid rgba(246,246,244,.22); }
.result-label { display: block; color: var(--sage); font-family: var(--mono); font-size: .64rem; letter-spacing: .09em; line-height: 1.5; text-transform: uppercase; }
.result-value { display: block; margin-top: 14px; font-size: clamp(2.2rem,3.6vw,4rem); font-weight: 450; font-variant-numeric: tabular-nums; letter-spacing: -.055em; line-height: 1.08; }
.calculator-note { grid-column: 1 / -1; padding: 22px 56px 26px; border-top: 1px solid rgba(28,58,19,.18); color: var(--muted); font-size: .74rem; line-height: 1.65; }

/* Principes */
.principles { padding-bottom: 120px; }
.principle-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.principle { position: relative; min-height: 330px; padding: 42px 48px 48px 0; border-top: 1px solid var(--line); }
.principle:nth-child(even) { padding-right: 0; padding-left: 48px; border-left: 1px solid var(--line); }
.principle-symbol { position: absolute; top: 38px; right: 40px; color: var(--green); font-family: var(--mono); font-size: 1.5rem; font-weight: 400; }
.principle .mono { color: var(--muted); font-size: .62rem; }
.principle h3 { max-width: 420px; margin-top: 42px; font-size: clamp(1.45rem,2.2vw,2rem); font-weight: 450; letter-spacing: -.035em; line-height: 1.18; }
.principle > p:last-child { max-width: 500px; margin-top: 22px; color: var(--muted); font-size: .87rem; }

/* Points de départ */
.starting-points { background: var(--sage-soft); }
.starting-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; }
.starting-heading { grid-column: 1 / 7; padding-right: 44px; }
.starting-heading h2 { margin-top: 34px; font-size: clamp(2.5rem,4.3vw,4.3rem); font-weight: 450; letter-spacing: -.055em; line-height: 1.04; }
.starting-heading h2 span { color: var(--green); }
.starting-list { grid-column: 8 / 13; border-bottom: 1px solid rgba(28,58,19,.22); }
.starting-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-block: 25px; border-top: 1px solid rgba(28,58,19,.22); }
.starting-list span { padding-top: 3px; color: var(--green); font-family: var(--mono); font-size: .66rem; }
.starting-list p { font-size: .9rem; }

/* À propos */
.about-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: start; }
.about-copy { grid-column: 1 / 8; padding-right: 48px; }
.about-copy h2 { margin-top: 36px; font-size: clamp(2.7rem,4.7vw,4.8rem); font-weight: 450; letter-spacing: -.055em; line-height: 1.02; }
.about-copy h2 span { color: var(--green); }
.about-lead { max-width: 650px; margin-top: 40px; font-size: 1.18rem; line-height: 1.6; }
.about-copy > p:not(.about-lead) { max-width: 610px; margin-top: 24px; color: var(--muted); font-size: .92rem; }
.about-footprint { grid-column: 9 / 13; padding: 30px; background: var(--sage-soft); }
.about-footprint > .mono { color: var(--muted); font-size: .61rem; }
.about-footprint ol { margin-top: 24px; }
.about-footprint li { display: grid; grid-template-columns: 30px 1fr; padding-block: 24px; border-top: 1px solid rgba(28,58,19,.18); }
.about-footprint li > span { grid-row: 1 / 3; padding-top: 8px; color: var(--green); font-family: var(--mono); font-size: .62rem; }
.about-footprint strong { font-size: clamp(1.7rem,2.6vw,2.5rem); font-weight: 450; letter-spacing: -.04em; line-height: 1.1; }
.about-footprint small { margin-top: 6px; color: var(--muted); font-size: .7rem; }

/* FAQ */
.faq { padding-top: 40px; }
.faq-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; }
.faq-heading { grid-column: 1 / 5; }
.faq-heading h2 { margin-top: 30px; font-size: clamp(2.7rem,4.2vw,4.2rem); font-weight: 450; letter-spacing: -.055em; line-height: 1.03; }
.faq-heading > p:last-child { max-width: 300px; margin-top: 24px; color: var(--muted); font-size: .85rem; }
.faq-list { grid-column: 6 / 13; border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; font-size: .96rem; font-weight: 500; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; width: 20px; height: 20px; flex: 0 0 auto; }
.faq-list summary span::before, .faq-list summary span::after { position: absolute; top: 9px; left: 2px; width: 16px; height: 1px; background: var(--green); content: ""; transition: transform 200ms ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details > p { max-width: 650px; padding: 0 44px 28px 0; color: var(--muted); font-size: .87rem; }

/* Contact */
.contact { padding-block: 116px 100px; background: var(--sage); }
.contact .eyebrow { color: var(--green); }
.contact-heading { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 24px; align-items: end; margin-top: 44px; }
.contact-heading h2 { grid-column: 1 / 9; font-size: clamp(3.2rem,6.5vw,6.7rem); font-weight: 450; letter-spacing: -.065em; line-height: .96; }
.contact-heading h2 span { color: var(--green); }
.contact-heading > p { grid-column: 9 / 13; max-width: 360px; padding-bottom: 10px; color: #485644; font-size: .9rem; }
.contact-actions { margin-top: 82px; }
.contact-email { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 28px 80px 32px 0; border-top: 1px solid rgba(28,58,19,.35); border-bottom: 1px solid rgba(28,58,19,.35); text-decoration: none; }
.contact-email > span:first-child { grid-column: 1; color: var(--green); font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-email strong { grid-column: 1; margin-top: 10px; font-size: clamp(1.45rem,3.7vw,3.8rem); font-weight: 450; letter-spacing: -.045em; line-height: 1.1; overflow-wrap: anywhere; }
.contact-arrow { position: absolute; top: 50%; right: 8px; color: var(--green); font-size: 2.8rem; transform: translateY(-50%); transition: transform 240ms var(--ease); }
.contact-email:hover .contact-arrow { transform: translate(6px,-60%); }
.contact-secondary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 34px; }
.contact-secondary a, .contact-secondary p { display: flex; min-height: 64px; flex-direction: column; gap: 7px; text-decoration: none; }
.contact-secondary a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.contact-secondary span { color: #52604d; font-family: var(--mono); font-size: .61rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-secondary strong { font-size: .92rem; font-weight: 500; }

/* Pied de page */
.site-footer { padding-block: 64px 28px; }
.footer-top { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 48px; align-items: start; padding-bottom: 62px; }
.footer-brand { display: inline-flex; width: fit-content; min-height: 48px; align-items: center; }
.footer-brand img { width: 154px; height: auto; }
.footer-top > p { color: var(--muted); font-size: .8rem; }
.footer-top nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 24px; }
.footer-top nav a { display: inline-flex; min-height: 36px; align-items: center; color: var(--muted); font-size: .78rem; text-decoration: none; }
.footer-top nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: .6rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; text-decoration: none; }

/* Entrées progressives : le contenu reste visible sans JavaScript. */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity 700ms var(--ease),transform 700ms var(--ease); }
@media (hover: hover) {
  .service-main h3 { transition: transform 260ms var(--ease); }
  .service-row:hover .service-main h3 { transform: translateX(6px); }
}

@media (max-width: 1100px) {
  .shell { width: min(calc(100% - 64px),var(--shell)); }
  .hero-copy { grid-column: 1 / 8; }
  .hero-map { grid-column: 8 / 13; padding-inline: 20px; }
  .section-heading h2 { grid-column: 4 / 13; }
  .section-heading > p:last-child { grid-column: 4 / 10; }
  .service-main { grid-column: 3 / 7; padding-right: 10px; }
  .service-detail { grid-column: 7 / 13; }
  .method-sticky { grid-column: 1 / 6; padding-right: 16px; }
  .method-steps { grid-column: 6 / 13; }
  .starting-heading { grid-column: 1 / 7; padding-right: 10px; }
  .starting-list { grid-column: 7 / 13; }
  .about-copy { grid-column: 1 / 8; padding-right: 12px; }
  .about-footprint { grid-column: 8 / 13; }
  .calculator-inputs, .calculator-results { padding: 44px; }
  .calculator-note { padding-inline: 44px; }
}

@media (max-width: 900px) {
  :root { --header-height: 76px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-contact { display: none; }
  .menu-toggle { position: relative; display: block; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { position: absolute; top: 20px; left: 14px; width: 18px; height: 1px; background: var(--ink); transition: transform 220ms ease,top 220ms ease; }
  .menu-toggle span:last-child { top: 27px; }
  .menu-toggle[aria-expanded="true"] span { top: 23px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .mobile-nav { position: absolute; top: 100%; right: 0; left: 0; display: grid; padding: 18px 32px 28px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .mobile-nav a { display: flex; min-height: 56px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 1.05rem; text-decoration: none; }
  .mobile-nav a span { color: var(--muted); font-family: var(--mono); font-size: .62rem; }
  .hero { padding-top: 44px; }
  .hero-copy { grid-column: 1 / 8; padding-right: 0; }
  .hero h1 { font-size: clamp(3.2rem,7.6vw,5rem); }
  .hero-map { grid-column: 8 / 13; }
  .map-node text { font-size: 8px; }
  .map-node .node-sub { font-size: 8px; }
  .section { padding-block: 104px; }
  .section-heading { margin-bottom: 66px; }
  .section-heading .eyebrow { grid-column: 1 / 4; }
  .section-heading h2 { grid-column: 4 / 13; }
  .section-heading > p:last-child { grid-column: 4 / 11; }
  .service-index { grid-column: 1 / 3; }
  .service-main { grid-column: 3 / 13; padding-right: 0; }
  .service-detail { grid-column: 3 / 13; margin-top: 8px; padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .method-grid { display: block; }
  .method-sticky { position: relative; top: auto; padding-right: 0; }
  .method-intro > p:last-child { max-width: 600px; }
  .method-visual { height: 160px; margin-block: 34px 50px; }
  .method-path { height: 160px; }
  .method-steps { margin-left: 18%; }
  .principle { padding-right: 28px; }
  .principle:nth-child(even) { padding-left: 28px; }
  .starting-heading { grid-column: 1 / 7; }
  .starting-list { grid-column: 7 / 13; }
  .about-copy { grid-column: 1 / 8; }
  .about-footprint { grid-column: 8 / 13; padding: 22px; }
  .calculator-shell { grid-template-columns: 1fr; }
  .calculator-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; }
  .calculator-result + .calculator-result { padding-top: 0; padding-left: 32px; border-top: 0; border-left: 1px solid rgba(246,246,244,.22); }
  .contact-heading h2 { grid-column: 1 / 9; }
  .contact-heading > p { grid-column: 9 / 13; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top nav { grid-column: 2; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 40px); }
  .brand img { width: 130px; }
  .mobile-nav { padding-inline: 20px; }
  .hero { padding-top: 34px; }
  .hero-grid { display: block; }
  .hero-copy { padding: 20px 0 46px; }
  .hero-copy .eyebrow { margin-bottom: 32px; }
  .hero h1 { max-width: 10ch; font-size: clamp(3.05rem,14.6vw,4.7rem); line-height: .96; }
  .hero-intro { margin-top: 28px; font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 14px; margin-top: 32px; }
  .hero-actions .text-link { justify-content: center; }
  .hero-map { padding: 22px 18px; }
  .decision-map { max-height: none; margin-block: 14px 4px; }
  .map-node text { font-size: 10px; }
  .map-node .node-sub { font-size: 10px; }
  .operating-principles { grid-template-columns: 1fr; margin-top: 40px; }
  .operating-principles p { min-height: 64px; padding: 16px 0; }
  .operating-principles p + p { border-top: 1px solid var(--line); border-left: 0; }
  .section { padding-block: 84px; }
  .section-heading { display: block; margin-bottom: 52px; }
  .section-heading .eyebrow { margin-top: 0; }
  .section-heading h2 { margin-top: 28px; font-size: clamp(2.45rem,11.5vw,3.6rem); }
  .section-heading > p:last-child { margin-top: 26px; font-size: .9rem; }
  .service-row { display: block; padding-block: 34px; }
  .service-index { flex-direction: row; align-items: center; justify-content: space-between; }
  .service-main { margin-top: 24px; }
  .service-main h3 { font-size: 2rem; }
  .service-main p { margin-top: 16px; }
  .service-detail { margin-top: 24px; }
  .section-note { margin-top: 26px; }
  .method-intro h2 { font-size: clamp(2.5rem,11.4vw,3.7rem); }
  .method-visual { margin-bottom: 34px; }
  .method-steps { margin-left: 0; }
  .method-step { padding-block: 44px 50px; }
  .method-step h3 { font-size: 2.65rem; }
  .step-output { grid-template-columns: 72px 1fr; gap: 12px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle { min-height: 0; padding: 34px 0 40px; }
  .principle:nth-child(even) { padding: 34px 0 40px; border-left: 0; }
  .principle-symbol { right: 0; }
  .principle h3 { margin-top: 32px; padding-right: 20px; }
  .starting-grid { display: block; }
  .starting-heading { padding-right: 0; }
  .starting-heading h2 { font-size: clamp(2.45rem,11.3vw,3.5rem); }
  .starting-list { margin-top: 48px; }
  .about-grid { display: block; }
  .about-copy { padding-right: 0; }
  .about-copy h2 { font-size: clamp(2.55rem,11.3vw,3.6rem); }
  .about-lead { font-size: 1.05rem; }
  .about-footprint { margin-top: 48px; padding: 26px; }
  .calculator-inputs { padding: 32px 24px; }
  .calculator-intro h2 { font-size: clamp(2.25rem,10.5vw,3.2rem); }
  .calculator-controls { gap: 24px; margin-top: 38px; }
  .calculator-results { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .calculator-result + .calculator-result { padding-top: 28px; padding-left: 0; border-top: 1px solid rgba(246,246,244,.22); border-left: 0; }
  .result-value { font-size: clamp(2rem,9vw,3rem); }
  .calculator-note { padding: 20px 24px 24px; }
  .faq { padding-top: 20px; }
  .faq-grid { display: block; }
  .faq-heading h2 { font-size: 3.2rem; }
  .faq-list { margin-top: 44px; }
  .faq-list summary { min-height: 74px; font-size: .9rem; }
  .contact { padding-block: 80px 66px; }
  .contact-heading { display: block; margin-top: 34px; }
  .contact-heading h2 { font-size: clamp(3.05rem,14vw,4.7rem); }
  .contact-heading > p { margin-top: 28px; }
  .contact-actions { margin-top: 52px; }
  .contact-email { padding: 24px 48px 28px 0; }
  .contact-email strong { font-size: clamp(1.3rem,6.6vw,2rem); }
  .contact-arrow { right: 0; font-size: 2rem; }
  .contact-secondary { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 44px; }
  .footer-top nav { grid-column: auto; margin-top: 12px; }
  .footer-bottom { flex-wrap: wrap; gap: 8px 20px; }
  .footer-bottom a { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-actions, .method-visual, .contact-arrow { display: none; }
  .shell { width: 100%; }
  .section { padding-block: 40px; }
  .method { background: white; color: black; }
  .method-step h3, .method-intro h2 span { color: black; }
  .method-intro > p:last-child, .method-step > p, .step-output p { color: #333; }
  .method-sticky { position: static; }
  .js .reveal { opacity: 1; transform: none; }
}
