:root {
  --paper: #f1f0eb;
  --paper-2: #e6e5df;
  --ink: #10120f;
  --muted: #626762;
  --line: rgba(16, 18, 15, .18);
  --acid: #d9ff43;
  --steel: #65706d;
  --gutter: clamp(22px, 3.35vw, 64px);
  --page-progress: 0;
  --hero-progress: 0;
  --story-progress: 0;
  --analysis-progress: 0;
  --budget-shift: 0;
  font-synthesis: none;
}

/* Odoo still renders its standard chrome around a QWeb page in some website
   configurations. The Drawcost page provides its own fixed header/footer. */
#wrapwrap:has(.drawcost-odoo-shell) > #top,
#wrapwrap:has(.drawcost-odoo-shell) > #bottom { display: none !important; }
#wrapwrap:has(.drawcost-odoo-shell) > main { padding: 0 !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: 'Inter Tight', sans-serif; cursor: none; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { max-width: 100%; }
.mono { font-family: 'IBM Plex Mono', monospace; }

.drawcost-site,
.drawcost-site button { font-family: 'Inter Tight', sans-serif; }
.drawcost-site .mono,
.drawcost-site nav,
.drawcost-site .button,
.drawcost-site .header-cta { font-family: 'IBM Plex Mono', monospace; }

.loader { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; gap: 24px; padding: var(--gutter); background: var(--ink); color: white; transition: opacity .65s ease, visibility .65s ease; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark { align-self: center; font-weight: 800; font-size: clamp(44px, 7vw, 120px); letter-spacing: -.07em; }
.loader-mark span,.brand strong span { color: var(--acid); }
.loader-status { align-self: end; display: flex; gap: 30px; font-size: 10px; letter-spacing: .08em; }
.loader-status b { color: var(--acid); }
.loader > i { grid-column: 1 / -1; height: 2px; background: linear-gradient(90deg, var(--acid) var(--load), rgba(255,255,255,.16) var(--load)); }

.cursor-dot,.cursor-ring { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; border-radius: 50%; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px; background: var(--acid); }
.cursor-ring { width: 34px; height: 34px; margin: -17px; border: 1px solid rgba(16,18,15,.46); mix-blend-mode: difference; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 2px; }
.scroll-progress i { display: block; width: calc(var(--page-progress) * 100%); height: 100%; background: var(--acid); }
.canvas-wrap { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: var(--canvas-opacity, 1); transition: opacity .25s ease; }
.canvas-wrap canvas { display: block; width: 100%; height: 100%; }

.site-header { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter); color: var(--ink); border-bottom: 1px solid var(--line); transition: color .3s, background .3s, border-color .3s; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(241,240,235,.82); backdrop-filter: blur(18px); }
.site-header.is-dark { color: white; border-color: rgba(255,255,255,.18); }
.site-header.is-dark::before { background: rgba(16,18,15,.82); }
.brand { display: inline-flex; align-items: baseline; gap: 14px; justify-self: start; }
.brand strong { font-size: 20px; line-height: 1; letter-spacing: -.045em; }
.brand small { color: var(--muted); font: 500 8px/1 'IBM Plex Mono', monospace; letter-spacing: .12em; }
.site-header.is-dark .brand small { color: rgba(255,255,255,.55); }
nav { display: flex; gap: clamp(18px, 2.2vw, 38px); font-size: 9px; letter-spacing: .08em; }
nav a { position: relative; padding: 10px 0; opacity: .66; }
nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: currentColor; transition: right .3s; }
nav a:hover,nav a.is-active { opacity: 1; }
nav a.is-active::after { right: 0; }
.header-cta { justify-self: end; display: flex; gap: 28px; align-items: center; padding: 12px 14px; background: var(--ink); color: white; font-size: 9px; letter-spacing: .05em; transition: transform .25s, background .25s; }
.header-cta span { color: var(--acid); font-size: 14px; }
.site-header.is-dark .header-cta { background: var(--acid); color: var(--ink); }
.site-header.is-dark .header-cta span { color: var(--ink); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 12px 0 12px 12px; }

.hero { position: relative; z-index: 2; min-height: 118svh; overflow: hidden; background: transparent; padding: 82px var(--gutter) 0; }
.hero::before { content: ''; position: absolute; inset: 82px 0 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 9vw 9vw; opacity: calc(.34 - var(--hero-progress) * .28); mask-image: linear-gradient(90deg,black,transparent 72%); }
.hero-kicker { position: absolute; left: var(--gutter); right: var(--gutter); top: 110px; display: flex; justify-content: space-between; font-size: 9px; letter-spacing: .1em; }
.hero-kicker span::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 10px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 0 4px rgba(217,255,67,.22); }
.hero-copy { position: absolute; left: var(--gutter); top: 20%; z-index: 2; width: min(51vw, 880px); }
.hero h1 { margin: 0; font-size: clamp(66px, 7.95vw, 152px); line-height: .88; letter-spacing: -.01em; word-spacing: .12em; font-weight: 800; }
.hero h1 .mask { display: block; overflow: hidden; padding: .04em .08em .04em 0; }
.hero h1 .mask > span { display: block; transform: translateY(calc(var(--hero-progress) * -5%)); animation: hero-in .95s cubic-bezier(.16,1,.3,1) both; }
.hero h1 .mask:nth-child(2) > span { animation-delay: .09s; }
.hero h1 .mask:nth-child(3) > span { animation-delay: .18s; }
@keyframes hero-in { from { transform: translateY(115%); } }
.hero h1 .accent-line span { color: var(--steel); }
.hero-copy > p { width: min(510px, 86%); margin: 40px 0 28px; color: var(--muted); font-size: clamp(15px, 1.12vw, 19px); line-height: 1.6; }
.hero-copy > p strong { color: var(--ink); font-weight: 600; }
.button { width: min(100%, 370px); min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 0 18px; background: var(--acid); color: var(--ink); font-size: 10px; letter-spacing: .035em; border: 1px solid var(--ink); transition: transform .25s, background .25s; }
.button b { font: 400 18px/1 'Inter Tight', sans-serif; }
.button:hover { background: white; }
.button.dark { background: var(--ink); color: white; }
.button.dark b { color: var(--acid); }
.button.dark:hover { background: var(--acid); color: var(--ink); }
.hero-spec { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 13%; display: flex; gap: 18px; color: var(--muted); font-size: 8px; letter-spacing: .08em; }
.hero-spec span + span { padding-left: 18px; border-left: 1px solid var(--line); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 5%; display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 8px; letter-spacing: .08em; writing-mode: vertical-rl; }
.scroll-cue i { width: 1px; height: 46px; background: var(--ink); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--acid); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { from { transform: translateY(-105%); } to { transform: translateY(105%); } }
.dimension { position: absolute; z-index: 2; color: var(--muted); font-size: 8px; letter-spacing: .05em; }
.dimension::before { content: ''; display: inline-block; width: 32px; height: 1px; vertical-align: middle; margin-right: 9px; background: currentColor; }
.dimension-a { right: 8%; top: 27%; }
.dimension-b { right: 12%; bottom: 18%; }

.problem { position: relative; z-index: 4; min-height: 135svh; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(44px, 7vw, 120px); align-items: center; padding: 140px var(--gutter); background: var(--paper-2); border-top: 1px solid var(--line); }
.problem-media { position: relative; height: min(76vh, 850px); overflow: hidden; }
.problem-media::before { content: ''; position: absolute; inset: 0; z-index: 1; border: 1px solid rgba(255,255,255,.22); pointer-events: none; }
.problem-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04); transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.problem-media.in-view img { transform: scale(1.025); }
.photo-index { position: absolute; z-index: 2; left: 18px; bottom: 18px; padding: 8px 10px; background: var(--acid); color: var(--ink); font-size: 8px; letter-spacing: .06em; }
.section-tag { margin: 0 0 36px; color: var(--steel); font-size: 9px; letter-spacing: .11em; }
.problem-copy h2,.reality-copy h2 { margin: 0; font-weight: 700; font-size: clamp(60px, 6.6vw, 125px); line-height: .83; letter-spacing: -.075em; }
.problem-copy h2 span,.reality-copy h2 span { color: var(--steel); }
.problem-copy > p:not(.section-tag) { max-width: 540px; margin: 42px 0 54px; color: var(--muted); font-size: clamp(15px, 1.1vw, 19px); line-height: 1.72; }
.problem-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; max-width: 540px; font-size: 8px; letter-spacing: .06em; }
.problem-line i { height: 2px; background: linear-gradient(90deg,var(--steel) 0 48%,var(--acid) 48%); }
.problem-line b { color: var(--ink); }

.story { position: relative; z-index: 2; height: 390vh; background: transparent; }
.story-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; padding: 110px var(--gutter) 40px; }
.story-sticky::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(241,240,235,.98) 0 40%,rgba(241,240,235,.67) 51%,rgba(241,240,235,.05) 76%); }
.chapter-meta { position: relative; z-index: 5; display: flex; justify-content: space-between; width: min(620px,42vw); color: var(--muted); font-size: 8px; letter-spacing: .09em; }
.chapter-meta span:first-child { color: var(--ink); }
.step-rail { position: absolute; top: 27%; bottom: 18%; left: var(--gutter); display: flex; flex-direction: column; align-items: center; justify-content: space-between; color: #a6aaa5; font: 400 10px/1 'IBM Plex Mono', monospace; }
.step-rail i { width: 1px; flex: 1; margin: 10px 0; background: var(--line); }
.step-rail span { transition: color .35s,font-size .35s; }
.step-rail span.is-active { color: var(--ink); font-size: 22px; }
.story-copy { position: absolute; top: 0; bottom: 0; left: calc(var(--gutter) + 72px); width: min(41vw, 650px); }
.story-step { position: absolute; top: 52%; pointer-events: none; opacity: 0; filter: blur(5px); transform: translateY(calc(-50% + 52px)); transition: opacity .55s,filter .55s,transform .7s cubic-bezier(.2,.8,.2,1); }
.story-step.is-active { opacity: 1; filter: blur(0); transform: translateY(-50%); }
.story-step > p { margin: 0 0 24px; color: var(--steel); font-size: 9px; letter-spacing: .09em; }
.story-step h2 { margin: 0 0 30px; font-size: clamp(70px, 7.8vw, 148px); line-height: .8; letter-spacing: -.08em; font-weight: 750; }
.story-step > div { color: var(--muted); font: 400 clamp(13px,1.05vw,17px)/1.6 'IBM Plex Mono',monospace; }
.scan-status { position: absolute; right: var(--gutter); top: 110px; display: flex; align-items: center; gap: 11px; font-size: 8px; letter-spacing: .07em; }
.scan-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 5px rgba(217,255,67,.22); animation: pulse 1.7s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 13px rgba(217,255,67,0); } }
.story-progress { position: absolute; left: calc(var(--gutter) + 72px); right: var(--gutter); bottom: 34px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; color: var(--muted); font-size: 8px; }
.story-progress i { height: 1px; background: var(--line); }
.story-progress b { display: block; width: calc(var(--story-progress) * 100%); height: 2px; margin-top: -1px; background: var(--acid); }

.analysis { position: relative; z-index: 2; height: 250vh; }
.analysis-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; padding: 110px var(--gutter) 40px; background: linear-gradient(90deg,rgba(241,240,235,.98) 0 42%,rgba(241,240,235,.6) 55%,rgba(241,240,235,.04) 78%); }
.analysis-sticky::after { content: ''; position: absolute; left: 45%; right: 0; bottom: -16%; height: 70%; background-image: linear-gradient(rgba(16,18,15,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(16,18,15,.08) 1px,transparent 1px); background-size: 46px 46px; transform: perspective(700px) rotateX(63deg) scale(1.4); transform-origin: bottom; }
.analysis-copy { position: relative; z-index: 4; width: min(43vw, 690px); }
.analysis h2,.budget h2,.conversion h2,.audience h2 { margin: 58px 0 34px; font-size: clamp(68px, 7.7vw, 146px); line-height: .8; letter-spacing: -.08em; font-weight: 750; }
.analysis h2 span,.budget h2 span,.conversion h2 span,.audience h2 span { color: var(--steel); }
.analysis-copy > p,.budget-head > p,.conversion-copy > p { max-width: 560px; margin: 0; color: var(--muted); font-size: clamp(14px,1.08vw,18px); line-height: 1.7; }
.legend { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px 28px; font-size: 8px; letter-spacing: .06em; }
.legend span { display: flex; align-items: center; gap: 9px; }
.legend i { width: 18px; height: 18px; display: block; border: 1px solid var(--ink); }
.legend .space { background: var(--acid); }
.legend .wall { border-width: 0 0 3px 3px; }
.legend .opening { background: linear-gradient(90deg,transparent 45%,var(--ink) 46% 54%,transparent 55%); }
.legend .measure { background: repeating-linear-gradient(135deg,transparent 0 3px,#9da19d 3px 4px); }
.room-label { position: absolute; z-index: 5; display: flex; gap: 9px; padding: 9px 11px; background: rgba(16,18,15,.9); color: white; border-left: 4px solid var(--acid); font-size: 7px; letter-spacing: .04em; opacity: calc(var(--analysis-progress) * 1.7 - .25); transform: translateY(calc((1 - var(--analysis-progress)) * 30px)); }
.room-label b { color: var(--acid); }
.room-a { top: 28%; right: 22%; }.room-b { top: 49%; right: 7%; }.room-c { top: 69%; right: 31%; }
.analysis-scan { position: absolute; z-index: 3; left: 43%; right: -5%; top: calc(14% + var(--analysis-progress) * 67%); height: 2px; background: var(--acid); box-shadow: 0 0 26px 8px rgba(217,255,67,.18); }
.analysis-scan i { position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--acid); }

.reveal-section { opacity: 0; transform: translateY(54px); transition: opacity .85s,transform .95s cubic-bezier(.2,.8,.2,1); }
.reveal-section.in-view { opacity: 1; transform: none; }

.budget { position: relative; z-index: 4; min-height: 190vh; overflow: hidden; padding: 150px var(--gutter) 110px; background: var(--ink); color: white; }
.budget-grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px); background-size: 10vw 10vw; transform: translateY(calc(var(--budget-shift) * -70px)); }
.budget-head { position: sticky; top: 125px; z-index: 2; width: min(38vw, 600px); }
.budget .chapter-meta { width: 100%; color: #989d98; }
.budget .chapter-meta span:first-child { color: white; }
.budget h2 span { color: var(--acid); }
.budget-head > p { color: #adb1ad; }
.ledger { position: relative; z-index: 3; width: 56%; margin-left: 44%; padding-top: 30vh; }
.ledger-head { min-height: 54px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.24); color: #a7aba7; font-size: 8px; letter-spacing: .06em; }
.ledger-row { min-height: 122px; display: grid; grid-template-columns: 52px minmax(170px,1fr) 100px 145px; gap: 16px; align-items: center; border-top: 1px solid rgba(255,255,255,.2); opacity: 0; transform: translateX(55px); transition: opacity .75s,transform .85s cubic-bezier(.2,.8,.2,1); }
.ledger-row.in-view { opacity: 1; transform: none; }
.ledger-row span { color: var(--acid); font-size: 10px; }
.ledger-row strong { font-size: clamp(20px,1.65vw,30px); font-weight: 500; letter-spacing: -.035em; }
.ledger-row b { color: #9ca19c; font: 400 8px/1.4 'IBM Plex Mono',monospace; }
.ledger-row em { color: white; font-style: normal; font-size: clamp(18px,1.45vw,27px); text-align: right; }
.ledger-row.total { border-bottom: 1px solid rgba(255,255,255,.2); }
.ledger-row.total strong,.ledger-row.total em { color: var(--acid); }
.budget-note { position: absolute; right: var(--gutter); bottom: 34px; display: flex; align-items: center; gap: 14px; color: #939893; font-size: 8px; letter-spacing: .06em; }
.budget-note i { width: 90px; height: 1px; background: var(--acid); }

.reality { position: relative; z-index: 5; height: 115svh; overflow: hidden; background: var(--ink); color: white; }
.reality > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08) brightness(.72); }
.reality-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(9,10,9,.92) 0,rgba(9,10,9,.68) 39%,rgba(9,10,9,.08) 74%),linear-gradient(0deg,rgba(9,10,9,.6),transparent 40%); }
.reality-copy { position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-44%); }
.reality-copy.in-view { transform: translateY(-50%); }
.reality-copy .section-tag { color: var(--acid); }
.reality-copy h2 { font-size: clamp(64px,7.1vw,135px); }
.reality-copy h2 span { color: #b6bbb6; }
.reality-note { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 30px; display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.28); color: #c4c8c4; font-size: 8px; letter-spacing: .07em; }
.reality-note b { color: var(--acid); }

.drawcost-site .audience { display: block !important; position: relative; z-index: 5; min-height: 170vh; overflow: hidden; padding: 140px var(--gutter) 100px; background: var(--ink); color: white; }
.audience .chapter-meta { width: 100%; color: #959a95; }
.audience .chapter-meta span:first-child { color: white; }
.audience h2 { max-width: 1080px; margin-bottom: 17vh; }
.audience h2 span { color: var(--acid); }
.audience-rows { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.24); }
.audience-rows article { min-height: clamp(150px,15vw,235px); display: grid; grid-template-columns: 78px minmax(320px,1fr) 330px 32px; gap: 24px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.24); will-change: transform; }
.audience-rows article > span { color: var(--acid); font-size: 10px; }
.audience-rows h3 { margin: 0; font-size: clamp(54px,6.8vw,124px); line-height: .8; letter-spacing: -.072em; font-weight: 700; }
.audience-rows p { max-width: 270px; margin: 0; color: #a9aea9; font-size: 14px; line-height: 1.55; }
.audience-rows article > b { color: var(--acid); font-size: 22px; font-weight: 400; }

.conversion { position: relative; z-index: 5; min-height: 125svh; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; padding: 130px var(--gutter) 0; background: var(--paper); }
.conversion::before { content: ''; position: absolute; left: 0; right: 0; top: 82px; height: 1px; background: var(--line); }
.conversion-model { position: relative; align-self: center; height: 70vh; display: grid; place-items: center; }
.conversion-model::before { content: ''; position: absolute; inset: 10% -12% 0; background-image: linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px); background-size: 42px 42px; transform: perspective(650px) rotateX(64deg); transform-origin: bottom; }
.conversion-image { position: relative; width: min(118%,800px); max-height: 76vh; object-fit: contain; mix-blend-mode: multiply; filter: saturate(.1) contrast(1.07); }
.conversion-copy { position: relative; z-index: 2; align-self: center; padding-left: 7vw; }
.conversion .chapter-meta { width: 100%; }
.conversion h2 { margin-top: 44px; }
.conversion h2 span { color: var(--steel); }
.conversion-copy > p { margin-bottom: 36px; }
.conversion-points { max-width: 560px; list-style: none; padding: 0; margin: 0 0 30px; border-bottom: 1px solid var(--line); }
.conversion-points li { min-height: 56px; display: grid; grid-template-columns: 40px 170px 1fr; gap: 12px; align-items: center; border-top: 1px solid var(--line); font-size: 8px; letter-spacing: .04em; }
.conversion-points li > span { color: var(--steel); }
.conversion-points li > b { font-weight: 500; }
.conversion-points li > em { color: var(--muted); font-style: normal; }
.conversion footer { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 20px; border-top: 1px solid var(--ink); }
.conversion footer > span,.conversion footer > a:last-child { font-size: 9px; letter-spacing: .06em; }

/* Drawcost contact page — the form is deliberately part of the visual story,
   rather than a generic white card placed below it. */
.drawcost-contact-page { min-height: 100vh; background: var(--ink); color: white; }
.drawcost-contact-main { padding-top: 82px; }
.contact-hero { position: relative; min-height: 78svh; display: grid; grid-template-columns: .92fr 1.08fr; overflow: hidden; padding: 11vh var(--gutter) 9vh; background: var(--ink); }
.contact-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px); background-size: 8vw 8vw; mask-image: linear-gradient(90deg,black,transparent 72%); opacity: .5; }
.contact-copy { position: relative; z-index: 2; align-self: center; max-width: 730px; }
.contact-copy .chapter-meta { width: 100%; color: rgba(255,255,255,.55); }
.contact-copy .chapter-meta span:first-child { color: var(--acid); }
.contact-copy h1 { margin: 50px 0 34px; font-size: clamp(72px,8vw,148px); line-height: .82; letter-spacing: -.065em; }
.contact-copy h1 span,.contact-form-heading h2 span { color: var(--acid); }
.contact-copy > p { max-width: 520px; margin: 0; color: rgba(255,255,255,.65); font-size: clamp(15px,1.2vw,20px); line-height: 1.65; }
.contact-steps { display: grid; gap: 10px; margin-top: 46px; font-size: 8px; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.contact-steps span { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-image { position: relative; z-index: 2; align-self: end; display: grid; place-items: center; min-height: 550px; }
.contact-image::before { content: ''; position: absolute; inset: 9% -8% 0 2%; background-image: linear-gradient(rgba(255,255,255,.13) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.13) 1px,transparent 1px); background-size: 44px 44px; transform: perspective(700px) rotateX(62deg); transform-origin: bottom; }
.contact-image img { position: relative; width: min(112%,850px); max-height: 66vh; object-fit: contain; filter: grayscale(1) contrast(1.15) brightness(1.25); mix-blend-mode: screen; opacity: .85; }
.contact-form-section { position: relative; z-index: 3; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px,7vw,140px); padding: 130px var(--gutter); background: var(--paper); color: var(--ink); }
.contact-form-heading { align-self: start; position: sticky; top: 118px; }
.contact-form-heading h2 { margin: 36px 0 28px; font-size: clamp(58px,6.4vw,112px); line-height: .84; letter-spacing: -.07em; }
.contact-form-heading > p:last-child { max-width: 360px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.contact-form-card { position: relative; padding: 24px; border: 1px solid var(--ink); background: #f8f7f2; box-shadow: 12px 12px 0 var(--acid); }
.contact-form-head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 17px; border-bottom: 1px solid var(--ink); font-size: 8px; letter-spacing: .09em; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 22px; padding-top: 28px; }
.contact-field { display: grid; gap: 11px; }
.contact-field.full { grid-column: 1 / -1; }
.contact-field label { font: 500 9px/1 'IBM Plex Mono', monospace; letter-spacing: .07em; }
.contact-field input,.contact-field textarea { width: 100%; appearance: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--ink); padding: 11px 0; background: transparent; color: var(--ink); font: 500 16px/1.35 'Inter Tight', sans-serif; outline: none; box-shadow: none; }
.contact-field textarea { min-height: 126px; resize: vertical; }
.contact-field input:focus,.contact-field textarea:focus { border-color: var(--steel); box-shadow: 0 2px 0 var(--acid); }
.contact-field input::placeholder,.contact-field textarea::placeholder { color: #8d928e; }
.contact-submit { grid-column: 1 / -1; margin-top: 4px; }
.contact-submit .button { border: 0; cursor: pointer; }
.contact-success { display: grid; gap: 20px; min-height: 360px; align-content: center; }
.contact-success p,.contact-success a { font-size: 9px; letter-spacing: .08em; }
.contact-success strong { font-size: clamp(56px,6vw,96px); line-height: .82; letter-spacing: -.07em; }
.contact-success span { color: var(--muted); font-size: 17px; }
.contact-success a { margin-top: 18px; color: var(--steel); }
.drawcost-contact-footer { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 30px var(--gutter); border-top: 1px solid rgba(255,255,255,.18); background: var(--ink); color: white; }
.drawcost-contact-footer > span,.drawcost-contact-footer > a:last-child { font-size: 8px; letter-spacing: .08em; }

/* Veľké titulky musia zostať čitateľné aj pri extrémnej mierke. */
.problem-copy h2,
.reality-copy h2,
.story-step h2,
.analysis h2,
.budget h2,
.conversion h2,
.audience h2,
.audience-rows h3 {
  letter-spacing: 0;
  word-spacing: .14em;
}
.problem-copy h2,
.reality-copy h2,
.analysis h2,
.budget h2,
.conversion h2,
.audience h2 { line-height: .88; }
.story-step h2 { line-height: .9; }
.audience-rows h3 { line-height: .88; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav,.header-cta { display: none; }
  .menu-toggle { display: grid; gap: 7px; }
  .menu-toggle i { display: block; width: 28px; height: 1px; background: currentColor; transition: transform .25s; }
  .site-header.menu-open { height: 100svh; color: var(--ink); grid-template-rows: 82px auto auto; align-content: start; }
  .site-header.menu-open::before { background: rgba(241,240,235,.98); }
  .site-header.menu-open .brand { grid-column: 1; grid-row: 1; }
  .site-header.menu-open .menu-toggle { grid-column: 2; grid-row: 1; }
  .site-header.menu-open nav { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 0; padding-top: 8vh; font-size: 13px; }
  .site-header.menu-open nav a { padding: 20px 0; border-top: 1px solid var(--line); }
  .site-header.menu-open nav a:last-child { border-bottom: 1px solid var(--line); }
  .site-header.menu-open .header-cta { grid-column: 1 / -1; grid-row: 3; display: flex; justify-self: stretch; margin-top: 24px; min-height: 52px; }
  .site-header.menu-open .menu-toggle i:first-child { transform: translateY(4px) rotate(45deg); }
  .site-header.menu-open .menu-toggle i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .problem { grid-template-columns: 1fr; }
  .problem-media { height: 66vh; }
  .problem-copy { max-width: 760px; }
  .ledger-row { grid-template-columns: 42px minmax(150px,1fr) 80px 120px; }
  .audience-rows article { grid-template-columns: 50px 1fr 240px 28px; }
}

@media (max-width: 700px) {
  body { cursor: auto; }
  .cursor-dot,.cursor-ring { display: none; }
  .site-header { height: 66px; }
  .brand small { display: none; }
  .hero { min-height: 114svh; padding-top: 66px; }
  .hero::before { top: 66px; background-size: 22vw 22vw; }
  .hero-kicker { top: 88px; }
  .hero-copy { top: 16%; width: calc(100% - var(--gutter) * 2); }
  .hero h1 { font-size: clamp(54px,15.8vw,78px); line-height: .89; letter-spacing: -.005em; word-spacing: .1em; }
  .hero-copy > p { width: 90%; margin-top: 28px; font-size: 13px; }
  .button { width: 100%; min-height: 54px; font-size: 8px; }
  .hero-spec { bottom: 10%; flex-direction: column; gap: 7px; }
  .hero-spec span + span { padding: 0; border: 0; }
  .scroll-cue,.dimension { display: none; }
  .problem { min-height: auto; padding: 96px var(--gutter); gap: 52px; }
  .problem-media { height: 56vh; margin: 0 calc(var(--gutter) * -1); }
  .problem-copy h2 { font-size: clamp(48px,13.6vw,68px); }
  .reality-copy h2 { font-size: clamp(50px,14vw,72px); }
  .problem-copy > p:not(.section-tag) { margin: 30px 0 38px; font-size: 13px; }
  .problem-line { font-size: 7px; }
  .story { height: 360vh; }
  .story-sticky { padding: 92px var(--gutter) 24px; }
  .story-sticky::before { background: linear-gradient(180deg,rgba(241,240,235,.98) 0 46%,rgba(241,240,235,.58) 66%,rgba(241,240,235,.04) 88%); }
  .chapter-meta { width: 100%; font-size: 7px; }
  .chapter-meta span:last-child { text-align: right; }
  .step-rail { left: var(--gutter); top: 23%; bottom: 13%; }
  .story-copy { left: calc(var(--gutter) + 44px); top: -10%; width: calc(100% - var(--gutter) - 44px); }
  .story-step h2 { font-size: clamp(56px,17vw,84px); }
  .story-step > div { font-size: 10px; }
  .scan-status { display: none; }
  .story-progress { left: calc(var(--gutter) + 44px); bottom: 20px; }
  .analysis { height: 220vh; }
  .analysis-sticky { padding: 92px var(--gutter) 26px; background: linear-gradient(180deg,rgba(241,240,235,.98) 0 51%,rgba(241,240,235,.56) 68%,rgba(241,240,235,.04) 100%); }
  .analysis-copy { width: 100%; }
  .analysis h2,.budget h2,.conversion h2,.audience h2 { margin-top: 36px; font-size: clamp(56px,16.2vw,86px); }
  .analysis-copy > p,.budget-head > p,.conversion-copy > p { font-size: 12px; }
  .legend { margin-top: 26px; gap: 12px 18px; font-size: 6px; }
  .legend i { width: 14px; height: 14px; }
  .room-label { font-size: 6px; }
  .room-a { right: 8%; top: 62%; }.room-b { right: 42%; top: 72%; }.room-c { right: 9%; top: 82%; }
  .analysis-scan { left: 0; top: calc(52% + var(--analysis-progress) * 38%); }
  .budget { min-height: 175vh; padding: 100px var(--gutter) 80px; }
  .budget-head { position: relative; top: 0; width: 100%; }
  .ledger { width: 100%; margin: 22vh 0 0; padding: 0; }
  .ledger-head { font-size: 6px; }
  .ledger-row { min-height: 105px; grid-template-columns: 30px 1fr auto; gap: 10px; }
  .ledger-row strong { font-size: 19px; }
  .ledger-row b { grid-column: 2; margin-top: -26px; font-size: 7px; }
  .ledger-row em { grid-column: 3; grid-row: 1 / span 2; font-size: 16px; }
  .budget-note { left: var(--gutter); right: auto; font-size: 6px; }
  .reality { height: 104svh; }
  .reality > img { object-position: 56% center; }
  .reality-shade { background: linear-gradient(0deg,rgba(9,10,9,.94) 0,rgba(9,10,9,.4) 58%,rgba(9,10,9,.08)); }
  .reality-copy { top: auto; left: var(--gutter); right: var(--gutter); bottom: 13%; transform: none; }
  .reality-copy.in-view { transform: none; }
  .reality-note { font-size: 6px; }
  .reality-note b { display: none; }
  .audience { min-height: 145vh; padding: 96px var(--gutter) 80px; }
  .audience h2 { margin-bottom: 18vh; font-size: 13vw; }
  .audience-rows article { min-height: 150px; grid-template-columns: 32px 1fr 20px; gap: 12px; }
  .audience-rows h3 { font-size: clamp(43px,12.8vw,66px); }
  .audience-rows p { grid-column: 2; margin-top: -26px; font-size: 10px; }
  .audience-rows article > b { grid-column: 3; grid-row: 1 / span 2; }
  .conversion { min-height: 150svh; display: block; padding: 105px var(--gutter) 0; }
  .conversion-model { height: 42vh; }
  .conversion-image { width: 115%; max-height: 48vh; }
  .conversion-copy { padding: 0; }
  .conversion-points li { grid-template-columns: 34px 1fr; padding: 10px 0; }
  .conversion-points li > em { grid-column: 2; }
  .conversion footer { flex-wrap: wrap; }
  .conversion footer > span { display: none; }
  .drawcost-contact-main { padding-top: 66px; }
  .contact-hero { min-height: auto; display: block; padding: 86px var(--gutter) 60px; }
  .contact-copy h1 { margin: 40px 0 26px; font-size: clamp(62px,18vw,90px); }
  .contact-copy > p { font-size: 13px; }
  .contact-steps { margin-top: 32px; }
  .contact-image { min-height: 270px; margin: 25px -5vw -35px; }
  .contact-image img { max-height: 290px; }
  .contact-form-section { display: block; padding: 82px var(--gutter); }
  .contact-form-heading { position: static; }
  .contact-form-heading h2 { margin-top: 28px; font-size: clamp(56px,16vw,82px); }
  .contact-form-heading > p:last-child { font-size: 13px; }
  .contact-form-card { margin-top: 46px; padding: 17px; box-shadow: 8px 8px 0 var(--acid); }
  .contact-form-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 22px; }
  .contact-field.full { grid-column: auto; }
  .contact-field input,.contact-field textarea { font-size: 16px; }
  .drawcost-contact-footer { flex-wrap: wrap; padding-block: 24px; }
  .drawcost-contact-footer > span { display: none; }
}

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