/* Winkd: the quiet wall.
   A field of identical grey dots; one cobalt dot stands out. Cobalt is the wink:
   it is the only colour on the page (the smile in the logo, the full stop on every heading, the dot in the field).
   Type: the Winkd logo in Fraunces; Geist light for display, Geist for text, Geist Mono for small labels. */

:root {
  --paper: #F4F4F1;
  --paper-2: #EAEAE6;
  --ink: #111113;
  --ink-2: #3A3B3F;
  --mute: #74767C;
  --line: #D9D9D4;
  --wink: #1238C9;
  --wink-hi: #3D63FF;
  --night: #111113;
  --night-2: #1C1C1F;
  --night-line: #2E2F33;
  --night-mute: #9A9CA3;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --gut: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--wink); color: #fff; }
.dark .dot, .dark :focus-visible { color: var(--wink-hi); outline-color: var(--wink-hi); }
:focus-visible { outline: 2px solid var(--wink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
/* Mono is only for short labels, always in capitals; sentences use .small in the sans */
.mono { font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; font-weight: 400; }
.small { font-family: var(--sans); font-size: 14px; line-height: 1.5; color: var(--mute); }
.dot { color: var(--wink); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }

/* The Winkd logo: "wink", the smile, "d" in Fraunces; the smile flips into a wink */
.mark, .giant { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -.02em; text-decoration: none; line-height: 1; display: inline-flex; align-items: baseline; }
.mark { font-size: 26px; }
.mark svg, .giant svg { width: .95em; height: .45em; margin: 0 .02em; stroke: var(--wink); stroke-width: 3.2; overflow: visible; transform-origin: 50% 45%; }
.giant svg { stroke: var(--wink-hi); }
/* The wink: the i's dot closes like an eyelid while the smile lifts; every few seconds, and on hover */
.mark .i, .giant .i { position: relative; display: inline-block; }
.mark .i::after, .giant .i::after { content: ""; position: absolute; left: 50%; top: var(--dot-top, .16em); width: var(--dot, .19em); height: var(--dot, .19em); margin-left: calc(var(--dot, .19em) / -2); border-radius: 50%; background: currentColor; transform-origin: 50% 60%; }
.wink-now .mark .i::after, .wink-now .giant .i::after, .mark:hover .i::after { animation: eyelid .7s cubic-bezier(.3, 0, .2, 1); }
.wink-now .mark svg, .wink-now .giant svg, .mark:hover svg { animation: cheek .7s cubic-bezier(.3, 0, .2, 1); }
@keyframes eyelid { 0%, 100% { transform: scaleY(1); } 30%, 58% { transform: scaleY(.14) translateY(.06em); border-radius: 40%; } }
@keyframes cheek { 0%, 100% { transform: none; } 30%, 58% { transform: translateY(-.05em) rotate(-5deg) scaleY(1.3); } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s var(--ease); }
.btn::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wink); transition: transform .25s var(--ease); }
.btn:hover::after { transform: scale(1.6); }
.btn:active { transform: translateY(1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.link { font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .3s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* Nav */
.nav-bar { position: fixed; inset: 0 0 auto; z-index: 30; transition: background-color .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.nav-bar.solid { background: rgba(244, 244, 241, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links > a:not(.btn) { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav-links > a:not(.btn):hover { color: var(--ink); }
.nav-links .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.menu-btn { display: none; font: 500 15px/1 var(--sans); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; color: var(--ink); cursor: pointer; }

/* The story: one sticky stage, six chapters */
.story { position: relative; height: 600vh; height: 600svh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.field { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.chap { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: var(--max); padding: 0 var(--gut) clamp(40px, 7vh, 88px); pointer-events: none; }
.chap > * { max-width: 620px; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.chap.is-on { pointer-events: auto; }
.chap.is-on > * { opacity: 1; transform: none; }
.chap.is-on > :nth-child(2) { transition-delay: .05s; }
.chap.is-on > :nth-child(3) { transition-delay: .12s; }
.chap.is-on > :nth-child(4) { transition-delay: .18s; }
.chap.is-on > :nth-child(5) { transition-delay: .24s; }
.display { font-weight: 300; font-size: clamp(40px, 4.7vw, 76px); line-height: 1.02; letter-spacing: -.045em; }
.chap .display { max-width: 13ch; }
.chap[data-chap="0"] .display { max-width: 15ch; }
.lead { margin-top: 24px; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.fact { margin-top: 26px; color: var(--mute); }
.tags { margin-top: 22px; color: var(--mute); }

/* Sections */
.sec { padding: clamp(96px, 13vw, 180px) 0; }
.sec + .sec:not(.dark) { border-top: 1px solid var(--line); }
.dark + .sec { border-top: 0; }
.dark { background: var(--night); color: var(--paper); }
.dark .body, .dark .rows p { color: var(--night-mute); }
.dark .rows li { border-color: var(--night-line); }
.h2 { font-weight: 300; font-size: clamp(36px, 4vw, 64px); line-height: 1.04; letter-spacing: -.04em; max-width: 14ch; }
.body { margin-top: 24px; font-size: 18px; color: var(--ink-2); max-width: 46ch; }
.body + .btn, .body + .link { margin-top: 32px; display: inline-flex; }
.body + .link { display: inline-block; }
.label { color: var(--mute); }
.head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }

/* Work */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 36px); }
.case { text-decoration: none; display: block; }
.frame { border-radius: 14px; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 3; }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case:hover .frame img, .case:hover .frame video { transform: scale(1.025); }
.case-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 22px; }
.case-row h3 { font-weight: 400; font-size: 24px; letter-spacing: -.02em; }
.case-row h3::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-radius: 50%; background: var(--wink); transform: scale(0); transition: transform .3s var(--ease); vertical-align: middle; }
.case:hover .case-row h3::after { transform: scale(1); }
.case-row .mono { color: var(--mute); }
.case-text { margin-top: 8px; color: var(--ink-2); max-width: 48ch; }
.stats { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { font-weight: 300; font-size: clamp(30px, 2.6vw, 40px); letter-spacing: -.04em; line-height: 1.1; }
.stats dt { font: 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.note { margin-top: 40px; color: var(--mute); }

/* Rows (what you get, audit) */
.rows li { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }
.dark .rows li:last-child { border-color: var(--night-line); }
.rows h3 { font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.rows p { color: var(--ink-2); }

/* Quote */
.quote { font-weight: 300; font-size: clamp(26px, 2.9vw, 44px); line-height: 1.22; letter-spacing: -.03em; max-width: 30ch; }
.who { display: flex; gap: 14px; align-items: baseline; margin-top: 36px; }
.who b { font-weight: 500; }
.who .mono { color: var(--mute); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 20px; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink); transition: background-color .25s, border-color .25s; }
.faq details[open] summary::after { background: var(--wink); border-color: var(--wink); }
.faq details p { padding: 0 0 26px; color: var(--ink-2); max-width: 56ch; }

/* Footer */
.foot { padding: clamp(96px, 12vw, 160px) 0 32px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(72px, 9vw, 120px); padding-top: 32px; border-top: 1px solid var(--night-line); }
.foot-cols .label { color: var(--night-mute); margin-bottom: 14px; }
.foot-cols li { margin: 6px 0; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.giant { font-size: clamp(88px, 22vw, 340px); margin: clamp(56px, 7vw, 96px) 0 0; letter-spacing: -.03em; color: var(--paper); }
.legal { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; color: var(--night-mute); }
.legal a { text-decoration: none; }

@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; gap: 64px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { height: 64px; }
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-links.open { display: flex; position: fixed; inset: 0; z-index: 40; background: var(--paper); flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 0 var(--gut); font-size: 30px; font-weight: 300; letter-spacing: -.03em; }
  .nav-links.open .btn { font-size: 16px; min-height: 50px; }
  .menu-btn[aria-expanded="true"] { position: fixed; right: var(--gut); top: 12px; z-index: 45; background: var(--paper); }
  .chap { padding-bottom: 32px; }
  .lead { margin-top: 16px; }
  .ctas { margin-top: 22px; }
  .ctas .btn { flex: 1 1 auto; }
  .fact { margin-top: 18px; }
  .rows li { grid-template-columns: 1fr; gap: 6px; }
  .foot-cols { grid-template-columns: 1fr; }
  .head { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- The dot language, carried through the page ---------- */
/* Dot tiles: the hero's shapes, small, the client's logo at the foot */
.dots { position: relative; display: block; text-decoration: none; background: var(--paper-2); }
.dots canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.dots-logo { position: absolute; left: 7%; bottom: 8%; width: auto !important; height: clamp(22px, 2.6vw, 34px) !important; object-fit: contain !important; transform: none !important; }
.dots-logo--wide { height: clamp(18px, 2vw, 26px) !important; }
.dots-word { position: absolute; left: 7%; bottom: 8%; font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.03em; color: var(--ink); }
.frame.dots { aspect-ratio: 4 / 3; }

/* Dividers are rows of dots, not hairlines */
.sec + .sec:not(.dark) { border-top: 0; background-image: radial-gradient(circle, var(--line) 1.1px, transparent 1.6px); background-size: 10px 10px; background-repeat: repeat-x; background-position: 0 0; }
.rows li, .faq details, .stats { border-top: 0; background-image: radial-gradient(circle, #C4C4BE 1px, transparent 1.5px); background-size: 8px 8px; background-repeat: repeat-x; background-position: 0 0; }
.rows li:last-child, .faq details:last-child { border-bottom: 0; }
.dark .rows li::after { background: var(--wink-hi); }
.dark .rows li { background-image: radial-gradient(circle, var(--night-line) 1px, transparent 1.5px); }
.foot-cols { border-top: 0; background-image: radial-gradient(circle, var(--night-line) 1.1px, transparent 1.6px); background-size: 10px 10px; background-repeat: repeat-x; }

/* Each row carries a small three-dot mark; the cobalt one moves along the list */
.rows h3::before { content: ""; display: block; width: 26px; height: 6px; margin-bottom: 14px;
  background: radial-gradient(circle, currentColor 2.2px, transparent 2.7px) 0 0 / 10px 6px repeat-x; opacity: .28; }
.rows li { position: relative; }
.rows li::after { content: ""; position: absolute; top: 26px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--wink); }
.rows li:nth-child(2)::after { left: 10px; }
.rows li:nth-child(3)::after { left: 20px; }

/* The quote opens on a line of grey dots with one cobalt */
.quote::before { content: ""; display: block; width: 120px; height: 8px; margin-bottom: 36px;
  background: radial-gradient(circle, var(--wink) 3px, transparent 3.5px) 40px 0 / 8px 8px no-repeat, radial-gradient(circle, #C4C4BE 2px, transparent 2.5px) 0 0 / 10px 8px repeat-x; }
@media (max-width: 760px) { .rows li::after { top: 26px; } }

/* ---------- Inner pages: case studies and contact ---------- */
.page-top { padding-top: clamp(128px, 14vw, 180px); }
.inner .sec + .sec:not(.dark) { background-image: radial-gradient(circle, var(--line) 1.1px, transparent 1.6px); background-size: 10px 10px; background-repeat: repeat-x; }
.crumb { color: var(--mute); margin-bottom: 28px; }
.crumb a { text-decoration: none; color: var(--ink-2); }
.crumb a:hover { color: var(--ink); }
.page-h { max-width: 18ch; }
.intro { margin-top: clamp(32px, 4vw, 56px); }
.intro .lead { margin-top: 0; }
.meta { display: grid; gap: 18px; }
.meta div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-top: 18px; background-image: radial-gradient(circle, #C4C4BE 1px, transparent 1.5px); background-size: 8px 8px; background-repeat: repeat-x; }
.meta dt { color: var(--mute); padding-top: 3px; }
.meta dd { color: var(--ink-2); }
.dots--wide { aspect-ratio: 16 / 7 !important; margin-top: clamp(48px, 6vw, 80px); }
.stats--big { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats--grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; padding-top: 28px; }
.dark .stats { background-image: radial-gradient(circle, var(--night-line) 1px, transparent 1.5px); }
.dark .stats dt { color: var(--night-mute); }
.prose .body + .body { margin-top: 18px; }
.prose .body:first-child { margin-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.shot { aspect-ratio: auto; }
.shot--wide { grid-column: span 8; aspect-ratio: 16 / 10; }
.shot--tall { grid-column: span 4; aspect-ratio: 4 / 5; }
.shot--tall img { object-fit: cover; object-position: top; }
.shot img, .shot video { object-position: top; }
.gallery .shot--wide:nth-child(3) { grid-column: span 6; }
.gallery .shot--wide:nth-child(4) { grid-column: span 6; }
.case--next .dots--wide { margin-top: 0; }

/* The client's colours, shown as dots */
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.swatches li { display: grid; gap: 6px; }
.swatches i { width: clamp(56px, 6vw, 84px); aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(17,17,19,.08); margin-bottom: 10px; }
.swatches b { font-weight: 500; }
.swatches .mono { color: var(--mute); }

/* Contact */
.contact { align-items: start; }
.contact-side { position: sticky; top: 112px; }
.contact-side .lead { margin-top: 24px; }
.contact-dots { aspect-ratio: 4 / 3; margin: 36px 0; }
.brief { display: grid; gap: 40px; }
.hp { position: absolute; left: -9999px; }
.sent { padding: 18px 20px; border-radius: 12px; background: var(--ink); color: var(--paper); }
.q { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-h { display: block; font-size: 20px; letter-spacing: -.015em; margin-bottom: 16px; padding: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pair + .pair { margin-top: 14px; }
.f { display: grid; gap: 8px; }
.f span { font: 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.f input, .brief textarea { width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .2s; }
.brief textarea { resize: vertical; min-height: 140px; }
.f input:focus, .brief textarea:focus { outline: none; border-color: var(--wink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; background: transparent; transition: border-color .2s, background-color .2s, color .2s; }
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid #A9AAA4; transition: background-color .2s, border-color .2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:checked + span::before { background: var(--wink-hi); border-color: var(--wink-hi); }
.chip input:focus-visible + span { outline: 2px solid var(--wink); outline-offset: 3px; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.send .mono { color: var(--mute); }

@media (max-width: 1000px) {
  .stats--big { grid-template-columns: repeat(2, 1fr); }
  .stats--grid { grid-template-columns: repeat(2, 1fr); }
  .contact-side { position: static; }
}
@media (max-width: 760px) {
  .dots--wide { aspect-ratio: 4 / 3 !important; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .shot { grid-column: auto !important; }
  .shot--tall { max-width: 70%; }
  .pair { grid-template-columns: 1fr; }
  .meta div { grid-template-columns: 1fr; gap: 4px; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Services, work index, audit, process ---------- */
.top-split { align-items: end; }
.top-split .lead { margin-top: 28px; }
.top-side { display: grid; gap: 20px; justify-items: start; }
.top-side--btn { align-self: end; justify-items: end; }
.top-tile { width: 100%; aspect-ratio: 4 / 3; }

/* Lists marked with dots instead of ticks */
.ticks li { position: relative; padding: 18px 0 18px 30px; font-size: 19px; letter-spacing: -.01em; background-image: radial-gradient(circle, #C4C4BE 1px, transparent 1.5px); background-size: 8px 8px; background-repeat: repeat-x; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 27px; width: 8px; height: 8px; border-radius: 50%; background: var(--wink); }
.ticks--small li { font-size: 16px; padding: 12px 0 12px 24px; }
.ticks--small li::before { top: 19px; width: 6px; height: 6px; }
.rows--plain li { grid-template-columns: 1fr; }
.rows--plain li p { font-size: 19px; color: var(--ink); }
.rows--plain li::after { display: none; }
.big-body { font-size: clamp(20px, 1.7vw, 26px); line-height: 1.45; color: var(--ink); font-weight: 300; letter-spacing: -.015em; margin-top: 0; }
.cta-line { margin-top: 28px; }

/* Related services and the services index */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.cards a, .svc-list a { display: block; text-decoration: none; height: 100%; }
.cards a { padding: 28px; border-radius: 14px; background: var(--paper-2); transition: background-color .25s var(--ease); }
.cards a:hover { background: #E2E2DC; }
.cards h3, .svc-list h3 { font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.cards h3::after, .svc-list h3::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-radius: 50%; background: var(--wink); transform: scale(0); transition: transform .3s var(--ease); vertical-align: middle; }
.cards a:hover h3::after, .svc-list a:hover h3::after { transform: scale(1); }
.cards p, .svc-list p { margin-top: 10px; color: var(--ink-2); }
.svc-list li { background-image: radial-gradient(circle, #C4C4BE 1px, transparent 1.5px); background-size: 8px 8px; background-repeat: repeat-x; }
.svc-list a { padding: 28px 0; }
.job-side .top-tile { margin-top: 32px; max-width: 420px; }
.pager-sec { padding: 56px 0; }
.pager { display: flex; justify-content: space-between; gap: 24px; }
.pager a { display: grid; gap: 6px; text-decoration: none; font-size: 22px; letter-spacing: -.02em; }
.pager a:last-child { text-align: right; }
.pager .mono { color: var(--mute); }
.pager a:hover { color: var(--wink); }

/* Process steps */
.steps { display: grid; }
.step { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); padding: 48px 0; background-image: radial-gradient(circle, #C4C4BE 1px, transparent 1.5px); background-size: 8px 8px; background-repeat: repeat-x; }
.step-n { font-size: clamp(48px, 6vw, 96px); font-family: var(--sans); font-weight: 300; letter-spacing: -.05em; line-height: 1; color: var(--ink); }
.step h3 { font-weight: 400; font-size: 28px; letter-spacing: -.025em; }
.step-line { margin: 10px 0 18px; color: var(--ink-2); font-size: 18px; }
.step-get { margin-top: 18px; color: var(--mute); }

/* Footer with four columns */
.foot-cols--4 { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.foot-brand p { margin-top: 18px; color: var(--night-mute); max-width: 30ch; }
.mark--foot { font-size: 34px; color: var(--paper); }
.mark--foot svg { stroke: var(--wink-hi); }
.nf .top-tile { align-self: center; }

@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 16px; }
  .foot-cols--4 { grid-template-columns: 1fr 1fr; }
  .top-side--btn { justify-items: start; }
}
@media (max-width: 760px) {
  .foot-cols--4 { grid-template-columns: 1fr; }
  .pager a { font-size: 18px; }
  .ticks li { font-size: 17px; }
}

/* ---------- The services section: three jobs ---------- */
.pillars { display: grid; }
.pillar a { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; text-decoration: none; padding: clamp(40px, 5vw, 72px) 0; background-image: radial-gradient(circle, #C4C4BE 1px, transparent 1.5px); background-size: 8px 8px; background-repeat: repeat-x; }
.pillar:first-child a { padding-top: 0; background-image: none; }
.pillar-tile { aspect-ratio: 4 / 3; }
.pillar-quote { margin-top: 18px; font-size: clamp(20px, 1.7vw, 26px); font-weight: 300; letter-spacing: -.02em; color: var(--ink); }
.pillar .body { margin-top: 14px; }
.pillar-svc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; color: var(--ink-2); }
.pillar-svc li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.pillar a:hover .h2 .dot { color: var(--wink-hi); }
.pillar a:hover .pillar-tile { background: #E2E2DC; }

/* What clients say they're seeing, set as quotes */
.symptoms li { padding: 22px 0; background-image: radial-gradient(circle, #C4C4BE 1px, transparent 1.5px); background-size: 8px 8px; background-repeat: repeat-x; }
.symptoms p { font-size: clamp(22px, 2vw, 30px); font-weight: 300; line-height: 1.25; letter-spacing: -.025em; }

/* The services inside a job */
.do-h { margin-bottom: clamp(32px, 4vw, 56px); }
.offer { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); padding: 36px 0; background-image: radial-gradient(circle, #C4C4BE 1px, transparent 1.5px); background-size: 8px 8px; background-repeat: repeat-x; }
.offer h3 { font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.025em; }
.offer p { font-size: 18px; color: var(--ink-2); max-width: 52ch; }
.offer .ticks { margin-top: 12px; }
.offer .link { display: inline-block; margin-top: 18px; }
.ticks--dark li { background-image: radial-gradient(circle, var(--night-line) 1px, transparent 1.5px); color: var(--paper); }
.ticks--dark li::before { background: var(--wink-hi); }
.dark .ticks--dark { margin-top: 24px; }

@media (max-width: 1000px) {
  .pillar a, .offer { grid-template-columns: 1fr; gap: 20px; }
}
.chap .more { display: inline-block; margin-top: 22px; }

/* ---------- Header mega menu: services by job ---------- */
.nav-top { text-decoration: none; color: var(--ink-2); transition: color .2s; display: inline-flex; align-items: center; gap: 7px; }
.nav-top::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--wink); transition: transform .25s var(--ease); }
.has-mega:hover .nav-top, .has-mega:focus-within .nav-top { color: var(--ink); }
.has-mega:hover .nav-top::after, .has-mega:focus-within .nav-top::after { transform: scale(1.6); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); padding: 36px 0 40px;
  background-image: radial-gradient(circle, var(--line) 1.1px, transparent 1.6px); background-size: 10px 10px; background-repeat: repeat-x; background-position: 0 100%;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .25s var(--ease); }
.has-mega::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 0; }
.mega-grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.1fr; gap: 28px; }
.mega-job { display: grid; gap: 6px; text-decoration: none; padding-bottom: 14px; margin-bottom: 10px; background-image: radial-gradient(circle, #C4C4BE 1px, transparent 1.5px); background-size: 8px 8px; background-repeat: repeat-x; background-position: 0 100%; }
.mega-name { font-size: 22px; font-weight: 300; letter-spacing: -.03em; color: var(--ink); }
.mega-line { font-size: 13px; color: var(--mute); line-height: 1.4; }
.mega-job:hover .mega-name .dot { color: var(--wink-hi); }
.mega ul li a { display: block; padding: 6px 0; font-size: 15px; text-decoration: none; color: var(--ink-2); }
.mega ul li a:hover { color: var(--wink); }
.mega-cta { align-self: start; padding: 20px; border-radius: 14px; background: var(--paper-2); }
.mega-cta p { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }
.mega-cta .link { font-size: 15px; }
.nav-bar:has(.has-mega:hover), .nav-bar:has(.has-mega:focus-within) { background: var(--paper); border-color: var(--line); }

@media (max-width: 1000px) { .mega-grid { grid-template-columns: repeat(2, 1fr); } .mega-cta { grid-column: span 2; } }
@media (max-width: 760px) {
  .mega { display: none; }
  .nav-links.open .nav-top { color: var(--ink); font-size: 30px; }
  .nav-links.open .nav-top::after { display: none; }
}
.offer { scroll-margin-top: 96px; }

/* ---------- Service pages ---------- */
.get { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.get li { padding: 28px; border-radius: 14px; background: var(--paper-2); display: grid; align-content: start; gap: 10px; }
.get-n { color: var(--wink); }
.get h3 { font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.get p { color: var(--ink-2); }
.stages { display: grid; }
.stages li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 24px 0; background-image: radial-gradient(circle, #C4C4BE 1px, transparent 1.5px); background-size: 8px 8px; background-repeat: repeat-x; }
.stage-when { color: var(--wink); padding-top: 4px; }
.stages p { font-size: 19px; letter-spacing: -.01em; }
.connects { display: grid; gap: 16px; }
.connects a { display: grid; gap: 8px; padding: 26px 28px; border-radius: 14px; background: var(--paper-2); text-decoration: none; transition: background-color .25s var(--ease); }
.connects a:hover { background: #E2E2DC; }
.connects .mono { color: var(--mute); }
.connects h3 { font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.connects p { color: var(--ink-2); }
@media (max-width: 1000px) { .get { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .get { grid-template-columns: 1fr; } .stages li { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Platform logos ---------- */
.plat-sec { padding: 0 0 clamp(56px, 7vw, 96px); background-image: none !important; }
.plat { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; padding-top: 28px; background-image: radial-gradient(circle, #C4C4BE 1px, transparent 1.5px); background-size: 8px 8px; background-repeat: repeat-x; }
.plat .label { padding-top: 6px; }
.plat-list { display: flex; flex-wrap: wrap; gap: 10px; }
.plat-list li { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: var(--paper-2); font-size: 15px; color: var(--ink-2); transition: background-color .25s var(--ease), color .25s var(--ease); }
.plat-list li:hover { background: #E2E2DC; color: var(--ink); }
.plat-ic { width: 18px; height: 18px; flex: none; }
@media (max-width: 1000px) { .plat { grid-template-columns: 1fr; gap: 16px; } }
.plat-wrap .plat + .plat { margin-top: 20px; }

/* ---------- The free audit pop-up (clean, Tally-like) ---------- */
html.modal-open { overflow: hidden; }
.audit-dialog { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; }
.audit-dialog::backdrop { background: rgba(17, 17, 19, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.audit-dialog[open] { display: grid; place-items: center; }
.audit-panel { position: relative; width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--paper); color: var(--ink); border-radius: 20px; padding: clamp(28px, 4vw, 44px); box-shadow: 0 30px 80px rgba(0, 0, 0, .25); animation: audit-in .35s var(--ease); }
@keyframes audit-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.audit-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper-2); color: var(--ink); font: 300 26px/1 var(--sans); cursor: pointer; transition: background-color .2s; }
.audit-x:hover { background: #E2E2DC; }
.audit-form, .audit-done { display: grid; gap: 18px; }
.audit-h { font-weight: 300; font-size: clamp(28px, 3vw, 38px); line-height: 1.08; letter-spacing: -.035em; margin-top: -6px; }
.audit-lead { color: var(--ink-2); font-size: 16px; }
.af { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.af > span, .af > legend { font-size: 15px; font-weight: 500; padding: 0; margin-bottom: 0; }
.af legend { margin-bottom: 10px; }
.af input { width: 100%; font: 400 17px/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; }
.af input::placeholder { color: #A9AAA4; }
.af input:focus { outline: none; border-color: var(--wink); box-shadow: 0 0 0 4px rgba(18, 56, 201, .12); }
.audit-error { color: #B42318; font-size: 14px; min-height: 1px; }
.audit-error:empty { display: none; }
.audit-send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.audit-send .btn { min-height: 50px; padding: 0 24px; font-size: 16px; }
@media (max-width: 760px) { .audit-panel { border-radius: 18px; } .audit-send .btn { width: 100%; } }
.audit-form[hidden], .audit-done[hidden] { display: none; }
