/* ==========================================================================
   JS Studio: stijlen voor de gewone pagina's (Werk, Diensten, Werkwijze, Over ons, Contact)
   Laadt NA site.css en gebruikt dezelfde tokens (zie DESIGN.md §7 en §13).
   Geen 3D, geen scroll-verhaal: strak, snel en leesbaar.
   ========================================================================== */

.pg {
  --gut: clamp(18px, 4vw, 48px);
  --top: calc(var(--bar-h) + var(--jsstudio-bar-h, 0px));
  --rule: 1px solid var(--line);
}
.pg main { position: relative; isolation: isolate; overflow-x: clip; }
.pg main::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: min(90vh, 760px); z-index: -1; pointer-events: none;
  background:
    radial-gradient(52% 70% at 92% 0%, color-mix(in srgb, var(--cobalt) 20%, transparent), transparent 72%),
    radial-gradient(40% 60% at 0% 18%, color-mix(in srgb, var(--deep) 18%, transparent), transparent 74%);
}
:root[data-theme="light"] .pg main::before {
  background:
    radial-gradient(52% 70% at 92% 0%, color-mix(in srgb, var(--cobalt) 13%, transparent), transparent 72%),
    radial-gradient(40% 60% at 0% 18%, color-mix(in srgb, var(--deep) 9%, transparent), transparent 74%);
}
.wrap { width: min(1180px, calc(100% - 2 * var(--gut))); margin-inline: auto; }
.wrap.narrow { width: min(820px, calc(100% - 2 * var(--gut))); }

/* Onthullen bij scrollen: alleen verborgen als JavaScript draait EN er geen "minder beweging" is gevraagd */
html.anim [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(26px); }

/* ---------- Kop van de pagina ---------- */
.pg-hero { padding: calc(var(--top) + clamp(44px, 8vw, 104px)) 0 clamp(36px, 6vw, 72px); }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 clamp(18px, 2.4vw, 28px);
  font-size: 13px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.kicker::before {
  content: ""; width: 14px; height: 14px; flex: none; border-radius: 3px;
  background: linear-gradient(135deg, var(--cobalt) 0 50%, var(--deep) 50% 100%);
}
.pg h1, .pg .display {
  margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(34px, 8.4vw, 116px); line-height: .92; letter-spacing: -.014em; text-wrap: balance;
  overflow-wrap: break-word; hyphens: auto;
}
.pg h1 .h-b { display: block; color: var(--accent-text); padding-left: clamp(0px, 7vw, 108px); }
.pg h1.h-case { font-size: clamp(34px, 7.4vw, 104px); }
.pg-lede {
  margin: clamp(22px, 3vw, 36px) 0 0; max-width: 56ch; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: var(--muted);
}
.pg-lede strong { color: var(--text); font-weight: 650; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
.btn.lg { padding: 15px 22px; font-size: 15.5px; border-radius: 14px; }

/* ---------- Secties ---------- */
.sec { padding: clamp(48px, 7vw, 96px) 0; border-top: var(--rule); }
.sec.flush { border-top: 0; }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); margin-bottom: clamp(26px, 4vw, 48px); }
.sec-head > .lab { grid-column: 1 / span 3; }
.sec-head > h2, .sec-head > .sec-title { grid-column: 4 / -1; }
.lab { margin: 0; padding-top: .5em; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sec-title, .pg h2.sec-title {
  margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(26px, 4.2vw, 56px); line-height: .96; letter-spacing: -.012em; text-wrap: balance; overflow-wrap: break-word;
}
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }
.prose .muted, .muted { color: var(--muted); }
.prose a, .link { color: var(--accent-text); text-decoration-thickness: 1px; }
.prose a:hover, .link:hover { text-decoration-thickness: 2px; }
.sec-body { padding-left: calc(25% + clamp(20px, 3vw, 40px) / 4); }

/* Lijst met het teken als bullet */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 14px 0 14px 30px; border-top: var(--rule); line-height: 1.5; }
.ticks li:last-child { border-bottom: var(--rule); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 1.28em; width: 10px; height: 10px; border-radius: 2px;
  background: linear-gradient(135deg, var(--cobalt) 0 50%, var(--deep) 50% 100%);
}
.ticks li strong { font-weight: 650; }
.ticks li span.muted { display: block; font-size: 15.5px; margin-top: 2px; }
.ticks.plain li { padding-left: 0; }
.ticks.plain li::before { display: none; }

/* Status en data (mono blijft voor data) */
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); flex: none; }
.status.soft::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
.kind { font-family: var(--f-mono); font-size: 12px; color: var(--muted); }

/* Beeld met verschoven blok erachter (de twee helften) */
.frame { position: relative; isolation: isolate; margin: 0; }
.frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; transform: translate(14px, 14px);
  background: linear-gradient(135deg, var(--cobalt), var(--deep));
  transition: transform .5s var(--ease-out);
}
.frame > img, .frame > .slot {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; border: var(--rule); background: var(--surface);
}
.frame > .slot { border-radius: 16px; }
a:hover > .frame::before, a:focus-visible > .frame::before { transform: translate(20px, 20px); }
.frame figcaption, .cap { margin: 32px 0 0; font-family: var(--f-mono); font-size: 12px; line-height: 1.5; color: var(--muted); }
.pg .slot-label { text-transform: none; }

/* ---------- Diensten ---------- */
.svc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); padding: clamp(48px, 7vw, 96px) 0; border-top: var(--rule); scroll-margin-top: var(--top); }
.svc-lead { grid-column: 1 / span 5; align-self: start; position: sticky; top: calc(var(--top) + 28px); }
.svc-num {
  display: block; margin-bottom: 8px; font-family: var(--f-display); font-weight: 800; font-stretch: 125%;
  font-size: clamp(54px, 7vw, 96px); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--text) 38%, transparent);
}
.svc-lead h2 { margin: 0 0 18px; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 46px); line-height: .98; letter-spacing: -.012em; text-wrap: balance; overflow-wrap: break-word; }
.svc-lead p { margin: 0; color: var(--muted); max-width: 40ch; }
.svc-body { grid-column: 6 / -1; display: grid; gap: clamp(30px, 4vw, 48px); }
.blk-h { margin: 0 0 14px; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.proofs { display: grid; gap: 12px; }
.proof {
  display: grid; grid-template-columns: 112px 1fr auto; gap: 16px; align-items: center; padding: 10px; padding-right: 18px;
  border-radius: 16px; border: var(--rule); background: var(--surface); text-decoration: none; color: inherit;
  transition: transform .35s var(--ease-out), border-color .25s ease, box-shadow .35s ease;
}
.proof:hover, .proof:focus-visible { transform: translateY(-2px); border-color: color-mix(in srgb, var(--cobalt) 60%, var(--line)); box-shadow: 0 18px 40px -26px var(--shadow); }
.proof .thumb { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.proof .thumb img, .proof .thumb .slot { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.proof .thumb .slot .mark { width: 30%; }
.proof .thumb .slot-label { display: none; }
.proof b { display: block; font-size: 17px; font-weight: 650; line-height: 1.25; }
.proof small { display: block; margin-top: 3px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.proof .go { width: 22px; height: 22px; fill: none; stroke: var(--accent-text); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.proof:hover .go { transform: translateX(4px); }

.note-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); align-items: start; }
.note-band .lab { grid-column: 1 / span 3; }
.note-band .prose { grid-column: 4 / -1; }

/* ---------- Werk (overzicht) ---------- */
.work-list { display: grid; }
.work-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); align-items: center;
  padding: clamp(34px, 5vw, 64px) 0; border-top: var(--rule);
}
.work-row .frame { grid-column: 1 / span 7; }
.work-row .wr-text { grid-column: 8 / -1; }
.work-row:nth-child(even) .frame { grid-column: 6 / -1; grid-row: 1; }
.work-row:nth-child(even) .wr-text { grid-column: 1 / span 5; grid-row: 1; }
.work-row:nth-child(even) .frame::before { transform: translate(-14px, 14px); }
.work-row:nth-child(even) a:hover > .frame::before { transform: translate(-20px, 20px); }
.wr-text .kind { display: block; margin-bottom: 14px; }
.wr-text h2 { margin: 0 0 16px; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(28px, 3.8vw, 52px); line-height: .96; letter-spacing: -.012em; overflow-wrap: break-word; }
.wr-text h2 a { color: inherit; text-decoration: none; }
.wr-text p { margin: 0 0 20px; color: var(--muted); max-width: 44ch; }
.wr-text .status { margin-bottom: 18px; display: flex; }
.arrow-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 15px; color: var(--accent-text); text-decoration: none; }
.arrow-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.arrow-link:hover svg { transform: translateX(4px); }
.arrow-link:hover { text-decoration: underline; text-underline-offset: .25em; }

/* ---------- Case ---------- */
.crumb { margin: 0 0 clamp(22px, 3vw, 34px); font-size: 14px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--text); text-decoration: underline; }
.crumb span { color: var(--muted); margin: 0 8px; }
.case-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: clamp(20px, 2.6vw, 30px); }
.case-hero-frame { margin-top: clamp(34px, 5vw, 60px); margin-right: 14px; }
.case-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.case-side { position: sticky; top: calc(var(--top) + 28px); display: grid; gap: 24px; }
.case-side .meta { padding: 16px 0; }
.case-main { display: grid; gap: clamp(40px, 6vw, 72px); min-width: 0; }
.case-main > section > h2 { margin: 0 0 18px; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(22px, 2.8vw, 34px); line-height: 1; letter-spacing: -.01em; }
.case-main .lead { font-size: clamp(19px, 2vw, 25px); line-height: 1.45; max-width: 36em; margin: 0; }
.challenge {
  margin: 0; padding: clamp(22px, 3vw, 36px); border-radius: 18px; border: var(--rule); position: relative; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--cobalt) 12%, var(--surface)), color-mix(in srgb, var(--deep) 10%, var(--surface)));
}
.challenge::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--cobalt), var(--deep)); }
.challenge p { margin: 0; font-size: clamp(18px, 1.9vw, 23px); line-height: 1.5; max-width: 38em; }
.gallery { display: grid; gap: clamp(26px, 3.4vw, 40px); }
.gallery.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery .frame { margin-right: 12px; }
.gallery .frame::before { transform: translate(10px, 10px); }
.next-case {
  display: grid; grid-template-columns: 1fr auto; gap: 16px 28px; align-items: end; padding: clamp(26px, 4vw, 48px); border-radius: 20px;
  text-decoration: none; color: inherit; border: var(--rule); background: var(--surface);
  transition: border-color .25s ease, transform .35s var(--ease-out), box-shadow .35s ease;
}
.next-case:hover, .next-case:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cobalt) 60%, var(--line)); box-shadow: 0 26px 50px -32px var(--shadow); }
.next-case .lab { grid-column: 1 / -1; }
.next-case b { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(26px, 4.4vw, 60px); line-height: .95; letter-spacing: -.012em; overflow-wrap: break-word; }
.next-case small { display: block; margin-top: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.next-case .go { width: clamp(34px, 4vw, 52px); height: clamp(34px, 4vw, 52px); fill: none; stroke: var(--accent-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease-out); }
.next-case:hover .go { transform: translateX(6px); }

/* ---------- Werkwijze ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: stap; }
.step { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); column-gap: clamp(14px, 3vw, 36px); padding-bottom: clamp(30px, 4vw, 52px); }
.step:last-child { padding-bottom: 0; }
.step::before { /* de lijn tussen de stappen */
  content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 2px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--cobalt) 70%, transparent), var(--line));
}
.step:last-child::before { display: none; }
.step-n {
  position: relative; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; z-index: 1;
  font-family: var(--f-mono); font-size: 13px; color: var(--accent-ink); background: linear-gradient(135deg, var(--cobalt), var(--deep));
}
.step-body { display: grid; gap: 14px; padding-bottom: clamp(20px, 3vw, 36px); border-bottom: var(--rule); }
.step:last-child .step-body { border-bottom: 0; padding-bottom: 0; }
.step h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(24px, 3.2vw, 40px); line-height: 1; letter-spacing: -.012em; }
.step-lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); max-width: 48ch; }
.step-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(20px, 3vw, 40px); }
.step-cols h3 { margin: 0 0 4px; font-size: 13px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.step-cols p { margin: 0; color: var(--text); opacity: .9; max-width: 40ch; }

.portal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.portal h2 { margin: 0 0 18px; }
.stepper-card { border-radius: 18px; border: var(--rule); background: var(--surface); padding: clamp(18px, 2.6vw, 28px); box-shadow: 0 30px 70px -48px var(--shadow); }
.stepper-card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.stepper-card .top b { color: var(--text); font-weight: 650; font-size: 15px; }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.stepper li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 15px; }
.stepper li i { width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 2px var(--line-strong); }
.stepper li.done i { background: var(--cobalt); box-shadow: none; }
.stepper li.done { color: var(--muted); }
.stepper li.current { font-weight: 650; }
.stepper li.current i { background: radial-gradient(circle, var(--cobalt) 0 38%, transparent 42%); box-shadow: inset 0 0 0 2px var(--cobalt); }
.stepper li.current::after { content: "nu"; margin-left: auto; font-family: var(--f-mono); font-size: 11.5px; font-weight: 400; color: var(--accent-text); }
.stepper li.todo { color: var(--muted); }
.stepper-card .ex { margin: 16px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---------- Over ons ---------- */
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 4vw, 56px); }
.value { padding: 22px 0 26px; border-top: var(--rule); }
.value h3 { margin: 0 0 8px; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(19px, 2vw, 25px); line-height: 1.05; letter-spacing: -.005em; }
.value p { margin: 0; color: var(--muted); max-width: 40ch; }
.skill-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(24px, 4vw, 56px); }
.logo-story { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.logo-story .mark { width: 100%; max-width: 200px; }
.logo-story .mark .hl { transition: transform .7s var(--ease-out); }
.logo-story .mark .hr { transition: transform .7s var(--ease-out); }
.logo-story:hover .mark .hl { transform: translate(-7px, 12px); }
.logo-story:hover .mark .hr { transform: translate(7px, -12px); }
.logo-story .swatches { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.logo-story .swatches i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }

.cta-band {
  position: relative; overflow: hidden; border-radius: 24px; color: #fff;
  padding: clamp(32px, 6vw, 80px); background: linear-gradient(120deg, var(--cobalt), var(--deep));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px clamp(24px, 5vw, 64px); align-items: end;
}
.cta-band::after { /* de twee helften, groot en vaag */
  content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; border-radius: 40px; transform: rotate(14deg);
  border: 2px solid rgba(255, 255, 255, .16); pointer-events: none;
}
.cta-band h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(28px, 4.6vw, 62px); line-height: .95; letter-spacing: -.012em; text-wrap: balance; overflow-wrap: break-word; position: relative; z-index: 1; }
.cta-band p { margin: 16px 0 0; max-width: 46ch; color: rgba(255, 255, 255, .86); position: relative; z-index: 1; }
.cta-band .btn { background: #fff; color: var(--deep); position: relative; z-index: 1; }
.cta-band .btn:hover { box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .5); }
.cta-band .btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.cta-band .btns { position: relative; z-index: 1; }
.pg main > .wrap.last { padding-bottom: clamp(56px, 8vw, 110px); }

/* ---------- Contact ---------- */
.contact-grid2 { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.contact-side { position: sticky; top: calc(var(--top) + 28px); display: grid; gap: 28px; }
.after-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.after-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-top: var(--rule); line-height: 1.5; }
.after-steps li:last-child { border-bottom: var(--rule); }
.after-steps li b { display: block; font-weight: 650; }
.after-steps li span.n { font-family: var(--f-mono); font-size: 12px; color: var(--accent-text); padding-top: 3px; }
.mailto { font-weight: 650; word-break: break-all; }
.form-card { border-radius: 20px; border: var(--rule); background: var(--surface); padding: clamp(20px, 3.4vw, 40px); box-shadow: 0 40px 90px -56px var(--shadow); }
.form-card .form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-card .field.full { grid-column: 1 / -1; }
.field .hint { margin: 0; font-size: 13px; color: var(--muted); }
.form-alert { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; border: 1px solid; font-size: 15px; line-height: 1.5; }
.form-alert[hidden] { display: none; }
.form-alert.is-error { border-color: color-mix(in srgb, #E5484D 55%, var(--line)); background: color-mix(in srgb, #E5484D 10%, var(--surface)); }
.form-alert a { color: var(--accent-text); font-weight: 650; }
.sent { text-align: left; display: grid; gap: 14px; padding: clamp(6px, 1vw, 12px); }
.sent[hidden] { display: none; }
.sent:focus { outline: none; }
.sent h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 42px); line-height: 1; letter-spacing: -.01em; }
.sent p { margin: 0; color: var(--muted); max-width: 46ch; }
.sent .tick { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--cobalt), var(--deep)); }
.sent .tick svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Telefoon en kleine schermen ---------- */
@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .sec-head > .lab, .sec-head > h2, .sec-head > .sec-title { grid-column: 1 / -1; }
  .sec-body { padding-left: 0; }
  .note-band { grid-template-columns: 1fr; gap: 14px; }
  .note-band .lab, .note-band .prose { grid-column: 1 / -1; }
  .svc { grid-template-columns: 1fr; }
  .svc-lead, .svc-body { grid-column: 1 / -1; position: static; }
  .svc-lead { margin-bottom: 28px; }
  .work-row, .work-row:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .work-row .frame, .work-row .wr-text, .work-row:nth-child(even) .frame, .work-row:nth-child(even) .wr-text { grid-column: 1 / -1; grid-row: auto; }
  .work-row:nth-child(even) .frame::before { transform: translate(14px, 14px); }
  .work-row:nth-child(even) a:hover > .frame::before { transform: translate(20px, 20px); }
  .work-row .frame { margin-right: 14px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-side { position: static; }
  .portal { grid-template-columns: 1fr; }
  .contact-grid2 { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .cta-band { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 640px) {
  .proof { grid-template-columns: 88px 1fr auto; gap: 12px; }
  .values { grid-template-columns: 1fr; }
  .step { grid-template-columns: 52px minmax(0, 1fr); }
  .step::before { left: 17px; top: 38px; }
  .step-n { width: 36px; height: 36px; border-radius: 11px; font-size: 12px; }
  .step-cols { grid-template-columns: 1fr; }
  .gallery.two { grid-template-columns: 1fr; }
  .logo-story { grid-template-columns: 1fr; }
  .logo-story .mark { max-width: 120px; }
  .form-card .form { grid-template-columns: 1fr; }
  .next-case { grid-template-columns: 1fr auto; }
  .frame::before { transform: translate(9px, 9px); }
  .case-hero-frame, .work-row .frame, .gallery .frame { margin-right: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .frame::before, .proof, .next-case, .logo-story .mark .hl, .logo-story .mark .hr { transition: none; }
}
