/* Nanoqode — page sections and motion. Tokens and shared components live in site.css. */

/* ---------- photo heroes ---------- */
.hero, .phero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.phero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 88%, transparent) 0%, color-mix(in srgb, var(--ink) 62%, transparent) 48%, color-mix(in srgb, var(--ink) 25%, transparent) 100%), linear-gradient(0deg, color-mix(in srgb, var(--ink) 90%, transparent) 0%, transparent 45%); }
.phero-media { position: absolute; inset: 0; z-index: -2; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
/* home banner: headline + one-step quote form above the fold, photo strip below */
.hero { margin-top: -77px; padding: calc(77px + clamp(28px, 5vh, 64px)) 0 0; }
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(55% 65% at 88% 8%, color-mix(in srgb, var(--brand) 32%, transparent), transparent 62%), radial-gradient(45% 60% at 0% 95%, color-mix(in srgb, var(--teal) 26%, transparent), transparent 62%); }
.hero-glow::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-areas: "top form" "rest form"; column-gap: clamp(40px, 6vw, 96px); align-items: start; padding-bottom: clamp(28px, 4vh, 48px); }
.hero-top { grid-area: top; align-self: end; } .hero-form { grid-area: form; align-self: center; } .hero-rest { grid-area: rest; }
.hero h1 { color: #fff; max-width: 13ch; font-size: clamp(2.7rem, 5.6vw, 5.4rem); }
.hero .lead { color: rgba(255,255,255,.76); margin-top: 24px; }
.hero-form { padding: 24px 24px 20px; }
.hero-form .form-head h3, .hero-form .form-head .form-title { font-size: 1.35rem; } .hero-form .form-head p { margin-bottom: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 28px; }
.hero-next { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.78); font-size: .96rem; border-bottom: 1px solid transparent; transition: border-color var(--t) var(--ease), color var(--t) var(--ease); }
.hero-next b { color: #fff; font-weight: 600; } .hero-next:hover { color: #fff; border-color: var(--brand); }
.hero-ribbon { padding: 4px 0 clamp(36px, 5vw, 56px); }
.hero-ribbon .marquee { --gap: 14px; }
.tile { position: relative; flex: none; width: clamp(220px, 22vw, 320px); aspect-ratio: 4 / 3; margin: 0; border-radius: 18px; overflow: hidden; background: var(--ink-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption { position: absolute; left: 12px; bottom: 12px; font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--ink); }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 36px; font-size: .92rem; color: rgba(255,255,255,.75); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .stars { color: #ffb648; letter-spacing: 2px; }
.hero-proof b { color: #fff; font-weight: 600; }
.hero-proof .ic { color: var(--teal-light); width: 18px; height: 18px; }
/* live availability card */
.slot-card { color: var(--fg); background: var(--surface); border-radius: 24px; padding: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.slot-card-head { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; color: var(--fg-2); }
.slot-card h2 { font-size: 1.55rem; letter-spacing: -.035em; margin: 12px 0 6px; line-height: 1.15; }
.slot-card > p { color: var(--fg-3); font-size: .92rem; }
.slot-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; min-height: 152px; }
.slot-list a, .slot-list .sk { display: grid; gap: 2px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line-2); font-size: .88rem; line-height: 1.25; transition: all var(--t) var(--ease); }
.slot-list a small { color: var(--fg-3); font-size: .74rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.slot-list a strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.slot-list a:hover { border-color: var(--brand); background: var(--brand); color: #fff; transform: translateY(-2px); }
.slot-list a:hover small { color: rgba(255,255,255,.8); }
.slot-list .sk { height: 50px; background: linear-gradient(90deg, var(--bg-3), var(--bg), var(--bg-3)); background-size: 200% 100%; border-color: transparent; animation: shimmer 1.4s infinite linear; }
@keyframes shimmer { to { background-position: -200% 0; } }
.slot-list .slot-empty { grid-column: 1 / -1; align-self: center; color: var(--fg-2); font-size: .92rem; }
.slot-foot { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--fg-3); }
.slot-foot img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.slot-foot a { color: var(--fg); font-weight: 600; }
.hero-ticker { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; color: rgba(255,255,255,.65); font-size: .95rem; }
.hero-ticker .marquee { --gap: 40px; }
.hero-ticker span { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; }
.hero-ticker span::after { content: '✦'; color: var(--brand); font-size: .8rem; }

/* inner page photo hero */
.phero { margin-top: -77px; padding: calc(77px + clamp(80px, 10vw, 150px)) 0 clamp(48px, 6vw, 88px); min-height: 520px; display: flex; align-items: flex-end; }
.phero.short { min-height: 420px; }
.phero .wrap { position: relative; }
.phero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 5.6rem); max-width: 16ch; }
.phero .lead { color: rgba(255,255,255,.78); margin-top: 22px; }
.phero .lead a { color: #fff; }
.phero .hero-actions { margin-top: 30px; }
.crumbs { display: flex; gap: 8px; font-size: .86rem; color: rgba(255,255,255,.65); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.svc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 5vw, 80px); align-items: end; width: 100%; }
.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 34px; max-width: 640px; }
.outcomes li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: rgba(255,255,255,.85); line-height: 1.4; }
.outcomes .ic { width: 18px; height: 18px; color: var(--teal-light); margin-top: 2px; }

/* ---------- client marquee ---------- */
.logos { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.logos-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; }
.logos p { color: var(--fg-3); font-size: .9rem; line-height: 1.4; }
.marquee { --gap: 64px; position: relative; display: flex; overflow: hidden; gap: var(--gap); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; flex: none; gap: var(--gap); min-width: 100%; justify-content: space-around; align-items: center; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - var(--gap))); } }
.wordmark { font-size: 1.45rem; font-weight: 600; letter-spacing: -.05em; color: var(--fg-3); white-space: nowrap; transition: color var(--t) var(--ease); }
.wordmark:hover { color: var(--fg); }
.wordmark:nth-child(3n+2) { font-weight: 400; font-style: italic; letter-spacing: -.03em; }
.wordmark:nth-child(4n) { text-transform: uppercase; font-size: 1.1rem; letter-spacing: .08em; font-weight: 700; }

/* ---------- scroll-lit statement ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.statement { font-size: clamp(1.7rem, 3.2vw, 2.9rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.18; color: var(--fg); text-wrap: pretty; }
.statement.armed .hw { color: #687073; transition: color .3s linear; }
.statement.armed .hw.on { color: var(--fg); }
:root[data-theme="dark"] .statement.armed .hw { color: #8f999b; }
:root[data-theme="dark"] .statement.armed .hw.on { color: var(--fg); }
.statement .hw.accent.on { color: var(--brand); }
.intro-photos { position: relative; height: clamp(420px, 44vw, 600px); }
.intro-photos .ph { position: absolute; }
.intro-photos .p1 { inset: 0 18% 22% 0; }
.intro-photos .p2 { width: 52%; aspect-ratio: 4 / 5; right: 0; bottom: 0; border: 8px solid var(--bg); border-radius: 26px; transform: translateY(var(--py, 0)); }
.intro-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(40px, 5vw, 72px); padding-top: 32px; border-top: 1px solid var(--line-2); }
.intro-stats strong { display: block; font-size: clamp(2.4rem, 4.4vw, 4rem); font-weight: 500; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.intro-stats span { display: block; margin-top: 10px; color: var(--fg-3); font-size: .95rem; }
.intro-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- services: list with cursor image preview ---------- */
.svc-rows { border-top: 1px solid var(--line-2); }
.svc-row { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1.1fr) minmax(0, 1fr) 120px 56px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-2); isolation: isolate; transition: padding .5s var(--ease), color .4s var(--ease); }
.svc-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 .5s var(--ease); }
.svc-row .n { font-size: .85rem; font-weight: 600; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.svc-row .t { font-size: clamp(1.7rem, 3.3vw, 3rem); font-weight: 500; letter-spacing: -.05em; line-height: 1; transition: transform .5s var(--ease); }
.svc-row .d { color: var(--fg-2); font-size: .98rem; line-height: 1.45; }
.svc-row .cat { justify-self: start; }
.svc-row .go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); transition: all .45s var(--ease); }
.svc-row .thumb { display: none; }
@media (hover: hover) {
  .svc-row:hover { color: #fff; padding-left: 12px; padding-right: 12px; }
  .svc-row:hover::before { transform: scaleY(1); }
  .svc-row:hover .t { transform: translateX(10px); }
  .svc-row:hover .d { color: rgba(255,255,255,.72); } .svc-row:hover .n { color: var(--brand-light); }
  .svc-row:hover .cat { color: #fff; border-color: rgba(255,255,255,.3); }
  .svc-row:hover .go { background: var(--brand); border-color: var(--brand); transform: rotate(-45deg); }
}
.hover-preview { position: fixed; left: 0; top: 0; z-index: 40; width: 340px; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(var(--hx, 0), var(--hy, 0), 0) scale(.85) rotate(-4deg); transition: opacity .3s var(--ease), transform .45s var(--ease); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.hover-preview.is-on { opacity: 1; transform: translate3d(var(--hx, 0), var(--hy, 0), 0) scale(1) rotate(-3deg); }
.hover-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s var(--ease); }
.hover-preview img.on { opacity: 1; }

/* ---------- work: pinned horizontal scroll ---------- */
.work-pin { position: relative; background: var(--ink); color: var(--on-ink); }
.pin-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vh, 48px); overflow: hidden; padding: 90px 0 40px; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.work-head h2 { color: #fff; max-width: 14ch; }
.work-head p { color: color-mix(in srgb, var(--on-ink) 68%, transparent); max-width: 40ch; }
.work-progress { width: 180px; height: 2px; background: rgba(255,255,255,.18); position: relative; }
.work-progress i { position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(var(--wp, 0)); }
.work-track { display: flex; gap: 24px; padding-left: max(var(--gutter), (100vw - var(--wrap)) / 2); padding-right: var(--gutter); will-change: transform; transform: translate3d(var(--tx, 0), 0, 0); }
.case { flex: none; width: clamp(300px, 34vw, 500px); display: flex; flex-direction: column; gap: 16px; }
.case .ph { aspect-ratio: 4 / 3; border-radius: 18px; }
.case .ph::after { content: attr(data-tag); position: absolute; left: 16px; top: 16px; font-size: .76rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 65%, transparent); color: #fff; backdrop-filter: blur(6px); }
.case-meta { display: flex; justify-content: space-between; gap: 12px; color: color-mix(in srgb, var(--on-ink) 55%, transparent); font-size: .86rem; }
.case h3 { color: #fff; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -.04em; }
.case p { color: color-mix(in srgb, var(--on-ink) 70%, transparent); font-size: .98rem; }
.case-cta { flex: none; width: clamp(280px, 26vw, 380px); align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; border-radius: 18px; background: var(--brand); color: #fff; transition: background var(--t) var(--ease); }
.case-cta:hover { background: var(--brand-dark); }
.case-cta strong { font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.05; }
.case-cta .go { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--brand); transition: transform .45s var(--ease); }
.case-cta:hover .go { transform: rotate(-45deg); }

/* ---------- process: sticky image + steps ---------- */
.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); }
.process-media { position: relative; }
.process-media .sticky { position: sticky; top: 110px; height: min(78vh, 680px); border-radius: 24px; overflow: hidden; background: var(--bg-3); }
.process-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.process-media img.on { opacity: 1; transform: scale(1); }
.process-media .count { position: absolute; left: 20px; bottom: 20px; z-index: 2; padding: 10px 16px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 70%, transparent); color: #fff; font-size: .86rem; font-weight: 600; backdrop-filter: blur(8px); font-variant-numeric: tabular-nums; }
.pstep { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid var(--line-2); opacity: .35; transition: opacity .6s var(--ease); }
.pstep.on { opacity: 1; }
.pstep .num { font-size: .9rem; font-weight: 600; color: var(--accent); margin-bottom: 20px; }
.pstep h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -.05em; line-height: 1.05; margin-bottom: 18px; }
.pstep p { color: var(--fg-2); font-size: 1.1rem; max-width: 46ch; }
.pstep .pimg { display: none; }

/* ---------- results band ---------- */
.results { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 28px; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.results .ph { border-radius: 0; min-height: 460px; }
.results-copy { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.results-copy h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.4rem); max-width: 16ch; }
.results-copy > p { color: color-mix(in srgb, var(--on-ink) 68%, transparent); margin-top: 18px; max-width: 46ch; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; margin-top: 44px; }
.stats-grid li { border-top: 1px solid rgba(255,255,255,.16); padding-top: 16px; }
.stat-num { display: block; font-size: clamp(2.1rem, 3.4vw, 3.1rem); font-weight: 500; letter-spacing: -.06em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stats-grid li:nth-child(3n+1) .stat-num { color: var(--brand); } .stats-grid li:nth-child(3n+2) .stat-num { color: var(--teal-light); }
.stat-label { display: block; margin-top: 10px; color: color-mix(in srgb, var(--on-ink) 60%, transparent); font-size: .9rem; }

/* ---------- testimonial slider ---------- */
.tslider { position: relative; display: grid; }
.tslide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.tslide.on { opacity: 1; visibility: visible; transition-delay: 0s; }
.tslide .ph { aspect-ratio: 4 / 5; border-radius: 24px; }
.tslide .ph img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.tslide.on .ph img { transform: scale(1); }
.tslide blockquote { margin: 0; font-size: clamp(1.5rem, 2.7vw, 2.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.22; text-wrap: pretty; }
.tslide blockquote::before { content: '“'; display: block; font-size: 5rem; line-height: .6; color: var(--brand); margin-bottom: 16px; }
.tslide figcaption { display: flex; align-items: center; gap: 14px; margin-top: 32px; }
.tslide figcaption strong { display: block; font-size: 1.05rem; } .tslide figcaption small { display: block; color: var(--fg-3); }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--teal-deep); color: #fff; font-weight: 600; flex: none; }
.tslide:nth-child(even) .avatar { background: var(--brand-btn); }
.tnav { display: flex; align-items: center; gap: 12px; }
.tnav .icon-btn { width: 56px; height: 56px; }
.tcount { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--fg-3); min-width: 64px; text-align: center; }
.tbar { height: 2px; background: var(--line-2); margin-top: clamp(32px, 4vw, 56px); position: relative; overflow: hidden; }
.tbar i { position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.tbar i.run { animation: tbar 7s linear forwards; }
@keyframes tbar { to { transform: scaleX(1); } }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { margin: 0; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.quote blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote figcaption strong { display: block; font-size: .94rem; } .quote figcaption small { display: block; color: var(--fg-3); font-size: .84rem; }
.quote:nth-child(even) .avatar { background: var(--brand-btn); }

/* ---------- image cards (pricing teaser, services hub, related) ---------- */
.img-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.img-card { display: flex; flex-direction: column; gap: 18px; }
.img-card .ph { aspect-ratio: 4 / 3; }
.img-card .body { display: grid; gap: 8px; }
.img-card h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: -.035em; }
.img-card p { color: var(--fg-2); font-size: .98rem; }
.img-card .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.img-card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px 48px; align-items: center; }
.img-card.wide .ph { aspect-ratio: 16 / 9; }
.img-card.wide h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.img-card.wide p { font-size: 1.05rem; }
@media (max-width: 900px) { .img-card.wide { grid-template-columns: 1fr; } .img-card.wide .ph { aspect-ratio: 4 / 3; } }
.price-tag { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.price-tag small { color: var(--fg-3); font-size: .85rem; } .price-tag strong { font-size: 2.2rem; font-weight: 500; letter-spacing: -.06em; }
.ph .ph-tag { position: absolute; left: 14px; top: 14px; z-index: 1; font-size: .75rem; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.92); color: var(--ink); }
.ph .ph-tag.hot { background: var(--brand); color: #fff; }
.cat-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.cat-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.cat-head span { color: var(--fg-3); }

/* ---------- FAQ split ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.help-card { position: relative; overflow: hidden; border-radius: 22px; margin-top: 32px; color: #fff; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; isolation: isolate; }
.help-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.help-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, color-mix(in srgb, var(--ink) 88%, transparent)); }
.help-card strong { font-size: 1.4rem; font-weight: 500; letter-spacing: -.035em; } .help-card p { color: rgba(255,255,255,.78); font-size: .94rem; margin: 6px 0 18px; }
.help-card .btn { align-self: flex-start; }

/* ---------- final CTA on a photo ---------- */
.cta-photo { position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(24px, 3vw, 36px); color: #fff; padding: clamp(32px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cta-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-photo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 92%, transparent), color-mix(in srgb, var(--ink) 70%, transparent) 55%, color-mix(in srgb, var(--ink) 45%, transparent)); }
.cta-photo h2 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 5rem); }
.cta-photo .lead { color: rgba(255,255,255,.8); margin-top: 20px; }
.promise { display: grid; gap: 12px; margin-top: 32px; }
.promise li { display: flex; gap: 12px; align-items: center; font-size: 1.02rem; color: rgba(255,255,255,.88); }
.promise .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal); color: #fff; stroke-width: 3; }
.cta-photo .muted { color: rgba(255,255,255,.7); margin-top: 26px; } .cta-photo .muted a { color: #fff; }
.cta-band { padding: clamp(48px, 6vw, 96px) 0; }
.cta-band .cta-photo { grid-template-columns: minmax(0, 1fr) auto; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- service detail ---------- */
.inc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.inc-grid .ph { aspect-ratio: 4 / 5; }
.inc-list { border-top: 1px solid var(--line-2); }
.inc-list li { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line-2); font-size: 1.08rem; font-weight: 500; letter-spacing: -.015em; }
.inc-list .ic { color: var(--teal-deep); width: 22px; height: 22px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.timeline li { padding: 28px 24px 0 0; position: relative; }
.timeline li::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--brand); }
.timeline .n { display: block; font-size: .85rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.timeline h3 { font-size: 1.3rem; margin-bottom: 8px; } .timeline p { color: var(--fg-2); font-size: .98rem; }

/* about + contact */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.mosaic .ph:first-child { grid-row: span 2; }
.values { border-top: 1px solid var(--line-2); }
.values li { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.values .n { color: var(--accent); font-weight: 600; font-size: .9rem; }
.values h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.04em; }
.values p { color: var(--fg-2); }
.offices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.office-card small { display: block; color: var(--accent); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.office-card h3 { font-size: 1.25rem; } .office-card p { color: var(--fg-2); font-size: .94rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-side { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.contact-side > div { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-2); }
.contact-side .ic-wrap { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); flex: none; }
.contact-side h3 { font-size: 1.1rem; margin-bottom: 4px; } .contact-side p { color: var(--fg-2); font-size: .95rem; }
.aside-card { overflow: hidden; padding: 0 !important; }
.aside-card .ph { border-radius: 0; aspect-ratio: 16 / 10; }
.aside-card .body { padding: 24px; } .aside-card h3 { margin-bottom: 14px; }

/* ---------- floating booking dock ---------- */
.dock { position: fixed; left: 50%; bottom: 18px; z-index: 45; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 92%, transparent); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 50px -16px rgba(0,0,0,.55); transform: translate(-50%, 140%); transition: transform .6s var(--ease); max-width: calc(100vw - 24px); }
.dock.on { transform: translate(-50%, 0); }
.dock img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.dock-text { display: grid; line-height: 1.25; padding-right: 6px; }
.dock-text strong { font-size: .95rem; font-weight: 600; white-space: nowrap; } .dock-text small { font-size: .8rem; color: rgba(255,255,255,.65); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.dock .btn { min-height: 46px; }
.dock .icon-btn { border-color: rgba(255,255,255,.25); color: #fff; width: 46px; height: 46px; }
.dock .icon-btn:hover { background: #fff; color: var(--ink); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.img-reveal { clip-path: inset(12% 6% 12% 6% round 24px); transition: clip-path 1.3s var(--ease); }
.img-reveal img { transform: scale(1.18); transition: transform 1.6s var(--ease); }
.img-reveal.is-in { clip-path: inset(0 0 0 0 round var(--r)); }
.img-reveal.is-in img { transform: scale(1); }
.stagger { opacity: 0; transform: translateY(28px); animation: rise .9s var(--ease) forwards; }
.stagger:nth-child(1) { animation-delay: .1s } .stagger:nth-child(2) { animation-delay: .2s } .stagger:nth-child(3) { animation-delay: .3s } .stagger:nth-child(4) { animation-delay: .4s } .stagger:nth-child(5) { animation-delay: .5s } .stagger:nth-child(n+6) { animation-delay: .6s }
@keyframes rise { to { opacity: 1; transform: none; } }
.img-cards > .reveal:nth-child(3n+2), .offices > .reveal:nth-child(2), .quote-grid > .reveal:nth-child(3n+2), .pricing-grid > .reveal:nth-child(2) { transition-delay: .1s; }
.img-cards > .reveal:nth-child(3n), .offices > .reveal:nth-child(3), .quote-grid > .reveal:nth-child(3n), .pricing-grid > .reveal:nth-child(3) { transition-delay: .2s; }
.offices > .reveal:nth-child(4) { transition-delay: .3s; }
/* line-by-line headline reveal (words wrapped by site.js) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span, .split .w > em { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 40ms); }
.split.is-in .w > span, .split.is-in .w > em, .is-in .split .w > span, .is-in .split .w > em { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger { opacity: 1; transform: none; animation: none; transition: none; }
  .img-reveal { clip-path: none; } .img-reveal img { transform: none; }
  .split .w > span, .split .w > em { transform: none; transition: none; }
  .hero-media img { animation: none; }
  .marquee-track { animation: none; } .marquee-track[aria-hidden] { display: none; }
  .statement .hw { opacity: 1; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 380px; }
  .svc-hero-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; } .intro-photos { height: 460px; }
  .svc-row { grid-template-columns: 44px minmax(0, 1fr) 52px; gap: 16px; } .svc-row .d, .svc-row .cat { display: none; }
  .process-grid { grid-template-columns: 1fr; } .process-media { display: none; }
  .pstep { min-height: 0; opacity: 1; padding: 32px 0; } .pstep .pimg { display: block; aspect-ratio: 16 / 10; margin-bottom: 24px; }
  .results { grid-template-columns: 1fr; } .results .ph { min-height: 300px; }
  .tslide { grid-template-columns: 1fr; } .tslide .ph { aspect-ratio: 16 / 10; }
  .img-cards { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; }
  .cta-photo, .cta-band .cta-photo { grid-template-columns: 1fr; }
  .inc-grid, .story-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .offices { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr 1fr; }
  .values li { grid-template-columns: 56px minmax(0, 1fr); } .values p { grid-column: 2; }
  .logos-row { grid-template-columns: 1fr; gap: 18px; }
}
/* the pinned horizontal scroller becomes a swipeable row on smaller screens */
@media (max-width: 900px) {
  .work-pin { height: auto !important; } .pin-sticky { position: static; height: auto; padding: 80px 0; }
  .work-track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; scroll-padding-inline: var(--gutter); }
  .work-track::-webkit-scrollbar { display: none; }
  .case, .case-cta { scroll-snap-align: start; width: 80vw; }
  .work-progress { display: none; }
}
@media (max-width: 720px) {
  .hero, .phero { margin-top: -69px; } .phero { padding-top: calc(69px + 72px); }
  .hero { padding-top: calc(69px + 20px); } .hero h1 { font-size: clamp(2.2rem, 9.6vw, 3rem); }
  .hero-top .eyebrow { margin-bottom: 12px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "top" "form" "rest"; row-gap: 18px; }
  .hero-form { padding: 18px 16px 14px; } .hero-form .form-head p { margin-bottom: 12px; }
  .hero-actions .btn { width: 100%; }
  .tile { width: 200px; }
  .slot-card { padding: 20px; } .slot-list { grid-template-columns: 1fr 1fr; }
  .phero { min-height: 0; padding-bottom: 44px; } .phero h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .outcomes { grid-template-columns: 1fr; }
  .intro-photos { height: 380px; } .intro-stats { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .svc-row { grid-template-columns: minmax(0, 1fr) 88px; padding: 18px 0; } .svc-row .n, .svc-row .go { display: none; }
  .svc-row .thumb { display: block; width: 88px; height: 66px; border-radius: 10px; object-fit: cover; }
  .svc-row .t { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .img-cards, .quote-grid, .offices, .timeline { grid-template-columns: 1fr; }
  .mosaic { grid-template-rows: 160px 160px; }
  .cta-actions .btn, .foot-cta-actions .btn { width: 100%; }
  .dock { left: 10px; right: 10px; bottom: 10px; transform: translateY(140%); justify-content: space-between; max-width: none; }
  .dock.on { transform: none; }
  .dock img { display: none; } .dock-text { padding-left: 12px; } .dock-text small { display: none; }
  .tnav .icon-btn { width: 48px; height: 48px; }
}

/* choice summary at the top of step 2 */
.slot-summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 20px; border-radius: 12px; background: var(--teal-soft); color: var(--fg); font-size: .94rem; }
.slot-summary:empty { display: none; }
.slot-summary > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; flex: none; }
.slot-summary strong { font-weight: 600; flex: 1; }
.link-btn { font: inherit; font-size: .9rem; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 4px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.field-title { font-weight: 600; font-size: 1.05rem; margin: 6px 0 12px; letter-spacing: -.02em; }
.form-section { padding-top: clamp(32px, 4vw, 56px); }

/* inner-page lead banner (service pages) and slim band (book, register, contact) */
.hero--inner h1 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); max-width: 15ch; }
.hero--inner .crumbs { margin-bottom: 18px; }
.hero--inner .hero-rest .outcomes { margin-top: 28px; }
.hero--inner .hero-grid { padding-bottom: clamp(48px, 7vh, 88px); }
.hero--band { padding: calc(77px + clamp(28px, 4vh, 48px)) 0 clamp(36px, 5vh, 56px); }
.hero--band h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 4rem); max-width: 22ch; }
.hero--band .lead { color: rgba(255,255,255,.76); margin-top: 14px; }
.hero--band .lead a { color: #fff; }
@media (max-width: 720px) {
  .hero--band { padding: calc(69px + 22px) 0 28px; } .hero--band h1 { font-size: clamp(1.9rem, 8.4vw, 2.5rem); } .hero--band .lead { font-size: 1rem; }
  .hero--inner h1 { font-size: clamp(1.9rem, 8.2vw, 2.6rem); }
  .hero--inner .crumbs { display: none; }
}

/* render below-the-fold blocks lazily; sticky and pinned sections are excluded */
.logos, #services, #testimonials, #pricing, #faq, #start, .section-tight, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; }
.trust-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 24px 22px; background: var(--surface); }
.trust-grid strong { display: block; font-size: 1.02rem; font-weight: 600; letter-spacing: -.02em; margin-bottom: 4px; }
.trust-grid p { color: var(--fg-2); font-size: .9rem; line-height: 1.45; }
.trust-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep); flex: none; }
.trust-grid li:nth-child(4n+2) .trust-ic, .trust-grid li:nth-child(4n+4) .trust-ic { background: var(--accent-soft); color: var(--accent); }
.trust-visit { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 16px; padding: 18px 22px; border-radius: 16px; background: var(--bg-3); }
.trust-visit strong { display: block; font-weight: 600; } .trust-visit span { color: var(--fg-2); font-size: .92rem; }

/* client quote on service pages */
.svc-quote { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin: 0; }
.svc-quote .ph { aspect-ratio: 4 / 3; }
.svc-quote blockquote { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.3; text-wrap: pretty; }
.svc-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.svc-quote figcaption strong { display: block; } .svc-quote figcaption small { display: block; color: var(--fg-3); }

/* ---------- AI band ---------- */
.ai-band { position: relative; isolation: isolate; overflow: hidden; }
.ai-bg { position: absolute; inset: 0; z-index: -1; }
.ai-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ai-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 55%, transparent), color-mix(in srgb, var(--ink) 92%, transparent)); }
.ai-band h2 { color: #fff; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-grid li { padding: 28px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ai-grid h3 { color: #fff; margin: 18px 0 8px; }
.ai-grid p { color: color-mix(in srgb, var(--on-ink) 72%, transparent); font-size: .97rem; }
.ai-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--teal) 22%, transparent); color: var(--teal-light); }

/* ---------- AI assistant widget ---------- */
.ai-widget { position: fixed; right: 18px; bottom: 18px; z-index: 55; transition: bottom .4s var(--ease), opacity .3s var(--ease), transform .3s var(--ease); }
/* the centred booking dock and the AI button would collide on mid-size screens: lift the button above the dock */
@media (min-width: 721px) and (max-width: 1000px) { body.dock-on .ai-widget { bottom: 96px; } }
.ai-fab { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 8px; border-radius: 99px; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: .95rem; color: #fff; background: var(--ink); box-shadow: 0 18px 40px -14px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08) inset; transition: transform var(--t) var(--ease); }
.ai-fab:hover { transform: translateY(-2px); }
.ai-fab-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--teal)); }
.ai-widget.is-open .ai-fab { display: none; }
.ai-panel { position: absolute; right: 0; bottom: 0; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100dvh - 120px)); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--surface); color: var(--fg); border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); animation: sheetIn .35s var(--ease); }
.ai-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--ink); color: #fff; }
.ai-head > div { flex: 1; min-width: 0; }
.ai-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--teal)); flex: none; }
.ai-title { font-weight: 600; font-size: 1rem; margin: 0; } .ai-sub { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: rgba(255,255,255,.7); margin: 2px 0 0; }
.ai-close { color: #fff; border-color: rgba(255,255,255,.25); width: 38px; height: 38px; } .ai-close:hover { background: #fff; color: var(--ink); }
.ai-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); overscroll-behavior: contain; }
.ai-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .93rem; line-height: 1.5; }
.ai-msg p { margin: 0; } .ai-msg p + p, .ai-msg ul { margin-top: 6px; } .ai-msg ul { padding-left: 18px; list-style: disc; }
.ai-msg a { color: var(--accent); text-decoration: underline; word-break: break-word; }
.ai-msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.ai-msg.user { align-self: flex-end; background: var(--brand-btn); color: #fff; border-bottom-right-radius: 6px; }
.ai-msg.typing { display: inline-flex; gap: 4px; padding: 14px; }
.ai-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-3); animation: blink 1.2s infinite; } .ai-msg.typing span:nth-child(2) { animation-delay: .2s; } .ai-msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.ai-starters { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; background: var(--bg); }
.ai-starters button { font: inherit; font-size: .8rem; padding: 7px 11px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--fg); cursor: pointer; }
.ai-starters button:hover { border-color: var(--brand); color: var(--accent); }
.ai-form { display: flex; gap: 8px; padding: 12px 14px 8px; border-top: 1px solid var(--line); background: var(--surface); }
.ai-form input { flex: 1; border-radius: 99px !important; padding: 12px 16px !important; font-size: .95rem !important; }
.ai-send { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand-btn); color: #fff; cursor: pointer; flex: none; }
.ai-callback { display: inline-flex; align-items: center; gap: 6px; margin: 0 14px; padding: 6px 0; font: inherit; font-size: .84rem; font-weight: 600; color: var(--accent); background: none; border: 0; cursor: pointer; align-self: flex-start; }
.ai-foot { margin: 0; padding: 0 14px 12px; font-size: .74rem; color: var(--fg-3); background: var(--surface); }
.ai-foot a { color: inherit; text-decoration: underline; }
.ai-panel > .ai-callback, .ai-panel > .ai-foot { background: var(--surface); }
.ai-lead { display: grid; gap: 8px; }
.ai-lead input:not([type=checkbox]) { padding: 11px 13px; font-size: .92rem; }
.ai-lead .check { margin: 0; font-size: .8rem; } .ai-lead .form-msg { margin: 0; font-size: .82rem; }
.ai-msg.ai-lead-wrap { max-width: 100%; width: 100%; }

@media (max-width: 1120px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } .ai-grid { grid-template-columns: 1fr; } .svc-quote { grid-template-columns: 1fr; } .svc-quote .ph { aspect-ratio: 16 / 9; } }
@media (max-width: 720px) {
  .trust-grid { grid-template-columns: 1fr; } .trust-grid li { padding: 18px; }
  .trust-visit .cta-actions .btn { width: auto; }
  .ai-widget { right: 12px; bottom: 12px; }
  body.dock-on .ai-widget { bottom: 84px; }
  body:not(.past-hero) .ai-widget:not(.is-open) { opacity: 0; transform: translateY(16px); pointer-events: none; }
  .ai-fab { height: 50px; padding: 0 8px; } .ai-fab-label { display: none; }
  .ai-widget.is-open { inset: 0; right: 0; bottom: 0; z-index: 80; }
  .ai-panel { position: fixed; inset: 0; width: 100%; height: 100dvh; border-radius: 0; border: 0; }
}
/* narrow phones: grids may not grow past the screen because of long words or form minimum widths */
@media (max-width: 1120px) { .cta-photo, .cta-band .cta-photo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .cta-photo { padding: 28px 18px; } .cta-photo h2 { font-size: clamp(2rem, 10vw, 2.6rem); overflow-wrap: anywhere; } .form-card { padding: 20px 16px; } }
.svc-intro { font-size: 1.08rem; color: var(--fg-2); margin: -12px 0 24px; max-width: 60ch; }

/* ---------- lead popup ---------- */
.lead-pop { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; }
.lead-pop-backdrop { position: absolute; inset: 0; background: rgba(6, 9, 10, .55); opacity: 0; transition: opacity .3s var(--ease); }
.lead-pop-card { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; border-radius: 24px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); box-shadow: 0 40px 100px -30px rgba(0,0,0,.65); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .3s var(--ease), transform .35s var(--ease); outline: none; isolation: isolate; scrollbar-width: none; }
.lead-pop-card::-webkit-scrollbar { display: none; }
/* soft brand glow behind the heading */
.lead-pop-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 220px; z-index: -1; background: radial-gradient(70% 100% at 0% 0%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 70%), radial-gradient(60% 90% at 100% 0%, color-mix(in srgb, var(--teal) 16%, transparent), transparent 70%); pointer-events: none; }
.lead-pop-card.has-banner::before { display: none; }
.lead-pop.is-open .lead-pop-backdrop { opacity: 1; }
.lead-pop.is-open .lead-pop-card { opacity: 1; transform: none; }
.lead-pop-banner { height: 150px; overflow: hidden; }
.lead-pop-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead-pop-body { padding: 30px 30px 18px; display: grid; gap: 18px; }
.lead-pop-head { display: grid; gap: 10px; padding-right: 34px; }
.lead-pop-eyebrow { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 5px 12px; border-radius: 99px; background: color-mix(in srgb, var(--teal) 14%, transparent); color: var(--fg); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.lead-pop-title { margin: 0; font-size: clamp(1.45rem, 2.4vw, 1.8rem); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; }
.lead-pop-title em { font-style: normal; color: var(--brand); }
.lead-pop-text { margin: 0; color: var(--fg-2); font-size: .95rem; line-height: 1.5; }
.lead-pop-points { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lead-pop-points li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 7px; border-radius: 99px; border: 1px solid var(--line); font-size: .8rem; color: var(--fg-2); }
.lead-pop-points svg { width: 14px; height: 14px; color: var(--teal); }
/* the form: two columns, fixed slot for the message so errors never change the height */
.lead-pop-form .lead-form .step { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.lead-pop-form .lead-form .field { margin: 0; min-width: 0; }
.lead-pop-form .lead-form .check, .lead-pop-form .lead-form button[type=submit] { grid-column: 1 / -1; }
.lead-pop-form .lead-form .check { margin: 2px 0 0; font-size: .82rem; }
.lead-pop-form .lead-form button[type=submit] { margin-top: 2px; }
.lead-pop-form .form-trust { display: none; }
.lead-pop-form .form-msg, .lead-pop-form .form-msg:empty { min-height: 1.35em; margin: 8px 0 0; font-size: .84rem; line-height: 1.35; text-align: center; }
.lead-pop-form .form-msg.is-ok { color: var(--fg-2); font-weight: 400; }
.lead-pop-done { display: grid; justify-items: center; gap: 12px; text-align: center; padding-top: 6px; }
.lead-pop-card.is-done .lead-pop-form .form-msg { font-size: .95rem; }
.lead-pop-done-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; }
.lead-pop-done-ic svg { width: 22px; height: 22px; }
.lead-pop-card.is-done .lead-pop-head { display: none; }
.lead-pop-dismiss { justify-self: center; margin-top: -8px; background: none; border: 0; padding: 4px 10px; font: inherit; font-size: .84rem; color: var(--fg-3); cursor: pointer; }
.lead-pop-dismiss:hover { color: var(--fg); text-decoration: underline; }
.lead-pop-x { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--fg-2); cursor: pointer; transition: background .2s, color .2s; }
.lead-pop-x:hover { background: var(--fg); color: var(--surface); }
.lead-pop-x svg { width: 16px; height: 16px; }
.has-banner .lead-pop-x { background: rgba(0,0,0,.45); border-color: rgba(255,255,255,.3); color: #fff; }
body.pop-open { overflow: hidden; }
@media (max-width: 720px) {
  .lead-pop { place-items: end stretch; padding: 0; }
  .lead-pop-card { width: 100%; max-height: 94dvh; border-radius: 22px 22px 0 0; transform: translateY(100%); }
  .lead-pop-banner { display: none; } .lead-pop-card.has-banner::before { display: block; }
  .lead-pop-body { padding: 24px 18px calc(12px + env(safe-area-inset-bottom)); gap: 16px; }
  .lead-pop-form .lead-form .step { grid-template-columns: 1fr; }
  .lead-pop-title { font-size: 1.4rem; }
}
@media (max-width: 720px) and (max-height: 760px) { .lead-pop-text { display: none; } .lead-pop-body { gap: 14px; padding-top: 20px; } }
@media (max-width: 720px) and (max-height: 680px) { .lead-pop-points { display: none; } }
@media (prefers-reduced-motion: reduce) { .lead-pop-card, .lead-pop-backdrop { transition: none; } }

/* invalid fields are clearly marked in every form */
.lead-form input[aria-invalid="true"], .lead-form select[aria-invalid="true"], form[data-form] input[aria-invalid="true"], form[data-form] select[aria-invalid="true"], form[data-form] textarea[aria-invalid="true"] { border-color: var(--err) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--err) 18%, transparent); }

/* ---------- GSAP motion (assets/js/motion.js; switched in Admin → Appearance → Animations) ---------- */
@keyframes nq-show { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  /* the banner waits for motion.js; if GSAP never loads it still appears after 2.5 s */
  .motion-hero:not(.motion-on) .hero .stagger { opacity: 0; animation: nq-show .6s 2.5s forwards; }
  .motion-hero.motion-on .hero .stagger { animation: none; opacity: 1; transform: none; }
}
.motion-on .hero h1 .m-line-mask { padding-bottom: .24em; margin-bottom: -.24em; }
.motion-on .hero h1 em.ul { background: linear-gradient(currentColor, currentColor) 0 96% / var(--ul, 0%) .055em no-repeat; }
.statement.gsap-lit .hw { color: var(--fg); transition: none; }
.statement.gsap-lit .hw.accent { color: var(--brand); }
.hover-preview.gsap-pv, .hover-preview.gsap-pv img { transition: none; }
.motion-on :is(.logos, #services) { content-visibility: visible; }
.work-pin.gsap-pin { height: auto !important; }
.work-pin.gsap-pin .pin-sticky { position: relative; top: auto; }
.work-pin.gsap-pin .case .ph img { transition: none; }
.process-media .pbar { display: none; position: absolute; left: 20px; right: 20px; top: 20px; z-index: 60; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255,255,255,.3); }
.process-media .pbar i { position: absolute; inset: 0; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.process-media .gsap-process .pbar, .process-media.gsap-process .pbar, .gsap-process .pbar { display: block; }
.gsap-process img { transition: none !important; }
.gsap-process .count { z-index: 60; }

/* project cards that link to the live site */
a.case { color: inherit; text-decoration: none; }
.case .ph img { object-position: top center; }
.case.is-link .ph { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.case.is-link:hover .ph { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.case-visit { display: inline-flex; align-items: center; gap: 6px; margin-top: -4px; font-size: .86rem; font-weight: 600; color: var(--brand-light); }
.case-visit svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.case.is-link:hover .case-visit svg { transform: translate(2px, -2px); }
.case.is-link .ph::after { display: none; } /* the tag would cover the project's own logo; it is shown in the meta line instead */
.case-meta b { font-weight: 600; color: var(--on-ink); }

/* ---------- reviews without photos ---------- */
.g-logo { width: 15px; height: 15px; flex: none; }
.rv-src { display: inline-flex !important; align-items: center; gap: 6px; }
.q-title { margin: 0 0 10px; font-weight: 650; font-size: 1.05rem; color: var(--fg); letter-spacing: -.01em; }
.tslide.no-photo { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.tslide.no-photo > div { display: flex; flex-direction: column; justify-content: center; min-height: clamp(300px, 34vw, 440px); padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg, 0 30px 60px -40px rgba(0,0,0,.4)); }
.tslide.no-photo blockquote { max-width: 30ch; }
.tslide.no-photo.long blockquote { max-width: 64ch; font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.4; letter-spacing: -.02em; }
.tslide.no-photo .q-title { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.reviews-row { display: flex; justify-content: center; margin-top: 28px; }
.reviews-link { gap: 10px; }
.svc-quote.no-photo { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin-inline: auto; }

/* ---------- cookie notice ---------- */
.cookie-bar { position: fixed; left: 18px; bottom: 18px; z-index: 90; width: min(440px, calc(100vw - 36px)); padding: 16px 18px; border-radius: 18px; background: var(--surface); color: var(--fg); border: 1px solid var(--line); box-shadow: 0 30px 70px -24px rgba(0,0,0,.55); display: grid; gap: 12px; opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .35s var(--ease); }
.cookie-bar.is-on { opacity: 1; transform: none; }
.cookie-bar p { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--fg-2); }
.cookie-bar a { color: var(--fg); text-decoration: underline; white-space: nowrap; }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-actions .btn { min-height: 40px; padding: 0 18px; }
body.cookie-open .dock { transform: translate(-50%, 140%) !important; }
@media (max-width: 720px) {
  .cookie-bar { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 14px; }
  body.cookie-open .dock { transform: translateY(140%) !important; }
  .cookie-actions .btn { flex: 1; }
}
.foot-bottom-row { display: flex; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; align-items: center; }
.foot-bottom-links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.foot-bottom-links a, .foot-bottom-links .link-btn { color: inherit; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom-links a:hover, .foot-bottom-links .link-btn:hover { color: var(--on-ink); }

/* client logos (captured from each project's own site, shown on white so their colours stay true) */
.client-logo { display: inline-grid; place-items: center; height: 64px; padding: 0 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); flex: none; }
.client-logo img { display: block; height: 34px; width: auto; max-width: 210px; object-fit: contain; }
:root[data-theme="dark"] .client-logo { border-color: transparent; }
.logos .marquee { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
@media (max-width: 720px) { .client-logo { height: 54px; padding: 0 16px; } .client-logo img { height: 28px; } }

/* ---------- blog & areas ---------- */
.post-card .row { justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.post-card .row small { font-size: .8rem; color: var(--fg-3); }
.post-card h3 { margin: 12px 0 8px; font-size: 1.25rem; line-height: 1.25; }
.post-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 22ch; }
.post-meta { color: rgba(255,255,255,.7); font-size: .95rem; margin-top: 14px; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.post-prose { font-size: 1.08rem; line-height: 1.75; max-width: 760px; }
.post-prose .post-cover { aspect-ratio: 16 / 9; border-radius: 22px; margin-bottom: 36px; }
.post-prose h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); margin: 44px 0 14px; letter-spacing: -.02em; }
.post-prose h3 { font-size: 1.2rem; margin: 30px 0 10px; }
.post-prose p, .post-prose li { color: var(--fg-2); }
.post-prose strong { color: var(--fg); }
.post-prose ul, .post-prose ol { padding-left: 1.4em; margin: 0 0 1.2em; display: grid; gap: 8px; }
.post-prose ul li { list-style: disc; } .post-prose ol li { list-style: decimal; } .post-prose li { padding-left: 4px; }
.post-prose li::marker { color: var(--brand); font-weight: 700; }
.post-aside { position: sticky; top: 100px; }
.post-aside .form-card { padding: 24px; }
.loc-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.loc-points li { display: flex; gap: 14px; align-items: flex-start; }
.loc-points li > svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--teal); }
.loc-points strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.loc-points p { margin: 0; color: var(--fg-2); }
.area-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: .92rem; }
.area-chips svg { width: 15px; height: 15px; color: var(--brand); }
@media (max-width: 1120px) { .post-grid { grid-template-columns: 1fr; } .post-aside { position: static; max-width: 560px; } }

.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cat-chips a { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); font-size: .9rem; font-weight: 550; color: var(--fg-2); text-decoration: none; }
.cat-chips a:hover { border-color: var(--fg-3); color: var(--fg); }
.cat-chips a[aria-current="page"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 44px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.author-box .avatar, .author-box .author-photo { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.author-box strong { display: block; color: var(--fg); } .author-box small { display: block; color: var(--fg-3); font-size: .84rem; margin-bottom: 6px; }
.author-box p { margin: 0; font-size: .95rem; }

.mini-reviews { padding: 22px; }
.mini-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.mini-head .tnav { display: inline-flex; align-items: center; gap: 8px; }
.mini-head .icon-btn.sm { width: 34px; height: 34px; } .mini-head .tcount { font-size: .8rem; }
.tslide.mini { display: block; grid-template-columns: none; }
.tslide.mini blockquote { font-size: .98rem; line-height: 1.55; font-weight: 400; letter-spacing: 0; }
.tslide.mini blockquote::before { display: none; }
.tslide.mini figcaption { margin-top: 16px; }
.legal-prose { max-width: 820px; } .legal-prose h2:first-child { margin-top: 0; }

/* reviews with a headline: the quote mark goes above the headline */
.tslide:not(.mini) .q-title + blockquote::before { display: none; }
.tslide:not(.mini) .q-title::before { content: '“'; display: block; font-size: 5rem; line-height: .6; color: var(--brand); margin-bottom: 16px; font-weight: 500; }

/* facts can be words ("Worldwide"), so cells may shrink and long words scale down */
.stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-num { overflow-wrap: anywhere; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-num { font-size: clamp(1.6rem, 8vw, 2.1rem); } }
