/* ==========================================================
   von Muralt Treuhand – Stylesheet
   Farben: Weiss, Sand, Schwarz, Braun
   Schrift: Archivo (breiter Schnitt für Titel)
   ========================================================== */

:root {
  --white: #FFFFFF;
  --sand: #EFE9E1;
  --sand-dark: #E2D9CD;
  --ink: #141312;
  --ink-soft: #2E2B28;
  --grey: #75706A;
  --grey-light: #A9A39B;
  --line: #E4DED6;
  --brown: #6F5A47;
  --brown-light: #B9A48C;

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Nur vier Schriftgrössen */
  --fs-display: clamp(2.9rem, 9.2vw, 8.5rem);
  --fs-h2: clamp(2rem, 5vw, 4.25rem);
  --fs-h3: clamp(1.2rem, 1.8vw, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --max: 1320px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --header: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-weight: 700; color: inherit; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.display, h1 {
  font-size: var(--fs-display);
  font-stretch: 125%;
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-weight: 700;
}
h2 {
  font-size: var(--fs-h2);
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 650;
}
h3 {
  font-size: var(--fs-h3);
  font-stretch: 112%;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
}
em { font-style: normal; color: var(--brown); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  display: flex; align-items: center; gap: 12px;
  font-size: var(--fs-small); font-weight: 500;
  color: var(--grey);
  margin-bottom: 2rem;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 0.7em;
  padding: 1.05em 1.8em;
  font: inherit; font-size: var(--fs-small); font-weight: 600;
  text-decoration: none; cursor: pointer;
  border-radius: 999px; border: 1px solid currentColor;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: none; }
.btn .arrow { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }

.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark::before { background: var(--brown); }
.btn-dark:hover { border-color: var(--brown); }
.btn-line { color: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light::before { background: var(--sand-dark); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--ink); color: var(--white); padding: .6em 1em; }
.skip-link:focus { left: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Vorhang beim Seitenwechsel ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 250;
  background: var(--ink); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(-100%);
  pointer-events: none;
}
.curtain span { font-size: clamp(2rem, 6vw, 5rem); font-stretch: 125%; font-weight: 700; letter-spacing: -0.03em; }
.js .curtain { animation: curtainOut 1s .15s var(--ease-io) both; }
.js .curtain span { animation: curtainText 1s .15s var(--ease-io) both; }
.js.leaving .curtain { animation: curtainIn .7s var(--ease-io) both; }
.js.leaving .curtain span { animation: none; opacity: 1; }
@keyframes curtainOut { from { transform: none; } to { transform: translateY(-100%); } }
@keyframes curtainIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes curtainText { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-40px); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .6s var(--ease), background .4s, box-shadow .4s;
}
.site-header.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header); }

.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; position: relative; z-index: 2; }
.logo-name { display: block; font-size: clamp(1.55rem, 2.4vw, 2rem); font-stretch: 125%; font-weight: 750; letter-spacing: -0.04em; }
.logo-sub { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; color: var(--brown); margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav a {
  text-decoration: none; font-size: var(--fs-small); font-weight: 500;
  padding: 0.6em 1.1em; border-radius: 999px; position: relative; overflow: hidden;
  transition: background .3s;
}
.nav a span { display: inline-block; transition: transform .45s var(--ease); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--white); }
.nav a:not([aria-current]):hover { background: var(--sand); }

.nav-toggle {
  display: none; position: relative; z-index: 2;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--ink); cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--white);
  transition: transform .5s var(--ease);
}
.nav-toggle span:first-child { transform: translateY(-4px); }
.nav-toggle span:last-child { transform: translateY(4px); }
.nav-open .nav-toggle span:first-child { transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 0;
    padding: var(--header) var(--gutter) 40px;
    background: var(--ink);
    clip-path: circle(0% at calc(100% - var(--gutter) - 24px) calc(var(--header) / 2));
    transition: clip-path .8s var(--ease-io), visibility 0s .8s;
    visibility: hidden;
  }
  .nav-open .nav { clip-path: circle(150% at calc(100% - var(--gutter) - 24px) calc(var(--header) / 2)); visibility: visible; transition: clip-path .8s var(--ease-io); }
  .nav a {
    color: var(--white); background: none !important;
    font-size: clamp(2.4rem, 11vw, 4rem); font-stretch: 125%; font-weight: 700; letter-spacing: -0.03em;
    padding: 0.1em 0; border-radius: 0;
  }
  .nav a[aria-current="page"] { color: var(--brown-light); }
  .nav a span { transform: translateY(110%); transition: transform .8s var(--ease); }
  .nav-open .nav a span { transform: none; }
  .nav-open .nav a:nth-child(2) span { transition-delay: .05s; }
  .nav-open .nav a:nth-child(3) span { transition-delay: .1s; }
  .nav-open .nav a:nth-child(4) span { transition-delay: .15s; }
  .nav-open .logo { color: var(--white); }
  .nav-open .nav-toggle { background: var(--white); }
  .nav-open .nav-toggle span { background: var(--ink); }
  .nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transform: none; }
}

/* ---------- Sections ---------- */
main { padding-top: var(--header); }
section { padding: clamp(80px, 12vw, 160px) 0; }
.sand { background: var(--sand); }
.dark { background: var(--ink); color: var(--white); }
.dark .label { color: var(--grey-light); }
.section-top { margin-bottom: clamp(48px, 7vw, 96px); max-width: 980px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 10vw, 140px) 0 clamp(64px, 9vw, 120px); }
.hero .display { max-width: 11.5em; }
.hero-bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2.5rem; flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 88px);
}
.hero-text { font-size: var(--fs-h3); line-height: 1.45; max-width: 30em; margin: 0; color: var(--ink-soft); }
.page-head .hero-text { margin-top: clamp(28px, 4vw, 48px); }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

.page-head { padding: clamp(56px, 10vw, 140px) 0 clamp(56px, 8vw, 110px); border-bottom: 1px solid var(--line); }

/* ---------- Riesen-Schriftband ---------- */
.marquee { background: var(--ink); color: var(--white); overflow: hidden; padding: clamp(18px, 3vw, 36px) 0; }
.marquee-track { display: flex; align-items: center; width: max-content; will-change: transform; }
.marquee-track span {
  font-size: clamp(3rem, 10vw, 9rem); font-stretch: 125%; font-weight: 700;
  letter-spacing: -0.04em; line-height: 1; white-space: nowrap; padding: 0 .25em;
}
.marquee-track span.outline { color: transparent; -webkit-text-stroke: 1.5px var(--brown-light); }
.marquee-track i { font-style: normal; font-size: clamp(1.4rem, 3vw, 2.6rem); color: var(--brown-light); padding: 0 .3em; }

/* ---------- Leistungen als Zeilen ---------- */
.rows { border-top: 1px solid var(--ink); }
.row {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 48px; gap: 2rem; align-items: center;
  padding: 2.2rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color .5s var(--ease), padding .6s var(--ease);
}
.row::before {
  content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.row:hover { color: var(--white); padding-left: 1.5rem; padding-right: 1.5rem; }
.row:hover::before { transform: scaleY(1); transform-origin: top; }
.row-num { font-size: var(--fs-small); font-weight: 500; color: var(--brown); font-variant-numeric: tabular-nums; }
.row:hover .row-num { color: var(--brown-light); }
.row-title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; font-size: var(--fs-h3); font-stretch: 125%; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
.row-text { color: var(--grey); font-size: var(--fs-body); transition: color .5s var(--ease); }
.row:hover .row-text { color: var(--grey-light); }
.row-arrow { justify-self: end; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: transform .6s var(--ease), background .4s; }
.row-arrow .arrow { width: 18px; height: 18px; }
.row:hover .row-arrow { transform: rotate(-45deg); background: var(--white); color: var(--ink); border-color: var(--white); }
@media (max-width: 860px) {
  .row { grid-template-columns: 32px minmax(0, 1fr) 40px; gap: 1rem 1.2rem; padding: 1.6rem 0; }
  .row-text { grid-column: 2 / 3; grid-row: 2; font-size: var(--fs-small); }
  .row-arrow { grid-column: 3; grid-row: 1; width: 40px; height: 40px; }
  .row:hover { padding-left: .6rem; padding-right: .6rem; }
}

/* ---------- Über-uns-Teaser ---------- */
.statement { max-width: 14em; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2.5rem; margin-top: clamp(48px, 7vw, 96px); align-items: start; color: var(--grey-light); }
@media (max-width: 960px) { .about-cols { grid-template-columns: 1fr; gap: 1.2rem; } }

/* ---------- Gestapelte Karten ---------- */
.stack { display: flex; flex-direction: column; gap: 24px; padding-bottom: 40px; }
.stack-card {
  position: sticky; top: calc(var(--header) + 24px);
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem; align-items: end;
  min-height: min(56vh, 460px);
  padding: clamp(28px, 4vw, 56px);
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 -20px 60px -30px rgba(20,19,18,.35);
}
.stack-card:nth-child(2) { top: calc(var(--header) + 48px); background: var(--brown); color: var(--white); }
.stack-card:nth-child(3) { top: calc(var(--header) + 72px); background: var(--ink); color: var(--white); }
.stack-num { align-self: start; font-size: clamp(5rem, 16vw, 13rem); font-stretch: 125%; font-weight: 700; line-height: .8; letter-spacing: -0.06em; }
.stack-card h3 { font-size: var(--fs-h2); font-stretch: 125%; margin-bottom: 1rem; }
.stack-card p { margin: 0; max-width: 28em; opacity: .8; }
@media (max-width: 760px) { .stack-card { grid-template-columns: minmax(0, 1fr); min-height: 380px; } .stack-card h3 { font-size: clamp(1.8rem, 8vw, 2.4rem); } }

/* ---------- CTA, die sich beim Scrollen aufzieht ---------- */
.cta-wrap { padding: 0; background: var(--white); }
.cta {
  --p: 1;
  background: var(--brown); color: var(--white);
  padding: clamp(96px, 14vw, 200px) 0;
  clip-path: inset(calc((1 - var(--p)) * 10%) calc((1 - var(--p)) * 6%) round calc((1 - var(--p)) * 48px));
}
.cta-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: end; }
.cta h2 { font-size: var(--fs-h2); }
.cta p { color: rgba(255,255,255,.75); max-width: 26em; margin-bottom: 1.8rem; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* ---------- Leistungen im Detail ---------- */
.details-section { padding-top: 0; }
.detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px);
  padding: clamp(56px, 8vw, 110px) 0; border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--header);
}
.detail-head { position: sticky; top: calc(var(--header) + 32px); align-self: start; }
.detail-head .row-num { display: block; margin-bottom: 1.2rem; }
.detail-head h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.detail-body > p { font-size: var(--fs-h3); line-height: 1.45; color: var(--ink-soft); margin-bottom: 2rem; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.checklist li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.checklist li::after { content: "+"; color: var(--brown); font-weight: 500; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } .detail-head { position: static; } }

/* ---------- Team ---------- */
.team-lead { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.team-lead h2 { margin-bottom: .6rem; }
.team-lead-text > p:not(.label):not(.role) { color: var(--ink-soft); max-width: 34em; }
.role { color: var(--brown); font-size: var(--fs-small); font-weight: 500; margin-bottom: 1.6rem; }
.portrait { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-dark); border-radius: 28px; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.team-card .portrait, .team-card .partner-mark { aspect-ratio: 4 / 3; margin-bottom: 1.8rem; }
.team-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-stretch: 125%; margin-bottom: .5rem; }
.team-card .role { margin-bottom: 1rem; }
.team-card > p:last-child { color: var(--ink-soft); margin: 0; }
.partner-mark {
  background: var(--ink); color: var(--white); border-radius: 28px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: var(--fs-h3); font-stretch: 125%; font-weight: 650; letter-spacing: -0.02em; line-height: 1.1;
}
@media (max-width: 860px) { .team-lead, .team-grid { grid-template-columns: 1fr; } .team-lead .portrait { max-width: 420px; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.value { border-top: 1px solid rgba(255,255,255,.25); padding-top: 1.6rem; }
.value .row-num { display: block; margin-bottom: 2.5rem; color: var(--brown-light); }
.value h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-stretch: 125%; margin-bottom: 1rem; }
.value p { color: var(--grey-light); margin: 0; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact-info { background: var(--sand); border-radius: 28px; padding: clamp(28px, 4vw, 48px); position: sticky; top: calc(var(--header) + 24px); }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: var(--fs-small); color: var(--grey); margin-top: 1.8rem; }
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd { margin: .3rem 0 0; font-size: var(--fs-h3); font-weight: 500; line-height: 1.35; word-break: break-word; }
.contact-info dd a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact-info dd a:hover { background-size: 100% 1px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 2rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-small); font-weight: 500; color: var(--grey); }
.field label span { font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-h3); color: var(--ink);
  padding: .5em 0; background: transparent;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  width: 100%;
  background-image: linear-gradient(var(--brown), var(--brown));
  background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .6s var(--ease);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-size: 100% 2px; }
.field textarea { min-height: 140px; resize: vertical; }
.checkbox { display: flex; gap: .8rem; align-items: flex-start; font-size: var(--fs-small); color: var(--grey); }
.checkbox input { margin-top: .25rem; accent-color: var(--brown); width: 18px; height: 18px; flex-shrink: 0; }
.form-status { grid-column: 1 / -1; padding: 1rem 1.2rem; border-radius: 14px; display: none; }
.form-status.ok { display: block; background: #E9EFE6; color: #2F4A2B; }
.form-status.error { display: block; background: #F4E7E4; color: #6B2C24; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-info { position: static; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Rechtliches ---------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 3rem 0 1rem; }
.legal p { color: var(--ink-soft); }
.placeholder-note { background: var(--sand); padding: 1rem 1.3rem; border-radius: 14px; font-size: var(--fs-small); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--grey-light); padding: clamp(72px, 10vw, 140px) 0 32px; }
.footer-big { margin: 0 0 clamp(56px, 8vw, 110px); }
.footer-big a {
  display: inline-flex; align-items: center; gap: .3em;
  color: var(--white); text-decoration: none;
  font-size: var(--fs-h2); font-stretch: 125%; font-weight: 700; letter-spacing: -0.035em; line-height: 1;
  background: linear-gradient(var(--brown-light), var(--brown-light)) 0 100% / 0 3px no-repeat;
  padding-bottom: .12em;
  transition: background-size .7s var(--ease), color .5s;
}
.footer-big a:hover { background-size: 100% 3px; color: var(--brown-light); }
.footer-big .arrow { width: .7em; height: .7em; transition: transform .6s var(--ease); }
.footer-big a:hover .arrow { transform: rotate(-45deg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 48px; border-bottom: 1px solid #2E2B28; font-size: var(--fs-small); }
.site-footer .logo-name { color: var(--white); }
.site-footer .logo-sub { color: var(--brown-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { text-decoration: none; transition: color .3s; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 28px; font-size: var(--fs-small); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Animationen ---------- */
/* Titel: Wörter fahren einzeln von unten hoch */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.js [data-split] .wi { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--base, 0ms) + var(--i) * 70ms); }
.js [data-split].visible .wi { transform: none; }

/* Elemente gleiten ein */
.js .reveal { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal.row.done { transition: color .5s var(--ease), padding .6s var(--ease); }

/* Porträts öffnen sich wie ein Vorhang */
.js .reveal-clip { clip-path: inset(100% 0 0 0 round 28px); transition: clip-path 1.4s var(--ease-io); }
.js .reveal-clip img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.js .reveal-clip.visible { clip-path: inset(0 0 0 0 round 28px); }
.js .reveal-clip.visible img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .curtain, .js .curtain span { animation: none; transform: translateY(-100%); }
  .js [data-split] .wi, .js .reveal, .js .reveal-clip, .js .reveal-clip img { transform: none; opacity: 1; clip-path: none; transition: none; }
  .cta { clip-path: none; }
  .stack-card { position: static; }
}
