/* Seidner Auto Detailing — final
   Direction (UI/UX Pro Max, automotive): hero-centric, type-as-hero with an italic serif accent,
   motion-driven (entrances, parallax, a live configurator), one primary action per view. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --paint: #e4e5e2;          /* the car's paint, measured from car-white.webp */
  --paint-lo: #cfd0cc;
  --soft: #f5f5f7;
  --soft-2: #ebebef;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, .08);
  --radius: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Geist", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --wide: "Syncopate", "Geist", "Helvetica Neue", Arial, sans-serif;
  --studio: #e4e5e2 url("studio-wide.webp") 50% 40% / cover no-repeat;
  --check-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  --check-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(100% - 40px, 1120px); margin: 0 auto; }
.kicker { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.kicker-light { color: rgba(255,255,255,.7); }
h2 { font-size: clamp(38px, 9vw, 64px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
h2 em { font-size: 1.08em; }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 52px; padding: 0 28px;
  border: 0; border-radius: 999px;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em;
  transition: transform .3s var(--ease), background-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--text); color: #fff; }
@media (hover: hover) { .btn-dark:hover { background: #000; } }
.btn-block { width: 100%; height: 56px; border-radius: 18px; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, -webkit-backdrop-filter .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .76);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: min(100% - 40px, 1120px); height: 58px; margin: 0 auto; }
.wordmark { padding: 12px 0; margin-right: -.34em; font-family: var(--wide); font-size: 14px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; line-height: 1; }
.nav-book {
  display: inline-flex; align-items: center; height: 36px; padding: 0 18px;
  border-radius: 999px; background: var(--text); color: #fff;
  font-size: 14px; font-weight: 600;
  transition: transform .3s var(--ease), background-color .2s;
}
.nav-book:active { transform: scale(.95); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--studio); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(96px + env(safe-area-inset-top)) 0 56px; }
.hero h1 { margin-top: 14px; font-size: clamp(52px, 15vw, 132px); font-weight: 700; line-height: .92; letter-spacing: -.055em; }
.hero h1 em { display: inline-block; font-size: 1.1em; letter-spacing: -.02em; padding-right: .04em; }
.hero-car { position: relative; width: min(94vw, 820px, 40svh * 1.841); aspect-ratio: 2810 / 1526; margin: clamp(22px, 5vh, 48px) 0 clamp(18px, 4vh, 40px); will-change: transform; }
.hero-img { position: relative; width: 100%; height: 100%; }
/* Shared by every parked car: a baked shadow (soft + contact) and one glisten gliding across. */
.car-shadow { position: absolute; left: -8.007%; top: -14.74%; width: 116.01%; height: 129.49%; max-width: none; pointer-events: none; }
.glisten {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask: var(--car) 0 0 / 100% 100% no-repeat; mask: var(--car) 0 0 / 100% 100% no-repeat;
}
.glisten::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 34%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.08) 30%, rgba(255,255,255,.75) 50%, rgba(255,255,255,.08) 70%, rgba(255,255,255,0) 100%);
  mix-blend-mode: soft-light;
  transform: translate3d(-130%, 0, 0) skewX(-14deg);
  animation: glisten 7s cubic-bezier(.45, 0, .25, 1) var(--gd, 1.6s) infinite;
  will-change: transform;
}
@keyframes glisten { 0% { transform: translate3d(-130%, 0, 0) skewX(-14deg); } 42%, 100% { transform: translate3d(390%, 0, 0) skewX(-14deg); } }
.js.is-intro .hero-car, .js.is-unlocking .hero-car { visibility: hidden; }
.hero-lede { max-width: 26em; color: var(--muted); font-size: clamp(17px, 4.4vw, 21px); line-height: 1.4; }
.hero-cta { margin-top: 26px; }
@keyframes sweep { 0% { background-position: 120% 0; } 45%, 100% { background-position: -20% 0; } }

/* Hero entrance, staggered, as the car parks. */
.js [data-hero] { opacity: 0; transform: translateY(18px); }
.hero-in [data-hero] { opacity: 1; transform: none; transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }

/* ------------------------------------------------------------------ value strip */
.strip { padding: 44px 0; border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; gap: 20px; }
.strip-inner > div { display: grid; gap: 4px; }
.strip strong { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }
.strip span { color: var(--muted); font-size: 15px; }

/* ------------------------------------------------------------------ configurator */
.choose { padding: 88px 0; }
.config { display: grid; gap: 18px; }
.config-stage { position: relative; isolation: isolate; overflow: hidden; padding: 44px 14px 18px; border-radius: var(--radius); background: var(--studio); }
.config-car { position: relative; width: min(94%, 640px); margin: 0 auto; aspect-ratio: 2810 / 1526; transition: transform .7s var(--ease); }
.config-car.is-nudge { transform: scale(.975); transition-duration: .18s; }
.mode { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.1s var(--ease-io); }
.config[data-mode="complete"] .m-complete, .config[data-mode="monthly"] .m-complete,
.config[data-mode="interior"] .m-interior, .config[data-mode="exterior"] .m-exterior { opacity: 1; }
.m-exterior { opacity: 1; } /* base layer: always there underneath, so a dissolve never shows the backdrop through */
.config-caption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 14px; font-weight: 500; }
.cap-dot { width: 7px; height: 7px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52, 199, 89, .16); }

.config-panel { display: grid; gap: 14px; align-content: start; }
.segments { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding: 3px; border-radius: 14px; background: #ececef; }
.seg-thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px;
  width: calc((100% - 6px) / 4);
  border-radius: 11px; background: #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 1px 1px rgba(0,0,0,.04);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform .45s var(--ease);
}
.seg { position: relative; z-index: 1; height: 44px; border: 0; background: transparent; font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--muted); transition: color .3s; }
.seg[aria-selected="true"] { color: var(--text); }

.spec { position: relative; isolation: isolate; overflow: hidden; padding: 26px 22px 20px; border-radius: var(--radius); background: var(--soft); transition: color .5s var(--ease); }
.spec::before, .spec::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s var(--ease); }
/* Complete Detail is wrapped in Alcantara... */
.spec::before { background: linear-gradient(100deg, rgba(10,10,11,.84) 0%, rgba(10,10,11,.55) 60%, rgba(10,10,11,.4) 100%), url("alcantara.webp") 82% 50% / cover no-repeat; }
/* ...and Monthly in a carbon twill with a clear-coat sheen. */
.spec::after {
  background:
    linear-gradient(115deg, transparent 20%, rgba(255,255,255,.08) 38%, transparent 55%),
    linear-gradient(180deg, rgba(10,10,11,.15), rgba(10,10,11,.6)),
    linear-gradient(27deg, #151516 3px, transparent 3px) 0 3px / 12px 12px,
    linear-gradient(207deg, #151516 3px, transparent 3px) 6px 0 / 12px 12px,
    linear-gradient(27deg, #222325 3px, transparent 3px) 0 6px / 12px 12px,
    linear-gradient(207deg, #222325 3px, transparent 3px) 6px 3px / 12px 12px,
    linear-gradient(90deg, #1b1b1d 6px, transparent 6px) 0 0 / 12px 12px,
    linear-gradient(#1d1e20 25%, #19191b 25%, #19191b 50%, transparent 50%, transparent 75%, #242527 75%, #242527) 0 0 / 12px 12px,
    #141415;
}
.config[data-mode="complete"] .spec::before, .config[data-mode="monthly"] .spec::after { opacity: 1; }
.config[data-mode="complete"] .spec, .config[data-mode="monthly"] .spec { color: #f5f5f7; }
.spec-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.spec-tag { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.spec-name { margin-top: 6px; font-size: clamp(24px, 6.4vw, 30px); font-weight: 700; line-height: 1.05; letter-spacing: -.035em; }
.spec-price { flex: none; text-align: right; font-size: clamp(34px, 9vw, 40px); font-weight: 700; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.spec-price small { display: block; margin-bottom: 6px; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.spec-per { font-family: var(--sans); font-style: normal; font-size: 17px; font-weight: 600; color: var(--muted); letter-spacing: -.01em; }
.spec-line { margin-top: 14px; color: var(--muted); font-size: 16px; }
.spec-list { display: grid; grid-template-columns: 1fr; gap: 11px; margin: 20px 0 22px; padding: 0; list-style: none; }
.spec-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; }
.spec-list li::before { content: ""; flex: none; width: 17px; height: 17px; margin-top: 0; border-radius: 50%; background: var(--text) var(--check-light) center / 10px no-repeat; }
.spec-note { margin-top: 12px; color: var(--faint); font-size: 12px; line-height: 1.4; }
.config[data-mode="complete"] .spec-list li::before, .config[data-mode="monthly"] .spec-list li::before { background: #fff var(--check-dark) center / 10px no-repeat; }
.config[data-mode="complete"] :is(.spec-tag, .spec-line, .spec-price small, .spec-per, .spec-note),
.config[data-mode="monthly"] :is(.spec-tag, .spec-line, .spec-price small, .spec-per, .spec-note) { color: rgba(245,245,247,.62); }
.config[data-mode="complete"] .spec-book, .config[data-mode="monthly"] .spec-book { background: #fff; color: var(--text); }
.spec-swap { animation: swap .6s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ how */
.how { padding: 88px 0; }
.how-steps { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.how-steps li { display: grid; grid-template-columns: 64px 1fr; gap: 4px 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.how-num { grid-row: span 2; padding-top: 4px; font-family: var(--wide); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--faint); }
.how-steps strong { font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.how-steps p { color: var(--muted); font-size: 16px; }

/* ------------------------------------------------------------------ work + contact */
.connect { padding: 0 0 88px; }
.connect-grid { display: grid; gap: 40px; }
.work { position: relative; isolation: isolate; overflow: hidden; display: block; min-height: 320px; border-radius: var(--radius); background: #000; color: #fff; }
.work img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; transition: transform 1.4s var(--ease); }
.work::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 55%, transparent 90%); }
@media (hover: hover) { .work:hover img { transform: scale(1.04); } }
.work-copy { position: absolute; left: 28px; right: 28px; bottom: 28px; display: grid; gap: 8px; }
.work-copy strong { max-width: 11em; font-size: 30px; font-weight: 700; line-height: 1.06; letter-spacing: -.035em; }
.work-handle { display: inline-flex; align-items: center; gap: 4px; color: #2997ff; font-size: 17px; font-weight: 500; }
.work-handle svg { width: 15px; height: 15px; }
.contact h2 { font-size: clamp(34px, 7vw, 48px); }
.contact-note { margin: 10px 0 22px; color: var(--muted); }
.list { overflow: hidden; border-radius: 22px; background: var(--soft); }
.list a { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px; transition: background .2s; }
.list a + a::before { content: ""; position: absolute; top: 0; left: 62px; right: 0; height: 1px; background: var(--line); }
.list a:active { background: var(--soft-2); }
@media (hover: hover) { .list a:hover { background: var(--soft-2); } }
.list-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--text); color: #fff; }
.list-icon svg { width: 16px; height: 16px; }
.list-text { flex: 1; min-width: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.list-text strong { font-size: 17px; font-weight: 600; }
.list-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 15px; }
.list-chev { flex: none; width: 16px; height: 16px; color: #c7c7cc; stroke-width: 2.4; }

/* ------------------------------------------------------------------ footer */
.footer { padding: 56px 0 calc(100px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--muted); overflow: hidden; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px 32px; }
.footer-line { font-size: 15px; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-links a { padding: 10px 0; color: var(--text); font-size: 15px; font-weight: 500; }
@media (hover: hover) { .footer-links a:hover { color: #0066cc; } }
.footer-mark {
  margin: 48px 0 10px;
  font-family: var(--wide); font-weight: 700;
  font-size: clamp(40px, 13.4vw, 164px);
  line-height: .9; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; text-align: center;
  background: linear-gradient(180deg, #1d1d1f 0%, #6e6e73 140%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-legal { color: var(--faint); font-size: 12px; text-align: center; }

/* ------------------------------------------------------------------ dock (phone) */
.dock {
  position: fixed; z-index: 30;
  left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: min(100% - 32px, 420px); height: 56px;
  border-radius: 999px;
  background: rgba(29, 29, 31, .92);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  color: #fff; font-size: 17px; font-weight: 600;
  box-shadow: 0 14px 40px -10px rgba(0,0,0,.45);
  transform: translate(-50%, 0);
  transition: transform .5s var(--ease), opacity .35s;
}
.dock svg { width: 17px; height: 17px; stroke-width: 2.2; }
.dock:active { transform: translate(-50%, 0) scale(.97); }
.dock.is-hidden, .is-intro .dock, .is-unlocking .dock { opacity: 0; transform: translate(-50%, 140%); pointer-events: none; }

/* ------------------------------------------------------------------ scroll reveal (staggered) */
.js [data-reveal] { transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].pending:not(.lit) { opacity: 0; transform: translateY(26px) scale(.985); }

/* ------------------------------------------------------------------ intro: live wallpaper */
.intro { display: none; }
.js.is-intro .intro, .js.is-unlocking .intro { display: block; }
.js.is-intro body, .js.is-unlocking body { overflow: hidden; }
.js.is-intro, .js.is-intro body { background: #000; }
.intro { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.wall { position: absolute; inset: 0; transform: scale(var(--zoom, 1)); will-change: transform; }
.wall-bg { opacity: var(--wall, 1); }
.wall-bg { position: absolute; inset: 0; background: var(--studio); }
.wake { position: absolute; inset: 0; background: #000; opacity: var(--dark, 1); }
.rig {
  position: absolute; top: 0; left: 0;
  width: var(--car-w, 240px);
  aspect-ratio: 1526 / 2810;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) rotate(var(--rot, 0deg)) scale(var(--sc, 1));
  transform-origin: 50% 50%;
  perspective: 1100px;
  will-change: transform;
}
.rig-body {
  position: relative; width: 100%; height: 100%;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
}
.rig-car { position: relative; width: 100%; height: 100%; }
/* The wake-up focus: a pre-blurred car on top that fades away, instead of blurring live. */
.rig-blur { position: absolute; inset: 0; width: 100%; height: 100%; opacity: var(--soft, 1); }
.rig-shadow { position: absolute; left: -14.74%; top: -8.007%; width: 129.49%; height: 116.01%; max-width: none; transform: translate3d(var(--shx, 0px), var(--shy, 0px), 0); }
.glisten--v::before { top: 0; bottom: auto; left: -20%; right: -20%; width: auto; height: 30%; transform: translate3d(0, -130%, 0) skewY(-10deg); animation: glisten-v 1.5s cubic-bezier(.45, 0, .25, 1) 1.55s 1 both; }
@keyframes glisten-v { from { transform: translate3d(0, -130%, 0) skewY(-10deg); } to { transform: translate3d(0, 420%, 0) skewY(-10deg); } }
.skip { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; opacity: 0; pointer-events: auto; }
.is-unlocking .skip { pointer-events: none; }

/* ------------------------------------------------------------------ sheet (calendar) */
.sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.sheet::backdrop { background: rgba(0,0,0,0); transition: background .4s, -webkit-backdrop-filter .4s, backdrop-filter .4s; }
.sheet.is-open::backdrop { background: rgba(0,0,0,.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet-panel {
  display: flex; flex-direction: column;
  height: 92svh;
  padding: 0 20px max(12px, env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: #fff;
  box-shadow: 0 -20px 60px rgba(0,0,0,.18);
  transform: translateY(105%);
  transition: transform .55s var(--ease);
}
.sheet.is-open .sheet-panel { transform: translateY(var(--drag, 0px)); }
.sheet.is-dragging .sheet-panel { transition: none; }
.sheet-grab { display: grid; place-items: center; height: 24px; cursor: grab; touch-action: none; }
.sheet-grab span { width: 38px; height: 5px; border-radius: 99px; background: #d1d1d6; }
.sheet-head { display: flex; align-items: flex-start; gap: 12px; padding: 6px 0 14px; touch-action: none; }
.sheet-heading { flex: 1; min-width: 0; }
.sheet-heading h2 { font-size: 28px; letter-spacing: -.03em; }
.sheet-price { margin-top: 2px; color: var(--muted); font-size: 17px; }
.sheet-close { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--soft); color: var(--muted); }
.sheet-close svg { width: 15px; height: 15px; stroke-width: 2.6; }
.sheet-cal { position: relative; flex: 1; min-height: 0; margin: 0 -20px; border-top: 1px solid var(--line); }
.sheet-cal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .4s; }
.sheet-cal.is-loaded iframe { opacity: 1; }
.cal-loading { position: absolute; inset: 0; display: grid; place-items: center; }
.cal-loading span { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid #e5e5ea; border-top-color: var(--text); animation: spin .8s linear infinite; }
.sheet-cal.is-loaded .cal-loading { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.sheet-external { align-self: center; padding: 10px 8px 2px; color: #0066cc; font-size: 14px; }

/* ------------------------------------------------------------------ tablet and up */
@media (max-aspect-ratio: 1/1) { :root { --studio: #e4e5e2 url("studio-tall.webp") 50% 36% / cover no-repeat; } }

@media (min-width: 740px) {
  .wrap, .nav-inner { width: min(100% - 64px, 1120px); }
  .strip-inner { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .strip-inner > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
  .how-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 0; }
  .how-steps li { grid-template-columns: 1fr; padding: 24px 0 0; border-bottom: 0; border-top: 1px solid var(--text); }
  .how-num { grid-row: auto; margin-bottom: 18px; }
  .connect-grid { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 56px; }
  .work { min-height: 420px; }
  .work-copy { left: 40px; bottom: 40px; }
  .work-copy strong { font-size: 40px; }
  .spec { padding: 32px 30px 26px; }
  .spec-list { grid-template-columns: 1fr 1fr; gap: 11px 16px; }
}
@media (min-width: 1000px) {
  .choose, .how { padding: 130px 0; }
  .connect { padding-bottom: 130px; }
  .config { grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: stretch; }
  .config-stage { display: flex; flex-direction: column; justify-content: center; padding: 60px 30px 26px; }
  .dock { display: none; }
  .footer { padding-bottom: 48px; }
  .sheet { inset: 0; display: none; place-items: center; width: 100%; height: 100%; }
  .sheet[open] { display: grid; }
  .sheet-panel { width: min(960px, 92vw); height: min(820px, 90svh); border-radius: 28px; padding-bottom: 16px; transform: translateY(20px) scale(.97); opacity: 0; transition: transform .45s var(--ease), opacity .3s; box-shadow: 0 40px 100px rgba(0,0,0,.25); }
  .sheet.is-open .sheet-panel { transform: none; opacity: 1; }
  .sheet-grab { visibility: hidden; height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js [data-hero] { opacity: 1; transform: none; }
}
