/* Digicliq Consult v2. One family (Google Sans Flex), a quiet white page, structure from section tags + a 12-col grid. */
:root {
  --bg: #ffffff;
  --soft: #f5f6f5;
  --ink: #0f1011;
  --ink-2: #4b5157;
  --ink-3: #868c92;
  --line: #e7e9e8;
  --teal: #0e7c6b;
  --teal-soft: #d4efe8;
  --mint: #c9f1e3;
  --sky: #d7e5ff;
  --apricot: #ffe0cf;
  --unit: #f94810;

  --font: "Google Sans Flex", "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); font-variation-settings: "opsz" 17; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--mint); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* type: one family, the optical-size axis does the display work */
h1, h2, h3, .big { font-family: var(--font); margin: 0; font-weight: 450; }
h1 { font-size: clamp(42px, 6.2vw, 88px); line-height: 1.02; letter-spacing: -0.04em; font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.06; letter-spacing: -0.035em; font-variation-settings: "opsz" 120; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 500; font-variation-settings: "opsz" 32; }
.big { font-size: clamp(26px, 2.7vw, 38px); line-height: 1.22; letter-spacing: -0.025em; font-variation-settings: "opsz" 72; }
.big .dim { color: var(--ink-3); }
p { margin: 0; }
h1, h2, .lede, .big { text-wrap: balance; }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-3); }
.todo { background: #fff3b0; padding: 0 4px; border-radius: 4px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px 0; transition: background .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(255,255,255,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 550; letter-spacing: -0.03em; }
.brand img { height: 38px; width: auto; flex: none; }
.foot .brand img { height: 38px; }
.brand i { font-style: normal; font-weight: 400; color: var(--ink-3); padding-left: 12px; border-left: 1px solid var(--line); line-height: 1.1; }
.foot .brand i { color: #8b9197; border-color: #2c2f33; }
.links { display: flex; gap: 2px; padding: 4px; background: rgba(255,255,255,.8); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 6px 24px rgba(15,16,17,.04); }
.links a { text-decoration: none; padding: 7px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.links a:hover { color: var(--ink); background: var(--soft); }
.links a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-end { justify-self: end; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font: 500 15px/1 var(--font); text-decoration: none; cursor: pointer; border: 0; transition: transform .15s ease, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2a2c2f; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.btn-unit { background: var(--unit); color: #fff; }
.btn-unit:hover { background: #e23f0b; }
.btn svg { width: 15px; height: 15px; }

/* ---------- section tags (the left column label) ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-self: start; position: sticky; top: 84px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--soft); font-size: 14px; color: var(--ink); white-space: nowrap; }
.tag.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

/* a row = tags on the left (3 cols), content on the right (9 cols) */
.row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.row > .tags { grid-column: 1 / span 3; }
.row > .main { grid-column: 4 / -1; min-width: 0; }
.band { padding: clamp(72px, 9vw, 128px) 0; }
.band.soft { background: var(--soft); }
.band.soft .tag { background: #fff; }

/* ---------- hero: centred, on the click field ---------- */
.hero { position: relative; overflow: hidden; margin-top: -64px; padding: 180px 0 140px; min-height: min(94vh, 920px); display: flex; align-items: center; text-align: center; }
.hero .wrap { position: relative; z-index: 2; display: grid; justify-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 26px; }
.hero .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.hero .status { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); text-decoration: none; }
.hero .status i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft); }
.hero.short { min-height: 0; padding: 168px 0 88px; }
.aura { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(36% 44% at 10% 20%, var(--mint) 0%, transparent 70%),
    radial-gradient(34% 44% at 90% 14%, var(--sky) 0%, transparent 70%),
    radial-gradient(32% 40% at 70% 92%, var(--apricot) 0%, transparent 72%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hint { position: absolute; left: 50%; transform: translateX(-50%); bottom: 26px; z-index: 2; font-size: 13px; color: var(--ink-3); pointer-events: none; }
.ghost-cursor { position: absolute; left: 0; top: 0; z-index: 3; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.ghost-cursor svg { width: 22px; height: 22px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }

/* ---------- clients strip ---------- */
.clients { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients .tags { grid-column: 1 / span 2; position: static; }
.marquee { grid-column: 3 / -1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .track { display: flex; gap: 56px; width: max-content; animation: slide 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .track { gap: 0; align-items: center; }
.marquee .half { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: calc(var(--h) * 1px); width: auto; filter: grayscale(1) brightness(.72) contrast(1.35); opacity: .62; transition: filter .3s, opacity .3s; }
.logo:hover img, .client-grid > div:hover img { filter: none; opacity: 1; }
.logo-word { font-size: 21px; font-weight: 650; letter-spacing: -0.03em; color: #8a9096; white-space: nowrap; transition: color .3s; }
.logo:hover .logo-word, .client-grid > div:hover .logo-word { color: var(--ink); }
.logo-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-3); }
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.client-grid > div { background: #fff; border-radius: var(--r-m); height: 150px; display: grid; place-items: center; padding: 20px; }
.client-grid .logo img { max-width: 100%; }
.client-grid .next { border-radius: var(--r-m); height: 150px; display: grid; align-content: center; justify-items: center; gap: 4px; padding: 20px; text-align: center; text-decoration: none; border: 1px dashed #cfd4d2; color: var(--ink-2); transition: background .2s, color .2s; }
.client-grid .next span { color: var(--ink); font-weight: 500; }
.client-grid .next:hover { background: var(--ink); color: #b6bcc2; border-color: var(--ink); }
.client-grid .next:hover span { color: #fff; }
@media (max-width: 760px) { .client-grid .next { height: 110px; } }
@media (max-width: 760px) { .client-grid { grid-template-columns: 1fr 1fr; } .client-grid > div { height: 110px; } }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { position: relative; background: var(--soft); border-radius: var(--r-m); padding: 22px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; overflow: hidden; transition: background .25s, color .25s; }
.band.soft .tile { background: #fff; }
.tile .ico { width: 30px; height: 30px; color: var(--ink); transition: transform .4s cubic-bezier(.3,1.4,.5,1), color .25s; }
.tile h3 { font-size: 19px; }
.tile p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin-top: 6px; max-height: 0; opacity: 0; transition: max-height .35s ease, opacity .25s; }
.band .tile:hover, .band .tile:focus-visible { background: var(--ink); color: #fff; }
.tile:hover p, .tile:focus-visible p { color: #b6bcc2; max-height: 120px; opacity: 1; }
.tile:hover .ico, .tile:focus-visible .ico { color: var(--mint); transform: rotate(-12deg) scale(1.08); }
.intro { margin-bottom: 40px; display: grid; gap: 16px; max-width: 46em; }

/* services page: detail list */
.svc { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc .name { grid-column: 1 / span 4; display: flex; gap: 14px; align-items: flex-start; }
.svc .name h3 { padding-top: 1px; }
.svc .name .ico { width: 28px; height: 28px; flex: none; margin-top: calc((1.25em - 28px) / 2 + 2px); }
.svc .name h3 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.025em; font-weight: 450; font-variation-settings: "opsz" 72; }
.svc .desc { grid-column: 5 / span 4; color: var(--ink-2); }
.svc .ticks { grid-column: 9 / -1; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 16px; }
.ticks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%230e7c6b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- Unit (a black media card, like a case study) ---------- */
.unit { background: var(--ink); color: #fff; border-radius: var(--r-l); overflow: hidden; display: grid; grid-template-columns: 5fr 7fr; }
.unit > * { min-width: 0; }
.unit .copy { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 20px; }
.unit .copy .unit-logo { width: 112px; height: auto; }
.unit .copy h2 { font-size: clamp(30px, 3vw, 44px); }
.unit .copy p { color: #b6bcc2; }
.unit .copy .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.unit .copy .btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #3a3f44; }
.unit .film { background: #f0eeea; display: flex; align-items: center; }
.unit .film video { width: 100%; height: auto; }
.made-by { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #b6bcc2; }
.made-by img { height: 20px; width: auto; }
.caption { display: flex; gap: 8px; margin-top: 12px; font-size: 14px; }
.caption span:last-child { color: var(--ink-3); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.features div { background: var(--soft); border-radius: var(--r-m); padding: 24px; display: grid; gap: 6px; align-content: start; }
.features p { color: var(--ink-2); font-size: 15px; }

/* ---------- approach (a real sequence, so numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: step; }
.step { background: #fff; border-radius: var(--r-m); padding: 24px; counter-increment: step; display: grid; gap: 8px; align-content: start; min-height: 220px; }
.band:not(.soft) .step { background: var(--soft); }
.step::before { content: counter(step); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; font-size: 14px; margin-bottom: 28px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 6px; }
.faq details { background: var(--soft); border-radius: var(--r-s); }
.band.soft .faq details { background: #fff; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 14px; height: 14px; flex: none; transition: transform .3s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); max-width: 46em; }

/* ---------- people / network ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); }
.split > * { min-width: 0; }
.prose { display: grid; gap: 16px; color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 550; }
.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 1px solid var(--ink); margin: 0; }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; gap: 16px; }
.facts dt { color: var(--ink-3); font-size: 15px; }
.facts dd { margin: 0; }

/* ---------- closing ---------- */
.closing { position: relative; overflow: hidden; text-align: center; padding: clamp(96px, 12vw, 170px) 0; }
.closing .aura { opacity: .75; }
.closing .wrap { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; }
.closing h2 { font-size: clamp(38px, 5vw, 72px); max-width: 14ch; }
.closing .lede { text-align: center; }
.closing .muted { font-size: 14px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.contact-card { background: var(--soft); border-radius: var(--r-m); padding: 26px; display: grid; gap: 8px; align-content: start; min-height: 160px; text-decoration: none; transition: background .2s, color .2s; }
a.contact-card:hover { background: var(--ink); color: #fff; }
.contact-card .k { color: var(--ink-3); font-size: 14px; }
.contact-card .v { font-size: 22px; letter-spacing: -0.02em; word-break: break-word; }
.legal { max-width: 720px; display: grid; gap: 16px; color: var(--ink-2); }
.legal h2 { font-size: 26px; color: var(--ink); margin-top: 20px; }

/* ---------- footer ---------- */
footer { background: var(--ink); color: #fff; padding: 72px 0 36px; overflow: hidden; }
.foot { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, max-content); column-gap: clamp(32px, 4.5vw, 72px); row-gap: 40px; }
.foot .about { grid-column: auto; max-width: 360px; }
.foot .about p { color: #9aa1a8; max-width: 26em; margin-top: 16px; font-size: 15px; }
.foot .col { grid-column: auto; min-width: 0; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.foot h4 { font: 400 14px/1.4 var(--font); color: #7d848b; margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot a { text-decoration: none; color: #dfe3e6; }
.foot a:hover { color: #fff; }
.legalline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 22px; border-top: 1px solid #25282b; font-size: 13px; color: #7d848b; }
.legalline .todo, .foot .todo { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile p { max-height: none; opacity: 1; }
  .tile { min-height: 172px; }
  .foot { grid-template-columns: repeat(4, max-content); }
  .foot .about { grid-column: 1 / -1; max-width: 520px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .unit { grid-template-columns: 1fr; }
  .unit .film { order: -1; }
  .svc .name { grid-column: 1 / -1; margin-bottom: 14px; }
  .svc .desc { grid-column: 1 / span 6; }
  .svc .ticks { grid-column: 7 / -1; }
}
@media (max-width: 860px) {
  .row > .tags, .row > .main, .clients .tags, .marquee { grid-column: 1 / -1; }
  .row > .tags { position: static; margin-bottom: 28px; }
  .clients .tags { margin-bottom: 18px; }
  .split, .facts { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot .about { grid-column: 1 / -1; max-width: 520px; }
  .foot .col { grid-column: auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav .wrap { grid-template-columns: 1fr auto; }
  .hero { padding: 140px 0 96px; min-height: 0; }
  .hero.short { padding: 136px 0 56px; }
  .tiles, .steps, .features { grid-template-columns: 1fr; }
  .tile { min-height: 0; gap: 28px; }
  .step { min-height: 0; }
  .svc .desc, .svc .ticks { grid-column: 1 / -1; }
  .svc .desc { margin-bottom: 18px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .foot { grid-template-columns: 1fr 1fr; row-gap: 32px; column-gap: 16px; }
  .foot .col { grid-column: auto; }
  footer { padding-top: 56px; }
  .legalline { flex-direction: column; margin-top: 44px; }
  .band { padding: 64px 0; }
  .tile { display: grid; grid-template-columns: 30px 1fr; align-items: start; column-gap: 16px; padding: 18px; min-height: 0; }
  .tile .ico { width: 26px; height: 26px; margin-top: 1px; }
  .tile p { margin-top: 2px; }
  .tiles { gap: 6px; }
  .step { grid-template-columns: 30px 1fr; column-gap: 14px; row-gap: 4px; padding: 20px; }
  .step::before { grid-row: span 2; margin: 0; }
  .step h3, .step p { grid-column: 2; }
  .features div { padding: 20px; }
  .unit .copy { gap: 16px; }
  .contact-card { min-height: 0; padding: 22px; }
  .contact-card .v { font-size: 19px; }
  .row > .tags { margin-bottom: 22px; }
  .intro { margin-bottom: 28px; }
  .faq summary { padding: 16px 18px; }
  .faq details p { padding: 0 18px 18px; font-size: 15px; }
  .big { font-size: 22px; line-height: 1.3; }
  .clients { padding: 28px 0; }
  .marquee .half { gap: 40px; padding-right: 40px; }
  .marquee .logo img { height: calc(var(--h) * .78px); }
  .client-grid .logo img { height: calc(var(--h) * .62px); }
  .client-grid .logo { gap: 6px; }
  .logo-name { font-size: 16px; }
  .client-grid > div { padding: 14px; }
  .socials .btn { flex: 1 1 calc(50% - 4px); justify-content: center; }
}
@media (hover: none) { .hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (min-width: 560px) and (max-width: 760px) {
  .tiles, .features, .steps, .contact-grid { grid-template-columns: 1fr 1fr; }
}
/* Unit card on wide screens: film on top, copy in two columns underneath */
@media (min-width: 1081px) {
  .unit { grid-template-columns: 1fr; }
  .unit .film { order: -1; }
  .unit .copy { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 18px; align-items: start; }
  .unit .copy .unit-logo { grid-column: 1; grid-row: 1; }
  .unit .copy h2 { grid-column: 1; grid-row: 2 / span 3; max-width: 12ch; }
  .unit .copy p { grid-column: 2; grid-row: 1 / span 2; }
  .unit .copy .made-by { grid-column: 2; grid-row: 3; }
  .unit .copy .ctas { grid-column: 2; grid-row: 4; margin-top: 0; padding-top: 4px; }
}
@media (max-width: 1080px) {
  .client-grid .logo img { height: calc(var(--h) * .62px); }
  .client-grid .logo { gap: 6px; }
  .client-grid .logo-name { font-size: 16px; }
}

@media (max-width: 1080px) { .client-grid .logo-word { font-size: 17px; } }
@media (max-width: 760px) { .logo-word { font-size: 17px; } }

/* ---------- headers v3: inset rounded cards (after twoplusone.co) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stage { padding-top: 8px; }
.hcard, .pcard { position: relative; overflow: hidden; border-radius: 28px; isolation: isolate; }
.hcard canvas, .pcard canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hcard .aura, .pcard .aura { z-index: 0; }

.hcard { background: #0f1011; color: #fff; min-height: min(calc(100svh - 168px), 860px); padding: clamp(22px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hcard .aura { background:
    radial-gradient(40% 50% at 8% 6%, rgba(14,124,107,.55) 0%, transparent 70%),
    radial-gradient(36% 46% at 96% 30%, rgba(76,104,255,.30) 0%, transparent 70%),
    radial-gradient(34% 40% at 60% 108%, rgba(255,150,100,.22) 0%, transparent 72%); }
.hcard .rows { position: relative; z-index: 2; pointer-events: none; }
.hcard .r { position: relative; display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding: clamp(6px, 1.2vw, 16px) 0; font-size: clamp(60px, min(11.2vw, 15svh), 168px); font-weight: 500; line-height: .92; letter-spacing: -0.042em; font-variation-settings: "opsz" 144; }
.hcard .r > span { padding-bottom: .06em; white-space: nowrap; }
.hcard .hello { color: #9ff0d4; }
.hcard .side { font-size: clamp(16px, 1.45vw, 21px); line-height: 1.4; letter-spacing: -0.01em; font-weight: 400; color: rgba(255,255,255,.82); max-width: 25em; font-variation-settings: "opsz" 20; }
.hcard .brandrow { height: 1.02em; width: auto; margin: .05em 0 .02em; }
.hcard .corners { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: rgba(255,255,255,.7); }
.hcard .corners a { color: rgba(255,255,255,.9); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); padding: 12px 0 2px; margin: -12px 0 -2px; }
.hcard .corners a:hover { color: #fff; border-color: #fff; }
.hcard .hint { color: rgba(255,255,255,.45); bottom: clamp(22px, 3.4vw, 48px); }

.ctabar { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 10px; }
.ctabar .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 28px; min-height: 64px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 17px; color: var(--ink); transition: border-color .2s, background .2s; }
.ctabar .bar:hover { border-color: var(--ink-3); background: var(--soft); }
.ctabar .plus { color: var(--teal); font-size: 22px; letter-spacing: .2em; font-weight: 300; }
.btn-xl { min-height: 64px; padding: 0 34px; font-size: 17px; }

/* inner pages: a lighter card, big title on a hairline with the intro beside it */
.pcard { background: var(--soft); padding: clamp(72px, min(14vw, 24svh), 200px) clamp(22px, 3.4vw, 48px) clamp(26px, 3.4vw, 48px); }
.pcard .aura { opacity: .9; }
.pcard .prow { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; border-top: 1px solid rgba(15,16,17,.14); padding-top: 22px; pointer-events: none; }
.pcard h1 { font-size: clamp(48px, 7vw, 108px); letter-spacing: -0.055em; line-height: .95; max-width: none; }
.pcard .lede { margin: 0; text-align: left; max-width: 30em; }

@media (max-width: 640px) {
  .hcard .r2 { flex-direction: column; align-items: flex-start; gap: 14px; padding-bottom: 18px; }
}
@media (max-width: 860px) {
  .pcard .prow { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 760px) {
  .hcard { min-height: 0; gap: 28px; border-radius: 22px; padding-top: 28px; }
  .hcard .r { font-size: clamp(52px, 17vw, 84px); }
  .hcard .corners { flex-direction: column; gap: 14px; font-size: 13px; }
  .hcard .corners a { padding: 10px 0 2px; margin: -10px 0 -2px; }
  .pcard { border-radius: 22px; padding-top: clamp(64px, 14svh, 96px); }
  .ctabar { grid-template-columns: 1fr; }
  .ctabar .bar { min-height: 56px; padding: 0 22px; font-size: 15px; }
  .btn-xl { min-height: 56px; justify-content: center; }
  .ctabar .plus, .hcard .hint, .pcard .hint { display: none; }
  .hcard .corners a { align-self: flex-start; }
}

/* ---------- navbar v2: sliding hover pill + full-screen mobile menu ---------- */
.links { position: relative; }
.links a { position: relative; z-index: 1; }
.links .ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--soft); opacity: 0; transition: transform .35s cubic-bezier(.3,.9,.3,1), width .35s cubic-bezier(.3,.9,.3,1), opacity .2s; }
.links a:hover { background: transparent; }
.links a[aria-current="page"]:hover { background: var(--ink); }
.brand .logo-w { display: none; }

.menu-btn { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: background .3s, border-color .3s; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.8px; border-radius: 2px; background: var(--ink); transition: transform .45s cubic-bezier(.6,0,.2,1), top .45s cubic-bezier(.6,0,.2,1), background .3s; }
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 27px; }

.mnav { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: #fff; overflow-y: auto; visibility: hidden;
  clip-path: circle(0 at var(--mx, calc(100% - 40px)) var(--my, 36px)); transition: clip-path .7s cubic-bezier(.7,0,.2,1), visibility 0s linear .7s; }
.mnav::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(60% 40% at 0% 0%, rgba(14,124,107,.45), transparent 70%),
  radial-gradient(50% 40% at 100% 100%, rgba(76,104,255,.25), transparent 70%); }
.mnav:focus { outline: none; }
.mnav-in { position: relative; min-height: 100%; display: flex; flex-direction: column; gap: 28px; padding: 104px var(--gutter) 32px; }
.mlinks { display: grid; border-top: 1px solid rgba(255,255,255,.14); }
.mlinks a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); text-decoration: none; color: #fff; font-size: clamp(40px, 11vw, 64px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; font-variation-settings: "opsz" 144; }
.mlinks a::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: transparent; border: 1.5px solid rgba(255,255,255,.35); transition: background .2s, border-color .2s; }
.mlinks a[aria-current="page"] { color: #9ff0d4; }
.mlinks a[aria-current="page"]::after { background: #9ff0d4; border-color: #9ff0d4; }
.mlinks a:active { color: #9ff0d4; }
.btn-mint { background: #9ff0d4; color: var(--ink); justify-content: center; min-height: 56px; font-size: 16px; }
.minfo { display: grid; gap: 6px; font-size: 16px; color: rgba(255,255,255,.72); }
.minfo a { color: #fff; text-decoration: none; }
.msocial { display: flex; gap: 10px; }
.msocial a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: #fff; transition: background .2s, color .2s; }
.msocial a:hover, .msocial a:active { background: #fff; color: var(--ink); }
.msocial svg { width: 20px; height: 20px; }
.munit { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.6); text-decoration: none; }
.munit svg { width: 14px; height: 14px; }

/* staggered entrance of the menu contents */
.mlinks a, .mcta, .minfo, .msocial, .munit { opacity: 0; transform: translateY(18px); transition: opacity .3s, transform .3s; }

/* open state */
body.menu-open { overflow: hidden; }
body.menu-open .mnav { visibility: visible; clip-path: circle(150% at var(--mx, calc(100% - 40px)) var(--my, 36px)); transition: clip-path .75s cubic-bezier(.7,0,.2,1); }
body.menu-open .mlinks a, body.menu-open .mcta, body.menu-open .minfo, body.menu-open .msocial, body.menu-open .munit { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: calc(.28s + var(--i, 0) * .05s); }
body.menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; z-index: 100; }
body.menu-open .brand .logo-b { display: none; }
body.menu-open .brand .logo-w { display: block; }
body.menu-open .brand i { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.2); }
body.menu-open .menu-btn { background: transparent; border-color: rgba(255,255,255,.3); }
body.menu-open .menu-btn span { background: #fff; }
body.menu-open .menu-btn span:first-child { top: 23px; transform: rotate(45deg); }
body.menu-open .menu-btn span:last-child { top: 23px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .links, .nav-end .btn { display: none; }
  .nav .wrap { grid-template-columns: 1fr auto; }
  .menu-btn { display: block; }
}
@media (min-width: 861px) { .mnav { display: none; } }
@media (min-width: 560px) and (max-width: 860px) { .mlinks a { font-size: 64px; } .mnav-in { max-width: 640px; } }
@media (prefers-reduced-motion: reduce) { .mnav, body.menu-open .mnav { transition: none !important; } }

/* ---------- motion ---------- */
.hcard { transform-origin: 50% 0; will-change: transform; }
.hcard .rows { will-change: transform, opacity; }
.hcard .r::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.18); transform-origin: 0 50%; }
.hcard .r { overflow: hidden; }

/* rotating word */
.hcard .rot { display: inline-grid; padding-bottom: .06em; overflow: hidden; }
.hcard .rot .word { grid-area: 1 / 1; white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform .75s cubic-bezier(.7,0,.2,1), opacity .5s; }
.hcard .rot .word.is-on { transform: none; opacity: 1; }
.hcard .rot .word.was { transform: translateY(-105%); opacity: 0; }

/* load: hero rows rise out of their lines, then the lines draw across */
@keyframes rise { from { transform: translateY(110%); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes draw { from { transform: scaleX(0); } }
.js .hcard .r > span, .js .hcard .r > .rot { animation: rise 1.1s cubic-bezier(.2,.8,.2,1) both; }
.js .hcard .r:nth-child(1) > * { animation-delay: .1s; }
.js .hcard .r:nth-child(2) > span { animation-delay: .22s; }
.js .hcard .r:nth-child(3) > * { animation-delay: .34s; }
.js .hcard .side { animation: fade-up .9s cubic-bezier(.2,.8,.2,1) .55s both; }
.js .hcard .r::after { animation: draw 1.2s cubic-bezier(.7,0,.2,1) both; }
.js .hcard .r:nth-child(1)::after { animation-delay: .25s; }
.js .hcard .r:nth-child(2)::after { animation-delay: .37s; }
.js .hcard .r:nth-child(3)::after { animation-delay: .49s; }
.js .hcard .corners, .js .ctabar { animation: fade-up .9s cubic-bezier(.2,.8,.2,1) .7s both; }
.js .pcard .prow { animation: fade-up .9s cubic-bezier(.2,.8,.2,1) .05s both; }
.js .pcard .prow { border-top-color: transparent; }
.js .pcard .prow::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: rgba(15,16,17,.14); transform-origin: 0 50%; animation: draw 1.2s cubic-bezier(.7,0,.2,1) .1s both; }

/* scroll reveals (hidden only while JS is running) */
.js .tiles > .tile, .js .steps > .step, .js .features > div, .js .client-grid > div, .js .svc, .js .faq details,
.js .contact-grid > *, .js .facts > div, .js .socials > *, .js .split .prose > *, .js .intro .lede, .js .row > .tags, .js .caption, .js .clients .marquee {
  opacity: 0; transform: translateY(26px); transition: opacity .7s ease var(--d, 0s), transform .9s cubic-bezier(.2,.8,.2,1) var(--d, 0s), background .25s, color .25s; }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .row > .tags.in { transform: none; }

/* headings: each word rises out of its own mask */
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wm > span { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2,.8,.2,1) calc(var(--k) * .045s); }
.in .wm > span { transform: none; }

/* paragraph that lights up word by word */
.big.lit-ready .lw { color: rgba(15,16,17,.18); transition: color .35s; }
.big.lit-ready .lw.on { color: var(--ink); }
.big.lit-ready .dim .lw.on { color: var(--ink-3); }

/* Unit card grows into place */
.unit { transform-origin: 50% 100%; will-change: transform; }

/* page-to-page transitions (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: vt-in .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  .js .tiles > .tile, .js .steps > .step, .js .features > div, .js .client-grid > div, .js .svc, .js .faq details,
  .js .contact-grid > *, .js .facts > div, .js .socials > *, .js .split .prose > *, .js .intro .lede, .js .row > .tags, .js .caption, .js .clients .marquee { opacity: 1; transform: none; }
  .wm > span { transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
/* menu: solid header while open so scrolled links never run under the logo */
body.menu-open .nav { background: var(--ink); transition: background 0s linear .35s; }
.mlinks a { font-size: clamp(34px, min(11vw, 9.5svh), 64px); }
/* short landscape phones: links left, contact details right */
@media (orientation: landscape) and (max-height: 560px) and (max-width: 960px) {
  .mnav-in { display: grid; grid-template-columns: 1.25fr 1fr; column-gap: 40px; row-gap: 18px; align-content: start; padding-top: 84px; max-width: none; }
  .mlinks { grid-column: 1; grid-row: 1 / span 5; align-self: start; }
  .mlinks a { font-size: clamp(30px, 9svh, 44px); padding: 6px 0; }
  .mcta, .minfo, .msocial, .munit { grid-column: 2; }
  .munit { margin-top: 0; }
}

/* ---------- contact form ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 8px; align-items: start; }
.contact-side { display: grid; gap: 8px; position: sticky; top: 84px; }
.contact-side .contact-card { min-height: 0; }
.socials.icons { margin-top: 0; gap: 8px; }
.socials.icons a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: background .2s, color .2s, border-color .2s; flex: none; }
.socials.icons a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.socials.icons svg { width: 20px; height: 20px; }

.cform { background: var(--soft); border-radius: var(--r-l); padding: clamp(22px, 3.4vw, 44px); }
.cform-in { display: grid; gap: 22px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 500; }
.field em { font-style: normal; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input, .field textarea { width: 100%; font: 400 16px/1.45 var(--font); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: #a3a9ae; }
.field input:hover, .field textarea:hover { border-color: #cfd4d2; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15,16,17,.06); }
.field small { min-height: 0; font-size: 13px; color: #b3261e; }
.field small:empty { display: none; }
.field.bad input, .field.bad textarea { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179,38,30,.08); }

.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 14px; font-weight: 500; padding: 0; margin-bottom: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.chip span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ink-3); transition: background .2s, border-color .2s; }
.chip:hover span { border-color: #cfd4d2; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:checked + span::before { background: #9ff0d4; border-color: #9ff0d4; }
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.chip:active span { transform: scale(.97); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fsubmit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fsubmit .muted { font-size: 13px; max-width: 30em; }
.fsubmit .btn { position: relative; }
.fsubmit .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin .7s linear infinite; }
.cform.sending .fsubmit .spin { display: inline-block; }
.cform.sending .fsubmit .btn { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.ferr { background: #fdecea; color: #8c1d18; border-radius: 12px; padding: 12px 16px; font-size: 15px; }

.fdone { display: grid; justify-items: start; gap: 16px; padding: clamp(8px, 2vw, 24px) 0; }
.fdone:focus { outline: none; }
.fdone h2 { font-size: clamp(34px, 4vw, 52px); }
.fdone .lede { margin: 0; }
.tick svg { width: 56px; height: 56px; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tick circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: dash .7s cubic-bezier(.6,0,.2,1) forwards; }
.tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: dash .45s cubic-bezier(.6,0,.2,1) .5s forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.cform.done .cform-in { display: none; }

@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-side { position: static; grid-template-columns: 1fr 1fr; }
  .contact-side .socials { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .fgrid { grid-template-columns: 1fr; }
  .contact-side { grid-template-columns: 1fr; }
  .fsubmit .btn { width: 100%; justify-content: center; }
  .cform { border-radius: 22px; }
}
.fdone[hidden], .ferr[hidden] { display: none; }

/* ---------- cookie prompt ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 80; width: min(380px, calc(100vw - 32px)); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 16px; box-shadow: 0 24px 60px rgba(15,16,17,.16), 0 2px 6px rgba(15,16,17,.06); display: grid; gap: 8px; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.cookie.show { opacity: 1; transform: none; }
.cookie-t { font-weight: 600; font-size: 15px; }
.cookie-d { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cookie-d a { color: var(--ink); }
.cookie-b { display: flex; gap: 8px; margin-top: 6px; }
.cookie-b .btn { flex: 1; justify-content: center; padding: 11px 16px; font-size: 14px; }
body.menu-open .cookie { visibility: hidden; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #dfe3e6; cursor: pointer; text-align: left; }
.linkbtn:hover { color: #fff; }
@media (max-width: 640px) { .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .cookie { transition: none; } }
