/* synqglobal.com, version 5. A site, not a landing page: a short Home and pages of their own.
   The ground follows the playbook spectrum: each section names its ground, and as the reader scrolls
   the page background moves to it. Each page has its own ground too.
   Layout: mobile-first single column; a 12-column field from 1000px. Spacing on a 4pt scale. */
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../fonts/cabinet-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("../fonts/switzer-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("../fonts/zodiak-600i.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@view-transition { navigation: auto; }

:root {
  --red: #E63329; --ink: #0B0B0B; --off: #F2F2F0; --stone: #E3DDD3; --ice: #DCE2F4; --navy: #18204A; --blue: #3850E5;
  --display: "Cabinet Grotesk", "Helvetica Neue", Arial, sans-serif; --emph: "Zodiak", Georgia, serif; --body: "Switzer", "Helvetica Neue", Arial, sans-serif;
  --gl: calc(max(20px, env(safe-area-inset-left, 0px)) + clamp(0px, 3vw, 36px));
  --gr: calc(max(20px, env(safe-area-inset-right, 0px)) + clamp(0px, 3vw, 36px));
  --sec: clamp(96px, 11vw, 176px);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  /* the live ground; JS moves these as sections come into view */
  --bg: var(--off); --fg: #141413; --muted: #4A4945; --line: rgba(20, 20, 19, 0.16); --accent: var(--blue);
  color-scheme: light;
}
/* Grounds. Each sets the colours of everything on it. */
:is(:root:not(.scroll-ground) :is([data-ground="ink"], .ground-ink), .scroll-ground body[data-ground="ink"]) { --bg: #0B0B0B; --fg: #F2F2F0; --muted: #B4B3AD; --line: rgba(242, 242, 240, 0.16); --accent: #8E9DFF; }
:is(:root:not(.scroll-ground) :is([data-ground="off"], .ground-off), .scroll-ground body[data-ground="off"]) { --bg: #F2F2F0; --fg: #141413; --muted: #4A4945; --line: rgba(20, 20, 19, 0.16); --accent: #3850E5; }
:is(:root:not(.scroll-ground) :is([data-ground="stone"], .ground-stone), .scroll-ground body[data-ground="stone"]) { --bg: #E3DDD3; --fg: #141413; --muted: #45443F; --line: rgba(20, 20, 19, 0.18); --accent: #3850E5; }
:is(:root:not(.scroll-ground) :is([data-ground="ice"], .ground-ice), .scroll-ground body[data-ground="ice"]) { --bg: #DCE2F4; --fg: #141413; --muted: #3E4152; --line: rgba(20, 20, 19, 0.16); --accent: #24307A; }
:is(:root:not(.scroll-ground) :is([data-ground="navy"], .ground-navy), .scroll-ground body[data-ground="navy"]) { --bg: #18204A; --fg: #F2F2F0; --muted: #C3C8DD; --line: rgba(242, 242, 240, 0.18); --accent: #B9C3FF; }
:is(:root:not(.scroll-ground) :is([data-ground="red"], .ground-red), .scroll-ground body[data-ground="red"]) { --bg: #E63329; --fg: #FFFFFF; --muted: #FFE3E0; --line: rgba(255, 255, 255, 0.4); --accent: #FFFFFF; }

:root :where(.is-layout-flow, .is-layout-constrained) > * { margin-block: 0; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; transition: background-color 300ms linear, color 0s linear 150ms; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
em { font-family: var(--emph); font-style: italic; font-weight: 600; font-size: 0.86em; letter-spacing: -0.05em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.w { max-width: 1440px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.caps { font: 500 0.8125rem/1 var(--display); letter-spacing: 0.09em; text-transform: uppercase; }
.sq { display: inline-block; width: 0.15em; height: 0.15em; background: var(--red); margin-left: 0.05em; }
:is(:root:not(.scroll-ground) :is([data-ground="red"], .ground-red), .scroll-ground body[data-ground="red"]) .sq { background: var(--ink); }

/* Sections paint their own ground. With the scroll script running they turn transparent and the body carries the colour. */
.sec { padding-block: var(--sec); background: var(--bg); color: var(--fg); }
.scroll-ground .sec, .scroll-ground .site-footer { --bg: inherit; }
.scroll-ground .sec { background: transparent; color: inherit; }
.label-row { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: baseline; justify-content: space-between; margin-bottom: clamp(40px, 5vw, 72px); }
.label-row h2 { font: 700 clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem)/1.1 var(--display); }
.explore { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; padding-block: 10px; border-bottom: 1px solid currentColor; font: 500 0.9375rem/1.3 var(--display); }
.explore::after { content: "\2192"; font-family: var(--body); transition: transform 200ms var(--ease); }
.explore:hover::after { transform: translateX(4px); }
.example { display: inline-block; font: 500 0.75rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--line); color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; text-decoration: none; font: 500 0.8125rem/1 var(--display); letter-spacing: 0.09em; text-transform: uppercase; border: 1px solid currentColor; cursor: pointer; transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease); }
.btn.solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn:hover { background: var(--blue); color: #F2F2F0; border-color: var(--blue); }
:is(:root:not(.scroll-ground) :is([data-ground="red"], .ground-red), .scroll-ground body[data-ground="red"]) .btn.solid { background: #FFFFFF; color: var(--red); border-color: #FFFFFF; }
:is(:root:not(.scroll-ground) :is([data-ground="red"], .ground-red), .scroll-ground body[data-ground="red"]) .btn:hover { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); color: var(--fg); transition: background-color 300ms linear, color 0s linear 150ms; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.nav .home { margin-right: auto; display: block; width: 96px; }
.nav .home img { width: 96px; }
.nav .home .on-light { display: none; }
body:is([data-ground="off"], [data-ground="stone"], [data-ground="ice"]) .nav .home .on-dark { display: none; }
body:is([data-ground="off"], [data-ground="stone"], [data-ground="ice"]) .nav .home .on-light { display: block; }
.nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 30px; }
.nav ul a { text-decoration: none; padding-block: 12px; opacity: 0.8; transition: opacity 160ms; }
.nav ul a:hover, .nav ul a[aria-current="page"] { opacity: 1; }
.nav ul a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { min-height: 42px; padding: 0 16px; }
.menu-btn { background: none; border: 0; color: inherit; padding: 12px 4px; cursor: pointer; }
.menu-panel { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: var(--off); display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gr) calc(env(safe-area-inset-bottom, 0px) + 24px) var(--gl); }
.menu-panel .top { display: flex; justify-content: space-between; align-items: center; min-height: 52px; }
.menu-panel .top img { width: 96px; }
.menu-panel .top button { background: none; border: 0; color: var(--off); padding: 12px 4px; cursor: pointer; }
.menu-panel ul { list-style: none; margin: 56px 0 auto; padding: 0; display: grid; gap: 6px; }
.menu-panel ul a { text-decoration: none; font: 300 clamp(2.25rem, 9vw, 3.25rem)/1.1 var(--display); }
.menu-panel .btn { background: var(--off); color: var(--ink); border-color: var(--off); }
@media (min-width: 1000px) { .nav ul { display: flex; } .menu-btn { display: none; } }

/* Hero, Pixels */
.hero { position: relative; overflow: hidden; min-height: min(90vh, 920px); display: grid; align-items: end; padding: 0; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .copy { position: relative; z-index: 1; width: 100%; padding-block: 120px clamp(48px, 7vw, 96px); }
.hero h1 { font-weight: 300; font-size: clamp(3rem, 1rem + 7vw, 8.25rem); line-height: 0.95; letter-spacing: -0.012em; }
.hero .lede { margin-top: 24px; max-width: 52ch; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.55; opacity: 0.86; }

/* What we do: one statement, the services as a flowing index of links */
.statement { font: 500 clamp(1.75rem, 1.1rem + 2.6vw, 3.5rem)/1.16 var(--display); letter-spacing: -0.005em; max-width: 30ch; }
.svc-index { list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.svc-index li { border-bottom: 1px solid var(--line); }
.svc-index a { display: grid; gap: 6px; padding: 22px 0; text-decoration: none; }
.svc-index .n { font: 700 clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem)/1.1 var(--display); transition: color 200ms var(--ease); }
.svc-index .d { color: var(--muted); }
.svc-index a:hover .n { color: var(--accent); }
@media (min-width: 1000px) {
  .svc-index { grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 0; }
  .svc-index li { border-top: 1px solid var(--line); border-bottom: 0; }
  .svc-index a { grid-template-columns: 1fr; padding: 28px 0 32px; }
}

/* Selected work */
.work-grid { display: grid; gap: 40px 28px; }
.case { display: grid; gap: 16px; text-decoration: none; min-width: 0; }
.case .img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: rgba(20, 20, 19, 0.08); }
.case .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.case:hover .img img { transform: scale(1.03); }
.case .img .example { position: absolute; left: 12px; top: 12px; background: var(--off); color: #141413; border-color: transparent; }
.case h3 { font: 700 1.375rem/1.2 var(--display); }
.case p { color: var(--muted); }
@media (min-width: 760px) { .work-grid { grid-template-columns: repeat(3, 1fr); } .case:nth-child(2) { margin-top: 64px; } }

/* Close, on SYNQ red */
.close h2 { font-weight: 300; font-size: clamp(3rem, 1.2rem + 7vw, 8.5rem); line-height: 0.95; letter-spacing: -0.012em; }

/* Footer */
.site-footer { padding-block: 88px calc(32px + env(safe-area-inset-bottom, 0px)); background: var(--bg); color: var(--fg); }
.scroll-ground .site-footer { background: transparent; }
.foot { display: grid; gap: 40px; }
.foot .brandline img { width: 124px; }
.foot .brandline p { margin-top: 16px; color: var(--muted); max-width: 32ch; }
.foot h3 { font: 500 0.9375rem/1.3 var(--display); color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.foot ul a { text-decoration: none; font: 500 1rem/1.3 var(--display); }
.foot ul a:hover { color: var(--accent); }
.foot address { font-style: normal; color: var(--muted); }
.legal { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 0.875rem; }
@media (min-width: 900px) { .foot { grid-template-columns: 4fr 2fr 2fr 4fr; } }

/* Inner page head */
.page-head { padding-block: clamp(72px, 10vw, 160px) clamp(48px, 6vw, 96px); }
.page-head h1 { font-weight: 700; font-size: clamp(2.5rem, 1.4rem + 4.6vw, 6rem); line-height: 1; letter-spacing: -0.01em; max-width: 18ch; }
.page-head p { margin-top: 24px; max-width: 60ch; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.375rem); color: var(--muted); }
.svc-detail { border-top: 1px solid var(--line); display: grid; gap: 16px; padding-block: 40px; }
.svc-detail h2 { font: 700 clamp(1.75rem, 1.2rem + 2vw, 3rem)/1.06 var(--display); }
.svc-detail p { max-width: 60ch; color: var(--muted); }
.svc-detail .todo { font-size: 0.9375rem; }
@media (min-width: 1000px) { .svc-detail { grid-template-columns: 5fr 7fr; column-gap: 64px; align-items: baseline; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }


/* Team */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.person h3 { font: 700 1.25rem/1.2 var(--display); margin-top: 16px; }
.person p { color: var(--muted); margin-top: 4px; }
.person .ph { aspect-ratio: 805 / 1110; overflow: hidden; background: #0B0B0B; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }
.team .leads { grid-column: 1 / -1; align-self: end; }
.leads ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.leads li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.leads h3 { font: 700 1.25rem/1.2 var(--display); }
.leads p { color: var(--muted); }
@media (min-width: 900px) { .team { grid-template-columns: 3fr 3fr 6fr; gap: 32px 48px; } .team .leads { grid-column: auto; } }
.map .pin span { text-shadow: 0 0 6px #0B0B0B, 0 0 2px #0B0B0B; }

/* Network map */
.map { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.map img { width: 100%; opacity: 0.5; }
.map .pin { position: absolute; transform: translate(-5px, -50%); display: flex; align-items: center; gap: 8px; }
.map .pin i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(142, 157, 255, 0.2); flex: none; }
.map .pin.hq i { width: 14px; height: 14px; background: var(--red); box-shadow: 0 0 0 6px rgba(230, 51, 41, 0.25); }
.map .pin span { font: 500 0.8125rem/1 var(--display); white-space: nowrap; display: none; }
.map .pin.left { flex-direction: row-reverse; transform: translate(calc(-100% + 5px), -50%); }
.map .pin.below { flex-direction: column; gap: 8px; transform: translate(-50%, -7px); }
.places { list-style: none; margin: 32px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.places li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.places li span:first-child { font: 700 1.125rem/1.3 var(--display); }
.places li span:last-child { color: var(--muted); }
.map .pin span { display: inline; }
@media (max-width: 759px) { .map { margin-inline: -8px; } .map .pin span { font-size: 0.6875rem; } .map .pin i { width: 7px; height: 7px; box-shadow: 0 0 0 3px rgba(142, 157, 255, 0.2); } .map .pin { gap: 4px; } }

/* Menu: burger and cross icons */
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; margin-right: -10px; }
.menu-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; }

/* The wordmark inside headings, in the colour of the ground */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wm { display: inline-block; white-space: nowrap; }
.wm svg { display: inline-block; height: 0.69em; width: calc(0.69em * 2294 / 597.26); vertical-align: 0; fill: currentColor; }
:is(:root:not(.scroll-ground) :is([data-ground="red"], .ground-red), .scroll-ground body[data-ground="red"]) .wm { --sq: var(--ink); }

/* The SYNQ Stack: the three circles, with the wordmark where they meet */
.statement.sm { font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.5rem); max-width: 26ch; }
.stack-wrap { display: grid; gap: 48px; align-items: center; }
.stack-key { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.stack-key li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.stack-key h3 { font: 700 1.25rem/1.25 var(--display); }
.stack-key p { color: var(--muted); }
.venn { width: 100%; max-width: 640px; justify-self: center; overflow: visible; color: var(--fg); }
.venn circle { fill: none; stroke: currentColor; stroke-opacity: 0.6; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.venn text { fill: currentColor; font: 500 34px/1 var(--display); text-anchor: middle; }
.venn use { color: var(--fg); }
.scroll-ground .venn circle { stroke-dasharray: 1540; stroke-dashoffset: 0; transition: stroke-dashoffset 1600ms var(--ease); }
.scroll-ground .venn:not(.in) circle { stroke-dashoffset: 1540; }
.scroll-ground .venn circle:nth-of-type(2) { transition-delay: 150ms; }
.scroll-ground .venn circle:nth-of-type(3) { transition-delay: 300ms; }
.scroll-ground .venn text, .scroll-ground .venn use { transition: opacity 600ms var(--ease) 900ms; }
.scroll-ground .venn:not(.in) text, .scroll-ground .venn:not(.in) use { opacity: 0; }
@media (min-width: 1000px) { .stack-wrap { grid-template-columns: 5fr 7fr; gap: 64px; } }

/* Latest: one lead piece with its image, the others as type, and the email sign-up */
.latest { display: grid; gap: 48px; }
.latest .meta { font: 500 0.9375rem/1.3 var(--display); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.latest .meta .series { color: var(--fg); }
.lead { display: grid; gap: 18px; text-decoration: none; }
.lead .th { overflow: hidden; aspect-ratio: 16 / 10; background: rgba(20, 20, 19, 0.08); }
.lead .th img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.lead:hover .th img { transform: scale(1.03); }
.lead h3 { font: 700 clamp(1.5rem, 1.1rem + 1.6vw, 2.75rem)/1.1 var(--display); max-width: 24ch; }
.lead:hover h3, .entry:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.side { display: grid; align-content: start; border-top: 1px solid var(--line); }
.entry { display: grid; gap: 10px; padding: 24px 0 28px; border-bottom: 1px solid var(--line); text-decoration: none; }
.entry h3 { font: 700 clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem)/1.2 var(--display); }
.entry .dek { color: var(--muted); }
.signup { display: grid; gap: 8px; padding-top: 28px; }
.signup label { font: 700 1.25rem/1.2 var(--display); }
.signup p { color: var(--muted); }
.signup .f { display: flex; gap: 8px; margin-top: 8px; }
.signup input { flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); background: transparent; color: inherit; font: inherit; border-radius: 0; }
.signup input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.signup .btn { flex: none; }
@media (min-width: 1000px) { .latest { grid-template-columns: 7fr 5fr; gap: 64px; } .side { border-top: 0; } .side .entry:first-child { padding-top: 0; } }

/* Network, with the client logos running under the map */
.net { overflow: hidden; }
.mq-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: clamp(72px, 9vw, 128px); margin-bottom: 36px; }
.mq-head h2 { font: 700 clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem)/1.2 var(--display); }
.mq-toggle { background: none; border: 0; color: var(--muted); padding: 10px 0; cursor: pointer; }
.mq-toggle:hover { color: var(--fg); }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee ul { list-style: none; margin: 0; padding: 0 0 0 72px; display: flex; flex: none; gap: 72px; align-items: center; animation: mq 75s linear infinite; }
.marquee:hover ul, .marquee.paused ul { animation-play-state: paused; }
.marquee li { flex: none; display: flex; align-items: center; height: 64px; }
.marquee img { height: var(--h, 32px); width: auto; filter: brightness(0) invert(1); opacity: 0.85; }
@keyframes mq { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; scrollbar-width: thin; padding-inline: var(--gl) var(--gr); -webkit-mask-image: none; mask-image: none; }
  .marquee ul { padding: 0 0 12px; }
  .marquee ul + ul { display: none; }
}

/* Close: the question, one line on what happens, and two ways in */
.close-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: 40px; }
.close .lede { font: 500 clamp(1.25rem, 1rem + 0.9vw, 1.875rem)/1.3 var(--display); max-width: 30ch; }
.routes { display: grid; border-top: 1px solid var(--line); }
.route { display: grid; gap: 4px; padding: 22px 40px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; }
.route::after { content: "\2192"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; transition: transform 200ms var(--ease); }
.route:hover::after { transform: translate(6px, -50%); }
.route .t { font: 700 clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem)/1.1 var(--display); }
.route .d { color: var(--muted); }
@media (min-width: 1000px) { .close-grid { grid-template-columns: 6fr 6fr; gap: 64px; align-items: end; } }
.latest > * { min-width: 0; }
@media (min-width: 1000px) { .nav .menu-btn { display: none; } }
.side > *, .signup > * { min-width: 0; }
@media (max-width: 700px) { .venn text { font-size: 40px; } }
.map .pin.below { transform: translate(-50%, -5px); }

/* Social icons */
.social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: inherit; transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease); }
.social a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

/* Contact */
.contact-head { padding-bottom: clamp(40px, 5vw, 72px); }
.contact-head h1 { font-weight: 300; font-size: clamp(3rem, 1.2rem + 7vw, 8.5rem); line-height: 0.95; letter-spacing: -0.012em; }
.jump { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: clamp(32px, 4vw, 56px); }
.jump a { font: 500 1rem/1.3 var(--display); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.jump a::after { content: " \2193"; }
.contact-grid { display: grid; gap: 72px; }
.cform, .cside { display: grid; gap: 28px; align-content: start; min-width: 0; }
.cform h2, .cside h2 { font: 700 clamp(1.5rem, 1.2rem + 1vw, 2.25rem)/1.1 var(--display); }
fieldset.need { border: 0; margin: 0; padding: 0; min-width: 0; }
.need legend { font: 500 0.9375rem/1.3 var(--display); color: var(--muted); margin-bottom: 14px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(20, 20, 19, 0.28); border-radius: 999px; font: 500 0.9375rem/1 var(--display); cursor: pointer; transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
.chip span:hover { border-color: #141413; }
.chip input:checked + span { background: #141413; color: #F2F2F0; border-color: #141413; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.row2 { display: grid; gap: 28px; }
.fld { position: relative; }
.fld input, .fld textarea { width: 100%; padding: 26px 0 10px; border: 0; border-bottom: 1px solid rgba(20, 20, 19, 0.32); background: transparent; color: #141413; font: 400 1.0625rem/1.4 var(--body); border-radius: 0; transition: border-color 160ms var(--ease); }
.fld textarea { resize: vertical; min-height: 140px; }
.fld label { position: absolute; left: 0; top: 26px; font: 400 1.0625rem/1.4 var(--body); color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform 180ms var(--ease), color 180ms var(--ease); }
.fld label span { font-size: 0.875rem; margin-left: 6px; opacity: 0.8; }
.fld :is(input, textarea):focus + label, .fld :is(input, textarea):not(:placeholder-shown) + label { transform: translateY(-22px) scale(0.8); }
.fld :is(input, textarea):focus { outline: none; border-bottom: 2px solid #141413; padding-bottom: 9px; }
.fld :is(input, textarea):focus + label { color: #141413; }
.fld [aria-invalid="true"] { border-bottom-color: var(--red); }
.fld [aria-invalid="true"] + label { color: #B3261E; }
.chk { display: flex; gap: 12px; align-items: flex-start; }
.chk input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #141413; flex: none; }
.send { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.btn.arrow::after { content: "\2192"; margin-left: 10px; font-family: var(--body); transition: transform 200ms var(--ease); }
.btn.arrow:hover::after { transform: translateX(4px); }
.small { font-size: 0.875rem; color: var(--muted); }
.done { font: 500 1.125rem/1.4 var(--display); padding: 16px 18px; border-left: 3px solid var(--red); background: rgba(20, 20, 19, 0.05); }
.cside { gap: 56px; }
.book { background: #0B0B0B; color: #F2F2F0; padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; --line: rgba(242, 242, 240, 0.16); --muted: #B4B3AD; }
.book p { color: var(--muted); }
.cal { margin-top: 16px; display: grid; gap: 16px; }
.cal-top { display: flex; justify-content: space-between; align-items: center; font: 500 0.9375rem/1 var(--display); }
.cal .example { color: #B4B3AD; }
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.days span { text-align: center; padding: 14px 0; border: 1px solid var(--line); font: 500 0.875rem/1 var(--display); color: var(--muted); }
.days .on { background: #F2F2F0; color: #0B0B0B; border-color: #F2F2F0; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slots span { height: 40px; border: 1px solid var(--line); }
.cal > p { font-size: 0.875rem; }
.reach h3 { font: 500 0.9375rem/1.3 var(--display); color: var(--muted); margin: 32px 0 8px; }
.reach address { font-style: normal; }
@media (min-width: 700px) { .row2 { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 96px; } .cside { position: sticky; top: 96px; align-self: start; } }
.foot ul.social { display: flex; gap: 8px; }
.need legend span { margin-left: 8px; opacity: 0.75; font-weight: 400; }

/* ------------------------------------------------------------------
   WordPress: GeneratePress wrappers and block markup
   ------------------------------------------------------------------ */
body.synq-page .site, body.synq-page .site-content, body.synq-page .content-area, body.synq-page .site-main,
body.synq-page .inside-article, body.synq-page article, body.synq-page .entry-content { margin: 0; padding: 0; max-width: none; width: auto; background: transparent; display: block; float: none; }
body.synq-page .grid-container { max-width: none; }
body.synq-page .site-main > * { margin-bottom: 0; }
body.synq-page .entry-header { display: none; }
/* GeneratePress wraps the footer pattern in its own div.site-footer; only the inner footer paints. */
div.site-footer { padding: 0 !important; background: transparent !important; }
:where(.synq-page .entry-content, .site-header, .site-footer) :is(ul, ol) { margin: 0; padding: 0; }
.synq-page figure, .site-header figure, .site-footer figure { margin: 0; }
.dot::after { content: ""; display: inline-block; width: 0.15em; height: 0.15em; background: var(--red); margin-left: 0.05em; }
:is(:root:not(.scroll-ground) :is([data-ground="red"], .ground-red), .scroll-ground body[data-ground="red"]) .dot::after { background: var(--ink); }
.wm-img { display: inline-block; height: 0.69em !important; width: auto !important; vertical-align: 0; }

/* Buttons block */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button a.wp-block-button__link:not(.has-background), .wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; text-decoration: none; font: 500 0.8125rem/1 var(--display); letter-spacing: 0.09em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease); }
.wp-block-button.is-style-solid a.wp-block-button__link:not(.has-background) { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.wp-block-button a.wp-block-button__link:not(.has-background):hover { background: var(--blue); color: #F2F2F0; border-color: var(--blue); }
:is(:root:not(.scroll-ground) :is([data-ground="red"], .ground-red), .scroll-ground body[data-ground="red"]) .wp-block-button.is-style-solid a.wp-block-button__link:not(.has-background) { background: #FFFFFF; color: var(--red); border-color: #FFFFFF; }
.hero .wp-block-buttons { margin-top: 32px; }

/* "Explore" links under a label */
.more a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; padding-block: 10px; border-bottom: 1px solid currentColor; font: 500 0.9375rem/1.3 var(--display); }
.more a::after { content: "\2192"; font-family: var(--body); transition: transform 200ms var(--ease); }
.more a:hover::after { transform: translateX(4px); }

/* Header: logo, Navigation block, button */
.site-header .nav .home { margin-right: auto; width: 96px; }
.site-header .nav .home img { width: 96px; height: auto; }
.site-header .nav .home, .site-header .nav .home a { display: block; line-height: 0; }
.site-header .nav .on-light { display: none; }
.site-header .nav .on-light { display: none; }
body:not([data-ground]) .site-header .on-dark, body:is([data-ground="off"], [data-ground="stone"], [data-ground="ice"]) .site-header .on-dark { display: none; }
body:not([data-ground]) .site-header .on-light, body:is([data-ground="off"], [data-ground="stone"], [data-ground="ice"]) .site-header .on-light { display: block; }
.site-header .wp-block-button a.wp-block-button__link:not(.has-background) { min-height: 42px; padding: 0 16px; }
.main-nav .wp-block-navigation__container { gap: 30px; }
.main-nav .wp-block-navigation-item__content { text-decoration: none; padding-block: 12px; opacity: 0.8; transition: opacity 160ms; }
.main-nav .wp-block-navigation-item__content:hover, .main-nav .current-menu-item > .wp-block-navigation-item__content { opacity: 1; }
.main-nav .current-menu-item > .wp-block-navigation-item__content { text-decoration: underline; text-underline-offset: 6px; }
.main-nav .wp-block-navigation__responsive-container-open, .main-nav .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; place-items: center; color: inherit; }
.main-nav .wp-block-navigation__responsive-container-close { display: inline-grid; }
.site-header .nav { flex-wrap: nowrap; }
@media (min-width: 1000px) { .site-header .main-nav .wp-block-navigation__responsive-container-open { display: none !important; } }
.main-nav .wp-block-navigation__responsive-container-open svg, .main-nav .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.main-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--ink) !important; color: var(--off) !important; padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gr) 24px var(--gl); }
.main-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding: 56px var(--gr) 24px var(--gl) !important; align-items: flex-start; }
.main-nav .is-menu-open .wp-block-navigation__container { gap: 6px; align-items: flex-start; }
.main-nav .is-menu-open .wp-block-navigation-item__content { font: 300 clamp(2.25rem, 9vw, 3.25rem)/1.1 var(--display); text-transform: none; letter-spacing: 0; opacity: 1; padding: 0; }
@media (min-width: 600px) and (max-width: 999px) {
  .main-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-grid; }
  .main-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.site-header .wp-block-button__link { white-space: nowrap; }
.main-nav button, .main-nav button:hover, .main-nav button:focus { background: none !important; color: inherit !important; border: 0; }
.main-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.main-nav .is-menu-open .wp-block-navigation__container { align-items: flex-start !important; justify-content: flex-start !important; text-align: left; }
.main-nav .wp-block-navigation__responsive-dialog { width: 100%; }
@media (max-width: 999px) { .site-header .main-nav { order: 3; margin-right: -10px; } .site-header .wp-block-buttons { order: 2; } .site-header .main-nav .wp-block-navigation__responsive-container-open { display: inline-grid !important; } .site-header .main-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; } }

/* Lists written as "Name, then line" in the editor */
.svc-index a { color: var(--muted); }
.svc-index a strong { display: block; font: 700 clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem)/1.1 var(--display); color: var(--fg); transition: color 200ms var(--ease); margin-bottom: 6px; }
.svc-index a:hover strong { color: var(--accent); }
.stack-key li { color: var(--muted); }
.stack-key strong { display: block; font: 700 1.25rem/1.25 var(--display); color: var(--fg); margin-bottom: 4px; }
.leads li { color: var(--muted); }
.leads strong { font: 700 1.25rem/1.2 var(--display); color: var(--fg); }

/* Cards */
.case { position: relative; }
.case figure { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: rgba(20, 20, 19, 0.08); }
.case figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.case:hover figure img { transform: scale(1.03); }
.case .tag { position: absolute; left: 12px; top: 12px; z-index: 1; background: var(--off); color: #141413; border-color: transparent; }
.case h3 a, .lead h3 a, .entry h3 a { text-decoration: none; }
.latest .meta strong { color: var(--fg); font-weight: 500; margin-right: 12px; }
.lead figure { overflow: hidden; aspect-ratio: 16 / 10; }
.lead figure img { width: 100%; height: 100%; object-fit: cover; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; }

/* Close: routes as a list of links */
.routes { list-style: none; }
.routes li { border-bottom: 1px solid var(--line); }
.routes li a { display: block; position: relative; padding: 22px 40px 22px 0; text-decoration: none; font: 700 clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem)/1.1 var(--display); }
.routes li a::after { content: "\2192"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 1.5rem/1 var(--body); transition: transform 200ms var(--ease); }
.routes li a:hover::after { transform: translate(6px, -50%); }

/* Footer and social icons (Social Icons block) */
.site-footer .brandline img { width: 124px; height: auto; }
.foot .wp-block-list { list-style: none; display: grid; gap: 10px; }
.legal { align-items: center; }
.legal p { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.legal p a { color: inherit; }
.wp-block-social-links.social { display: flex; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.wp-block-social-links.social .wp-social-link { background: none !important; color: inherit !important; margin: 0; border-radius: 50%; }
.wp-block-social-links.social .wp-block-social-link-anchor { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: inherit; transition: background 180ms var(--ease), color 180ms var(--ease); }
.wp-block-social-links.social .wp-block-social-link-anchor:hover { background: var(--fg); color: var(--bg); }
.wp-block-social-links.social svg { width: 18px; height: 18px; fill: currentColor; }
.pt0 { padding-top: 0 !important; }
/* Legal pages */
.legal-body { max-width: 72ch; }
.legal-body h3 { font: 700 1.25rem/1.25 var(--display); margin: 40px 0 12px; }
.legal-body p, .legal-body li { margin: 0 0 12px; color: var(--fg); }
.legal-body ul { list-style: disc; padding-left: 1.25em !important; margin: 0 0 16px !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: #B3261E; font-weight: 500; }

/* Service pages */
.svc-detail h2 a { text-decoration: none; }
.svc-detail .more { margin-top: 12px; }
.crumb { margin-bottom: 24px; font: 500 0.9375rem/1.3 var(--display); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a::before { content: "\2190"; margin-right: 8px; }
.svc-head h1 { max-width: 22ch; }
.svc-head .lede { margin-top: 28px; max-width: 58ch; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); color: var(--muted); }
.two-col { display: grid; gap: 64px; }
.two-col h2, .faq-title { font: 700 clamp(1.375rem, 1.15rem + 0.9vw, 2rem)/1.15 var(--display); margin-bottom: 24px; }
.rule-list { list-style: none; border-top: 1px solid var(--line); }
.rule-list li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; max-width: 56ch; }
@media (min-width: 1000px) { .two-col { grid-template-columns: 1fr 1fr; gap: 96px; } }
.phases { margin-top: 0; }
@media (min-width: 900px) { .phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; border-top: 0; } .phases li { border-top: 1px solid var(--line); } }
.judged { margin-top: 32px; color: var(--muted); }
/* A service page with no tagged case studies yet drops that section. */
.sec:has(.case-loop .wp-block-query-no-results) { display: none; }
.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 22px 48px 22px 0; font: 700 clamp(1.125rem, 1rem + 0.5vw, 1.375rem)/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 300 1.75rem/1 var(--display); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }

/* Single entries: case studies and In SYNQ pieces */
body.synq-single .site-main { max-width: 1440px; margin: 0 auto; padding: clamp(72px, 10vw, 160px) var(--gr) var(--sec) var(--gl); }
body.synq-single .inside-article { padding: 0; background: transparent; }
body.synq-single .entry-header { margin-bottom: 32px; }
body.synq-single .entry-title { font: 700 clamp(2.25rem, 1.3rem + 3.6vw, 5rem)/1.02 var(--display); letter-spacing: -0.01em; max-width: 20ch; margin: 0; }
body.synq-single .entry-meta { color: var(--muted); margin-top: 16px; font-size: 0.9375rem; }
body.synq-single .entry-content > p { max-width: 68ch; margin: 0 0 1.1em; }
body.synq-single .entry-content .lede { font: 500 clamp(1.25rem, 1rem + 0.9vw, 1.875rem)/1.3 var(--display); max-width: 34ch; margin-bottom: 48px; }
body.synq-single .entry-content figure { margin: 0 0 48px; }
body.synq-single .entry-content figure img { width: 100%; height: auto; }
body.synq-single figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--muted); }
body.single-case_study .featured-image { display: none; }
body.synq-single .featured-image { margin: 0 0 40px; max-width: 1000px; }
body.synq-single .featured-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.entry-kicker { display: flex; gap: 16px; margin-bottom: 16px; font: 500 0.9375rem/1.3 var(--display); color: var(--muted); }
.entry-kicker a { color: var(--fg); text-decoration: none; }
.case-cols { display: grid; gap: 32px; }
.case-cols h2 { font: 700 clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem)/1.2 var(--display); margin-bottom: 10px; }
.case-cols p { color: var(--muted); max-width: 46ch; }
.source { font-size: 0.875rem; color: var(--muted); }
@media (min-width: 900px) { .case-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }

/* Lists of entries on the hub pages (Query Loop block) */
.loop { list-style: none; margin: 0; padding: 0; }
.case-loop .loop { display: grid; gap: 48px 28px; }
.case-loop .th { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 16px; background: rgba(20, 20, 19, 0.08); }
.case-loop .th img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.case-loop li:hover .th img { transform: scale(1.03); }
.case-loop .wp-block-post-title { font: 700 1.375rem/1.2 var(--display); margin-bottom: 8px; }
.loop .wp-block-post-title a { text-decoration: none; }
.loop .wp-block-post-excerpt, .loop .wp-block-post-excerpt p { color: var(--muted); margin: 0; }
.list-loop .loop { border-top: 1px solid var(--line); }
.list-loop .loop > li { display: grid; gap: 8px; padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.list-loop .meta { color: var(--muted); font: 500 0.9375rem/1.3 var(--display); }
.list-loop .wp-block-post-title { font: 700 clamp(1.25rem, 1.1rem + 0.8vw, 1.875rem)/1.18 var(--display); }
@media (min-width: 760px) { .case-loop .loop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.need legend span { margin-left: 8px; opacity: 0.75; font-weight: 400; }
.foot address, .site-footer .addr { font-style: normal; color: var(--muted); margin-top: 20px; }
