/* Host Grotesk, served from this site (variable weight 300 to 800) */
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/host-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/host-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Influenzdd: Gallery pastel theme
   Paper #EEEEEC, Ink #000, White, pastels per service: lilac (brand), aqua (web), blush (growth),
   butter (performance), sage (research). Violet #7B5CFF only for the logo dot, focus and small accents.
   Type: Host Grotesk, light headlines with a bold close. */

:root {
  --paper: #EEEEEC;
  --ink: #000000;
  --white: #FFFFFF;
  --muted: #4D4D4D;
  --line: rgba(0, 0, 0, 0.12);
  --lilac: #CEC8E6;
  --aqua: #BFDCE1;
  --blush: #E6C7D6;
  --butter: #E8DFBF;
  --sage: #D3DCCF;
  --violet: #7B5CFF;

  --c1: var(--lilac); --c2: var(--aqua); --c3: var(--blush); --c4: var(--sage);

  --font: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 2.75rem);
  --max: 1320px;
  --header-h: 80px;
  --r-card: 28px;
  --r-field: 14px;
}
.theme-brand { --c1: var(--lilac); --c2: var(--blush); --c3: var(--aqua); --c4: var(--sage); }
.theme-web { --c1: var(--aqua); --c2: var(--lilac); --c3: var(--sage); --c4: var(--blush); }
.theme-growth { --c1: var(--blush); --c2: var(--butter); --c3: var(--lilac); --c4: var(--aqua); }
.theme-performance { --c1: var(--butter); --c2: var(--blush); --c3: var(--aqua); --c4: var(--lilac); }
.theme-research { --c1: var(--sage); --c2: var(--aqua); --c3: var(--lilac); --c4: var(--butter); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 1.125rem; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; }
b, strong { font-weight: 700; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: .75rem 1.25rem; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Type ---------- */
.display {
  font-weight: 300; font-size: clamp(2.8rem, 1.1rem + 6.4vw, 7.25rem);
  line-height: .98; letter-spacing: -0.045em; text-wrap: balance;
}
.display b, .h2 b, .statement b, .closing-title b { font-weight: 700; }
.h2 { font-weight: 300; font-size: clamp(2rem, 1.15rem + 3vw, 4rem); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.h3 { font-weight: 600; font-size: clamp(1.25rem, 1.08rem + .5vw, 1.6rem); line-height: 1.2; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.45rem); line-height: 1.42; color: var(--muted); max-width: 40ch; }
.statement { font-weight: 300; font-size: clamp(1.7rem, 1.05rem + 2.4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.035em; max-width: 24ch; margin: 0; text-wrap: balance; }
.body-lg { font-size: 1.2rem; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .9rem 1.6rem; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--white); font: inherit; font-size: 1rem; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { background: #2B2B2B; }
.btn--small { min-height: 44px; padding: .65rem 1.2rem; font-size: .95rem; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--lilac); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.pill-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.15rem; border-radius: 999px;
  border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-size: .98rem; font-weight: 500;
  transition: background-color .2s ease, color .2s ease;
}
.pill-link:hover { background: var(--ink); color: var(--white); }
.text-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: transform .3s ease; background: rgba(238, 238, 236, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 2rem; }
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 152px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-list > li { position: relative; }
.nav-list a, .nav-list .nav-trigger { color: var(--ink); text-decoration: none; font: inherit; font-size: 1rem; font-weight: 500; background: none; border: 0; padding: .45rem 0; cursor: pointer; border-bottom: 1.5px solid transparent; }
.nav-list a:hover, .nav-list .nav-trigger:hover { border-bottom-color: var(--ink); }
.nav-list a[aria-current="page"], .nav-trigger.is-current { border-bottom-color: var(--violet); }
.nav-trigger { display: inline-flex; align-items: center; gap: .4rem; }
.nav-trigger::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.has-menu.is-open .nav-trigger::after { transform: translateY(1px) rotate(-135deg); }
.submenu {
  position: absolute; top: calc(100% + 14px); left: -1.25rem; min-width: 300px; list-style: none;
  background: var(--white); border-radius: 22px; padding: .6rem; box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.has-menu.is-open .submenu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
.submenu a { display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: 14px; border: 0 !important; }
.submenu a:hover { background: var(--paper); }
.submenu .sw { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.submenu .all { border-top: 1px solid var(--line) !important; border-radius: 0 0 14px 14px; margin-top: .35rem; }

.menu-toggle { display: none; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; color: var(--ink); cursor: pointer; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 24px; height: 2px; background: currentColor; margin-inline: auto; transition: transform .25s ease; }
.menu-toggle .bars { position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -7px; } .menu-toggle .bars::after { top: 7px; }
.menu-open .menu-toggle .bars { background: transparent; }
.menu-open .menu-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; overflow-y: auto;
    flex-direction: column; align-items: flex-start; gap: 2rem; padding: 1.5rem var(--gutter) 3rem; background: var(--paper);
    visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .menu-open .site-nav { visibility: visible; opacity: 1; transition: opacity .25s ease; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: .9rem; width: 100%; }
  .nav-list a, .nav-list .nav-trigger { font-size: 1.9rem; font-weight: 300; letter-spacing: -0.03em; }
  .nav-trigger::after { display: none; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: .25rem 0 0; min-width: 0; }
  .submenu a { font-size: 1.15rem !important; font-weight: 500 !important; letter-spacing: 0 !important; padding: .5rem 0; }
  .submenu .all { border-top: 0 !important; }
  .menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 7vh, 5.5rem) clamp(3.5rem, 9vh, 7rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 7fr 5fr; gap: 3rem; } }
.hero .display { max-width: 13ch; }
.hero .lead { margin: 1.75rem 0 2.25rem; }
.hero--home { min-height: calc(100svh - var(--header-h)); display: grid; align-items: center; }
.hero--post .display { font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.8rem); max-width: 22ch; letter-spacing: -0.035em; }
.hero--post .hero-grid { grid-template-columns: 1fr; }

.hero-art { width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1; }
.hero-art .s1 { fill: var(--c1); } .hero-art .s2 { fill: var(--c2); } .hero-art .s3 { fill: var(--c3); } .hero-art .s4 { fill: var(--c4); }
.hero-art .ink { fill: var(--ink); } .hero-art .dot { fill: var(--violet); }
.hero-art .shape { transform-box: fill-box; transform-origin: center; animation: shape-in .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * 110ms + 100ms); }
@keyframes shape-in { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@media (max-width: 959px) { .hero-art { width: min(78vw, 380px); margin: 0; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink .muted, .section--ink .lead, .section--ink .body-lg { color: #BDBDBD; }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; } }
.section-head p { margin: 0; }

.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }

/* Pills row (sub-service chips) */
.pills { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }

/* Service blocks (KOTA-style big cards) */
.blocks { display: grid; gap: 1rem; }
@media (min-width: 900px) { .blocks--3 { grid-template-columns: repeat(3, 1fr); } .blocks--2 { grid-template-columns: repeat(2, 1fr); } }
.block {
  display: flex; flex-direction: column; gap: 1rem; min-height: clamp(220px, 32vw, 360px);
  padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--r-card); background: var(--white); text-decoration: none; color: var(--ink);
}
.block .h2 { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.8rem); }
.block p { margin: 0; color: var(--ink); opacity: .78; max-width: 40ch; }
.block .pill-link { margin-top: auto; align-self: flex-start; }
.block.c1 { background: var(--c1); } .block.c2 { background: var(--c2); } .block.c3 { background: var(--c3); } .block.c4 { background: var(--c4); }
.block.lilac { background: var(--lilac); } .block.aqua { background: var(--aqua); } .block.blush { background: var(--blush); } .block.butter { background: var(--butter); } .block.sage { background: var(--sage); }
a.block { transition: transform .25s ease; }
a.block:hover { transform: translateY(-4px); }
a.block:hover .pill-link { background: var(--ink); color: var(--white); }

/* Included list */
.included { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); list-style: none; }
@media (min-width: 760px) { .included { grid-template-columns: repeat(2, 1fr); } }
.included li { background: var(--paper); padding: 1.6rem 1.5rem 1.6rem 0; }
@media (min-width: 760px) { .included li:nth-child(even) { padding-left: 2rem; } }
.section--white .included li { background: var(--white); }
.included p { margin: .4rem 0 0; color: var(--muted); font-size: 1.02rem; }

/* Process (a real sequence) */
.process { list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.process > li { counter-increment: step; display: grid; gap: 1rem 2rem; padding-block: clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .process > li { grid-template-columns: 4rem 5fr 7fr; } }
.process > li::before { content: counter(step, decimal-leading-zero); font-size: 1rem; font-weight: 600; color: var(--muted); padding-top: .55rem; }
.process .h2 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); }
.process p { margin: 0 0 1rem; color: var(--muted); max-width: 56ch; }
.work-label { font-weight: 600; font-size: .98rem; margin-bottom: .6rem; }
.work { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }
.work li { padding: .45rem .85rem; border-radius: 999px; background: var(--white); font-size: .92rem; }
.section--white .work li { background: var(--paper); }

/* Who it's for / reasons */
.reasons { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 760px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reasons--4 { grid-template-columns: repeat(4, 1fr); } }
.reason { background: var(--white); border-radius: 22px; padding: 1.75rem; }
.section--white .reason { background: var(--paper); }
.reason p { margin: .5rem 0 0; color: var(--muted); font-size: 1.02rem; }
.reason .h3 { font-size: 1.3rem; }

/* Clients marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; list-style: none; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: grid; place-items: center; width: 240px; height: 120px; border-radius: 22px; background: var(--white); }
.section--white .marquee-track li { background: var(--paper); }
.marquee-track img { width: 170px; height: 44px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - .5rem)); } }

/* Results (filled in when real numbers are supplied) */
.results { display: grid; gap: 1rem; }
@media (min-width: 900px) { .results { grid-template-columns: repeat(3, 1fr); } }
.result { border-radius: var(--r-card); padding: 2rem; background: var(--white); }
.result .num { font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 300; letter-spacing: -0.05em; line-height: 1; }
.result p { margin: .75rem 0 0; color: var(--muted); }

/* Cards (articles, related services) */
.cards { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; height: 100%; border-radius: 22px; background: var(--white); text-decoration: none; overflow: hidden; transition: transform .25s ease; }
.card:hover { transform: translateY(-3px); }
.section--white .card { background: var(--paper); }
.card-top { height: 10px; background: var(--c1); }
.card-top.lilac { background: var(--lilac); } .card-top.aqua { background: var(--aqua); } .card-top.blush { background: var(--blush); } .card-top.butter { background: var(--butter); } .card-top.sage { background: var(--sage); }
.card-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.6rem; flex: 1; }
.card .h3 { font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.card .meta { margin-top: auto; padding-top: .5rem; font-size: .9rem; color: var(--muted); }

/* Industries */
.tags { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.tags li { padding: .7rem 1.2rem; border-radius: 999px; background: var(--white); font-size: 1.05rem; }
.section--white .tags li { background: var(--paper); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; cursor: pointer; list-style: none; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 16px; height: 16px; background: linear-gradient(var(--ink), var(--ink)) center / 16px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 16px no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.5rem; max-width: 64ch; color: var(--muted); }

/* Steps on home (sequence) */
.steps { display: grid; gap: 1rem; list-style: none; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--white); border-radius: 22px; padding: 1.75rem; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 600; color: var(--muted); margin-bottom: 2.5rem; }
.steps p { margin: .5rem 0 0; color: var(--muted); font-size: 1.02rem; }

/* ---------- Quiz ---------- */
.quiz { background: var(--white); border-radius: var(--r-card); padding: clamp(1.5rem, 4vw, 3rem); max-width: 860px; }
.quiz-progress { height: 6px; border-radius: 6px; background: var(--paper); overflow: hidden; margin-bottom: 2rem; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .3s ease; }
.quiz-q { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 1.75rem; }
.quiz-count { color: var(--muted); font-size: 1rem; margin-bottom: .75rem; }
.quiz-options { display: grid; gap: .6rem; }
.quiz-options button { text-align: left; padding: 1rem 1.25rem; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); font: inherit; font-size: 1.05rem; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.quiz-options button:hover { border-color: var(--ink); background: var(--white); }
.quiz-result .score { font-size: clamp(4rem, 3rem + 5vw, 8rem); font-weight: 300; letter-spacing: -0.06em; line-height: 1; }
.quiz-result .band { display: inline-block; margin: 1rem 0; padding: .4rem .9rem; border-radius: 999px; font-weight: 600; }
.quiz-result ul { margin: 1rem 0 2rem 1.2rem; color: var(--muted); }
.quiz-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 7fr 4fr; gap: 4.5rem; } }
.form-card { background: var(--white); border-radius: var(--r-card); padding: clamp(1.5rem, 4vw, 3rem); }
.form { display: grid; gap: 1.3rem; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .5rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: 1rem; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: .85rem 1rem; border: 1.5px solid transparent; border-radius: var(--r-field);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1.02rem; transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.75rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #B3261E; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: .75rem; }
.choice-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.05rem; border-radius: 999px; background: var(--paper); border: 1.5px solid transparent; font-size: .98rem; cursor: pointer; transition: background-color .15s ease; }
.choice input:checked + span { background: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--violet); outline-offset: 2px; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-note { font-size: .95rem; margin: 0; max-width: 40ch; color: var(--muted); }
.form-status { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.form-status.is-error { color: #B3261E; }
.hp { position: absolute !important; left: -9999px !important; }
.aside-block + .aside-block { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.aside-block .h3 { margin-bottom: .75rem; }
.aside-block p { margin: 0; color: var(--muted); }
.email-link { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 6px; overflow-wrap: anywhere; }
.next-steps { list-style: none; counter-reset: n; display: grid; gap: 1rem; color: var(--muted); }
.next-steps li { counter-increment: n; display: grid; grid-template-columns: 2.25rem 1fr; }
.next-steps li::before { content: counter(n, decimal-leading-zero); font-weight: 600; color: var(--ink); }

/* ---------- Blog ---------- */
.filters { display: grid; gap: 1rem; margin-bottom: 2.25rem; }
.filter-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.filter-btn { min-height: 42px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: inherit; font-size: .95rem; cursor: pointer; }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-count { margin: 0 0 1.5rem; color: var(--muted); }
.post-list li[hidden] { display: none; }
.prose { max-width: 70ch; margin-inline: auto; font-size: 1.15rem; line-height: 1.7; }
.prose h2 { font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.025em; margin: 2.4em 0 .6em; }
.prose h3 { font-weight: 600; font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; margin: 1.8em 0 .5em; }
.prose > p:first-child { font-size: 1.32rem; line-height: 1.55; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--ink); text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose blockquote { margin: 1.5em 0; padding: 1.25rem 1.5rem; border-radius: 18px; background: var(--paper); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--paper); }
.post-meta { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 1rem; color: var(--muted); }
.service-callout { margin-top: 2.5rem; padding: 1.75rem; border-radius: 22px; background: var(--c1); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.service-callout p { margin: 0; font-size: 1.15rem; max-width: 40ch; }

/* ---------- Closing CTA + footer ---------- */
.closing { background: var(--ink); color: var(--white); padding-block: clamp(5rem, 11vw, 9rem) clamp(3rem, 6vw, 5rem); }
.closing-title { font-weight: 300; font-size: clamp(3rem, 1.2rem + 7.5vw, 9rem); line-height: .95; letter-spacing: -0.055em; margin: 0 0 2.5rem; max-width: 11ch; }
.closing-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.closing-row a.mail { color: var(--white); font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); font-weight: 300; letter-spacing: -0.02em; text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 8px; overflow-wrap: anywhere; }
.site-footer { background: var(--ink); color: #BDBDBD; padding-block: 0 2rem; font-size: 1rem; }
.footer-top { display: grid; gap: 2.5rem; padding-block: 3.5rem; border-top: 1px solid rgba(255, 255, 255, .14); }
@media (min-width: 700px) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 3fr repeat(4, 2fr); } }
.footer-brand img { width: 170px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 32ch; margin: 0; }
.footer-col h2 { color: var(--white); font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .55rem; }
.footer-col a { color: #BDBDBD; text-decoration: none; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; }
.footer-bottom p { margin: 0; }

.mt { margin-top: 2.5rem; }
.center-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }

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

/* ---------- Industry switcher (home) ---------- */
.switcher { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .switcher { grid-template-columns: 4fr 8fr; gap: 2.5rem; align-items: start; } }
.switcher-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (min-width: 900px) { .switcher-tabs { flex-direction: column; align-items: stretch; } }
.switcher-tabs button {
  text-align: left; padding: .9rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); background: transparent;
  font: inherit; font-size: 1.05rem; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.switcher-tabs button:hover { border-color: var(--ink); }
.switcher-tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.switcher-panel { border-radius: var(--r-card); padding: clamp(1.75rem, 4vw, 3rem); min-height: 380px; display: flex; flex-direction: column; gap: 1.25rem; }
.switcher-panel[hidden] { display: none; }
.switcher-panel.is-in { animation: panel-in .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.switcher-panel p { margin: 0; max-width: 48ch; font-size: 1.15rem; }
.switcher-panel .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Work ---------- */
.work-grid { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card { display: flex; flex-direction: column; gap: .9rem; height: 100%; min-height: 380px; padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--r-card); text-decoration: none; color: var(--ink); transition: transform .3s ease; }
.work-card:hover { transform: translateY(-5px); }
.work-card .client { font-weight: 600; font-size: 1.05rem; }
.work-card .metric { font-size: clamp(3.5rem, 2.5rem + 3vw, 6rem); font-weight: 300; letter-spacing: -0.06em; line-height: 1; margin-top: auto; }
.work-card .metric-label { font-size: 1.1rem; }
.work-card p { margin: 0; opacity: .8; max-width: 44ch; }
.work-card .pill-link { align-self: flex-start; }
.work-card:hover .pill-link { background: var(--ink); color: var(--white); }
.facts { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); list-style: none; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { background: var(--paper); padding: 1.25rem 1rem 1.25rem 0; }
@media (min-width: 700px) { .facts li { padding: 1.5rem 1.5rem 1.5rem 0; } }
.facts span { display: block; color: var(--muted); font-size: .95rem; }
.facts strong { font-weight: 600; font-size: 1.15rem; }
.result-text { font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.01em; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--white); border-radius: var(--r-card); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.review blockquote { margin: 0; font-size: 1.15rem; line-height: 1.5; }
.review footer { margin-top: auto; font-size: .98rem; color: var(--muted); }
.review footer strong { color: var(--ink); display: block; }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    transform: translateY(140%); transition: transform .35s ease; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  }
  .mobile-cta.is-visible { transform: none; }
  body { padding-bottom: env(safe-area-inset-bottom); }
}
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header.is-hidden { transform: none; }

/* Tablet refinements */
@media (min-width: 700px) and (max-width: 1099px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(60vw, 420px); }
  .reasons--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
.work-card.lilac { background: var(--lilac); } .work-card.aqua { background: var(--aqua); } .work-card.blush { background: var(--blush); } .work-card.butter { background: var(--butter); } .work-card.sage { background: var(--sage); }
/* The header blur creates a containing block for fixed children, so drop it while the mobile menu is open */
.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); transform: none; }
.menu-open .mobile-cta { display: none; }

/* =====================================================================
   PHONE (max 760px)
   Desktop and tablet styles above are locked. Everything in this block
   applies to phones only: calmer type, shorter content, the brand
   pillars and belief quote, and the same colour theme as desktop.
   ===================================================================== */
.m-only, .client-name { display: none; }

@media (max-width: 760px) {
  .m-only { display: block; }

  /* Base */
  :root { --gutter: 20px; --header-h: 64px; --r-card: 22px; }
  body { font-size: 1.0625rem; line-height: 1.7; padding-bottom: env(safe-area-inset-bottom); }
  .brand img { width: 128px; }

  /* Type: light, large headings with a bold close; airy body text */
  p, .lead, .body-lg { font-weight: 300; color: #262626; }
  .lead, .body-lg { font-size: 1.0625rem; line-height: 1.6; }
  .display { font-size: 2.4rem; font-weight: 300; line-height: 1.08; letter-spacing: -0.035em; }
  .h2 { font-size: 1.75rem; font-weight: 300; line-height: 1.15; letter-spacing: -0.03em; }
  .h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
  .statement { font-size: 1.55rem; font-weight: 300; line-height: 1.25; letter-spacing: -0.025em; max-width: none; }
  .display b, .h2 b, .statement b, .closing-title b { font-weight: 600; }
  .btn { min-height: 50px; font-size: 1rem; font-weight: 700; }
  .pill-link { font-size: .95rem; min-height: 42px; padding: .5rem 1rem; }
  .center-actions .pill-link, .closing-row .btn { width: 100%; justify-content: center; }

  /* Sections */
  .section { padding-block: 56px; }
  .section--tight { padding-block: 32px; }
  .section-head { gap: .75rem; margin-bottom: 28px; }
  .split { gap: 20px; }
  .mt { margin-top: 20px; }

  /* Hero */
  .hero { padding-block: 28px 40px; }
  .hero--home { min-height: 0; display: block; }
  .hero-grid { gap: 0; }
  .hero .display { max-width: none; }
  .hero .lead { margin: 16px 0 24px; max-width: none; }
  .hero .btn { width: 100%; }
  .hero-art { display: none; }
  .hero--post .display { font-size: 1.9rem; }
  .page-home .hero { padding-block: 28px 44px; }
  .page-home .hero .display { font-size: 2.9rem; line-height: 1.02; }

  /* Menu: big thin links, small bold sub-links, groups open on tap */
  .site-nav { gap: 1.75rem; padding-top: .75rem; }
  .site-nav > .btn { width: 100%; }
  .nav-list { gap: .15rem; }
  .nav-list a, .nav-list .nav-trigger { font-size: 2.25rem; font-weight: 300; letter-spacing: -0.035em; line-height: 1.35; padding: .1rem 0; border-bottom: 0; }
  .nav-trigger::after { display: inline-block; width: 9px; height: 9px; margin-left: .6rem; transform: translateY(-5px) rotate(45deg); }
  .has-menu.is-open .nav-trigger::after { transform: translateY(0) rotate(-135deg); }
  .submenu { display: none; padding: .25rem 0 .75rem; }
  .has-menu.is-open .submenu { display: block; }
  .submenu a { font-size: 1rem !important; font-weight: 600 !important; padding: .45rem 0; }
  .submenu .sw { width: 10px; height: 10px; }

  /* Service blocks: short cards */
  .blocks { gap: 12px; }
  .blocks--2.mt { margin-top: 12px; }
  .block { min-height: 0 !important; padding: 24px; gap: 10px; border-radius: 22px; }
  .block .h2 { font-size: 1.6rem; }
  .block p { font-size: 1rem; }
  .block .pill-link { margin-top: 8px; }
  a.block:hover { transform: none; }

  /* Client names: still two-column grid of white tiles, set in the site typeface */
  .marquee { mask-image: none; -webkit-mask-image: none; padding-inline: var(--gutter); }
  .marquee-track { animation: none; width: auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .marquee-track li { width: auto; height: 72px; border-radius: 14px; background: var(--white); }
  .section--white .marquee-track li { background: var(--paper); }
  .marquee-track li[aria-hidden="true"], .marquee-track img { display: none; }
  .marquee-track .client-name { display: block; font-size: 1.02rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; text-align: center; padding: 0 10px; color: var(--ink); }

  /* Lists and cards */
  .cards { gap: 10px; }
  .card-body { padding: 20px; }
  .reasons { gap: 10px; }
  .reason { padding: 20px; border-radius: 18px; }
  .reason .h3 { font-size: 1.1rem; }
  .included li { padding: 14px 0; }
  .included .h3 { font-size: 1.05rem; }
  .steps { gap: 10px; }
  .steps li { padding: 20px; border-radius: 18px; display: grid; grid-template-columns: 2.25rem 1fr; }
  .steps li::before { margin: 0; grid-row: span 2; }
  .steps li p { grid-column: 2; }
  .process > li { padding-block: 24px; gap: 8px; }
  .process > li::before { padding-top: 0; }
  .process .h2 { font-size: 1.4rem; }
  .process p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
  .tags { gap: 8px; }
  .tags li { font-size: .95rem; padding: .55rem .95rem; }
  .pills { gap: 8px; }
  .faq summary { font-size: 1.05rem; padding: 18px 0; line-height: 1.35; }
  .block p, .reason p, .card p, .work-card p, .switcher-panel p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Swipe rows instead of wrapped walls of chips */
  .switcher-tabs, .filter-row {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none;
  }
  .switcher-tabs::-webkit-scrollbar, .filter-row::-webkit-scrollbar { display: none; }
  .switcher-tabs button, .filter-btn { flex-shrink: 0; scroll-snap-align: start; white-space: nowrap; }
  .switcher-tabs button { padding: .7rem 1.1rem; font-size: .98rem; }
  .switcher-panel { min-height: 0; padding: 24px; gap: 14px; }
  .switcher-panel .h2 { font-size: 1.6rem; }
  .switcher-panel p { font-size: 1rem; }
  .switcher-panel .btn { width: 100%; }

  /* Case studies */
  .work-grid { gap: 12px; }
  .work-card { min-height: 0; padding: 24px; gap: 8px; }
  .work-card .metric { font-size: 3.25rem; margin-top: 12px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li { padding: 14px 10px 14px 0; }
  .result { padding: 24px; }
  .result .num { font-size: 3rem; }

  /* Blog */
  .prose { font-size: 1.0625rem; }
  .prose > p:first-child { font-size: 1.15rem; }
  .prose h2 { font-size: 1.4rem; }
  .service-callout { padding: 20px; }
  .service-callout .btn, .service-callout .pill-link { width: 100%; justify-content: center; }

  /* Forms and quiz */
  .form-card, .quiz { padding: 22px; }
  .form-actions .btn, .quiz-actions .btn { width: 100%; }
  .quiz-q { font-size: 1.45rem; }
  .quiz-result .score { font-size: 4rem; }

  /* Closing section, footer and booking bar */
  .closing { padding-block: 56px 40px; }
  .closing-title { font-size: 2.6rem; margin-bottom: 24px; }
  .closing-row { flex-direction: column; align-items: stretch; gap: 18px; }
  .closing-row a.mail { font-size: 1.2rem; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; padding-block: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { display: none; }
  .footer-brand img { margin-bottom: 0; }
  .footer-col h2 { font-size: .95rem; }
  .footer-col ul { gap: .5rem; font-size: .95rem; }
  .footer-bottom { flex-direction: column; gap: 6px; padding-bottom: 72px; }
  .mobile-cta { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .35), 0 10px 30px rgba(0, 0, 0, .3); }

  /* Shorter pages: hide repetition that desktop has room for */
  .section-head .body-lg, .section-head p:not(:has(a)),
  .section--tight .split .body-lg,
  .switcher-panel .pills,
  .post-list .card p,
  .included p,
  .process .work-label, .process .work,
  .sec-children,
  .footer-top > .footer-col:nth-child(3) { display: none; }
  .section--tight .split { gap: 0; }
  .cards--3:not(.post-list) > li:nth-child(n+3),
  .reasons--4 > li:nth-child(n+4),
  .included li:nth-child(n+5),
  .process > li:nth-child(n+4),
  .faq details:nth-of-type(n+4),
  .tags li:nth-child(n+7),
  .work-grid > li:nth-child(n+2) { display: none; }

  /* Per page type */
  .page-home .section--tight,
  .page-home .blocks--2,
  .page-home .section:has(.steps),
  .page-home .section:has(.tags),
  .page-home .home-clients,
  .page-service .section:has(.reasons--4),
  .page-service .section:has(.card .meta),
  .page-industry .section:has(.pills),
  .page-location .section:has(.tags),
  .page-location .section:has(.pills),
  .page-case .tags,
  .page-case .section--tight:has(.statement) .h2 { display: none; }
  .page-home .section--ink .split { gap: 16px; }
  .page-home .section--ink .body-lg { display: none; }
  .page-home .section--ink .btn { width: 100%; }
  .page-location .reasons > li:nth-child(n+4) { display: none; }

  /* Home: brand pillars (tap to expand) */
  .pillars { position: relative; padding-block: 8px 40px; }
  .pillars-intro { font-size: 1.15rem; line-height: 1.55; margin: 0 0 20px; }
  .pillar-card { margin-bottom: 12px; border-radius: 22px; background: var(--white); }
  .pillar-card summary { display: grid; grid-template-columns: 1fr 28px; gap: 6px 12px; padding: 22px; cursor: pointer; list-style: none; }
  .pillar-card summary::-webkit-details-marker { display: none; }
  .pillar-card summary::after {
    content: ""; grid-column: 2; grid-row: 1 / span 2; align-self: start; width: 16px; height: 16px; margin-top: 4px;
    background: linear-gradient(var(--ink), var(--ink)) center / 16px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 16px no-repeat;
    transition: transform .25s ease;
  }
  .pillar-card[open] summary::after { transform: rotate(45deg); }
  .pillar-num { grid-column: 1; font-size: .95rem; font-weight: 600; color: var(--muted); }
  .pillar-title { grid-column: 1; font-size: 2rem; font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; }
  .pillar-line { grid-column: 1 / -1; font-size: 1rem; font-weight: 300; color: #262626; line-height: 1.5; }
  .pillar-more { padding: 0 22px 22px; animation: panel-in .35s ease; }
  .pillar-more p { margin: 0 0 14px; font-size: 1rem; }

  /* Home: services title */
  .services-title { display: block; font-size: 2.6rem; font-weight: 300; letter-spacing: -0.04em; line-height: 1; margin: 0 0 22px; }
  .services-title b { font-weight: 600; }
  .services-title span { float: right; font-size: 2rem; font-weight: 300; line-height: 1.3; }
  .page-home .section:has(.services-title) { padding-top: 24px; }

  /* Home: brand belief quote */
  .belief { padding-block: 16px 48px; }
  .belief-panel { border-radius: 26px; padding: 40px 26px 30px; background: var(--white); }
  .belief-quote { margin: 0 0 28px; font-size: 2.3rem; font-weight: 300; line-height: 1.08; letter-spacing: -0.04em; color: var(--ink); }
  .belief-quote b { font-weight: 600; }
}
