/* Durafibre: a summer evening. Dark porch, brass light, embers, cream and the logo's blues. */
:root {
  color-scheme: dark;
  --night: #0a1a35; --deep: #061227; --panel: #122a52; --logo-blue: #003fa5; --logo-sky: #97c8f9;
  --cream: #f4ecdd; --brass: #e8b872; --ember: #e4703a; --coal: #1d1508;
  --bg: var(--night); --ink: #f2ede4; --soft: #c3d4ea; --line: #f2ede42e; --accent: var(--brass); --on-accent: var(--coal); --field: var(--panel); --error: #ff9d8f;
  --display: "Instrument Serif", Georgia, serif; --body: "Hanken Grotesk", system-ui, sans-serif;
  --gutter: clamp(16px, 3.4vw, 52px); --section: clamp(64px, 9vw, 140px); --head: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); scroll-padding-bottom: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
a, button, label, summary, input, select { touch-action: manipulation; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 60; padding: 10px 16px; background: #fff; color: #111; }
.skip:focus { left: 8px; }

h1, h2, h3, .faq summary { font-family: var(--display); font-weight: 400; letter-spacing: -0.012em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(42px, 6.4vw, 104px); }
h3 { font-size: clamp(30px, 2.8vw, 42px); }
p { text-wrap: pretty; }
.lead { color: var(--soft); max-width: 42ch; }
.link { display: inline-block; padding: 8px 0; font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 17px var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 120ms ease-out, filter 120ms ease-out; }
.btn:active { transform: scale(0.97); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.todo { margin-top: 24px; padding: 14px 16px; border: 2px dashed #a15c00; border-radius: 6px; background: #fff4df; color: #5c3600; font-size: 16px; max-width: 46em; }
.todo strong { display: block; }
.section { padding: clamp(32px, 5vw, 64px) var(--gutter); }

/* ---------- Header: always there, solid, with the action in view ---------- */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--head); padding: 10px var(--gutter); background: var(--deep); box-shadow: 0 1px 0 #e8b87259, 0 10px 30px #0006; }
.mark { display: block; flex: none; }
.mark img { width: auto; height: 42px; }
.menu { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); font-size: 17px; font-weight: 600; }
.menu a:not(.btn) { padding: 8px 0; text-decoration: none; white-space: nowrap; }
.menu a:not(.btn):hover, .menu a:not(.btn)[aria-current] { color: var(--brass); box-shadow: 0 2px 0 var(--brass); }
.menu .btn { min-height: 46px; padding: 0 20px; font-size: 16px; }
.tel { font-weight: 700; }
.toggle { display: none; min-height: 46px; padding: 0 18px; background: none; color: inherit; border: 1.5px solid var(--ink); border-radius: 999px; font: 700 16px var(--body); cursor: pointer; }

/* ---------- 3D hero ---------- */
.hero { position: relative; isolation: isolate; }
.stage { position: relative; overflow: hidden; min-height: 0; }
.stage canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 320ms ease-out; }
.stage canvas:focus-visible { outline-offset: -5px; }
.stage.ready canvas { opacity: 1; }
.stage canvas.dragging { cursor: grabbing; }
.stage canvas.pick { cursor: pointer; }
.fallback { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.no3d .fallback { display: block; }
.no3d .panel, .no3d .stage canvas { display: none; }
.stage .tag { position: absolute; left: 0; top: 0; width: var(--tag-w, 112px); padding: 7px 0; margin: 0; border: 0; background: none; color: var(--ink); font-family: var(--body); text-align: left; cursor: pointer; text-shadow: 0 0 5px var(--bg), 0 0 5px var(--bg), 0 0 2px var(--bg); }
.tag strong { display: block; font-size: 15px; font-weight: 600; line-height: 20px; }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); pointer-events: none; }
.leaders path { fill: none; stroke: currentColor; stroke-width: 1; }
.leaders circle { fill: currentColor; }
.leaders g.on { color: var(--accent); }
.tag[hidden] { display: none; }
.tag.on strong { color: var(--accent); }
.panel { font-size: 15px; }
.panel fieldset + fieldset { margin-top: 14px; }
.panel legend { color: var(--soft); margin-bottom: 7px; }
.swatches, .chips { display: flex; flex-wrap: wrap; gap: 7px; }
.swatches input, .chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatches label { display: grid; justify-items: center; gap: 5px; cursor: pointer; font-size: 13.5px; min-width: 58px; }
.swatches b { font-weight: 500; }
.swatches span { width: 42px; height: 42px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px #0003; transition: transform 120ms ease-out, box-shadow 120ms ease-out; }
.swatches input:checked + span { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.swatches label:hover span { transform: scale(1.06); }
.swatches input:focus-visible + span, .chips input:focus-visible + span { outline: 3px solid currentColor; outline-offset: 3px; }
.chips span { display: flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: background 120ms ease-out, color 120ms ease-out, transform 120ms ease-out; }
.chips span:active { transform: scale(0.96); }
.chips input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.result { margin-top: 16px; font-weight: 500; }
.result a { font-weight: 700; white-space: nowrap; }
.panel .note { margin-top: 8px; color: var(--soft); font-size: 13.5px; }
#ouvrir { width: 100%; height: 44px; margin: 0; accent-color: var(--brass); cursor: ew-resize; }
.separate { display: grid; gap: 2px; margin-top: 14px; }
.separate label { font-weight: 600; font-size: 16px; }
.live { margin-top: 8px; min-height: 2.9em; }
.live .result { margin: 0; font-size: 15.5px; }
.hero.focused .panel { display: none; }
.focus-card { padding: 18px; background: #122a52cc; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.focus-card[hidden] { display: none; }
.focus-card h2 { font-size: clamp(30px, 2.8vw, 42px); }
.focus-card p { max-width: 58ch; margin: 8px 0 14px; font-size: 17px; line-height: 1.45; }
@media (prefers-reduced-motion: no-preference) {
  .focus-card { animation: card-in 260ms ease-out; }
  @keyframes card-in { from { opacity: 0; transform: translateY(8px); } }
}

/* ---------- Your gallery: pick what's going on, the photo answers ---------- */
.sit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(92vh, 900px); background: var(--deep); }
.sit-photos { position: relative; min-height: 340px; overflow: hidden; }
.sit-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .sit-photos img:not(.on) { display: none; }
.js .sit-photos img.on { animation: photo-in 520ms cubic-bezier(.2, .7, .2, 1); }
@keyframes photo-in { from { opacity: 0; transform: scale(1.04); } }
.sit-text { display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vw, 56px); padding: var(--section) var(--gutter); }
.sit-text h2 { font-size: clamp(42px, 5.2vw, 84px); }
.sit-item { border-top: 1px solid var(--line); }
.sit-item:last-child { border-bottom: 1px solid var(--line); }
.sit-item h3 button { display: block; width: 100%; padding: 18px 0; border: 0; background: none; color: var(--soft); font: inherit; letter-spacing: inherit; line-height: 1.05; text-align: left; cursor: pointer; transition: color 160ms ease-out; }
.sit-item h3 button:hover, .sit-item.on h3 button { color: var(--brass); }
.sit-answer { padding-bottom: 18px; }
.js .sit-item:not(.on) .sit-answer { display: none; }
.sit-answer p { max-width: 36em; }

/* ---------- What you will never do again ---------- */
.chores { padding: var(--section) var(--gutter); background: var(--ember); color: #1a0d05; }
.chores h2 { font-size: clamp(58px, 12.5vw, 216px); line-height: 0.94; letter-spacing: -0.02em; }
.chores h2 span { position: relative; display: inline-block; }
.chores h2 span::after { content: ""; position: absolute; left: -1%; right: -1%; top: 56%; height: 0.055em; background: var(--cream); transform: scaleX(1); transform-origin: left; }
.js .chores:not(.in) h2 span::after { transform: scaleX(0); }
.js .chores h2 span::after { transition: transform 420ms cubic-bezier(.6, 0, .2, 1); }
.chores h2 span:nth-child(2)::after { transition-delay: 240ms; }
.chores h2 span:nth-child(3)::after { transition-delay: 480ms; }
.chores h2 span:nth-child(4)::after { transition-delay: 720ms; }
.chores p { margin-top: clamp(28px, 4vw, 56px); max-width: 26em; font-size: clamp(22px, 2.5vw, 36px); font-weight: 500; line-height: 1.25; }

/* ---------- What we make ---------- */
.made { padding: var(--section) var(--gutter); background: var(--cream); color: #1c1a15; --soft: #4e4a40; --line: #1c1a152e; }
.made-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(24px, 3.4vw, 48px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(250px, 25vw, 400px); gap: 12px; }
.tile { position: relative; display: block; grid-column: span 6; overflow: hidden; border-radius: 22px; background: #2a2a26; color: #fff; text-decoration: none; }
.tile-patios { grid-column: span 7; grid-row: span 2; }
.tile-balcons, .tile-marches { grid-column: span 5; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(.2, .7, .2, 1); }
.tile::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #0b0f10e6); }
.tile-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 6px; padding: clamp(16px, 2vw, 28px); }
.tile-text strong { font: 400 clamp(30px, 3.2vw, 52px)/1 var(--display); letter-spacing: -0.012em; }
.tile-text span { max-width: 34em; font-size: 16.5px; line-height: 1.35; }

/* ---------- Steps: a line that lights up ---------- */
.process { padding: var(--section) var(--gutter); background: var(--night); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(36px, 5vw, 72px); padding-top: 34px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 3px; background: var(--line); }
.timeline::after { background: var(--brass); box-shadow: 0 0 18px #e8b872aa; transform-origin: left; }
.js .timeline::after { transition: transform 1400ms cubic-bezier(.4, 0, .2, 1); }
.js .process:not(.in) .timeline::after { transform: scaleX(0); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: 0; top: -34px; z-index: 1; width: 19px; height: 19px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 5px var(--night); }
.timeline h3 { font-size: clamp(40px, 4.8vw, 76px); color: var(--brass); }
.timeline p { margin-top: 12px; color: var(--soft); }

/* ---------- The boats ---------- */
.boat { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: var(--section) var(--gutter); background: var(--logo-blue); --soft: #dbe9fb; }
.boat p { margin-top: 20px; max-width: 32em; font-size: clamp(19px, 1.6vw, 23px); color: var(--soft); }
.boat .link { margin-top: 14px; }
.arch { overflow: hidden; border-radius: 999px 999px 18px 18px; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Photo strip ---------- */
.strip { padding: var(--section) 0; background: var(--night); }
.strip-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3.4vw, 48px); padding: 0 var(--gutter); }
.strip-head h2 { max-width: 12em; }
.strip-nav { display: flex; flex: none; gap: 8px; }
.strip-nav button { width: 56px; height: 56px; border: 1.5px solid var(--ink); border-radius: 50%; background: none; color: var(--ink); font: 400 22px var(--body); cursor: pointer; transition: background 120ms ease-out, color 120ms ease-out; }
.strip-track { display: flex; gap: 12px; padding: 0 var(--gutter) 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--brass) transparent; }
.strip-track a { flex: none; scroll-snap-align: start; }
.strip-track img { width: auto; height: clamp(320px, 42vw, 620px); aspect-ratio: auto; border-radius: 18px; object-fit: cover; }
.strip-track img[width="621"] { width: clamp(460px, 60vw, 900px); }
.strip-more { padding: 18px var(--gutter) 0; }
.curve { display: none; }
.wall-on .curve { display: block; }
.wall-on .strip-track, .wall-on .strip-nav { display: none; }
.wall-on .strip-more { text-align: center; }
.wall-canvas { display: block; width: 100%; height: clamp(340px, 44vw, 660px); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.wall-canvas.grabbing { cursor: grabbing; }
.wall-canvas:focus-visible { outline: 2px solid var(--brass); outline-offset: -4px; }
.wall-cap { max-width: 34em; min-height: 3.2em; margin: 6px auto 0; padding: 0 var(--gutter); text-align: center; text-wrap: balance; color: var(--ink); }
.wall-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.wall-nav button { width: 48px; height: 48px; border: 1.5px solid var(--line); border-radius: 50%; background: none; color: var(--ink); font: 400 20px var(--body); cursor: pointer; transition: background 120ms ease-out, color 120ms ease-out; }
.wall-count { min-width: 4.2em; text-align: center; color: var(--soft); font-variant-numeric: tabular-nums; }
.wall-pause { position: relative; }
.wall-pause::before { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 14px; border: solid currentColor; border-width: 0 4px; box-sizing: border-box; }
.wall-pause[data-state="off"]::before { width: 0; height: 0; margin: auto auto auto 18px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; }

/* ---------- Questions ---------- */
.questions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); padding: var(--section) var(--gutter); background: #dcebfc; color: #0a1a35; --soft: #33466a; --line: #0a1a352e; }
.questions h2 { position: sticky; top: calc(var(--head) + 28px); align-self: start; font-size: clamp(42px, 5.2vw, 84px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 72px; padding: 14px 0; font-size: clamp(27px, 2.5vw, 38px); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ember); color: #1a0d05; font: 400 26px/40px var(--body); text-align: center; transition: transform 180ms ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--soft); max-width: 42em; }
.faq .todo { margin: 0 0 22px; }

/* ---------- Proof ---------- */
.proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); padding: var(--section) var(--gutter); background: var(--brass); color: var(--coal); }
.proof-text p { margin-top: 20px; max-width: 34em; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; align-self: start; border-radius: 22px; overflow: hidden; background: #1d150833; }
.stats div { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: clamp(18px, 2.2vw, 30px); background: var(--brass); }
.stats dd { order: -1; font: 400 clamp(54px, 7vw, 112px)/0.95 var(--display); letter-spacing: -0.02em; }
.stats dd.small { font-size: clamp(30px, 3.2vw, 50px); line-height: 1.05; letter-spacing: 0; }
.stats dt { font-weight: 600; font-size: 16.5px; }
.stats dd a { text-decoration-thickness: 2px; text-underline-offset: 0.08em; }

/* ---------- Closing call ---------- */
.call { padding: clamp(90px, 13vw, 200px) var(--gutter); background: linear-gradient(90deg, #061227f2 22%, #06122799), url("../images/patio-gris-rampes-noires-960.webp") center / cover; }
.call h2 { max-width: 12em; font-size: clamp(50px, 8vw, 132px); }

/* ---------- Inner page title ---------- */
.page-head { padding: clamp(48px, 7vw, 110px) var(--gutter) clamp(44px, 6vw, 90px); background: radial-gradient(60% 130% at 88% 0%, #e4703a38, transparent 70%), var(--night); }
.page-head h1 { font-size: clamp(60px, 11vw, 176px); line-height: 0.95; }
.page-head .lead { margin-top: 20px; max-width: 34em; font-size: clamp(19px, 1.7vw, 24px); }
.page-head.with-photo { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.page-head.with-photo h1 { font-size: clamp(56px, 8.6vw, 140px); }

/* ---------- Réalisations ---------- */
.wall { columns: 3 280px; column-gap: 12px; padding: 12px var(--gutter) 0; }
.wall figure { margin: 0 0 12px; break-inside: avoid; }
.shot { display: block; overflow: hidden; border-radius: 18px; cursor: zoom-in; }
.wall img { width: 100%; transition: transform 500ms cubic-bezier(.2, .7, .2, 1); }
.wall figcaption { padding: 8px 4px 14px; color: var(--soft); font-size: 16px; }
.viewer { width: min(94vw, 1200px); max-height: 94vh; padding: 12px; border: 0; border-radius: 18px; background: var(--deep); color: var(--ink); }
.viewer::backdrop { background: #05080af0; }
.viewer img { width: 100%; max-height: 72vh; object-fit: contain; }
.viewer p { margin-top: 10px; }
.viewer-nav { display: flex; gap: 8px; margin-top: 10px; }
.viewer-nav button { min-width: 48px; min-height: 48px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: none; color: inherit; font: 600 16px var(--body); cursor: pointer; }
.viewer-nav [data-close] { margin-left: auto; }

/* ---------- Produits ---------- */
.jump { position: sticky; top: var(--head); z-index: 20; display: flex; gap: 8px; padding: 12px var(--gutter); overflow-x: auto; background: var(--night); box-shadow: 0 1px 0 var(--line); scrollbar-width: none; }
.jump a { flex: none; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 16px; text-decoration: none; }
.products { background: var(--cream); color: #1c1a15; --soft: #4e4a40; --accent: var(--night); --on-accent: var(--cream); }
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 80px); padding: clamp(36px, 5vw, 72px) var(--gutter); }
.product:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); background: #eadfca; }
.product:nth-child(even) img { order: 2; }
.product img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 22px; }
.product h2 { font-size: clamp(42px, 5.4vw, 88px); }
.product p { margin: 18px 0 24px; max-width: 30em; color: var(--soft); font-size: clamp(18px, 1.5vw, 21px); }

/* ---------- Recouvrement: the shell ---------- */
.shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: center; gap: clamp(28px, 5vw, 80px); padding: var(--section) var(--gutter); background: var(--logo-blue); --soft: #dbe9fb; }
.shell-text p { margin: 20px 0 26px; max-width: 32em; color: var(--soft); }
.shell svg { display: block; width: 100%; height: auto; }
.shell figcaption { margin-top: 8px; color: var(--soft); font-size: 15px; }
.concrete { fill: #8c8a84; }
.crack { fill: none; stroke: #33322e; stroke-width: 3; stroke-linejoin: round; }
.fibre-shell path { fill: none; stroke: var(--brass); stroke-width: 18; stroke-linejoin: round; stroke-linecap: round; }
.fibre-shell, .label-shell { transition: transform 700ms cubic-bezier(.2, .8, .2, 1), opacity 300ms ease-out; }
.js .shell:not(.in) .fibre-shell, .js .shell.off .fibre-shell { transform: translateY(-46px); opacity: 0; }
.js .shell:not(.in) .label-shell, .js .shell.off .label-shell { opacity: 0; }
.shell text { font: 600 19px var(--body); }
.label-shell { fill: var(--brass); }
.label-concrete { fill: #1b1a17; }

/* ---------- À propos ---------- */
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); padding-block: var(--section); }
.facts dl { border-top: 1px solid var(--line); align-self: start; }
.facts dl div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--soft); }
.facts dd { font-weight: 600; text-align: right; }

/* ---------- Form ---------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding: 0 var(--gutter) var(--section); background: var(--night); }
.form-card { padding: clamp(20px, 3vw, 44px); border-radius: 22px; background: var(--cream); color: #1c1a15; --ink: #1c1a15; --soft: #4e4a40; --line: #1c1a152e; --field: #fffaf0; --error: #a31b12; --accent: var(--night); --on-accent: var(--cream); color-scheme: light; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; background: var(--field); color: var(--ink); border: 1.5px solid var(--soft); border-radius: 10px; font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.field .err { display: none; margin-top: 6px; color: var(--error); font-weight: 600; font-size: 16px; }
.field.bad input, .field.bad select { border-color: var(--error); }
.field.bad .err { display: block; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
form .note { margin-top: 12px; color: var(--soft); font-size: 16px; }
.done { display: none; margin-top: 18px; padding: 14px 16px; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 8px; }
.done.show { display: block; }
.contact-list { border-top: 1px solid var(--line); }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list b { display: block; color: var(--soft); font-weight: 500; font-size: 16px; }
.contact-list a { font: 400 clamp(26px, 2.4vw, 36px)/1.15 var(--display); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.foot { padding: clamp(36px, 5vw, 64px) var(--gutter); background: var(--deep); font-size: 17px; overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: auto 1.3fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.foot .foot-logo { display: block; width: clamp(170px, 17vw, 260px); }
.foot strong { display: block; margin-bottom: 8px; font-size: 22px; }
.foot p { margin-bottom: 6px; color: var(--soft); }
.foot a { display: inline-block; padding: 10px 0; color: var(--ink); }
.callbar { display: none; }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 1199px) { .tel { display: none; } }
@media (max-width: 999px) {
  .toggle { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; background: var(--deep); box-shadow: 0 16px 28px #0009; }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
  .menu a:not(.btn):hover, .menu a:not(.btn)[aria-current] { box-shadow: none; }
  .menu .tel { display: block; }
  .menu .btn { margin-top: 14px; min-height: 50px; }
}
@media (max-width: 899px) {
  :root { --head: 66px; }
  .mark img { height: 36px; }
  .hero { display: flex; flex-direction: column; padding: 22px 16px 24px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 66px); }
  .hero .lead { margin-top: 12px; }
  .hero .actions { margin-top: 16px; flex-wrap: nowrap; gap: 8px; }
  .hero .actions .btn { flex: 1 1 auto; padding: 0 12px; font-size: 16px; }
  .stage { height: 72vw; min-height: 290px; max-height: 560px; margin: 8px -16px; }
  .panel { display: flex; flex-direction: column; }
  .separate { order: -3; margin-top: 0; }
  .live { order: -1; margin: 0 0 14px; }
  .sit, .boat, .questions, .proof, .shell, .facts, .form-wrap, .page-head.with-photo, .product, .product:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .sit { min-height: 0; }
  .sit-photos { order: 2; aspect-ratio: 4 / 3; min-height: 0; }
  .sit-text { padding-bottom: 28px; }
  .product:nth-child(even) img { order: 0; }
  .questions h2 { position: static; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 0 0 0 34px; }
  .timeline::before, .timeline::after { left: 8px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .timeline::after { transform-origin: top; }
  .js .process:not(.in) .timeline::after { transform: scaleY(0); }
  .timeline li::before { left: -34px; top: 6px; }
  .bento { grid-auto-rows: auto; }
  .tile, .tile-patios, .tile-balcons, .tile-marches { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3.4; }
  .strip-nav { display: none; }
  .strip-track img { height: 340px; }
  .strip-track img[width="621"] { width: 86vw; }
  .arch img { aspect-ratio: 1 / 1; }
  .foot-cols { grid-template-columns: minmax(0, 1fr); }
  .foot { padding-bottom: 96px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--deep); box-shadow: 0 -1px 0 #e8b87259; }
  .callbar .btn { min-height: 50px; padding: 0 8px; }
}
@media (max-width: 520px) {
  .hero .actions { display: none; }
  .two { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stats dd { font-size: 54px; }
  .stats dd.small { font-size: 25px; }
}

/* ---------- Large screens: big text high on the left, the model on the right, its controls underneath ---------- */
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: minmax(0, 1fr) auto; column-gap: clamp(20px, 3vw, 48px); min-height: max(720px, calc(100svh - var(--head))); padding: 28px var(--gutter) 24px; }
  .copy { grid-column: 1; grid-row: 1 / -1; align-self: start; }
  .stage { grid-column: 2; grid-row: 1; min-height: 400px; margin: -16px calc(var(--gutter) * -1) -6px -70px; }
  .panel { grid-column: 2; grid-row: 2; position: relative; z-index: 1; padding: 12px 18px; background: #122a52cc; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
  .hero h1 { font-size: clamp(64px, 7.2vw, 122px); }
  .hero .lead { margin-top: 22px; font-size: clamp(19px, 1.5vw, 22px); }
  .options { display: flex; flex-wrap: wrap; gap: 8px clamp(10px, 1.4vw, 22px); }
  .panel legend { margin-bottom: 5px; }
  .swatches { gap: 7px; align-items: center; height: 40px; }
  .swatches label { min-width: 0; }
  .swatches span { width: 30px; height: 30px; }
  .swatches b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .chips { gap: 4px; flex-wrap: nowrap; }
  .chips span { min-height: 40px; padding: 0 10px; font-size: 14.5px; }
  .panel fieldset + fieldset { margin-top: 0; }
  .separate { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 10px; }
  .focus-card { grid-column: 2; grid-row: 2; position: relative; z-index: 1; }
  .live { min-height: 2.2em; margin-top: 2px; }
  .panel .note { margin-top: 2px; }
}

@media (max-width: 639px) {
  .tag strong { font-size: 13px; line-height: 18px; }
}
@media (hover: hover) {
  .btn:hover { filter: brightness(1.1); }
  .chips span:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .chips input:checked + span:hover { box-shadow: none; }
  .tag:hover strong { color: var(--accent); }
  .tile:hover img, .shot:hover img { transform: scale(1.04); }
  .strip-nav button:hover, .wall-nav button:hover { background: var(--ink); color: var(--bg); }
  .jump a:hover { box-shadow: inset 0 0 0 1.5px var(--brass); color: var(--brass); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}
