/* ==========================================================================
   Webber Web Services — "Champagne Noir"
   1. Fonts  2. Tokens  3. Base  4. Layout  5. Type  6. Buttons & labels
   7. Header & menu  8. Footer  9. Frames  10. Home  11. Shared sections
   12. Services & pricing  13. Planner  14. Portfolio  15. About
   16. Contact & forms  17. Lightbox  18. Utility pages  19. Motion
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-wght.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

/* 2. Tokens --------------------------------------------------------------- */
:root {
  /* WWS brand palette (approved) */
  --bg: #141927;          /* main background (ink navy) */
  --royal: #2440a0;       /* primary buttons, selective surfaces */
  --champagne: #c6b58f;   /* headings and accents */
  --warm: #e5dfd2;        /* body text on dark */
  --ivory: #f8f5ee;       /* button labels, highlights */
  --slate: #515968;       /* supporting text on light surfaces only */
  --raise: #1b2030;       /* derived: raised surfaces */

  /* Transparent blends of the approved colors */
  --raise-tint: rgba(248, 245, 238, 0.035);
  --raise-tint-2: rgba(248, 245, 238, 0.06);
  --text: var(--warm);
  --text-muted: rgba(229, 223, 210, 0.74);
  --line: rgba(198, 181, 143, 0.24);
  --line-soft: rgba(229, 223, 210, 0.1);
  --champagne-soft: rgba(198, 181, 143, 0.12);
  --royal-glow: rgba(36, 64, 160, 0.42);

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  --max: 82rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section: clamp(5rem, 4rem + 6vw, 9.5rem);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --header-h: 4.75rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);   /* entrances */
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);    /* exits */
  /* Interface spring (stiffness 240, damping 24, mass 1, damping ratio 0.77): peaks at 2.1% overshoot, settled by 600ms */
  --spring-dur: 600ms;
  --spring: linear(0, 0.0239 2.5%, 0.0847 5%, 0.1684 7.5%, 0.2643 10%, 0.3645 12.5%, 0.4631 15%, 0.5561 17.5%, 0.641 20%, 0.7165 22.5%, 0.7819 25%, 0.8374 27.5%, 0.8835 30%, 0.9209 32.5%, 0.9505 35%, 0.9735 37.5%, 0.9907 40%, 1.0031 42.5%, 1.0116 45%, 1.017 47.5%, 1.02 50%, 1.0212 52.5%, 1.0211 55%, 1.0201 57.5%, 1.0185 60%, 1.0165 62.5%, 1.0144 65%, 1.0122 67.5%, 1.0102 70%, 1.0083 72.5%, 1.0066 75%, 1.0052 77.5%, 1.0039 80%, 1.0028 82.5%, 1.002 85%, 1.0013 87.5%, 1.0007 90%, 1.0003 92.5%, 1. 95%, 0.9998 97.5%, 1);
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); background: var(--bg); color-scheme: dark; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; font-weight: 400; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
img.img-failed { visibility: hidden; }
a { color: inherit; text-decoration-color: rgba(198, 181, 143, 0.55); text-underline-offset: 0.22em; text-decoration-thickness: 1px; transition: color 0.2s, text-decoration-color 0.2s; }
a:hover { color: var(--ivory); text-decoration-color: var(--champagne); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(198, 181, 143, 0.35); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.on-light :focus-visible { outline-color: var(--royal); }
[hidden] { display: none !important; }
main:focus { outline: none; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.75rem 1.1rem; border-radius: 0.6rem; background: var(--ivory); color: var(--bg); font-weight: 700; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 1rem; color: var(--bg); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 4. Layout --------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section + .section--flush { padding-top: 0; }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); max-width: 46rem; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 3rem; } }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* 5. Type ----------------------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 0.85rem; font-size: 0.75rem; line-height: 1.2; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne); }
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: 0.8; flex: none; }
.mono { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--text-muted); }
.display, .h2, .h3 { font-family: var(--serif); font-weight: 400; color: var(--champagne); letter-spacing: -0.018em; text-wrap: balance; }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--ivory); }
.display { font-size: clamp(3.05rem, 1.35rem + 7vw, 7.75rem); line-height: 0.93; letter-spacing: -0.025em; }
.display--page { font-size: clamp(2.9rem, 1.6rem + 5.4vw, 6.5rem); }
.h2 { font-size: clamp(2.35rem, 1.45rem + 3.6vw, 4.6rem); line-height: 1; }
.h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); line-height: 1.05; }
.lead { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.6; color: var(--text); max-width: 38rem; }
.muted { color: var(--text-muted); }
.prose { display: grid; gap: 1.15rem; max-width: 40rem; }
.prose p { color: var(--text); }
.text-link { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--ivory); font-weight: 600; text-decoration: none; padding-block: 0.35rem; border-bottom: 1px solid var(--line); transition: border-color 0.25s, gap 0.25s var(--ease); }
.text-link:hover { border-color: var(--champagne); gap: 0.8rem; }
.text-link svg { width: 1rem; height: 1rem; flex: none; }

/* 6. Buttons & labels ----------------------------------------------------- */
.btn { --btn-bg: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; min-height: 3.35rem; padding: 0.8rem 1.65rem; border: 0; border-radius: 999px; background: var(--btn-bg); color: var(--ivory); font-family: var(--sans); font-size: 0.96rem; font-weight: 650; line-height: 1.2; letter-spacing: 0.01em; text-decoration: none; text-align: center; transition: transform 0.25s var(--ease), box-shadow 0.25s, background-color 0.25s, color 0.25s; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 1.05rem; height: 1.05rem; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover { color: var(--ivory); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.985); }
.btn--primary { --btn-bg: var(--royal); box-shadow: inset 0 0 0 1px rgba(248, 245, 238, 0.2), 0 14px 34px -16px rgba(36, 64, 160, 0.95); }
.btn--primary:hover { background-image: linear-gradient(rgba(248, 245, 238, 0.1), rgba(248, 245, 238, 0.1)); box-shadow: inset 0 0 0 1px rgba(248, 245, 238, 0.3), 0 18px 40px -16px rgba(36, 64, 160, 1); }
.btn--ghost { box-shadow: inset 0 0 0 1px rgba(198, 181, 143, 0.5); }
.btn--ghost:hover { background: rgba(198, 181, 143, 0.1); box-shadow: inset 0 0 0 1px var(--champagne); }
.btn--ivory { --btn-bg: var(--ivory); color: var(--bg); }
.btn--ivory:hover { color: var(--bg); background: #fff; }
.btn--sm { min-height: 2.75rem; padding: 0.55rem 1.15rem; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.6; cursor: progress; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
@media (max-width: 479px) { .actions--stack-sm { flex-direction: column; align-items: stretch; justify-self: stretch; } .actions--stack-sm .btn { width: 100%; } }

.label { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.38rem 0.75rem 0.38rem 0.6rem; border-radius: 999px; border: 1px solid rgba(198, 181, 143, 0.45); background: rgba(20, 25, 39, 0.55); color: var(--champagne); font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.label::before { content: ""; width: 0.42rem; height: 0.42rem; border-radius: 50%; border: 1px solid currentColor; }
.label--client { color: var(--ivory); border-color: rgba(248, 245, 238, 0.4); }
.label--client::before { background: currentColor; }

/* 7. Header & menu -------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(20, 25, 39, 0.78); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color 0.3s, background-color 0.3s; }
.site-header.is-scrolled { border-bottom-color: var(--line-soft); background: rgba(20, 25, 39, 0.9); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--champagne); flex: none; }
.brand:hover { color: var(--champagne); }
.brand__mark { font-family: var(--serif); font-size: 1.9rem; line-height: 1; letter-spacing: 0.03em; }
.brand__rule { width: 1px; height: 1.6rem; background: rgba(198, 181, 143, 0.45); }
.brand__name { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--warm); white-space: nowrap; }
/* Long unbreakable strings (email addresses, URLs) may wrap instead of widening the page with enlarged text. */
a[href^="mailto:"], .contact-line__v, .legal a, .mobile-menu__contact a { overflow-wrap: anywhere; }
.site-footer .brand { flex: 0 1 auto; min-width: 0; }
.site-footer .brand__name { white-space: normal; overflow-wrap: anywhere; }
.btn { max-width: 100%; text-align: center; }
.btn > span { min-width: 0; }
.legal > *, .site-footer__top > *, .demo-grid > *, .info-grid > *, .pay-terms > * { min-width: 0; }
/* Single-column grids must never grow past the viewport because of a wide child. */
.work, .page-hero__split, .page-hero__inner, .hero__inner, .founder, .split, .contact-grid, .about-hero, .chapter, .mobile-feature, .pricing, .planner__grid, .svc-detail, .svc-detail__head, .principle, .legal, .demo-intro, .form-card__head { grid-template-columns: minmax(0, 1fr); }
h1, h2, h3, h4, p, li, legend, label { overflow-wrap: break-word; }
.eyebrow, .pstep__title { flex-wrap: wrap; }
.pill { max-width: 100%; }
.pill span { flex-wrap: wrap; min-width: 0; }
.work > *, .page-hero__split > *, .page-hero__inner > *, .work__body > * { min-width: 0; max-width: 100%; }
@media (max-width: 22.4em) {
  .note-bar { flex-direction: column; }
}
@media (max-width: 479px) {
  .site-header__inner { gap: 0.75rem; }
}
/* The header adapts to the space it actually has, measured in its own text size, so it still fits
   when visitors enlarge their browser's default text (WCAG 1.4.4) as well as on narrow phones. */
.site-header__inner { container: header / inline-size; }
@container header (max-width: 25em) {
  .brand__name { white-space: normal; max-width: 6.6rem; font-size: 0.62rem; line-height: 1.3; letter-spacing: 0.18em; }
  .brand { gap: 0.65rem; }
  .brand__mark { font-size: 1.7rem; }
}
@container header (max-width: 18.5em) {
  .menu-toggle { padding: 0; border: 0; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-toggle__icon { width: 2.75rem; height: 2.75rem; }
  .menu-toggle__icon i { left: 0.85rem; right: 0.85rem; }
  .menu-toggle__icon i:first-child { top: 1.15rem; }
  .menu-toggle__icon i:last-child { top: 1.55rem; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child, .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { top: 1.35rem; }
}
@container header (max-width: 15.5em) {
  .brand__rule, .brand__name { display: none; }
}

.site-nav { display: none; }
.site-nav__list { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.25rem); }
.site-nav__link { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--warm); font-size: 0.92rem; font-weight: 550; text-decoration: none; }
.site-nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.45rem; height: 1px; background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.site-nav__link:hover { color: var(--ivory); }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after, .site-nav__link.is-section::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"], .site-nav__link.is-section { color: var(--champagne); }
.site-nav__link--cta { padding: 0 1.2rem; min-height: 2.6rem; border-radius: 999px; background: var(--royal); color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(248, 245, 238, 0.2); }
.site-nav__link--cta::after { display: none; }
.site-nav__link--cta:hover { background-image: linear-gradient(rgba(248, 245, 238, 0.1), rgba(248, 245, 238, 0.1)); }
.site-nav__link--cta[aria-current="page"] { color: var(--ivory); box-shadow: inset 0 0 0 1px var(--champagne); }

.menu-toggle { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 2.75rem; padding: 0 0.35rem 0 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ivory); font-size: 0.82rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.menu-toggle__icon { position: relative; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--champagne-soft); }
.menu-toggle__icon i { position: absolute; left: 0.6rem; right: 0.6rem; height: 1.5px; background: var(--champagne); transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.menu-toggle__icon i:first-child { top: 0.85rem; }
.menu-toggle__icon i:last-child { top: 1.2rem; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { top: 1.02rem; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { top: 1.02rem; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom)); background: var(--bg); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu.is-open { animation: menu-in 0.4s var(--ease-out) both; }
.mobile-menu__list { display: grid; }
.mobile-menu__list a { display: flex; align-items: baseline; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.1; color: var(--champagne); text-decoration: none; }
.mobile-menu__list a[aria-current="page"] { color: var(--ivory); }
.mobile-menu__list a[aria-current="page"] .mobile-menu__n::after { content: " ·"; }
.mobile-menu__n { font-family: var(--mono); font-size: 0.75rem; color: var(--text-muted); min-width: 1.5rem; }
.mobile-menu__contact { display: grid; gap: 0.5rem; font-size: 1rem; }
.mobile-menu__contact a { color: var(--ivory); text-decoration: none; display: inline-flex; gap: 0.6rem; align-items: center; min-height: 2.75rem; }
.mobile-menu__contact svg { width: 1.1rem; height: 1.1rem; color: var(--champagne); }
.mobile-menu__contact p { color: var(--text-muted); font-size: 0.9rem; }
html.menu-open { overflow: hidden; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-0.75rem); } to { opacity: 1; transform: none; } }

/* em-based so the full nav only appears when it fits, even with enlarged default text. */
@media (min-width: 60em) {
  .site-nav { display: block; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* 8. Footer --------------------------------------------------------------- */
.site-footer { position: relative; padding: clamp(4rem, 3rem + 4vw, 6.5rem) 0 2rem; border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(36, 64, 160, 0.06), transparent 40%), var(--bg); }
.site-footer__top { display: grid; gap: 3rem; }
@media (min-width: 820px) { .site-footer__top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.7fr) minmax(0, 0.9fr); gap: 4rem; } }
.site-footer__brand { display: grid; gap: 1.25rem; align-content: start; max-width: 28rem; }
.site-footer__brand .brand__mark { font-size: 2.6rem; }
.site-footer__brand p { color: var(--text-muted); }
.site-footer__place { display: grid; gap: 0.35rem; }
.site-footer__h { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne); margin-bottom: 1rem; }
.site-footer__list { display: grid; gap: 0.15rem; }
.site-footer__list a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.5rem; color: var(--warm); text-decoration: none; }
.site-footer__list a:hover { color: var(--ivory); }
.site-footer__list svg { width: 1rem; height: 1rem; color: var(--champagne); flex: none; }
.site-footer__list .is-email { word-break: break-all; }
.site-footer__a11y { margin-top: clamp(3rem, 2rem + 4vw, 5rem); font-size: 0.875rem; color: var(--text-muted); overflow-wrap: anywhere; }
.site-footer__a11y + .site-footer__bottom { margin-top: 1.25rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 2rem + 4vw, 5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-soft); font-size: 0.875rem; color: var(--text-muted); }
.site-footer__bottom a { color: var(--text-muted); }
.site-footer__bottom ul { display: flex; gap: 1.5rem; }

/* 9. Device frames -------------------------------------------------------- */
.frame { position: relative; margin: 0; }
.frame--browser { border-radius: 0.9rem; background: #0e1220; box-shadow: 0 0 0 1px rgba(229, 223, 210, 0.12), 0 40px 80px -40px rgba(0, 0, 0, 0.8), 0 18px 40px -24px rgba(36, 64, 160, 0.35); overflow: hidden; }
.frame__bar { display: flex; align-items: center; gap: 0.4rem; height: 2.1rem; padding: 0 0.85rem; background: rgba(248, 245, 238, 0.045); border-bottom: 1px solid rgba(229, 223, 210, 0.08); }
.frame__bar i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: rgba(229, 223, 210, 0.22); }
.frame__url { margin-left: 0.75rem; flex: 1; min-width: 0; max-width: 15rem; height: 1.25rem; padding: 0 0.65rem; border-radius: 999px; background: rgba(248, 245, 238, 0.06); font-size: 0.62rem; line-height: 1.25rem; letter-spacing: 0.06em; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #1b2030; }
.frame__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame--phone { border-radius: 1.6rem; padding: 0.4rem; background: #0b0e17; box-shadow: 0 0 0 1px rgba(229, 223, 210, 0.16), 0 30px 60px -24px rgba(0, 0, 0, 0.85); }
.frame--phone .frame__screen { aspect-ratio: 390 / 844; border-radius: 1.25rem; }
.frame--phone::before { content: ""; position: absolute; z-index: 2; top: 0.75rem; left: 50%; width: 26%; height: 0.32rem; border-radius: 999px; background: #0b0e17; transform: translateX(-50%); opacity: 0.9; }

/* 10. Home ---------------------------------------------------------------- */
/* Hero: WWS copy beside the Obsidian Detailing showcase (its home page shown on a laptop and a phone).
   On large screens the cursor build (section 19) assembles it as the page opens. */
.hero { position: relative; isolation: isolate; }
.hero__pin { position: relative; overflow: clip; padding: clamp(2.75rem, 1.5rem + 5vw, 6rem) 0 0; }
.hero__grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(198, 181, 143, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(198, 181, 143, 0.055) 1px, transparent 1px); background-size: 56px 56px; background-position: -1px -1px; -webkit-mask-image: radial-gradient(ellipse 70% 75% at 70% 35%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 70% 75% at 70% 35%, #000 10%, transparent 72%); }
.hero__glow { position: absolute; z-index: -1; width: min(70rem, 120vw); aspect-ratio: 1; right: -25%; top: -35%; border-radius: 50%; background: radial-gradient(circle, rgba(36, 64, 160, 0.34), transparent 62%); pointer-events: none; }
.hero__inner { display: grid; gap: clamp(3rem, 2rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) { .hero__inner { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(2rem, 4vw, 4rem); } }
.hero__copy { position: relative; display: grid; gap: 1.6rem; justify-items: start; container-type: inline-size; }
/* Sized to the copy column so "First impressions," always fits on one line. */
.hero__title { font-size: clamp(2.6rem, 16.6cqi, 7.25rem); }
.hero__title .line { display: block; }
/* Lift the first line slightly so the "p" descender clears the "f" of "carefully" below it. */
.hero__title .line:first-child { position: relative; top: -0.06em; }
.hero__lead { max-width: 33rem; }
.hero__note { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.92rem; color: var(--text-muted); }
.hero__note .monogram-sm { width: 2.25rem; height: 2.25rem; }
.hero__actions { position: relative; }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; margin-top: clamp(3.5rem, 2rem + 5vw, 6rem); padding: 1.25rem 0 1.5rem; border-top: 1px solid var(--line-soft); }
.hero__meta span { display: inline-flex; gap: 0.75rem; align-items: center; }

/* Showcase: laptop + phone presenting the Obsidian Detailing website concept */
.showcase { position: relative; margin: 0; width: 100%; max-width: 46rem; margin-inline: auto; }
.showcase__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 1rem; margin-bottom: 1.1rem; }
.showcase__stage { position: relative; padding-right: 4%; }
.showcase__caption { margin-top: 1.1rem; max-width: 36rem; font-size: 0.82rem; line-height: 1.55; color: var(--text-muted); }
.showcase__caption b { color: var(--ivory); font-weight: 650; }
.showcase__caption a { color: var(--champagne); font-weight: 650; white-space: nowrap; }

.laptop { position: relative; width: 90%; }
.laptop__lid { position: relative; padding: 0.5rem 0.5rem 0.65rem; border-radius: 1rem 1rem 0.4rem 0.4rem; background: linear-gradient(180deg, #232a3d, #10141f); box-shadow: 0 0 0 1px rgba(229, 223, 210, 0.14), 0 50px 90px -50px rgba(0, 0, 0, 0.9), 0 30px 70px -40px rgba(36, 64, 160, 0.55); }
.laptop__bar { display: flex; align-items: center; gap: 0.34rem; height: 1.5rem; padding: 0 0.65rem; border-radius: 0.55rem 0.55rem 0 0; background: #151a27; border-bottom: 1px solid rgba(229, 223, 210, 0.07); }
.laptop__bar i { width: 0.42rem; height: 0.42rem; border-radius: 50%; background: rgba(229, 223, 210, 0.2); }
.laptop__bar span { margin-left: 0.6rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.58rem; letter-spacing: 0.08em; color: var(--text-muted); }
.laptop__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 0 0.3rem 0.3rem; background: #08070b; container-type: inline-size; }
.laptop__base { position: relative; height: 0.85rem; margin: 0 -5.5%; border-radius: 0 0 1.1rem 1.1rem / 0 0 0.85rem 0.85rem; background: linear-gradient(180deg, #2a3144, #161b28 55%, #0c0f17); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.95); }
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 17%; height: 0.28rem; transform: translateX(-50%); border-radius: 0 0 0.5rem 0.5rem; background: #0d1018; }

.phone { position: absolute; z-index: 3; right: 0; bottom: -0.4rem; width: 25%; padding: 0.32rem; border-radius: 1.45rem; background: #0b0e15; box-shadow: 0 0 0 1px rgba(229, 223, 210, 0.18), 0 34px 60px -24px rgba(0, 0, 0, 0.95), -18px 0 40px -30px rgba(36, 64, 160, 0.6); }
.phone::before { content: ""; position: absolute; z-index: 2; top: 0.65rem; left: 50%; width: 26%; height: 0.28rem; border-radius: 999px; background: #0b0e15; transform: translateX(-50%); }
.phone__screen { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 1.15rem; background: #08070b; container-type: inline-size; }
@media (max-width: 599px) {
  .showcase__steps { display: none; }
  .phone { width: 30%; border-radius: 1.1rem; }
  .phone__screen { border-radius: 0.85rem; }
}

.showcase__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Decorative build cursors (see section 19). Hidden unless the page build is running; never take input. */
.cursor { position: absolute; left: 0; top: 0; display: none; align-items: flex-start; gap: 0.05rem; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.cursor svg { width: 2rem; height: 2rem; flex: none; transform-origin: 20% 12%; filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.7)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55)); }
/* Each cursor has its own colour (decorative only, never the real pointer). */
.cursor--type { --cur: #f2c14e; color: var(--cur); }   /* gold: types headings */
.cursor--layout { --cur: #6ca8ff; color: var(--cur); } /* sky blue: places text */
.cursor--image { --cur: #4fd1a5; color: var(--cur); }  /* mint: places images and cards */
.cursor--style { --cur: #ff7a85; color: var(--cur); }  /* coral: finishes buttons */

/* Statement */
.statement__text { font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 2.9vw, 3.9rem); line-height: 1.08; letter-spacing: -0.015em; color: var(--warm); max-width: 62rem; text-wrap: pretty; }
.statement__text em { color: var(--champagne); }
.pillars { display: grid; gap: 0; margin-top: clamp(3rem, 2rem + 4vw, 5.5rem); border-top: 1px solid var(--line); }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar { display: grid; gap: 0.85rem; align-content: start; padding: 1.85rem 1.5rem 1.85rem 0; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 700px) { .pillar { padding-right: 2rem; } .pillar:nth-child(odd) { border-right: 1px solid var(--line-soft); } .pillar:nth-child(even) { padding-left: 2rem; } }
@media (min-width: 1100px) { .pillar { border-bottom: 0; border-right: 1px solid var(--line-soft); padding: 2.25rem 2rem; } .pillar:first-child { padding-left: 0; } .pillar:last-child { border-right: 0; padding-right: 0; } .pillar:nth-child(even) { padding-left: 2rem; } }
.pillar__n { font-family: var(--mono); font-size: 0.75rem; color: var(--champagne); }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 1.65rem; line-height: 1.1; color: var(--ivory); }
.pillar p { color: var(--text-muted); font-size: 0.98rem; }

/* Services index */
.svc-index { border-top: 1px solid var(--line); }
.svc-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.5rem 1.25rem; align-items: center; padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; isolation: isolate; }
.svc-row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -0.5); z-index: -1; border-radius: var(--radius); background: linear-gradient(90deg, rgba(36, 64, 160, 0.22), rgba(36, 64, 160, 0.04)); opacity: 0; transition: opacity 0.4s; }
.svc-row:hover { color: inherit; }
.svc-row:hover::before, .svc-row:focus-visible::before { opacity: 1; }
.svc-row__n { font-family: var(--mono); font-size: 0.8rem; color: var(--champagne); align-self: start; padding-top: 0.75rem; }
.svc-row__title { overflow-wrap: anywhere; font-family: var(--serif); font-size: clamp(2rem, 1.3rem + 3vw, 4rem); line-height: 1; color: var(--champagne); transition: transform 0.45s var(--ease), color 0.3s; }
.svc-row:hover .svc-row__title { transform: translateX(0.5rem); color: var(--ivory); }
.svc-row__text { grid-column: 2; color: var(--text-muted); max-width: 34rem; }
.svc-row__arrow { grid-row: 1 / span 2; grid-column: 3; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 1px solid var(--line); color: var(--champagne); transition: background 0.3s, color 0.3s, transform 0.45s var(--ease), border-color 0.3s; }
.svc-row__arrow svg { width: 1.15rem; height: 1.15rem; }
.svc-row:hover .svc-row__arrow { background: var(--royal); border-color: var(--royal); color: var(--ivory); transform: rotate(-45deg); }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 5rem minmax(0, 1.1fr) minmax(0, 1fr) auto; }
  .svc-row__n { padding-top: 0; align-self: center; }
  .svc-row__text { grid-column: 3; }
  .svc-row__arrow { grid-row: 1; grid-column: 4; }
}

/* Featured work */
.work-list { display: grid; gap: clamp(5rem, 4rem + 6vw, 9rem); }
.work { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); align-items: center; }
@media (min-width: 1024px) {
  .work { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(3rem, 5vw, 6rem); }
  .work:nth-child(even) { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
  .work:nth-child(even) .work__media { order: 2; }
}
.device-pair { position: relative; padding: 0 12% 9% 0; }
.device-pair .frame--phone { position: absolute; right: 0; bottom: 0; width: 26%; }
.work__body { display: grid; gap: 1.1rem; justify-items: start; }
.work__index { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.work__index .mono { color: var(--champagne); font-size: 0.8rem; }
.work__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.9rem); line-height: 1; color: var(--champagne); letter-spacing: -0.015em; }
.work__summary { font-size: 1.15rem; color: var(--ivory); }
.work__desc { color: var(--text-muted); }
.work__highlights { display: grid; gap: 0.55rem; margin: 0.35rem 0 0.5rem; }
.work__highlights li { display: flex; gap: 0.75rem; align-items: baseline; font-size: 0.97rem; }
.work__highlights li::before { content: ""; flex: none; width: 0.9rem; height: 1px; background: var(--champagne); transform: translateY(-0.3em); }
.work__note { font-size: 0.85rem; color: var(--text-muted); }

.work-more { margin-top: clamp(4rem, 3rem + 4vw, 6.5rem); padding-top: 2rem; border-top: 1px solid var(--line-soft); gap: 1.25rem 2rem; }
.handoff { display: grid; gap: 1.5rem; align-items: center; margin-top: 1.25rem; }
.handoff h2, .handoff h3 { margin-bottom: 0.6rem; }
.handoff .eyebrow { margin-bottom: 1rem; }
@media (min-width: 860px) { .handoff { grid-template-columns: 1fr auto; gap: 3rem; } }
.help-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.help-field legend { padding: 0; margin-bottom: 0.6rem; }

/* Process */
.process { display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; display: grid; gap: 0.9rem; align-content: start; padding: 0 0 2.5rem 2.75rem; }
.step::before { content: ""; position: absolute; left: 0.45rem; top: 0.6rem; bottom: 0; width: 1px; background: var(--line); }
.step:last-child::before { display: none; }
.step__dot { position: absolute; left: 0; top: 0.2rem; width: 0.95rem; height: 0.95rem; border-radius: 50%; border: 1px solid var(--champagne); background: var(--bg); }
.step__dot::after { content: ""; position: absolute; inset: 0.2rem; border-radius: 50%; background: var(--champagne); }
.step__n { font-family: var(--mono); font-size: 0.75rem; color: var(--champagne); letter-spacing: 0.06em; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1.1; color: var(--ivory); }
.step p { color: var(--text-muted); font-size: 0.98rem; max-width: 20rem; }
.step__arrow { display: none; }
@media (min-width: 900px) {
  .step { padding: 2.25rem 2rem 0 0; }
  .step::before { left: 0; right: 0; top: 0.45rem; bottom: auto; width: auto; height: 1px; }
  .step:last-child::before { display: block; right: 30%; }
  .step__dot { top: 0; }
  .step:last-child .step__dot::after { background: var(--royal); }
}

/* Pricing strip */
.price-strip { position: relative; display: grid; gap: 0; border-radius: calc(var(--radius) * 1.25); background: linear-gradient(140deg, rgba(36, 64, 160, 0.18), rgba(248, 245, 238, 0.025) 55%); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
@media (min-width: 56.25em) { .price-strip { grid-template-columns: 1.1fr 1fr 1fr 1fr; } }
.price-strip__intro, .price-strip__item { padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); }
.price-strip__intro { display: grid; gap: 1rem; align-content: space-between; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 56.25em) { .price-strip__intro { border-bottom: 0; border-right: 1px solid var(--line-soft); } }
.price-strip__item { display: grid; gap: 0.4rem; align-content: start; border-bottom: 1px solid var(--line-soft); }
.price-strip__item:last-child { border: 0; }
@media (min-width: 56.25em) { .price-strip__item { border-bottom: 0; border-right: 1px solid var(--line-soft); } }
.price-strip__terms { grid-column: 1 / -1; padding: 1.1rem clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); border-top: 1px solid var(--line-soft); font-size: 0.95rem; color: var(--text); }
.price-strip__terms strong { color: var(--ivory); }
.price-strip__item:last-of-type { border-right: 0; border-bottom: 0; }
.pay-terms { display: grid; gap: 0; margin-top: 1.5rem; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); background: var(--raise-tint); overflow: hidden; }
@media (min-width: 47.5em) { .pay-terms { grid-template-columns: repeat(3, 1fr); } }
.pay-terms__step { display: grid; gap: 0.35rem; align-content: start; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line-soft); }
.pay-terms__step:last-child { border: 0; }
@media (min-width: 47.5em) { .pay-terms__step { border-bottom: 0; border-right: 1px solid var(--line-soft); } }
.pay-terms__amount { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--champagne); }
.pay-terms__step h3 { font-size: 1rem; font-weight: 700; color: var(--ivory); }
.pay-terms__step p { font-size: 0.92rem; color: var(--text-muted); }
.price-strip__kind { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.price-strip__item .price-strip__amount { font-family: var(--serif); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; color: var(--champagne); }
.price-strip__amount small { font-family: var(--sans); font-size: 0.95rem; color: var(--text-muted); margin-left: 0.2rem; }
.price-strip__item p { color: var(--text); font-size: 0.97rem; }
.price-strip__item--care { background: rgba(36, 64, 160, 0.2); }

/* Founder intro */
.founder { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.founder__body { display: grid; gap: 1.4rem; justify-items: start; }

/* Monogram */
.monogram { position: relative; width: min(100%, 26rem); aspect-ratio: 4 / 5; margin-inline: auto; border-radius: 999px 999px 1.25rem 1.25rem; background: radial-gradient(120% 80% at 50% 0%, rgba(36, 64, 160, 0.45), transparent 60%), linear-gradient(180deg, rgba(248, 245, 238, 0.05), rgba(248, 245, 238, 0.015)); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; }
.monogram::before { content: ""; position: absolute; inset: 1rem; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(198, 181, 143, 0.16); }
.monogram__letters { font-family: var(--serif); font-size: clamp(7rem, 5rem + 8vw, 11rem); line-height: 1; color: var(--champagne); letter-spacing: -0.04em; }
.monogram__letters em { color: var(--ivory); margin-left: -0.08em; }
.monogram__caption { position: absolute; bottom: 2.25rem; left: 0; right: 0; text-align: center; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--text-muted); }
.monogram__lines { position: absolute; inset: 0; pointer-events: none; }
.work__soon { display: grid; place-content: center; justify-items: center; gap: 0.75rem; min-height: 18rem; padding: 2rem; border-radius: var(--radius); text-align: center; color: var(--text-muted); box-shadow: inset 0 0 0 1px var(--line-soft); background: var(--raise-tint); }
.monogram--photo { margin-block: 0; background: var(--bg); }
.monogram--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.monogram--photo::before { z-index: 1; box-shadow: inset 0 0 0 1px rgba(198, 181, 143, 0.3); }
.monogram--photo::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(180deg, transparent, rgba(20, 25, 39, 0.92)); }
.monogram--photo .monogram__caption { z-index: 2; color: var(--ivory); }
.monogram-sm { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--serif); font-size: 1.05rem; color: var(--champagne); flex: none; }

/* 11. Shared sections ----------------------------------------------------- */
.page-hero { position: relative; overflow: clip; padding: clamp(3.5rem, 2rem + 6vw, 7.5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(198, 181, 143, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(198, 181, 143, 0.055) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000, transparent 70%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 46rem; aspect-ratio: 1; right: -18rem; top: -24rem; border-radius: 50%; background: radial-gradient(circle, rgba(36, 64, 160, 0.32), transparent 65%); }
.page-hero__inner { display: grid; gap: 1.6rem; justify-items: start; max-width: 60rem; }
.page-hero__split { display: grid; gap: 3rem; align-items: end; }
@media (min-width: 1000px) { .page-hero__split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); } }
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.jump a { display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: 0.86rem; font-weight: 600; color: var(--warm); text-decoration: none; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.jump a:hover { background: var(--champagne-soft); border-color: var(--champagne); color: var(--ivory); }

.cta-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.5); background: var(--royal); color: var(--ivory); padding: clamp(2.5rem, 1.5rem + 5vw, 6rem); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(248, 245, 238, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(248, 245, 238, 0.07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000 100%); mask-image: linear-gradient(120deg, transparent 30%, #000 100%); }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -12rem; bottom: -18rem; width: 40rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(20, 25, 39, 0.55), transparent 65%); }
.cta-band__grid { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 960px) { .cta-band__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); } }
.cta-band .h2 { color: var(--champagne); font-size: clamp(2.5rem, 1.5rem + 4vw, 5.25rem); }
.cta-band .h2 em { color: var(--ivory); }
.cta-band p { color: var(--ivory); max-width: 34rem; margin-top: 1.25rem; }
.cta-band__contact { display: grid; gap: 1rem; justify-items: start; }
.cta-band__links { display: grid; gap: 0.25rem; margin-top: 0.5rem; }
.cta-band__links a { display: inline-flex; gap: 0.6rem; align-items: center; min-height: 2.5rem; color: var(--ivory); text-decoration: none; font-weight: 600; word-break: break-all; }
.cta-band__links a:hover { text-decoration: underline; text-decoration-color: var(--ivory); }
.cta-band__links svg { width: 1.05rem; height: 1.05rem; flex: none; }
.cta-band :focus-visible { outline-color: var(--ivory); }

.split { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } .split--even { grid-template-columns: 1fr 1fr; } }
.sticky-col { align-self: start; }
@media (min-width: 960px) { .sticky-col { position: sticky; top: calc(var(--header-h) + 2rem); } }

.check-list { display: grid; gap: 0.85rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 1.05rem; height: 1.05rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--champagne); background: radial-gradient(circle, var(--champagne) 0 2.5px, transparent 3px); }
.dash-list { display: grid; gap: 0.7rem; }
.dash-list li { display: flex; gap: 0.8rem; align-items: baseline; }
.dash-list li::before { content: ""; flex: none; width: 0.85rem; height: 1px; background: var(--text-muted); transform: translateY(-0.3em); }

.panel { position: relative; border-radius: var(--radius); background: var(--raise-tint); box-shadow: inset 0 0 0 1px var(--line-soft); padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem); }
.panel--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.panel h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1.1; color: var(--champagne); margin-bottom: 0.9rem; }
.panel p + p, .panel p + ul, .panel ul + p { margin-top: 0.9rem; }
.panel p { color: var(--text); }

/* 12. Services & pricing -------------------------------------------------- */
.svc-detail { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .svc-detail { grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }
.svc-detail__n { font-family: var(--mono); font-size: 0.8rem; color: var(--champagne); padding-top: 0.75rem; }
.svc-detail__head { display: grid; gap: 1.1rem; align-content: start; }
.svc-detail__head p { color: var(--text); }
.svc-detail__list h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.1rem; }
.svc-detail__extra { margin-top: 1.5rem; padding: 1rem 1.15rem; border-left: 2px solid var(--royal); background: rgba(36, 64, 160, 0.12); border-radius: 0 0.6rem 0.6rem 0; font-size: 0.95rem; }

.mobile-feature { display: grid; gap: clamp(3rem, 2rem + 4vw, 5rem); align-items: center; }
@media (min-width: 1000px) { .mobile-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.phone-showcase { position: relative; display: grid; place-items: center; padding: 2rem 0; overflow: clip; isolation: isolate; }
.phone-showcase .frame--phone { width: min(17rem, 62vw); }
.phone-showcase__ring { position: absolute; width: min(30rem, 92vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-soft); }
.phone-showcase__ring::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(198, 181, 143, 0.2); }
.phone-showcase__ring::after { content: ""; position: absolute; inset: -10%; border-radius: 50%; background: radial-gradient(circle, rgba(36, 64, 160, 0.3), transparent 60%); z-index: -1; }
.callouts { display: grid; gap: 0; counter-reset: callout; border-top: 1px solid var(--line); }
.callout { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.25rem 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line-soft); }
.callout__n { grid-row: span 2; font-family: var(--mono); font-size: 0.75rem; color: var(--champagne); padding-top: 0.3rem; }
.callout h3 { font-size: 1.1rem; font-weight: 650; color: var(--ivory); line-height: 1.35; }
.callout p { color: var(--text-muted); font-size: 0.96rem; }

.motion-compare { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .motion-compare { grid-template-columns: 1fr 1fr; } }
.motion-card { position: relative; overflow: hidden; }
.motion-card__demo { display: flex; gap: 0.5rem; align-items: flex-end; height: 4.5rem; margin-bottom: 1.5rem; }
.motion-card__demo i { flex: 1; border-radius: 0.5rem; background: rgba(198, 181, 143, 0.18); box-shadow: inset 0 0 0 1px var(--line); }
.motion-card__demo i:nth-child(1) { height: 45%; }
.motion-card__demo i:nth-child(2) { height: 75%; }
.motion-card__demo i:nth-child(3) { height: 60%; }
.motion-card__demo i:nth-child(4) { height: 100%; background: rgba(36, 64, 160, 0.55); }
.motion-card--extra .motion-card__demo i { background: transparent; box-shadow: inset 0 0 0 1px rgba(229, 223, 210, 0.25); border: 1px dashed transparent; }
.motion-card--extra .motion-card__demo i:nth-child(4) { background: transparent; }
.motion-card .tag { display: inline-block; margin-bottom: 0.75rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--champagne); }
@media (prefers-reduced-motion: no-preference) {
  .motion-card--std:hover .motion-card__demo i, .motion-card--std:focus-within .motion-card__demo i { animation: bar-rise 0.9s var(--ease) both; }
  .motion-card--std .motion-card__demo i:nth-child(2) { animation-delay: 0.06s; }
  .motion-card--std .motion-card__demo i:nth-child(3) { animation-delay: 0.12s; }
  .motion-card--std .motion-card__demo i:nth-child(4) { animation-delay: 0.18s; }
}
@keyframes bar-rise { from { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.4; } to { transform: none; transform-origin: bottom; opacity: 1; } }

.pricing { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) { .pricing { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.price-card { border-radius: calc(var(--radius) * 1.2); padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); display: grid; gap: 1.5rem; align-content: start; }
.price-card--build { background: linear-gradient(160deg, rgba(248, 245, 238, 0.06), rgba(248, 245, 238, 0.015)); box-shadow: inset 0 0 0 1px var(--line); }
.price-card--care { background: var(--royal); color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(248, 245, 238, 0.18), 0 30px 60px -30px rgba(36, 64, 160, 0.9); }
.price-card--care :focus-visible { outline-color: var(--ivory); }
.price-card__kind { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; align-items: center; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.price-card--care .price-card__kind { color: var(--ivory); }
.price-card__badge { padding: 0.35rem 0.7rem; border-radius: 999px; background: rgba(248, 245, 238, 0.14); color: var(--ivory); letter-spacing: 0.12em; }
.price-lines { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .price-lines { grid-template-columns: 1fr 1fr; } }
.price-line { display: grid; gap: 0.35rem; }
.price-line__amount { font-family: var(--serif); font-size: clamp(3.4rem, 2.6rem + 3vw, 5.25rem); line-height: 0.95; color: var(--champagne); letter-spacing: -0.02em; }
.price-line__amount sup { font-size: 0.45em; vertical-align: 0.9em; margin-right: 0.05em; }
.price-card--care .price-line__amount { color: var(--ivory); }
.price-line__what { font-weight: 650; color: var(--ivory); }
.price-line__when { font-size: 0.9rem; color: var(--text-muted); }
.price-card--care .price-line__when { color: var(--ivory); opacity: 0.9; }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.price-table caption { text-align: left; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); padding-bottom: 0.75rem; }
.price-table th, .price-table td { padding: 0.8rem 0; border-top: 1px solid var(--line-soft); text-align: left; font-weight: 500; }
.price-table td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ivory); font-weight: 650; }
.price-table th span { color: var(--text-muted); font-size: 0.85rem; margin-left: 0.5rem; }
.price-card__fine { font-size: 0.9rem; color: var(--text-muted); }
.price-card--care .check-list li::before { box-shadow: inset 0 0 0 1px var(--ivory); background: radial-gradient(circle, var(--ivory) 0 2.5px, transparent 3px); }
.price-card--care p { color: var(--ivory); }
.price-card--care .price-card__fine { color: var(--ivory); opacity: 0.92; }

.info-grid { display: grid; gap: 1.25rem; margin-top: 1.25rem; }
@media (min-width: 760px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .info-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.4rem 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.85rem); line-height: 1.2; color: var(--ivory); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(var(--champagne), var(--champagne)) center / 0.85rem 1px no-repeat, linear-gradient(var(--champagne), var(--champagne)) center / 1px 0.85rem no-repeat; transition: transform 0.35s var(--ease), background-color 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--champagne); }
.faq__a { padding: 0 3.5rem 1.6rem 0; color: var(--text); max-width: 46rem; }

/* 13. Planner ------------------------------------------------------------- */
.planner__grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1080px) { .planner__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 3rem; } }
.money { display: flex; align-items: center; max-width: min(18rem, 100%); border-radius: 0.8rem; background: rgba(20, 25, 39, 0.65); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.2s; }
.money:focus-within { box-shadow: inset 0 0 0 2px var(--champagne); }
.money span { padding-left: 1rem; font-family: var(--serif); font-size: 1.6rem; color: var(--champagne); }
.money input { flex: 1; min-width: 0; height: 3.4rem; padding: 0 1rem 0 0.4rem; border: 0; background: transparent; color: var(--ivory); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.money input:focus { outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.chip { min-height: 2.6rem; padding: 0 1rem; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--warm); font-size: 0.88rem; font-weight: 600; transition: background 0.2s, box-shadow 0.2s, color 0.2s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--champagne); color: var(--ivory); }
.chip[aria-pressed="true"] { background: var(--champagne); color: var(--bg); box-shadow: none; }
.care-opts input, .help-opts input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.field-note { margin-top: 0.6rem; font-size: 0.88rem; color: var(--text-muted); }
.field-note.is-warn { color: var(--ivory); }
.field-note:empty { display: none; }

/* Planner form: one card, three numbered steps */
.pform { padding: clamp(1.25rem, 0.9rem + 1.6vw, 2.25rem); border-radius: calc(var(--radius) * 1.1); background: linear-gradient(170deg, rgba(248, 245, 238, 0.055), rgba(248, 245, 238, 0.02)); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.pstep { margin: 0; padding: 1.6rem 0; border: 0; border-top: 1px solid var(--line-soft); min-width: 0; }
.pstep:first-of-type { padding-top: 0; border-top: 0; }
.pstep__title { float: left; width: 100%; display: flex; align-items: center; gap: 0.75rem; padding: 0; margin-bottom: 1rem; font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; color: var(--ivory); }
.pstep__title .opt-mark { font-family: var(--sans); font-size: 0.85rem; color: var(--text-muted); }
.pstep__title + * { clear: both; }
.pstep__n { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 0.78rem; color: var(--champagne); box-shadow: inset 0 0 0 1.5px var(--champagne); transition: background 0.25s, color 0.25s; }
.pstep.is-done .pstep__n { background: var(--champagne); color: var(--bg); }
.pstep__hint { clear: both; margin: -0.5rem 0 0.9rem; font-size: 0.9rem; color: var(--text-muted); }
.pstep__grid { clear: both; display: grid; gap: 1rem; }
@media (min-width: 640px) { .pstep__grid { grid-template-columns: 1fr 1fr; } .pstep__full { grid-column: 1 / -1; } }
.pstep .chips { margin-top: 0; }
.pstep__own { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; margin-top: 0.9rem; }
.pstep__own label { font-size: 0.9rem; color: var(--text-muted); }
.money--sm { max-width: min(11rem, 100%); }
.money--sm span { font-size: 1.2rem; }
.money--sm input { height: 2.75rem; font-size: 1rem; }
.pills__h { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.6rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.pills + .pills__h { margin-top: 1.1rem; }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--champagne); }
.dot--ring { background: transparent; box-shadow: inset 0 0 0 1.5px var(--champagne); }
.pills { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pill { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); color: var(--warm); font-size: 0.88rem; line-height: 1.25; cursor: pointer; transition: background 0.2s, box-shadow 0.2s, color 0.2s; }
.pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: 0.45rem; }
.pill span::before { content: "+"; font-weight: 700; color: var(--champagne); width: 0.7rem; text-align: center; }
.pill:hover { box-shadow: inset 0 0 0 1px var(--champagne); color: var(--ivory); }
.pill:has(input:checked) { background: rgba(198, 181, 143, 0.16); box-shadow: inset 0 0 0 1.5px var(--champagne); color: var(--ivory); font-weight: 600; }
.pill:has(input:checked) span::before { content: "✓"; }
.pill:has(input:focus-visible), .chip:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }
.pill__price { margin-left: 0.15rem; font-weight: 700; font-size: 0.8rem; color: var(--champagne); font-variant-numeric: tabular-nums; }
.pill:has(input:checked) .pill__price { color: var(--ivory); }
.pills__fine { margin-top: 0.85rem; font-size: 0.82rem; color: var(--text-muted); }
.receipt { margin-top: 1rem; padding: 0.35rem 0.9rem; border-radius: 0.7rem; background: rgba(20, 25, 39, 0.04); box-shadow: inset 0 0 0 1px rgba(81, 89, 104, 0.2); }
.receipt li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; font-size: 0.9rem; color: var(--bg); border-top: 1px dashed rgba(81, 89, 104, 0.22); font-variant-numeric: tabular-nums; }
.receipt li:first-child { border-top: 0; }
.receipt li span:last-child { white-space: nowrap; font-weight: 650; }
.receipt__total { font-weight: 750; border-top-style: solid !important; }
.feats em { font-style: normal; font-weight: 700; white-space: nowrap; color: var(--bg); }
.pform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft); }
.pform__note { font-size: 0.88rem; color: var(--text-muted); }
@media (forced-colors: active) { .pill:has(input:checked) { outline: 2px solid CanvasText; } }

.planner__result { min-width: 0; }
@media (min-width: 1080px) { .planner__result { position: sticky; top: calc(var(--header-h) + 1.25rem); } }
.sheet { position: relative; border-radius: calc(var(--radius) * 1.1); background: var(--ivory); color: var(--bg); padding: clamp(1.4rem, 1rem + 1.5vw, 2.25rem); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(198, 181, 143, 0.5); }
@media (min-width: 1080px) { .sheet { max-height: calc(100vh - var(--header-h) - 2.5rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }
.sheet::before { content: ""; position: absolute; left: 1.25rem; right: 1.25rem; top: 0; height: 3px; background: linear-gradient(90deg, var(--royal), var(--champagne)); border-radius: 0 0 3px 3px; }
.sheet__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-start; padding-bottom: 1.15rem; border-bottom: 1px solid rgba(81, 89, 104, 0.25); }
.sheet__title { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--bg); }
.sheet__sub { margin-top: 0.4rem; font-size: 0.9rem; color: var(--slate); }
.sheet__stamp { flex: none; padding: 0.4rem 0.7rem; border-radius: 0.4rem; border: 1px solid var(--slate); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); transform: rotate(2deg); }
.sheet__empty { padding: 2.5rem 0 1rem; display: grid; gap: 1rem; color: var(--slate); }
.sheet__empty-icon { width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(81, 89, 104, 0.35); color: var(--royal); }
.sheet__empty-icon svg { width: 1.3rem; height: 1.3rem; }
.sheet__section { padding: 1.25rem 0; border-bottom: 1px solid rgba(81, 89, 104, 0.18); }
.sheet__section:last-of-type { border-bottom: 0; }
.sheet p { color: var(--bg); font-size: 0.95rem; }
.sheet .sheet__h { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.75rem; }
.sheet__section p + p, .sheet__section p + .feats, .sheet__section .feats + p { margin-top: 0.6rem; }
.sheet .s-muted { color: var(--slate); }
.sheet .sheet__for { margin-bottom: 1rem; font-size: 0.92rem; color: var(--slate); }
.sheet__for strong { color: var(--bg); font-weight: 700; }
.sheet__redesign { display: block; margin-top: 0.2rem; }
.sheet__more { border-top: 1px solid rgba(81, 89, 104, 0.18); }
.sheet__more summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3rem; padding: 0.9rem 0; cursor: pointer; list-style: none; font-size: 0.92rem; font-weight: 700; color: var(--royal); }
.sheet__more summary::-webkit-details-marker { display: none; }
.sheet__more summary::after { content: "+"; font-size: 1.3rem; line-height: 1; transition: transform 0.25s var(--ease-out); }
.sheet__more[open] summary::after { transform: rotate(45deg); }
.sheet__more summary:focus-visible { outline: 2px solid var(--royal); outline-offset: 2px; border-radius: 0.3rem; }
.sheet__more-body > .sheet__section:first-child { padding-top: 0.25rem; }
.sheet__more + .sheet__section { border-top: 1px solid rgba(81, 89, 104, 0.18); }
.pages { display: grid; gap: 0.15rem; counter-reset: pg; }
.pages li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.1rem 0.5rem; padding: 0.65rem 0; border-top: 1px dashed rgba(81, 89, 104, 0.25); }
.pages li:first-child { border-top: 0; }
.pages li::before { counter-increment: pg; content: counter(pg, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: 0.72rem; color: var(--royal); padding-top: 0.3rem; }
.pages b { font-weight: 750; color: var(--bg); }
.pages span { font-size: 0.88rem; color: var(--slate); line-height: 1.5; }
.pages--folded li::before { content: "↳"; color: var(--slate); font-family: var(--sans); }
.total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0.5rem 1rem; }
.sheet .total__amount { font-family: var(--serif); font-size: clamp(3rem, 2.4rem + 2vw, 3.9rem); line-height: 0.95; color: var(--bg); letter-spacing: -0.02em; }
.sheet .total__meta { font-size: 0.85rem; color: var(--slate); text-align: right; }
.fit { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 0.7rem; background: rgba(36, 64, 160, 0.07); box-shadow: inset 0 0 0 1px rgba(36, 64, 160, 0.25); font-size: 0.93rem; color: var(--bg); }
.fit--warn { background: rgba(198, 181, 143, 0.22); box-shadow: inset 0 0 0 1px rgba(81, 89, 104, 0.35); }
.fit strong { font-weight: 750; }
.adds li, .feats li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px dashed rgba(81, 89, 104, 0.22); font-size: 0.93rem; }
.adds li:first-child, .feats li:first-child { border-top: 0; }
.adds em { font-style: normal; font-weight: 700; white-space: nowrap; color: var(--bg); }
.adds small { display: block; color: var(--slate); font-size: 0.82rem; }
.mini-tag { display: inline-block; margin-left: 0.4rem; padding: 0.12rem 0.45rem; border-radius: 999px; background: rgba(36, 64, 160, 0.1); color: var(--royal); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 0.1em; }
.mini-tag--muted { background: rgba(81, 89, 104, 0.12); color: var(--slate); }
.feats small { display: block; color: var(--slate); font-size: 0.82rem; line-height: 1.45; margin-top: 0.15rem; }
.care-box { margin-top: 0.25rem; padding: 1.1rem; border-radius: 0.85rem; background: var(--bg); color: var(--warm); }
.care-box__top { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.care-box__price { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--champagne); }
.care-box__price small { font-family: var(--sans); font-size: 0.85rem; color: var(--text-muted); }
.care-box p { color: var(--warm); font-size: 0.9rem; margin-top: 0.5rem; }
.care-box fieldset { border: 0; padding: 0; margin: 0.9rem 0 0; }
.care-box legend { font-size: 0.8rem; font-weight: 700; color: var(--ivory); margin-bottom: 0.5rem; }
.care-opts { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.care-opts label { position: relative; display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 0.85rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.84rem; cursor: pointer; }
.care-opts label:has(input:checked) { background: var(--champagne); color: var(--bg); box-shadow: none; font-weight: 700; }
.care-opts label:has(input:focus-visible) { outline: 2px solid var(--champagne); outline-offset: 2px; }
.sheet__fine { margin-top: 1rem; font-size: 0.84rem !important; color: var(--slate) !important; }
.sheet__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; padding-top: 1.25rem; }
.sheet__actions .btn--primary { box-shadow: 0 14px 30px -16px rgba(36, 64, 160, 0.9); }
.link-btn { min-height: 2.75rem; padding: 0 0.5rem; border: 0; background: transparent; color: var(--slate); font-size: 0.9rem; font-weight: 650; text-decoration: underline; text-underline-offset: 0.2em; }
.link-btn:hover { color: var(--bg); }
.plan-bar { position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom)); z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.55rem 0.55rem 0.55rem 1.1rem; border-radius: 999px; background: rgba(20, 25, 39, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -16px rgba(0, 0, 0, 0.9); transform: translateY(160%); transition: transform 0.4s var(--ease-out); }
.plan-bar.is-visible { transform: none; }
.plan-bar__text { font-size: 0.9rem; color: var(--ivory); font-weight: 600; font-variant-numeric: tabular-nums; }
.plan-bar__text span { color: var(--text-muted); font-weight: 500; }
@media (min-width: 1080px) { .plan-bar { display: none; } }

/* 14. Portfolio ----------------------------------------------------------- */
.note-bar { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm); background: rgba(198, 181, 143, 0.07); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.95rem; max-width: 46rem; }
.note-bar .label { flex: none; }
.note-bar--stack { flex-direction: column; gap: 0.85rem; }
.note-bar--stack p { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: flex-start; }
.note-bar--stack .label { min-width: 11.5rem; justify-content: flex-start; }
.project-grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 3.5rem) 1.75rem; }
@media (min-width: 760px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
.card { display: grid; gap: 1.1rem; align-content: start; justify-items: start; }
.card .frame--browser { width: 100%; transition: transform 0.6s var(--ease), box-shadow 0.4s; }
.card:hover .frame--browser { transform: translateY(-4px); }
.card__meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; }
.card__cat { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); line-height: 1.02; color: var(--champagne); }
.card__summary { color: var(--text); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }

/* 15. About --------------------------------------------------------------- */
.about-hero { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .about-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.chapter { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); border-top: 1px solid var(--line); }
@media (min-width: 960px) { .chapter { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; } }
.chapter__label { display: grid; gap: 0.75rem; align-content: start; }
.principles { display: grid; gap: 1rem; }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principle { display: grid; gap: 0.6rem; align-content: start; padding: 1.75rem; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line-soft); background: var(--raise-tint); }
.principle__n { font-family: var(--mono); font-size: 0.75rem; color: var(--champagne); }
.principle h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; color: var(--ivory); }
.principle p { color: var(--text-muted); font-size: 0.98rem; }
.place { position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.25); padding: clamp(2rem, 1.5rem + 3vw, 4rem); background: linear-gradient(150deg, rgba(36, 64, 160, 0.3), rgba(20, 25, 39, 0) 60%), var(--raise-tint); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 2rem; }
@media (min-width: 900px) { .place { grid-template-columns: 1.1fr 0.9fr; align-items: end; } }
.place__coords { font-family: var(--mono); font-size: 0.8rem; color: var(--champagne); letter-spacing: 0.06em; }
.place__map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line-soft); background-image: linear-gradient(rgba(198, 181, 143, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(198, 181, 143, 0.08) 1px, transparent 1px); background-size: 28px 28px; overflow: hidden; }
.place__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 16. Contact & forms ----------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.contact-direct { display: grid; gap: 2rem; }
.contact-line { display: grid; gap: 0.5rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.contact-line__k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); }
.contact-line__v { font-family: var(--serif); font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.9rem); line-height: 1.05; color: var(--champagne); text-decoration: none; overflow-wrap: anywhere; }
.contact-line__v:hover { color: var(--ivory); }
.contact-line__row { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; }
.copy-btn { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.5rem; padding: 0 0.9rem; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--warm); font-size: 0.82rem; font-weight: 650; }
.copy-btn:hover { box-shadow: inset 0 0 0 1px var(--champagne); color: var(--ivory); }
.copy-btn svg { width: 0.95rem; height: 0.95rem; }
.next-steps { display: grid; gap: 1rem; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 2.25rem 1fr; gap: 0.75rem; color: var(--text); }
.next-steps li::before { counter-increment: ns; content: counter(ns); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--serif); font-size: 1.1rem; color: var(--champagne); }

.form-card { border-radius: calc(var(--radius) * 1.2); padding: clamp(1.4rem, 1rem + 2vw, 2.75rem); background: linear-gradient(170deg, rgba(248, 245, 238, 0.055), rgba(248, 245, 238, 0.02)); box-shadow: inset 0 0 0 1px var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.demo-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1000px) { .demo-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 3.5rem; } }
.demo-intro { display: grid; gap: 1.1rem; align-content: start; }
#demo { scroll-margin-top: calc(var(--header-h) + 1rem); }
.form-card__head { display: grid; gap: 0.6rem; margin-bottom: 1.75rem; }
.form-grid { display: grid; gap: 1.25rem 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.45rem; align-content: start; min-width: 0; }
.field label, .field .field__label { font-size: 0.9rem; font-weight: 650; color: var(--ivory); }
.field .opt-mark { font-weight: 500; color: var(--text-muted); margin-left: 0.25rem; }
.field input, .field textarea, .field select { width: 100%; min-height: 3.2rem; padding: 0.75rem 1rem; border: 0; border-radius: 0.75rem; background: rgba(20, 25, 39, 0.7); box-shadow: inset 0 0 0 1px var(--line); color: var(--ivory); font-size: 1rem; line-height: 1.4; transition: box-shadow 0.2s; }
.field textarea { min-height: 9rem; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; background-image: linear-gradient(45deg, transparent 50%, var(--champagne) 50%), linear-gradient(135deg, var(--champagne) 50%, transparent 50%); background-position: calc(100% - 1.35rem) 55%, calc(100% - 1rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; }
.field select option { background: var(--bg); color: var(--ivory); }
.field input::placeholder, .field textarea::placeholder { color: rgba(229, 223, 210, 0.5); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--champagne); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #e6a38f; }
.field__error { display: flex; gap: 0.4rem; align-items: flex-start; font-size: 0.88rem; color: #f3c1b3; }
.field__error:empty { display: none; }
.field__error::before { content: "!"; flex: none; display: grid; place-items: center; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; border-radius: 50%; background: #f3c1b3; color: var(--bg); font-size: 0.7rem; font-weight: 800; }
.field__hint { font-size: 0.85rem; color: var(--text-muted); }
.help-opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.help-opts label { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--warm); transition: background 0.2s, box-shadow 0.2s; }
.help-opts label:has(input:checked) { background: rgba(198, 181, 143, 0.14); box-shadow: inset 0 0 0 1px var(--champagne); color: var(--ivory); }
.help-opts label:has(input:checked)::before { content: "✓"; color: var(--champagne); font-weight: 800; }
.help-opts label:has(input:focus-visible) { outline: 2px solid var(--champagne); outline-offset: 2px; }
.help-field:has([aria-invalid="true"]) .help-opts label { box-shadow: inset 0 0 0 1px #e6a38f; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.plan-attach { margin-bottom: 1.75rem; border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; background: rgba(36, 64, 160, 0.16); box-shadow: inset 0 0 0 1px rgba(36, 64, 160, 0.65); display: grid; gap: 0.6rem; }
.plan-attach__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; align-items: baseline; }
.plan-attach__title { font-weight: 750; color: var(--ivory); }
.plan-attach__price { font-family: var(--serif); font-size: 1.6rem; line-height: 1; color: var(--champagne); }
.plan-attach p { font-size: 0.9rem; color: var(--text); }
.plan-attach__actions { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.plan-attach__actions a, .plan-attach__actions button { min-height: 2.5rem; padding: 0; border: 0; background: none; color: var(--ivory); font-size: 0.88rem; font-weight: 650; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(248, 245, 238, 0.5); }
.form-foot { display: grid; gap: 1rem; margin-top: 1.75rem; }
.form-foot__privacy { font-size: 0.86rem; color: var(--text-muted); }
.status { display: none; gap: 0.85rem; align-items: flex-start; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); font-size: 0.97rem; }
.status.is-shown { display: flex; }
.status__icon { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; }
.status__icon svg { width: 1rem; height: 1rem; }
.status--ok { background: rgba(36, 64, 160, 0.22); box-shadow: inset 0 0 0 1px rgba(248, 245, 238, 0.25); color: var(--ivory); }
.status--ok .status__icon { background: var(--ivory); color: var(--royal); }
.status--error { background: rgba(205, 160, 214, 0.1); box-shadow: inset 0 0 0 1px rgba(230, 196, 214, 0.5); color: var(--ivory); }
.status--error .status__icon { background: #f3c1b3; color: var(--bg); }
.status--info { background: rgba(198, 181, 143, 0.1); box-shadow: inset 0 0 0 1px var(--line); color: var(--ivory); }
.status--info .status__icon { background: var(--champagne); color: var(--bg); }
.status strong { display: block; font-weight: 750; margin-bottom: 0.15rem; }
.status a { color: var(--ivory); }
.spinner { width: 1.05rem; height: 1.05rem; border-radius: 50%; border: 2px solid rgba(248, 245, 238, 0.35); border-top-color: var(--ivory); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 17. Lightbox ------------------------------------------------------------ */
.lightbox { width: min(100% - 1.5rem, 64rem); max-height: calc(100% - 1.5rem); padding: 0; border: 0; border-radius: var(--radius); background: var(--bg); color: var(--text); box-shadow: 0 0 0 1px var(--line), 0 40px 120px rgba(0, 0, 0, 0.8); overflow: hidden; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(10, 12, 20, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 0.85rem 0.85rem 1.25rem; border-bottom: 1px solid var(--line-soft); }
.lightbox__title { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; color: var(--champagne); }
.lightbox__close { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: var(--raise-tint-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ivory); }
.lightbox__close svg { width: 1.1rem; height: 1.1rem; }
.lightbox__body { overflow-y: auto; overscroll-behavior: contain; background: #0e1220; }
.lightbox__body img { width: 100%; }
.lightbox__foot { padding: 0.75rem 1.25rem; border-top: 1px solid var(--line-soft); font-size: 0.85rem; color: var(--text-muted); }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] { animation: lb-in 0.35s var(--ease-out); } }
@keyframes lb-in { from { opacity: 0; transform: translateY(1rem) scale(0.985); } }

/* 18. Utility pages ------------------------------------------------------- */
.legal { display: grid; gap: 2.25rem; max-width: 46rem; }
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.2rem); color: var(--champagne); line-height: 1.1; margin-bottom: 0.75rem; }
.legal p, .legal li { color: var(--text); }
.legal ul { display: grid; gap: 0.5rem; padding-left: 1.2rem; }
.legal ul li::marker { color: var(--champagne); }
.center-page { min-height: 62vh; display: grid; align-content: center; gap: 1.5rem; justify-items: start; padding-block: var(--section); }
.big-404 { font-family: var(--serif); font-size: clamp(6rem, 4rem + 12vw, 14rem); line-height: 0.85; color: var(--champagne); letter-spacing: -0.04em; }
.big-404 em { color: var(--ivory); }

/* 19. Motion -------------------------------------------------------------- */
/* Content is always visible by default. Pre-animation states apply only after
   main.js has armed the reveals (html.wb-ready) on a first visit (html.wb-motion). */
.wb-motion.wb-ready [data-build]:not(.is-built) .b-item { opacity: 0; transform: translateY(1.1rem); }
.wb-motion.wb-ready [data-build]:not(.is-built) .b-line { transform: scaleX(0); }
.wb-motion.wb-ready [data-build]:not(.is-built) .b-frame .frame__screen img { clip-path: inset(0 0 100% 0); }
.wb-motion.wb-ready [data-build]:not(.is-built) .b-frame::after { opacity: 1; }
.b-item { transition: opacity 0.65s var(--ease) calc(var(--d, 0) * 1ms), transform 0.8s var(--ease) calc(var(--d, 0) * 1ms); }
.b-line { transform-origin: left; transition: transform 1s var(--ease) calc(var(--d, 0) * 1ms); }
.b-frame .frame__screen img { transition: clip-path 1s var(--ease) calc(var(--d, 0) * 1ms + 150ms); }
.b-frame::after { content: attr(data-size); position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; border-radius: inherit; border: 1px dashed rgba(198, 181, 143, 0.5); background: repeating-linear-gradient(-45deg, rgba(198, 181, 143, 0.04) 0 10px, transparent 10px 20px); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--champagne); opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease) calc(var(--d, 0) * 1ms + 650ms); }
[data-build].no-anim .b-item, [data-build].no-anim .b-line, [data-build].no-anim .b-frame .frame__screen img, [data-build].no-anim .b-frame::after { transition: none !important; }
@media (max-width: 767px) {
  .wb-motion.wb-ready [data-build]:not(.is-built) .b-item { transform: translateY(0.6rem); }
  .b-item { transition-duration: 0.45s, 0.5s; }
  .b-frame::after { display: none; }
  .wb-motion.wb-ready [data-build]:not(.is-built) .b-frame .frame__screen img { clip-path: none; }
}

/* Page intro (first visit to a page in this session, or a refresh). CSS-only, so content
   still ends fully visible if scripts fail. */
@media (prefers-reduced-motion: no-preference) {
  .wb-motion .intro { animation: rise 0.9s var(--ease) both; }
  .wb-motion .intro--2 { animation-delay: 0.08s; }
  .wb-motion .intro--3 { animation-delay: 0.16s; }
  .wb-motion .intro--4 { animation-delay: 0.24s; }
  .wb-motion .intro--5 { animation-delay: 0.32s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(0.9rem); } to { opacity: 1; transform: none; } }

/* Page build (html.wb-build: pages with build: true, large screens, motion allowed). Until build.js has
   set a section up (.bs-armed) it stays invisible; then every piece waits as .b-wait until a decorative
   cursor brings it in, and is animated as .b-anim. Without html.wb-build nothing here applies, so the
   page is complete if scripts are off or fail (boot.js also releases it after 3 seconds). */
.wb-build [data-bs]:not(.bs-armed) { opacity: 0; }
.wb-build .b-wait { opacity: 0; }
.wb-build .b-wait, .wb-build .b-anim { transition: none !important; }
.wb-build [data-bs] .intro { animation: none !important; }
/* The layer covers the whole page (not the window), so cursors scroll in lockstep with what they touch. */
.wb-build body { position: relative; }
.build-layer { display: none; position: absolute; inset: 0; z-index: 45; pointer-events: none; overflow: hidden; }
.wb-build .build-layer { display: block; }
.build-layer .cursor { display: inline-flex; }
.b-sel { --sel: #c6b58f; position: absolute; left: 0; top: 0; border: 1.5px solid var(--sel); border-radius: 3px; opacity: 0; pointer-events: none; box-shadow: 0 0 0 1px rgba(20, 25, 39, 0.35); will-change: transform, opacity; }
.b-sel::before, .b-sel::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--bg); border: 1.5px solid var(--sel); }
.b-sel--type { --sel: #f2c14e; }
.b-sel--layout { --sel: #6ca8ff; }
.b-sel--image { --sel: #4fd1a5; }
.b-sel--style { --sel: #ff7a85; }
.b-sel::before { left: -4px; top: -4px; }
.b-sel::after { right: -4px; bottom: -4px; }
.b-caret { position: absolute; left: 0; top: 0; width: 2.5px; border-radius: 1px; background: #f2c14e; opacity: 0; box-shadow: 0 0 10px rgba(242, 193, 78, 0.55); will-change: transform, opacity; }
.b-caret--type { background: #f2c14e; box-shadow: 0 0 10px rgba(242, 193, 78, 0.55); }
.b-caret--layout { background: #6ca8ff; box-shadow: 0 0 10px rgba(108, 168, 255, 0.55); }
.b-caret--image { background: #4fd1a5; box-shadow: 0 0 10px rgba(79, 209, 165, 0.55); }
.b-caret--style { background: #ff7a85; box-shadow: 0 0 10px rgba(255, 122, 133, 0.55); }
.btn.b-outline { background-color: transparent !important; background-image: none !important; color: transparent !important; box-shadow: none !important; outline: 1px dashed rgba(198, 181, 143, 0.85); outline-offset: -1px; }
.btn.b-outline svg { opacity: 0; }
.btn.b-filling { transition: background-color 0.5s var(--ease-out), color 0.35s var(--ease-out) 0.1s, box-shadow 0.45s var(--ease-out), outline-color 0.3s var(--ease-out) !important; }
@media print {
  [data-bs], .b-wait, .b-anim, [data-b] { opacity: 1 !important; translate: none !important; rotate: none !important; scale: none !important; clip-path: none !important; }
  .build-layer { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
  .cursor { display: none !important; }
}
