/* Zipstem — site styles
   Display: Anybody (variable width axis does the "unzip"). Text: Hanken Grotesk. */

@property --wdth { syntax: '<number>'; inherits: true; initial-value: 104; }

:root {
  --ink: #0E0B2B;
  --night: #170C55;
  --fabric: #1A1546;
  --paper: #F6F4FF;
  --lilac: #E4E0FA;
  --metal: #D7DAF0;
  --indigo: #2E25F6;
  --violet: #7231FF;
  --cyan: #00CFFF;
  --tangerine: #FF6B2C;
  --pink: #FF3D8B;
  --sun: #FFC22E;
  --lime: #C6F432;

  --font-d: "Anybody", "Arial Narrow", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-t: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --g: max(clamp(20px, 5vw, 80px), env(safe-area-inset-left, 0px));
  --maxw: 1360px;
  --hdr: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1.0625rem/1.6 var(--font-t);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; }
address { font-style: normal; }
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--hdr) + 24px); }
:focus-visible { outline: 3px solid var(--focus, var(--cyan)); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--ink); }

.skip { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--lime); color: var(--ink); padding: .7em 1em; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--g); }

/* ---------- type ---------- */
.d { font-family: var(--font-d); font-weight: 800; font-stretch: 108%; line-height: .98; letter-spacing: -.012em; text-wrap: balance; }
.h-xl { font-size: clamp(2.2rem, 5.4vw, 5.2rem); }
.h-lg { font-size: clamp(1.9rem, 3.8vw, 3.5rem); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 46ch; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .8em;
  padding: .95em 1.05em .95em 1.4em; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--btn-bg, var(--paper)); color: var(--btn-fg, var(--ink));
  font: 700 1rem/1 var(--font-d); font-stretch: 104%; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.btn::after, .pulltab {
  content: ""; display: inline-block; flex: none; width: 1.9em; height: .95em; border-radius: .5em; background: currentColor;
  -webkit-mask: radial-gradient(circle at 72% 50%, transparent .19em, #000 .21em); mask: radial-gradient(circle at 72% 50%, transparent .19em, #000 .21em);
  transition: transform .4s var(--ease);
}
.btn:hover::after, a:hover > .pulltab, a:hover .fcard__go .pulltab { transform: translateX(.4em); }
.btn:hover { background: var(--lime); color: var(--ink); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--paper); }
.btn--sm { font-size: .88rem; padding: .8em .9em .8em 1.15em; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link {
  display: inline-block; font-weight: 700; padding-bottom: 7px;
  background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px) 0 100% / 100% 3px repeat-x;
  transition: background-position .5s var(--ease);
}
.link:hover { background-position: 14px 100%; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 14px var(--g); pointer-events: none; }
.hdr > * { pointer-events: auto; }
.brand {
  display: inline-flex; align-items: center; gap: .5em; margin-right: auto; padding: .5em .95em .5em .55em;
  background: var(--ink); color: var(--paper); border: 1px solid rgba(246, 244, 255, .16); border-radius: 12px;
  font: 800 1.05rem/1 var(--font-d); font-stretch: 118%;
}
.brand svg { width: 1.75em; height: 1.75em; }
.hdr__nav { display: flex; gap: 2px; padding: 4px; background: rgba(14, 11, 43, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(246, 244, 255, .16); border-radius: 12px; }
.hdr__nav a { padding: .55em .85em; border-radius: 8px; color: var(--paper); font-weight: 600; font-size: .92rem; line-height: 1.2; transition: background-color .2s; }
.hdr__nav a:hover, .hdr__nav a[aria-current] { background: rgba(246, 244, 255, .14); }
.hdr__cta { --btn-bg: var(--lime); border: 1px solid var(--ink); }
.hdr__cta:hover { background: var(--paper); }
.menu-btn { display: none; align-items: center; gap: .6em; padding: .7em .95em; background: var(--ink); color: var(--paper); border: 1px solid rgba(246, 244, 255, .16); border-radius: 12px; font: 700 .92rem/1 var(--font-d); cursor: pointer; }
.menu-btn__teeth { width: 18px; height: 14px; background:
  linear-gradient(currentColor, currentColor) 0 0 / 11px 3px no-repeat,
  linear-gradient(currentColor, currentColor) 100% 50% / 11px 3px no-repeat,
  linear-gradient(currentColor, currentColor) 0 100% / 11px 3px no-repeat; transition: background-size .3s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn__teeth { background-size: 18px 3px; }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--paper); padding: calc(var(--hdr) + 28px) var(--g) 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto; animation: menu-in .45s var(--ease); }
@keyframes menu-in { from { clip-path: polygon(0 0, 100% 0, 50% 0); } to { clip-path: polygon(-60% 0, 160% 0, 50% 260%); } }
.menu nav { display: grid; }
.menu nav a { font: 800 clamp(1.7rem, 7.4vw, 2.6rem)/1.05 var(--font-d); font-stretch: 100%; padding: .32em 0; border-bottom: 1px solid rgba(246, 244, 255, .14); display: flex; align-items: center; gap: .5em; }
.menu nav a[style]::before { content: ""; width: .5em; height: .24em; border-radius: .1em; background: var(--acc); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
body.menu-open { overflow: hidden; }

/* ---------- zip (the seam between sections) ---------- */
.zip { --zh: clamp(140px, 20vw, 290px); position: relative; margin-block: -1px; height: var(--zh); background: linear-gradient(var(--a) 50%, var(--b) 50%); overflow: clip; }
.zip canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.zip__lining {
  position: absolute; inset: 2px 0;
  background: var(--lining) url(/assets/img/light-sm.webp) center / cover; background-blend-mode: overlay;
  clip-path: polygon(0 14%, 94% 50%, 0 86%);
}
.zip__lining--light { background-blend-mode: normal; }
.zip[data-dir="rtl"] .zip__lining { clip-path: polygon(100% 14%, 6% 50%, 100% 86%); }
.zip__tag {
  position: absolute; left: 0; top: 0; transform-origin: 50% -6px; will-change: transform; white-space: nowrap;
  padding: .5em .8em .45em; border-radius: 3px; background: var(--paper); color: var(--ink);
  font: 700 clamp(.68rem, 1vw, .82rem)/1 var(--font-d); font-stretch: 104%;
  box-shadow: 0 6px 16px -6px rgba(14, 11, 43, .6), inset 0 0 0 1px rgba(14, 11, 43, .16);
  opacity: 0;
}
.zip__tag::before { content: ""; position: absolute; left: 50%; top: -7px; width: 2px; height: 8px; background: var(--metal); translate: -50% 0; }
.zip.is-live .zip__tag { opacity: 1; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--hdr) + 24px) var(--g) clamp(28px, 6vh, 64px);
  background: linear-gradient(transparent 72%, var(--ink)), var(--ink) url(/assets/img/fabric.webp) center / cover; color: var(--paper);
}
.zip--hero { --zx: .72; position: absolute; inset: 0; margin: 0; height: auto; background: none; z-index: 0; overflow: visible; }
.zip--hero .zip__lining { inset: 0; background: var(--night) url(/assets/img/light.webp) center / cover; clip-path: polygon(52% 0, 92% 0, 72% 58%); }
.zip--hero video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s; }
.zip--hero video.is-on { opacity: 1; }
.zip__handle { position: absolute; left: 0; top: 0; width: 76px; height: 132px; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; border-radius: 16px; }
.zip__handle:active { cursor: grabbing; }
.zip__hint {
  position: absolute; left: 0; top: 0; white-space: nowrap; pointer-events: none;
  font: 700 .8rem/1 var(--font-d); color: var(--ink); background: var(--lime); padding: .55em .8em; border-radius: 3px;
  opacity: 0; transition: opacity .5s;
}
.zip--hero.is-live .zip__hint { opacity: 1; }
.zip--hero.is-used .zip__hint { opacity: 0; }

.hero__body { position: relative; z-index: 2; max-width: min(62%, 900px); pointer-events: none; }
.hero__body > * { pointer-events: auto; }
.hero__title { font-size: clamp(2.6rem, 5.5vw, 6rem); line-height: .96; }
.hero__title .ln, .fhero__title .ln { display: block; white-space: nowrap; font-stretch: normal; font-variation-settings: "wdth" var(--wdth); }
.js .hero__title .ln, .js .fhero__title .ln { animation: unzip 1.25s var(--ease) both; animation-delay: calc(var(--i) * 120ms + 200ms); }
@keyframes unzip { from { --wdth: 50; opacity: 0; } 25% { opacity: 1; } to { --wdth: 104; opacity: 1; } }
.hero__lead { margin-top: 1.3em; max-width: 44ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; color: #dedbf7; text-shadow: 0 1px 12px rgba(14, 11, 43, .8); }
.hero__actions { margin-top: 1.7em; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.js .hero__lead, .js .hero__actions { animation: rise .9s var(--ease) .75s both; }
.js .hero__actions { animation-delay: .9s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- sections ---------- */
.s { --bg: var(--paper); --fg: var(--ink); --muted: #4d4a72; --line: rgba(14, 11, 43, .14); --focus: var(--indigo);
  position: relative; background: var(--bg); color: var(--fg); padding-block: clamp(36px, 5.5vw, 88px); }
.zip + .s { padding-top: clamp(12px, 2vw, 32px); }
.s:has(+ .zip) { padding-bottom: clamp(12px, 2vw, 32px); }
.s--ink { --bg: var(--ink); --fg: var(--paper); --muted: #bdb8e6; --line: rgba(246, 244, 255, .16); --focus: var(--cyan); }
.s--night { --bg: var(--night); --fg: var(--paper); --muted: #c6c1ee; --line: rgba(246, 244, 255, .18); --focus: var(--cyan); }
.s--indigo { --bg: var(--indigo); --fg: #fff; --muted: #e3e2ff; --line: rgba(255, 255, 255, .3); --focus: #fff; }

/* snag */
.snag__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.snag__head { position: sticky; top: calc(var(--hdr) + 32px); }
.snag__pull { margin-top: 1.1em; max-width: 17ch; font-size: clamp(1.3rem, 2.3vw, 2.1rem); line-height: 1.08; color: var(--indigo); font-stretch: 100%; }
.snag__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
.snag__list { list-style: none; padding: 0; margin-top: 12px; }
.snag__list li { position: relative; padding: 1.15em 0 1.55em; font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 600; line-height: 1.35; }
.snag__list li::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 6px);
  -webkit-mask: linear-gradient(90deg, #000 50%, rgba(0, 0, 0, .2) 50%); mask: linear-gradient(90deg, #000 50%, rgba(0, 0, 0, .2) 50%); }
.snag__list li::before { content: ""; position: absolute; left: 50%; bottom: -5px; width: 14px; height: 18px; border-radius: 4px 4px 6px 6px; background: var(--indigo); translate: -50% 0; z-index: 1; }

/* services intro */
.svc-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pulls { list-style: none; padding: 0; margin-top: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.pulls a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .25em 1em; align-items: baseline; padding: 1.05em .2em; border-top: 1px solid var(--line); transition: background-color .25s, padding .35s var(--ease); }
.pulls a::before { content: ""; grid-row: 1 / 3; align-self: center; width: 2.4em; height: 1.05em; border-radius: .55em; background: var(--acc);
  -webkit-mask: radial-gradient(circle at 74% 50%, transparent .2em, #000 .22em); mask: radial-gradient(circle at 74% 50%, transparent .2em, #000 .22em); transition: transform .4s var(--ease); }
.pulls a:hover { background: rgba(246, 244, 255, .06); padding-left: .8em; }
.pulls a:hover::before { transform: translateX(.3em); }
.pulls b { font: 700 clamp(1.15rem, 1.7vw, 1.5rem)/1.15 var(--font-d); }
.pulls span { grid-column: 2; color: var(--muted); font-size: .98rem; }

/* service blocks */
.svc__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.svc--flip .svc__grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.svc--flip .svc__copy { order: 2; }
.svc__copy > p { margin-top: 1.2em; max-width: 48ch; color: var(--muted); font-size: 1.1rem; }
.teeth { list-style: none; padding: 0; margin-top: 1.6em; max-width: 48ch; }
.teeth li { position: relative; padding: .7em 0 .7em 2.2em; border-top: 1px solid var(--line); font-weight: 600; }
.teeth li::before { content: ""; position: absolute; left: 0; top: 1.28em; width: 1.1em; height: .5em; border-radius: .16em; background: var(--acc); box-shadow: inset 0 0 0 1px rgba(14, 11, 43, .25); }
.teeth li:nth-child(even)::before { left: .45em; }
.demo figcaption { margin-top: 1em; font-size: .86rem; color: var(--muted); max-width: 60ch; }

/* demo: before / after */
.cmp__stage { --x: 46%; position: relative; aspect-ratio: 16 / 10.5; border-radius: 10px; overflow: hidden; container-type: inline-size; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -40px rgba(14, 11, 43, .5); }
.cmp__pane { position: absolute; inset: 0; }
.cmp__before { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.cmp__range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--x); z-index: 2; width: 12px; translate: -50% 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, var(--metal) 0 5px, var(--ink) 5px 8px); border-inline: 2px solid var(--ink); }
.cmp__handle span { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 34px; height: 44px; border-radius: 9px 9px 13px 13px; border: 2px solid var(--ink); background: linear-gradient(90deg, #f7f8ff, #a9afd8 55%, #e8eafb); }
.cmp__handle span::after { content: ""; position: absolute; left: 50%; top: 60%; translate: -50% 0; width: 16px; height: 44px; border-radius: 8px; border: 2px solid var(--ink); background: radial-gradient(circle at 50% 76%, var(--ink) 3.5px, transparent 4px), linear-gradient(90deg, #f7f8ff, #b9bee0); }
.cmp__range:focus-visible ~ .cmp__handle span { outline: 3px solid var(--indigo); outline-offset: 3px; }
.cmp__label { position: absolute; bottom: 10px; z-index: 2; padding: .45em .7em; border-radius: 3px; background: var(--ink); color: var(--paper); font: 700 .7rem/1 var(--font-d); pointer-events: none; }
.cmp__label--l { left: 10px; } .cmp__label--r { right: 10px; }

.site-new { height: 100%; display: flex; flex-direction: column; background: #fff; color: #101b3f; font-size: 2.2cqw; line-height: 1.35; }
.site-new__nav { display: flex; align-items: center; gap: 2.8cqw; padding: 2cqw 3cqw; font-size: 1.85cqw; font-weight: 600; border-bottom: 1px solid #e8ebf5; }
.site-new__nav b { margin-right: auto; font: 800 2.5cqw/1 var(--font-d); }
.site-new i { font-style: normal; font-weight: 700; background: #ff6b2c; color: #fff; padding: .9cqw 2cqw; border-radius: 99px; }
.site-new__hero { flex: 1; min-height: 0; display: grid; grid-template-columns: .9fr 1.1fr; }
.site-new__hero > div { align-self: center; padding: 3cqw; }
.site-new__hero img { width: 100%; height: 100%; object-fit: cover; }
.site-new__h { font: 800 5.7cqw/1 var(--font-d); letter-spacing: -.01em; }
.site-new__p { margin: 1.8cqw 0 2.6cqw; color: #46507a; }
.site-new__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5cqw; }
.site-new__cta i { font-size: 2.3cqw; padding: 1.4cqw 2.8cqw; }
.site-new__cta span { font-size: 1.8cqw; font-weight: 600; color: #46507a; }

.site-old { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 1.7cqw; padding: 3cqw; text-align: center;
  font: 2.5cqw/1.3 "Times New Roman", Times, serif; color: #ffff8a;
  background: #0a6b6b repeating-conic-gradient(rgba(255, 255, 255, .06) 0 25%, transparent 0 50%) 0 0 / 5cqw 5cqw; }
.site-old__h { font-size: 4cqw; font-weight: bold; color: #ffee33; text-shadow: .3cqw .3cqw 0 #c40000; }
.site-old__nav { color: #fff; } .site-old__nav u { color: #9fd0ff; }
.site-old__box { align-self: center; padding: .8cqw 1.6cqw; border: .5cqw ridge #c0c0c0; background: #000080; color: #fff; font: 1.9cqw "Courier New", monospace; }
.site-old__blink { align-self: center; padding: .3cqw 1.4cqw; background: #ff0; color: #d00000; font-weight: bold; }
.site-old__count b { padding: .2cqw .9cqw; background: #000; color: #2f2; font-family: "Courier New", monospace; }
.site-old__small { font-size: 1.9cqw; color: #cfe; }

/* demo: chat */
.chat { max-width: 470px; margin-inline: auto; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -40px rgba(0, 207, 255, .5); }
.chat__head { display: flex; align-items: center; gap: .8em; padding: 14px 16px; background: var(--fabric); color: var(--paper); }
.chat__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cyan); color: var(--ink); font: 800 1.1rem/1 var(--font-d); }
.chat__head p { line-height: 1.25; } .chat__head b { display: block; } .chat__head p span { font-size: .8rem; color: #c9c5ee; }
.chat__log { list-style: none; margin: 0; padding: 16px; height: 330px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: var(--paper); scroll-behavior: smooth; }
.chat__log li { max-width: 84%; padding: .7em .95em; border-radius: 16px; font-size: .95rem; line-height: 1.45; animation: bubble .35s var(--ease) both; }
@keyframes bubble { from { opacity: 0; transform: translateY(8px) scale(.97); } }
.chat__log .bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 0 rgba(14, 11, 43, .1); }
.chat__log .me { align-self: flex-end; background: var(--indigo); color: #fff; border-bottom-right-radius: 4px; }
.chat__log .receipt { align-self: flex-start; background: var(--lime); font-weight: 700; font-size: .85rem; border-radius: 8px; }
.chat__log .typing { display: flex; gap: 4px; padding: .95em; }
.chat__log .typing i { width: 7px; height: 7px; border-radius: 50%; background: #8a86b5; animation: dot 1s infinite; }
.chat__log .typing i:nth-child(2) { animation-delay: .15s; } .chat__log .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid rgba(14, 11, 43, .1); min-height: 66px; --focus: var(--indigo); }
.chat__chips button { padding: .6em .95em; border-radius: 999px; border: 1.5px solid var(--indigo); background: #fff; color: var(--indigo); font: 600 .88rem/1.2 var(--font-t); cursor: pointer; transition: background-color .2s, color .2s; }
.chat__chips button:hover { background: var(--indigo); color: #fff; }
.chat__chips button[disabled] { opacity: .45; cursor: default; }

/* demo: calendar */
.cal { padding: clamp(14px, 2vw, 22px); border-radius: 14px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 40px 70px -40px rgba(14, 11, 43, .5); }
.cal__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.cal__head b { font-family: var(--font-d); font-weight: 800; }
.cal__count b { font-size: 1.6rem; }
.cal__grid { display: grid; grid-template-columns: 2.9em repeat(6, minmax(0, 1fr)); gap: 5px; font-size: .78rem; }
.cal__grid .hd { text-align: center; font-weight: 700; padding-bottom: 2px; }
.cal__grid .tm { align-self: center; font-size: .72rem; color: #5b5880; }
.cal__slot { height: 38px; padding: 0 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-radius: 7px; border: 1.5px dashed rgba(14, 11, 43, .26); background: none; color: var(--ink); font: 600 .74rem/1 var(--font-t); cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.cal__slot:hover { border-style: solid; border-color: var(--ink); background: rgba(255, 194, 46, .3); }
.cal__slot.is-booked { border: 0; background: var(--c, var(--lilac)); cursor: default; }
.cal__slot.is-you { border: 0; background: var(--ink); color: var(--sun); animation: pop .4s var(--ease); }
@keyframes pop { from { transform: scale(.8); } }
.cal__toast { margin-top: 12px; padding: .65em .85em; border-radius: 8px; background: var(--paper); font-size: .88rem; font-weight: 600; }

/* demo: reviews */
.rev { max-width: 520px; margin-inline: auto; display: grid; gap: 14px; }
.rev__sms { padding: 16px; border-radius: 16px; background: var(--fabric); border: 1px solid var(--line); }
.rev__from { margin-bottom: 8px; font-size: .78rem; color: var(--muted); }
.rev__bubble { max-width: 36ch; padding: .8em 1em; border-radius: 16px 16px 16px 4px; background: #2c2569; font-size: .95rem; line-height: 1.45; }
.rev__stars { display: flex; gap: 2px; margin-top: 12px; }
.rev__stars button { padding: 2px 5px; border: 0; background: none; color: rgba(246, 244, 255, .28); font-size: 2.1rem; line-height: 1; cursor: pointer; transition: transform .2s var(--ease), color .2s; }
.rev__stars button:hover { transform: scale(1.15); }
.rev__stars button.on { color: var(--sun); }
.rev__board { padding: 18px; border-radius: 16px; background: #fff; color: var(--ink); --focus: var(--indigo); }
.rev__score { display: flex; align-items: center; gap: 14px; }
.rev__score b { font: 800 3rem/1 var(--font-d); font-variant-numeric: tabular-nums; }
.rev__score > span { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.rev__meter { display: block; width: 130px; height: 8px; border-radius: 4px; background: var(--lilac); overflow: hidden; }
.rev__meter i { display: block; height: 100%; width: 96%; background: #e9a400; transition: width .6s var(--ease); }
.rev__list { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 10px; }
.rev__list li { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding-top: 10px; border-top: 1px solid rgba(14, 11, 43, .1); font-size: .9rem; }
.rev__list li span:last-child { grid-column: 1 / -1; }
.rev__list li.is-new { animation: bubble .5s var(--ease); }
.rev__s { color: #c98a00; letter-spacing: .05em; }
.rev__draft { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--paper); border: 1.5px dashed rgba(14, 11, 43, .3); display: grid; gap: 8px; justify-items: start; font-size: .92rem; }
.rev__draft-h { font-weight: 700; font-size: .8rem; }

/* how */
.how__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.how__steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: repeating-linear-gradient(90deg, var(--metal) 0 5px, transparent 5px 9px) 0 0 / 100% 9px no-repeat; }
.how__steps li { position: relative; padding: 46px clamp(18px, 3vw, 48px) 0 0; }
.how__steps li::before { content: ""; position: absolute; left: 0; top: -6px; width: 26px; height: 21px; border-radius: 5px 5px 8px 8px; background: linear-gradient(90deg, #f7f8ff, #a9afd8 55%, #e8eafb); box-shadow: 0 0 0 2px var(--night); }
.how__steps li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 10px; height: 26px; border-radius: 5px; background: var(--lime); }
.how__n { display: block; margin-bottom: .16em; font-size: clamp(5rem, 11vw, 10rem); font-weight: 900; font-stretch: 150%; line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--lime); }
.how__steps h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); margin-bottom: .5em; }
.how__steps p { color: var(--muted); max-width: 34ch; }

/* local + founder card */
.local__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.local__copy > p { margin-top: 1.2em; max-width: 48ch; }
.local__areas { margin-top: 1.5em; display: grid; gap: 0; }
.local__areas div { padding: .85em 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 6.5em 1fr; gap: 1em; }
.local__areas dt { font: 700 1rem/1.5 var(--font-d); } .local__areas dd { color: var(--muted); }
.fcard { position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 11; border-radius: 10px; color: #fff; --focus: var(--indigo); }
.fcard img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.fcard:hover img { scale: 1.04; }
.fcard__body { position: absolute; inset: auto 0 0 0; display: grid; gap: .7em; padding: clamp(60px, 9vw, 120px) clamp(18px, 3vw, 36px) clamp(18px, 3vw, 32px); background: linear-gradient(transparent, rgba(14, 11, 43, .9) 70%); }
.fcard__h { max-width: 15ch; font-size: clamp(1.5rem, 2.8vw, 2.5rem); }
.fcard__go { display: inline-flex; align-items: center; gap: .7em; font-weight: 700; }

/* contact */
.talk__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.talk__copy > * + * { margin-top: 1.3em; }
.talk__copy a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.talk__mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.talk__mail a { font: 800 clamp(1.25rem, 2.3vw, 1.9rem)/1.1 var(--font-d); text-decoration: none; }
.copy { padding: .45em .8em; border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, .6); background: none; font-weight: 700; font-size: .82rem; cursor: pointer; }
.copy:hover { background: #fff; color: var(--indigo); }
.form { --focus: var(--indigo); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(18px, 3vw, 36px); border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(14, 11, 43, .7); }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-weight: 700; font-size: .92rem; }
.field legend { margin-bottom: 6px; }
.opt { font-weight: 400; color: #5b5880; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { width: 100%; padding: .8em .9em; border-radius: 8px; border: 1.5px solid rgba(14, 11, 43, .32); background: #fff; color: var(--ink); font: inherit; }
.form textarea { resize: vertical; min-height: 7em; }
.form [aria-invalid="true"] { border-color: #c4123f; }
.field__err { color: #b00f38; font-size: .85rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chipbox { position: relative; }
.chipbox input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chipbox span { display: inline-block; padding: .55em .95em; border-radius: 999px; border: 1.5px solid rgba(14, 11, 43, .32); font-weight: 600; font-size: .9rem; transition: background-color .2s; }
.chipbox input:checked + span { background: var(--acc); border-color: var(--ink); }
.chipbox input:focus-visible + span { outline: 3px solid var(--indigo); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 16px; }
.form__status { font-weight: 600; font-size: .95rem; }
.form__status[data-kind="ok"] { color: #0a6638; } .form__status[data-kind="err"] { color: #b00f38; }

/* ---------- footer ---------- */
.foot { --focus: var(--cyan); background: var(--ink); color: var(--paper); padding-top: clamp(48px, 7vw, 100px); overflow: clip; }
.foot__grid { display: grid; grid-template-columns: 1.5fr repeat(3, .75fr) 1.15fr; gap: 32px clamp(20px, 3vw, 48px); }
.foot__line { max-width: 12ch; font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
.foot__h { margin-bottom: .9em; font: 700 .95rem/1.2 var(--font-d); color: #bdb8e6; }
.foot ul { list-style: none; padding: 0; display: grid; gap: .5em; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__note { margin-top: 1em; font-size: .82rem; color: #bdb8e6; max-width: 34ch; }
.foot__mark { margin: .3em 0 0; text-align: center; white-space: nowrap; text-transform: uppercase; font-size: 13.7vw; font-weight: 900; font-stretch: 150%; line-height: .86; letter-spacing: -.01em;
  background: url(/assets/img/light.webp) center / cover; -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; font-size: .85rem; color: #bdb8e6; }
.foot__base a { margin-left: 20px; } .foot__base a:first-child { margin-left: 0; }

/* ---------- founder page ---------- */
.fhero { position: relative; isolation: isolate; min-height: min(100svh, 980px); display: flex; align-items: flex-end; padding: calc(var(--hdr) + 40px) 0 clamp(28px, 6vh, 64px); background: var(--ink); color: #fff; overflow: clip; }
.fhero > .wrap { width: 100%; }
.fhero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { scale: 1.08; } }
.fhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 11, 43, .5) 0, rgba(14, 11, 43, 0) 26%, rgba(14, 11, 43, .15) 42%, rgba(14, 11, 43, .82) 74%, var(--ink) 100%), linear-gradient(90deg, rgba(14, 11, 43, .55), rgba(14, 11, 43, 0) 65%); }
.fhero__kicker { font-weight: 700; font-size: 1.05rem; margin-bottom: .8em; }
.fhero__title { font-size: clamp(2.5rem, 7.4vw, 7.6rem); line-height: 1; text-shadow: 0 2px 30px rgba(14, 11, 43, .55); }
.fhero__lead { margin-top: 1.2em; max-width: 50ch; font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.5; }

.letter__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.letter__side { position: sticky; top: calc(var(--hdr) + 28px); display: grid; justify-items: end; }
.letter__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 0; border-radius: 8px; box-shadow: 0 40px 70px -40px rgba(14, 11, 43, .55); }
.wovenlabel { position: relative; margin: -56px -14px 0 0; width: min(86%, 300px); rotate: -3deg; padding: 30px 26px 26px; background: #fffdf6; color: var(--ink); border-radius: 4px; text-align: center;
  box-shadow: 0 30px 50px -30px rgba(14, 11, 43, .55), inset 0 0 0 1px rgba(14, 11, 43, .12);
  background-image: repeating-linear-gradient(0deg, rgba(14, 11, 43, .035) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(14, 11, 43, .03) 0 1px, transparent 1px 3px); }
.wovenlabel::before { content: ""; position: absolute; inset: 9px; border: 2px dashed var(--indigo); border-radius: 2px; opacity: .55; pointer-events: none; }
.wovenlabel__mono { font-size: clamp(4rem, 8vw, 5.6rem); font-weight: 900; font-stretch: 60%; line-height: .9; letter-spacing: .01em; color: var(--indigo); }
.wovenlabel__name { margin-top: .5em; font: 800 1.05rem/1.2 var(--font-d); }
.wovenlabel dl { margin-top: 1.1em; display: grid; gap: 0; font-size: .86rem; text-align: left; }
.wovenlabel dl div { display: flex; justify-content: space-between; gap: 12px; padding: .5em 0; border-top: 1px solid rgba(14, 11, 43, .16); }
.wovenlabel dt { font-weight: 700; } .wovenlabel dd { text-align: right; }
.letter__lead { font-size: clamp(1.5rem, 3vw, 2.7rem); line-height: 1.06; font-stretch: 100%; margin-bottom: .9em; }
.letter__body p:not(.letter__lead):not(.letter__sign) { max-width: 60ch; font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.65; }
.letter__body p + p { margin-top: 1.1em; }
.letter__sign { margin-top: 1.4em !important; font-size: clamp(2rem, 4vw, 3.4rem); font-stretch: 62%; font-weight: 700; font-style: italic; color: var(--indigo); }

.care__head { max-width: 22ch; margin-bottom: clamp(28px, 4vw, 56px); }
.care__list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.care__list li { padding: 28px clamp(14px, 2vw, 28px) 8px 0; }
.care__list li + li { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.care__list svg { width: 54px; height: 54px; margin-bottom: 18px; stroke: var(--lime); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.care__list svg text { fill: var(--lime); stroke: none; font: 800 15px var(--font-d); }
.care__list h3 { font: 700 1.15rem/1.2 var(--font-d); margin-bottom: .5em; }
.care__list p { color: var(--muted); font-size: .96rem; }

.meet__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.meet__ways { list-style: none; padding: 0; }
.meet__ways li { padding: 1.2em 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 10em 1fr; gap: 1em; }
.meet__ways h3 { font: 700 1.15rem/1.3 var(--font-d); }
.meet__ways p { color: var(--muted); }
.meet__copy > * + * { margin-top: 1.2em; }

.cta { text-align: left; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.cta__actions { display: grid; gap: 14px; justify-items: start; }
.cta__actions a:not(.btn) { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- document pages ---------- */
.dhero { padding: calc(var(--hdr) + clamp(48px, 9vw, 120px)) 0 clamp(28px, 4vw, 56px); background: var(--ink) url(/assets/img/fabric.webp) center / cover; color: var(--paper); }
.dhero p { margin-top: 1.2em; color: #dedbf7; }
.doc { display: grid; grid-template-columns: 230px minmax(0, 68ch); gap: clamp(32px, 6vw, 96px); align-items: start; }
.doc__toc { position: sticky; top: calc(var(--hdr) + 32px); font-size: .92rem; }
.doc__toc h2 { font: 700 .95rem/1.2 var(--font-d); margin-bottom: .8em; }
.doc__toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: .45em; }
.doc__toc a:hover { text-decoration: underline; }
.doc__body > * + * { margin-top: 1em; }
.doc__body h2 { margin-top: 2.2em; font: 800 clamp(1.3rem, 2vw, 1.6rem)/1.15 var(--font-d); }
.doc__body h2:first-child { margin-top: 0; }
.doc__body h3 { margin-top: 1.4em; font: 700 1.05rem/1.3 var(--font-t); }
.doc__body ul { padding-left: 1.2em; display: grid; gap: .5em; }
.doc__body a { color: var(--indigo); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.doc__body address { padding: 1em 1.2em; border: 1px solid var(--line); background: #fff; border-radius: 8px; }
.doc__note { font-size: .92rem; color: var(--muted); }
.ways { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px !important; }
.ways li { padding: 18px; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.ways h3 { margin: 0 0 .4em; font: 800 1.1rem/1.2 var(--font-d); }
.doc--wide { grid-template-columns: minmax(0, 1fr); max-width: 980px; }
.taglist { list-style: none; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.taglist li { padding: .45em .9em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  .menu-btn { display: inline-flex; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__line { grid-column: 1 / -1; max-width: none; }
  .care__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .care__list li, .care__list li + li { padding: 24px 16px 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .snag__grid, .svc-intro__grid, .svc__grid, .svc--flip .svc__grid, .how__head, .local__grid, .talk__grid, .letter__grid, .meet__grid, .cta__grid, .doc { grid-template-columns: minmax(0, 1fr); }
  .snag__head, .letter__side, .doc__toc { position: static; }
  .svc--flip .svc__copy { order: 0; }
  .how__steps { grid-template-columns: minmax(0, 1fr); background: repeating-linear-gradient(180deg, var(--metal) 0 5px, transparent 5px 9px) 0 0 / 9px 100% no-repeat; gap: 36px; }
  .how__steps li { padding: 0 0 0 44px; }
  .how__steps li::before { left: -8px; top: 0; }
  .how__steps li::after { left: 0; top: 14px; }
  .how__n { font-size: 5.5rem; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .meet__ways li { grid-template-columns: minmax(0, 1fr); gap: .3em; }

  .hero { justify-content: flex-start; padding-top: 0; }
  .zip--hero { --zx: .5; inset: 0 0 auto 0; height: 50svh; }
  .zip--hero .zip__lining { clip-path: polygon(10% 0, 90% 0, 50% 72%); }
  .hero__body { max-width: none; margin-top: calc(50svh + 8px); }
  .hero__title { font-size: clamp(1.9rem, 8.6vw, 4.2rem); }
  .zip--hero canvas { -webkit-mask: linear-gradient(#000 82%, transparent); mask: linear-gradient(#000 82%, transparent); }
  .fhero__title { font-size: clamp(2rem, 9.6vw, 5rem); }
}
@media (max-width: 560px) {
  .form { grid-template-columns: minmax(0, 1fr); }
  .field { grid-column: 1 / -1; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hdr__cta { display: none; }
  .local__areas div { grid-template-columns: minmax(0, 1fr); gap: .1em; }
  .care__list { grid-template-columns: minmax(0, 1fr); }
  .chat__log { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
