/* JAE-IT Solutions — site styles */

:root {
    --bg: #f7f7f7;
    --ink: #0b0d14;
    --navy: #161928;
    --navy-2: #272c3f;
    --mute: #6b7494;
    --soft: #a3aac2;
    --line: #e6e8ef;
    --white: #fff;
    --blue: #5679f6;
    --blue-2: #8fa8ff;
    --coral: #fc7b5f;
    --green: #2db487;
    --sage: #56704f;
    --orange: #f28c28;
    --pad: clamp(20px, 3.6vw, 52px);
    --radius: 28px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1680px; margin: 0 auto; padding-inline: var(--pad); }
.muted { color: var(--soft); }

/* ---------- type ---------- */

.eyebrow { font-size: 15px; letter-spacing: -.005em; text-transform: lowercase; color: var(--mute); margin-bottom: 18px; }

.display {
    font-weight: 500;
    font-size: clamp(3rem, 8.6vw, 9rem);
    line-height: .92;
    letter-spacing: -.045em;
    text-transform: lowercase;
    text-wrap: balance;
}
.display--sm { font-size: clamp(2.4rem, 5.4vw, 5.25rem); line-height: .98; letter-spacing: -.04em; }
.display .muted { display: block; }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.35; letter-spacing: -.01em; max-width: 34em; }
.lead a { text-decoration-thickness: 1px; text-underline-offset: 4px; }

.link-arrow { display: inline-flex; gap: 8px; text-transform: lowercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 28px 15px;
    border: 1px solid var(--ink); border-radius: 56px;
    background: var(--ink); color: var(--white);
    font-size: 15px; line-height: 1; letter-spacing: -.005em; text-transform: lowercase; text-decoration: none;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { background: var(--white); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--light:hover { background: transparent; color: var(--bg); }
.btn--small { padding: 9px 16px 11px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ---------- reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- loader ---------- */

.loader { display: none; }
.js.is-loading .loader {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg); overflow: hidden;
}
.js.is-loading body { overflow: hidden; }
.loader__cover { position: absolute; left: 0; width: 100%; height: calc(50% + 1px); background: var(--ink); transition: transform .9s var(--ease); }
.loader__cover--top { top: 0; }
.loader__cover--bot { bottom: 0; }
.loader > p, .loader__words { position: relative; z-index: 1; color: var(--bg); transition: opacity .3s ease; }
.loader__count { position: absolute !important; left: var(--pad); bottom: var(--pad); font-size: 15px; font-variant-numeric: tabular-nums; }
.loader__year { position: absolute !important; right: var(--pad); bottom: var(--pad); font-size: 15px; }
.loader__words { display: flex; gap: .35em; font-size: clamp(2.4rem, 8vw, 7rem); letter-spacing: -.045em; line-height: 1; }
.loader__words span { opacity: .25; transition: opacity .4s ease; }
.loader__words span.on { opacity: 1; }
.loader.is-done .loader__cover--top { transform: translateY(-101%); }
.loader.is-done .loader__cover--bot { transform: translateY(101%); }
.loader.is-done > p, .loader.is-done .loader__words { opacity: 0; }
.loader.is-done { background: transparent; pointer-events: none; }

/* ---------- nav ---------- */

.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding-inline: var(--pad); pointer-events: none; transition: transform .45s var(--ease); }
.nav.is-hidden { transform: translateY(-140%); }
.nav__bar {
    pointer-events: auto;
    display: flex; align-items: center; gap: 28px;
    max-width: 1576px; margin: 0 auto; padding: 10px 10px 10px 22px;
    background: rgba(255, 255, 255, .78); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, .7); border-radius: 56px;
    box-shadow: 0 6px 30px rgba(22, 25, 40, .06);
}
.nav__logo { margin-right: auto; }
.nav__logo img { width: 168px; height: auto; }
.nav__links { display: flex; gap: 26px; font-size: 15px; }
.nav__links a { text-decoration: none; opacity: .62; transition: opacity .2s ease; }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__toggle { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ink); position: relative; }
.nav__toggle-icon, .nav__toggle-icon::after { position: absolute; left: 12px; width: 16px; height: 1.5px; background: var(--white); transition: transform .3s var(--ease); }
.nav__toggle-icon { top: 16px; }
.nav__toggle-icon::after { content: ""; left: 0; top: 7px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-icon::after { transform: translateY(-7px) rotate(-90deg); }

.menu {
    position: fixed; inset: 0; z-index: 40;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 120px var(--pad) var(--pad);
    background: var(--ink); color: var(--bg);
}
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { font-size: clamp(3rem, 15vw, 6rem); line-height: 1; letter-spacing: -.045em; text-decoration: none; padding-block: 4px; }
.menu__meta { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--soft); }

.float-cta {
    position: fixed; right: 0; top: 50%; z-index: 30;
    padding: 20px 12px; border-radius: 20px 0 0 20px;
    background: var(--white); color: #000; mix-blend-mode: difference;
    font-size: 15px; line-height: 1; text-decoration: none;
    transform: translate(100%, -50%); transition: transform .5s var(--ease);
}
.float-cta span { writing-mode: vertical-rl; transform: rotate(180deg); display: block; }
.float-cta.is-visible { transform: translate(0, -50%); }

.progress { position: fixed; left: var(--pad); bottom: 18px; z-index: 30; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--white); mix-blend-mode: difference; pointer-events: none; }

/* ---------- hero ---------- */

.hero { position: relative; min-height: 100svh; padding-top: 110px; padding-bottom: 56px; overflow: hidden; }
.hero__inner {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px;
    align-content: space-between; min-height: calc(100svh - 166px);
}
.hero__title {
    grid-column: 1 / -1;
    font-weight: 500; font-size: clamp(5rem, 20.5vw, 21rem); line-height: .86; letter-spacing: -.05em;
    text-transform: lowercase; margin-left: -.04em; position: relative; z-index: 1;
}
.hero__title > span { display: block; }
.hero__swap { overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; color: var(--blue); }
.hero__swap span { display: block; transition: transform .7s var(--ease); }
.hero__swap span.out { transform: translateY(-110%); }
.hero__swap span.pre { transform: translateY(110%); transition: none; }
.hero__fixed { margin-top: -.04em; }
.hero__text { grid-column: 1 / span 4; align-self: end; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.35; letter-spacing: -.01em; }
.hero__cta { grid-column: 9 / -1; align-self: end; justify-self: end; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.hero__scroll { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); font-size: 13px; color: var(--mute); }

.hero__visual { position: absolute; right: var(--pad); top: 15%; width: min(44vw, 620px); aspect-ratio: 1 / 1; z-index: 2; pointer-events: none; }
.mock {
    position: absolute; padding: 18px 20px; border-radius: 22px;
    background: var(--white); box-shadow: 0 24px 60px rgba(22, 25, 40, .12);
    font-size: 14px; line-height: 1.3; animation: float 9s ease-in-out infinite;
}
.mock__label { color: var(--mute); font-size: 12px; margin-bottom: 6px; }
.mock__big { font-size: 30px; letter-spacing: -.03em; line-height: 1.1; }
.mock__title { font-size: 20px; letter-spacing: -.02em; }
.mock__row { display: flex; flex-direction: column; gap: 6px; margin-block: 14px; }
.mock__row span { height: 6px; border-radius: 6px; background: var(--line); }
.mock__row span:last-child { width: 62%; }
.mock__pill { display: inline-block; margin-top: 10px; padding: 5px 12px 6px; border-radius: 30px; font-size: 12px; }
.mock__pill--green { background: rgba(45, 180, 135, .14); color: #14805c; }
.mock__pill--dark { background: var(--sage); color: var(--white); }
.mock--invoice { left: 6%; top: 8%; width: 46%; }
.mock--booking { right: 0; top: 30%; width: 44%; background: #f3efe4; animation-delay: -3s; }
.mock--chat { left: 16%; bottom: 4%; width: 54%; background: var(--navy); color: var(--bg); animation-delay: -5s; }
.mock--code { right: 0; bottom: -7%; width: 36%; background: var(--blue); color: var(--white); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; animation-delay: -7s; }
.mock--code i { font-style: normal; opacity: .7; }
.mock--code b { font-weight: 500; background: rgba(255, 255, 255, .22); padding: 1px 6px; border-radius: 6px; }
.mock__bubble { padding: 9px 13px; border-radius: 16px; font-size: 13px; max-width: 88%; }
.mock__bubble--in { background: var(--navy-2); margin-bottom: 8px; }
.mock__bubble--out { background: var(--blue); margin-left: auto; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- statement ---------- */

.statement { padding-block: clamp(90px, 16vw, 240px); }
.statement__text { font-weight: 500; font-size: clamp(2.2rem, 6.6vw, 7rem); line-height: 1; letter-spacing: -.04em; max-width: 15em; }
.statement__text .w { color: #d3d6e0; transition: color .35s ease; }
.statement__text .w.on { color: var(--ink); }

/* ---------- services / features ---------- */

.services { padding-block: clamp(70px, 9vw, 150px); }
.services__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 20px; }
.services__intro { grid-column: 1 / span 5; align-self: start; position: sticky; top: 110px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.services__intro .eyebrow { margin-bottom: -10px; }
.features { grid-column: 7 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 20px; }
.feature__icon { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.feature__divider { position: relative; height: 1px; background: currentColor; margin: 18px 0 20px; }
.feature__divider::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.feature h3 { font-weight: 500; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.05; letter-spacing: -.03em; text-transform: lowercase; margin-bottom: 12px; }
.feature p { color: var(--mute); font-size: 16px; }

/* ---------- work / cases ---------- */

.work { padding-block: clamp(70px, 9vw, 150px); }
.work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(36px, 5vw, 72px); }
.work__head .lead { max-width: 24em; }

.cases { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.case { grid-column: span 6; border-radius: var(--radius); overflow: hidden; background: var(--white); color: var(--ink); --accent: var(--blue); }
.case:nth-child(n+3) { grid-column: span 6; }
.case__link { display: flex; flex-direction: column; height: 100%; padding: 28px; text-decoration: none; }
.case__top h3 { font-weight: 500; font-size: clamp(2.4rem, 5vw, 4.75rem); line-height: .95; letter-spacing: -.045em; text-transform: lowercase; color: var(--accent); }
.case__kind { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 15px; color: var(--accent); }
.case__visual { position: relative; display: grid; place-items: center; margin-block: 28px; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.case__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case__link:hover .case__visual > img { transform: scale(1.04); }
.case__mono { font-size: clamp(8rem, 20vw, 17rem); line-height: .8; letter-spacing: -.06em; color: var(--accent); transform: translateY(-.06em); }
.case__stats { position: relative; margin-top: auto; padding-right: 56px; font-size: 15px; color: var(--mute); }
.case__stats span:not(.case__arrow) { color: var(--accent); }
.case__arrow { position: absolute; right: 0; bottom: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; color: var(--accent); transition: background-color .3s ease, color .3s ease, transform .3s var(--ease); }
.case__link:hover .case__arrow { transform: rotate(-45deg); }

.case--navy, .show.show--navy { background: var(--navy); color: var(--bg); --accent: var(--blue-2); }
.case--navy .case__stats { color: var(--soft); }
.case--sage, .show.show--sage { background: #e9ebdf; --accent: var(--sage); }
.case--sage .case__visual, .show--sage .show__visual { background: #55704e; }
.case--blue, .show.show--blue { --accent: var(--blue); }
.case--coral, .show.show--coral { --accent: #e0573a; }

/* ---------- teasers (opgemaakte productbeelden) ---------- */

.case__visual--teaser { aspect-ratio: 4 / 5; background: none; }
.show__visual--teaser { min-height: 640px; background: none; }
.teaser { position: absolute; inset: 0; container-type: inline-size; overflow: hidden; color: #fff; text-align: center; }
.teaser--expo { background: radial-gradient(120% 70% at 50% 0%, #2a5fd0 0%, #1746ad 45%, #0b2a6b 100%); --t-accent: #7fc4ff; --t-ink: #101828; }
.teaser--elevate { background: radial-gradient(120% 70% at 50% 0%, #6f8f63 0%, #55704e 50%, #3c5237 100%); --t-accent: #e4e9d6; --t-ink: #26301f; }
.teaser__inner { position: absolute; inset: 0; padding: 8cqw 6cqw 0; font-size: 2.9cqw; line-height: 1.3; }
.teaser__logo { height: 9cqw; width: auto; margin: 0 auto 6cqw; }
.teaser--elevate .teaser__logo { height: 15cqw; margin-bottom: 2cqw; }
.teaser__title { font-weight: 600; font-size: 9cqw; line-height: 1.05; letter-spacing: -.03em; text-transform: none; }
.teaser__title span { display: block; color: var(--t-accent); }
.teaser--elevate .teaser__title { font-family: "Playfair Display", Georgia, serif; font-weight: 500; letter-spacing: -.01em; }
.teaser--elevate .teaser__title span { font-style: italic; }
.teaser__sub { margin-top: 3cqw; font-size: 3.8cqw; opacity: .85; }
.teaser__chips { display: flex; justify-content: center; gap: 1.6cqw; margin-top: 4cqw; }
.teaser__chips span { padding: .9cqw 2.6cqw 1.2cqw; border: 1px solid rgba(255, 255, 255, .45); border-radius: 10cqw; font-size: 2.7cqw; }

.tcard { position: absolute; padding: 3cqw 3.4cqw; border-radius: 3.4cqw; background: #fff; color: var(--t-ink); text-align: left; box-shadow: 0 3cqw 7cqw rgba(0, 0, 0, .28); }
.teaser--elevate .tcard { background: #fbf8ef; }
.tcard__label { font-size: 2.7cqw; }
.tcard__big { font-weight: 600; font-size: 5.6cqw; line-height: 1.15; letter-spacing: -.02em; }
.tcard__serif { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 4.6cqw; line-height: 1.15; }
.tcard__meta { font-size: 2.4cqw; color: #6b7494; }
.tcard__up { font-size: 2.4cqw; color: #14915f; }
.tcard__row { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; }
.tcard__row b { font-weight: 600; }
.tcard__pill { font-style: normal; font-size: 2.3cqw; padding: .6cqw 2cqw .8cqw; border-radius: 6cqw; background: #dbe7ff; color: #1746ad; white-space: nowrap; }
.teaser--elevate .tcard__pill { background: #dfe6d3; color: #3c5237; }
.tcard__pill--warn { background: #f5a623 !important; color: #fff !important; }
.tcard__step { position: relative; padding-left: 6cqw; color: #a3aac2; }
.tcard__step + .tcard__step { margin-top: 2cqw; }
.tcard__step::before { content: ""; position: absolute; left: 0; top: .35cqw; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; border: .4cqw solid #d3d6e0; }
.tcard__step.is-done { color: var(--t-ink); }
.tcard__step.is-done::before { border-color: #14915f; background: #14915f; }
.tcard__step.is-busy { color: var(--t-ink); font-weight: 600; }
.tcard__step.is-busy::before { border-color: #1746ad; border-right-color: transparent; }

.tcard--a { left: 6cqw; top: 62cqw; width: 44cqw; transform: rotate(-4deg); }
.tcard--b { right: 6cqw; top: 60cqw; width: 37cqw; transform: rotate(3deg); }
.tcard--c { left: 14cqw; right: 8cqw; top: 89cqw; transform: rotate(1.5deg); }
.tcard--d { right: 7cqw; top: 107cqw; width: 52cqw; transform: rotate(-3deg); }
.teaser--elevate .tcard--a { top: 66cqw; }
.teaser--elevate .tcard--b { top: 68cqw; width: 34cqw; }
.teaser--elevate .tcard--c { top: 93cqw; left: 6cqw; right: 12cqw; transform: rotate(-1.5deg); }
.teaser--elevate .tcard--d { top: 109cqw; left: 12cqw; right: 6cqw; width: auto; transform: rotate(2deg); }

/* ---------- apps: vastgepinde sectie met telefoons ---------- */

.apps { position: relative; }
.apps__stage { display: flex; align-items: center; min-height: 100svh; padding-block: 90px 40px; overflow: hidden; }
.js .apps[data-scrub] { height: 320vh; }
.js .apps__stage { position: sticky; top: 0; height: 100svh; }
.apps__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 20px; align-items: center; width: 100%; }
.apps__copy { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.apps__copy .eyebrow { margin-bottom: -8px; }
.apps__texts { position: relative; width: 100%; max-width: 30em; }
.apps__text { color: var(--mute); }
.apps__text--two { position: absolute; inset: 0; }
.apps__phones { grid-column: 7 / -1; display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 2.5vw, 40px); }

.phone {
    --w: var(--phone-w, min(300px, 23vw));
    --t: 0;
    position: relative; flex: none; width: var(--w); aspect-ratio: 300 / 612;
    border-radius: calc(var(--w) * .16);
    background: #141416;
    box-shadow: inset 0 0 0 2px #46464c, inset 0 0 0 4px #0a0a0b, 0 50px 90px rgba(22, 25, 40, .35);
}
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; border-radius: 2px; background: #3a3a40; }
.phone::before { left: -3px; top: 20%; height: 7%; box-shadow: 0 calc(var(--w) * .34) 0 #3a3a40, 0 calc(var(--w) * .58) 0 #3a3a40; }
.phone::after { right: -3px; top: 30%; height: 11%; }
.phone__island { position: absolute; left: 50%; top: calc(var(--w) * .052); z-index: 3; width: 30%; height: calc(var(--w) * .075); border-radius: 999px; background: #000; transform: translateX(-50%); }
.phone__screen { position: absolute; inset: calc(var(--w) * .035); border-radius: calc(var(--w) * .125); overflow: hidden; container-type: size; }

.phone:nth-child(2) { margin-top: 12%; }
.js .phone:nth-child(1) { --in: clamp(0, var(--p, 0) * 4, 1); --t: clamp(0, (var(--p, 0) - .2) / .7, 1); }
.js .phone:nth-child(2) { --in: clamp(0, (var(--p, 0) - .06) * 4, 1); --t: clamp(0, (var(--p, 0) - .28) / .7, 1); }
.js .phone { translate: 0 calc((1 - var(--in, 1)) * 70vh); }

.js .apps__text--one { opacity: clamp(0, 1 - (var(--p, 0) - .45) * 6, 1); }
.js .apps__text--two { opacity: clamp(0, (var(--p, 0) - .55) * 6, 1); }

/* app-schermen */

.app {
    --app-bg: #f3f5fa; --app-card: #fff; --app-ink: #101828; --app-mute: #6b7494; --app-line: #e6e8ef;
    --app-accent: #1746ad; --app-accent-soft: #dbe7ff; --app-head: linear-gradient(160deg, #2a5fd0, #0b2a6b); --app-head-ink: #fff;
    background: var(--app-bg); color: var(--app-ink); line-height: 1.3; text-align: left;
}
/* cq-eenheden op de container zelf vallen terug op de viewport; daarom staat de maat op de kinderen. */
.app > * { font-size: 3.7cqw; }
.app--elevate {
    --app-bg: #f6f2e8; --app-card: #fffdf7; --app-ink: #26301f; --app-mute: #7a7f6c; --app-line: #e9e3d4;
    --app-accent: #55704e; --app-accent-soft: #e4e9d6; --app-head: linear-gradient(165deg, #6f8f63, #3c5237); --app-head-ink: #fbf8ef;
}
.app p { color: inherit; max-width: none; }
.app__status { position: absolute; z-index: 2; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; padding: 4.5cqw 7cqw 0; font-size: 3.4cqw; font-weight: 600; color: var(--app-head-ink); }
.app__scroll { translate: 0 calc(var(--t, 0) * min(0px, 100cqh - 100%)); will-change: translate; }
.app__head { padding: 14cqw 6cqw 6cqw; background: var(--app-head); color: var(--app-head-ink); border-radius: 0 0 8cqw 8cqw; }
.app__logo { height: 7cqw; width: auto; margin-bottom: 5cqw; }
.app--elevate .app__logo { height: 11cqw; margin-bottom: 2cqw; }
.app__tenant { font-size: 3.2cqw; opacity: .8; margin-bottom: 6cqw; }
.app__label { font-size: 3.2cqw; opacity: .8; }
.app__big { font-weight: 600; font-size: 9cqw; line-height: 1.1; letter-spacing: -.02em; }
.app__meta { font-size: 3.2cqw; opacity: .85; }
.app__card .app__meta { color: var(--app-mute); opacity: 1; }
.app__up { color: #1fbf86; }
.app__card .app__up { color: #14915f; }
.app__accent { color: var(--app-accent); }
.app__serif { font-family: "Playfair Display", Georgia, serif; font-size: 8.5cqw; line-height: 1.1; }
.app__serif em { font-style: italic; opacity: .85; }
.app__serif--sm { font-size: 6cqw; margin-bottom: 1cqw; }

.app__bars { display: flex; align-items: flex-end; gap: 2.4cqw; height: 24cqw; margin-top: 6cqw; }
.app__bars span { position: relative; flex: 1; height: var(--h); border-radius: 2cqw 2cqw 1cqw 1cqw; background: rgba(255, 255, 255, .35); }
.app__bars span.is-now { background: #fff; }
.app__bars i { position: absolute; left: 0; right: 0; bottom: -4.2cqw; font-style: normal; font-size: 2.6cqw; text-align: center; opacity: .8; }
.app__bars { margin-bottom: 4cqw; }

.app__week { display: flex; justify-content: space-between; margin-top: 5cqw; }
.app__week span { display: flex; flex-direction: column; align-items: center; gap: 1cqw; width: 10cqw; padding: 2cqw 0; border-radius: 3cqw; font-weight: 600; }
.app__week small { font-size: 2.6cqw; font-weight: 500; opacity: .75; }
.app__week .is-now { background: var(--app-head-ink); color: var(--app-accent); }
.app__chips { display: flex; flex-wrap: wrap; gap: 1.6cqw; margin-top: 4cqw; }
.app__chips span { padding: 1.4cqw 3cqw 1.7cqw; border: 1px solid currentColor; border-radius: 10cqw; font-size: 3cqw; opacity: .8; }
.app__chips .is-active { background: var(--app-head-ink); border-color: var(--app-head-ink); color: var(--app-accent); opacity: 1; }
.app__card .app__chips span { color: var(--app-accent); }

.app__card { margin: 3.5cqw 4cqw 0; padding: 4cqw 4.5cqw; border-radius: 5cqw; background: var(--app-card); box-shadow: 0 1cqw 3cqw rgba(16, 24, 40, .06); }
.app__card--accent { background: var(--app-accent-soft); }
.app__scroll > .app__card:last-child { margin-bottom: 20cqw; }
.app__title { display: flex; justify-content: space-between; align-items: baseline; gap: 2cqw; font-weight: 600; margin-bottom: 2.5cqw; }
.app__title span { font-weight: 500; font-size: 2.9cqw; color: var(--app-mute); text-align: right; }
.app__row { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; padding: 2.6cqw 0; border-top: 1px solid var(--app-line); }
.app__row > div { min-width: 0; }
.app__row b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__row small { display: block; font-size: 2.9cqw; color: var(--app-mute); }
.app__row--class > div:nth-child(2) { flex: 1; }
.app__row.is-booked { background: var(--app-accent-soft); margin-inline: -4.5cqw; padding-inline: 4.5cqw; border-radius: 3cqw; border-top-color: transparent; }
.app__time { flex: none; width: 12cqw; }
.app__amount { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 1cqw; font-weight: 600; white-space: nowrap; }
.app__pill { flex: none; font-style: normal; font-weight: 500; font-size: 2.7cqw; padding: .9cqw 2.4cqw 1.1cqw; border-radius: 6cqw; background: var(--app-accent-soft); color: var(--app-accent); }
.app__pill--btn { background: var(--app-accent); color: #fff; }
.app__pill--warn { background: #fde7c8; color: #9a5b00; }
.app__pill--bad { background: #fde0d8; color: #b4321c; }
.app__step { position: relative; padding-left: 6cqw; color: var(--app-mute); font-size: 3.3cqw; }
.app__step + .app__step { margin-top: 2cqw; }
.app__step::before { content: ""; position: absolute; left: 0; top: .5cqw; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; border: .45cqw solid #c8cde0; }
.app__step.is-done { color: var(--app-ink); }
.app__step.is-done::before { border-color: #14915f; background: #14915f; }
.app__step.is-busy { color: var(--app-ink); font-weight: 600; }
.app__step.is-busy::before { border-color: var(--app-accent); border-right-color: transparent; }
.app__split { display: flex; gap: 3cqw; }
.app__split > div { flex: 1; display: flex; flex-direction: column; }
.app__split small { font-size: 2.8cqw; color: var(--app-mute); }
.app__split b { font-weight: 600; font-size: 4.2cqw; }
.app__split .app__big { font-size: 10cqw; }
.app__progress { height: 1.8cqw; margin-top: 3.5cqw; border-radius: 2cqw; background: var(--app-line); overflow: hidden; }
.app__progress i { display: block; height: 100%; background: var(--app-accent); }

.app__tabs { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center; padding: 3cqw 2cqw 6cqw; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); font-size: 2.8cqw; color: var(--app-mute); border-top: 1px solid var(--app-line); }
.app--elevate .app__tabs { background: rgba(255, 253, 247, .94); }
.app__tabs .is-active { color: var(--app-accent); font-weight: 600; }
.app__tabs-add { display: grid; place-items: center; width: 10cqw; height: 10cqw; border-radius: 50%; background: var(--app-accent); color: #fff; font-size: 6cqw; line-height: 1; }

@media (max-width: 1000px) {
    .apps__grid { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
    .apps__stage { padding-top: 80px; }
    .apps__copy { gap: 14px; }
    .apps__copy .display { font-size: clamp(2rem, 9vw, 3rem); }
    .apps__texts { font-size: 15px; }
    .apps__phones { --phone-w: min(44vw, 230px); justify-content: center; }
    .js .phone { translate: 0 calc((1 - var(--in, 1)) * 40vh); }
}

@media (max-height: 700px) and (min-width: 1001px) {
    .apps__phones { --phone-w: 22vh; }
}

/* ---------- night (AI) ---------- */

.night, .page-hero--night { position: relative; background: var(--navy); color: var(--bg); overflow: hidden; }
.night { padding-block: clamp(80px, 10vw, 170px); border-radius: var(--radius); margin-inline: clamp(8px, 1vw, 16px); }
.night__stars {
    position: absolute; inset: 0; opacity: .7; pointer-events: none;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 28% 68%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 44% 14%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 58% 82%, #fff 50%, transparent 51%),
        radial-gradient(2px 2px at 71% 34%, var(--blue-2) 50%, transparent 51%),
        radial-gradient(1px 1px at 86% 58%, #fff 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 93% 12%, #fff 50%, transparent 51%),
        radial-gradient(1px 1px at 6% 88%, #fff 50%, transparent 51%),
        radial-gradient(60% 50% at 80% 0%, rgba(86, 121, 246, .32), transparent 70%);
}
.night__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 20px; align-items: center; }
.night__copy { grid-column: 1 / span 6; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.night__copy .eyebrow, .page-hero--night .eyebrow { color: var(--soft); margin-bottom: 0; }
.night__copy p:not(.eyebrow) { color: var(--soft); max-width: 32em; }
.night__demo { grid-column: 8 / -1; }
.page-hero--assistant .night__demo { width: 100%; max-width: 860px; }

/* ---------- assistent ---------- */

.assistant {
    display: flex; flex-direction: column; height: min(640px, 78svh);
    border: 1px solid rgba(143, 168, 255, .22); border-radius: 28px; overflow: hidden;
    background: linear-gradient(180deg, rgba(39, 44, 63, .92), rgba(22, 25, 40, .96));
    box-shadow: 0 40px 100px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
    color: var(--bg); font-size: 15px; line-height: 1.45;
}
.assistant__head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.assistant__head p { margin-right: auto; color: var(--bg) !important; }
.assistant__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(45, 180, 135, .18); }
.assistant.is-busy .assistant__dot { background: var(--blue-2); box-shadow: 0 0 0 4px rgba(143, 168, 255, .2); animation: pulse 1s ease-in-out infinite; }
.assistant__reset { border: 0; background: none; color: var(--soft); font-size: 14px; padding: 0; }
.assistant__reset:hover { color: var(--bg); }
.assistant__log { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--navy-2) transparent; }
.msg { max-width: 86%; padding: 11px 15px 12px; border-radius: 18px; animation: msg-in .45s var(--ease) both; }
.msg > * + * { margin-top: .6em; }
.msg p { color: inherit !important; max-width: none !important; }
.msg--bot { align-self: flex-start; background: rgba(255, 255, 255, .07); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg--error { background: rgba(252, 123, 95, .16); color: #ffc9bc; }
.msg ul { padding-left: 1.1em; list-style: disc; }
.msg li + li { margin-top: .25em; }
.msg a { color: var(--blue-2); text-underline-offset: 3px; }
.msg strong { font-weight: 600; color: #fff; }
.msg__typing { display: flex; gap: 5px; padding-block: 5px; }
.msg__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--soft); animation: typing 1.1s ease-in-out infinite; }
.msg__typing i:nth-child(2) { animation-delay: .15s; }
.msg__typing i:nth-child(3) { animation-delay: .3s; }
.assistant__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 14px; }
.assistant__chips:empty { display: none; }
.assistant__chips button { padding: 7px 13px 9px; border: 1px solid rgba(143, 168, 255, .35); border-radius: 30px; background: transparent; color: var(--blue-2); font-size: 14px; line-height: 1.2; text-align: left; transition: background-color .25s ease, color .25s ease; }
.assistant__chips button:hover { background: var(--blue-2); color: var(--navy); }
.assistant__form { display: flex; align-items: flex-end; gap: 10px; margin: 0 14px 14px; padding: 8px 8px 8px 18px; border-radius: 26px; background: rgba(255, 255, 255, .08); transition: box-shadow .25s ease; }
.assistant__form:focus-within { box-shadow: 0 0 0 1.5px var(--blue-2); }
.assistant__form textarea { flex: 1; min-height: 40px; max-height: 140px; padding: 9px 0; border: 0; outline: 0; background: transparent; color: var(--bg); font: inherit; resize: none; }
.assistant__form textarea::placeholder { color: var(--soft); }
.assistant__form button { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg); transition: background-color .25s ease, opacity .25s ease; }
.assistant__form button:hover { background: var(--blue-2); }
.assistant__form button[disabled] { opacity: .4; cursor: progress; }
.assistant__form svg { width: 18px; height: 18px; margin: 11px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }

@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- bento ---------- */

.bento { padding-block: clamp(70px, 9vw, 150px); }
.bento__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.bento__block { grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 280px; padding: 28px; border-radius: var(--radius); background: var(--white); overflow: hidden; }
.bento__block p:not(.bento__num) { max-width: 18em; color: var(--mute); }
.bento__block--title { grid-column: span 8; background: transparent; padding-left: 0; justify-content: flex-end; }
.bento__block--title h2 { font-weight: 500; font-size: clamp(2.2rem, 5vw, 4.75rem); line-height: .98; letter-spacing: -.04em; max-width: 11em; }
.bento__block--blue { background: var(--blue); color: var(--white); }
.bento__block--dark { background: var(--navy); color: var(--bg); }
.bento__block--blue p:not(.bento__num), .bento__block--dark p:not(.bento__num) { color: inherit; opacity: .8; }
.bento__block--wide { grid-column: span 12; min-height: 0; padding-block: 20px; }
.bento__num { font-size: clamp(3.5rem, 8vw, 7.5rem); line-height: .9; letter-spacing: -.05em; }
.marquee { margin-inline: -28px; overflow: hidden; white-space: nowrap; }
.marquee p { display: inline-block; max-width: none !important; color: var(--ink) !important; font-size: 15px; animation: marquee 34s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- process ---------- */

.process { padding-bottom: clamp(70px, 9vw, 150px); }
.process__list { border-top: 1px solid var(--ink); }
.step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; align-items: baseline; padding-block: clamp(24px, 3vw, 44px); border-bottom: 1px solid var(--ink); }
.step__num { grid-column: span 1; font-size: 15px; color: var(--mute); }
.step h3 { grid-column: span 5; font-weight: 500; font-size: clamp(2.2rem, 5.4vw, 5.25rem); line-height: 1; letter-spacing: -.045em; }
.step p { grid-column: 8 / -1; color: var(--mute); }

/* ---------- cta + footer ---------- */

.cta { overflow: clip; background: var(--ink); color: var(--bg); padding-block: clamp(90px, 12vw, 200px); border-radius: var(--radius) var(--radius) 0 0; }
.cta .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.cta .eyebrow { color: var(--soft); margin-bottom: 0; }
.cta__title { font-weight: 500; font-size: clamp(3.4rem, 13vw, 13rem); line-height: .86; letter-spacing: -.05em; }
.cta__text { max-width: 30em; color: var(--soft); font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.35; }

.footer { background: var(--ink); color: var(--bg); padding-block: 40px 28px; }
.footer__pillars { display: flex; flex-wrap: wrap; gap: 8px 48px; padding-block: 44px; border-top: 1px solid var(--navy-2); font-size: clamp(2rem, 4.6vw, 4.5rem); line-height: 1; letter-spacing: -.04em; }
.footer__pillars i { display: block; font-style: normal; font-size: 15px; letter-spacing: 0; color: var(--soft); margin-bottom: 8px; }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; padding-block: 36px; border-top: 1px solid var(--navy-2); }
.footer__label { font-weight: 500; font-size: 15px; color: var(--soft); text-transform: lowercase; margin-bottom: 10px; }
.footer a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.footer a:hover { border-color: currentColor; }
.footer__areas { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-block: 20px; border-top: 1px solid var(--navy-2); font-size: 14px; }
.footer__areas span { color: var(--soft); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--navy-2); font-size: 14px; color: var(--soft); }

/* ---------- sub pages ---------- */

.page-hero { padding-top: clamp(150px, 17vw, 260px); padding-bottom: clamp(48px, 6vw, 96px); }
.page-hero .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; position: relative; }
.page-hero .eyebrow { margin-bottom: -6px; }
.page-hero__title { font-weight: 500; font-size: clamp(4rem, 16vw, 16rem); line-height: .86; letter-spacing: -.05em; text-transform: lowercase; margin-left: -.04em; }
.page-hero__title--long { font-size: clamp(2.6rem, 7.5vw, 7.5rem); line-height: .95; letter-spacing: -.045em; max-width: 14em; text-wrap: balance; }
.page-hero--night { padding-bottom: clamp(70px, 8vw, 130px); border-radius: 0 0 var(--radius) var(--radius); }
.page-hero--night .lead { color: var(--soft); }

.showcase { padding-bottom: clamp(50px, 6vw, 100px); }
.showcase .wrap { display: flex; flex-direction: column; gap: 20px; }
.show { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 20px; padding: 28px; border-radius: var(--radius); background: var(--white); scroll-margin-top: 100px; --accent: var(--blue); }
.show__visual { position: relative; grid-column: span 5; display: grid; place-items: center; min-height: 420px; border-radius: 20px; overflow: hidden; background: color-mix(in srgb, var(--accent) 12%, transparent); }
.show__visual > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.show:nth-child(even) .show__visual { order: 2; }
.show__body { grid-column: span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: clamp(0px, 2vw, 28px); }
.show__body .eyebrow { margin-bottom: -8px; color: var(--accent); }
.show__body h2 { font-weight: 500; font-size: clamp(2.8rem, 7vw, 7rem); line-height: .9; letter-spacing: -.05em; text-transform: lowercase; color: var(--accent); }
.show__body > p:not(.eyebrow):not(.lead) { color: var(--mute); max-width: 38em; }
.show--navy .show__body > p:not(.eyebrow):not(.lead), .show--navy dt { color: var(--soft); }
.show--navy .btn { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.show--navy .btn:hover { background: transparent; color: var(--bg); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px 8px; border: 1px solid currentColor; border-radius: 40px; font-size: 14px; text-transform: lowercase; opacity: .85; }
.show__meta { display: flex; flex-wrap: wrap; gap: 14px 40px; width: 100%; padding-top: 20px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 15px; }
.show__meta dt { color: var(--mute); }
.show__meta dd { color: var(--accent); }

.archive { padding-block: clamp(50px, 6vw, 100px) clamp(70px, 9vw, 150px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 8px 16px 10px; border: 1px solid var(--ink); border-radius: 40px; background: transparent; font-size: 14px; line-height: 1; transition: background-color .25s ease, color .25s ease; }
.filters button:hover, .filters button.is-active { background: var(--ink); color: var(--white); }
.projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 20px; }
.project { text-decoration: none; }
.project[hidden] { display: none; }
.project__thumb { aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: var(--line); margin-bottom: 14px; }
.project__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project:hover .project__thumb img { transform: scale(1.05); }
.project h3 { font-weight: 500; font-size: 20px; line-height: 1.15; letter-spacing: -.02em; }
.project p { font-size: 15px; color: var(--mute); }

.contact { padding-bottom: clamp(70px, 9vw, 150px); }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 20px; }
.form { grid-column: 1 / span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.field { width: 100%; }
.field label { display: block; font-size: 15px; color: var(--mute); margin-bottom: 4px; }
.field input, .field textarea { width: 100%; padding: 10px 0 14px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font: inherit; font-size: clamp(1.2rem, 2vw, 1.7rem); letter-spacing: -.02em; color: var(--ink); resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.contact__info { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 30px; }
.contact__info .footer__label { color: var(--mute); }
.notice { width: 100%; padding: 16px 20px; border-radius: 16px; }
.notice ul { list-style: disc; padding-left: 18px; }
.notice--ok { background: rgba(45, 180, 135, .14); color: #0f6b4c; }
.notice--error { background: rgba(252, 123, 95, .16); color: #a3321a; }

.faq { padding-bottom: clamp(70px, 9vw, 150px); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 20px; }
.faq__grid > :first-child { grid-column: 1 / span 5; }
.accordion { grid-column: 7 / -1; border-top: 1px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--ink); }
.accordion summary { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; cursor: pointer; list-style: none; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.1; letter-spacing: -.03em; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .prose { padding-bottom: 26px; }

.areas { padding-bottom: clamp(70px, 9vw, 150px); }
.areas .tags { margin-top: 18px; }
.areas .tags a { text-decoration: none; }

.article { padding-bottom: clamp(70px, 9vw, 150px); }
.article__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 20px; }
.article__nav { grid-column: 1 / span 3; align-self: start; position: sticky; top: 110px; }
.article__nav .footer__label { color: var(--mute); }
.article__nav li { border-top: 1px solid var(--line); }
.article__nav a { display: block; padding-block: 12px; text-decoration: none; opacity: .6; transition: opacity .2s ease; }
.article__nav a:hover, .article__nav a.is-active { opacity: 1; }
.article__grid > .prose { grid-column: 5 / span 7; }

.prose { color: #3d445c; }
.prose > * + * { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; margin-top: 1.6em; }
.prose h2 { font-size: 1.9rem; }
.prose h3, .prose h4 { font-size: 1.4rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; list-style: disc; }
.prose ol { list-style: decimal; }
.prose img { height: auto !important; border-radius: 12px; }
.prose a { color: var(--blue); }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
    .nav__links, .nav__cta { display: none; }
    .nav__toggle { display: block; }
    .nav__bar { padding: 8px 8px 8px 18px; }
    .nav__logo img { width: 140px; }
    .float-cta, .progress { display: none; }

    .hero { padding-top: 96px; }
    .hero__inner { display: flex; flex-direction: column; gap: 28px; min-height: 0; }
    .hero__visual { position: relative; right: auto; top: auto; width: 100%; max-width: 460px; margin-inline: auto; }
    .hero__cta { justify-content: flex-start; align-self: flex-start; }
    .hero__scroll { display: none; }

    .services__grid, .night__grid, .faq__grid, .article__grid, .contact__grid { display: flex; flex-direction: column; }
    .services__intro, .article__nav { position: static; }
    .features { gap: 40px 20px; }
    .case, .case:nth-child(n+3) { grid-column: span 12; }
    .bento__block, .bento__block--title { grid-column: span 12; min-height: 0; }
    .bento__block--title { padding: 0 0 8px; }
    .step { display: flex; flex-direction: column; gap: 10px; }
    .show { display: flex; flex-direction: column; padding: 18px; }
    .show:nth-child(even) .show__visual { order: 0; }
    .show__visual { min-height: 0; aspect-ratio: 4 / 3; }
    .show__visual--teaser { aspect-ratio: 4 / 5; }
    .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__grid { grid-template-columns: 1fr; }
    .night__demo { width: 100%; }
    .contact__info, .form { width: 100%; }
}

@media (max-width: 560px) {
    body { font-size: 16px; }
    .features { grid-template-columns: 1fr; }
    .case__link { padding: 20px; }
    .mock { padding: 13px 15px; border-radius: 18px; }
    .mock__big { font-size: 22px; }
    .mock__title { font-size: 16px; }
    .mock__bubble { font-size: 12px; }
    .mock--code { width: 48%; font-size: 10.5px; overflow-wrap: anywhere; }
    .footer__pillars { flex-direction: column; gap: 24px; }
}

/* ---------- scroll-effecten ----------
   site.js zet per [data-scrub]-element de variabele --p (0 tot 1):
   exit  = hoe ver het element boven uit beeld is gescrold
   enter = hoe ver de bovenkant van onder naar boven door het scherm is
   pin   = voortgang binnen een vastgezette (sticky) sectie
   leeg  = voortgang van onder in beeld tot boven uit beeld */

.js .hero__title { translate: 0 calc(var(--p, 0) * 26vh); }
.js .hero__text, .js .hero__cta, .js .hero__scroll { opacity: calc(1 - var(--p, 0) * 2.4); }
.js .mock--invoice { translate: 0 calc(var(--p, 0) * -140px); }
.js .mock--booking { translate: 0 calc(var(--p, 0) * -320px); }
.js .mock--chat { translate: 0 calc(var(--p, 0) * -70px); }
.js .mock--code { translate: 0 calc(var(--p, 0) * -230px); }
.js .page-hero__title { translate: 0 calc(var(--p, 0) * 110px); }

.js .statement[data-scrub] { height: 230vh; padding-block: 0; }
.js .statement__pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; }

.services--turn { position: relative; overflow: clip; border-radius: 0 0 var(--radius) var(--radius); transition: color .6s ease; }
.services--turn .wrap { position: relative; }
.services__circle { display: none; }
.js .services__circle { display: block; position: absolute; inset: 0; background: var(--navy); clip-path: circle(max(0px, calc((var(--p, 0) - .12) * 240vmax)) at 14% 20%); }
.services--turn.is-dark { color: var(--bg); }
.services--turn .eyebrow, .services--turn .feature p, .services--turn .muted { transition: color .6s ease; }
.services--turn.is-dark .eyebrow, .services--turn.is-dark .feature p { color: var(--soft); }
.services--turn.is-dark .muted { color: #525b80; }

.js .feature .feature__divider { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .15s; }
.js .feature.in .feature__divider { transform: none; }

.js .case__visual > img, .js .show__visual > img { scale: 1.14; translate: 0 calc((var(--p, .5) - .5) * 9%); }
.js .tcard--a { translate: 0 calc((.5 - var(--p, .5)) * 16cqw); }
.js .tcard--b { translate: 0 calc((.5 - var(--p, .5)) * -9cqw); }
.js .tcard--c { translate: 0 calc((.5 - var(--p, .5)) * 26cqw); }
.js .tcard--d { translate: 0 calc((.5 - var(--p, .5)) * 44cqw); }
.js .teaser__title, .js .teaser__sub, .js .teaser__chips, .js .teaser__logo { translate: 0 calc((var(--p, .5) - .5) * 10cqw); }

.js .night[data-scrub] { scale: calc(.88 + min(1, var(--p, 1) * 1.5) * .12); }
.js .night__stars { translate: 0 calc(var(--p, 0) * -80px); }
.js .cta__title { translate: calc((1 - min(1, var(--p, 1) * 1.2)) * 42vw) 0; white-space: nowrap; }

@media (min-width: 1001px) {
    .js .cases .case:nth-child(even) { translate: 0 calc((.5 - var(--p, .5)) * 130px); }
    .js .cases { padding-bottom: 40px; }
}

@media (max-width: 560px) {
    .js .cta__title { white-space: normal; translate: calc((1 - min(1, var(--p, 1) * 1.2)) * 30vw) 0; }
}

@media (prefers-reduced-motion: reduce) {
    .js .statement[data-scrub] { height: auto; padding-block: clamp(90px, 16vw, 240px); }
    .js .statement__pin { position: static; height: auto; }
    .js [data-scrub], .js [data-scrub] * { translate: none !important; scale: none !important; }
    .js .hero__text, .js .hero__cta { opacity: 1; }
    .js .services__circle { display: none; }
    .js .feature .feature__divider { transform: none; }
    .js .apps[data-scrub] { height: auto; }
    .js .apps__stage { position: static; height: auto; }
    .js .apps__text--one, .js .apps__text--two { opacity: 1; position: static; }

    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .statement__text .w { color: var(--ink); }
}
