/* Web Design Bradford
   Light grey and white studio look: geometric display type, one coral accent,
   square buttons, greyscale imagery that turns to colour on hover. */

:root {
  --white: #ffffff;
  --grey: #f4f7fb;         /* lavender-tinted light ground */
  --grey-2: #e6edf7;
  --line: #e1e8f2;
  --ink: #0f1a36;          /* deep indigo, replaces charcoal */
  --text: #56627a;
  --dark: #0f1a36;
  --dark-2: #18264d;
  --coral: #ef4444;        /* bright red: decoration, lines, dots */
  --coral-d: #2563eb;      /* royal blue: buttons, labels, links */
  --violet: #2563eb;
  --pink: #ef4444;
  --sun: #ffc93c;          /* sunny yellow, used sparingly */
  --teal: #12c2a4;
  --grad: linear-gradient(120deg, #2563eb 0%, #0ea5e9 50%, #10b981 100%);
  --green: #10b981;
  --blue: #2563eb;
  --red: #ef4444;
  --danger: #d32f2f;

  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Mulish", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 3.6vw, 2.6rem);
  --step-4: clamp(2.5rem, 5.6vw, 4.4rem);

  --max: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --shadow: 0 24px 50px -22px rgba(30, 64, 175, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 var(--step-0)/1.75 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--coral-d); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; color: var(--ink); line-height: 1.2; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: var(--step-4); line-height: 1.12; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1.1em; max-width: 64ch; }
strong { color: var(--ink); }

.wrap { width: min(var(--max), 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--coral-d); color: #fff; padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.lede { font-size: 1.15rem; line-height: 1.7; }

/* Small coral label above headings */
.label { display: block; font: 800 .75rem/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--coral-d); margin-bottom: 1rem; }

/* Faded chevron shape behind headings */
.chev { position: relative; isolation: isolate; }
.chev::before {
  content: ""; position: absolute; z-index: -1; left: -28px; top: -26px; width: 90px; height: 110px;
  background: var(--grey-2);
  clip-path: polygon(0 0, 100% 35%, 100% 60%, 0 25%, 0 45%, 100% 80%, 100% 100%, 0 65%);
}
.center { text-align: center; }
.center p { margin-inline: auto; }
.center.chev::before { left: 50%; margin-left: -45px; }

/* Buttons: square, solid */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; background: var(--coral-d); color: #fff; font: 700 var(--step--1)/1 var(--body); padding: 1.05rem 2rem; border: 2px solid var(--coral-d); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--coral-d); border-color: var(--coral-d); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-small { padding: .8rem 1.2rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.more { font-weight: 700; color: var(--coral-d); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; font-size: var(--step--1); }
.more::after { content: ""; width: 14px; height: 2px; background: currentColor; transition: width .2s; }
.more:hover { color: var(--ink); }
.more:hover::after { width: 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; font: 700 1.45rem/1 var(--display); color: var(--ink); }
.brand b { font-weight: 400; color: var(--coral-d); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 22px; height: 26px; flex: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2.1rem; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 600; transition: color .2s; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: var(--coral-d); }
.site-nav .btn { margin-left: .5rem; }
.nav-toggle { display: none; width: 48px; height: 48px; background: var(--coral-d); border: 0; cursor: pointer; align-items: center; justify-content: center; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.5rem; }
  .site-nav a:not(.btn) { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .btn { margin: 1.2rem 0 0; display: flex; }
}

/* Vertical contact rail on wide screens */
.rail { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 20; display: none; flex-direction: column; align-items: center; gap: 1rem; width: 52px; }
.rail a, .rail span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: .75rem; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: .04em; }
.rail a:hover { color: var(--coral-d); }
.rail i { width: 1px; height: 28px; background: #c6d1e3; }
@media (min-width: 1360px) { .rail { display: flex; } }

/* Sections */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-grey { background: var(--grey); }
.section-head { margin-bottom: 3.5rem; }

/* ---------- Hero slider ---------- */
.hero { position: relative; background: var(--grey); overflow: hidden; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 720px); opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-text { padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 4vw, 4rem) clamp(5rem, 9vw, 8rem) var(--edge); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.slide-text h1, .slide-text .h1like { max-width: 11ch; font-size: var(--step-4); line-height: 1.12; }
.slide-text .lede { max-width: 44ch; }
.slide-text .chev::before { width: 130px; height: 170px; left: -40px; top: -40px; }
.slide-art { position: relative; background: linear-gradient(160deg, #edf2fa, #d5deec); display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 4rem) clamp(5rem, 8vw, 6rem); overflow: hidden; }
.slide-art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 25%, rgba(255,255,255,.75), transparent 55%); }
.slide-art > * { position: relative; }
.slide .slide-text > * { transform: translateY(16px); opacity: 0; transition: transform .7s ease, opacity .7s ease; }
.slide.is-active .slide-text > * { transform: none; opacity: 1; }
.slide.is-active .slide-text > *:nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide-text > *:nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide-text > *:nth-child(4) { transition-delay: .24s; }

.hero-num { position: absolute; left: 50%; bottom: -0.32em; transform: translateX(-50%); font: 700 clamp(6rem, 14vw, 11rem)/1 var(--display); color: transparent; -webkit-text-stroke: 2px #cfd9ea; pointer-events: none; z-index: 2; user-select: none; }
.hero-controls { position: absolute; right: 0; bottom: 0; z-index: 3; display: flex; }
.hero-controls button { width: 72px; height: 64px; border: 0; background: #6b6b6b; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.hero-controls button + button { background: var(--ink); }
.hero-controls button:hover { background: var(--coral-d); }
.hero-controls svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-dots { position: absolute; left: var(--edge); bottom: 2.2rem; z-index: 3; display: flex; gap: .5rem; }
.hero-dots button { width: 34px; height: 4px; border: 0; padding: 0; background: #cfd9ea; cursor: pointer; }
.hero-dots button[aria-current="true"] { background: var(--coral); }

@media (max-width: 960px) {
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide-text { padding: 3.5rem var(--gutter) 2.5rem; }
  .slide-text h1 { max-width: 14ch; }
  .slide-art { padding: 2rem var(--gutter) 6rem; }
  .hero-dots { bottom: auto; top: 1.4rem; }
  .hero-num { font-size: 6rem; left: auto; right: 1rem; transform: none; }
}

/* ---------- Drawn website mockups (greyscale, colour on hover where wrapped in .tint) ---------- */
.mock { background: #fff; box-shadow: var(--shadow); width: 100%; font-family: var(--body); }
.mock-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: #f1f1f1; border-bottom: 1px solid #e3e3e3; }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cfd9ea; }
.mock-bar span { margin-left: 8px; flex: 1; background: #fff; font-size: 10px; line-height: 1; color: #999; padding: 5px 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock-body { padding: 5%; display: grid; gap: 1rem; }
.mock-nav { display: flex; justify-content: space-between; align-items: center; }
.mock-nav b { font: 700 clamp(11px, 1.2vw, 15px)/1 var(--display); color: var(--ink); }
.mock-nav span { display: flex; gap: 8px; }
.mock-nav span i { width: 26px; height: 5px; background: #ddd; }
.ln { display: block; height: 7px; background: #e2e2e2; }
.ln.dark { background: #555; height: 11px; }
.ln.w30 { width: 30%; } .ln.w45 { width: 45%; } .ln.w60 { width: 60%; } .ln.w75 { width: 75%; } .ln.w90 { width: 90%; }
.stack { display: grid; gap: 7px; }
.pill { display: inline-block; width: 70px; height: 20px; background: var(--coral); }
.pic { background: linear-gradient(180deg, #d8e1ee 0 55%, #bdbdbd 55% 70%, #a5a5a5 70%); position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.pic::before { content: ""; position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #f3f3f3; top: 14%; right: 16%; }
.pic::after { content: ""; position: absolute; left: -10%; right: 30%; bottom: 0; height: 52%; background: #8f8f8f; clip-path: polygon(0 100%, 35% 20%, 55% 55%, 75% 10%, 100% 100%); }
.mock-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6%; align-items: center; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-cards > div { background: #f4f4f4; padding: 10px; display: grid; gap: 6px; }
.mock-cards > div::before { content: ""; width: 18px; height: 18px; background: #cfd9ea; }
.mock-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-products > div { display: grid; gap: 6px; }
.mock-products .pic { aspect-ratio: 1; background: linear-gradient(160deg, #f0f0f0, #d4d4d4); }
.mock-products .pic::before { width: 46%; top: 27%; right: 27%; background: #bdbdbd; border-radius: 12px; }
.mock-products .pic::after { display: none; }
.price { display: block; width: 34%; height: 8px; background: var(--coral); }

/* Phone mockup */
.phone { width: 34%; max-width: 170px; background: #1f1f1f; border-radius: 22px; padding: 8px; box-shadow: var(--shadow); }
.phone .screen { background: #fff; border-radius: 15px; overflow: hidden; display: grid; gap: 8px; padding: 14px 10px; }
.phone .pic { aspect-ratio: 1 / 1; }
.art-site { display: grid; width: min(560px, 100%); }
.art-site .mock { grid-area: 1 / 1; width: 88%; }
.art-site .phone { grid-area: 1 / 1; justify-self: end; align-self: end; margin-bottom: -10%; }

/* Before/after comparison */
.compare { margin: 0; width: min(560px, 100%); }
.stage { position: relative; aspect-ratio: 16 / 11; overflow: hidden; cursor: ew-resize; touch-action: pan-y; user-select: none; }
.stage > div { position: absolute; inset: 0; }
.stage .after { clip-path: inset(0 0 0 var(--split, 50%)); }
.divider { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; background: var(--coral-d) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.compare input[type=range] { width: 100%; margin: 1.1rem 0 0; accent-color: var(--coral-d); }
.compare figcaption { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; color: var(--ink); letter-spacing: .06em; text-transform: uppercase; }
.before { background: #c0c0c0; font: 13px/1.3 "Times New Roman", Times, serif; color: #000; padding: 4%; }
.before .old-head { background: #000080; color: #ff0; text-align: center; padding: 3%; font: bold 1.5em/1.1 "Comic Sans MS", "Comic Sans", cursive; border: 3px outset #8080ff; }
.before .old-body { display: grid; grid-template-columns: 30% 1fr; gap: 3%; margin-top: 3%; }
.before .old-nav { background: #fff; border: 2px inset #808080; padding: 6%; }
.before .old-nav a { display: block; color: #00e; text-decoration: underline; margin-bottom: 6%; }
.before .old-main { background: #fff; border: 2px inset #808080; padding: 4%; }
.before .old-main p { margin: 0 0 .6em; }
.before .construction { display: inline-block; background: repeating-linear-gradient(45deg, #ff0 0 8px, #000 8px 16px); padding: .2em .4em; font-weight: bold; }
.before .counter { font-family: "Courier New", monospace; background: #000; color: #0f0; padding: .1em .4em; letter-spacing: .1em; }
.after { background: #fff; }
.after .mock { box-shadow: none; height: 100%; }

/* ---------- About block with overlapping images ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.overlap { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(12, 1fr); aspect-ratio: 1 / 1.05; max-width: 520px; }
.overlap .o1 { grid-column: 1 / 9; grid-row: 1 / 9; background: linear-gradient(160deg, #e9e9e9, #cdcdcd); display: grid; place-items: center; padding: 10%; }
.overlap .o2 { grid-column: 5 / 13; grid-row: 4 / 13; background: #fff; box-shadow: var(--shadow); padding: 9%; display: grid; align-content: center; gap: .9rem; }
.overlap .o1 .mock { box-shadow: 0 14px 30px -14px rgba(0,0,0,.35); }
.code { font: 600 clamp(10px, 1.1vw, 13px)/1.8 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #8a8a8a; white-space: pre; overflow: hidden; }
.code b { color: var(--coral-d); font-weight: 600; }
.code u { color: var(--ink); text-decoration: none; }
.play { display: inline-flex; align-items: center; gap: 1rem; font: 700 1.05rem/1 var(--display); color: var(--coral-d); text-decoration: none; margin-top: 1rem; }
.play span { width: 58px; height: 58px; background: var(--coral-d); display: grid; place-items: center; transition: background-color .2s; }
.play svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.play:hover { color: var(--ink); }
.play:hover span { background: var(--ink); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .overlap { max-width: 460px; } }

/* Facts box */
.facts { margin-top: clamp(4rem, 8vw, 6rem); background: var(--grey); padding: clamp(1rem, 2.5vw, 1.6rem); }
.facts ul { list-style: none; margin: 0; padding: clamp(2rem, 4vw, 3rem) 1rem; background: #fff; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1rem; text-align: center; }
.facts strong { display: block; font: 800 clamp(2.4rem, 4.5vw, 3.2rem)/1 var(--body); color: var(--ink); margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.facts sup { color: var(--coral); font-size: .5em; vertical-align: top; margin-left: 2px; }
.facts span { font-size: .95rem; }
@media (max-width: 760px) { .facts ul { grid-template-columns: 1fr 1fr; } }

/* Consultation band */
.consult { position: relative; background: var(--grey); overflow: hidden; }
.consult::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#dcdcdc 1.4px, transparent 1.6px); background-size: 12px 12px; -webkit-mask-image: linear-gradient(90deg, #000 0 55%, transparent 85%); mask-image: linear-gradient(90deg, #000 0 55%, transparent 85%); }
.consult-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 360px; }
.consult-text { padding-block: 4rem; }

.consult-art .big-q { font: 700 clamp(9rem, 20vw, 16rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 2px #d0d0d0; position: relative; }
.consult-art .big-q::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; background: var(--coral); right: -6%; bottom: 4%; mix-blend-mode: multiply; }
@media (max-width: 760px) { .consult-grid { grid-template-columns: 1fr; } .consult-art { display: none; } }

/* Services: three columns with dividers */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.svc { padding: 2.2rem clamp(1.25rem, 3vw, 2.5rem) 2.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .25s, box-shadow .25s; }
.svc:nth-child(3n) { border-right: 0; }
.svc:nth-last-child(-n+3) { border-bottom: 0; }
.svc:hover { background: #fff; box-shadow: var(--shadow); position: relative; z-index: 1; }
.svc h3 { margin: 1.4rem 0 .8rem; }
.svc p { font-size: .95rem; }
.icon { display: block; width: 46px; height: 46px; color: var(--ink); }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon .acc { stroke: var(--coral); }
.svc-ask { background: var(--ink); color: #c6d1e3; }
.svc-ask h3 { color: #fff; }
.svc-ask:hover { background: var(--ink); }
.svc-ask .more { color: var(--coral); }
.svc-ask .more:hover { color: #fff; }
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc, .svc:nth-child(3n), .svc:nth-last-child(-n+3) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .svc:nth-child(2n) { border-right: 0; }
  .svc:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc, .svc:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); } .svc:last-child { border-bottom: 0; } }

/* Recent work: tiles left, text right */
.work { display: grid; grid-template-columns: 1.9fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-left: var(--edge); padding-right: var(--edge); }
.work-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tile .mock-nav b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile { margin: 0; position: relative; display: block; text-decoration: none; background: linear-gradient(170deg, #edf2f9, #dcdcdc); aspect-ratio: 4 / 5; overflow: hidden; padding: 12% 9%; }
.tile .mock { filter: grayscale(1); transition: filter .5s, transform .5s; transform-origin: top center; }
.tile:hover .mock, .tile:focus-visible .mock { filter: none; transform: scale(1.03); }
.tile .tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem; background: #fff; transform: translateY(101%); transition: transform .35s ease; }
.tile:hover figcaption, .tile:focus-visible figcaption, .tile:focus-within figcaption { transform: none; }
.tile .tile-cap b { display: block; font: 700 1.05rem/1.3 var(--display); color: var(--ink); }
.tile .tile-cap span { font-size: .8rem; color: var(--text); }
@media (hover: none) { .tile .tile-cap { transform: none; } .tile .mock { filter: none; } }
@media (max-width: 960px) { .work { grid-template-columns: 1fr; } .work-text { order: -1; } }
@media (max-width: 640px) { .work-tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 4 / 3.4; padding: 7% 12%; } }
/* tile colour themes (shown on hover) */
.t-kids .pill, .t-kids .price { background: #2f9e6e; }
.t-kids .pic { background: linear-gradient(180deg, #bfe3f5 0 55%, #8cd17a 55% 70%, #4caf50 70%); }
.t-kids .pic::after { background: #3d8b40; }
.t-grove .pill { background: #f08a24; }
.t-grove .pic { background: linear-gradient(180deg, #ffe1b8 0 55%, #b9e0d9 55% 70%, #7a5cc6 70%); }
.t-grove .pic::after { background: #149c8f; }
.t-store .price, .t-store .pill { background: #1e63d6; }
.t-store .mock-products .pic { background: linear-gradient(160deg, #eef3ff, #c6d6f5); }
.t-store .mock-products .pic::before { background: #6e8fd0; }

/* Dark process band */
.dark-band { background: var(--dark); color: #aeb9d1; position: relative; overflow: hidden; }
.dark-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#2a3a66 1.4px, transparent 1.6px); background-size: 12px 12px; -webkit-mask-image: radial-gradient(ellipse at 80% 50%, #000 0 35%, transparent 70%); mask-image: radial-gradient(ellipse at 80% 50%, #000 0 35%, transparent 70%); }
.dark-band > * { position: relative; }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .chev::before { background: #18264d; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid #2a3a66; padding-top: 1.6rem; position: relative; }
.steps li::before { content: "." counter(step, decimal-leading-zero); display: block; font: 700 2.6rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px #7f8db0; margin-bottom: 1rem; }
.steps li::after { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--coral); }
.steps p { font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* Page heads on inner pages */
.page-head { background: var(--grey); position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); }
.page-head::after { content: ""; position: absolute; right: -2%; bottom: -30%; width: min(42vw, 520px); aspect-ratio: 1; background: var(--grey-2); clip-path: polygon(0 0, 100% 35%, 100% 60%, 0 25%, 0 45%, 100% 80%, 100% 100%, 0 65%); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); max-width: 18ch; }
.page-head .lede { margin: 0; max-width: 56ch; }
.crumbs { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin-bottom: 1.2rem; }
.crumbs a { color: var(--coral-d); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* Service detail rows */
.service-detail { display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: clamp(1.25rem, 4vw, 3.5rem); padding-block: 3.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-detail:last-child { border-bottom: 0; }
.service-detail .num { font: 700 2.6rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px #bdbdbd; }
.service-detail h2 { font-size: var(--step-2); margin-top: 1rem; }
.service-detail .for { font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .service-detail { grid-template-columns: 1fr; gap: 1rem; } }

/* Tick lists */
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.ticks li { position: relative; padding-left: 1.8rem; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--coral); }
.dark-band .ticks li, .panel .ticks li { color: #e5e5e5; }

/* Dark panel (about page, home) */
.panel { background: var(--dark); color: #b4bfd6; padding: clamp(2rem, 5vw, 3.2rem); }
.panel h3 { color: #fff; }
.panel h3 + .ticks { margin-top: 1.2rem; }
.panel .ticks + h3 { margin-top: 2rem; }

/* CTA strip */
.cta { background: var(--coral-d); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.cta h2 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta p { margin: 0; color: rgba(255,255,255,.9); }
.cta .btn { background: var(--ink); border-color: var(--ink); }
.cta .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.cta-wrap { display: contents; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); padding: clamp(1.25rem, 4vw, 2.6rem); }
.form fieldset { border: 0; padding: 0; margin: 0 0 2.2rem; }
.form legend { font: 700 var(--step-1)/1.2 var(--display); color: var(--ink); margin-bottom: 1.3rem; padding: 0; }
.field { margin-bottom: 1.2rem; }
.field label, .field .label-text, .field > .label { display: block; font: 700 .85rem/1.4 var(--body); color: var(--ink); margin-bottom: .45rem; letter-spacing: 0; text-transform: none; }
.field .hint { font-weight: 400; color: var(--text); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--grey); border: 1px solid transparent; border-bottom: 2px solid #d8e1ee; border-radius: 0; padding: .85rem 1rem; transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--line); border-bottom-color: var(--coral); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: var(--danger); background: #fff6f5; }
.field .error { color: var(--danger); font-size: .85rem; font-weight: 700; margin: .4rem 0 0; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .5rem; }
.choice { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border: 1px solid var(--line); cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--ink); background: #fff; transition: border-color .2s, background-color .2s; }
.choice:hover { border-color: #bdbdbd; }
.choice:has(input:checked) { border-color: var(--coral); background: #eaf1ff; }
.choice input { accent-color: var(--coral-d); width: 17px; height: 17px; margin: 0; flex: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 1rem 1.25rem; margin-bottom: 1.5rem; color: var(--ink); }
.notice-ok { background: #edf7ef; border-left: 4px solid #2e7d32; }
.notice-err { background: #fdecea; border-left: 4px solid var(--danger); }
.notice p { margin: 0; }
.aside-card { background: var(--grey); padding: 2rem; }
.aside-card h2 { font-size: var(--step-1); }
.aside-card + .aside-card { margin-top: 1.25rem; }
.aside-card.dark { background: var(--dark); color: #b4bfd6; }
.aside-card.dark h2 { color: #fff; }
.aside-card.dark a { color: #fff; }
.aside-card.dark strong { color: var(--coral); }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-lines strong { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-d); }
.contact-lines a { font-weight: 700; text-decoration: none; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--grey); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: clamp(3.5rem, 7vw, 5rem) 3rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { margin-bottom: 1.2rem; }
.footer-h { font: 700 1.15rem/1.2 var(--display); color: var(--ink); margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-links a, .site-footer address a { color: var(--text); text-decoration: none; }
.footer-links a:hover, .site-footer address a:hover { color: var(--coral-d); }
.site-footer address { font-style: normal; display: grid; gap: .55rem; }
.footer-base { border-top: 1px solid var(--line); }
.footer-base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.4rem; font-size: .85rem; }
.footer-base p { margin: 0; }

.not-found { padding-block: 6rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Photos ---------- */
/* Desart-style: photos shown in black and white, colour returns on hover */
.bw { filter: grayscale(1) contrast(1.05); transition: filter .6s ease; }

.slide-art.has-photo { padding: 0; place-items: stretch; background: #d8e1ee; }
.slide-art.has-photo::before { display: none; }
.art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s ease; }
.slide-art.has-photo:hover .art-img { filter: none; }
.art-phone { position: absolute; left: 8%; bottom: 12%; width: 34%; max-width: 170px; }
.art-phone .phone { width: 100%; max-width: none; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.slide-art.dim { display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 4rem) clamp(5rem, 8vw, 6rem); }
.slide-art.dim .art-img { filter: grayscale(1) brightness(.55); }
.slide-art.dim:hover .art-img { filter: grayscale(.4) brightness(.55); }
.slide-art.dim .compare { position: relative; z-index: 1; background: #fff; padding: 12px 12px 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
@media (max-width: 960px) { .slide-art.has-photo { min-height: 320px; } .art-phone { width: 28%; } }

.overlap .o1, .overlap .o2 { padding: 0; overflow: hidden; background: #ddd; }
.overlap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s ease, transform .6s ease; }
.overlap .o2 { border: 10px solid #fff; }
.overlap:hover img { filter: none; }

.consult-art { position: relative; align-self: stretch; padding: 0; margin-right: calc(-1 * var(--gutter)); min-height: 360px; display: block; }
.consult-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
@media (min-width: 1201px) { .consult-art { margin-right: calc((100vw - var(--max)) / -2 - var(--gutter)); } }
@media (max-width: 760px) { .consult-art { display: none; } }

.page-head.has-photo::after { display: none; }
.head-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; }
.head-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
.page-head.has-photo h1, .page-head.has-photo .lede { max-width: 30rem; }
@media (max-width: 860px) { .head-photo { width: 100%; opacity: .12; } .head-photo img { -webkit-mask-image: none; mask-image: none; } }

.wide-img { margin: 2rem 0 0; overflow: hidden; }
.wide-img img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); transition: filter .6s ease; }
.wide-img:hover img { filter: none; }

/* ---------- Advanced touches ---------- */

/* Header: shrinks on scroll, coral reading-progress line */
.site-header { transition: box-shadow .3s ease; }
.header-row { transition: min-height .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(23,19,46,.22); }
.site-header.scrolled .header-row { min-height: 66px; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--coral); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Hero: slow zoom on the active photo, pointer-follow depth on mockups */
.art-img { transform: scale(1.02); transition: filter .8s ease, transform 9s ease-out; }
.slide.is-active .art-img { transform: scale(1.12); }
.art-phone, .slide-art.dim .compare { transition: transform .4s ease-out; transform: translate3d(var(--tx, 0), var(--ty, 0), 0); }
.slide-art.dim .compare { transform: translate3d(calc(var(--tx, 0px) * -.5), calc(var(--ty, 0px) * -.5), 0); }

/* Marquee band of services */
.marquee { background: var(--ink); overflow: hidden; padding-block: 1.6rem; border-block: 1px solid #223259; }
.marquee-track { display: flex; align-items: center; gap: 2.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 700 clamp(1.8rem, 4vw, 3.2rem)/1 var(--display); color: #fff; white-space: nowrap; }
.marquee span.out { color: transparent; -webkit-text-stroke: 1px #8a8a8a; }
.marquee i { width: 14px; height: 14px; background: var(--coral); transform: rotate(45deg); flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Scroll reveal: only applied by JS to content below the fold, so the page is complete without it */
.js-reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js-reveal.in { opacity: 1; transform: none; }

/* Services: index numbers and a coral line that sweeps in on hover */
.svc { position: relative; overflow: hidden; }
.svc-num { position: absolute; top: 1.6rem; right: 1.8rem; font: 700 2.2rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px #d4d4d4; transition: -webkit-text-stroke-color .3s; }
.svc::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.svc:hover::after { transform: scaleX(1); }
.svc:hover .svc-num { -webkit-text-stroke-color: var(--coral); }
.svc .icon { transition: transform .4s ease; }
.svc:hover .icon { transform: translateY(-4px); }
.svc-ask .svc-num { -webkit-text-stroke-color: #555; }

/* Facts: subtle hover lift */
.facts li { transition: transform .3s ease; }
.facts li:hover { transform: translateY(-4px); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.faq-side { position: sticky; top: 110px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; font: 700 var(--step-1)/1.3 var(--display); color: var(--ink); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 40px; height: 40px; background: var(--grey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .3s ease, background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--coral); }
.faq summary:hover { color: var(--coral-d); }
.faq details p { margin: -.4rem 0 1.6rem; padding-right: 3.5rem; }
.faq details[open] p { animation: faq-in .35s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* Back to top with scroll-progress ring */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); width: 52px; height: 52px; background: #fff; border-radius: 50%; box-shadow: 0 10px 26px -10px rgba(0,0,0,.35); display: grid; place-items: center; z-index: 40; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 100%; height: 100%; transform: rotate(-90deg); fill: none; }
.to-top path { stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); transform-origin: 24px 24px; }
.to-top .ring-bg { stroke: var(--line); stroke-width: 2.5; }
.to-top .ring { stroke: var(--coral); stroke-width: 2.5; stroke-dasharray: 132; stroke-dashoffset: calc(132 - 132 * var(--p, 0)); }
.to-top:hover path { stroke: var(--coral-d); }

/* Buttons: coral fill slides in from the left */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .35s ease; z-index: -1; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { background: var(--coral-d); }
.btn-dark:hover, .cta .btn:hover { background: var(--ink); }
.btn-dark::before { background: var(--coral-d); }
.cta .btn::before { background: #fff; }
.btn-line::before { background: var(--ink); }
.btn-line:hover { background: transparent; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .js-reveal { opacity: 1; transform: none; }
  .art-img, .slide.is-active .art-img { transform: none; }
}

/* ---------- Round 2: page transitions, cursor, new sections ---------- */

/* Smooth cross-fade between pages in browsers that support it */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }


/* Quote wizard */
.wizard-steps { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.wizard-steps li { display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 700; color: #a3a3a3; }
.wizard-steps span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #d0d0d0; font: 700 .95rem/1 var(--display); color: #a3a3a3; flex: none; transition: all .3s; }
.wizard-steps li.is-current, .wizard-steps li.is-done { color: var(--ink); }
.wizard-steps li.is-current span { background: var(--coral-d); border-color: var(--coral-d); color: #fff; }
.wizard-steps li.is-done span { background: var(--ink); border-color: var(--ink); color: #fff; }
.wizard-bar { height: 3px; background: var(--grey-2); margin-bottom: 2.2rem; }
.wizard-bar span { display: block; height: 100%; background: var(--coral); width: var(--w, 33.33%); transition: width .45s ease; }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.wizard.is-wizard fieldset { display: none; margin: 0; }
.wizard.is-wizard fieldset.is-active { display: block; animation: step-in .45s ease; }
.wizard:not(.is-wizard) .wizard-steps, .wizard:not(.is-wizard) .wizard-bar, .wizard:not(.is-wizard) [data-next-step], .wizard:not(.is-wizard) [data-prev-step] { display: none; }
@keyframes step-in { from { opacity: 0; transform: translateX(18px); } }
.choices-big .choice { padding: 1.1rem 1.1rem; font-size: 1rem; }
@media (max-width: 560px) { .wizard-steps li { font-size: 0; gap: 0; } .wizard-steps { grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem; } }

.mini-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; counter-reset: ms; }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 34px 1fr; column-gap: .9rem; }
.mini-steps li::before { content: counter(ms); grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #555; color: var(--coral); font: 700 1rem/1 var(--display); }
.mini-steps b { color: #fff; font-weight: 700; }
.mini-steps span { font-size: .9rem; }

/* Services page: sticky side menu that tracks the section in view */
.svc-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-nav { position: sticky; top: 100px; padding-block: 3.5rem; }
.svc-nav ul { list-style: none; padding: 0; margin: 0 0 1.5rem; border-left: 1px solid var(--line); }
.svc-nav ul a { display: flex; gap: .8rem; align-items: baseline; padding: .6rem 0 .6rem 1.1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; transition: color .2s, border-color .2s; }
.svc-nav ul a span { font: 700 .8rem/1 var(--display); color: #b5b5b5; }
.svc-nav ul a:hover { color: var(--ink); }
.svc-nav ul a.active { color: var(--ink); border-left-color: var(--coral); }
.svc-nav ul a.active span { color: var(--coral-d); }
.svc-layout .service-detail { grid-template-columns: 70px 1fr 1.3fr; }
@media (max-width: 960px) { .svc-layout { grid-template-columns: 1fr; } .svc-nav { display: none; } }
@media (max-width: 860px) { .svc-layout .service-detail { grid-template-columns: 1fr; } }

.included { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.included li { background: #fff; padding: 2rem; display: grid; gap: .4rem; position: relative; }
.included li::before { content: ""; width: 10px; height: 10px; background: var(--coral); transform: rotate(45deg); margin-bottom: .8rem; }
.included b { font: 700 1.15rem/1.3 var(--display); color: var(--ink); }
.included span { font-size: .95rem; }
@media (max-width: 860px) { .included { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } }

/* Contact cards */
.contact-cards { list-style: none; padding: 0; margin: 0 0 clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.contact-cards li { border: 1px solid var(--line); padding: 2rem; display: grid; gap: .35rem; transition: box-shadow .3s, transform .3s; position: relative; }
.contact-cards li:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-cards .icon { margin-bottom: .8rem; }
.contact-cards b { font: 700 1.2rem/1.2 var(--display); color: var(--ink); }
.contact-cards a { font-weight: 700; text-decoration: none; word-break: break-word; }
.contact-cards small { font-size: .85rem; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* About: values and tech */
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.values li { background: #fff; padding: 2.4rem 2rem; position: relative; border-bottom: 3px solid transparent; transition: border-color .3s, box-shadow .3s; }
.values li:hover { border-color: var(--coral); box-shadow: var(--shadow); }
.values .svc-num { top: 1.4rem; right: 1.6rem; }
.values h3 { margin-top: 1.4rem; }
.values p { margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.tech { margin-top: 3.5rem; text-align: center; }
.tech ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.tech li { padding: .6rem 1.1rem; border: 1px solid #d5deec; background: #fff; font-weight: 700; font-size: .9rem; color: var(--ink); transition: border-color .2s, color .2s; }
.tech li:hover { border-color: var(--coral); color: var(--coral-d); }

/* Home: industries strip */
.industries { border-top: 1px solid var(--line); }
.industries-row { display: grid; grid-template-columns: 260px 1fr; gap: 1.5rem 3rem; align-items: center; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.industries-h { font-size: 1.35rem; margin: 0; }
.industries ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.industries li { padding: .65rem 1.2rem; background: var(--grey); font-weight: 700; font-size: .9rem; color: var(--ink); transition: background-color .25s, color .25s; }
.industries li:hover { background: var(--ink); color: #fff; }
@media (max-width: 760px) { .industries-row { grid-template-columns: 1fr; } }


/* Logo: <b> tag mark + two-line wordmark */
.brand { gap: .7rem; color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; font: 700 1.65rem/1 var(--display); color: var(--ink); }
.brand-text small { font: 800 .62rem/1 var(--body); letter-spacing: .32em; color: #9a9a9a; margin-bottom: .3rem; text-transform: uppercase; }
.site-header.scrolled .brand-mark { width: 38px; height: 38px; }
.brand-mark, .brand-text { transition: width .3s, height .3s; }
.brand:hover .brand-mark path[stroke] { stroke: var(--ink); }
.brand-mark path[stroke] { transition: stroke .25s; }

/* ---------- Vibrant colour pass: electric violet + hot pink ---------- */
::selection { background: #ef4444; color: #fff; }

/* Gradient buttons; a deep indigo fill slides in on hover */
.btn { background: var(--grad); background-size: 140% 100%; border: 0; padding: 1.1rem 2.1rem; box-shadow: 0 14px 28px -14px rgba(37, 99, 235, .7); }
.btn:hover { background: var(--grad); }
.btn::before { background: var(--ink); }
.btn-small { padding: .85rem 1.3rem; }
.btn-line { background: transparent; border: 2px solid var(--ink); box-shadow: none; padding: calc(1.1rem - 2px) calc(2.1rem - 2px); }
.btn-line::before { background: var(--ink); }
.btn-dark { background: var(--ink); box-shadow: none; }
.btn-dark::before { background: var(--grad); }
.btn-dark:hover { background: var(--ink); }
.cta .btn, .panel .btn { background: #fff; color: var(--ink); box-shadow: 0 14px 28px -14px rgba(0,0,0,.35); }
.cta .btn::before, .panel .btn::before { background: var(--ink); }
.cta .btn:hover, .panel .btn:hover { color: #fff; background: #fff; }

/* Labels and big numbers */
.label { color: var(--violet); }
.facts strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts sup { color: var(--pink); -webkit-text-fill-color: var(--pink); }

/* Header progress line */
.progress { background: var(--grad); height: 3px; }

/* Hero: lavender ground with soft colour glows; photos in full colour */
.hero { background: var(--grey); }
.slide-text::after { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -140px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, .22), transparent 65%); pointer-events: none; }
.slide-text::before { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; right: -60px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(37, 99, 235, .18), transparent 65%); pointer-events: none; }
.slide-text { isolation: isolate; }
.art-img, .slide-art.has-photo:hover .art-img { filter: saturate(1.08); }
.slide-art.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(37, 99, 235, .18), transparent 45%, rgba(16, 185, 129, .18)); pointer-events: none; }
.slide-art.dim .art-img, .slide-art.dim:hover .art-img { filter: brightness(.5) saturate(1.1); }
.hero-controls button { background: var(--violet); }
.hero-controls button + button { background: var(--ink); }
.hero-controls button:hover { background: var(--pink); }
.hero-dots button { background: #cfd9ea; }
.hero-dots button[aria-current="true"] { background: var(--grad); width: 48px; }
.hero-num { -webkit-text-stroke-color: rgba(37, 99, 235, .25); }

/* Photos in colour everywhere */
.overlap img, .consult-art img, .head-photo img, .wide-img img { filter: none; }
.overlap .o1 { box-shadow: 0 30px 60px -30px rgba(30, 64, 175, .45); }
.overlap::before { content: ""; grid-column: 9 / 13; grid-row: 1 / 4; background: var(--grad); opacity: .9; margin: 18% 0 0 18%; }
.overlap { position: relative; }

/* Marquee */
.marquee { background: var(--ink); border-block: 0; }
.marquee span.out { -webkit-text-stroke-color: #7f9bd6; }
.marquee i { background: var(--grad); }

/* Consultation band: lavender dots and a coloured edge on the photo */
.consult::before { background-image: radial-gradient(#cfd9ea 1.4px, transparent 1.6px); }
.consult-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--grey) 0, transparent 35%), linear-gradient(200deg, rgba(37, 99, 235, .25), transparent 50%, rgba(16, 185, 129, .2)); }

/* Services */
.svc-ask { background: var(--grad); color: rgba(255,255,255,.88); }
.svc-ask:hover { background: var(--grad); }
.svc-ask .svc-num { -webkit-text-stroke-color: rgba(255,255,255,.45); }
.svc-ask .more { color: #fff; }
.svc::after { background: var(--grad); }
.svc:hover .svc-num { -webkit-text-stroke-color: var(--violet); }
.icon .acc { stroke: var(--pink); }

/* Industries chips */
.industries li:hover { background: var(--grad); color: #fff; }

/* Dark band: indigo with colour glows */
.dark-band { background: radial-gradient(60% 80% at 100% 0%, rgba(37, 99, 235, .45), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(16, 185, 129, .25), transparent 60%), var(--ink); color: #aeb9d1; }
.dark-band::before { background-image: radial-gradient(rgba(255,255,255,.08) 1.4px, transparent 1.6px); }
.steps li { border-top-color: rgba(255,255,255,.12); }
.steps li::before { -webkit-text-stroke-color: #7f9bd6; }
.steps li::after { background: var(--grad); width: 56px; }

/* FAQ */
.faq details[open] summary::after { background-color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"), var(--grad); background-size: 18px, cover; background-repeat: no-repeat; background-position: center; }
.faq summary:hover { color: var(--violet); }

/* Page heads: lavender with glow, photo in colour */
.page-head { background: radial-gradient(40% 90% at 0% 100%, rgba(16, 185, 129, .14), transparent 70%), var(--grey); }
.crumbs a { color: var(--violet); }

/* CTA strip: full gradient with soft rings */
.cta { background: var(--grad); position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); pointer-events: none; }
.cta::before { width: 420px; height: 420px; right: -120px; top: -220px; }
.cta::after { width: 260px; height: 260px; right: 160px; bottom: -200px; }
.cta-row { position: relative; z-index: 1; }

/* Panels and dark cards */
.panel, .aside-card.dark { background: radial-gradient(70% 90% at 100% 0%, rgba(37, 99, 235, .55), transparent 60%), var(--ink); }
.ticks li::before { background: var(--grad); }
.aside-card.dark strong { color: var(--pink); }
.mini-steps li::before { border-color: rgba(255,255,255,.2); color: var(--pink); }

/* Forms */
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--violet); box-shadow: 0 6px 18px -10px rgba(37, 99, 235, .5); }
.choice:has(input:checked) { border-color: var(--violet); background: #eaf1ff; color: var(--violet); }
.wizard-steps li.is-current span { background: var(--grad); border-color: transparent; }
.wizard-bar span { background: var(--grad); }

/* Services side menu, included list, values, contact cards */
.svc-nav ul a.active { border-left-color: var(--pink); }
.svc-nav ul a.active span { color: var(--violet); }
.included li::before { background: var(--grad); }
.values li:hover { border-bottom-color: var(--pink); }
.contact-cards li:hover { border-color: transparent; }
.tech li:hover { border-color: var(--violet); color: var(--violet); }

/* Back-to-top ring */
.to-top .ring { stroke: var(--pink); }

/* Logo */
.brand-text small { color: #8592ad; }
.brand:hover .brand-mark path[stroke] { stroke: var(--pink); }

/* ---------- Blue / green / red pass ---------- */
.ticks li::before, .included li::before, .steps li::after { background: var(--green); }
.facts strong { background: linear-gradient(120deg, var(--blue), var(--green)); -webkit-background-clip: text; background-clip: text; }
.facts sup { color: var(--red); -webkit-text-fill-color: var(--red); }
.marquee i:nth-of-type(3n+1) { background: var(--blue); }
.marquee i:nth-of-type(3n+2) { background: var(--green); }
.marquee i:nth-of-type(3n) { background: var(--red); }
.steps li:nth-child(1)::after { background: var(--blue); }
.steps li:nth-child(2)::after { background: #0ea5e9; }
.steps li:nth-child(3)::after { background: var(--green); }
.steps li:nth-child(4)::after { background: var(--red); }
.hero-controls button:hover { background: var(--green); }
.to-top .ring { stroke: var(--green); }
.svc:hover .svc-num { -webkit-text-stroke-color: var(--blue); }
.svc::after { background: linear-gradient(90deg, var(--blue), var(--green), var(--red)); }
.progress { background: linear-gradient(90deg, var(--blue), var(--green), var(--red)); }
.choice:has(input:checked) { border-color: var(--blue); background: #eaf1ff; color: var(--blue); }
.notice-ok { border-left-color: var(--green); }

/* ---------- More photos ---------- */
/* Service cards on the home page: photo header */
.svc-img { margin: -2.2rem calc(-1 * clamp(1.25rem, 3vw, 2.5rem)) 1.6rem; aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.svc:hover .svc-img img { transform: scale(1.06); }
.svc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 26, 54, .35)); }
.svc .svc-num { z-index: 2; -webkit-text-stroke-color: rgba(255,255,255,.85); }
.svc:hover .svc-num { -webkit-text-stroke-color: #fff; }
.svc-img + .icon { margin-top: -3.6rem; position: relative; z-index: 2; width: 58px; height: 58px; padding: 12px; background: #fff; box-shadow: 0 10px 24px -12px rgba(15, 26, 54, .4); }
.svc-ask { display: flex; flex-direction: column; justify-content: center; }

/* Industries: photo cards */
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 4rem; align-items: end; }
.split-head p { margin: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.ind { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey-2); }
.ind img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ind::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(15, 26, 54, .88)); transition: opacity .4s; }
.ind figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.4rem 1.5rem; color: #fff; display: grid; gap: .2rem; }
.ind figcaption b { font: 700 1.35rem/1.2 var(--display); }
.ind figcaption span { font-size: .9rem; color: rgba(255,255,255,.82); }
.ind figcaption::before { content: ""; width: 36px; height: 3px; background: var(--green); margin-bottom: .6rem; transition: width .4s ease; }
.ind:nth-child(3n+2) figcaption::before { background: var(--blue); }
.ind:nth-child(3n) figcaption::before { background: var(--red); }
.ind:hover img { transform: scale(1.07); }
.ind:hover figcaption::before { width: 64px; }
@media (max-width: 900px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }

/* Services page: photo under each heading */
.svc-photo { margin: 1.4rem 0 0; aspect-ratio: 3 / 2; overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.service-detail:hover .svc-photo img { transform: scale(1.05); }

/* Pictures: let <picture> wrappers be layout-transparent so img sizing rules keep working */
picture { display: contents; }

/* Phone action bar: call and quote always one tap away */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 -10px 30px -18px rgba(15, 26, 54, .45); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; font-weight: 800; font-size: .95rem; text-decoration: none; color: var(--ink); border: 2px solid var(--ink); }
  .mobile-bar a.primary { background: var(--grad); color: #fff; border: 0; }
  .mobile-bar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
  body { padding-bottom: 72px; }
  .to-top { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Work page ---------- */
.tile .tile-cap { display: block; }
.tile:focus-visible .tile-cap, .tile:hover .tile-cap { transform: none; }
.case { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.case:last-child { border-bottom: 0; }
.case.flip .case-art { order: 2; }
.case-art { background: linear-gradient(160deg, var(--grey), var(--grey-2)); padding: clamp(1.5rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.case-art::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -15%; top: -25%; background: radial-gradient(circle, rgba(37, 99, 235, .18), transparent 70%); }
.case-art .mock { position: relative; transition: transform .6s ease; }
.case:hover .case-art .mock { transform: translateY(-6px); }
.case-text h2 { font-size: var(--step-3); }
.case-meta { display: flex; flex-wrap: wrap; gap: .8rem 2.5rem; margin: 0 0 1.4rem; padding: 1rem 0; border-block: 1px solid var(--line); }
.case-meta dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.case-meta dd { margin: .2rem 0 0; color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } .case.flip .case-art { order: 0; } }

/* ---------- Areas ---------- */
a.ind { display: block; color: #fff; text-decoration: none; }
.ind .ind-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.4rem 1.5rem; color: #fff; display: grid; gap: .2rem; }
.ind .ind-cap b { font: 700 1.5rem/1.2 var(--display); }
.ind .ind-cap span { font-size: .9rem; color: rgba(255,255,255,.82); }
.ind .ind-cap::before { content: ""; width: 36px; height: 3px; background: var(--green); margin-bottom: .6rem; transition: width .4s ease; }
a.ind:hover .ind-cap::before, a.ind:focus-visible .ind-cap::before { width: 64px; }
a.ind:hover img { transform: scale(1.07); }
.area-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.area-links a { display: grid; gap: .2rem; padding: 1.3rem 1.4rem; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 700 1.3rem/1.2 var(--display); transition: border-color .2s, box-shadow .2s, transform .2s; }
.area-links a span { font: 800 .7rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.area-links a:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.panel a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.footer-areas { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding-block: 1.4rem; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-areas b { color: var(--ink); font-weight: 800; }
.footer-areas a { color: var(--text); text-decoration: none; }
.footer-areas a:hover { color: var(--violet); }

/* Privacy page and form note */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2rem; }
.prose h2:first-child { margin-top: 0; }
.muted { color: #8592ad; font-size: .9rem; margin-top: 2.5rem; }
.form-note { font-size: .85rem; margin: .9rem 0 0; color: #8592ad; }
.wizard-nav + .form-note, .wizard-nav .form-note { flex-basis: 100%; text-align: right; }

/* ---------- Professional polish ---------- */
:root { --r-s: 6px; --r-m: 10px; --r-l: 16px; }

/* Type: confident headings, calmer labels */
h1 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
h2 { letter-spacing: -0.03em; line-height: 1.15; }
h3 { font-weight: 700; letter-spacing: -0.015em; }
.slide-text h1, .slide-text .h1like { font-weight: 800; letter-spacing: -0.035em; }
.label { font-size: .72rem; letter-spacing: .14em; display: inline-flex; align-items: center; gap: .6rem; }
.label::before { content: ""; width: 22px; height: 2px; background: var(--green); }
.center .label { justify-content: center; }
.brand-text { font-weight: 800; letter-spacing: -0.02em; }
.brand-text small { font-weight: 800; }

/* Quieter decoration */
.chev::before { opacity: .55; }
.slide-text .chev::before { display: none; }
.page-head::after { opacity: .6; }
.hero-num { display: none; }

/* Soft, consistent corners */
.btn { border-radius: var(--r-s); }
.btn::before { border-radius: inherit; }
.nav-toggle { border-radius: var(--r-s); }
.mock, .browser { border-radius: var(--r-s); overflow: hidden; }
.svc-grid { border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.svc:hover { box-shadow: none; background: var(--grey); }
.ind, .case-art, .panel, .aside-card, .form, .contact-cards li, .values li, .facts, .facts ul, .tile, .svc-photo, .wide-img, .overlap .o1, .overlap .o2, .compare .stage, .cta-band, .area-links a, .tech li, .industries li, .choice, .notice { border-radius: var(--r-m); }
.included { border-radius: var(--r-l); overflow: hidden; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=url], .field select, .field textarea { border-radius: var(--r-s); }
.hero-controls { border-radius: var(--r-s) 0 0 0; overflow: hidden; }
.mobile-bar a { border-radius: var(--r-s); }
.faq summary::after { border-radius: 50%; }
.faq details[open] summary::after { transform: rotate(45deg); }
.wizard-steps span { border-radius: 50%; }
.icon { border-radius: var(--r-s); }
.slide-art.dim .compare { border-radius: var(--r-m); }

/* Top contact bar */
.topbar { background: var(--ink); color: #b7c3dc; font-size: .8rem; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar-links { display: flex; gap: 1.6rem; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.topbar a:hover { color: #7dd3b0; }
.topbar svg { width: 15px; height: 15px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 760px) { .topbar-row > span:first-child { display: none; } .topbar-row { justify-content: center; } .topbar-links { gap: 1rem; font-size: .75rem; } }
@media (max-width: 420px) { .topbar-links a:last-child { display: none; } }

/* Credibility strip under the hero */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-row { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-row li { display: flex; align-items: center; gap: .9rem; padding: 1.6rem 1.2rem; border-right: 1px solid var(--line); }
.trust-row li:last-child { border-right: 0; }
.trust-row svg { width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 50%; background: #e8f0ff; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.trust-row li:nth-child(2) svg { background: #e3f7ef; stroke: var(--green); }
.trust-row li:nth-child(3) svg { background: #fdecec; stroke: var(--red); }
.trust-row span { display: grid; font-size: .85rem; line-height: 1.4; }
.trust-row b { color: var(--ink); font-size: .95rem; font-weight: 800; font-family: var(--display); }
@media (max-width: 960px) { .trust-row { grid-template-columns: 1fr 1fr; } .trust-row li:nth-child(2) { border-right: 0; } .trust-row li:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .trust-row { grid-template-columns: 1fr; } .trust-row li { border-right: 0; border-bottom: 1px solid var(--line); } .trust-row li:last-child { border-bottom: 0; } }

/* Section rhythm */
.section-head h2 { max-width: 22ch; }
.center.section-head h2, .section-head.center h2 { margin-inline: auto; }
.facts strong { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }
.cta h2 { font-weight: 800; }

/* ---------- Project snapshots ---------- */
.snap { background: #fff; box-shadow: var(--shadow); border-radius: var(--r-s); overflow: hidden; position: relative; }
.snap-img { aspect-ratio: 8 / 5; overflow: hidden; background: var(--grey-2); }
.snap-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 6s ease; }
.case:hover .snap-img img { transform: translateY(-6%); }
.snap-link { display: block; text-decoration: none; position: relative; }
.snap-link::after { content: "Visit site ↗"; position: absolute; right: 14px; bottom: 14px; background: var(--ink); color: #fff; font: 700 .8rem/1 var(--body); padding: .6rem .9rem; border-radius: var(--r-s); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.snap-link:hover::after, .snap-link:focus-visible::after { opacity: 1; transform: none; }
.case-art .snap { position: relative; transition: transform .6s ease; }
.case:hover .case-art .snap { transform: translateY(-6px); }
.tile .snap { filter: none; box-shadow: 0 14px 30px -16px rgba(15, 26, 54, .4); }
.tile { aspect-ratio: auto; padding: 8% 7% 26%; }
.tile .snap-img img { transition: transform .8s ease; }
.tile:hover .snap-img img { transform: scale(1.04); }
@media (max-width: 640px) { .tile { padding: 7% 8% 22%; } }

/* Home: recent project tiles as compact cards */
.work-tiles { align-items: start; }
.work-tiles .tile { aspect-ratio: auto; padding: 0; background: none; overflow: visible; display: grid; gap: .9rem; }
.work-tiles .tile .snap, .work-tiles .tile .mock { filter: none; box-shadow: 0 18px 36px -20px rgba(15, 26, 54, .45); transition: transform .4s ease, box-shadow .4s ease; }
.work-tiles .tile:hover .snap, .work-tiles .tile:hover .mock { transform: translateY(-5px); box-shadow: 0 26px 44px -20px rgba(15, 26, 54, .5); }
.work-tiles .tile .mock { aspect-ratio: auto; }
.work-tiles .tile .tile-cap { position: static; transform: none; background: none; padding: 0 .2rem; }
.work-tiles .tile .tile-cap b { font-size: 1rem; }
.work-tiles .tile .tile-cap span { font-size: .8rem; }
/* Drawn previews (projects without a screenshot yet) match the snapshot proportions */
.work-tiles .tile .mock { aspect-ratio: 5 / 4; overflow: hidden; }
.case-art > .mock, .case-art > .snap-link > .mock { aspect-ratio: 1.44; overflow: hidden; }

/* ---------- Work filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.filters[hidden] { display: none; }
.filter { font: 700 .9rem/1 var(--body); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .65rem 1.05rem; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; transition: border-color .2s, background .2s, color .2s; }
.filter span { font-size: .72rem; background: var(--grey); color: var(--text); border-radius: 999px; padding: .2rem .5rem; }
.filter:hover { border-color: var(--blue); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter[aria-pressed="true"] span { background: rgba(255,255,255,.16); color: #fff; }
.case[hidden] { display: none; }
.case-text h2 a { color: inherit; text-decoration: none; background: linear-gradient(var(--green), var(--green)) 0 100% / 0 3px no-repeat; transition: background-size .3s; }
.case-text h2 a:hover { background-size: 100% 3px; }
.case-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }

/* ---------- Project case study ---------- */
.cs-head { padding-bottom: clamp(7rem, 14vw, 10rem); }
.cs-head .actions { margin-top: 1.8rem; }
.cs-stage { margin-top: clamp(-8.5rem, -12vw, -5.5rem); position: relative; z-index: 2; }
.cs-shot { max-width: 980px; margin-inline: auto; padding: clamp(.8rem, 2.4vw, 1.6rem); border-radius: var(--r-l); background: var(--grad); box-shadow: 0 30px 70px -30px rgba(15, 26, 54, .45); }
.cs-shot .snap, .cs-shot .mock { box-shadow: 0 10px 30px -12px rgba(15, 26, 54, .5); }
.cs-shot .snap-link { display: block; }
.cs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.cs-main > p { font-size: 1.08rem; max-width: 62ch; }
.cs-sub { font-size: var(--step-2); margin-top: 2.6rem; }
.cs-points { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.cs-points li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; background: var(--grey); border-radius: var(--r-m); padding: 1.1rem 1.2rem; color: var(--ink); font-weight: 600; }
.cs-points li span { font: 800 .8rem/1 var(--display); color: #fff; background: var(--grad); border-radius: var(--r-s); padding: .45rem .5rem; }
.cs-facts { position: sticky; top: 110px; border: 1px solid var(--line); border-radius: var(--r-l); background: #fff; overflow: hidden; }
.cs-facts dl { margin: 0; padding: .4rem 1.5rem; }
.cs-facts dl div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cs-facts dl div:last-child { border-bottom: 0; }
.cs-facts dt { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.cs-facts dd { margin: .25rem 0 0; color: var(--ink); font-weight: 700; }
.cs-facts dd a { color: var(--ink); text-decoration-color: var(--green); text-underline-offset: 3px; }
.cs-facts-cta { background: var(--ink); color: #c3cfe6; padding: 1.4rem 1.5rem; display: grid; gap: .9rem; justify-items: start; }
.cs-facts-cta p { margin: 0; color: #fff; font: 700 1.1rem/1.35 var(--display); }
.cs-facts-cta .more { color: #8fb4ff; }
.cs-facts-cta .more:hover { color: #fff; }
.cs-more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.cs-more-head h2 { margin: 0; }
.cs-pn { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.cs-pn-card { display: grid; grid-template-columns: 46% 1fr; gap: 1.2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: 1rem; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.cs-pn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cs-pn-img { display: block; pointer-events: none; }
.cs-pn-img .mock-bar span { display: none; }
.cs-pn-text { display: grid; gap: .25rem; }
.cs-pn-text small { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.cs-pn-text b { font: 700 1.25rem/1.25 var(--display); color: var(--ink); }
.cs-pn-text span { font-size: .9rem; color: var(--text); }
.cs-pn-card.next { grid-template-columns: 1fr 46%; }
.cs-pn-card.next .cs-pn-img { order: 2; }
.cs-pn-card.next .cs-pn-text { text-align: right; }
@media (max-width: 900px) {
  .cs-grid { grid-template-columns: 1fr; }
  .cs-facts { position: static; }
}
@media (max-width: 520px) {
  .cs-pn-card, .cs-pn-card.next { grid-template-columns: 1fr; }
  .cs-pn-card.next .cs-pn-img { order: 0; }
  .cs-pn-card.next .cs-pn-text { text-align: left; }
}
