/* Arte Vinci, bouwsmederij in Lier. Voorbeeldsite. */

@font-face {
  font-family: "Lexend";
  src: url("../fonts/lexend-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lexend Exa";
  src: url("../fonts/lexend-exa-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ===== Tokens ===== */
:root {
  --ground: #f0f1f1;
  --ground-2: #e2e4e5;
  --ground-3: #d4d7d9;
  --ink: #0e0f10;
  --ink-2: #44494d;
  --accent: #2447c7;
  --accent-press: #1a3699;
  --on-accent: #ffffff;
  --field: #0c0d0e;
  --field-2: #1a1c1e;
  --on-field: #eef0f1;
  --on-field-2: #b9bfc4;
  --focus: #f2a900;

  --display: "Lexend Exa", "Lexend", system-ui, sans-serif;
  --text: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-0: 1.0625rem;
  --step-1: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --step-2: clamp(1.375rem, 1.15rem + 1vw, 2rem);
  --step-3: clamp(1.75rem, 1.25rem + 2.2vw, 3rem);
  --step-4: clamp(2.125rem, 1rem + 4.6vw, 4.75rem);

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 10vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-weight: 350; font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class], nav ul, footer ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 600; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* ===== Layout ===== */
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-top: var(--section); }
main > .section:last-child { padding-bottom: var(--section); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 12px 18px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ===== Type ===== */
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: var(--step-1); line-height: 1.5; max-width: 38ch; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; font-size: 1.0625rem; text-decoration: none;
  border: 0; border-radius: 0; cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--accent-press); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--light { background: var(--on-field); color: var(--field); }
.btn--light:hover { background: #fff; }
.btn--quiet { background: var(--ground-2); color: var(--ink); }
.btn--quiet:hover { background: var(--ground-3); }
.btn--steel { background: var(--field-2); color: var(--on-field); }
.btn--steel:hover { background: #2a2d30; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: underline; }
.text-link svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--field); color: var(--on-field); }
.header-bar { display: flex; align-items: center; gap: 10px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; min-height: 44px; }
.wm { display: inline-flex; font-family: var(--display); font-weight: 500; font-size: 1.125rem; letter-spacing: 0.02em; line-height: 1; }
.wm-a { background: var(--on-field); color: var(--field); padding: 8px 10px 9px; }
.wm-v { color: var(--on-field); padding: 8px 10px 9px; box-shadow: inset 0 0 0 3px var(--on-field); } /* taste-skill-ignore: logo-omlijning, geen schaduw */
.main-nav ul { display: flex; gap: 2px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 450; }
.main-nav a:hover, .main-nav a[aria-current="page"] { text-decoration: underline; }
.head-tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; background: var(--field-2); white-space: nowrap; }
.head-tel svg { width: 20px; height: 20px; }
.head-cta { min-height: 44px; padding: 0 16px; font-size: 1rem; }
.menu-toggle { display: none; width: 48px; height: 48px; flex: none; align-items: center; justify-content: center; background: var(--field-2); color: var(--on-field); border: 0; cursor: pointer; padding: 0; }
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1039px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--field); padding: 8px var(--gutter) 20px; display: none; }
  .js .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { min-height: 52px; font-size: 1.1875rem; padding: 0; width: 100%; }
  .no-js .main-nav { position: static; display: block; padding: 0 0 8px; }
  .head-tel .num { display: none; }
}
@media (max-width: 400px) { .wm { font-size: 1rem; } .wm-a, .wm-v { padding: 7px 8px 8px; } .head-cta { padding: 0 12px; } }

/* ===== Hero (black field) ===== */
.hero { background: var(--field); color: var(--on-field); padding-top: clamp(16px, 3vw, 40px); padding-bottom: clamp(40px, 6vw, 88px); }
.hero-grid { row-gap: 24px; align-items: end; }
.hero-copy { grid-column: 1 / -1; }
.hero-copy h1 { max-width: 12ch; }
.hero-copy .lead { margin-top: 22px; color: var(--on-field-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-media { grid-column: 1 / -1; overflow: hidden; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 50%; animation: drift 16s var(--ease) both; }
.hero-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 12px; }
.hero-facts dt { color: var(--on-field-2); }
.hero-facts dd { font-weight: 600; font-size: var(--step-1); line-height: 1.25; margin-top: 2px; }
@media (min-width: 1040px) {
  .hero-copy { grid-column: 1 / span 6; align-self: center; }
  .hero-media { grid-column: 7 / -1; grid-row: 1 / span 2; margin-right: calc(var(--gutter) * -1); }
  .hero-media img { aspect-ratio: auto; height: min(76vh, 700px); }
  .hero-facts { grid-column: 1 / span 6; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ===== Configurator ===== */
.cfg-head { grid-column: 1 / -1; }
.cfg-head p { margin-top: 16px; max-width: 48ch; }
.cfg-pieces { grid-column: 1 / -1; margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.piece-tab { min-height: 52px; border: 0; cursor: pointer; background: var(--ground-2); color: var(--ink); font-weight: 600; font-size: 1.0625rem; padding: 0 12px; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.piece-tab:hover { background: var(--ground-3); }
.piece-tab[aria-selected="true"] { background: var(--ink); color: var(--on-field); }
.cfg-sheet { grid-column: 1 / -1; margin-top: 12px; background: #fbfbfa; padding: clamp(12px, 2vw, 24px); }
.sheet { width: 100%; height: auto; display: block; }
[data-cfg] { --coat: #0e0e10; }
.sheet .coat { fill: var(--coat); stroke: rgba(14, 15, 16, 0.45); stroke-width: 1; transition: fill 0.45s var(--ease); }
.sheet .coat-line { fill: none; stroke: var(--coat); transition: stroke 0.45s var(--ease); }
.sheet .wood { fill: #b48a5c; }
.sheet .glass { fill: #cfe0e6; }
.sheet .ground { fill: #d9dbdc; }
.sheet .wall { fill: #ecebe7; }
.sheet .dim { stroke: #5a6066; stroke-width: 1.5; fill: none; }
.sheet .dim-t { font-family: var(--text); font-size: 16px; font-weight: 500; fill: #44494d; }
.sheet .title-t { font-family: var(--display); font-size: 15px; font-weight: 500; fill: #0e0f10; letter-spacing: 0.02em; }
.sheet .piece { display: none; }
[data-piece="trap"] .sheet .piece-trap, [data-piece="leuning"] .sheet .piece-leuning, [data-piece="poort"] .sheet .piece-poort, [data-piece="deur"] .sheet .piece-deur { display: inline; }
.no-js .sheet .piece-trap { display: inline; }
.cfg-colors { grid-column: 1 / -1; margin-top: 18px; }
.cfg-colors legend { font-weight: 600; margin-bottom: 10px; }
.swatches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.swatch { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px; background: var(--ground-2); cursor: pointer; font-weight: 450; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; } /* taste-skill-ignore: visueel vervangen door het staal */
.swatch i { width: 26px; height: 26px; flex: none; background: var(--c); border: 3px solid #fff; }
.swatch:has(input:checked) { background: var(--ink); color: var(--on-field); }
.swatch:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.cfg-panels { grid-column: 1 / -1; margin-top: 26px; }
.cfg-panel h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; font-size: var(--step-2); }
.cfg-panel > p { margin-top: 12px; max-width: 48ch; }
.cfg-panel dl { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.cfg-panel dt { color: var(--ink-2); }
.cfg-panel dd { font-weight: 600; margin-top: 2px; }
.cfg-panel.is-entering { animation: rise 0.5s var(--ease) both; }
.cfg-colorname { margin-top: 18px; font-weight: 600; }
.no-js .cfg-pieces, .no-js .cfg-colors, .no-js .cfg-colorname { display: none; }
.no-js .cfg-panel + .cfg-panel { margin-top: 28px; }
@media (min-width: 1040px) {
  .cfg-head { grid-column: 1 / span 5; }
  .cfg-sheet { grid-column: 1 / span 7; grid-row: 2 / span 3; margin-top: 32px; }
  .cfg-pieces { grid-column: 9 / -1; grid-row: 2; margin-top: 32px; align-self: start; }
  .cfg-colors { grid-column: 9 / -1; grid-row: 3; }
  .cfg-panels { grid-column: 9 / -1; grid-row: 4; margin-top: 0; }
  .cfg-head { grid-row: 1; }
}

/* ===== Work list (index) ===== */
.work-head { grid-column: 1 / -1; }
.work-head p { margin-top: 16px; max-width: 44ch; }
.work-list { grid-column: 1 / -1; margin-top: 36px; display: grid; gap: clamp(40px, 5vw, 72px); }
.work-item { display: grid; gap: 14px; align-content: start; }
.work-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work-item h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; font-size: var(--step-2); }
.work-item p { max-width: 46ch; }
@media (min-width: 1040px) {
  .work-head { grid-column: 1 / span 6; }
  .work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 72px; }
  .work-item:nth-child(even) { margin-top: 120px; }
  .work-item img { aspect-ratio: 4 / 5; }
}

/* ===== Process (black) ===== */
.band { background: var(--field); color: var(--on-field); padding-block: var(--section); margin-top: var(--section); }
.band + .section { padding-top: var(--section); }
.band-grid { row-gap: 32px; }
.band-head { grid-column: 1 / -1; }
.band-head p { margin-top: 16px; max-width: 46ch; color: var(--on-field-2); }
.band-media { grid-column: 1 / -1; }
.band-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.band-media figcaption { margin-top: 10px; color: var(--on-field-2); }
.steps { grid-column: 1 / -1; display: grid; gap: 22px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 16px; }
.steps li::before { counter-increment: step; content: counter(step); grid-row: 1 / span 2; width: 48px; height: 48px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-family: var(--display); font-weight: 600; }
.steps h3 { color: var(--on-field); }
.steps p { color: var(--on-field-2); max-width: 46ch; }
@media (min-width: 1040px) {
  .band-head { grid-column: 1 / span 5; }
  .band-media { grid-column: 1 / span 5; }
  .steps { grid-column: 7 / -1; grid-row: 1 / span 2; }
}

/* ===== Finish ===== */
.finish-grid { row-gap: 28px; align-items: start; }
.finish-copy { grid-column: 1 / -1; }
.finish-copy > p { margin-top: 16px; max-width: 48ch; }
.finish-copy dl { margin-top: 24px; display: grid; gap: 16px; }
.finish-copy dt { font-weight: 600; }
.finish-copy dd { color: var(--ink-2); margin-top: 2px; max-width: 52ch; }
.finish-media { grid-column: 1 / -1; }
.finish-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.finish-media figcaption { margin-top: 10px; color: var(--ink-2); }
@media (min-width: 1040px) {
  .finish-copy { grid-column: 1 / span 6; }
  .finish-media { grid-column: 8 / -1; }
}

/* ===== Area ===== */
.area-grid { row-gap: 22px; align-items: start; }
.area-head { grid-column: 1 / -1; }
.area-head p { margin-top: 14px; max-width: 44ch; }
.towns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.towns li { background: var(--ground-2); padding: 10px 14px; font-weight: 450; }
.towns li.here { background: var(--ink); color: var(--on-field); }
.area-media { grid-column: 1 / -1; }
.area-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 1040px) { .area-head { grid-column: 1 / span 5; } .towns { grid-column: 1 / span 5; } .area-media { grid-column: 7 / -1; grid-row: 1 / span 2; } }

/* ===== FAQ ===== */
.faq-head { grid-column: 1 / -1; }
.faq-list { grid-column: 1 / -1; margin-top: 28px; display: grid; gap: 6px; }
.faq-list details { background: var(--ground-2); }
.faq-list summary { list-style: none; cursor: pointer; min-height: 60px; padding: 16px 56px 16px 20px; position: relative; font-weight: 600; display: flex; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); transition: transform 0.25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq-list details p { padding: 0 20px 20px; max-width: 64ch; }
@media (min-width: 1040px) { .faq-head { grid-column: 1 / span 4; } .faq-list { grid-column: 6 / -1; margin-top: 0; } }

/* ===== Closing ===== */
.closing { background: var(--accent); color: var(--on-accent); padding-block: clamp(72px, 9vw, 136px); margin-top: var(--section); }
.closing-grid { row-gap: 22px; align-items: end; }
.closing h2 { grid-column: 1 / -1; }
.closing-copy { grid-column: 1 / -1; }
.closing-copy p { font-size: var(--step-1); max-width: 38ch; }
.closing-copy .hero-actions { margin-top: 22px; }
.closing .text-link { color: var(--on-accent); }
@media (min-width: 1040px) { .closing h2 { grid-column: 1 / span 7; } .closing-copy { grid-column: 8 / -1; } }

/* ===== Subpages ===== */
.page-hero { background: var(--field); color: var(--on-field); padding-block: clamp(24px, 4vw, 56px) clamp(40px, 6vw, 80px); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 20px; color: var(--on-field-2); }
.chapter { row-gap: 22px; align-items: start; }
.chapter-media { grid-column: 1 / -1; }
.chapter-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chapter-copy { grid-column: 1 / -1; }
.chapter-copy > p { margin-top: 14px; max-width: 52ch; }
.chapter-copy dl { margin-top: 22px; display: grid; gap: 14px; }
.chapter-copy dt { font-weight: 600; }
.chapter-copy dd { color: var(--ink-2); margin-top: 2px; max-width: 54ch; }
.chapter-copy .text-link { margin-top: 16px; }
@media (min-width: 1040px) {
  .chapter-media { grid-column: 1 / span 6; }
  .chapter-copy { grid-column: 8 / -1; }
  .chapter--flip .chapter-media { grid-column: 7 / -1; grid-row: 1; }
  .chapter--flip .chapter-copy { grid-column: 1 / span 5; grid-row: 1; }
}

/* Contact */
.contact-grid { row-gap: 48px; }
.form { grid-column: 1 / -1; display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, fieldset legend { font-weight: 600; }
.req { font-weight: 350; color: var(--ink-2); }
.input { width: 100%; min-height: 54px; padding: 12px 14px; font-size: 1.0625rem; background: #fff; border: 2px solid #c3c7ca; border-radius: 0; transition: border-color 0.2s var(--ease); }
.input:focus { border-color: var(--ink); outline: 3px solid var(--focus); outline-offset: 1px; }
textarea.input { min-height: 150px; resize: vertical; }
.input[aria-invalid="true"] { border-color: #b42318; }
.error { color: #b42318; font-weight: 600; }
.error:empty { display: none; }
.hint { color: var(--ink-2); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; background: var(--ground-2); cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: none; }
.choice:has(input:checked) { background: var(--ground-3); }
.two { display: grid; gap: 22px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypot */
.hp input { width: 1px; height: 1px; padding: 0; border: 0; } /* taste-skill-ignore */
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-status { background: var(--field); color: var(--on-field); padding: 24px; }
.form-status h2 { font-size: var(--step-2); }
.form-status p { margin-top: 10px; }
.form-status a { color: var(--on-field); font-weight: 600; }
.contact-aside { grid-column: 1 / -1; display: grid; gap: 32px; align-content: start; }
.contact-aside h2 { font-size: var(--step-2); }
.contact-lines { display: grid; gap: 4px; }
.contact-lines a { font-weight: 600; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; word-break: break-word; }
.contact-lines a svg { width: 22px; height: 22px; flex: none; }
.contact-lines address { font-style: normal; margin-top: 6px; }
.after ol { margin-top: 12px; display: grid; gap: 10px; padding-left: 1.3em; }
.contact-strip { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.contact-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width: 1040px) { .form { grid-column: 1 / span 7; } .contact-aside { grid-column: 9 / -1; } .contact-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } .contact-strip img { aspect-ratio: 4 / 3; } }

/* ===== Footer ===== */
.site-footer { background: var(--field); color: var(--on-field); padding-block: clamp(64px, 8vw, 112px) 40px; }
.footer-name { grid-column: 1 / -1; display: flex; flex-wrap: wrap; font-family: var(--display); font-weight: 500; font-size: var(--step-4); line-height: 1; letter-spacing: -0.02em; }
.footer-name .wm-a { padding: 0.12em 0.22em 0.18em; }
.footer-name .wm-v { padding: 0.12em 0.22em 0.18em; box-shadow: inset 0 0 0 0.08em var(--on-field); } /* taste-skill-ignore: logo-omlijning */
.footer-cols { grid-column: 1 / -1; display: grid; gap: 28px; margin-top: 44px; }
.footer-cols h2 { font-family: var(--text); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--on-field-2); line-height: 1.4; }
.footer-cols ul { margin-top: 6px; }
.footer-cols a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-field); word-break: break-word; }
.footer-cols address, .footer-cols p { font-style: normal; margin-top: 8px; }
.footer-legal { grid-column: 1 / -1; margin-top: 44px; display: grid; gap: 10px; color: var(--on-field-2); font-size: 1rem; }
.footer-legal p { max-width: 62ch; }
.footer-legal a { color: var(--on-field); }
@media (min-width: 720px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== Motion ===== */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-rise], .js .page-hero [data-rise] { animation: rise 0.8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
