/* Societal Studios. Lato throughout; black and white, dark by default. */
:root { --bg: #0b0b0b; --ink: #ffffff; --mut: #8f8f8a; --line: #262624; --gut: clamp(20px, 4vw, 56px); --bar: 88px; color-scheme: dark; }
html[data-theme="light"] { --bg: #ffffff; --ink: #0b0b0b; --mut: #6b6b66; --line: #e3e1dc; color-scheme: light; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.55 Lato, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; transition: background-color .3s ease, color .3s ease; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* every page: header bar, content, footer bar */
.home, .sub { min-height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 0 var(--gut); }

/* ---------- header bar ---------- */
/* logo in the middle, two sections either side */
.bar { height: var(--bar); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); position: relative; }
.nav-side ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(28px, 3.6vw, 60px); }
.nav-r ul { justify-content: flex-end; }
.site-nav { display: none; }
.brand { display: flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; font: 900 1.3rem/1 Lato, sans-serif; letter-spacing: -.01em; white-space: nowrap; transition: opacity .3s ease; }
.brand:hover { opacity: .8; }
.brand-lock { height: 40px; width: auto; aspect-ratio: 5.605 / 7.314; flex: none; color: var(--ink); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 2.8vw, 44px); }
.nav-side a, .site-nav a { position: relative; display: inline-block; padding: 6px 0; text-decoration: none; font: 700 .95rem/1.2 Lato, sans-serif; letter-spacing: .01em; color: var(--mut); transition: color .35s ease; }
.nav-side a:hover, .nav-side a:focus-visible, .nav-side a[aria-current="page"], .site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: var(--ink); }
.nav-side a::after, .site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: 50% 50%; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.nav-side a:hover::after, .nav-side a:focus-visible::after, .nav-side a[aria-current="page"]::after, .site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; }

/* ---------- footer bar ---------- */
.foot { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--mut); }
.foot p { margin: 0; }
.theme-toggle { display: flex; align-items: center; gap: 10px; padding: 8px 0; border: 0; background: none; color: var(--mut); font: 700 .85rem/1 Lato, sans-serif; cursor: pointer; transition: color .2s ease; }
.theme-toggle:hover { color: var(--ink); }
.theme-toggle svg { width: 14px; height: 18px; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
html[data-theme="light"] .theme-toggle svg { transform: scaleX(-1); }

/* ---------- home: three doors on their own, one caption line beneath that answers whichever you're on ---------- */
@property --board { syntax: '<color>'; inherits: true; initial-value: transparent; }
.doors { display: grid; grid-template-rows: 1fr auto; align-items: center; justify-items: center; padding: clamp(24px, 4.5vh, 56px) 0 clamp(16px, 3vh, 36px); container-type: size; min-height: 360px; }
.units { --gap: clamp(48px, 7vw, 150px); --door: min(calc(100cqh - 5.6rem - clamp(20px, 4vh, 44px)), calc((100cqw - 2 * var(--gap)) / 3 / .7663)); list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: var(--gap); }
.unit { position: relative; display: block; text-decoration: none; transition: opacity .6s cubic-bezier(.33,0,.2,1); will-change: opacity; }
.unit-ic { position: relative; z-index: 1; display: block; height: var(--door); width: auto; aspect-ratio: 5.605 / 7.314; color: var(--ink); --board: transparent; }
/* on hover the mark flips to the opposite colours; the other two step back */
.unit-glow { position: absolute; z-index: 0; left: 7.14%; top: 5.47%; width: 85.7%; height: 89.06%; background: radial-gradient(120% 90% at 50% 62%, color-mix(in srgb, var(--ink) 15%, transparent), color-mix(in srgb, var(--ink) 4%, transparent) 75%); opacity: 0; transition: opacity .55s cubic-bezier(.33,0,.2,1); will-change: opacity; pointer-events: none; }
.unit.is-active .unit-glow { opacity: 1; }
.unit::before { content: ""; position: absolute; left: -22%; right: -22%; bottom: -26px; height: 52px; background: radial-gradient(closest-side, color-mix(in srgb, var(--ink) var(--spill, 26%), transparent), transparent); opacity: 0; transform: scaleX(.6); transition: opacity .6s cubic-bezier(.33,0,.2,1), transform .75s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.unit.is-active::before { opacity: 1; transform: none; }
.doors[data-active] .unit:not(.is-active) { opacity: .62; }
.unit:focus-visible { outline-offset: 10px; }
.unit-name, .unit-go { display: none; }
/* the caption: "Choose a door" at rest, the door's name when you're on one */
.door-caption { position: relative; width: min(100%, 520px); height: 3.6rem; margin: clamp(20px, 4vh, 44px) 0 0; text-align: center; }
.door-caption span { position: absolute; left: 0; right: 0; top: 0; transition: opacity .35s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.dc-idle { padding-top: .75rem; font: 700 .78rem/1 Lato, sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--mut); }
.dc-name { font: 900 clamp(1.7rem, 1.1rem + 1.4vw, 2.4rem)/1.1 Lato, sans-serif; letter-spacing: -.02em; opacity: 0; transform: translateY(14px); }
.dc-rule { position: absolute; left: 50%; bottom: 0; width: 28px; height: 2px; margin-left: -14px; background: var(--line); transition: width .5s cubic-bezier(.2,.8,.2,1), margin .5s cubic-bezier(.2,.8,.2,1), background .3s ease; }
.doors[data-active] .dc-idle { opacity: 0; transform: translateY(-10px); }
.doors[data-active="shop"] .dc-name[data-for="shop"], .doors[data-active="setup"] .dc-name[data-for="setup"], .doors[data-active="club-room"] .dc-name[data-for="club-room"] { opacity: 1; transform: none; transition-delay: .06s; }
.doors[data-active] .dc-rule { width: 96px; margin-left: -48px; background: var(--ink); }

/* ---------- section pages ---------- */
.page { padding: clamp(40px, 8vh, 96px) 0 clamp(40px, 6vh, 72px); display: grid; align-content: start; gap: clamp(32px, 5vh, 56px); max-width: 1100px; }
.page-head { display: flex; align-items: flex-end; gap: clamp(18px, 2.4vw, 32px); padding-bottom: clamp(28px, 4vh, 44px); border-bottom: 1px solid var(--line); }
.page-ic { height: clamp(84px, 10vw, 128px); width: auto; aspect-ratio: 5.605 / 7.314; flex: none; color: var(--ink); }
.eyebrow { margin: 0 0 14px; font: 700 .8rem/1 Lato, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.page-title { margin: 0; font: 900 clamp(2.6rem, 1.4rem + 4vw, 5rem)/.95 Lato, sans-serif; letter-spacing: -.025em; }
.page-body { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr; gap: 8px 32px; max-width: 900px; }
.page-body p { margin: 0; color: var(--mut); max-width: 52ch; }
.page-body .soon { font: 700 .8rem/1.9 Lato, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }

/* ---------- phones and small tablets ---------- */
@media (max-width: 900px) {
  :root { --bar: 64px; }
  .bar { display: flex; justify-content: space-between; }
  .nav-side { display: none; }
  .site-nav { display: block; }
  .brand { font-size: 1.15rem; } .brand-lock { height: 30px; }
  .menu-btn { position: relative; z-index: 31; display: flex; align-items: center; gap: 10px; padding: 8px 0; border: 0; background: none; color: var(--ink); font: 700 .95rem/1 Lato, sans-serif; cursor: pointer; }
  .menu-btn i { position: relative; width: 20px; height: 2px; background: currentColor; }
  .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  .menu-btn i::before { transform: translateY(-6px); } .menu-btn i::after { transform: translateY(6px); }
  html.menu-open .menu-btn i { background: transparent; }
  html.menu-open .menu-btn i::before { transform: rotate(45deg); } html.menu-open .menu-btn i::after { transform: rotate(-45deg); }
  .site-nav ul { position: fixed; inset: 0; z-index: 30; flex-direction: column; justify-content: center; gap: 4px; padding: var(--gut); background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
  html.menu-open .site-nav ul { opacity: 1; visibility: visible; transition: opacity .3s ease; }
  .site-nav ul a { font: 900 clamp(2.2rem, 9vw, 3.4rem)/1.15 Lato, sans-serif; letter-spacing: -.02em; color: var(--ink); }
  .site-nav ul a::after { height: 3px; }
  html.menu-open { overflow: hidden; }
}
/* touch screens and narrow windows: the doors become a list, names always shown */
@media (hover: none), (max-width: 760px) {
  .doors { display: block; padding: clamp(16px, 3vh, 28px) 0; container-type: normal; min-height: 0; }
  .units { --door: min(calc((100dvh - var(--bar) - 64px - 2 * clamp(16px, 3vh, 28px)) / 3 - 34px), 150px); flex-direction: column; align-items: stretch; gap: 0; }
  .units li + li { border-top: 1px solid var(--line); }
  .unit { display: flex; align-items: center; gap: clamp(18px, 5vw, 30px); padding: 16px 0; }
  .unit-name { display: block; font: 900 clamp(1.5rem, 6.5vw, 2.2rem)/1 Lato, sans-serif; letter-spacing: -.015em; }
  .unit-go { display: block; margin-left: auto; font-size: 1.4rem; color: var(--mut); }
  .door-caption { display: none; }
  .page-body { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .foot p { font-size: .8rem; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- doorways: glide to the centre, open in 3D onto the page, zoom through ---------- */
.home.receding { transition: transform 1s cubic-bezier(.65,0,.25,1), opacity .8s ease; transform: scale(1.4); opacity: 0; pointer-events: none; will-change: transform, opacity; }
.portal-move { position: fixed; z-index: 50; pointer-events: none; transform-origin: 50% 50%; will-change: transform; }
.portal-move.travel { transition: transform 1s cubic-bezier(.65,0,.25,1); }
.portal { position: absolute; inset: 0; color: var(--ink); --board: color-mix(in srgb, var(--ink) 9%, var(--bg)); will-change: transform; }
.scene, .slab { position: absolute; inset: 0; transform-style: preserve-3d; }
.slab-face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.portal-beyond { position: absolute; background: var(--bg); overflow: hidden; }
.portal-view { position: absolute; left: 50%; top: 0; background: var(--bg); pointer-events: none; transform-origin: 50% 0; overflow: hidden; }
.portal-view { --board: transparent; }
.portal-view > .sub { height: auto; min-height: var(--vh); }
/* the doorway's depth: four inner walls, lit a little differently so the opening reads as a real recess */
.jamb { position: absolute; backface-visibility: hidden; }
.jamb-t { background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 16%, var(--bg)), color-mix(in srgb, var(--ink) 6%, var(--bg))); }
.jamb-b { background: linear-gradient(to top, color-mix(in srgb, var(--ink) 30%, var(--bg)), color-mix(in srgb, var(--ink) 10%, var(--bg))); }
.jamb-l { background: linear-gradient(to right, color-mix(in srgb, var(--ink) 22%, var(--bg)), color-mix(in srgb, var(--ink) 8%, var(--bg))); }
.jamb-r { background: linear-gradient(to left, color-mix(in srgb, var(--ink) 12%, var(--bg)), color-mix(in srgb, var(--ink) 4%, var(--bg))); }
/* the door itself is a slab: face, back and a lit edge, with shading that deepens as it turns away */
.slab-face { position: absolute; inset: 0; }
.slab-shade { position: absolute; background: linear-gradient(to right, rgba(0,0,0,.15), rgba(0,0,0,.65)); opacity: 0; pointer-events: none; }
.slab-edge { position: absolute; background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 70%, var(--bg)), color-mix(in srgb, var(--ink) 45%, var(--bg))); transform-origin: 0 50%; }
.slab-back { position: absolute; background: color-mix(in srgb, var(--ink) 12%, var(--bg)); box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--ink) 35%, var(--bg)); }

/* ---------- atmosphere: fine grain, and a floor for the doors to stand on ---------- */
:root { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --grain-o: .05; --spill: 26%; }
html[data-theme="light"] { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); --grain-o: .06; --spill: 13%; }
body::before { content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none; background: var(--grain); opacity: var(--grain-o); }
.home, .sub { position: relative; z-index: 1; }
.units { position: relative; }
.units::after { content: ""; position: absolute; left: 50%; bottom: 0; width: calc(100vw - 2 * var(--gut)); height: 1px; transform: translateX(-50%); background: linear-gradient(to right, transparent, var(--line) 12%, var(--line) 88%, transparent); pointer-events: none; }
@media (hover: none), (max-width: 760px) {
  .units::after, .unit::before { display: none; }
  .unit-ic { --board: transparent !important; }
}

/* ---------- 3D door: thicker lit edge, a sliding band of light on the face, light on the floor ---------- */
.slab { will-change: transform; }
.slab-face, .slab-shade, .slab-sheen { backface-visibility: hidden; }
.slab-back { backface-visibility: hidden; }
.slab-edge { background: linear-gradient(to right, color-mix(in srgb, var(--ink) 80%, var(--bg)), color-mix(in srgb, var(--ink) 50%, var(--bg))); }
.slab-sheen { position: absolute; overflow: hidden; pointer-events: none; }
.slab-sheen-band { position: absolute; top: -10%; bottom: -10%; left: 0; width: 38%; background: linear-gradient(to right, transparent, rgba(255,255,255,.16) 45%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.16) 55%, transparent); will-change: transform; }
html[data-theme="light"] .slab-sheen-band { background: linear-gradient(to right, transparent, rgba(255,255,255,.5) 50%, transparent); }
.floor-light { position: absolute; pointer-events: none; background: radial-gradient(48% 70% at 50% 0%, color-mix(in srgb, var(--ink) 20%, transparent), color-mix(in srgb, var(--ink) 6%, transparent) 55%, transparent 80%); opacity: 0; will-change: opacity; }
html[data-theme="light"] .floor-light { background: radial-gradient(48% 70% at 50% 0%, color-mix(in srgb, var(--ink) 9%, transparent), transparent 75%); }
body::before { transform: translateZ(0); }

/* ---------- the door as a solid object: plate, raised lines in layers, four shaded edges ---------- */
.slab-plate { position: absolute; background: var(--board); backface-visibility: hidden; }
.slab-face, .slab-relief { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; --board: transparent; backface-visibility: hidden; pointer-events: none; }
.slab-edge { position: absolute; backface-visibility: visible; }
.slab-edge-latch { background: linear-gradient(to bottom, color-mix(in srgb, var(--ink) 78%, var(--bg)), color-mix(in srgb, var(--ink) 52%, var(--bg))); }
.slab-edge-hinge { background: color-mix(in srgb, var(--ink) 30%, var(--bg)); }
.slab-edge-top { background: color-mix(in srgb, var(--ink) 62%, var(--bg)); }
.slab-edge-bottom { background: color-mix(in srgb, var(--ink) 22%, var(--bg)); }
.slab-back { background: linear-gradient(to right, color-mix(in srgb, var(--ink) 18%, var(--bg)), color-mix(in srgb, var(--ink) 8%, var(--bg))); box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--ink) 40%, var(--bg)); }

/* moving between pages: the browser holds the last frame and hands over to the new page instead of flashing */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: ease; }
.portal-land { position: fixed; inset: 0; z-index: 55; background: var(--bg); pointer-events: none; opacity: 0; }
.portal-land > .sub { height: auto; min-height: 100%; }


/* ---------- section page content: lede, services, call to action ---------- */
.page-wide { max-width: none; }
.lede { margin: 0; max-width: 34ch; font: 700 clamp(1.4rem, 1rem + 1.3vw, 2.2rem)/1.25 Lato, sans-serif; letter-spacing: -.015em; text-wrap: balance; }
.svcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-rows: auto auto 1fr; gap: clamp(22px, 3vh, 34px); padding: clamp(32px, 5vh, 56px) clamp(0px, 3vw, 48px) clamp(36px, 5vh, 60px) 0; }
.svc + .svc { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 48px); padding-right: 0; }
.svc-mark { display: flex; align-items: flex-start; justify-content: space-between; }
.svc-ic { height: clamp(86px, 9vw, 120px); width: auto; aspect-ratio: 56 / 73; color: var(--ink); overflow: visible; }
.svc-no { font: 700 .8rem/1 Lato, sans-serif; letter-spacing: .14em; color: var(--mut); }
.svc-title { margin: 0 0 12px; font: 900 clamp(2rem, 1.4rem + 1.8vw, 3.2rem)/1 Lato, sans-serif; letter-spacing: -.025em; }
.svc-desc { margin: 0; max-width: 44ch; color: var(--mut); font-size: 1.05rem; line-height: 1.6; }
.svc-list { list-style: none; margin: 0; padding: 0; align-self: end; display: grid; }
.svc-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 700; }
.svc-list li::before { content: ""; width: 7px; height: 7px; border: 2px solid currentColor; flex: none; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: clamp(32px, 5vh, 52px) clamp(24px, 3vw, 44px); border: 1px solid var(--line); }
.cta-title { margin: 0 0 6px; font: 900 clamp(1.5rem, 1.1rem + 1vw, 2.1rem)/1.1 Lato, sans-serif; letter-spacing: -.02em; }
.cta-text { margin: 0; color: var(--mut); }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; background: var(--ink); color: var(--bg); text-decoration: none; font: 700 .95rem/1 Lato, sans-serif; transition: opacity .3s ease; }
.btn span { transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.btn:hover { opacity: .88; } .btn:hover span { transform: translateX(4px); }
@media (max-width: 760px) {
  .svcs { grid-template-columns: 1fr; }
  .svc, .svc + .svc { border-left: 0; padding-left: 0; padding-right: 0; }
  .svc + .svc { border-top: 1px solid var(--line); }
}

/* header logo: the supplied Societal Studios wordmark */
.brand-logo { display: block; height: 30px; width: auto; aspect-ratio: 68 / 8; color: var(--ink); overflow: visible; }
@media (max-width: 900px) { .brand-logo { height: 23px; } }
@media (max-width: 380px) { .brand-logo { height: 20px; } }

/* nothing that animates may widen the page (on phones that would make the browser re-lay the page out wider) */
html, body { overflow-x: clip; }
html.going-through, html.going-through body { overflow: hidden; }

/* ---------- About page ---------- */
.about-open { padding-bottom: clamp(8px, 2vh, 20px); }
.about-big { margin: 0; max-width: 26ch; font: 900 clamp(1.9rem, 1.1rem + 2.6vw, 3.6rem)/1.12 Lato, sans-serif; letter-spacing: -.025em; text-wrap: balance; color: var(--mut); }
.about-big strong { color: var(--ink); font-weight: 900; }
.about-row { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: 14px 40px; padding-top: clamp(28px, 4vh, 44px); border-top: 1px solid var(--line); }
.about-row .eyebrow { margin: .45em 0 0; }
.about-text { margin: 0; max-width: 56ch; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.6; }
.parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.part { display: grid; align-content: start; gap: 16px; padding: clamp(28px, 4vh, 44px) clamp(20px, 2.6vw, 40px) clamp(32px, 4.5vh, 48px); text-decoration: none; transition: background-color .5s ease; }
.part:first-child { padding-left: 0; }
.part + .part { border-left: 1px solid var(--line); }
.part:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.part-ic { height: 64px; width: auto; aspect-ratio: 5.605 / 7.314; color: var(--ink); --board: transparent; }
.part-name { margin: 8px 0 0; font: 900 clamp(1.4rem, 1.1rem + .8vw, 1.9rem)/1.1 Lato, sans-serif; letter-spacing: -.02em; }
.part-name span { display: inline-block; color: var(--mut); transition: transform .4s cubic-bezier(.2,.8,.2,1), color .3s ease; }
.part:hover .part-name span { transform: translateX(5px); color: var(--ink); }
.part p { margin: 0; color: var(--mut); line-height: 1.6; max-width: 40ch; }
.values { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.values li { font: 900 clamp(1.5rem, 1.1rem + 1.2vw, 2.4rem)/1.1 Lato, sans-serif; letter-spacing: -.02em; }
.values li + li::before { content: "/"; margin-right: 28px; color: var(--line); font-weight: 400; }
@media (max-width: 760px) {
  .about-row { grid-template-columns: 1fr; }
  .parts { grid-template-columns: 1fr; }
  .part, .part:first-child { padding-left: 0; padding-right: 0; }
  .part + .part { border-left: 0; border-top: 1px solid var(--line); }
  .part:hover { background: none; }
  .values { flex-direction: column; gap: 2px; }
  .values li + li::before { content: none; }
}

/* ---------- Partners: the keyhole at the centre, partner doors around it, a panel for the chosen one ---------- */
.partners { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding-top: clamp(8px, 2vh, 24px); }
.pmap { --dw: clamp(62px, 7.6vw, 104px); position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; justify-self: center; }
.pm-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pm-ring { fill: none; stroke: var(--line); stroke-width: .25; stroke-dasharray: .9 1.3; }
.pm-line { stroke: var(--line); stroke-width: .3; transition: stroke .5s ease, stroke-width .5s ease; }
.pm-pulse { fill: var(--ink); opacity: 0; }
.partners[data-active="froogle"] .pm-line[data-p="froogle"], .partners[data-active="flance"] .pm-line[data-p="flance"],
.partners[data-active="socks"] .pm-line[data-p="socks"], .partners[data-active="managero"] .pm-line[data-p="managero"] { stroke: var(--ink); stroke-width: .45; }
.pm-hub { position: absolute; left: 50%; top: 50%; width: calc(var(--dw) * 1.15); transform: translate(-50%, -50%); color: var(--ink); background: var(--bg); padding: 10px; }
.pm-hub svg { display: block; width: 100%; height: auto; aspect-ratio: 5.605 / 7.314; }
.pm-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 6px; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; opacity: .42; transition: opacity .5s cubic-bezier(.33,0,.2,1); }
.pm-node:hover { opacity: .75; }
.pm-node[aria-selected="true"] { opacity: 1; }
.pm-door { position: relative; display: grid; place-items: center; width: var(--dw); aspect-ratio: 5.605 / 7.314; border: calc(var(--dw) * .096) solid currentColor; background: var(--bg); transition: background-color .5s ease; }
.pm-node[aria-selected="true"] .pm-door { background: color-mix(in srgb, var(--ink) 10%, var(--bg)); }
.pm-door b { font: 900 calc(var(--dw) * .34)/1 Lato, sans-serif; letter-spacing: -.03em; }
.pm-name { font: 700 .85rem/1.2 Lato, sans-serif; white-space: nowrap; background: var(--bg); padding: 2px 6px; }
.pm-node:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.ppanels { min-height: 30rem; display: grid; align-content: center; }
.pp { display: grid; gap: 0; }
.pp .eyebrow { margin-bottom: 16px; }
.pp-name { margin: 0; font: 900 clamp(2.2rem, 1.4rem + 2.2vw, 3.6rem)/1 Lato, sans-serif; letter-spacing: -.025em; }
.pp-tag { margin: 14px 0 0; font: 700 clamp(1.05rem, .95rem + .4vw, 1.3rem)/1.3 Lato, sans-serif; color: var(--mut); }
.pp-desc { margin: 22px 0 0; max-width: 46ch; line-height: 1.6; }
.pp-label { margin: 30px 0 0; font: 700 .78rem/1 Lato, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.pp-list { list-style: none; margin: 12px 0 30px; padding: 0; display: grid; }
.pp-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 700; }
.pp-list li:last-child { border-bottom: 1px solid var(--line); }
.pp-list li::before { content: ""; width: 7px; height: 7px; border: 2px solid currentColor; flex: none; }
.pp .btn { justify-self: start; }
@media (max-width: 900px) {
  .partners { grid-template-columns: 1fr; }
  .pmap { max-width: 460px; --dw: clamp(52px, 15vw, 76px); }
  .ppanels { min-height: 0; }
  .pm-name { font-size: .78rem; }
}
.pp[hidden] { display: none; }
/* faded partners dim their colour, not their opacity, so their doors stay solid over the lines */
.pm-node { opacity: 1; color: color-mix(in srgb, var(--ink) 38%, var(--bg)); transition: color .5s cubic-bezier(.33,0,.2,1); }
.pm-node:hover { opacity: 1; color: color-mix(in srgb, var(--ink) 72%, var(--bg)); }
.pm-node[aria-selected="true"] { color: var(--ink); }

/* partner logos, in the site's black and white */
.pm-name { display: block; line-height: 0; padding: 4px 8px; }
.pm-logo { display: block; height: 13px; width: auto; color: currentColor; }
.pp-name { line-height: 0; }
.pp-logo { display: block; height: clamp(34px, 2rem + 1.4vw, 54px); width: auto; max-width: 100%; color: var(--ink); }
@media (max-width: 900px) { .pm-logo { height: 10px; } }

/* the partners' own marks inside their doors */
.pm-door { --door-bg: var(--bg); background: var(--door-bg); }
.pm-node[aria-selected="true"] .pm-door { --door-bg: color-mix(in srgb, var(--ink) 10%, var(--bg)); background: var(--door-bg); }
.pm-mark { display: block; width: 62%; height: auto; color: currentColor; }
.pm-mark-wide { width: 66%; }
.pm-mark-dot { width: 44%; }
.pm-mark-img { width: 58%; aspect-ratio: 1; background: currentColor; -webkit-mask: url(/partner-socks-mark.png) center / contain no-repeat; mask: url(/partner-socks-mark.png) center / contain no-repeat; }
/* Froogle: both eyes; Managero: its dot and the "m" from its wordmark, as a monogram */
.pm-mark-eyes { width: 74%; }
.pm-mark-mg { width: 74%; }
/* let the logos draw past their edges (Froogle's eyes sit slightly proud of its letters) */
.pm-logo, .pp-logo { overflow: visible; }
.pp-name { padding-block: 2px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.contact-side { display: grid; gap: clamp(28px, 4vh, 44px); position: sticky; top: 24px; }
.contact-side .lede { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); }
.direct { padding-top: 22px; border-top: 1px solid var(--line); }
.direct .eyebrow { margin-bottom: 12px; }
.direct-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.direct-mail { font: 900 clamp(1.15rem, .9rem + .9vw, 1.6rem)/1.2 Lato, sans-serif; letter-spacing: -.01em; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .45s cubic-bezier(.2,.8,.2,1); padding-bottom: 3px; overflow-wrap: anywhere; }
.direct-mail:hover { background-size: 100% 2px; }
.copy { padding: 7px 12px; border: 1px solid var(--line); background: none; color: var(--mut); font: 700 .78rem/1 Lato, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .25s ease, border-color .25s ease; }
.copy:hover, .copy.is-done { color: var(--ink); border-color: var(--ink); }
.next { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: n; }
.next li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 2px 0; padding: 14px 0; border-top: 1px solid var(--line); }
.next li::before { content: "0" counter(n); grid-row: span 2; font: 700 .8rem/1.6 Lato, sans-serif; letter-spacing: .12em; color: var(--mut); }
.next b { font-weight: 900; }
.next span { color: var(--mut); font-size: .95rem; }

.cform { display: grid; gap: clamp(26px, 3.6vh, 38px); }
.cform[hidden] { display: none; }
.cf-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.cf-label { display: block; margin-bottom: 12px; font: 700 .8rem/1.2 Lato, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); transition: color .3s ease; }
.cf-label em { font-style: normal; letter-spacing: .06em; text-transform: none; opacity: .7; margin-left: 6px; }
/* the four choices, as door tiles that light up when picked */
.picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pick { position: relative; cursor: pointer; }
.pick input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick-box { position: relative; height: 100%; display: grid; justify-items: start; align-content: start; gap: 4px; padding: 16px 14px 14px; border: 1px solid var(--line); transition: border-color .35s ease, background-color .35s ease; }
.pick-ic { width: 30px; height: auto; aspect-ratio: 5.605 / 7.314; margin-bottom: 14px; color: color-mix(in srgb, var(--ink) 45%, var(--bg)); --board: transparent; transition: color .35s ease; }
.pick-name { font: 900 1rem/1.15 Lato, sans-serif; }
.pick-sub { font-size: .82rem; color: var(--mut); }
.pick-tick { position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; border: 1.5px solid var(--line); transition: background-color .3s ease, border-color .3s ease; }
.pick-tick::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.pick:hover .pick-box { border-color: color-mix(in srgb, var(--ink) 40%, var(--bg)); }
.pick input:checked + .pick-box { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, var(--bg)); }
.pick input:checked + .pick-box .pick-ic { color: var(--ink); }
.pick input:checked + .pick-box .pick-tick { background: var(--ink); border-color: var(--ink); }
.pick input:checked + .pick-box .pick-tick::after { transform: rotate(45deg) scale(1); }
.pick input:focus-visible + .pick-box, .chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
/* fields: a clean underline that draws across while you type */
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 36px); }
.field { position: relative; display: block; }
.field input, .field textarea { width: 100%; padding: 8px 0 12px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: 400 1.1rem/1.5 Lato, sans-serif; border-radius: 0; outline: none; resize: vertical; }
.field textarea { min-height: 120px; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.field:focus-within::after { transform: scaleX(1); }
.field:focus-within .cf-label { color: var(--ink); }
.field.is-invalid .cf-label { color: #d1493d; }
.field.is-invalid::after { background: #d1493d; transform: scaleX(1); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip span { display: block; padding: 10px 16px; border: 1px solid var(--line); font: 700 .9rem/1 Lato, sans-serif; transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.chip:hover span { border-color: color-mix(in srgb, var(--ink) 40%, var(--bg)); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.cf-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.cf-send { border: 0; cursor: pointer; }
.cf-send:disabled { opacity: .6; cursor: wait; }
.cf-note { margin: 0; font-weight: 700; color: var(--mut); }
.cf-note.is-bad { color: #d1493d; }
.cf-done { display: grid; justify-items: start; gap: 18px; padding: clamp(32px, 5vh, 56px) 0; border-top: 1px solid var(--line); outline: none; }
.cf-done[hidden] { display: none; }
.cf-done-ic { width: 54px; height: auto; aspect-ratio: 5.605 / 7.314; color: var(--ink); }
.cf-done-title { margin: 0; font: 900 clamp(2rem, 1.4rem + 2vw, 3.2rem)/1 Lato, sans-serif; letter-spacing: -.025em; }
.cf-done-text { margin: 0; color: var(--mut); max-width: 44ch; line-height: 1.6; }
@media (max-width: 1100px) { .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .contact-side { position: static; }
  .cf-row { grid-template-columns: 1fr; }
}

/* contact v2: the form starts at the top beside the title; the choices are a vertical list */
.contact { padding-top: 4px; }
.contact-side { gap: clamp(26px, 3.6vh, 40px); }
.contact-side .page-head { padding-bottom: clamp(22px, 3vh, 34px); }
.cform { padding-top: 6px; }
.picks { grid-template-columns: 1fr; gap: 0; }
.pick + .pick { margin-top: -1px; }
.pick-box { grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 18px; row-gap: 2px; padding: 16px 18px; }
.pick input:checked + .pick-box { z-index: 1; }
.pick-ic { grid-row: span 2; width: 26px; margin: 0; }
.pick-name { grid-column: 2; align-self: end; font-size: 1.05rem; }
.pick-sub { grid-column: 2; align-self: start; }
.pick-tick { position: relative; top: auto; right: auto; grid-column: 3; grid-row: 1 / span 2; width: 20px; height: 20px; }
.pick-tick::after { left: 6px; top: 2.5px; width: 5px; height: 10px; }
@media (max-width: 1100px) { .picks { grid-template-columns: 1fr; } }

/* members: a stepped slider with a live readout */
.size { --p: 0%; display: grid; gap: 14px; padding: 18px 20px 14px; border: 1px solid var(--line); transition: border-color .35s ease; }
.size:focus-within { border-color: color-mix(in srgb, var(--ink) 45%, var(--bg)); }
.size-out { margin: 0; display: flex; align-items: baseline; gap: 10px; min-height: 2.2rem; }
.size-out b { display: inline-block; font: 900 clamp(1.5rem, 1.2rem + .9vw, 2rem)/1.1 Lato, sans-serif; letter-spacing: -.02em; }
.size-out span { color: var(--mut); font-weight: 700; }
.size[data-touched="false"] .size-out b { font-size: 1.05rem; font-weight: 700; color: var(--mut); letter-spacing: 0; }
.size-track { position: relative; height: 28px; margin: 0 11px; }
.size-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--line); }
.size-fill { position: absolute; left: 0; top: 50%; height: 2px; margin-top: -1px; width: var(--p); background: var(--ink); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.size[data-touched="false"] .size-fill { width: 0; }
.size-tick { position: absolute; left: var(--at); top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--bg); border: 2px solid var(--line); transform: rotate(45deg); transition: border-color .3s ease, background-color .3s ease; }
.size[data-touched="true"] .size-tick { border-color: color-mix(in srgb, var(--ink) 35%, var(--bg)); }
/* the native slider sits on top, invisible except for its thumb: a small door */
.size-range { position: absolute; inset: 0 -11px; width: calc(100% + 22px); height: 100%; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; z-index: 2; }
.size-range:focus { outline: none; }
.size-range::-webkit-slider-runnable-track { height: 28px; background: none; }
.size-range::-moz-range-track { height: 28px; background: none; }
.size-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 28px; background: var(--bg); border: 3px solid var(--ink); border-radius: 0; transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .25s ease; }
.size-range::-moz-range-thumb { width: 16px; height: 22px; background: var(--bg); border: 3px solid var(--ink); border-radius: 0; transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .25s ease; }
.size[data-touched="false"] .size-range::-webkit-slider-thumb { border-color: color-mix(in srgb, var(--ink) 45%, var(--bg)); }
.size-range:hover::-webkit-slider-thumb, .size-range:active::-webkit-slider-thumb { transform: scale(1.12); }
.size-range:active::-webkit-slider-thumb { background: var(--ink); }
.size-range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--ink); outline-offset: 3px; }
.size-range:hover::-moz-range-thumb, .size-range:active::-moz-range-thumb { transform: scale(1.12); }
.size-stops { position: relative; height: 2.1rem; margin: 0 11px; }
.size-stop { position: absolute; left: var(--at); top: 0; transform: translateX(-50%); padding: 6px 4px; border: 0; background: none; color: var(--mut); font: 700 .85rem/1.2 Lato, sans-serif; white-space: nowrap; cursor: pointer; transition: color .3s ease; }
.size-stop:first-child { transform: translateX(-11px); }
.size-stop:last-child { transform: translateX(calc(-100% + 11px)); }
.size-stop:hover, .size-stop.is-on { color: var(--ink); }
.size-stop.is-on { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
@media (max-width: 480px) { .size-stop { font-size: .74rem; } }

/* choices, refined: one outlined list with hairline dividers; a picked row gets a soft tint and an ink bar on its left */
.picks { border: 1px solid var(--line); }
.pick + .pick { margin-top: 0; border-top: 1px solid var(--line); }
.pick-box { border: 0; padding: 18px 22px 18px 24px; column-gap: 20px; transition: background-color .35s ease; }
.pick-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ink); transform: scaleY(0); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.pick:hover .pick-box { background: color-mix(in srgb, var(--ink) 3%, var(--bg)); }
.pick input:checked + .pick-box { border: 0; background: color-mix(in srgb, var(--ink) 4.5%, var(--bg)); }
.pick input:checked + .pick-box::before { transform: scaleY(1); }
.pick-ic { width: 24px; color: color-mix(in srgb, var(--ink) 38%, var(--bg)); }
.pick-name { font-size: 1.02rem; letter-spacing: -.005em; }
.pick-sub { font-size: .84rem; }
.pick-tick { width: 18px; height: 18px; border-width: 1.5px; border-color: color-mix(in srgb, var(--ink) 25%, var(--bg)); }
.pick:hover .pick-tick { border-color: color-mix(in srgb, var(--ink) 55%, var(--bg)); }
.pick-tick::after { left: 5px; top: 1.5px; width: 4.5px; height: 9px; }
.pick input:focus-visible + .pick-box { outline: 2px solid var(--ink); outline-offset: -2px; }

/* ---------- Our process: five steps down a line that fills as you scroll ---------- */
.steps-wrap { --node: 26px; position: relative; max-width: 980px; }
.steps-rail { position: absolute; left: calc(var(--node) / 2 - 1px); top: var(--rail-top, 0); height: var(--rail-h, 100%); width: 2px; background: var(--line); }
.steps-fill { position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: top; will-change: transform; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.step { position: relative; display: grid; grid-template-columns: var(--node) clamp(70px, 9vw, 130px) 1fr; column-gap: clamp(20px, 3vw, 44px); align-items: start; padding: clamp(26px, 4vh, 40px) 0; }
.step + .step { border-top: 1px solid var(--line); }
/* each step's marker is a small door, outlined until the line reaches it */
.step-node { position: relative; z-index: 1; width: var(--node); aspect-ratio: 5.605 / 7.314; margin-top: .55rem; border: 3px solid color-mix(in srgb, var(--ink) 30%, var(--bg)); background: var(--bg); transition: border-color .5s ease, background-color .5s ease; }
.step-node::after { content: ""; position: absolute; inset: 3px; background: var(--ink); transform: scale(0); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.step.is-on .step-node { border-color: var(--ink); }
.step.is-on .step-node::after { transform: scale(1); }
.step-no { font: 900 clamp(2.4rem, 1.6rem + 2.6vw, 4.4rem)/1 Lato, sans-serif; letter-spacing: -.04em; color: color-mix(in srgb, var(--ink) 18%, var(--bg)); transition: color .6s ease; }
.step.is-on .step-no { color: var(--ink); }
.step-body { padding-top: .35rem; display: grid; gap: 10px; justify-items: start; }
.step-title { margin: 0; font: 900 clamp(1.45rem, 1.1rem + 1.1vw, 2.2rem)/1.1 Lato, sans-serif; letter-spacing: -.02em; }
.step-text { margin: 0; max-width: 46ch; color: var(--mut); font-size: 1.05rem; line-height: 1.6; }
.step-link { margin-top: 4px; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.step-link span { display: inline-block; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.step-link:hover span { transform: translateX(4px); }
@media (max-width: 640px) {
  .steps-wrap { --node: 20px; }
  .step { grid-template-columns: var(--node) 1fr; row-gap: 6px; }
  .step-no { grid-column: 2; font-size: 1.6rem; }
  .step-body { grid-column: 2; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .steps-fill { transform: none; } }

/* Setup: three services, each crediting the partner who delivers it */
.svcs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc { padding-right: clamp(20px, 2.6vw, 40px); }
.svc + .svc { padding-left: clamp(20px, 2.6vw, 40px); }
.svc:last-child { padding-right: 0; }
.svc-title { font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.8rem); }
.svc-by { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 9px; margin-top: 22px; padding: 12px 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .3s ease, background-color .3s ease; }
.svc-by:hover { border-color: color-mix(in srgb, var(--ink) 45%, var(--bg)); background: color-mix(in srgb, var(--ink) 3%, var(--bg)); }
.svc-by-label { font: 700 .7rem/1 Lato, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.svc-by-logo { display: block; height: 17px; width: auto; overflow: visible; }
@media (max-width: 1000px) {
  .svcs { grid-template-columns: 1fr; }
  .svc, .svc + .svc, .svc:last-child { border-left: 0; padding-left: 0; padding-right: 0; }
  .svc + .svc { border-top: 1px solid var(--line); }
}
.svc + .svc:not(:last-child) { padding-right: clamp(20px, 2.6vw, 40px); }
@media (max-width: 1000px) { .svc + .svc:not(:last-child) { padding-right: 0; } }

/* ---------- way in: zoom into the mark's white square, where the page appears ---------- */
.home.fading { opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.zoom { position: fixed; inset: 0; z-index: 50; pointer-events: none; color: var(--ink); will-change: transform; }
.zoom-mark { position: absolute; }
.zoom-mark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.zoom-details { --board: transparent; }
.zoom-window { position: absolute; overflow: hidden; background: var(--bg); opacity: 0; }
.zoom-view { position: absolute; top: 0; transform-origin: 0 0; background: var(--bg); }
.zoom-view > .sub { height: auto; min-height: var(--vh); }

/* ---------- Setup, v4: intro with a service index, then one full-width section per service ---------- */
.setup-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 90px); align-items: end; }
.jump { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.jump li { border-bottom: 1px solid var(--line); }
.jump a { display: grid; grid-template-columns: 34px 22px 1fr auto; align-items: center; gap: 14px; padding: 15px 4px; text-decoration: none; transition: background-color .3s ease, padding .35s cubic-bezier(.2,.8,.2,1); }
.jump a:hover { background: color-mix(in srgb, var(--ink) 4%, var(--bg)); padding-left: 12px; }
.jump .svc-ic { width: 22px; height: auto; }
.jump-no { font: 700 .78rem/1 Lato, sans-serif; letter-spacing: .12em; color: var(--mut); }
.jump-name { font: 900 1.1rem/1.2 Lato, sans-serif; }
.jump-go { color: var(--mut); transition: transform .35s cubic-bezier(.2,.8,.2,1), color .3s ease; }
.jump a:hover .jump-go { transform: translateY(3px); color: var(--ink); }

.srow { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 110px); align-items: center; padding: clamp(40px, 7vh, 88px) 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.srow-flip .srow-visual { order: 2; }
.srow-text { display: grid; justify-items: start; }
.srow-text .eyebrow { margin-bottom: 14px; }
.srow-title { margin: 0; font: 900 clamp(2.2rem, 1.4rem + 2.4vw, 3.8rem)/1 Lato, sans-serif; letter-spacing: -.03em; }
.srow-desc { margin: 18px 0 0; max-width: 44ch; color: var(--mut); font-size: 1.08rem; line-height: 1.65; }
.srow .svc-by { margin-top: 24px; }
.srow-list { width: 100%; margin-top: 26px; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.srow-list li { border-top: 1px solid var(--line); }

/* the illustrations: drawn in the site's own line style, tones from the theme */
.mock { --m: color-mix(in srgb, var(--ink) 9%, var(--bg)); --m2: color-mix(in srgb, var(--ink) 18%, var(--bg)); --m3: color-mix(in srgb, var(--ink) 34%, var(--bg));
  position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 3%, var(--bg)); overflow: hidden; display: grid; place-items: center; }
.mock em { display: block; height: 7px; background: var(--m2); }
.mock .w35 { width: 35%; } .mock .w40 { width: 40%; } .mock .w45 { width: 45%; } .mock .w50 { width: 50%; } .mock .w55 { width: 55%; }
.mock .w60 { width: 60%; } .mock .w70 { width: 70%; } .mock .w75 { width: 75%; } .mock .w80 { width: 80%; }
/* website */
.mock-web { padding: 9% 8%; place-items: stretch; }
.mock-web > * { width: 100%; }
.mw-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 3px solid var(--ink); border-bottom: 0; background: var(--bg); }
.mw-bar i { width: 7px; height: 7px; background: var(--ink); border-radius: 50%; }
.mw-url { margin-left: 14px; padding: 2px 10px; font: 700 .7rem/1.4 Lato, sans-serif; color: var(--mut); background: var(--m); }
.mw-page { display: grid; gap: 14px; padding: 14px; border: 3px solid var(--ink); background: var(--bg); }
.mw-nav { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mw-nav b { width: 18px; height: 22px; border: 3px solid var(--ink); margin-right: auto; }
.mw-nav span { width: 34px; height: 5px; background: var(--m3); }
.mw-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; align-items: center; }
.mw-hero div { display: grid; gap: 7px; }
.mw-hero em.w70 { height: 12px; background: var(--ink); }
.mw-hero u { display: block; width: 38%; height: 16px; margin-top: 6px; background: var(--ink); }
.mw-hero figure { margin: 0; aspect-ratio: 4 / 3; background: var(--m2); }
.mw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mw-cards > div { display: grid; gap: 5px; }
.mw-cards figure { margin: 0 0 3px; aspect-ratio: 16 / 10; background: var(--m); border: 1px solid var(--line); }
.mw-cards em { height: 5px; }
/* brand */
.mock-brand { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr auto; gap: 14px; padding: 8%; place-items: stretch; }
.mock-brand > div { border: 3px solid var(--ink); background: var(--bg); }
.mb-type { display: grid; align-content: center; gap: 14px; padding: 8% 10%; }
.mb-aa { font: 900 clamp(3.2rem, 2rem + 4vw, 6rem)/.9 Lato, sans-serif; letter-spacing: -.04em; }
.mb-type div { display: grid; gap: 7px; }
.mb-mark { display: grid; place-items: center; color: var(--ink); }
.mb-mark svg { width: 44%; height: auto; }
.mb-swatches { display: grid; grid-template-columns: repeat(4, 1fr); border-width: 3px; }
.mb-swatches i { aspect-ratio: 1.6; background: color-mix(in srgb, var(--ink) var(--t), var(--bg)); }
.mb-swatches i + i { border-left: 3px solid var(--ink); }
.mb-scale { display: grid; align-content: center; gap: 8px; padding: 10% 12%; }
.mb-scale .s1 { width: 78%; height: 14px; background: var(--ink); } .mb-scale .s2 { width: 58%; height: 9px; } .mb-scale .s3 { width: 42%; height: 6px; background: var(--m3); }
/* app */
.mock-app { padding: 6% 0; }
.ma-phone { position: relative; width: min(46%, 230px); aspect-ratio: 9 / 18; display: grid; align-content: start; gap: 10px; padding: 32px 14px 14px; border: 4px solid var(--ink); border-radius: 22px; background: var(--bg); }
.ma-notch { position: absolute; top: 9px; left: 50%; width: 32%; height: 7px; margin-left: -16%; border-radius: 6px; background: var(--ink); }
.ma-head { display: flex; align-items: center; justify-content: space-between; }
.ma-head em { height: 10px; background: var(--ink); }
.ma-head b { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--ink); }
.ma-event { display: grid; gap: 6px; padding: 12px; border: 3px solid var(--ink); background: var(--m); }
.ma-faces { display: flex; align-items: center; margin-top: 4px; }
.ma-faces i { width: 18px; height: 18px; border-radius: 50%; background: var(--m3); border: 2px solid var(--bg); margin-right: -5px; }
.ma-faces span { margin-left: 10px; font: 900 .7rem/1 Lato, sans-serif; }
.ma-row { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ma-row i { width: 26px; height: 26px; border-radius: 50%; background: var(--m2); }
.ma-row div { display: grid; gap: 5px; }
.ma-row em { height: 6px; }
.ma-tabs { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid var(--line); }
.ma-tabs i { width: 16px; height: 16px; border: 2.5px solid var(--m3); }
.ma-tabs i.on { border-color: var(--ink); background: var(--ink); }

/* building in as each section scrolls into view (only for sections that start off-screen) */
.srow.is-waiting .mock > *, .srow.is-waiting .srow-text > * { opacity: 0; transform: translateY(18px); }
.srow.is-in .mock > *, .srow.is-in .srow-text > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.srow.is-in .mock > :nth-child(2), .srow.is-in .srow-text > :nth-child(2) { animation-delay: .08s; }
.srow.is-in .mock > :nth-child(3), .srow.is-in .srow-text > :nth-child(3) { animation-delay: .16s; }
.srow.is-in .mock > :nth-child(4), .srow.is-in .srow-text > :nth-child(4) { animation-delay: .24s; }
.srow.is-in .srow-text > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .setup-intro { grid-template-columns: 1fr; }
  .srow { grid-template-columns: 1fr; }
  .srow-flip .srow-visual { order: 0; }
}
@media (max-width: 520px) {
  .srow-list { grid-template-columns: 1fr; }
  .mw-cards { grid-template-columns: repeat(2, 1fr); } .mw-cards > div:last-child { display: none; }
  .ma-phone { width: 52%; }
}
/* illustration fixes: the brand board keeps to its box, and the phone is sized by height so it always fits */
.mock-brand { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
.mock-brand > div { min-width: 0; min-height: 0; }
.mb-aa { font-size: clamp(2.6rem, 1.4rem + 3vw, 4.8rem); }
.ma-phone { width: auto; height: 86%; max-width: 70%; padding: 11% 6% 6%; gap: 4%; }
@media (max-width: 520px) { .ma-phone { width: auto; } .ma-row:nth-of-type(5) { display: none; } }
.mb-swatches { min-height: 0; }
.mb-swatches i { aspect-ratio: auto; height: 100%; min-height: 54px; }
.mock-app { display: block; }
.ma-phone { position: absolute; top: 7%; height: 86%; left: 50%; width: auto; max-width: none; aspect-ratio: 9 / 18; transform: translateX(-50%); }
.srow.is-in .mock-app > .ma-phone, .srow.is-waiting .mock-app > .ma-phone { animation-name: rise-phone; }
.srow.is-waiting .mock-app > .ma-phone { opacity: 0; transform: translate(-50%, 18px); }
@keyframes rise-phone { from { opacity: 0; transform: translate(-50%, 18px); } to { opacity: 1; transform: translateX(-50%); } }
.ma-phone { overflow: hidden; }
@media (max-width: 760px) { .ma-row ~ .ma-row { display: none; } .ma-phone { gap: 6%; } }
@media (max-width: 760px) { .mock-app { aspect-ratio: 4 / 5; } .ma-row ~ .ma-row { display: grid; } .ma-row ~ .ma-row ~ .ma-row { display: none; } }
