/* AltoComm.com site styles. Colors and type follow the AltoComm Brand Guide (/brand). */

@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #102A43;
  --teal: #00B3A4;
  --sky: #E9F5F7;
  --ink: #172B3A;
  --white: #FFFFFF;
  --black: #000000;
  /* Secondary text: 5.7:1 on Sky, 6.4:1 on White; 7.8:1 on Navy. */
  --muted: #4A6274;
  --muted-on-dark: #A9C1D1;
  --line: rgba(16, 42, 67, .14);
  --line-dark: rgba(255, 255, 255, .14);
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 3vw, 24px);
  --gap: 16px;
  --r-lg: 36px;
  --r-md: 26px;
  --r-sm: 16px;
  --header: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --swipe: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--navy); background: var(--white); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--navy); margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
/* Focus ring color follows the surface (brand guide, Web and digital standards): navy on White/Sky, teal on Navy/Ink, navy on Teal. */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--teal); }
.on-dark .btn-teal:focus-visible { outline-color: var(--white); }

.label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .125em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.label.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.on-dark .label { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn { --mx: 0px; --my: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; background: transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transform: translate(var(--mx), var(--my)); transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--ink); }
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-sky:hover { border-color: var(--navy); }
.btn-teal { background: var(--teal); color: var(--navy); }
.btn-teal:hover { box-shadow: 0 10px 30px -10px rgba(0, 179, 164, .8); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn:disabled { cursor: not-allowed; background: transparent; border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .7); box-shadow: none; }
.btn-teal:disabled { background: rgba(0, 179, 164, .25); border-color: transparent; color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 20px; }
.brand-link { display: block; flex: none; width: 190px; margin-left: -10px; }
.brand-link img { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--navy); position: relative; padding: 12px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.nav a.btn-navy { color: var(--white); }
.head-actions { display: none; align-items: center; gap: 8px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; background: var(--sky); color: var(--navy); display: grid; place-items: center; }
.icon-btn svg { width: 22px; height: 22px; }
.menu-toggle { width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0 14px; background: var(--navy); color: var(--white); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Bento layout ---------- */
main { padding: 8px 0 72px; }
.bento, .split, .svc-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.svc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split, .svc-row { grid-column: 1 / -1; }
.s2 { grid-column: span 2; }
.s3 { grid-column: span 3; }
.s4 { grid-column: span 4; }
.tile { position: relative; min-width: 0; border-radius: var(--r-lg); padding: clamp(24px, 3.2vw, 40px); }
.tile.sky { background: var(--sky); }
.tile.line { background: var(--white); border: 1.5px solid var(--sky); }
.tile.navy { background: var(--navy); color: var(--white); }
.tile.navy h2, .tile.navy h3 { color: var(--white); }
.tile h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; margin-bottom: 12px; }
.intro { color: var(--muted); max-width: 56ch; margin-bottom: 24px; }
.on-dark .intro { color: var(--muted-on-dark); }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { grid-column: 1 / -1; position: relative; isolation: isolate; overflow: hidden; min-height: 580px; border-radius: var(--r-lg); background: var(--sky); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art svg { width: 100%; height: 100%; }
.hero-art.has-video { background: var(--navy); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--video-focus, center); transform: translateX(100%); transition: transform 1.1s var(--swipe); }
.hero-video.is-on { transform: none; }
.hero-art.has-video { overflow: hidden; }
/* Brand tint: one navy grade over every clip so mixed footage reads as a set */
.hero-video { filter: grayscale(.9) contrast(1.08) brightness(.95); }
.hero-art.has-video::after { content: ""; position: absolute; inset: 0; background: rgba(16, 42, 67, .38); pointer-events: none; }
/* Per-video status: each segment fills as its clip plays and shimmers while the clip loads */
.vbar { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 4px; border-radius: 999px; background: var(--navy); }
.vsegs { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; }
.vnav { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer; }
.vnav:hover { background: rgba(255, 255, 255, .15); }
.vnav svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vbar .vnav:focus-visible { outline: 3px solid var(--teal); outline-offset: -3px; }
.vsegs span { position: relative; width: 40px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.vsegs i { position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(var(--p, 0)); }
.vsegs span.loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent); animation: vload 1.1s linear infinite; }
@keyframes vload { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 16px; opacity: 0; transform: translateX(calc(var(--dir, 1) * 32px)); transition: opacity .5s var(--ease), transform .8s var(--swipe); }
.slide.was-on { transform: translateX(calc(var(--dir, 1) * -32px)); }
.slide.is-on { opacity: 1; transform: none; transition-delay: .25s; }
.hero-art g { transition: transform .6s var(--ease); }
.hero-art .layer-far { transform: translate(calc(var(--px, 0) * -6px), calc(var(--py, 0) * -4px)); }
.hero-art .layer-mid { transform: translate(calc(var(--px, 0) * 4px), calc(var(--py, 0) * 3px)); }
.hero-art .layer-near { transform: translate(calc(var(--px, 0) * 12px), calc(var(--py, 0) * 8px)); }
.hero-art .mesh-links path { stroke-dasharray: 6 7; animation: dash 1.6s linear infinite; }
.hero-art .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.6s ease-out infinite; }
.hero-art .pulse.d2 { animation-delay: 1.2s; }
.hero-art .pulse.d3 { animation-delay: 2.4s; }
@keyframes pulse { 0% { transform: scale(.55); opacity: .6; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -26; } }
.hero-tools { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; }
.key { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--white); font-size: 14px; font-weight: 600; }
.key i { flex: none; border-radius: 50%; }
.k-node { width: 12px; height: 12px; background: var(--navy); box-shadow: 0 0 0 3px var(--teal); }
.k-cov { width: 14px; height: 14px; background: rgba(0, 179, 164, .25); border: 1.5px solid var(--teal); }
.hero-card { max-width: 600px; background: var(--white); border-radius: var(--r-md); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; animation: cardIn .8s .1s var(--ease) both; }
.hero-card .label { margin: 0; }
.hero h1, .hero .slide-title { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; }
.hero .lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 18px); margin: 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Services ---------- */
.svc { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 26px; border-radius: var(--r-md); background: var(--sky); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(16, 42, 67, .5); }
.svc-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--white); display: grid; place-items: center; }
.svc-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 4px; }
.svc p { font-size: 14px; color: var(--muted); margin: 0; }
.svc.feature { background: var(--navy); color: var(--white); }
.svc.feature h3 { color: var(--white); }
.svc.feature p { color: var(--muted-on-dark); }
.svc.feature .svc-ico { background: var(--teal); }
/* The heading link covers the whole tile; the ring goes around the tile */
.svc-link { color: inherit; text-decoration: none; }
.svc-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc:has(.svc-link:focus-visible) { outline: 3px solid var(--navy); outline-offset: 3px; }
.svc .svc-link:focus-visible { outline: none; }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--navy); }
.svc-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc:hover .svc-more svg { transform: translateX(4px); }
.svc.feature .svc-more { color: var(--white); }
.row-title { grid-column: 1 / -1; font-size: clamp(24px, 2.4vw, 30px); margin: 12px 0 0; }
/* ---------- Service pages ---------- */
.crumbs { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.crumbs li { display: flex; align-items: center; min-height: 28px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--muted); }
.crumbs a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; display: inline-block; padding: 4px 0; }
.aud-list.fixed { height: auto; }
.page-hero { display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.page-hero .label { margin: 0; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.04; }
.page-hero .lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); max-width: 640px; margin: 0; }
.tile .h3 { font-size: 20px; margin: 0 0 12px; }
.fit { display: flex; flex-direction: column; gap: 6px; }
.svc-ico.big { width: 64px; height: 64px; border-radius: 18px; background: var(--teal); margin-bottom: 18px; }
.svc-ico.big svg { width: 32px; height: 32px; }
.fit-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.fit-list li { display: flex; gap: 10px; align-items: baseline; font-size: 16px; }
.fit-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); transform: translateY(-2px); }
.fit .btn { margin-top: auto; align-self: flex-start; }
.cta-band { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band .intro { margin: 0; }

/* ---------- Icon lists ---------- */
.aud-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; height: 100%; }
.aud-item { background: var(--sky); border-radius: var(--r-sm); padding: 22px; animation: paneIn .5s var(--ease) both; }
.aud-item:nth-child(2) { animation-delay: .06s; } .aud-item:nth-child(3) { animation-delay: .12s; } .aud-item:nth-child(4) { animation-delay: .18s; }
.aud-item .ico { width: 32px; height: 32px; margin-bottom: 12px; }
.aud-item h3 { font-size: 17px; letter-spacing: -.01em; margin-bottom: 4px; }
.aud-item p { font-size: 15px; color: var(--muted); margin: 0; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }
.ico { fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linecap: square; stroke-linejoin: miter; }
.ico .acc { stroke: var(--teal); }

/* ---------- Process ---------- */
.process-band { grid-column: 1 / -1; display: grid; gap: 28px; }
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 40px; align-items: end; }
.band-head .label { grid-column: 1 / -1; margin: 0; }
.band-head h2 { margin: 0; }
.band-head .intro { margin: 0; }
.steps-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.steps.steps-row li { grid-template-columns: 1fr; align-content: start; gap: 18px; padding: 24px; border-radius: var(--r-md); }
.steps.steps-row h3 { margin-top: 0; }
/* ---------- Contact and booking (every page) ---------- */
.contact h2 { margin-bottom: 10px; }
.contact .intro a, .form-note a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
.form-note { margin: -8px 0 26px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--sky); border-left: 4px solid var(--teal); font-size: 15px; color: var(--navy); }
.contact-form-tile .fields { margin-bottom: 26px; }
.contact-form-tile .chip span { min-height: 40px; padding: 0 14px; font-size: 14px; }
.contact-form-tile .field textarea { min-height: 130px; }
.contact-form-tile .form-foot { margin-top: 22px; }
.opt { font-family: var(--body); font-weight: 400; font-size: 14px; color: var(--muted); }
.book-tile { display: flex; flex-direction: column; align-items: flex-start; }
.cal-ph { position: relative; flex: 1; width: 100%; min-height: 260px; max-height: 620px; margin: 0 0 28px; padding: 18px; border-radius: var(--r-md); border: 1.5px solid var(--line-dark); display: grid; grid-template-rows: auto 1fr; gap: 10px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.cal-days, .cal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cal-days { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-dark); text-align: center; }
.cal-grid { grid-auto-rows: 40px; align-content: start; }
.cal-grid i { border-radius: 10px; background: rgba(255, 255, 255, .06); }
.cal-grid i.open { background: rgba(0, 179, 164, .18); box-shadow: inset 0 0 0 1.5px rgba(0, 179, 164, .55); }
.cal-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 10px 18px; border-radius: 999px; background: var(--white); color: var(--navy); font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .55); }
.book-frame { flex: 1; width: 100%; min-height: 700px; border-radius: var(--r-md); overflow: hidden; background: var(--white); }
.book-frame iframe { display: block; width: 100%; height: 100%; min-height: 700px; border: 0; }

/* ---------- What to expect ---------- */
.expect { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.expect .ico { width: 36px; height: 36px; margin-bottom: 20px; }
.expect .navy .ico { stroke: var(--white); }
.expect h3 { font-size: 21px; margin-bottom: 8px; }
.expect p { margin: 0; color: var(--muted); }
.expect .navy p { color: var(--muted-on-dark); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; background: var(--white); border-radius: var(--r-sm); padding: 18px; }
.steps .dot { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; }
.steps .dot.last { background: var(--teal); color: var(--navy); }
.steps h3 { font-size: 17px; letter-spacing: -.01em; margin: 6px 0 4px; }
.steps p { font-size: 15px; color: var(--muted); margin: 0; }
.steps a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Estimate request ---------- */
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: 15px; color: var(--navy); transition: background-color .2s, border-color .2s, color .2s; }
.chip span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; border: 2px solid currentColor; transition: background-color .2s; }
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:checked + span::before { background: var(--teal); border-color: var(--teal); }
.chip input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 3px; }
textarea { width: 100%; min-height: 110px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--muted); resize: vertical; font-size: 16px; background: var(--white); }
textarea:focus-visible { border-color: var(--navy); outline: 3px solid var(--navy); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field label { display: block; font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.field input { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--muted); font-size: 16px; background: var(--white); }
.field input:focus-visible { border-color: var(--navy); outline: 3px solid var(--navy); outline-offset: 2px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--black); background: #fff7f5; }
.field-error { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--black); }
.field-error:empty { display: none; }
.field-error::before { content: "! "; }
.req-note { font-size: 14px; margin: 12px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
fieldset.has-error legend::after { content: " (required)"; font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--black); }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot .req-note { margin: 0; }
#send-request[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-status { font-size: 15px; font-weight: 600; color: var(--navy); min-height: 1.4em; margin: 12px 0 0; }
.sent .check { width: 56px; height: 56px; border-radius: 16px; background: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.sent .check svg { width: 28px; height: 28px; stroke: var(--navy); stroke-width: 3; fill: none; }
.sent h2 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 10px; }
.sent .ref { font-size: 14px; color: var(--muted); margin-top: 6px; }
input, textarea, fieldset, .chip { scroll-margin-top: calc(var(--header) + 24px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 56px 0 36px; }
.site-footer .top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.site-footer .top img { width: 200px; margin-left: -12px; }
.site-footer .contact { display: flex; gap: 28px; flex-wrap: wrap; font-weight: 600; }
.site-footer .contact a { text-decoration: none; display: inline-block; padding: 10px 0; }
.site-footer .contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px 20px; flex-wrap: wrap; padding-top: 24px; font-size: 14px; }
.site-footer .bottom a { text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 6px 0; }

/* ---------- Motion pause control (WCAG 2.2.2) ---------- */
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .45); background: transparent; color: var(--white); font-weight: 600; font-size: 14px; cursor: pointer; }
.motion-toggle:hover { border-color: var(--white); }
.motion-toggle.on-light { min-height: 40px; border-color: transparent; background: var(--white); color: var(--navy); }
.motion-toggle.on-light:hover { border-color: var(--navy); }
.motion-toggle svg { width: 14px; height: 14px; fill: currentColor; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.motion-toggle .i-play, .motion-paused .motion-toggle .i-pause { display: none; }
.motion-paused .motion-toggle .i-play { display: inline; }
.motion-paused .hero-art * { animation-play-state: paused !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .bento, .split, .svc-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s2, .s3, .s4 { grid-column: 1 / -1; }
  .band-head { grid-template-columns: minmax(0, 1fr); }
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal-ph { max-height: 300px; }
}
@media (max-width: 860px) {
  :root { --header: 68px; }
  .brand-link { width: 160px; }
  .head-actions { display: flex; }
  .nav { position: absolute; top: var(--header); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 8px var(--gutter) 24px; box-shadow: 0 24px 40px -24px rgba(16, 42, 67, .45); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 16px; border-bottom: 0; min-height: 48px; }
  .menu-open .site-header { background: var(--white); }
}
@media (max-width: 640px) {
  :root { --gap: 12px; --r-lg: 28px; --r-md: 22px; }
  .bento, .split { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc { padding: 18px; gap: 18px; }
  .svc h3 { font-size: 16px; }
  .hero { min-height: 0; padding: 0; gap: 0; }
  .hero-art { position: relative; z-index: 0; height: 270px; }
  .hero-tools { position: absolute; top: 14px; right: 14px; left: 14px; z-index: 1; }
  .hero-tools .key:nth-child(2) { display: none; }
  .hero-card { position: relative; z-index: 1; margin: -40px 12px 12px; border-radius: 22px; padding: 24px; }
  .hero h1, .hero .slide-title { font-size: 34px; line-height: 1.06; }
  .vsegs span { width: 22px; }
  .hero .motion-toggle { width: 40px; padding: 0; justify-content: center; }
  .hero .motion-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .vsegs { padding: 0 6px; }
  .ctas .btn { width: 100%; }
  .aud-list { grid-template-columns: minmax(0, 1fr); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .steps-row { grid-template-columns: minmax(0, 1fr); }
  .expect { grid-template-columns: minmax(0, 1fr); }
  .cal-ph { min-height: 220px; max-height: 260px; }
  .book-frame, .book-frame iframe { min-height: 900px; }
  .site-footer .top img { width: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .motion-toggle { display: none; }
}
