/* Fonts, hosted on this site (Archivo and Poppins, SIL Open Font License). Latin and Latin Extended only. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url('/fonts/archivo-400-800-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; src: url('/fonts/archivo-400-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/poppins-300-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/poppins-300-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/poppins-800-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/poppins-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Crosstown Tech: true black, logo silver, Archivo set wide for display. */
:root {
  --black: #000000;
  --panel: #141414;
  --panel-2: #1b1b1c;
  --line: #2a2a2d;
  --line-2: #3d3d41;
  --silver: #c9cacd;
  --steel: #8a8d92;
  --text: #f5f5f5;
  --soft: #d6d6d9;
  --muted: #a3a4a8;
  --dim: #8a8d92;
  --field: #0a0a0a;
  --silver-grad: linear-gradient(110deg, #fafafa 0%, #c9cacd 30%, #74777c 50%, #c9cacd 70%, #fafafa 100%);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sans: "Archivo", system-ui, sans-serif;
  --gutter: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--black); scroll-behavior: smooth; }
body {
  background: var(--black); color: var(--text);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
/* Sideways overflow is clipped on html and body. It must be clip, not hidden: hidden turns body into its own
   scroll container once html is non-visible, which silently breaks every position: sticky section. */
html { overflow-x: clip; }
::selection { background: var(--silver); color: var(--black); }
a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

/* Display type: Archivo stretched wide, like the CROSSTOWN wordmark */
.display {
  font-weight: 800; font-variation-settings: "wdth" 118; letter-spacing: -.025em; line-height: .98;
}
.label { font-size: .875rem; color: var(--dim); }
.mono { font-size: .8125rem; color: var(--dim); } /* kept for the admin page */

/* ---------- Header (logo lockup is unchanged) ---------- */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #1c1c1e;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 72px; }
.nav .brand { min-width: 0; flex: 0 1 auto; }
.nav .wordmark { min-width: 0; flex: 0 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 26px; width: auto; }
.wordmark { font-family: "Poppins", sans-serif; font-size: 19px; letter-spacing: -.01em; white-space: nowrap; line-height: 1; }
.wordmark b { font-weight: 800; }
.wordmark span { font-weight: 300; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: .9375rem; color: var(--muted); }
.nav-links a:not(.btn) { position: relative; transition: color .2s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"]:not(.btn) { color: var(--text); }
.nav-links a[aria-current="page"]:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--text);
}
.nav-links a.m-only, .nav-right > .m-btn, .menu-btn { display: none; }
.nav-right { display: contents; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font: inherit; font-size: .9375rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--text); color: var(--black); }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--steel); }
.nav .btn { padding: 9px 18px; font-size: .875rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Logo field (tiny CT logos drawn on a canvas) ---------- */
.logo-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Home hero: the one orchestrated moment ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero .logo-field {
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.28) 38%, #000 72%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.28) 38%, #000 72%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.55fr .45fr; gap: 48px; align-items: end;
  min-height: min(880px, calc(100svh - 72px)); padding-top: 96px; padding-bottom: 88px;
}
.hero h1 { font-size: clamp(2.25rem, 4.6vw, 4.5rem); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: block; }
.hero .lead { font-size: 1.1875rem; color: var(--soft); max-width: 34em; margin-top: 28px; }
.hero .actions { margin-top: 36px; }
.hero-mark { align-self: center; justify-self: end; width: min(100%, 300px); }
.hero-mark img { width: 100%; height: auto; }
.hero-where { margin-top: 44px; }

/* Load sequence: mark appears, logos ripple out of it, headline rises, the rest follows */
.js .hero-mark { opacity: 0; transform: scale(.92); animation: mark-in 1s var(--ease) .1s forwards; }
.js .hero h1 .line > span { transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.js .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.js .hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
.js .hero h1 .line:nth-child(4) > span { animation-delay: .36s; }
@media (max-width: 520px) { .hero h1 { font-size: clamp(1.5rem, 7.4vw, 2.25rem); } }
.js .hero .after { opacity: 0; animation: fade 1s var(--ease) .55s forwards; }
@keyframes mark-in { to { opacity: 1; transform: none; } }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Moving word band (scroll-linked) ---------- */
.band { padding: 16px 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); user-select: none; }
.band-row {
  display: flex; align-items: center; width: max-content; white-space: nowrap;
  font-weight: 800; font-variation-settings: "wdth" 125; letter-spacing: -.02em; line-height: 1;
  font-size: clamp(1.75rem, 3.4vw, 2.875rem); will-change: transform;
}
.band-row .sep { height: .34em; width: auto; margin: 0 .38em; }
.band-row.outline { color: transparent; -webkit-text-stroke: 1px rgba(245,245,245,.38); transform: translateX(calc(var(--band, 0) * -1px)); }
.band-row.outline .sep { opacity: .45; }
.band-row.fill { color: rgba(245,245,245,.08); transform: translateX(calc(var(--band, 0) * 1px - 40%)); margin-top: 4px; }
.band-row.fill .sep { opacity: .18; }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
.section-head p { color: var(--muted); max-width: 32em; }

/* Service list: rows, not identical cards */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 40px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line); transition: background .25s;
}
.svc-row h3 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); }
.svc-row p { color: var(--muted); max-width: 30em; }
.svc-row .go { color: var(--dim); font-size: .9375rem; font-weight: 600; white-space: nowrap; transition: color .2s; }
a.svc-row:hover .go { color: var(--text); }
a.svc-row:hover h3 { text-decoration: underline; text-underline-offset: .12em; text-decoration-thickness: 2px; }

/* Services page: each service gets its own full row */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-detail:first-child { border-top: 1px solid var(--line); }
.svc-detail h2 { font-size: clamp(1.875rem, 3.6vw, 3rem); }
.svc-detail .desc { color: var(--soft); font-size: 1.1875rem; margin-top: 18px; max-width: 26em; }
.svc-detail .note { color: var(--dim); font-size: .9375rem; margin-top: 16px; }
.svc-detail h3 { font-size: .9375rem; font-weight: 600; color: var(--dim); margin-bottom: 14px; }
.includes { list-style: none; border-top: 1px solid var(--line); }
.includes li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--soft); }

/* How it works: a route line with three stops, over the logo field */
.field-section { position: relative; overflow: hidden; isolation: isolate; padding: 140px 0; }
.field-section .logo-field { z-index: -1; }
.route { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 44px; }
.route::before, .route::after {
  content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line-2);
}
.route::after { background: var(--silver); transform-origin: left; transform: scaleX(var(--route, 1)); }
.stop { position: relative; }
.stop::before {
  content: ""; position: absolute; top: -44px; left: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--black); border: 2px solid var(--silver); z-index: 1;
}
.stop .n { font-weight: 800; font-variation-settings: "wdth" 125; font-size: 1rem; color: var(--dim); }
.stop h2, .stop h3 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); margin: 10px 0 12px; }
.stop p { color: var(--soft); max-width: 22em; }
.route.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.route.five .stop h2, .route.five .stop h3 { font-size: clamp(1.125rem, 1.7vw, 1.5rem); }
.route.five .stop p { font-size: .9375rem; }
@media (max-width: 1100px) and (min-width: 861px) { .route.five { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; } .route.five::before, .route.five::after { display: none; } }
.route-panel {
  background: rgba(0,0,0,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 22px; padding: 56px 48px;
}
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.facts dt { font-size: .9375rem; color: var(--dim); }
.facts dd { font-size: 1.1875rem; color: var(--soft); margin-top: 6px; max-width: 18em; }

/* Closing: the email address is the call to action */
.closing { padding: 128px 0 120px; border-top: 1px solid var(--line); }
.closing h2 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); }
.big-email {
  overflow-wrap: anywhere; max-width: 100%;
  display: inline-block; margin-top: 28px; font-weight: 700; font-variation-settings: "wdth" 112;
  font-size: clamp(1.0625rem, 4.4vw, 3.25rem); letter-spacing: -.02em; line-height: 1.1;
  overflow-wrap: normal; border-bottom: 2px solid var(--line-2); transition: border-color .25s;
}
.big-email:hover { border-color: var(--text); }
.closing p { color: var(--muted); margin-top: 24px; max-width: 36em; }
.closing p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* Page header for inner pages */
.page-head { padding: 104px 0 72px; }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 14ch; }
.page-head p { color: var(--soft); font-size: 1.1875rem; max-width: 34em; margin-top: 24px; }

/* ---------- Contact ---------- */
.contact-hero { position: relative; overflow: hidden; isolation: isolate; }
.contact-hero .logo-field {
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.28) 40%, #000 70%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.28) 40%, #000 70%);
}
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; padding-bottom: 120px; }
.contact-info .big-email { margin-top: 10px; font-size: clamp(1.0625rem, 2.6vw, 2rem); }
.contact-info dl { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-info dl div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { font-size: .875rem; color: var(--dim); }
.contact-info dd { margin-top: 4px; color: var(--soft); }
.contact-info dd a { color: var(--text); }

form { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: grid; gap: 7px; font-size: .875rem; color: var(--soft); font-weight: 500; }
input, select, textarea {
  font: inherit; font-size: .9375rem; color: var(--text); background-color: var(--field);
  border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; width: 100%;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--silver); }
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a3a4a8' stroke-width='1.8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: .9375rem; min-height: 1.4em; }
.form-status.ok { color: #86efac; }
.form-status.err { color: #fca5a5; }
form .btn { width: 100%; padding: 15px; }
form .btn[disabled] { opacity: .6; cursor: wait; }

/* Step-by-step intake form */
.steps-bar { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.steps-bar li { font-size: .8125rem; color: var(--dim); }
.steps-bar li::before { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--line-2); margin-bottom: 8px; transition: background .3s; }
.steps-bar li.on { color: var(--text); }
.steps-bar li.on::before { background: var(--silver); }
.step-count { font-size: .8125rem; color: var(--dim); margin-top: -8px; }
fieldset.step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; }
fieldset.step legend { font-size: 1.375rem; font-weight: 700; font-variation-settings: "wdth" 112; padding: 0; margin-bottom: 4px; }
.hint { font-size: .875rem; color: var(--muted); margin-top: -10px; }
.field { display: grid; gap: 10px; }
.field .q { font-size: .875rem; color: var(--soft); font-weight: 500; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; gap: 0; cursor: pointer; }
.choice input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: .875rem; color: var(--soft); transition: background .15s, color .15s, border-color .15s;
}
.choice:hover span { border-color: var(--steel); }
.choice input:checked + span { background: var(--text); color: var(--black); border-color: var(--text); }
.choice input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.step-nav { display: flex; gap: 10px; }
form .step-nav .btn { width: auto; flex: 1; }
.js #contact-form .step:not(.on) { display: none; }
html:not(.js) .steps-bar, html:not(.js) .step-count, html:not(.js) [data-next], html:not(.js) [data-back] { display: none; }
[data-next][hidden], [data-send][hidden], [data-back][hidden] { display: none; }

/* Confirmation shown after the form is sent */
.form-done { display: grid; justify-items: start; gap: 14px; padding: 8px 0; }
.form-done svg { color: var(--text); }
.form-done h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; font-variation-settings: "wdth" 115; letter-spacing: -.02em; }
.form-done p { color: var(--soft); max-width: 32em; }
.form-done .hint { margin-top: 0; overflow-wrap: anywhere; }
.form-done .hint a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
form .form-done .btn { width: auto; margin-top: 6px; }
.form-done:focus { outline: none; }
#contact-form.is-done > :not(.form-done) { display: none !important; }
.js #contact-form.is-done .form-done svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: check .6s var(--ease) .15s forwards; }
@keyframes check { to { stroke-dashoffset: 0; } }

/* Privacy policy and other long text */
.legal { padding-bottom: 112px; }
.legal section { max-width: 68ch; padding: 32px 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 700; font-variation-settings: "wdth" 112; letter-spacing: -.01em; margin-bottom: 12px; }
.legal h3 { font-size: 1.0625rem; font-weight: 600; margin: 18px 0 6px; }
.legal p, .legal li { color: var(--soft); line-height: 1.7; }
.legal p + p, .legal ul + p { margin-top: 14px; }
.legal ul { padding-left: 1.2em; display: grid; gap: 8px; margin-top: 10px; }
.legal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.legal b { color: var(--text); font-weight: 600; }
.form-privacy { font-size: .8125rem; color: var(--dim); }
.form-privacy a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0; }
.foot { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; color: var(--dim); font-size: .875rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot-links a { color: var(--muted); transition: color .2s; }
.foot-links a:hover { color: var(--text); }

/* ---------- 404 ---------- */
.notfound { min-height: calc(100svh - 72px - 110px); display: grid; align-content: center; padding: 64px var(--gutter); } /* keeps the side gutters that .wrap sets */
.notfound h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.notfound p { color: var(--muted); margin: 20px 0 32px; }

/* Smooth cross-fade between pages; the header stays put */
@view-transition { navigation: auto; }
header { view-transition-name: site-header; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section-head, .svc-detail, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact-info { min-width: 0; }
  .svc-row { grid-template-columns: 1fr; gap: 8px; }
  .svc-row .go { display: none; }
  .facts { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 860px) {
  .menu-btn {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after {
    display: block; width: 16px; height: 1.5px; background: var(--text); position: relative;
    transition: transform .35s var(--ease), background .2s;
  }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -5px; }
  .menu-btn span::after { top: 5px; }
  .menu-open .menu-btn span { background: transparent; }
  .menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
  .menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
  .nav-right { display: flex; align-items: center; gap: 10px; }
  .nav-right > .m-btn { display: inline-flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #000; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease), visibility 0s .45s;
  }
  .menu-open .nav-links { clip-path: inset(0); visibility: visible; transition: clip-path .45s var(--ease); }
  .nav-links a:not(.btn), .nav-links a.m-only { display: block; padding: 16px 0; font-size: 1.375rem; font-weight: 600; font-variation-settings: "wdth" 112; color: var(--muted); border-bottom: 1px solid #1c1c1e; }
  .nav-links a[aria-current="page"]:not(.btn) { color: var(--text); }
  .nav-links a[aria-current="page"]:not(.btn)::after { display: none; }
  .nav-links .btn { display: none; }
  .nav-links .lang-btn { display: block; width: 100%; margin-top: 16px; padding: 14px; font-size: 1.0625rem; }

  .hero-grid { grid-template-columns: 1fr; align-items: start; min-height: 0; padding-top: 48px; padding-bottom: 72px; gap: 32px; }
  .hero-mark { order: -1; justify-self: start; width: 132px; }
  .contact-hero .logo-field {
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.3) 40%, #000 70%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.3) 40%, #000 70%);
  }
  .hero .logo-field {
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 22%, rgba(0,0,0,.25) 50%);
            mask-image: linear-gradient(180deg, #000 0%, #000 22%, rgba(0,0,0,.25) 50%);
  }
  .section { padding: 80px 0; }
  .field-section { padding: 88px 0; }
  .route, .route.five { grid-template-columns: 1fr; gap: 44px; padding-top: 0; padding-left: 44px; }
  .route.five .stop h2 { font-size: clamp(1.375rem, 5.5vw, 1.75rem); }
  .route::before, .route::after { left: 9px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .route::after { transform-origin: top; transform: scaleY(var(--route, 1)); }
  .stop::before { top: 4px; left: -44px; }
  .route-panel { padding: 36px 24px; }
  .page-head { padding: 64px 0 48px; }
  .closing { padding: 88px 0; }
}
@media (max-width: 520px) {
  :root { --gutter: 16px; }
  .row { grid-template-columns: 1fr; }
  form { padding: 24px; }
  .wordmark { font-size: 16px; }
  .brand img { height: 22px; }
}
@media (max-width: 400px) {
  .nav-right > .m-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .band-row { transform: none !important; }
}

/* ---------- Home: the portal story (scroll plays a project from deposit to launch) ---------- */
.story { position: relative; border-top: 1px solid var(--line); }
.story-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding-block: 96px; }
.story-copy h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.story-copy .lead { margin-top: 16px; max-width: 34em; }
.hint-tap { display: none; }
.beats { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 6px; position: relative; }
.beat { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; width: 100%; text-align: left; padding: 14px 16px; border: 1px solid transparent; border-radius: 18px; background: none; color: var(--muted); font: inherit; cursor: pointer; transition: background .3s var(--ease), border-color .3s var(--ease), color .3s; }
.beat:hover { color: var(--soft); background: rgba(255,255,255,.02); }
.beat:focus-visible { outline: 2px solid var(--silver); outline-offset: 2px; }
.beat b { display: block; font-size: 1.0625rem; font-weight: 700; color: inherit; }
.beat small { display: block; margin-top: 3px; font-size: .875rem; color: var(--dim); line-height: 1.45; }
.beat-n { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-weight: 800; font-size: .8125rem; font-variant-numeric: tabular-nums; transition: background .3s, color .3s, border-color .3s; }
.beat[aria-pressed="true"] { color: var(--text); background: var(--panel); border-color: var(--line-2); }
.beat[aria-pressed="true"] small { color: var(--soft); }
.beat[aria-pressed="true"] .beat-n { background: var(--text); border-color: var(--text); color: var(--black); }
.story-more { margin-top: 22px; }
.beat.past .beat-n { background: var(--silver); border-color: var(--silver); color: var(--black); }

/* the portal itself */
.pmock { border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; background: #0a0a0a; box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02); }
.pm-bar { display: flex; align-items: center; gap: 6px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.pm-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.pm-bar em { margin-left: 10px; font-style: normal; font-size: .75rem; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-body { padding: 24px; display: grid; gap: 14px; }
.pm-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.pm-hi { display: block; font-size: 1.875rem; font-weight: 800; font-variation-settings: "wdth" 125; line-height: 1; letter-spacing: -.01em; }
.pm-top small { display: block; margin-top: 6px; font-size: .875rem; color: var(--soft); }
.pm-pct { position: relative; text-align: right; }
.pm-pct strong { font-size: 2rem; font-weight: 800; font-variation-settings: "wdth" 118; font-variant-numeric: tabular-nums; line-height: 1; }
.pm-bump { position: absolute; right: 0; top: -22px; font-size: .75rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #22c55e; color: #03140a; opacity: 0; transform: translateY(6px); pointer-events: none; }
.pm-bump.go { animation: pm-bump 1.1s var(--ease) both; }
@keyframes pm-bump { 0% { opacity: 0; transform: translateY(6px); } 18% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-6px); } }
.pm-segs { display: flex; gap: 4px; }
.pm-segs i { flex: 1; height: 8px; border-radius: 8px; background: var(--line-2); transition: background .35s var(--ease); }
.pm-segs i.on { background: var(--silver); }
.pm-cols { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; margin-top: 6px; }
.pm-rail { list-style: none; margin: 0; padding: 14px; display: grid; gap: 4px; align-content: start; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); font-size: .8125rem; font-weight: 600; color: var(--dim); }
.pm-rail li { display: flex; align-items: center; gap: 10px; padding: 7px 0; transition: color .3s; }
.pm-rail span { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: .6875rem; font-weight: 800; transition: background .3s, border-color .3s, color .3s; }
.pm-rail li.now { color: var(--text); }
.pm-rail li.now span { background: var(--text); border-color: var(--text); color: #000; box-shadow: 0 0 0 4px var(--panel), 0 0 0 5px var(--line-2); }
.pm-rail li.done { color: var(--soft); }
.pm-rail li.done span { background: var(--silver); border-color: var(--silver); color: transparent; position: relative; }
.pm-rail li.done span::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #000; font-size: .75rem; }
.pm-panel { position: relative; min-height: 290px; }
.pm-scene { position: absolute; inset: 0; display: grid; gap: 12px; align-content: start; opacity: 0; transform: translateY(10px) scale(.985); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; }
.pm-scene.show { opacity: 1; transform: none; }
.pm-label { font-size: .75rem; font-weight: 700; color: var(--dim); }
.pm-inv { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.pm-inv b { display: block; font-size: .9375rem; }
@media (max-width: 1100px) { .pm-inv { grid-template-columns: minmax(0, 1fr) auto; } .pm-inv > div:first-child { grid-column: 1 / -1; } } /* on tablets the title gets its own row instead of wrapping word by word */
.pm-inv small { font-size: .75rem; color: var(--dim); }
.pm-inv strong { font-weight: 800; font-variation-settings: "wdth" 112; font-variant-numeric: tabular-nums; }
.pm-pay, .pm-approve { position: relative; display: inline-grid; padding: 8px 14px; border-radius: 999px; background: var(--text); color: #000; font-size: .8125rem; font-weight: 700; transition: background .35s var(--ease), color .35s; overflow: hidden; }
.pm-pay em, .pm-approve em { grid-area: 1 / 1; font-style: normal; text-align: center; transition: opacity .3s, transform .35s var(--ease); }
.pm-pay-done, .a-done { opacity: 0; transform: translateY(8px); }
.pm-pay.on, .pm-approve.on { background: var(--silver); }
.pm-pay.on .pm-pay-due, .pm-approve.on .a-due { opacity: 0; transform: translateY(-8px); }
.pm-pay.on .pm-pay-done, .pm-approve.on .a-done { opacity: 1; transform: none; }
.pm-pay.on::after, .pm-approve.on::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(245,245,245,.6); animation: pm-ring .7s var(--ease) both; }
@keyframes pm-ring { to { box-shadow: 0 0 0 12px rgba(245,245,245,0); } }
.pm-note { font-size: .875rem; color: var(--soft); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.pm-note.on { opacity: 1; transform: none; }
.pm-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pm-tile { position: relative; display: grid; gap: 4px; padding: 14px; min-height: 92px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color .4s var(--ease), background .4s var(--ease); }
.pm-tile b { font-size: .875rem; padding-right: 16px; }
.pm-tile small { font-size: .75rem; color: var(--dim); }
.pm-tile .pm-sent { display: none; color: #86efac; }
.pm-dot { position: absolute; top: 11px; right: 11px; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2), 0 0 10px rgba(34,197,94,.6); transform: scale(0); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.pm-tile.on { border-color: rgba(34,197,94,.45); background: linear-gradient(180deg, rgba(34,197,94,.08), var(--panel) 70%); }
.pm-tile.on .pm-dot { transform: scale(1); }
.pm-tile.on .pm-wait { display: none; }
.pm-tile.on .pm-sent { display: block; }
.pm-design { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.pm-wire { display: grid; gap: 6px; padding: 10px; border-radius: 10px; background: #f4f4f5; }
.pm-wire i { display: block; height: 6px; border-radius: 3px; background: #d4d4d8; }
.pm-wire .w-nav { height: 5px; width: 40%; }
.pm-wire .w-hero { height: 44px; border-radius: 6px; background: linear-gradient(120deg, #e4e4e7, #a1a1aa); }
.pm-wire .w-line.short { width: 60%; }
.pm-wire span { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.pm-wire span i { height: 20px; border-radius: 4px; }
.pm-design-side { display: grid; gap: 6px; justify-items: start; }
.pm-design-side b { font-size: .9375rem; }
.pm-design-side small { font-size: .75rem; color: var(--dim); }
.pm-tl { list-style: none; margin: 0; padding: 4px 0 0 14px; display: grid; gap: 8px; border-left: 2px solid var(--line-2); font-size: .8125rem; color: var(--dim); }
.pm-tl li { position: relative; transition: color .3s; }
.pm-tl li::before { content: ""; position: absolute; left: -20px; top: 4px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-2); background: #0a0a0a; transition: background .3s, border-color .3s; }
.pm-tl li.now { color: var(--text); }
.pm-tl li.now::before { border-color: var(--silver); }
.pm-tl li.on { color: var(--soft); }
.pm-tl li.on::before { background: var(--silver); border-color: var(--silver); }
.pm-live { display: grid; gap: 10px; opacity: 0; transform: translateY(16px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.pm-live.on { opacity: 1; transform: none; }
.pm-site { border-radius: 12px; overflow: hidden; background: #fdf6ec; color: #3b2314; }
.s-nav { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: .8125rem; }
.s-nav b { margin-right: auto; font-weight: 800; font-variation-settings: "wdth" 110; }
.s-nav i { width: 26px; height: 5px; border-radius: 3px; background: #e7d3bb; }
.s-hero { display: grid; gap: 4px; justify-items: start; padding: 18px 14px 20px; background: linear-gradient(135deg, #f6e3c8, #ecc89a); }
.s-hero b { font-size: 1.125rem; font-weight: 800; font-variation-settings: "wdth" 115; }
.s-hero small { font-size: .75rem; color: #6b4a33; }
.s-hero span { margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: #3b2314; color: #fdf6ec; font-size: .6875rem; font-weight: 700; }
.pm-launch { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9375rem; }
.pm-launch i { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }

/* desktop: the section is tall and the grid stays put while you scroll through it */
@media (min-width: 961px) {
  .story.scrub { height: 330vh; }
  .story.scrub .story-grid { position: sticky; top: 72px; min-height: calc(100vh - 72px); padding-block: 40px; align-content: center; } /* centered on tall screens (upright tablets), so the pinned block never leaves a black band below it */
}
@media (max-width: 960px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 72px; }
  .hint-scroll { display: none; }
  .hint-tap { display: inline; }
  .beats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beat { grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .beat small { display: none; }
}
@media (max-width: 640px) {
  .pm-body { padding: 16px; }
  .pm-cols { grid-template-columns: minmax(0, 1fr); }
  .pm-rail { display: none; }
  .pm-hi { font-size: 1.5rem; }
  .pm-pct strong { font-size: 1.5rem; }
  .pm-panel { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-scene, .pm-tile, .pm-dot, .pm-live, .pm-note, .pm-pay, .pm-approve, .pm-pay em, .pm-approve em, .pm-segs i, .beat, .beat-n, .pm-rail li, .pm-rail span, .pm-tl li, .pm-tl li::before { transition: none; }
  .pm-bump.go, .pm-pay.on::after, .pm-approve.on::after { animation: none; }
}

/* ---------- Client login: white outline next to Start a project ---------- */
.btn-login { background: transparent; color: var(--text); border: 1.5px solid var(--text); transition: background .2s, color .2s; }
.btn-login svg { width: 15px; height: 15px; flex: none; }
.btn-login:hover { background: var(--text); color: var(--black); }
.btn-login:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.nav-links .btn-login { margin-right: -16px; } /* sits closer to Start a project than the text links */
.nav-right > .m-login { display: none; }
@media (max-width: 860px) {
  .nav-right > .m-login { display: inline-flex; }
}
@media (max-width: 560px) {
  .nav-right > .m-login { width: 42px; height: 42px; padding: 0; }
  .nav-right > .m-login span { display: none; }
  .nav-right > .m-login svg { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) { .btn-login { transition: none; } }

/* ---------- Small interactions ---------- */
body > header { position: sticky; }
.read-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--steel), var(--silver)); transform-origin: left; transform: scaleX(0); pointer-events: none; z-index: 2; }
.btn, .beat { position: relative; overflow: hidden; isolation: isolate; }
.press-ring { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(201, 202, 205, .45) 0%, rgba(201, 202, 205, 0) 62%); transform: scale(0); opacity: .9; pointer-events: none; z-index: -1; animation: press-ring .6s var(--ease) forwards; }
.btn-primary .press-ring { background: radial-gradient(circle, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 62%); }
@keyframes press-ring { to { transform: scale(1); opacity: 0; } }
.btn:active { transform: scale(.97); }
.magnetic { transition: transform .25s var(--ease), background .2s, border-color .2s, color .2s; will-change: transform; }
a.svc-row { position: relative; isolation: isolate; }
a.svc-row::before { content: ""; position: absolute; inset: 0 -24px; z-index: -1; border-radius: 18px; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 202, 205, .09), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
a.svc-row:hover::before { opacity: 1; }
/* Keep the glow inside the page's side margin on narrow screens (it made phones scroll sideways by 8px) */
@media (max-width: 720px) { a.svc-row::before { inset: 0 -12px; } }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }

/* ---------- Squircle corners on every box and button ----------
   corner-shape draws a smooth superellipse ("squircle") instead of a circular arc.
   Browsers without it keep normal rounded corners. Dots and number markers stay true circles. */
.btn { border-radius: 16px; }
.nav .btn { border-radius: 14px; }
@supports (corner-shape: squircle) {
  *, *::before, *::after { corner-shape: squircle; }
  [class*="dot"], [class*="dot"]::before, [class*="dot"]::after,
  .beat-n, .pm-bar i, .pm-rail span, .pm-tl li::before, .pm-launch i, .press-ring,
  .stop::before, .menu-btn, .spin, .n, .mark, .mk, .rt-mk, .unlock-mark, .worker::before,
  .stage .mark, .steps .n, .shot-bar span, .pm-bump, input[type="checkbox"], input[type="radio"] { corner-shape: round; }
  /* squircles read a little tighter, so give the big surfaces slightly more curve */
  .btn { border-radius: 20px; }
  .nav .btn { border-radius: 18px; }
}

/* ======================= Demos page ======================= */
.dm-head { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.dm-head .logo-field { z-index: -1; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.25), #000 75%); mask-image: linear-gradient(90deg, rgba(0,0,0,.25), #000 75%); }
.dm-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.dm-jump a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: rgba(0,0,0,.55); color: var(--soft); font-size: .9375rem; font-weight: 600; transition: border-color .2s, color .2s, transform .2s var(--ease); }
.dm-jump a span { font-size: .75rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.dm-jump a:hover { border-color: var(--silver); color: var(--text); transform: translateY(-2px); }
.dm-sec { padding: 112px 0; border-top: 1px solid var(--line); scroll-margin-top: 72px; }
.dm-sec:first-of-type { border-top: 0; }
.dm-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.dm-grid.flip .dm-copy { order: 2; }
.dm-tag { font-size: .875rem; font-weight: 600; color: var(--dim); margin-bottom: 14px; }
.dm-copy h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.dm-copy > p:not(.dm-tag) { margin-top: 16px; color: var(--soft); font-size: 1.0625rem; max-width: 34em; }
.dm-copy-wide { max-width: 760px; margin-bottom: 40px; }
.dm-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.dm-points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--soft); }
.dm-points li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--line-2); font-size: .75rem; font-weight: 800; color: var(--silver); }
.dm-demo { min-width: 0; }
.dm-note { margin-top: 12px; font-size: .8125rem; color: var(--dim); }

/* --- 01 booking --- */
.bk { position: relative; border: 1px solid var(--line-2); border-radius: 24px; background: var(--panel); padding: 26px; min-height: 520px; box-shadow: 0 30px 90px rgba(0,0,0,.55); overflow: hidden; }
.bk-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; transition: opacity .35s, transform .45s var(--ease); }
.bk.is-done .bk-flow { opacity: 0; transform: scale(.97); pointer-events: none; }
.bk-label { display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 700; color: var(--soft); margin-bottom: 10px; }
.bk-label span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--black); font-size: .6875rem; font-weight: 800; }
.bk-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bk-services button, .bk-days button, .bk-times button { font: inherit; color: var(--soft); background: #0a0a0a; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .15s; }
.bk-services button { display: grid; gap: 3px; text-align: left; padding: 12px; border-radius: 14px; }
.bk-services b { font-size: .875rem; color: var(--text); }
.bk-services small { font-size: .75rem; color: var(--dim); }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.bk-days button { flex: none; display: grid; justify-items: center; gap: 2px; width: 62px; padding: 10px 0; border-radius: 14px; }
.bk-days b { font-size: 1.125rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--text); }
.bk-days small { font-size: .6875rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.bk-days button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.bk-times button { padding: 10px 0; border-radius: 12px; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.bk-times button:disabled { opacity: .3; cursor: not-allowed; text-decoration: line-through; }
.bk-services button:hover:not(:disabled), .bk-days button:hover:not(:disabled), .bk-times button:hover:not(:disabled) { border-color: var(--steel); color: var(--text); }
.bk-services [aria-checked="true"], .bk-days [aria-checked="true"], .bk-times [aria-checked="true"] { background: var(--text); border-color: var(--text); color: var(--black); }
.bk-services [aria-checked="true"] b, .bk-days [aria-checked="true"] b { color: var(--black); }
.bk-services [aria-checked="true"] small, .bk-days [aria-checked="true"] small { color: #3f3f46; }
.bk-services button:focus-visible, .bk-days button:focus-visible, .bk-times button:focus-visible { outline: 2px solid var(--silver); outline-offset: 2px; }
.bk-times-empty { grid-column: 1 / -1; font-size: .875rem; color: var(--dim); }
.bk-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.bk-summary { font-size: .9375rem; color: var(--soft); min-width: 0; }
.bk-summary b { color: var(--text); }
.bk-foot .btn[disabled] { opacity: .4; cursor: not-allowed; }
.bk-done { position: absolute; inset: 0; padding: 30px; display: grid; align-content: center; justify-items: center; gap: 12px; text-align: center; }
.bk-done:focus { outline: none; }
.bk-check { width: 64px; height: 64px; color: #22c55e; }
.bk-check svg { width: 100%; height: 100%; }
.bk-check circle { stroke-dasharray: 132; stroke-dashoffset: 132; }
.bk-check path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.bk.is-done .bk-check circle { animation: bk-draw .6s var(--ease) .1s forwards; }
.bk.is-done .bk-check path { animation: bk-draw .4s var(--ease) .55s forwards; }
@keyframes bk-draw { to { stroke-dashoffset: 0; } }
.bk-done h3 { font-size: 1.875rem; }
.bk-done > p { color: var(--soft); }
.bk-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 10px 0 6px; text-align: left; }
.bk-card { display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line-2); border-radius: 16px; background: #0a0a0a; opacity: 0; transform: translateY(14px); }
.bk.is-done .bk-card { animation: bk-up .55s var(--ease) forwards; }
.bk.is-done .bk-mail { animation-delay: .8s; }
.bk.is-done .bk-cal { animation-delay: 1.05s; }
@keyframes bk-up { to { opacity: 1; transform: none; } }
.bk-card-top { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; color: var(--dim); }
.bk-ico { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; background: var(--panel-2); color: var(--soft); font-size: .6875rem; }
.bk-card b { font-size: .9375rem; }
.bk-card small { font-size: .8125rem; color: var(--muted); }
.bk-cal-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; font-size: .75rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.bk-cal-row i { display: block; padding: 8px 10px; border-radius: 10px; border-left: 3px solid #22c55e; background: rgba(34,197,94,.12); color: #bbf7d0; font-style: normal; font-size: .8125rem; font-weight: 600; }

/* --- 02 AI brief --- */
.br { display: grid; gap: 14px; }
.br-in { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--panel); }
.br-in label { font-size: .875rem; font-weight: 700; color: var(--soft); }
.br-in textarea { min-height: 120px; font-size: .9375rem; line-height: 1.55; }
.br-in textarea[readonly] { color: var(--soft); cursor: default; resize: none; }
.br-in textarea[readonly]:focus { border-color: var(--line-2); }
.br-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.br-actions .btn { padding: 10px 18px; font-size: .9375rem; }
.br-out { position: relative; min-height: 300px; padding: 22px 24px; border-radius: 22px; background: #f6f6f7; color: #27272a; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.br-empty { color: #52525b; }
.br-empty b { color: #18181b; }
.br-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.br-head h3 { font-size: 1.25rem; font-weight: 800; color: #000; font-variation-settings: "wdth" 112; }
.br-head span { font-size: .75rem; color: #52525b; }
.br-row { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease); margin-top: 10px; }
.br-row.in { opacity: 1; transform: none; }
.br-row h4 { font-size: .8125rem; font-weight: 700; color: #000; margin-bottom: 4px; }
.br-row p, .br-row li { font-size: .9375rem; color: #27272a; }
.br-row ul, .br-row ol { padding-left: 20px; display: grid; gap: 2px; }
.br-fit { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #dcfce7; color: #14532d; font-size: .75rem; font-weight: 700; }
.br-fit.partial { background: #fef3c7; color: #78350f; }
.br-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.br-chips span { padding: 3px 10px; border-radius: 999px; background: #e4e4e7; font-size: .8125rem; font-weight: 600; color: #18181b; }
.br-caret { display: inline-block; width: 8px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #18181b; animation: br-blink 1s steps(2) infinite; }
@keyframes br-blink { 50% { opacity: 0; } }

/* --- 03 responsive --- */
.rs { display: grid; gap: 16px; }
.rs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.rs-presets { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 16px; }
.rs-presets button { font: inherit; font-size: .875rem; font-weight: 600; padding: 8px 14px; border: 0; border-radius: 12px; background: none; color: var(--muted); cursor: pointer; }
.rs-presets [aria-pressed="true"] { background: var(--text); color: var(--black); }
.rs-presets button:focus-visible { outline: 2px solid var(--silver); outline-offset: 2px; }
.rs-range { display: flex; align-items: center; gap: 10px; font-size: .8125rem; color: var(--dim); flex: 1 1 260px; max-width: 460px; }
.rs-range input { flex: 1; accent-color: var(--silver); padding: 0; }
.rs-range output { min-width: 56px; text-align: right; color: var(--soft); font-variant-numeric: tabular-nums; font-weight: 600; }
.rs-stage { display: flex; justify-content: center; padding: 28px 0; border: 1px solid var(--line); border-radius: 24px; background: repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.025) 39px 40px), #050505; overflow: hidden; }
.rs-frame { position: relative; width: 1120px; max-width: calc(100% - 44px); border-radius: 18px; border: 1px solid var(--line-2); background: #fdf6ec; box-shadow: 0 20px 60px rgba(0,0,0,.6); transition: width .55s var(--ease); container-type: inline-size; }
.rs-frame.dragging { transition: none; }
.rs-handle { position: absolute; top: 50%; right: -18px; width: 12px; height: 56px; margin-top: -28px; border-radius: 8px; background: var(--silver); cursor: ew-resize; box-shadow: 0 0 0 4px rgba(201,202,205,.15); touch-action: none; }
.sc { color: #3b2314; font-family: var(--sans); border-radius: inherit; overflow: hidden; }
.sc-nav { display: flex; align-items: center; gap: 18px; padding: 14px 20px; border-bottom: 1px solid #efdcc4; }
.sc-nav b { font-size: 1rem; font-weight: 800; font-variation-settings: "wdth" 112; margin-right: auto; }
.sc-links { display: flex; gap: 16px; font-size: .8125rem; }
.sc-order { padding: 7px 14px; border-radius: 12px; background: #3b2314; color: #fdf6ec; font-size: .75rem; font-weight: 700; }
.sc-burger { display: none; width: 20px; height: 2px; background: #3b2314; box-shadow: 0 -6px 0 #3b2314, 0 6px 0 #3b2314; }
.sc-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center; padding: 34px 28px; background: linear-gradient(135deg, #f8e7cf, #efcf9f); }
.sc-kicker { font-size: .75rem; font-weight: 700; color: #8a5a36; text-transform: uppercase; letter-spacing: .08em; }
.sc-hero h3 { font-size: 2.25rem; line-height: 1.05; font-weight: 800; font-variation-settings: "wdth" 118; margin: 6px 0 8px; }
.sc-hero p { font-size: .9375rem; color: #6b4a33; max-width: 26em; }
.sc-btn { display: inline-block; margin-top: 14px; padding: 9px 16px; border-radius: 12px; background: #3b2314; color: #fdf6ec; font-size: .8125rem; font-weight: 700; }
.sc-hero-img { aspect-ratio: 4 / 3; border-radius: 16px; background: radial-gradient(circle at 30% 35%, #f3d1a2 0 18%, transparent 19%), radial-gradient(circle at 62% 58%, #d99b5e 0 22%, transparent 23%), radial-gradient(circle at 40% 72%, #e8b67a 0 14%, transparent 15%), linear-gradient(160deg, #b9773f, #7d4a24); }
.sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 24px 28px; }
.sc-item { display: grid; gap: 4px; }
.sc-item i { display: block; aspect-ratio: 4 / 3; border-radius: 14px; }
.sc-item .i1 { background: radial-gradient(ellipse at 50% 60%, #e7a75a 0 40%, transparent 41%), #f6e4cc; }
.sc-item .i2 { background: radial-gradient(circle at 50% 55%, #f2c6d6 0 34%, transparent 35%), #f6e4cc; }
.sc-item .i3 { background: linear-gradient(#fff 0 40%, #f3e1c3 40% 75%, #e9cfa3 75%) center / 60% 50% no-repeat, #f6e4cc; }
.sc-item b { font-size: .875rem; }
.sc-item small { font-size: .75rem; color: #8a5a36; }
.sc-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 14px 28px; border-top: 1px solid #efdcc4; font-size: .75rem; color: #8a5a36; }
@container (max-width: 820px) {
  .sc-hero { padding: 26px 22px; }
  .sc-hero h3 { font-size: 1.875rem; }
  .sc-grid { padding: 20px 22px; }
}
@container (max-width: 640px) {
  .sc-links { display: none; }
  .sc-burger { display: block; }
  .sc-hero { grid-template-columns: 1fr; }
  .sc-hero-img { order: -1; aspect-ratio: 16 / 9; }
  .sc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-grid .sc-item:nth-child(3) { display: none; }
}
@container (max-width: 420px) {
  .sc-order { display: none; }
  .sc-hero h3 { font-size: 1.625rem; }
  .sc-grid { grid-template-columns: 1fr; }
  .sc-grid .sc-item:nth-child(3) { display: grid; }
  .sc-item { grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
  .sc-item i { grid-row: 1 / 3; }
  .sc-foot { flex-direction: column; }
}

/* --- 04 before / after --- */
.ba { position: relative; aspect-ratio: 16 / 9; max-height: 640px; width: 100%; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 30px 90px rgba(0,0,0,.55); --x: 50%; user-select: none; touch-action: pan-y; }
.ba-pane { position: absolute; inset: 0; }
.ba-after { clip-path: inset(0 0 0 var(--x)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 20px rgba(0,0,0,.5); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #000; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.ba-knob svg { width: 22px; height: 22px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-range:focus-visible + .ba-tag, .ba:focus-within .ba-knob { outline: 3px solid var(--silver); outline-offset: 3px; }
.ba-tag { position: absolute; bottom: 16px; padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-size: .75rem; font-weight: 700; pointer-events: none; }
.ba-tag-l { left: 16px; }
.ba-tag-r { right: 16px; }
.old { height: 100%; background: #ffffcc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Ccircle cx='3' cy='3' r='1.5' fill='%23ff99cc'/%3E%3C/svg%3E"); font-family: "Times New Roman", Times, serif; color: #000; overflow: hidden; }
.old-top { padding: 14px; background: linear-gradient(#ff66cc, #9933ff); text-align: center; }
.old-logo { font-family: "Comic Sans MS", "Comic Sans", cursive; font-size: clamp(1rem, 2.6vw, 2rem); font-weight: 700; color: #ffff00; text-shadow: 2px 2px 0 #ff0000; }
.old-marquee { padding: 4px 0; background: #000; color: #00ff00; font-family: "Courier New", monospace; font-size: .8125rem; white-space: nowrap; overflow: hidden; }
.old-body { display: grid; grid-template-columns: 150px 1fr; height: 100%; }
.old-side { display: grid; align-content: start; gap: 6px; padding: 12px; background: #3366ff; }
.old-side a { color: #ffff00; text-decoration: underline; font-size: .875rem; }
.old-main { padding: 14px 18px; }
.old-main h4 { color: #cc0000; font-size: 1.375rem; text-decoration: underline; }
.old-main p { margin-top: 10px; font-size: .875rem; line-height: 1.3; max-width: 46em; }
.old-main u { color: #0000ee; }
.old-count { font-family: "Courier New", monospace; background: #000; color: #ff0; display: inline-block; padding: 2px 6px; }
.old-best { font-size: .75rem !important; color: #666; font-style: italic; }
.new { height: 100%; display: grid; grid-template-rows: auto 1fr auto; background: #fdf6ec; color: #3b2314; }
.new-nav { display: flex; align-items: center; gap: 20px; padding: 16px 26px; font-size: .875rem; border-bottom: 1px solid #efdcc4; }
.new-nav b { margin-right: auto; font-size: 1.0625rem; font-weight: 800; font-variation-settings: "wdth" 112; }
.new-nav em { font-style: normal; padding: 8px 14px; border-radius: 12px; background: #3b2314; color: #fdf6ec; font-size: .75rem; font-weight: 700; }
.new-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6%; padding: 0 7%; background: linear-gradient(120deg, #f8e7cf, #efcf9f); }
.new-copy { display: grid; justify-items: start; gap: 10px; }
.new-copy small { font-size: .9375rem; color: #6b4a33; max-width: 24em; }
.new-pic { order: -1; aspect-ratio: 4 / 3; border-radius: 22px; background: radial-gradient(circle at 32% 36%, #f3d1a2 0 17%, transparent 17.5%), radial-gradient(circle at 63% 58%, #d99b5e 0 21%, transparent 21.5%), radial-gradient(circle at 40% 74%, #e8b67a 0 13%, transparent 13.5%), linear-gradient(160deg, #b9773f, #7d4a24); box-shadow: 0 20px 50px rgba(59,35,20,.25); }
.new-copy p { font-size: .8125rem; font-weight: 700; color: #8a5a36; text-transform: uppercase; letter-spacing: .08em; }
.new-copy h4 { font-size: clamp(1.75rem, 4.6vw, 3.5rem); line-height: 1; font-weight: 800; font-variation-settings: "wdth" 120; max-width: 9em; }
.new-copy span { margin-top: 8px; padding: 10px 18px; border-radius: 14px; background: #3b2314; color: #fdf6ec; font-size: .875rem; font-weight: 700; }
.new-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 18px 26px; }
.new-row i { height: clamp(40px, 7vw, 90px); border-radius: 14px; background: #f1dfc5; }

@media (max-width: 960px) {
  .dm-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .dm-grid.flip .dm-copy { order: 0; }
  .dm-sec { padding: 80px 0; }
}
@media (max-width: 640px) {
  .bk { padding: 18px; min-height: 0; }
  .bk-services { grid-template-columns: minmax(0, 1fr); }
  .bk-cards { grid-template-columns: minmax(0, 1fr); }
  .bk-done { position: static; padding: 0; }
  .bk.is-done .bk-flow { display: none; }
  .ba { aspect-ratio: 4 / 5; }
  .new-hero { grid-template-columns: 1fr; gap: 16px; align-content: center; }
  .new-copy { justify-items: end; text-align: right; }
  .new-nav span { display: none; }
  .new-pic { display: none; }
  .old-body { grid-template-columns: 90px 1fr; }
  .rs-stage { padding: 18px 0; }
  .rs-frame { max-width: calc(100% - 32px); }
  .rs-handle { right: -14px; width: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-flow, .br-row, .rs-frame, .dm-jump a { transition: none; }
  .bk.is-done .bk-card, .bk.is-done .bk-check circle, .bk.is-done .bk-check path { animation: none; opacity: 1; transform: none; stroke-dashoffset: 0; }
  .br-caret { animation: none; }
}

/* --- 05 Care Plan request --- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.cp-portal { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--panel); box-shadow: 0 30px 90px rgba(0,0,0,.5); min-width: 0; }
.cp-head { display: grid; gap: 8px; }
.cp-head b { font-size: 1.0625rem; font-weight: 800; font-variation-settings: "wdth" 112; }
.cp-plan { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; font-size: .75rem; color: var(--dim); }
.cp-plan > span { font-weight: 700; color: var(--soft); }
.cp-bar { display: block; height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; }
.cp-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--silver); transition: width .8s var(--ease); }
.cp-plan em { grid-column: 1 / -1; font-style: normal; font-variant-numeric: tabular-nums; }
.cp-thread { display: grid; gap: 8px; align-content: start; min-height: 230px; max-height: 330px; overflow-y: auto; padding: 12px; border-radius: 14px; background: #0a0a0a; border: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.cp-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: .875rem; animation: cp-in .45s var(--ease) both; }
.cp-msg small { display: block; margin-top: 3px; font-size: .6875rem; opacity: .65; }
.cp-msg.owner { justify-self: start; background: var(--panel-2); border: 1px solid var(--line); }
.cp-req { justify-self: end; max-width: 92%; display: grid; gap: 6px; padding: 11px 13px; border: 1px solid var(--silver); border-radius: 14px; background: var(--panel-2); font-size: .875rem; animation: cp-in .45s var(--ease) both; }
.cp-req-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cp-req-top small { font-size: .625rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.cp-pill { font-size: .6875rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--soft); transition: background .3s, color .3s, border-color .3s; }
.cp-pill.work { border-color: var(--silver); color: var(--text); }
.cp-pill.done { background: #22c55e; border-color: #22c55e; color: #03140a; }
.cp-note { font-size: .8125rem; color: var(--soft); border-left: 2px solid var(--line-2); padding-left: 9px; animation: cp-in .45s var(--ease) both; }
.cp-sys { justify-self: center; font-size: .75rem; color: #86efac; border: 1px solid rgba(34,197,94,.35); border-radius: 999px; padding: 3px 11px; animation: cp-in .45s var(--ease) both; }
@keyframes cp-in { from { opacity: 0; transform: translateY(8px); } }
.cp-form { display: flex; gap: 8px; background: none; border: 0; padding: 0; }
.cp-form input { flex: 1; min-width: 0; padding: 10px 12px; font-size: .875rem; }
.cp-form .btn { width: auto; padding: 10px 16px; font-size: .875rem; flex: none; }
.cp-form .btn[disabled] { opacity: .5; }
.cp-site { padding: 16px; border-radius: 18px; background: #fdf6ec; color: #3b2314; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.cp-site-top { font-size: .6875rem; color: #8a5a36; margin-bottom: 10px; }
.cp-hours { display: grid; gap: 7px; font-size: .875rem; }
.cp-hours b { font-size: 1rem; font-weight: 800; font-variation-settings: "wdth" 112; margin-bottom: 2px; }
.cp-hours span { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid #efdcc4; }
.cp-hours em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.cp-sat.changed { animation: cp-flash 1.6s var(--ease); border-radius: 8px; }
@keyframes cp-flash { 0%, 40% { background: rgba(34,197,94,.25); box-shadow: 0 0 0 6px rgba(34,197,94,.25); } }

/* --- 06 speed --- */
.sp { display: grid; gap: 18px; }
.sp-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.sp-bar .btn[disabled] { opacity: .5; cursor: wait; }
.sp-hint { font-size: .9375rem; color: var(--muted); }
.sp-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 32px; }
.sp-phone { margin: 0; display: grid; gap: 12px; }
.sp-phone figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .9375rem; }
.sp-time { font-size: .875rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.sp-phone.fast.ready .sp-time { color: #86efac; font-weight: 700; }
.sp-phone.slow.ready .sp-time { color: #fca5a5; font-weight: 700; }
.sp-screen { position: relative; aspect-ratio: 9 / 16; border-radius: 30px; border: 6px solid #1c1c1e; background: #fff; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.sp-spin { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 3px solid #e4e4e7; border-top-color: #71717a; opacity: 0; }
.sp-phone.loading .sp-spin { opacity: 1; animation: sp-spin .8s linear infinite; }
@keyframes sp-spin { to { transform: rotate(360deg); } }
.sp-page { position: absolute; inset: 0; display: grid; align-content: start; gap: 10px; padding: 14px; background: #fdf6ec; }
.sp-page i { display: block; border-radius: 8px; background: #efdcc4; opacity: 0; transform: translateY(10px); transition: opacity .25s, transform .35s var(--ease); }
.sp-page i.on { opacity: 1; transform: none; }
.sp-page .p-nav { height: 18px; width: 55%; }
.sp-page .p-hero { height: 150px; background: linear-gradient(135deg, #e7b77a, #b9773f); border-radius: 14px; }
.sp-page .p-line { height: 10px; }
.sp-page .p-line.s { width: 60%; }
.sp-page .p-btn { height: 30px; width: 46%; background: #3b2314; border-radius: 10px; }
.sp-page .p-ad { height: 60px; background: repeating-linear-gradient(45deg, #fde68a 0 10px, #fcd34d 10px 20px); }
.sp-page .p-pop { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 70px; background: #27272a; border-radius: 12px; }
.sp-load { height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.sp-load i { display: block; height: 100%; width: 0; background: var(--silver); }
.sp-phone.fast .sp-load i { background: #22c55e; }

/* --- 07 search --- */
.gs { display: grid; gap: 12px; padding: 20px; border-radius: 22px; background: #fff; color: #202124; box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.gs-top { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gs-box { flex: 1 1 220px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid #dadce0; border-radius: 24px; background: #fff; box-shadow: 0 1px 6px rgba(32,33,36,.12); }
.gs-box svg { width: 18px; height: 18px; color: #5f6368; flex: none; }
.gs-box input { flex: 1; min-width: 0; border: 0; padding: 0; background: none; color: #202124; font-size: .9375rem; }
.gs-box input:focus { outline: none; }
.gs-box:focus-within { border-color: #a1a1aa; }
.gs-toggle { display: inline-flex; gap: 4px; padding: 3px; border-radius: 14px; background: #f1f3f4; }
.gs-toggle button { font: inherit; font-size: .8125rem; font-weight: 700; padding: 7px 12px; border: 0; border-radius: 11px; background: none; color: #5f6368; cursor: pointer; }
.gs-toggle [aria-pressed="true"] { background: #202124; color: #fff; }
.gs-toggle button:focus-visible, .gs-chips button:focus-visible { outline: 2px solid #202124; outline-offset: 2px; }
.gs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-chips button { font: inherit; font-size: .8125rem; padding: 5px 12px; border: 1px solid #dadce0; border-radius: 999px; background: #fff; color: #3c4043; cursor: pointer; }
.gs-chips button:hover { background: #f8f9fa; }
.gs-results { display: grid; gap: 10px; min-height: 360px; align-content: start; }
.gs-label { font-size: .8125rem; color: #5f6368; }
.gs-map { position: relative; height: 110px; border-radius: 14px; overflow: hidden; background: linear-gradient(#e8eaed 0 0) 0 40%/100% 6px no-repeat, linear-gradient(90deg, #e8eaed 0 0) 35% 0/6px 100% no-repeat, linear-gradient(90deg, #e8eaed 0 0) 72% 0/6px 100% no-repeat, #f1f3f4; }
.gs-pin { position: absolute; width: 18px; height: 18px; margin: -18px 0 0 -9px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #9aa0a6; }
.gs-pin.us { background: #c5221f; width: 24px; height: 24px; margin: -24px 0 0 -12px; animation: gs-drop .6s var(--ease) both; }
@keyframes gs-drop { from { transform: translateY(-20px) rotate(-45deg); opacity: 0; } }
.gs-place { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 14px; border: 1px solid #e8eaed; border-radius: 14px; animation: cp-in .45s var(--ease) both; }
.gs-place.us { border-color: #c5221f; box-shadow: 0 0 0 3px rgba(197,34,31,.08); }
.gs-place b { font-size: 1rem; color: #1a0dab; font-weight: 600; }
.gs-place .gs-meta { grid-column: 1; font-size: .8125rem; color: #4d5156; }
.gs-stars { color: #b45309; letter-spacing: 1px; }
.gs-open { color: #188038; font-weight: 600; }
.gs-closed { color: #c5221f; }
.gs-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.gs-acts span { font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid #dadce0; color: #1a73e8; }
.gs-thumb { grid-row: 1 / 4; grid-column: 2; width: 64px; height: 64px; border-radius: 10px; background: linear-gradient(135deg, #e7b77a, #b9773f); }
.gs-place.dim .gs-thumb { background: #e8eaed; }
.gs-empty { padding: 16px; border-radius: 14px; background: #f8f9fa; color: #5f6368; font-size: .875rem; }

@media (max-width: 960px) {
  .cp { grid-template-columns: minmax(0, 1fr); }
  .sp-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 520px) {
  .sp-screen { border-width: 4px; border-radius: 22px; }
  .sp-page .p-hero { height: 90px; }
  .sp-phone figcaption { flex-direction: column; gap: 2px; font-size: .8125rem; }
  .cp-form { flex-direction: column; }
  .gs { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-msg, .cp-req, .cp-note, .cp-sys, .gs-place, .gs-pin.us, .cp-sat.changed { animation: none; }
  .cp-bar i, .sp-page i { transition: none; }
  .sp-phone.loading .sp-spin { animation-duration: 2.4s; }
}
.gs-miss { border: 1px dashed #c5221f; color: #a50e0e; background: #fce8e6; }

/* --- Service pages (website-design, online-booking, website-hosting, google-business-profile) --- */
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .9375rem; color: var(--dim); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.page-head .svc-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.svc-page { padding-bottom: 112px; }
.svc-page .svc-detail:first-child { border-top: 1px solid var(--line); }
.svc-page .desc a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.svc-steps { list-style: none; counter-reset: st; border-top: 1px solid var(--line); }
.svc-steps li { counter-increment: st; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.svc-steps li::before { content: counter(st); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: .875rem; font-weight: 700; color: var(--soft); }
.svc-steps b { font-weight: 700; }
.svc-steps span { color: var(--muted); font-size: .9688rem; }
.svc-demo { display: grid; gap: 8px; padding: 28px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--panel); transition: border-color .2s, transform .2s var(--ease); }
.svc-demo b { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 800; font-variation-settings: "wdth" 115; letter-spacing: -.01em; }
.svc-demo .go { color: var(--muted); font-weight: 600; font-size: .9375rem; }
.svc-demo:hover { border-color: var(--silver); transform: translateY(-2px); }
.svc-demo:hover .go { color: var(--text); }
.svc-others { padding-top: 64px; }
.svc-others h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); margin-bottom: 22px; }
.svc-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.svc-more-link { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s; }
.svc-more-link b { font-weight: 700; }
.svc-more-link span { color: var(--muted); font-size: .9375rem; }
.svc-more-link:hover { border-color: var(--silver); }
.svc-detail .more { display: inline-block; margin-top: 18px; color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .svc-more { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .svc-demo { transition: none; } .svc-demo:hover { transform: none; } }

/* Pre-call form (start.html) */
.pc-wrap { max-width: 760px; padding-bottom: 112px; }
#precall-form { display: grid; gap: 28px; }
#pc-questions { display: grid; gap: 28px; }
.pc-q { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; font-size: 1.0625rem; font-weight: 600; }
.pc-q legend { padding: 0; margin-bottom: 12px; font-weight: 600; }
.pc-q .hint { margin-top: -6px; font-weight: 400; }
.pc-q textarea { min-height: 96px; }
#precall-form .btn { width: auto; justify-self: start; padding: 15px 28px; }

/* Recent work (home page) */
.work .work-sub { color: var(--soft); margin: -6px 0 28px; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.work-card { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel, #0a0a0a); color: var(--text); text-decoration: none; transition: border-color .2s; }
.work-card:hover { border-color: var(--silver); }
.work-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.work-card h3 { font-size: 1.25rem; }
.work-card p { color: var(--soft); font-size: .9375rem; }
.work-link { font-size: .9375rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dm-more-wrap { padding: 8px 0 72px; }

/* Language button (Español / English) on the contact, pre-call, and portal pages */
.lang-row { margin: 0 0 18px; }
.lang-row .lang-btn { padding: 8px 14px; font-size: .875rem; }

/* Español / English in the main menu */
.nav-links .lang-slot:empty { display: none; }
.nav-links .lang-btn { padding: 9px 14px; font-size: .875rem; }
.lang-note { margin: 10px 0 0; font-size: .9375rem; color: var(--soft); }
.lang-note a { color: var(--text); }

/* ---------- Depth: brushed metal and light (Oct 15) ----------
   One light source, top-left. Raised things (buttons, panels) get a lit top edge and a shadow below.
   Sunken things (fields, the story well) get an inner shadow. Dividers are grooves: a dark line with a lit line under it. */
:root {
  --lit: rgba(255, 255, 255, .11);
  --lit-strong: rgba(255, 255, 255, .22);
  --surface: linear-gradient(180deg, #1a1a1c 0%, #101011 100%);
  --surface-soft: linear-gradient(180deg, #161618 0%, #0d0d0e 100%);
  --well: #050506;
  --metal: linear-gradient(180deg, #ffffff 0%, #ececee 45%, #d3d4d7 100%);
  --raise: inset 0 1px 0 var(--lit), inset 0 -1px 0 rgba(0, 0, 0, .55), 0 18px 40px -22px rgba(0, 0, 0, .9);
  --raise-far: inset 0 1px 0 var(--lit), 0 2px 4px rgba(0, 0, 0, .5), 0 40px 90px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .03);
  --sink: inset 0 2px 5px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .05);
}

/* Grooves instead of hairlines */
.section + .section, .story, .closing, footer, .svc-list, .svc-detail:first-child, .includes, .contact-info dl, .legal section, .svc-steps, .svc-page .svc-detail:first-child {
  border-top-color: #0b0b0c; box-shadow: inset 0 1px 0 var(--lit);
}
.svc-row, .svc-detail, .includes li, .contact-info dl div { border-bottom-color: #0b0b0c; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.band { border-color: #0b0b0c; box-shadow: inset 0 1px 0 var(--lit), inset 0 -1px 0 rgba(255, 255, 255, .05); }

/* Header: a lit edge and a shadow onto the page */
header { border-bottom-color: #0b0b0c; box-shadow: 0 1px 0 rgba(255, 255, 255, .05), 0 12px 32px -12px rgba(0, 0, 0, .8); }

/* Buttons: polished metal, raised; pressed sinks */
.btn-primary {
  background: var(--metal); color: #0a0a0a;
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .18), 0 1px 2px rgba(0, 0, 0, .6), 0 14px 28px -14px rgba(245, 245, 245, .35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, filter .2s;
}
.btn-primary:hover { background: var(--metal); filter: brightness(1.06); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .18), 0 2px 3px rgba(0, 0, 0, .6), 0 20px 34px -14px rgba(245, 245, 245, .45); }
.btn-primary:active, .btn-primary.magnetic:active { box-shadow: inset 0 2px 4px rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 255, 255, .2); filter: brightness(.96); }
.btn-ghost { background: var(--surface-soft); border-color: #2c2c2f; box-shadow: var(--raise); }
.btn-ghost:hover { border-color: var(--steel); box-shadow: inset 0 1px 0 var(--lit-strong), inset 0 -1px 0 rgba(0, 0, 0, .55), 0 18px 40px -20px rgba(0, 0, 0, .9); }
.btn-login { box-shadow: inset 0 1px 0 var(--lit), 0 10px 24px -14px rgba(245, 245, 245, .25); }

/* Panels: raised plates with a lit top edge */
form, .route-panel, .svc-demo, .svc-more-link, .pm-rail, .pm-inv, .pm-tile, .pm-design, .work-card, .beat[aria-pressed="true"] {
  background: var(--surface); border-color: #262629; box-shadow: var(--raise);
}
.pm-tile.on { background: linear-gradient(180deg, rgba(34, 197, 94, .1), #101011 70%); }
.svc-demo:hover, .svc-more-link:hover { box-shadow: inset 0 1px 0 var(--lit-strong), inset 0 -1px 0 rgba(0, 0, 0, .55), 0 28px 50px -22px rgba(0, 0, 0, .95); }
.route-panel { background: linear-gradient(180deg, rgba(26, 26, 28, .86), rgba(14, 14, 15, .9)); }
.choice span { background: var(--surface-soft); box-shadow: inset 0 1px 0 var(--lit), 0 1px 2px rgba(0, 0, 0, .5); }
.choice input:checked + span { background: var(--metal); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, .6); }

/* Fields: sunk into the panel */
input, select, textarea { background-color: var(--well); border-color: #0d0d0e; box-shadow: var(--sink); }
input:focus, select:focus, textarea:focus { border-color: var(--steel); box-shadow: var(--sink), 0 0 0 3px rgba(201, 202, 205, .12); }

/* Service rows: the hovered row lifts off the page */
a.svc-row::before { background: var(--surface); box-shadow: var(--raise); }

/* ---------- Home hero: the one orchestrated moment, now lit ---------- */
.hero-light {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52% 68% at 74% 50%, rgba(214, 215, 218, .17) 0%, rgba(214, 215, 218, .05) 45%, transparent 72%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 4px);
  -webkit-mask-image: radial-gradient(70% 95% at 70% 50%, #000 25%, transparent 100%);
          mask-image: radial-gradient(70% 95% at 70% 50%, #000 25%, transparent 100%);
}
.hero::after { /* the edges of the field fall into shadow */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(110% 110% at 50% 45%, transparent 50%, rgba(0, 0, 0, .9) 100%);
}
.hero-mark { position: relative; perspective: 1100px; }
.mark-3d {
  position: relative; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d; transition: transform .7s var(--ease); will-change: transform;
}
.hero-mark img { filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .85)) drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }
.mark-sheen { /* the highlight that slides across the chrome as the light moves */
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(42% 52% at var(--lx, 48%) var(--ly, 38%), rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .28) 38%, transparent 72%);
  -webkit-mask: url('/mark-clear.png') center / contain no-repeat; mask: url('/mark-clear.png') center / contain no-repeat;
}
.mark-floor { /* a soft pool of light on the floor under the mark */
  position: absolute; left: 6%; right: 6%; bottom: -16%; height: 22%; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(201, 202, 205, .35), transparent 70%); filter: blur(14px);
  transform: translateZ(-80px);
}
.js .hero-mark { opacity: 0; transform: scale(.92); animation: mark-in 1s var(--ease) .1s forwards; }
@media (max-width: 860px) {
  .hero-light { background-position: 0 0; -webkit-mask-image: radial-gradient(90% 60% at 30% 18%, #000 20%, transparent 100%); mask-image: radial-gradient(90% 60% at 30% 18%, #000 20%, transparent 100%); }
  .hero-light { background: radial-gradient(60% 40% at 22% 16%, rgba(214, 215, 218, .16) 0%, transparent 70%), repeating-linear-gradient(180deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 4px); }
  .mark-floor { display: none; }
}

/* ---------- The story: a sunken well with the portal standing in it ---------- */
.story { background: linear-gradient(180deg, #000 0%, var(--well) 12%, var(--well) 88%, #000 100%); box-shadow: inset 0 1px 0 var(--lit), inset 0 28px 60px -30px rgba(0, 0, 0, .9); }
.pmock {
  background: var(--surface); border-color: #2a2a2d; box-shadow: var(--raise-far);
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: 40% 50%;
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.pmock:hover { transform: perspective(1600px) rotateY(0) rotateX(0); box-shadow: inset 0 1px 0 var(--lit), 0 2px 4px rgba(0, 0, 0, .5), 0 60px 110px -34px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .04); }
.pm-bar { background: linear-gradient(180deg, #1f1f21, #151517); box-shadow: inset 0 1px 0 var(--lit); border-bottom-color: #0b0b0c; }
.pm-bar i { background: linear-gradient(180deg, #5a5b60, #38393d); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
@media (max-width: 960px) { .pmock, .pmock:hover { transform: none; } }

/* Closing: the page ends on a lit floor */
.closing { background: radial-gradient(60% 70% at 18% 100%, rgba(201, 202, 205, .08), transparent 70%); }

@media (prefers-reduced-motion: reduce) {
  .mark-3d { transform: none !important; transition: none; }
  .pmock, .pmock:hover { transform: none; }
}

/* ---------- Premium pass: one light on every page, silver type, live chrome ---------- */
/* The same top-left light falls on every page header */
.page-head, .contact-hero, .demos-head { position: relative; isolation: isolate; }
.page-head::before, .contact-hero::before {
  content: ""; position: absolute; inset: -40% -10% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 60% at 18% 30%, rgba(214, 215, 218, .13) 0%, transparent 70%);
}
/* Big headlines are set in brushed silver, like the wordmark's metal */
.hero h1 .line > span, .page-head h1, .section-head h2, .story-copy h2, .closing h2, .notfound h1 {
  background: linear-gradient(180deg, #ffffff 0%, #ededef 48%, #c6c7cb 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .line { padding-bottom: .08em; margin-bottom: -.04em; } /* room for the gradient box so descenders aren't clipped */
/* Live chrome: the mark's fill is a metal gradient that slides as the light moves */
@supports (mask: url('x.png')) or (-webkit-mask: url('x.png')) {
  .mark-chrome {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(112deg, #fcfcfd 0%, #d7d8db 22%, #8b8e93 46%, #5f6267 54%, #c7c8cc 76%, #ffffff 100%);
    background-size: 220% 220%; background-position: var(--lx, 48%) var(--ly, 38%);
    -webkit-mask: url('/mark-clear.png') center / contain no-repeat; mask: url('/mark-clear.png') center / contain no-repeat;
  }
  .mark-3d img { visibility: hidden; }
  .mark-sheen { background: radial-gradient(38% 46% at var(--lx, 48%) var(--ly, 38%), rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, .18) 40%, transparent 72%); }
  .mark-3d { filter: drop-shadow(0 28px 34px rgba(0, 0, 0, .85)) drop-shadow(0 2px 2px rgba(0, 0, 0, .6)); }
  .hero-mark img { filter: none; }
}
/* Small metal details inside the portal mockup */
.pm-pay, .pm-approve { background: var(--metal); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0, 0, 0, .6); }
.pm-rail li.now span { background: var(--metal); border-color: #fff; }
/* Room to breathe on wide screens */
@media (min-width: 961px) {
  .section { padding: 128px 0; }
  .page-head { padding: 120px 0 80px; }
  .closing { padding: 144px 0 136px; }
}

/* ---------- Icons (Oct 15): one line-icon set, drawn by icons.js ---------- */
.ic { width: 16px; height: 16px; flex: none; }
.btn .ic { width: 16px; height: 16px; }
.nav .btn .ic, .lang-btn .ic { width: 14px; height: 14px; }
.link-btn .ic, .more-btn .ic { width: 13px; height: 13px; vertical-align: -2px; margin-right: 5px; display: inline-block; }
.svc-row .go { display: inline-flex; align-items: center; gap: 6px; }
.svc-row .go .ic { width: 14px; height: 14px; transition: transform .25s var(--ease); }
a.svc-row:hover .go .ic { transform: translateX(3px); }
.btn[data-icon="arrow-right"] .ic { transition: transform .25s var(--ease); }
.btn[data-icon="arrow-right"]:hover .ic { transform: translateX(3px); }
.btn[data-icon="arrow-left"]:hover .ic { transform: translateX(-3px); }

/* Required and optional, said with a symbol as well as a word */
:root {
  --ic-req: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 4v16M5 8l14 8M19 8L5 16'/%3E%3C/svg%3E");
  --ic-opt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M7 4.6a9 9 0 0 1 10 0M19.4 7a9 9 0 0 1 0 10M17 19.4a9 9 0 0 1-10 0M4.6 17a9 9 0 0 1 0-10'/%3E%3C/svg%3E");
}
.mark-req, .mark-opt { display: inline-block; width: 11px; height: 11px; vertical-align: -1px; margin-left: 6px; background: currentColor; -webkit-mask: var(--ic-req) center / contain no-repeat; mask: var(--ic-req) center / contain no-repeat; }
.mark-opt { -webkit-mask-image: var(--ic-opt); mask-image: var(--ic-opt); opacity: .55; }
/* A small asterisk at the right end of a required field's label line */
form label:has(> input[required]), form label:has(> textarea[required]), form label:has(> .fld > input[required]), form label:has(> .pw-wrap > input[required]), .field:has(input[required]) > .q { position: relative; padding-right: 18px; }
form label:has(> input[required])::after, form label:has(> textarea[required])::after, form label:has(> .fld > input[required])::after, form label:has(> .pw-wrap > input[required])::after, .field:has(input[required]) > .q::after {
  content: ""; position: absolute; top: .35em; right: 2px; width: 10px; height: 10px; background: var(--silver);
  -webkit-mask: var(--ic-req) center / contain no-repeat; mask: var(--ic-req) center / contain no-repeat;
}
.req-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8125rem; color: var(--muted); margin: 0; }
.req-legend span { display: inline-flex; align-items: center; gap: 6px; }
.req-legend .mark-req, .req-legend .mark-opt { margin: 0; }
.req-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.req-badge.is-req { background: var(--text); color: var(--black); }
.req-badge.is-opt { border: 1px solid var(--line-2); color: var(--muted); }
.req-badge .ic { width: 12px; height: 12px; }


/* ---------- Loaders and live icons (Oct 15), drawn by icons.js ---------- */
.ld { width: 16px; height: 16px; flex: none; display: inline-block; vertical-align: -3px; }
.btn .ld { width: 16px; height: 16px; }
.btn.is-busy svg.ic[data-hid] { display: none; }
[role="status"] > .ld, .form-status > .ld, .t-status > .ld, .brief-meta > .ld { margin-right: 6px; }
/* every loader sits on a black rounded tile, like the reel */
.ld-tile { fill: #000; }
.btn .ld-tile, [role="status"] > .ld .ld-tile, .form-status > .ld .ld-tile, .t-status > .ld .ld-tile, .brief-meta > .ld .ld-tile, .pill .ld-tile, .now .ld-tile, #worker-status .ld-tile { fill: transparent; }
/* ring: a bright arc runs around a full dim ring */
.ld-track { opacity: .3; }
.ld-arc { stroke-dasharray: 14 33; transform-origin: 50% 50%; animation: ld-spin 1s linear infinite; }
@keyframes ld-spin { to { transform: rotate(360deg); } }
/* dots: fill in from the left, then start over */
.ld-d { animation: ld-dot 1.2s steps(1, end) infinite; opacity: .3; }
.ld-d1 { animation-delay: .25s; } .ld-d2 { animation-delay: .5s; }
@keyframes ld-dot { 0%, 75% { opacity: 1; } 76%, 100% { opacity: .3; } }
/* fade: a soft halo breathes around a dot */
.ld-halo { opacity: .35; filter: blur(1.2px); transform-origin: 50% 50%; transform-box: fill-box; animation: ld-halo 1.8s ease-in-out infinite; }
@keyframes ld-halo { 0%, 100% { transform: scale(.6); opacity: .15; } 50% { transform: scale(1.15); opacity: .5; } }
@keyframes ld-rip { from { transform: scale(.5); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
/* ball: drops onto a short bar and squashes */
.ld-b { transform-origin: 50% 100%; transform-box: fill-box; animation: ld-ball .7s cubic-bezier(.35, 0, .65, 1) infinite alternate; }
.ld-shadow { opacity: .45; transform-origin: 50% 50%; transform-box: fill-box; animation: ld-shadow .7s cubic-bezier(.35, 0, .65, 1) infinite alternate; }
@keyframes ld-ball { from { transform: translateY(0) scale(.92, 1.08); } to { transform: translateY(7.2px) scale(1.25, .75); } }
@keyframes ld-shadow { from { transform: scaleX(.5); opacity: .2; } to { transform: scaleX(1); opacity: .6; } }
/* clock: hands that turn */
.ld-hand { transform-origin: 12px 12px; }
.ld-min { animation: ld-spin 2s linear infinite; }
.ld-hour { animation: ld-spin 24s linear infinite; }
/* hourglass: flips over, with a pause at each end */
.ld-hourglass { transform-origin: 50% 50%; animation: ld-flip 2.6s cubic-bezier(.6, 0, .4, 1) infinite; }
.ld-sand { animation: ld-sand 2.6s ease-in-out infinite; transform-origin: 12px 12px; }
@keyframes ld-flip { 0%, 62% { transform: rotate(0); } 85%, 100% { transform: rotate(180deg); } }
@keyframes ld-sand { 0% { transform: translateY(0) scaleY(1); opacity: 1; } 58% { transform: translateY(7.6px) scaleY(-1); opacity: 1; } 62%, 100% { transform: translateY(7.6px) scaleY(-1); opacity: 0; } }
/* signal: the arcs light up from the dot outward, then clear */
.ld-s { animation: ld-sig 1.8s steps(1, end) infinite; opacity: .2; }
.ld-s0 { animation-delay: 0s; } .ld-s1 { animation-delay: .3s; } .ld-s2 { animation-delay: .6s; } .ld-s3 { animation-delay: .9s; }
@keyframes ld-sig { 0%, 70% { opacity: 1; } 71%, 100% { opacity: .2; } }
.ld-signal.is-still .ld-s { animation: none; opacity: 1; }
.ld-signal.is-off .ld-s { animation: none; opacity: .25; }
.ld-signal.is-off .ld-s0 { opacity: 1; }
/* waiting badges and dots breathe */
.dnav .badge.alert, .ov-tile .badge.alert, .req-badge.is-req { animation: ld-breathe 2.4s ease-in-out infinite; }
@keyframes ld-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(245, 245, 245, .35); } 50% { box-shadow: 0 0 0 5px rgba(245, 245, 245, 0); } }
@media (prefers-reduced-motion: reduce) {
  .ld *, .ld { animation: none !important; }
  .ld-arc { stroke-dasharray: 44 13; }
  .ic { animation: none !important; }
  .dnav .badge.alert, .ov-tile .badge.alert, .req-badge.is-req { animation: none; }
}

/* ---------- Live icons (Oct 15): each icon has its own move, in the spirit of the reel. ----------
   Plays on hover, and once (.ic-play) when a section, tab, or page opens. Everything is transform/opacity. */
.ic { transform-box: fill-box; transform-origin: 50% 50%; }
:is(.btn, .link-btn, .dnav a, .side-nav button, .ctabs button, .ov-tile, .svc-row, .nav-links a, .foot-links a):hover .ic, .ic.ic-play { animation-duration: .7s; animation-timing-function: var(--ease); animation-fill-mode: both; }
.ic.ic-play { animation-duration: .9s; }
/* arrows slide */
:is(:hover, .ic-play) > [data-icon="arrow-right"] .ic, [data-icon="arrow-right"]:hover .ic, .ic-play[data-icon="arrow-right"] { animation-name: ic-slide-r; }
[data-icon="arrow-left"]:hover .ic { animation-name: ic-slide-l; }
[data-icon="arrow-up"]:hover .ic, [data-icon="upload"]:hover .ic, .ic-play[data-icon="upload"] { animation-name: ic-rise; }
[data-icon="arrow-down"]:hover .ic, [data-icon="download"]:hover .ic, .ic-play[data-icon="download"] { animation-name: ic-drop; }
@keyframes ic-slide-r { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes ic-slide-l { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
@keyframes ic-rise { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-4px); } 70% { transform: translateY(1px); } }
@keyframes ic-drop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(4px); } 70% { transform: translateY(-1px); } }
/* checks pop, x shakes, plus spins in */
[data-icon="check"]:hover .ic, [data-icon="check-circle"]:hover .ic, .ic-play[data-icon="check-circle"] { animation-name: ic-pop; }
[data-icon="x"]:hover .ic, [data-icon="trash"]:hover .ic { animation-name: ic-shake; }
[data-icon="plus"]:hover .ic, [data-icon="user-plus"]:hover .ic { animation-name: ic-spin-in; }
@keyframes ic-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes ic-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 50% { transform: rotate(12deg); } 75% { transform: rotate(-6deg); } }
@keyframes ic-spin-in { 0% { transform: rotate(-90deg) scale(.7); } 100% { transform: rotate(0) scale(1); } }
/* mail bobs, send flies, message bubble bounces, bell rings */
[data-icon="mail"]:hover .ic, [data-icon="mail-open"]:hover .ic, .ic-play[data-icon="mail"] { animation-name: ic-bob; }
[data-icon="send"]:hover .ic { animation-name: ic-fly; }
[data-icon="message"]:hover .ic, .ic-play[data-icon="message"] { animation-name: ic-bubble; }
[data-icon="bell"]:hover .ic { animation-name: ic-ring; transform-origin: 50% 10%; }
@keyframes ic-bob { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-3px) rotate(-6deg); } 60% { transform: translateY(0) rotate(4deg); } }
@keyframes ic-fly { 0% { transform: translate(0, 0); } 45% { transform: translate(5px, -5px) rotate(-10deg); } 55% { opacity: 0; transform: translate(8px, -8px); } 56% { transform: translate(-4px, 4px); } 100% { opacity: 1; transform: translate(0, 0); } }
@keyframes ic-bubble { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.2, .85); } 55% { transform: scale(.95, 1.1); } }
@keyframes ic-ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-18deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }
/* folder opens, file-text unrolls, receipt tears, card flips, book flips, note writes */
[data-icon="folder"]:hover .ic, .ic-play[data-icon="folder"] { animation-name: ic-lid; transform-origin: 10% 90%; }
[data-icon="file-text"]:hover .ic, .ic-play[data-icon="file-text"], [data-icon="note"]:hover .ic { animation-name: ic-unroll; transform-origin: 50% 0; }
[data-icon="receipt"]:hover .ic, .ic-play[data-icon="receipt"], [data-icon="credit-card"]:hover .ic, [data-icon="card"]:hover .ic { animation-name: ic-flip; }
[data-icon="book"]:hover .ic, [data-icon="layout"]:hover .ic, .ic-play[data-icon="layout"] { animation-name: ic-page; transform-origin: 0 50%; }
[data-icon="pencil"]:hover .ic { animation-name: ic-write; }
@keyframes ic-lid { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-10deg) translateY(-1px); } }
@keyframes ic-unroll { 0% { transform: scaleY(.3); opacity: .3; } 100% { transform: scaleY(1); opacity: 1; } }
@keyframes ic-flip { 0%, 100% { transform: rotateY(0); } 50% { transform: rotateY(180deg); } }
@keyframes ic-page { 0%, 100% { transform: rotateY(0); } 50% { transform: rotateY(-40deg); } }
@keyframes ic-write { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(1px, -1px) rotate(-8deg); } 50% { transform: translate(2px, 1px) rotate(4deg); } 75% { transform: translate(0, -1px) rotate(-4deg); } }
/* globe turns, home settles, users sway, user nods, key turns, lock bounces, settings spins, sun rotates, inbox dips, tag swings, flag waves, rocket lifts, calendar flips, refresh spins, eye blinks, archive dips, play pulses, sparkles twinkle, help nods, copy duplicates, log-in/out slide */
[data-icon="globe"]:hover .ic, .ic-play[data-icon="globe"] { animation-name: ic-turn; }
[data-icon="home"]:hover .ic { animation-name: ic-settle; }
[data-icon="users"]:hover .ic, .ic-play[data-icon="users"] { animation-name: ic-sway; transform-origin: 50% 100%; }
[data-icon="user"]:hover .ic { animation-name: ic-nod; }
[data-icon="key"]:hover .ic { animation-name: ic-key; }
[data-icon="lock"]:hover .ic { animation-name: ic-rise; }
[data-icon="settings"]:hover .ic, .ic-play[data-icon="settings"] { animation-name: ic-gear; }
[data-icon="sun"]:hover .ic, .ic-play[data-icon="sun"] { animation-name: ic-gear; animation-duration: 1.2s; }
[data-icon="inbox"]:hover .ic, .ic-play[data-icon="inbox"], [data-icon="archive"]:hover .ic { animation-name: ic-dip; }
[data-icon="tag"]:hover .ic, .ic-play[data-icon="tag"] { animation-name: ic-swing; transform-origin: 15% 15%; }
[data-icon="flag"]:hover .ic { animation-name: ic-wave; transform-origin: 20% 50%; }
[data-icon="rocket"]:hover .ic { animation-name: ic-launch; }
[data-icon="calendar"]:hover .ic { animation-name: ic-flip; }
[data-icon="refresh"]:hover .ic { animation-name: ic-gear; }
[data-icon="eye"]:hover .ic { animation-name: ic-blink; }
[data-icon="play"]:hover .ic { animation-name: ic-pop; }
[data-icon="sparkles"]:hover .ic { animation-name: ic-twinkle; }
[data-icon="help-circle"]:hover .ic, .ic-play[data-icon="help-circle"] { animation-name: ic-nod; }
[data-icon="copy"]:hover .ic { animation-name: ic-dup; }
[data-icon="log-in"]:hover .ic { animation-name: ic-slide-r; }
[data-icon="log-out"]:hover .ic { animation-name: ic-slide-r; }
[data-icon="list"]:hover .ic { animation-name: ic-unroll; transform-origin: 50% 0; }
[data-icon="phone"]:hover .ic { animation-name: ic-ring; }
@keyframes ic-turn { 0% { transform: rotateY(0); } 100% { transform: rotateY(360deg); } }
@keyframes ic-settle { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-3px); } 65% { transform: translateY(1px) scale(1.04, .96); } }
@keyframes ic-sway { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-8deg); } 70% { transform: rotate(8deg); } }
@keyframes ic-nod { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-12deg); } 70% { transform: rotate(10deg); } }
@keyframes ic-key { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-35deg); } }
@keyframes ic-gear { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
@keyframes ic-dip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }
@keyframes ic-swing { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(14deg); } 70% { transform: rotate(-10deg); } }
@keyframes ic-wave { 0%, 100% { transform: skewY(0); } 30% { transform: skewY(-10deg); } 70% { transform: skewY(8deg); } }
@keyframes ic-launch { 0% { transform: translate(0, 0); } 50% { transform: translate(4px, -4px); } 51% { opacity: 0; transform: translate(-4px, 4px); } 100% { opacity: 1; transform: translate(0, 0); } }
@keyframes ic-blink { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.1); } }
@keyframes ic-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(1.3) rotate(20deg); opacity: .6; } }
@keyframes ic-dup { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-2px, 2px); } }
/* section headings in the portal draw themselves in when the section opens */
.ic-head.ic-play { animation-name: ic-draw-pop; }
@keyframes ic-draw-pop { 0% { transform: scale(.6) rotate(-20deg); opacity: 0; } 60% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1) rotate(0); } }
/* the hero mark and the CT marks in the band keep their own motion; loaders unaffected */
@media (prefers-reduced-motion: reduce) { .ic.ic-play, :hover .ic { animation: none !important; } }

/* Saved passwords (Oct 30): Chrome paints autofilled boxes pale blue/white, which glares on our dark forms and hid the
   password dots. Chrome won't let pages change that background, but a large inset shadow paints over it, so autofilled
   boxes get a dark fill with white text. --autofill-bg can be set per page to match the card behind the box.
   Separate rules, because a browser that doesn't know one name ignores the whole list. */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active,
textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-text-fill-color: var(--text, #f5f5f5) !important;
  caret-color: var(--text, #f5f5f5);
  -webkit-box-shadow: 0 0 0 1000px var(--autofill-bg, #161617) inset !important;
  box-shadow: 0 0 0 1000px var(--autofill-bg, #161617) inset !important;
}
input:autofill, textarea:autofill, select:autofill {
  -webkit-text-fill-color: var(--text, #f5f5f5) !important;
  caret-color: var(--text, #f5f5f5);
  box-shadow: 0 0 0 1000px var(--autofill-bg, #161617) inset !important;
}
