/* ==========================================================================
   Ameriyes, styles.css
   Plain CSS, no build step. Sections follow the page order.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --royal: #2A4FE0;
  --royal-deep: #2142C4;
  --royal-light: #6F8CFF;
  --pale: #E3E9FD;
  --ink: #14161A;
  --card-dark: #1C1F25;
  --coral: #FF6B4A;
  --amber: #F5B841;
  --off: #FAFAFA;
  --gray: #7E8794;
  --gray-dark: #5B6473;
  --violet: #7B5CFF;

  /* Coral tuned for small text on light backgrounds (passes WCAG AA 4.5:1 on #FAFAFA and #E3E9FD) */
  --coral-text: #B8381A;
  /* Light text on dark backgrounds */
  --mist: #C3C9D4;
  --line: #E4E7EE;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Michroma", "Eurostile", ui-sans-serif, sans-serif;
  --font-script: "Great Vibes", "Brush Script MT", cursive;

  --container: 1240px;
  --pad: clamp(20px, 5vw, 40px);
  --sec-y: clamp(84px, 9vw, 132px);
  --slab: clamp(28px, 4vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .5, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Icon defaults (sprite + inline line icons) */
.btn-ico, .icon-tile svg, .value svg, .bp-ico svg, .fc-ico svg, .tier-toggle svg,
.select-wrap svg, .footer-email svg, .b-url svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--focus, var(--royal));
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  background: var(--amber); color: var(--ink);
  padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; outline-color: var(--ink); }

.container {
  width: min(100% - 2 * var(--pad), var(--container));
  margin-inline: auto;
}

/* ---------- Shared bits ---------- */
.eyebrow {
  --eb: var(--coral-text);
  --eb-dot: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: .8em;
  margin: 0 0 1.25rem;
  font-family: var(--font-brand);
  font-size: .75rem;
  line-height: 1.4;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--eb);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: .75em; height: .75em;
  border-radius: 50%;
  background: var(--eb-dot);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--eb-dot) 22%, transparent);
}
.eyebrow--royal { --eb: var(--royal); --eb-dot: var(--royal); }
.eyebrow--amber { --eb: var(--amber); --eb-dot: var(--amber); }
.eyebrow--on-royal { --eb: #fff; --eb-dot: var(--amber); }

/* Highlighted words in headlines */
.hl {
  --hl-c: var(--royal);
  --hl-u: var(--amber);
  font-style: normal;
  color: var(--hl-c);
  position: relative;
  display: inline-block;
  isolation: isolate;
}
.hl::after {
  content: "";
  position: absolute;
  left: -.04em; right: -.06em;
  bottom: .04em;
  height: .26em;
  border-radius: .2em;
  background: var(--hl-u);
  opacity: .85;
  z-index: -1;
  transform-origin: left center;
  scale: 0 1;
  transition: scale .9s var(--ease) .35s;
}
html:not(.js) .hl::after,
.is-visible .hl::after,
.hero.is-loaded .hl::after { scale: 1 1; }

.lead {
  font-size: clamp(1.075rem, 1.25vw, 1.25rem);
  line-height: 1.55;
  color: var(--gray-dark);
  max-width: 34em;
  margin: 1.25rem 0 0;
}

.dot {
  display: inline-block;
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c, var(--coral));
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--royal);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: .85em 1.45em;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ico { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .btn-ico { transform: translateX(3px); }

.btn-primary {
  box-shadow: 0 10px 24px -12px rgba(42, 79, 224, .85), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn-primary:hover {
  --btn-bg: var(--royal-deep);
  box-shadow: 0 18px 34px -14px rgba(42, 79, 224, .95), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn-outline {
  --btn-bg: transparent;
  border-color: rgba(255, 255, 255, .38);
}
.btn-outline:hover { border-color: #fff; --btn-bg: rgba(255, 255, 255, .08); }
.btn-white {
  --btn-bg: #fff;
  --btn-fg: var(--royal);
  box-shadow: 0 12px 28px -14px rgba(10, 20, 60, .6);
}
.btn-white:hover { --btn-bg: var(--off); box-shadow: 0 18px 34px -14px rgba(10, 20, 60, .7); }
.btn-lg { font-size: 1.0625rem; padding: 1em 1.7em; min-height: 56px; }
.btn-sm { font-size: .95rem; padding: .7em 1.2em; min-height: 46px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.site-header {
  position: fixed;
  inset: 12px 0 auto 0;
  z-index: 100;
  padding-inline: var(--pad);
  pointer-events: none;
  --focus: var(--amber);
}
.nav, .mobile-menu { pointer-events: auto; }

.nav {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 64px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: rgba(20, 22, 26, .74);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 12px 32px -16px rgba(0, 0, 0, .55);
  color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled .nav { background: rgba(20, 22, 26, .9); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .7); }

.wordmark {
  font-family: var(--font-brand);
  font-size: 1rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
  padding: 6px 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .65em;
}
.wordmark:focus-visible { border-radius: 8px; }
/* Twin Blades mark: 1.7x the wordmark's cap height, centered on the caps */
.wordmark-mark {
  flex: none;
  width: 1.61em;
  height: 1.275em;
  fill: currentColor;
  position: relative;
  top: .07em;
}

.nav-links {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0 12px 0 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: .6em .95em;
  border-radius: 999px;
  color: rgba(255, 255, 255, .84);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav-links a:hover, .nav-links a.is-active { background: rgba(255, 255, 255, .09); color: #fff; }

.nav-cta { min-height: 46px; padding: .7em 1.25em; font-size: .95rem; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  place-items: center;
}
.bars { position: relative; width: 20px; height: 14px; display: block; }
.bars i {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.bars i:nth-child(1) { top: 0; }
.bars i:nth-child(2) { top: 6px; }
.bars i:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-menu {
  max-width: var(--container);
  margin: 8px auto 0;
  padding: 10px;
  border-radius: 28px;
  background: var(--card-dark);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  animation: menu-in .3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mobile-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 18px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.mobile-menu li a::after { content: "→"; color: var(--amber); font-family: var(--font-body); font-size: 1.1rem; }
.mobile-menu li a:hover { background: rgba(255, 255, 255, .06); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .nav { padding-left: 20px; min-height: 60px; }
  .wordmark { font-size: .9rem; letter-spacing: .26em; }
}

/* ---------- Sections (color-blocked slabs) ---------- */
.section {
  position: relative;
  padding-block: var(--sec-y) calc(var(--sec-y) + var(--slab));
  margin-top: calc(-1 * var(--slab));
  border-radius: var(--slab) var(--slab) 0 0;
}
.section--light { background: var(--off); }
.section--pale { background: var(--pale); }
.section--royal { background: var(--royal); color: #fff; --focus: var(--amber); overflow: clip; }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2,
.book-intro h2 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px 64px;
  align-items: end;
}
.section-head--split .lead { margin: 0 0 .35em; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(76px + clamp(32px, 6vh, 72px)) 0 calc(var(--slab) + clamp(48px, 8vh, 88px));
  background: var(--ink);
  color: #fff;
  overflow: clip;
  --focus: var(--amber);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 10%, transparent 75%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); }
.orb-1 { width: 420px; height: 420px; left: -160px; bottom: -120px; background: rgba(255, 107, 74, .22); }
.orb-2 { width: 360px; height: 360px; left: 34%; top: -180px; background: rgba(245, 184, 65, .12); }

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(3rem, 6.3vw, 6.1rem);
  line-height: .95;
  letter-spacing: -0.045em;
  margin: 0 0 1.75rem;
}
.hero h1 .line { display: block; }
.hero .hl { --hl-c: var(--coral); }
.hero .hl::after {
  left: 0; right: 0;
  bottom: -.12em;
  height: .2em;
  border-radius: 0;
  opacity: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M4 16c34-9 72-12 110-9 28 2 54 6 82 3' fill='none' stroke='%23F5B841' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transition-delay: .9s;
}

.hero-sub {
  font-size: clamp(1.075rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: var(--mist);
  max-width: 33em;
  margin: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2.25rem 0 1.75rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .5em 1em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: #DCE1EA;
  font-size: .875rem;
  font-weight: 500;
}

/* Hero entrance */
.js .hero-anim { opacity: 0; }
.js .hero.is-loaded .hero-anim { animation: rise .9s var(--ease) var(--d, 0ms) both; }

/* ---------- Hero illustration ---------- */
.hero-art-wrap { container-type: inline-size; width: 100%; max-width: 600px; justify-self: end; }
.hero-art {
  position: relative;
  font-size: clamp(8px, 2.45cqi, 15px);
  padding: 3.4em 2.2em 3.6em;
}
.art-glow {
  position: absolute;
  inset: -14% -16% -12% -12%;
  background:
    radial-gradient(closest-side, rgba(42, 79, 224, .9), rgba(42, 79, 224, .35) 55%, transparent) 15% 35% / 70% 80% no-repeat,
    radial-gradient(closest-side, rgba(123, 92, 255, .8), rgba(123, 92, 255, .3) 55%, transparent) 85% 70% / 70% 80% no-repeat;
  filter: blur(40px);
  opacity: .95;
  animation: glow 8s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: scale(1.08) translate(2%, -2%); opacity: .85; } }

.browser {
  position: relative;
  border-radius: 1.3em;
  background: var(--card-dark);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    0 3em 6em -1.5em rgba(0, 0, 0, .7),
    0 0 0 .5em rgba(255, 255, 255, .03),
    -2em -1em 8em -1em rgba(42, 79, 224, .55),
    2.5em 2em 9em -1em rgba(123, 92, 255, .45);
  animation: float 9s ease-in-out infinite;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: .9em;
  padding: .85em 1em;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.b-dots { display: flex; gap: .4em; }
.b-dots i { width: .72em; height: .72em; border-radius: 50%; background: var(--coral); }
.b-dots i:nth-child(2) { background: var(--amber); }
.b-dots i:nth-child(3) { background: var(--royal-light); }
.b-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .5em;
  min-width: 0;
  padding: .38em .9em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #AEB5C2;
  font-size: .85em;
  white-space: nowrap;
}
.b-url svg { width: 1em; height: 1em; flex: none; color: #8FD19E; }
.b-status {
  display: flex; align-items: center; gap: .45em;
  font-size: .78em; font-weight: 700; color: var(--amber);
  letter-spacing: .02em;
}
.b-status i { width: .55em; height: .55em; border-radius: 50%; background: var(--amber); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }

.site {
  margin: 0 .55em .55em;
  border-radius: .85em;
  background: var(--off);
  color: var(--ink);
  padding: 1em 1.1em 1.1em;
  overflow: hidden;
}
.sk {
  display: block;
  height: .5em;
  width: var(--w, 100%);
  border-radius: 999px;
  background: linear-gradient(90deg, #E2E6EE 0%, #EEF1F6 40%, #E2E6EE 80%) 0 0 / 200% 100%;
  animation: shimmer 2.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.site-nav { display: flex; align-items: center; gap: .8em; margin-bottom: 1.1em; }
.site-logo { width: 1.5em; height: 1.5em; border-radius: .45em; background: var(--royal); margin-right: auto; box-shadow: .35em .35em 0 -.1em var(--amber); }
.site-btn {
  font-size: .7em; font-weight: 700;
  padding: .45em 1em;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
}

.site-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1em; align-items: center; margin-bottom: 1em; }
.site-copy { display: flex; flex-direction: column; gap: .55em; }
.site-title {
  display: flex; flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45em;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: .15em;
}
.type { display: block; white-space: nowrap; clip-path: inset(0 0 0 0); }
.t2 { color: var(--royal); }
.js .type { animation: type-1 9s steps(14, end) infinite; }
.js .t2 { animation-name: type-2; animation-timing-function: steps(11, end); }
@keyframes type-1 { 0% { clip-path: inset(0 100% 0 0); } 18%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes type-2 { 0%, 20% { clip-path: inset(0 100% 0 0); } 34%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
.sk-line { height: .42em; }
.sk-line.short { width: 70%; }
.site-cta {
  align-self: flex-start;
  margin-top: .35em;
  font-size: .72em; font-weight: 700;
  padding: .55em 1.1em;
  border-radius: 999px;
  background: var(--royal);
  color: #fff;
}

.site-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: .6em;
  outline: .12em dashed var(--royal);
  outline-offset: .3em;
}
.si-inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: linear-gradient(160deg, #6F8CFF 0%, #7B5CFF 55%, #FF8D72 100%);
}
.site-img .sun { position: absolute; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--amber); top: 18%; right: 20%; }
.site-img .hill { position: absolute; bottom: 0; }
.site-img .h-1 { left: -10%; width: 75%; height: 48%; background: #2A4FE0; border-radius: 60% 60% 0 0 / 100% 100% 0 0; }
.site-img .h-2 { right: -12%; width: 70%; height: 36%; background: #14161A; opacity: .85; border-radius: 60% 60% 0 0 / 100% 100% 0 0; }
.sel-tag {
  position: absolute; top: -1.9em; left: -.3em;
  font-size: .62em; font-weight: 700;
  padding: .3em .7em;
  border-radius: .4em;
  background: var(--royal);
  color: #fff;
  white-space: nowrap;
}
.handle { position: absolute; width: .55em; height: .55em; background: #fff; border: .12em solid var(--royal); border-radius: .12em; }
.handle.tl { top: -.58em; left: -.58em; }
.handle.tr { top: -.58em; right: -.58em; }
.handle.bl { bottom: -.58em; left: -.58em; }
.handle.br { bottom: -.58em; right: -.58em; }

.site-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; margin-bottom: 1em; }
.site-card { background: #fff; border: 1px solid var(--line); border-radius: .6em; padding: .65em; display: flex; flex-direction: column; gap: .4em; }
.sc-dot { width: 1.1em; height: 1.1em; border-radius: .35em; background: var(--c); margin-bottom: .1em; }
.site-card .sk { height: .38em; }
.site-card .sk.short { width: 60%; }

.build { display: flex; align-items: center; gap: .8em; }
.build-label { font-size: .66em; font-weight: 700; color: var(--gray-dark); white-space: nowrap; }
.build-track { flex: 1; height: .45em; border-radius: 999px; background: #E2E6EE; overflow: hidden; }
.build-fill { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--royal), var(--violet), var(--coral)); transform-origin: left; }
.js .build-fill { animation: build 9s var(--ease) infinite; }
@keyframes build { 0% { transform: scaleX(.04); } 70%, 92% { transform: scaleX(1); } 100% { transform: scaleX(.04); } }

.cursor {
  position: absolute;
  width: 1.8em; height: 1.8em;
  left: 46%; top: 55%;
  fill: #fff; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round;
  filter: drop-shadow(0 .2em .3em rgba(0, 0, 0, .35));
  animation: cursor 9s var(--ease) infinite;
}
@keyframes cursor {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(5em, -3.5em); }
  55% { transform: translate(3.5em, 2.5em); }
  75% { transform: translate(-3em, 1em); }
}

/* Floating cards */
.fcard {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .65em;
  padding: .7em 1em;
  border-radius: 1em;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1.4em 2.6em -1em rgba(0, 0, 0, .55);
  font-weight: 700;
  font-size: 1em;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.fc-text { font-size: .95em; letter-spacing: -0.01em; }
.fc-reviews { top: 1.2em; left: 0; --r: -4deg; --delay: -1s; }
.fc-star {
  display: grid; place-items: center;
  width: 1.8em; height: 1.8em;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-size: .95em;
  line-height: 1;
}
.fc-bookings { right: -.4em; top: 41%; --r: 3deg; --delay: -3s; }
.fc-ico { display: grid; place-items: center; width: 2em; height: 2em; border-radius: .6em; background: var(--royal); color: #fff; }
.fc-ico svg { width: 1.15em; height: 1.15em; }
.switch { width: 2.2em; height: 1.25em; border-radius: 999px; background: #3BB273; position: relative; }
.switch i { position: absolute; top: .18em; right: .18em; width: .9em; height: .9em; border-radius: 50%; background: #fff; }
.fc-photos { left: .4em; bottom: 1em; --r: 2deg; --delay: -2s; }
.thumbs { display: flex; }
.thumbs i { width: 1.7em; height: 1.7em; border-radius: .45em; border: .15em solid #fff; margin-left: -.5em; background: linear-gradient(140deg, #FF6B4A, #F5B841); }
.thumbs i:first-child { margin-left: 0; }
.thumbs i:nth-child(2) { background: linear-gradient(140deg, #6F8CFF, #2A4FE0); }
.thumbs i:nth-child(3) { background: linear-gradient(140deg, #7B5CFF, #FF6B4A); }
.fc-brand { right: 1.6em; top: -.2em; --r: 4deg; --delay: -4s; background: var(--card-dark); color: #fff; border: 1px solid rgba(255, 255, 255, .14); }
.swatches { display: flex; gap: .25em; }
.swatches i { width: 1em; height: 1.6em; border-radius: .3em; background: var(--royal); }
.swatches i:nth-child(2) { background: var(--coral); }
.swatches i:nth-child(3) { background: var(--amber); }
.swatches i:nth-child(4) { background: var(--royal-light); }
.fc-aa { font-family: var(--font-display); font-weight: 800; color: var(--amber); font-size: 1.1em; }

.spark { position: absolute; width: .9em; height: .9em; background: var(--amber); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 3.2s ease-in-out infinite; }
.s-1 { left: 44%; top: .6em; }
.s-2 { right: .6em; bottom: 3.4em; background: var(--coral); width: 1.2em; height: 1.2em; animation-delay: -1.2s; }
.s-3 { left: -.2em; top: 46%; background: var(--royal-light); animation-delay: -2.1s; }
@keyframes twinkle { 50% { transform: scale(.4) rotate(45deg); opacity: .4; } }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-.75em) rotate(var(--r, 0deg)); }
}

/* ---------- Reveal on scroll ---------- */
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
.js .reveal { opacity: 0; }
.js .reveal.is-visible { animation: rise .85s var(--ease) var(--d, 0ms) both; }

/* ---------- Services ---------- */
#services .hl:nth-of-type(2)::after { transition-delay: .55s; }

.services-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  position: relative;
  padding: 26px 24px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 45%, #fff);
  box-shadow: 0 26px 50px -28px color-mix(in srgb, var(--accent) 80%, transparent);
}
.icon-tile {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 24px;
  border-radius: 17px;
  background: var(--accent);
  color: var(--on);
  rotate: -5deg;
  transition: rotate .4s var(--ease-spring), scale .4s var(--ease-spring);
}
.icon-tile svg { width: 26px; height: 26px; }
.service-card:hover .icon-tile { rotate: 0deg; scale: 1.08; }
.service-card h3 { font-size: 1.35rem; font-weight: 750; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: .5rem; }
.service-card p { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--gray-dark); }

.service-cta {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  --focus: var(--amber);
}
.service-cta::before {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -60px; top: -90px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 107, 74, .5), transparent);
  pointer-events: none;
}
.service-cta > * { position: relative; }
.service-cta h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; margin-bottom: .4rem; }
.service-cta p { margin: 0; color: var(--mist); max-width: 26em; }

/* ---------- Tiers ---------- */
.section--pale .hl { --hl-c: var(--coral-text); --hl-u: var(--amber); }

.section-head--tiers {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.section-head--tiers > div { max-width: 760px; }

.start-sticker {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 176px; height: 176px;
  margin: 0 12px 0 0;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  text-align: center;
  rotate: -9deg;
  box-shadow: 0 20px 40px -20px rgba(150, 100, 0, .55), inset 0 0 0 8px var(--amber), inset 0 0 0 10px rgba(20, 22, 26, .85);
  position: relative;
}
.ss-small { font-weight: 700; font-size: .95rem; line-height: 1.15; max-width: 7em; }
.ss-big { font-family: var(--font-display); font-weight: 800; font-size: 3.1rem; line-height: 1; letter-spacing: -0.04em; }
.ss-dot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.tier {
  --accent: var(--royal-light);
  --on-accent: var(--ink);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 26px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(42, 79, 224, .12);
  box-shadow: 0 1px 2px rgba(20, 22, 26, .05), 0 16px 36px -28px rgba(42, 79, 224, .5);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tier:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(20, 22, 26, .05), 0 30px 60px -30px rgba(42, 79, 224, .55); }
.tier::before {
  content: "";
  position: absolute;
  top: -1px; left: 26px;
  width: 56px; height: 7px;
  border-radius: 0 0 7px 7px;
  background: var(--accent);
}
.tier--foundation { --accent: var(--royal-light); }
.tier--momentum { --accent: var(--amber); }
.tier--ascend { --accent: var(--coral); }

.tier-num {
  align-self: flex-start;
  padding: .5em .9em;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 22%, #fff);
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.tier-name { font-size: clamp(1.9rem, 2.6vw, 2.35rem); letter-spacing: -0.04em; margin: 18px 0 8px; }
.tier-tag { margin: 0 0 18px; font-size: .98rem; line-height: 1.45; color: var(--gray-dark); min-height: 2.9em; }
.tier-price {
  display: flex;
  align-items: baseline;
  gap: .4em;
  min-height: 82px;
  align-content: center;
  flex-wrap: wrap;
  padding: 16px 0;
  margin-bottom: 20px;
  border-block: 1.5px dashed rgba(20, 22, 26, .14);
}
.tier-price .btn { align-self: center; }
.tier:not(.tier--foundation) .tier-price { align-items: center; }
.tp-from { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-dark); }
.tp-amount { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; letter-spacing: -0.045em; }
.tier-plus { margin: 0 0 14px; font-size: .9rem; font-weight: 700; }
.tier-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.tier-list li {
  position: relative;
  padding-left: 32px;
  font-size: .96rem;
  line-height: 1.45;
}
.tier-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .1em;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--accent);
}
.tier-list li::after {
  content: "";
  position: absolute;
  left: 7.5px; top: calc(.1em + 4.5px);
  width: 6px; height: 10px;
  border: solid var(--on-accent);
  border-width: 0 2.2px 2.2px 0;
  rotate: 45deg;
}
.tier-list li[hidden] { display: none; }
.tier-list li.just-shown { animation: rise .5s var(--ease) both; }
.tier-note { margin: auto 0 0; padding-top: 22px; font-size: .92rem; color: var(--gray-dark); }

.tier-toggle {
  display: flex;
  align-items: center;
  gap: .5em;
  width: 100%;
  min-height: 48px;
  margin-top: 20px;
  padding: 12px 2px 0;
  border: 0;
  border-top: 1.5px dashed rgba(20, 22, 26, .14);
  background: none;
  color: var(--royal);
  font-weight: 700;
  font-size: .93rem;
  text-align: left;
  cursor: pointer;
}
.tier--legacy .tier-toggle { border-top-color: rgba(255, 255, 255, .25); }
.tier-toggle[hidden] { display: none; }
.tt-label { margin-right: auto; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.tier-note + .btn { margin-top: 16px; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--royal); border-color: var(--royal); }
.btn-ghost:hover { --btn-bg: var(--royal); --btn-fg: #fff; }
.tier-toggle:hover .tt-label { text-decoration-color: currentColor; }
.tt-count {
  padding: .15em .55em;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: .8rem;
}
.tier-toggle svg { width: 1.1em; height: 1.1em; transition: rotate .3s var(--ease); }
.tier-toggle[aria-expanded="true"] svg { rotate: 180deg; }
.tier-toggle[aria-expanded="true"] .tt-count { display: none; }

/* Legacy: the standout */
.tier--legacy {
  --accent: var(--amber);
  --on-accent: var(--ink);
  --focus: var(--amber);
  background: linear-gradient(165deg, #3459F0 0%, var(--royal) 45%, #2140C2 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
  box-shadow:
    0 0 0 2px rgba(111, 140, 255, .55),
    0 0 50px -6px rgba(123, 92, 255, .55),
    0 34px 70px -28px rgba(42, 79, 224, .85);
}
.tier--legacy:hover {
  box-shadow:
    0 0 0 2px rgba(111, 140, 255, .8),
    0 0 70px -4px rgba(123, 92, 255, .65),
    0 40px 80px -28px rgba(42, 79, 224, .9);
}
.tier--legacy .tier-num { background: rgba(255, 255, 255, .14); color: #fff; }
.tier--legacy .tier-tag { color: var(--pale); }
.tier--legacy .tier-price { border-color: rgba(255, 255, 255, .25); }
.tier--legacy .tier-toggle { color: #fff; }
.tier-badge {
  position: absolute;
  top: -14px; right: 20px;
  padding: .65em 1.05em;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .5);
  rotate: 3deg;
}

.tiers-foot {
  margin: 36px auto 0;
  max-width: 44em;
  text-align: center;
  font-size: .95rem;
  color: var(--gray-dark);
}

/* ---------- How it works ---------- */
.section--royal .hl { --hl-c: var(--amber); --hl-u: rgba(255, 255, 255, .22); }
.section--royal .lead { color: var(--pale); }

.royal-deco { position: absolute; inset: 0; pointer-events: none; }
.ring { position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .1); }
.r-1 { width: 620px; height: 620px; right: -220px; top: -260px; }
.r-2 { width: 380px; height: 380px; right: -100px; top: -140px; border-color: rgba(245, 184, 65, .25); }
.royal-deco .dots {
  position: absolute; left: 0; bottom: 0; width: 46%; height: 60%;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(35deg, #000, transparent 70%);
  mask-image: linear-gradient(35deg, #000, transparent 70%);
}
.section--royal .container { position: relative; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 4%; right: 4%;
  top: 62px;
  border-top: 2px dashed rgba(255, 255, 255, .28);
}
.step {
  position: relative;
  padding: 26px 22px 28px;
  border-radius: 24px;
  background: rgba(15, 30, 110, .35);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .35s var(--ease), background-color .35s;
}
.step:hover { transform: translateY(-6px); background: rgba(15, 30, 110, .5); }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 6vw, 5.5rem);
  line-height: .85;
  letter-spacing: -0.05em;
  color: var(--amber);
  text-shadow: 0 6px 0 rgba(10, 20, 80, .3);
}
.step h3 { font-size: 1.35rem; font-weight: 750; letter-spacing: -0.025em; line-height: 1.12; margin: 22px 0 10px; }
.step p { margin: 0; color: #DCE3FF; font-size: .98rem; line-height: 1.5; }

.how-cta { margin-top: 44px; display: flex; justify-content: center; }

/* ---------- About ---------- */
#about .hl { --hl-u: var(--coral); }

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.about-head { position: sticky; top: 120px; }
.about-head h2 { font-size: clamp(3rem, 7vw, 5.75rem); letter-spacing: -0.05em; }
.about-art { width: 100%; max-width: 360px; margin-top: 44px; }
.art-pop { animation: float 6s ease-in-out infinite; }
.art-pop--2 { animation-delay: -3s; }

.about-copy p { font-size: 1.125rem; line-height: 1.72; color: #2B2F36; margin: 0 0 1.3em; }
.about-copy .about-lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-copy .about-kicker {
  margin: 2em 0 0;
  padding: 28px 30px;
  border-radius: 26px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  position: relative;
  overflow: hidden;
}
.about-kicker span { color: var(--amber); }
.about-kicker::after {
  content: "";
  position: absolute; right: -40px; bottom: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 79, 224, .6), transparent);
}

.count-on { margin-top: clamp(80px, 10vw, 128px); }
.label-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: .8rem;
  line-height: 1.4;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}
.label-heading::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--coral), var(--amber), var(--royal-light), transparent); }

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.value {
  --bg: var(--coral);
  --fg: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px 22px 26px;
  border-radius: 24px;
  background: var(--bg);
  color: var(--fg);
  transition: transform .4s var(--ease-spring);
}
.value:hover { transform: translateY(-6px) rotate(-1.5deg); }
.value:nth-child(even):hover { transform: translateY(-6px) rotate(1.5deg); }
.value svg { width: 30px; height: 30px; margin-bottom: auto; }
.value h4 { font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1.08; margin: 30px 0 8px; }
.value p { margin: 0; font-size: .96rem; line-height: 1.45; }
.value--coral { --bg: var(--coral); --fg: var(--ink); }
.value--amber { --bg: var(--amber); --fg: var(--ink); }
.value--royal { --bg: var(--royal); --fg: #fff; }
.value--light { --bg: var(--royal-light); --fg: var(--ink); }
.value--ink { --bg: var(--card-dark); --fg: #fff; }
.value--ink svg { color: var(--amber); }

.quote {
  position: relative;
  max-width: 980px;
  margin: clamp(88px, 11vw, 150px) auto 0;
  text-align: center;
}
.quote-mark {
  width: clamp(44px, 5vw, 64px);
  height: auto;
  margin: 0 auto 22px;
  fill: var(--coral);
  rotate: -6deg;
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  line-height: 1.22;
  letter-spacing: 0;
  color: var(--royal);
  text-wrap: balance;
}
.quote figcaption {
  margin-top: 1.1rem;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.375rem;
  color: var(--ink);
}

/* ---------- Book a consultation ---------- */
.book .hl { --hl-c: var(--royal); --hl-u: var(--amber); }
.book .eyebrow { --eb: var(--coral-text); }

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.book-intro { position: sticky; top: 120px; }
.book-points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.book-points li { display: flex; align-items: center; gap: 14px; font-size: 1rem; }
.bp-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--c); color: var(--on); }
.bp-ico svg { width: 20px; height: 20px; }
.book-alt { margin: 28px 0 0; color: var(--gray-dark); }
.book-alt a { color: var(--royal); font-weight: 700; text-underline-offset: 3px; }

.book-card {
  scroll-margin-top: 96px;
  padding: clamp(22px, 4vw, 44px);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(42, 79, 224, .08), 0 40px 80px -40px rgba(42, 79, 224, .45);
}

.progress {
  list-style: none;
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 0;
  font-size: .92rem;
  font-weight: 700;
  color: var(--gray-dark);
}
.progress li { display: flex; align-items: center; gap: .6em; }
.p-num {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--royal);
  font-size: .85rem;
  transition: background-color .3s, color .3s;
}
.progress li.is-current { color: var(--ink); }
.progress li.is-current .p-num { background: var(--royal); color: #fff; box-shadow: 0 0 0 5px rgba(42, 79, 224, .16); }
.progress li.is-done .p-num { background: var(--amber); color: var(--ink); font-size: 0; }
.progress li.is-done .p-num::before { content: "✓"; font-size: .95rem; font-weight: 800; }
.progress-bar { height: 6px; border-radius: 999px; background: var(--pale); overflow: hidden; margin-bottom: 30px; }
.progress-bar span { display: block; height: 100%; width: 50%; border-radius: inherit; background: linear-gradient(90deg, var(--royal), var(--royal-light)); transition: width .8s var(--ease); }
.book.is-scheduling .progress-bar span { width: 100%; }

/* Form */
.intake { display: grid; gap: 26px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .choice-group legend {
  margin-bottom: 8px;
  font-size: .93rem;
  font-weight: 700;
  color: var(--ink);
}
.req { color: var(--coral-text); }
.opt { font-weight: 400; color: var(--gray-dark); }

.field input, .select-wrap select {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid #808999;
  border-radius: 14px;
  background: #FCFDFF;
  font-size: 1rem;
  color: var(--ink);
  scroll-margin-top: 120px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder { color: #697181; opacity: 1; }
.field input:hover, .select-wrap select:hover { border-color: var(--gray-dark); }
.field input:focus, .select-wrap select:focus {
  outline: none;
  border-color: var(--royal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42, 79, 224, .2);
}
.field input[aria-invalid="true"] { border-color: #B42318; background: #FFF8F6; }
.field input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .16); }
.field-error { margin: 6px 0 0; font-size: .86rem; font-weight: 600; color: #B42318; min-height: 0; }
.field-error:empty { display: none; }
.field-error::before { content: "! "; font-weight: 800; }

.select-wrap { position: relative; }
.select-wrap select { -webkit-appearance: none; appearance: none; padding-right: 46px; cursor: pointer; }
.select-wrap svg { position: absolute; right: 16px; top: 50%; width: 18px; height: 18px; translate: 0 -50%; pointer-events: none; color: var(--gray-dark); }
.field--select { max-width: 360px; }

.choice-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-group legend { padding: 0; margin-bottom: 12px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.choice span {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  min-height: 44px;
  padding: .55em 1.05em;
  border: 1.5px solid #808999;
  border-radius: 999px;
  background: #fff;
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease-spring);
  pointer-events: none;
}
.choice span::before {
  content: "+";
  display: grid; place-items: center;
  width: 1.15em; height: 1.15em;
  font-weight: 800;
  color: var(--royal);
  line-height: 1;
}
.choice--radio span::before { content: ""; width: .7em; height: .7em; border-radius: 50%; border: 2px solid currentColor; color: var(--gray-dark); }
.choice:hover span { border-color: var(--royal); }
.choice input:checked + span { background: var(--royal); border-color: var(--royal); color: #fff; transform: scale(1.02); }
.choice input:checked + span::before { content: "✓"; color: var(--amber); }
.choice--radio input:checked + span::before { content: ""; background: var(--amber); border-color: var(--amber); }
.choice input:focus-visible + span { outline: 3px solid var(--royal); outline-offset: 3px; }

.form-status {
  padding: 16px 18px;
  border-radius: 16px;
  background: #FFF1EC;
  border: 1.5px solid var(--coral);
  color: #7A1F0C;
  font-size: .97rem;
  font-weight: 500;
}
.form-status[hidden] { display: none; }
.form-status a { color: #7A1F0C; font-weight: 700; }

.submit-btn { position: relative; }
.submit-btn[disabled] { cursor: progress; opacity: .85; transform: none; }
.submit-btn.is-loading .btn-ico { display: none; }
.submit-btn.is-loading::after {
  content: "";
  width: 1.1em; height: 1.1em;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.form-fine { margin: -10px 0 0; font-size: .86rem; color: var(--gray-dark); text-align: center; }

/* Step 2: scheduling */
.book.is-scheduling .book-layout { grid-template-columns: minmax(0, 1fr); }
.book.is-scheduling .book-intro { position: static; }
.book.is-scheduling .book-points { display: none; }
.schedule[hidden] { display: none; }
.schedule { animation: rise .6s var(--ease) both; }
.schedule-title { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 24px; }
.schedule-title:focus { outline: none; }
.schedule-title:focus-visible { outline: 3px solid var(--royal); outline-offset: 6px; border-radius: 6px; }
.cal-shell { position: relative; min-height: 520px; border-radius: 20px; background: var(--off); overflow: hidden; }
.cal-inline { position: relative; width: 100%; min-height: 520px; overflow: auto; }
.cal-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-weight: 600; color: var(--gray-dark);
}
.cal-loading[hidden] { display: none; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--pale); border-top-color: var(--royal); animation: spin .8s linear infinite; }
.cal-fallback { margin: 16px 0 0; font-size: .92rem; color: var(--gray-dark); text-align: center; }
.cal-fallback a { color: var(--royal); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: calc(-1 * var(--slab));
  padding-top: clamp(64px, 8vw, 96px);
  border-radius: var(--slab) var(--slab) 0 0;
  background: var(--ink);
  color: var(--mist);
  overflow: hidden;
  --focus: var(--amber);
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.wordmark--lg { display: inline-flex; font-size: 1.35rem; margin: 0 0 18px; }
.footer-serving { display: flex; align-items: center; gap: .7em; margin: 0 0 22px; }
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
  transition: color .2s;
  overflow-wrap: anywhere;
}
.footer-email svg { width: .9em; height: .9em; flex: none; color: var(--coral); }
.footer-email:hover { color: var(--amber); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 12px 40px; }
.footer-nav a { color: var(--mist); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .88rem;
  color: #9AA2B1;
}
.footer-bottom p { margin: 0; }
.footer-giant {
  font-family: var(--font-brand);
  font-size: 11.6vw;
  line-height: .8;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  padding: .04em 0 .02em;
  margin-bottom: -.09em;
  background: linear-gradient(90deg, var(--royal) 0%, var(--violet) 45%, var(--coral) 80%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .9;
  user-select: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .tiers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .tier-tag { min-height: 0; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .values { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .value { grid-column: span 2; min-height: 190px; }
  .value:nth-child(4) { grid-column: 2 / span 2; }
  .value:nth-child(5) { grid-column: span 2; }
}

@media (max-width: 960px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-art-wrap { justify-self: center; max-width: 560px; }
  .hero { min-height: 0; }
  .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-layout, .book-layout { grid-template-columns: minmax(0, 1fr); }
  .about-head, .book-intro { position: static; }
  .about-art { max-width: 300px; margin-top: 32px; }
}

@media (max-width: 760px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service-card { padding: 20px 18px 22px; }
  .icon-tile { width: 46px; height: 46px; border-radius: 15px; margin-bottom: 18px; }
  .icon-tile svg { width: 23px; height: 23px; }
  .service-card h3 { font-size: 1.12rem; }
  .service-card p { font-size: .9rem; }
  .service-cta { padding: 24px 22px; }
  .service-cta .btn { width: 100%; }

  .section-head--tiers { flex-direction: column; align-items: flex-start; gap: 8px; }
  .start-sticker { width: 138px; height: 138px; align-self: flex-end; margin: -10px 4px 0 0; }
  .ss-small { font-size: .82rem; }
  .ss-big { font-size: 2.4rem; }
  .tiers-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .steps::before { display: block; left: 46px; right: auto; top: 30px; bottom: 30px; border-top: 0; border-left: 2px dashed rgba(255, 255, 255, .3); }
  .step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 20px 22px 16px; }
  .step-num { font-size: 3.6rem; text-align: center; }
  .step h3 { margin-top: 4px; font-size: 1.22rem; }
  .how-cta .btn { width: 100%; }

  .values { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .value, .value:nth-child(4), .value:nth-child(5) { grid-column: auto; min-height: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 20px; }
  .value svg { grid-row: span 2; margin: 0; }
  .value h4 { margin: 2px 0 6px; font-size: 1.2rem; }

  .field-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .field--select { max-width: none; }
  .book-card { border-radius: 26px; }
  .cal-shell, .cal-inline { min-height: 600px; }

  .footer-nav ul { grid-template-columns: repeat(2, minmax(0, auto)); gap: 12px 28px; }
}

@media (max-width: 420px) {
  .eyebrow { letter-spacing: .16em; font-size: .7rem; }
  .section-head--tiers { margin-bottom: 28px; }
  .label-heading::after { display: none; }
  .hero-actions .btn { width: 100%; }
  .service-card { padding: 18px 15px 20px; }
  .service-card h3 { font-size: 1.05rem; }
  .tier { padding: 28px 20px 24px; }
}

/* ==========================================================================
   Reduced motion: keep everything visible and still
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal, .js .hero-anim { opacity: 1; animation: none !important; }
  .type, .js .type { animation: none !important; clip-path: none; }
  .js .build-fill { animation: none !important; transform: none; }
  .browser, .fcard, .cursor, .art-pop, .spark, .art-glow, .sk, .b-status i { animation: none !important; }
  .hl::after { scale: 1 1; }
  .btn:hover, .service-card:hover, .tier:hover, .step:hover, .value:hover { transform: none; }
}
