/* ATLAS Documents
   Palette: the original Atlas brand tokens (brand-50..950, cyan, violet).
   Shape system: buttons and inputs 10px, cards 16-24px, filter controls (chips, search) are pills.
   Motif: administrative paperwork (folders, checklists, forms, tickets). */

@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/assets/fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --brand-50: #eef7ff; --brand-100: #d9edfe; --brand-200: #bbdffd; --brand-300: #8ccbfb; --brand-400: #56aef6;
  --brand-500: #358dee; --brand-600: #1f6fe0; --brand-700: #1a5acb; --brand-800: #1c4aa4; --brand-900: #1d4081; --brand-950: #14204a;
  --cyan: #08c0f3; --violet: #6159ea;
  --grad-h: linear-gradient(90deg, var(--cyan), var(--brand-500) 50%, var(--violet));
  --grad-v: linear-gradient(180deg, var(--cyan), var(--brand-500) 50%, var(--violet));

  --accent: #1f6fe0; --accent-hover: #1a5acb; --accent-text: #1f6fe0; --accent-soft: #eef7ff;
  --bg: #ffffff; --bg-2: #f4f7fb; --surface: #ffffff; --surface-2: #f8fafd;
  --text: #0f1a33; --text-2: #5b6b85; --text-3: #647390;
  --line: #e3e9f2; --line-2: #d5deea; --hover-line: #bbdffd;
  --navy: #14204a; --clip: #14204a; --danger: #b91c1c;
  --hl: rgb(8 192 243 / .26);
  --grid-dot: rgb(20 32 74 / .16); --grid-hot: #1f6fe0;
  --shadow-sm: 0 1px 2px rgb(20 32 74 / .06);
  --shadow: 0 14px 34px -18px rgb(20 32 74 / .28), 0 2px 6px rgb(20 32 74 / .04);
  --shadow-lg: 0 34px 70px -28px rgb(20 32 74 / .38), 0 4px 12px rgb(20 32 74 / .05);
  --r: 16px; --r-lg: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  /* The site is light-only, even when the visitor's system uses dark mode. */
  color-scheme: only light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0 0 16px; font-weight: 640; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.35rem + 2vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.3; }
p { margin: 0 0 16px; text-wrap: pretty; }
::selection { background: var(--brand-200); color: var(--brand-950); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.i { width: 20px; height: 20px; fill: currentColor; flex: none; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.narrow { max-width: 820px; }
.section { padding-block: clamp(72px, 9vw, 120px); position: relative; }
.tinted { background: var(--bg-2); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--text-2); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow::before { content: ''; width: 18px; height: 1.5px; background: currentColor; }
/* Button pairs share one width: every column is as wide as the widest button. */
.actions { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.hl { background-image: linear-gradient(var(--hl), var(--hl)); background-repeat: no-repeat; background-position: 0 86%; background-size: 100% 36%; padding-inline: .04em; }
.js .hl { background-size: 0% 36%; transition: background-size 1s var(--ease) .75s; }
.js .is-loaded .hl { background-size: 100% 36%; }

/* ---------- buttons ---------- */
.btn { --bh: 46px; --tx: 0px; --ty: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--bh); padding: 0 20px; border-radius: 10px; border: 1px solid transparent; font-size: 15px; font-weight: 560; letter-spacing: -.005em; white-space: nowrap; transform: translate3d(var(--tx), var(--ty), 0); transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s, transform .35s var(--ease); }
.btn .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translate3d(var(--tx), calc(var(--ty) + 1px), 0) scale(.985); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 10px 22px -12px rgb(31 111 224 / .75); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn-light { background: #fff; color: var(--brand-950); }
.btn-light:hover { background: var(--brand-50); }
.btn-outline-light { color: #fff; border-color: rgb(255 255 255 / .28); }
.btn-outline-light:hover { border-color: #fff; background: rgb(255 255 255 / .06); }
.btn-sm { --bh: 40px; padding: 0 15px; font-size: 14px; }
.btn-lg { --bh: 52px; padding: 0 24px; font-size: 16px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 560; color: var(--accent-text); }
.link-arrow .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgb(20 32 74 / .45); }
.header-bar { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 2px; margin-inline: auto; }
.nav a { position: relative; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--text-2); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: var(--bg-2); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.lang a { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.lang a[aria-current="true"] { background: var(--text); color: var(--bg); }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent-text); }
.icon-btn .i { width: 20px; height: 20px; }
.client-area { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 12px 0 4px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font-size: 13.5px; font-weight: 560; line-height: 1.15; color: var(--text); white-space: nowrap; transition: border-color .2s, box-shadow .2s; }
.client-area:hover { border-color: var(--accent); box-shadow: 0 6px 16px -10px rgb(31 111 224 / .6); }
.ca-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 7px; background: var(--accent-soft); color: var(--accent-text); transition: background-color .2s, color .2s; }
.ca-icon .i { width: 19px; height: 19px; }
.client-area:hover .ca-icon { background: var(--accent); color: #fff; }
.ca-text small { display: block; font-size: 11.5px; font-weight: 500; color: var(--text-2); }
.menu-toggle { display: none; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad-h); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: progress linear both; animation-timeline: scroll(root block); }
}
@keyframes progress { to { transform: scaleX(1); } }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 16px clamp(16px, 4vw, 40px) 32px; background: var(--bg); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mm-nav { display: flex; flex-direction: column; }
.mm-nav a { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; }
.mm-nav a .i { margin-left: auto; color: var(--text-3); }
.mm-nav a[aria-current="page"] { color: var(--accent-text); }
.mm-num { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; color: var(--accent-text); }
.mm-foot { display: grid; gap: 16px; }
.mobile-menu.is-open .mm-nav a { animation: rise .6s var(--ease) calc(var(--i) * 45ms) both; }
body.menu-open { overflow: hidden; }

/* ---------- shared motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(var(--rise, 22px)); } to { opacity: 1; transform: none; } }
@keyframes pop { 50% { transform: scale(1.18); } }
.js [data-rise] { opacity: 0; }
.js .is-loaded [data-rise] { animation: rise .9s var(--ease) calc(var(--d, 0) * 90ms + 60ms) both; }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) calc(var(--si, 0) * 70ms), transform .8s var(--ease) calc(var(--si, 0) * 70ms); }
.js [data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }

/* ---------- canvas grid background ---------- */
.grid-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; -webkit-mask-image: radial-gradient(ellipse 85% 80% at 62% 40%, #000 35%, transparent 88%); mask-image: radial-gradient(ellipse 85% 80% at 62% 40%, #000 35%, transparent 88%); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.hero::before { content: ''; position: absolute; right: -12%; top: -18%; width: 62%; aspect-ratio: 1; background: radial-gradient(closest-side, rgb(86 174 246 / .16), transparent); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; min-height: min(740px, calc(100dvh - var(--header-h) - 48px)); }
.hero-title { font-size: clamp(2.75rem, 1.4rem + 4.6vw, 4.7rem); line-height: 1; letter-spacing: -.048em; font-weight: 650; margin: 0 0 26px; max-width: 12ch; }
.hero-title .w { display: inline-block; }
.js .hero-title .w { opacity: 0; transform: translateY(38%); }
.js .hero.is-in .hero-title .w { animation: rise .95s var(--ease) calc(var(--i) * 75ms + 80ms) both; --rise: 38%; }
.hero-text { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); color: var(--text-2); max-width: 34ch; margin: 0 0 34px; }
.hero-visual { position: relative; width: 100%; max-width: 570px; aspect-ratio: 1 / 1.06; justify-self: end; }
.layer { position: absolute; will-change: transform; }
.layer-photo { inset: 0 0 11% 15%; }
.layer-dossier { left: 0; bottom: 4%; width: min(256px, 54%); z-index: 2; }
.layer-note { top: 8%; right: -4%; z-index: 2; }
.hero-photo { width: 100%; height: 100%; margin: 0; border-radius: 28px; overflow: hidden; background: var(--bg-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.js .hero-photo { clip-path: inset(100% 0 0 0 round 28px); }
.js .hero-photo img { transform: scale(1.14); }
.js .hero.is-in .hero-photo { animation: unclip 1.3s var(--ease) .1s both; }
.js .hero.is-in .hero-photo img { transition: transform 1.8s var(--ease) .1s; transform: none; }
@keyframes unclip { from { clip-path: inset(100% 0 0 0 round 28px); } to { clip-path: inset(0 0 0 0 round 28px); } }
.hero-note { display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.3; }
.hero-note strong { display: block; font-weight: 600; }
.hero-note small { display: block; font-size: 12.5px; color: var(--text-2); }
.note-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.js .hero-note, .js .dossier { opacity: 0; }
.js .hero.is-in .dossier { animation: rise 1s var(--ease) .5s both; --rise: 34px; }
.js .hero.is-in .hero-note { animation: rise 1s var(--ease) .8s both; --rise: 20px; }

.dossier { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px 10px; box-shadow: var(--shadow-lg); }
.dossier-head { display: flex; align-items: center; gap: 8px; padding-bottom: 9px; border-bottom: 1px dashed var(--line-2); font-size: 13px; }
.dossier-head img { width: 19px; height: 19px; }
.dossier-head strong { font-weight: 600; }
.dossier-head .mono { margin-left: auto; font-size: 10.5px; color: var(--text-2); }
.dossier-list { list-style: none; margin: 3px 0 0; padding: 0; }
.dossier-list li { display: flex; align-items: center; gap: 10px; padding: 6px 2px; }
.dossier-list .box { flex-basis: 19px; width: 19px; height: 19px; border-radius: 5px; }
.dossier-list .box .i { width: 12px; height: 12px; }
.dossier-list strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; transition: color .3s; }
.dossier-list small { display: block; font-size: 11.5px; color: var(--text-2); line-height: 1.35; }
.js .dossier-list li:not(.is-checked) strong { color: var(--text-2); }
.dossier-foot { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding-top: 9px; border-top: 1px dashed var(--line-2); font-size: 11px; color: var(--text-2); }
.dossier-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.dossier-bar span { display: block; height: 100%; background: var(--grad-h); transform-origin: 0 50%; transform: scaleX(var(--dp, 1)); transition: transform .5s var(--ease); }
.js .dossier-bar span { transform: scaleX(var(--dp, 0)); }

/* checkbox glyph used by the dossier, checklists and service prep lists */
.box { flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--surface); color: #fff; transition: background-color .25s, border-color .25s; }
.box .i { width: 14px; height: 14px; }
.js .box .i { clip-path: inset(0 100% 0 0); transition: clip-path .4s var(--ease) .08s; }
.is-checked > .box, input:checked + .box, html:not(.js) [data-check] > .box, html:not(.js) [data-check-on-view] > .box { background: var(--accent); border-color: var(--accent); }
.js .is-checked > .box, .js input:checked + .box { animation: pop .4s var(--ease); }
.js .is-checked > .box .i, .js input:checked + .box .i { clip-path: inset(0 0 0 0); }

/* ---------- ticker (single marquee on the page) ---------- */
.ticker { position: relative; overflow: hidden; padding: 14px 0; border-block: 1px solid var(--line); background: var(--surface); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; gap: 10px; margin: 0; padding: 0 10px 0 0; list-style: none; }
.ticker a { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: border-color .2s, color .2s; }
.ticker a .i { width: 18px; height: 18px; color: var(--accent-text); }
.ticker a:hover { border-color: var(--accent); color: var(--accent-text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-media { position: relative; padding-bottom: 40px; }
.about-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4.3; background: var(--bg-2); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 36% 28%; }
.route-card { position: absolute; right: -14px; bottom: 0; width: min(330px, 82%); padding: 16px 18px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.route-ends { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 560; }
.route-ends span { display: inline-flex; align-items: center; gap: 8px; }
.route-ends b { padding: 3px 7px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font-family: var(--mono); font-size: 11.5px; font-weight: 600; }
.route-line { position: relative; height: 30px; margin: 10px 0 6px; container-type: inline-size; }
.route-line::before { content: ''; position: absolute; left: 4px; right: 4px; top: 50%; border-top: 2px dashed var(--line-2); }
.route-doc { position: absolute; top: 1px; left: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: #fff; box-shadow: 0 8px 16px -8px rgb(31 111 224 / .9); animation: route 4.6s var(--ease) infinite; }
.route-doc .i { width: 16px; height: 16px; }
@keyframes route { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 78% { transform: translateX(calc(100cqw - 28px)); opacity: 1; } 100% { transform: translateX(calc(100cqw - 28px)); opacity: 0; } }
.route-card small { font-size: 13px; color: var(--text-2); }
.about-copy p { color: var(--text-2); }
.about-copy .btn { margin-top: 10px; }

/* ---------- service finder ---------- */
.finder-head { max-width: 760px; margin-bottom: 28px; }
.finder-count { margin: 0 0 14px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text); }
.finder-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.finder-controls.is-sticky { position: sticky; top: calc(var(--header-h) + 10px); z-index: 20; margin-inline: -10px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 7px 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 14.5px; font-weight: 520; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--accent); }
.chip-n { min-width: 26px; height: 26px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: var(--bg-2); color: var(--text-2); font-family: var(--mono); font-size: 12px; }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip[aria-pressed="true"] .chip-n { background: color-mix(in srgb, var(--bg) 18%, transparent); color: inherit; }
.search { position: relative; display: flex; align-items: center; width: min(340px, 100%); }
.search .i { position: absolute; left: 15px; width: 18px; height: 18px; color: var(--text-2); pointer-events: none; }
.search input { width: 100%; height: 44px; padding: 0 16px 0 42px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); font-size: 15.5px; transition: border-color .2s, box-shadow .2s; }
.search input::placeholder { color: var(--text-3); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(31 111 224 / .15); }
.search-lg { width: 100%; }
.search-lg input { height: 52px; font-size: 16px; }

.svc-grid { list-style: none; margin: 0; padding: 12px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
.svc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc[hidden] { display: none; }
.svc-card { position: relative; isolation: isolate; display: flex; flex-direction: column; height: 100%; padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; transition: transform .4s var(--ease), border-color .25s, box-shadow .4s var(--ease); }
.svc-card::before { content: ''; position: absolute; left: -1px; top: -12px; width: 46%; height: 13px; background: var(--surface); border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 16px 0 0; transition: border-color .25s; }
.svc-card::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgb(31 111 224 / .1), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.svc-card:hover { transform: translateY(-4px); border-color: var(--hover-line); box-shadow: var(--shadow); }
.svc-card:hover::before { border-color: var(--hover-line); }
.svc-card:hover::after { opacity: 1; }
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.svc-icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.svc-icon .i { width: 24px; height: 24px; }
.svc-card:hover .svc-icon { background: var(--accent); color: #fff; transform: rotate(-5deg); }
.svc-cat { max-width: 13ch; text-align: right; font-family: var(--mono); font-size: 10.5px; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.svc-card h3 { margin: 20px 0 6px; font-size: 1.08rem; }
.svc-card p { flex: 1; margin: 0 0 18px; font-size: 14.5px; color: var(--text-2); }
.svc-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 560; color: var(--accent-text); }
.svc-go .i { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.svc-card:hover .svc-go .i { transform: translateX(4px); }
.finder-empty { display: flex; align-items: flex-start; gap: 18px; margin-top: 12px; padding: 28px; border: 1.5px dashed var(--line-2); border-radius: var(--r); background: var(--surface); }
.finder-empty[hidden] { display: none; }
.finder-empty strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.finder-empty p { color: var(--text-2); margin-bottom: 16px; }
.empty-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); }
.empty-icon .i { width: 26px; height: 26px; }
.finder-foot { display: flex; justify-content: center; margin-top: 40px; }
.svc-group + .svc-group { margin-top: 56px; }
.svc-group[hidden] { display: none; }
.group-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.group-head h2 { margin: 0; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.group-head .mono { font-size: 13px; color: var(--accent-text); }
.finder-page { padding-top: 40px; }

/* ---------- why (clipboard checklist) ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-copy { position: sticky; top: calc(var(--header-h) + 56px); }
.clipboard { position: relative; padding: 44px clamp(20px, 3vw, 36px) 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.clip { position: absolute; top: -17px; left: 50%; width: 136px; height: 34px; transform: translateX(-50%); border-radius: 10px; background: var(--clip); box-shadow: 0 8px 18px -8px rgb(20 32 74 / .55); }
.clip::after { content: ''; position: absolute; top: 9px; left: 50%; width: 36px; height: 8px; transform: translateX(-50%); border-radius: 6px; background: var(--bg); }
.checklist { list-style: none; margin: 0; padding: 0; }
.check-item { display: grid; grid-template-columns: 28px 1fr auto; gap: 18px; align-items: start; padding: 24px 2px; }
.check-item + .check-item { border-top: 1px dashed var(--line-2); }
.check-item .box { width: 28px; height: 28px; border-radius: 8px; margin-top: 2px; }
.check-item .box .i { width: 17px; height: 17px; }
.check-item h3 { margin: 0 0 4px; font-size: 1.2rem; }
.check-item p { margin: 0; color: var(--text-2); }
.check-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--bg-2); color: var(--text-3); transition: background-color .4s, color .4s; }
.check-ic .i { width: 24px; height: 24px; }
.check-item.is-checked .check-ic, html:not(.js) .check-ic { background: var(--accent-soft); color: var(--accent-text); }

/* ---------- tracker (how it works) ---------- */
.how-head { max-width: 720px; }
.tracker { --p: 0; position: relative; margin-top: 48px; }
.tr-rail { position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.tr-fill { position: absolute; inset: 0; background: var(--grad-h); transform-origin: 0 50%; transform: scaleX(var(--p)); transition: transform .9s var(--ease); }
.tr-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tr-step { display: flex; flex-direction: column; align-items: center; }
.tr-node { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); color: var(--text-2); transition: background-color .35s, border-color .35s, color .35s, box-shadow .35s; }
.tr-node > .i { width: 24px; height: 24px; transition: opacity .25s; }
.tr-check { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.tr-check .i { width: 22px; height: 22px; }
.tr-node:hover { border-color: var(--accent); color: var(--accent-text); }
.tr-step.is-done .tr-node { background: var(--accent); border-color: var(--accent); color: #fff; }
.tr-step.is-done .tr-node > .i { opacity: 0; }
.tr-step.is-done .tr-check { opacity: 1; }
.tr-step.is-active .tr-node { border-color: var(--accent); color: var(--accent-text); box-shadow: 0 0 0 7px var(--accent-soft); }
.tr-step.is-active .tr-node::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--accent); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
.tr-card { width: 100%; flex: 1; margin-top: 22px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .35s, box-shadow .45s var(--ease), transform .45s var(--ease); }
.tr-step.is-active .tr-card { border-color: var(--hover-line); box-shadow: var(--shadow); transform: translateY(-4px); }
.tr-label { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); transition: color .3s; }
.tr-step.is-active .tr-label { color: var(--accent-text); }
.tr-card h3 { margin-bottom: 8px; }
.tr-card p { margin: 0; font-size: 15px; color: var(--text-2); }
.tracker.is-compact .tr-card { padding: 18px; }

/* ---------- FAQ / accordion ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 56px); }
.accordion { border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; font-size: 1.06rem; font-weight: 560; line-height: 1.4; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover .acc-q { color: var(--accent-text); }
.acc-q { transition: color .2s; }
.acc-icon { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent-text); transition: transform .4s var(--ease), background-color .25s, color .25s, border-color .25s; }
.acc-icon .i { width: 16px; height: 16px; }
.acc[open] .acc-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.acc-body p { max-width: 62ch; margin: 0 0 22px; padding-right: 54px; color: var(--text-2); }
.acc[hidden] { display: none; }

/* ---------- contact ---------- */
.contact-head { max-width: 720px; margin-bottom: 36px; }
.contact-head h1 { font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4rem); }
.contact-cards { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.contact-card:hover { border-color: var(--hover-line); transform: translateY(-2px); box-shadow: var(--shadow); }
.cc-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.contact-card small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.contact-card strong { display: block; font-size: 14.5px; font-weight: 560; line-height: 1.35; letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; font-size: 14.5px; font-weight: 560; }
.f-num { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--accent-text); }
.field input, .field select, .field textarea { display: block; width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); color: var(--text); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { height: auto; min-height: 116px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: var(--text-3); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(31 111 224 / .15); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.f-error { margin: 6px 0 0; font-size: 13px; font-weight: 500; color: var(--danger); }
.f-error:empty { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 42px; }
.select .i { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }
.form-note { display: flex; gap: 10px; margin: 0; font-size: 13.5px; color: var(--text-2); }
.form-note .i { width: 18px; height: 18px; margin-top: 1px; }
.form-status { margin: 0; font-size: 14px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }

.ticket { --cut: 86px; position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); -webkit-mask: radial-gradient(circle 12px at 0 var(--cut), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% var(--cut), #0000 97%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 12px at 0 var(--cut), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% var(--cut), #0000 97%, #000) right / 51% 100% no-repeat; }
.ticket-head { height: var(--cut); display: flex; align-items: center; gap: 12px; padding: 0 22px; }
.ticket-head strong { display: block; font-size: 15px; font-weight: 600; }
.ticket-head small { display: block; font-size: 12.5px; color: var(--text-2); }
.ticket-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: #fff; }
.ticket-cut { height: 0; margin: 0 20px; border-top: 2px dashed var(--line-2); }
.ticket-body { padding: 22px; }
.bubble { min-height: 190px; padding: 16px 18px; border-radius: 16px 16px 16px 4px; background: var(--accent-soft); font-size: 15px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble .ph { color: var(--text-3); }
.bubble .caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ticket-hint { display: flex; gap: 8px; margin: 16px 0 0; font-size: 13px; color: var(--text-2); }
.ticket-hint .i { width: 17px; height: 17px; margin-top: 1px; }

/* ---------- final CTA + footer (the one navy block) ---------- */
.dark-block { position: relative; background: var(--navy); color: #e8eefb; --grid-dot: rgb(185 198 228 / .14); --grid-hot: #08c0f3; }
.cta-band { position: relative; overflow: hidden; padding: clamp(88px, 11vw, 140px) 0; border-bottom: 1px solid rgb(255 255 255 / .08); }
.cta-band .grid-canvas { -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 25%, transparent 85%); mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 25%, transparent 85%); }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cta-band h2 { max-width: 20ch; margin-bottom: 18px; color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); }
.cta-band p { max-width: 56ch; margin: 0 0 32px; font-size: 1.1rem; color: #b9c6e4; }
.cta-band .actions { justify-content: center; }
.site-footer { padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 48px; width: auto; }
.footer-brand p { margin: 18px 0 0; color: #b9c6e4; }
.social { display: flex; gap: 14px; margin-top: 18px; }
.social a { color: #dbe4f6; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-col h3 { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #8ea3cf; }
.footer-col a { color: #dbe4f6; transition: color .2s; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-col address { font-style: normal; }
.footer-portal { display: inline-flex; align-items: center; gap: 6px; }
.footer-portal .i { width: 16px; height: 16px; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; }
.footer-wa .i { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .1); font-size: 13.5px; color: #8ea3cf; }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; height: 56px; min-width: 56px; display: flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 999px; background: var(--accent); color: #fff; box-shadow: 0 16px 32px -14px rgb(31 111 224 / .85); transition: transform .5s var(--ease), opacity .3s, background-color .2s; }
.fab:hover { background: var(--accent-hover); }
.fab .i { width: 24px; height: 24px; }
.fab-label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 15px; font-weight: 560; transition: max-width .45s var(--ease), margin .45s var(--ease); }
.fab:hover .fab-label, .fab:focus-visible .fab-label { max-width: 220px; margin-left: 10px; }
.js .fab { opacity: 0; transform: translateY(140%); pointer-events: none; }
.js .fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }
body.menu-open .fab { opacity: 0; pointer-events: none; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 18ch; margin: 0 0 18px; font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.1rem); line-height: 1.02; letter-spacing: -.045em; }
.page-hero .lead { margin: 0; }
.page-hero .actions { margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 14px; color: var(--text-2); }
.crumbs a { color: var(--accent-text); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.i-crumb { width: 14px; height: 14px; transform: rotate(-90deg); color: var(--text-3); }

/* how page: sticky counter + scroll-linked timeline */
.timeline-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 88px); }
.tl-aside { position: sticky; top: calc(var(--header-h) + 64px); align-self: start; }
.tl-counter { height: 1em; overflow: hidden; font-size: clamp(6rem, 11vw, 10rem); font-weight: 680; line-height: 1; letter-spacing: -.07em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.tl-digits { display: block; }
.tl-digits.roll { animation: roll .6s var(--ease); }
@keyframes roll { from { transform: translateY(60%); opacity: 0; } to { transform: none; opacity: 1; } }
.tl-current { margin: 18px 0 0; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.tl-dots { display: flex; gap: 8px; margin-top: 22px; }
.tl-dots span { width: 30px; height: 4px; border-radius: 4px; background: var(--line-2); transition: background-color .35s; }
.tl-dots span.is-on { background: var(--accent); }
.tl-main { position: relative; }
.tl-rail { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; border-radius: 2px; background: var(--line-2); overflow: hidden; }
.tl-fill { position: absolute; inset: 0; background: var(--grad-v); transform-origin: 50% 0; transform: scaleY(var(--tp, 0)); transition: transform .8s var(--ease); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(24px, 12vh, 120px); }
.tl-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; }
.tl-node { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); color: var(--text-2); transition: background-color .35s, border-color .35s, color .35s, box-shadow .35s; }
.tl-node .i { width: 24px; height: 24px; }
.tl-step.is-past .tl-node { background: var(--accent); border-color: var(--accent); color: #fff; }
.tl-step.is-current .tl-node { border-color: var(--accent); color: var(--accent-text); box-shadow: 0 0 0 7px var(--accent-soft); }
.tl-card { padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .35s, box-shadow .45s var(--ease), transform .45s var(--ease); }
.tl-step.is-current .tl-card { border-color: var(--hover-line); box-shadow: var(--shadow); }
.tl-card h2 { margin-bottom: 10px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.tl-card p { margin: 0; font-size: 1.05rem; color: var(--text-2); }
.note-card { display: flex; gap: 20px; align-items: flex-start; margin-top: clamp(56px, 8vw, 96px); padding: clamp(22px, 3vw, 32px); background: var(--bg-2); border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); }
.note-card-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--accent); color: #fff; }
.note-card-icon .i { width: 26px; height: 26px; }
.note-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.note-card p { margin: 0; color: var(--text-2); max-width: 70ch; }

/* about page bento */
.bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: minmax(230px, auto); gap: 16px; }
.bento-cell { position: relative; overflow: hidden; border-radius: var(--r-lg); }
.bento-photo { grid-row: span 2; background: var(--bg-2); }
.bento-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.bento-pillar { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 28px; background: var(--surface); border: 1px solid var(--line); }
.bento-pillar .svc-icon { margin-bottom: auto; }
.bento-pillar h3 { margin: 0; font-size: 1.3rem; }
.bento-pillar p { margin: 0; color: var(--text-2); }
.bento-pillar:nth-child(3) { background: var(--brand-950); border-color: var(--brand-950); color: #fff; }
.bento-pillar:nth-child(3) p { color: #b9c6e4; }
.bento-pillar:nth-child(3) .svc-icon { background: rgb(255 255 255 / .1); color: #fff; }
.bento-pillar:nth-child(4) { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 20px 40px -24px rgb(31 111 224 / .8); }
.bento-pillar:nth-child(4) p { color: #fff; }
.bento-pillar:nth-child(4) .svc-icon { background: #fff; color: var(--accent); }
.disclaimer { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; padding: 18px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--r); font-size: 15px; color: var(--text-2); }
.disclaimer .i { width: 20px; height: 20px; margin-top: 2px; color: var(--accent-text); }
.about-page .about-copy h2 { margin-bottom: 20px; }

/* FAQ page */
.faq-page-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq-tools { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 14px; }
.faq-count { margin: 0; font-size: 13px; color: var(--text-2); }
.faq-empty { display: flex; gap: 10px; align-items: center; margin: 24px 0 0; color: var(--text-2); }
.faq-empty[hidden] { display: none; }

/* legal */
.legal p { font-size: 1.1rem; line-height: 1.8; color: var(--text-2); }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }

/* service detail */
.svc-hero-row { display: flex; align-items: flex-start; gap: clamp(18px, 3vw, 28px); }
.svc-hero-icon { width: clamp(64px, 8vw, 88px); height: clamp(64px, 8vw, 88px); flex: none; display: grid; place-items: center; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--accent-text); box-shadow: var(--shadow); }
.svc-hero-icon .i { width: 46%; height: 46%; }
.svc-hero-cat { margin: 6px 0 10px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.svc-hero h1 { max-width: 20ch; }
.svc-detail { padding-top: clamp(40px, 5vw, 64px); }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.svc-main { display: grid; gap: 16px; }
.svc-block { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: clamp(20px, 3vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.block-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.block-icon .i { width: 24px; height: 24px; }
.svc-block h2 { margin: 10px 0 10px; font-size: 1.35rem; letter-spacing: -.02em; }
.svc-block p { color: var(--text-2); margin-bottom: 0; }
.svc-block .accordion { margin-top: 8px; border-top: 0; }
.svc-block .acc:last-child { border-bottom: 0; }
.prep-sheet { margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.prep-status { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px dashed var(--line-2); }
.prep-status p { margin: 0; font-size: 14px; font-weight: 560; color: var(--text); }
.ring { width: 40px; height: 40px; flex: none; transform: rotate(-90deg); }
.ring-bg, .ring-fg { fill: none; stroke-width: 4; }
.ring-bg { stroke: var(--line-2); }
.ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 119.38; stroke-dashoffset: 119.38; transition: stroke-dashoffset .7s var(--ease); }
.prep-list { list-style: none; margin: 0; padding: 6px 0; }
.prep-item { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 16px; cursor: pointer; font-size: 15.5px; transition: background-color .2s; }
.prep-item:hover { background: var(--surface-2); }
.prep-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.prep-item input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 3px; }
.fine { display: flex; gap: 8px; margin: 14px 0 0; font-size: 13.5px; color: var(--text-2); }
.fine .i { width: 17px; height: 17px; margin-top: 2px; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { position: relative; overflow: hidden; padding: 30px 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.aside-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-h); }
.aside-card h3 { font-size: 1.45rem; letter-spacing: -.025em; }
.aside-card > p:not(.eyebrow):not(.fine) { color: var(--text-2); margin-bottom: 20px; }
.related-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.related-head h2 { margin: 0; }

/* testimonials (rendered only when real quotes exist) */
.quotes { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.quote { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.quote blockquote { margin: 0 0 18px; font-size: 1.08rem; line-height: 1.55; }
.quote p { margin: 0; display: grid; font-size: 14px; color: var(--text-2); }
.quote strong { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .client-area { padding: 0 4px; }
  .ca-text { display: none; }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; gap: 48px; }
  .hero .grid-canvas { -webkit-mask-image: linear-gradient(180deg, transparent 38%, #000 62%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent 38%, #000 62%, #000 82%, transparent); }
  .hero-visual { justify-self: center; max-width: 500px; }
  .about-grid, .why-grid, .faq-grid, .contact-grid, .svc-layout, .timeline-grid, .faq-page-grid { grid-template-columns: 1fr; }
  .why-copy, .faq-side, .ticket, .svc-aside, .faq-tools { position: static; }
  .tl-aside { display: none; }
  .timeline { gap: 20px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-photo { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .route-card { right: 12px; }
}
@media (max-width: 760px) {
  .tr-rail { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .tr-fill { transform-origin: 50% 0; transform: scaleY(var(--p)); background: var(--grad-v); }
  .tr-steps { grid-template-columns: 1fr; gap: 14px; }
  .tr-step { flex-direction: row; align-items: flex-start; gap: 16px; }
  .tr-card { margin-top: 0; }
  .tr-step.is-active .tr-card { transform: none; }
  .svc-grid, .svc-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand img { height: 40px; }
  .header-cta { display: none; }
  .header-bar { gap: 12px; }
  .hero-title { max-width: none; }
  .actions { display: grid; grid-auto-flow: row; width: 100%; }
  .hero-visual { aspect-ratio: 1 / 1.16; }
  .layer-photo { inset: 0 0 30% 12%; }
  .layer-note { right: 0; top: 5%; }
  .layer-dossier { width: min(220px, 62%); bottom: 0; }
  .dossier-list small, .dossier-head .mono { display: none; }
  .dossier-list li { padding: 5px 2px; }
  .hero-note { padding: 9px 12px 9px 9px; }
  .finder-controls { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .svc-grid, .svc-grid-3 { grid-template-columns: 1fr; gap: 22px; }
  .svc-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding: 18px; }
  .svc-top { grid-row: span 2; }
  .svc-cat { display: none; }
  .svc-card h3 { margin: 0 0 4px; }
  .svc-card p { margin: 0; }
  .svc-go { display: none; }
  .contact-cards, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-pillar { min-height: 200px; }
  .check-item { grid-template-columns: 28px 1fr; }
  .check-ic { display: none; }
  .acc-body p { padding-right: 0; }
  .svc-block { grid-template-columns: 1fr; gap: 12px; }
  .svc-hero-row { flex-direction: column; }
  .fab { right: 14px; bottom: 14px; }
  .note-card { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; animation-delay: 0ms !important; }
  .ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-track { animation: none !important; }
  .route-doc, .tr-step.is-active .tr-node::after, .bubble .caret { animation: none !important; }
}
