/* ==========================================================================
   Tree Digital 2026 · "Digital canopy"
   Dark, layered and alive: night plum and forest greens, glass surfaces,
   sun and lime light. Motion lives in site.js and only runs when the page
   has the .fx class (set in <head> unless the visitor prefers reduced motion).
   ========================================================================== */

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  color-scheme: dark;

  --night: #100810;
  --night-2: #180c16;
  --night-3: #21101d;
  --plum-night: #2a0b21;
  --forest-night: #0a1812;
  --forest-2: #0f2419;

  --plum: #7e2658;
  --plum-700: #64193f;
  --plum-deep: #1c0e18;
  --magenta: #d9479a;
  --pink: #f39ac8;
  --leaf: #4f9a5a;
  --leaf-700: #2f6b3f;
  --mint: #86d39a;
  --lime: #b8df5c;
  --sun: #ffd54a;
  --sun-600: #f5c518;

  --ink: #fbf5ef;
  --text: #e3d7dd;
  --muted: #a8969f;
  --line: rgb(255 255 255 / 0.09);
  --line-2: rgb(255 255 255 / 0.17);
  --glass: rgb(255 255 255 / 0.045);
  --glass-2: rgb(255 255 255 / 0.08);
  --glass-grad: linear-gradient(180deg, rgb(255 255 255 / 0.065), rgb(255 255 255 / 0.02));

  --grad-sun: linear-gradient(100deg, var(--sun) 0%, var(--lime) 38%, var(--mint) 62%, var(--sun) 100%);
  --grad-brand: linear-gradient(120deg, var(--magenta), var(--plum) 38%, var(--leaf) 75%, var(--lime));

  --f-head: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 20px 50px -28px rgb(0 0 0 / 0.9);
  --shadow-lg: 0 1px 0 rgb(255 255 255 / 0.06) inset, 0 40px 90px -40px rgb(0 0 0 / 0.95);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --header-h: 78px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--night); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* Film grain over everything, very faint. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--sun); color: var(--night); }
img, svg, canvas { display: block; max-width: 100%; height: auto; }
a { color: var(--lime); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--sun); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); font-weight: 800; }
h3 { font-size: 1.28rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.22; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
small { font-size: 0.85em; }
strong { color: var(--ink); }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; position: relative; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--sun); color: var(--night); padding: 12px 18px; border-radius: 12px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fine { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.fine a { color: var(--text); }
.fine.center { max-width: 46rem; margin: 26px auto 0; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Page-to-page cross-fade where the browser supports it. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: td-vt-out 0.28s ease both; }
::view-transition-new(root) { animation: td-vt-in 0.5s var(--ease) both; }
@keyframes td-vt-out { to { opacity: 0; transform: scale(0.985); } }
@keyframes td-vt-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- Buttons and small parts ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0.8em 1.5em; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1rem/1.15 var(--f-body); text-decoration: none; white-space: nowrap; letter-spacing: 0.005em;
  transition: translate 0.35s var(--ease), background-color 0.2s, box-shadow 0.3s, color 0.2s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
/* Light sweep on hover. */
.btn::after {
  content: ""; position: absolute; z-index: -1; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.45), transparent); transition: transform 0.7s var(--ease);
}
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn--sun { background: var(--sun); color: var(--night); box-shadow: 0 0 0 0 rgb(255 213 74 / 0), 0 14px 40px -16px rgb(255 213 74 / 0.75); }
.btn--sun:hover { color: var(--night); background: #ffdf6e; box-shadow: 0 0 0 6px rgb(255 213 74 / 0.14), 0 18px 50px -14px rgb(255 213 74 / 0.85); }
.btn--primary { background: linear-gradient(120deg, var(--magenta), var(--plum)); color: #fff; box-shadow: 0 14px 40px -18px rgb(217 71 154 / 0.9); }
.btn--primary:hover { color: #fff; box-shadow: 0 0 0 6px rgb(217 71 154 / 0.16), 0 18px 50px -16px rgb(217 71 154 / 0.95); }
.btn--ghost { background: rgb(255 255 255 / 0.04); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { color: var(--ink); background: rgb(255 255 255 / 0.09); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.4); }
.btn--sm { min-height: 44px; padding: 0.55em 1.15em; font-size: 0.95rem; }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.pill {
  display: inline-flex; align-items: center; gap: 0.65em; padding: 0.5em 1.05em; border-radius: 999px;
  background: rgb(184 223 92 / 0.1); color: var(--lime); font-weight: 600; font-size: 0.92rem;
  box-shadow: inset 0 0 0 1px rgb(184 223 92 / 0.28);
}
.pill .dot { width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgb(184 223 92 / 0.2), 0 0 14px var(--lime); animation: td-pulse 2.4s ease-in-out infinite; }
@keyframes td-pulse { 50% { box-shadow: 0 0 0 8px rgb(184 223 92 / 0.05), 0 0 22px var(--lime); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em; font: 700 0.8rem/1.2 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.center .eyebrow, .section-head.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.32rem); color: var(--text); max-width: 38em; line-height: 1.6; }
/* Highlighted words: moving sun-to-lime gradient text. */
.hl {
  font-style: normal; color: var(--sun);
  background: var(--grad-sun); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: td-shimmer 7s linear infinite;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-right: 0.04em;
}
@keyframes td-shimmer { to { background-position: -220% 0; } }
.badge { position: absolute; top: 18px; right: 18px; z-index: 2; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: var(--sun); color: var(--night); padding: 0.45em 0.8em; border-radius: 999px; box-shadow: 0 6px 22px -6px rgb(255 213 74 / 0.8); }
.chip { display: inline-flex; align-items: center; gap: 0.55em; font-size: 0.9rem; font-weight: 600; color: var(--mint); margin: 0; }
.chip::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.ico { width: 50px; height: 50px; border-radius: 15px; background: linear-gradient(140deg, rgb(184 223 92 / 0.22), rgb(79 154 90 / 0.08)); color: var(--lime); display: inline-grid; place-items: center; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgb(184 223 92 / 0.25); }
.ico .icon { width: 24px; height: 24px; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; text-decoration: none; color: var(--lime); }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.check-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 32px; line-height: 1.5; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.08em; width: 21px; height: 21px; border-radius: 50%;
  background: rgb(184 223 92 / 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8df5c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.x-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.x-list li { position: relative; padding-left: 32px; line-height: 1.5; }
.x-list li::before {
  content: ""; position: absolute; left: 0; top: 0.08em; width: 21px; height: 21px; border-radius: 50%;
  background: rgb(217 71 154 / 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f39ac8' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Cursor spotlight on cards (site.js sets --x and --y). */
.spot { position: relative; isolation: isolate; --x: 50%; --y: 0%; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--x) var(--y), rgb(184 223 92 / 0.13), transparent 45%);
}
.spot::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(260px circle at var(--x) var(--y), rgb(255 213 74 / 0.85), transparent 55%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }
[data-tilt] { transform-style: preserve-3d; transition: transform 0.5s var(--ease), box-shadow 0.4s, border-color 0.3s; will-change: transform; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s, transform 0.45s var(--ease), box-shadow 0.35s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { background: rgb(16 8 16 / 0.72); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom-color: var(--line); box-shadow: 0 20px 40px -30px rgb(0 0 0 / 0.9); }
.site-header.is-hidden { transform: translateY(-110%); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--magenta), var(--sun), var(--lime)); box-shadow: 0 0 12px rgb(255 213 74 / 0.7); pointer-events: none; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; transition: opacity 0.2s; }
.brand:hover { opacity: 0.85; }
.brand-logo { display: block; width: 200px; height: auto; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu a { position: relative; display: flex; flex-direction: column; padding: 0.55em 0.8em; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.98rem; line-height: 1.2; transition: color 0.2s, background-color 0.2s; }
.menu > li > a::after { content: ""; position: absolute; left: 0.8em; right: 0.8em; bottom: 0.2em; height: 1.5px; background: var(--sun); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.35s var(--ease); box-shadow: 0 0 8px var(--sun); }
.menu > li > a:hover, .menu > .current-menu-item > a, .menu > .current-menu-ancestor > a, .menu > .current-menu-parent > a { color: var(--ink); }
.menu > li > a:hover::after, .menu > .current-menu-item > a::after, .menu > .current-menu-ancestor > a::after, .menu > .current-menu-parent > a::after { transform: scaleX(1); }
.menu-item-has-children > a { padding-right: 0.35em; }
.menu-item-has-children > a::after { right: 0.35em; }
.sub-toggle { display: inline-grid; place-items: center; width: 26px; height: 32px; margin-left: -4px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 8px; }
.sub-toggle svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.is-open > .sub-toggle svg, .menu-item-has-children:hover > .sub-toggle svg { transform: rotate(180deg); }
.menu .sub-menu {
  position: absolute; top: calc(100% + 10px); left: -10px; z-index: 5; min-width: 310px;
  list-style: none; margin: 0; padding: 8px; background: rgb(26 14 24 / 0.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 30px 70px -20px rgb(0 0 0 / 0.9);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98); transform-origin: 20% 0; transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0.2s;
}
.menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.menu .menu-item-has-children:hover > .sub-menu,
.menu .menu-item-has-children:focus-within > .sub-menu,
.menu .menu-item-has-children.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu .sub-menu a { padding: 11px 14px; border-radius: 13px; }
.menu .sub-menu a:hover, .menu .sub-menu .current-menu-item > a { background: rgb(184 223 92 / 0.1); color: var(--ink); }
.mi-title { font-weight: 700; color: var(--ink); }
.mi-hint { font-size: 0.85rem; color: var(--muted); font-weight: 500; margin-top: 3px; }
.header-cta { display: flex; align-items: center; gap: 16px; margin-left: 8px; }
.header-phone { display: inline-flex; align-items: center; gap: 0.45em; color: var(--text); text-decoration: none; font-weight: 600; white-space: nowrap; }
.header-phone .icon { color: var(--lime); width: 1.1em; height: 1.1em; }
.header-phone:hover { color: var(--sun); }
.nav-toggle { display: none; }
@media (max-width: 1240px) { .header-phone { display: none; } }

@media (max-width: 1060px) {
  .nav-toggle { position: relative; z-index: 2; display: inline-grid; place-items: center; margin-left: auto; width: 50px; height: 50px; border-radius: 16px; border: 1px solid var(--line-2); background: rgb(255 255 255 / 0.05); color: var(--ink); cursor: pointer; }
  .nav-toggle .icon { width: 24px; height: 24px; }
  .nav-toggle-close, .nav-open .nav-toggle-open { display: none; }
  .nav-open .nav-toggle-close { display: block; }
  .nav-open .site-header { background: var(--night); }
  .site-nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--header-h); margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 36px;
    background: radial-gradient(120% 60% at 100% 0%, var(--plum-night), var(--night) 70%); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.25s, transform 0.35s var(--ease), visibility 0.25s;
  }
  .admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
  .nav-open { overflow: hidden; }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .menu > li > a { flex: 1; padding: 18px 4px; font: 800 1.5rem/1.1 var(--f-head); letter-spacing: -0.02em; border-radius: 0; color: var(--ink); }
  .menu > li > a::after { display: none; }
  .sub-toggle { display: none; }
  .menu .sub-menu { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 14px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu .sub-menu::before { display: none; }
  .menu .sub-menu a { background: var(--glass); border: 1px solid var(--line); }
  .header-cta { flex-direction: column; align-items: stretch; margin: 26px 0 0; gap: 10px; }
  .header-cta .btn { min-height: 54px; font-size: 1.05rem; }
  .header-phone { display: inline-flex; justify-content: center; padding: 13px; border: 1.5px solid var(--line-2); border-radius: 999px; }
  .fx .nav-open .menu > li { animation: td-rise 0.5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms + 60ms); }
}
@media (max-width: 520px) {
  :root { --header-h: 68px; }
  .brand-logo { width: 168px; }
  .menu .sub-menu { grid-template-columns: 1fr; }
}
@keyframes td-rise { from { opacity: 0; transform: translateY(16px); } }

/* Soft light that follows the pointer (desktop only, added by site.js). */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 2; width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(184 223 92 / 0.075), rgb(217 71 154 / 0.035) 45%, transparent 70%);
  opacity: 0; transition: opacity 0.6s; will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 136px) 0; }
.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.section--first { padding-top: clamp(44px, 5vw, 80px); }
.section--cream { background: var(--night-2); }
.section--cream::before, .section--forest::before, .section--plum::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.section--forest { background: radial-gradient(90% 70% at 15% 0%, var(--forest-2), var(--forest-night) 70%); }
.section--plum { background: radial-gradient(90% 80% at 85% 10%, #3c0f2f, var(--plum-night) 60%, var(--night) 100%); }
.section-head { max-width: 48rem; margin-bottom: clamp(34px, 4.5vw, 60px); }
.section-head p { color: var(--text); font-size: 1.14rem; margin: 0; opacity: 0.9; }
.section-head h2 { margin-bottom: 0.38em; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.section-head--split > div { max-width: 46rem; }
.section-head--split > .btn { flex-shrink: 0; }
.center-cta { text-align: center; margin: 44px 0 0; }
@media (max-width: 760px) { .section-head--split { flex-direction: column; align-items: flex-start; } }

/* Background light used by heroes and bands. */
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; border-radius: 50%; opacity: 0.7; will-change: transform; }
.aurora i:nth-child(1) { width: 62vw; height: 62vw; right: -14vw; top: -22vw; background: radial-gradient(closest-side, rgb(126 38 88 / 0.85), rgb(126 38 88 / 0)); }
.aurora i:nth-child(2) { width: 48vw; height: 48vw; left: -16vw; top: 18%; background: radial-gradient(closest-side, rgb(47 107 63 / 0.75), rgb(47 107 63 / 0)); }
.aurora i:nth-child(3) { width: 34vw; height: 34vw; right: 18%; bottom: -14vw; background: radial-gradient(closest-side, rgb(255 213 74 / 0.22), rgb(255 213 74 / 0)); }
.fx .aurora i { animation: td-drift 22s ease-in-out infinite alternate; }
.fx .aurora i:nth-child(2) { animation-duration: 27s; animation-delay: -6s; }
.fx .aurora i:nth-child(3) { animation-duration: 31s; animation-delay: -12s; }
@keyframes td-drift { 50% { transform: translate3d(-6vw, 5vh, 0) scale(1.12); } 100% { transform: translate3d(4vw, -3vh, 0) scale(0.94); } }
.canopy { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 1000px); display: grid; align-items: center;
  padding: calc(var(--header-h) + clamp(28px, 5vw, 64px)) 0 clamp(70px, 8vw, 120px);
  background: radial-gradient(110% 90% at 75% 0%, #2c0c24 0%, var(--night) 62%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; z-index: -1; background: linear-gradient(transparent, var(--night)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { margin: 24px 0 22px; font-size: clamp(2.9rem, 1.4rem + 5vw, 6rem); line-height: 0.98; letter-spacing: -0.04em; }
.hero .lead { margin-bottom: 34px; }
.hero-note { margin: 22px 0 0; max-width: 34rem; font-size: 0.88rem; color: var(--muted); }
.hero-note a { color: var(--text); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; }
.scroll-cue i { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid var(--line-2); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--sun); animation: td-wheel 1.8s var(--ease) infinite; }
.scroll-cue:hover { color: var(--ink); }
@keyframes td-wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Floating browser windows with our work. Layers move on scroll (transform)
   and with the pointer (translate, driven by --mx/--my on .hero). */
.hero-stage { position: relative; aspect-ratio: 1 / 0.9; }
.layer { position: absolute; will-change: transform; }
.layer--1 { width: 76%; left: 0; top: 4%; }
.layer--2 { width: 60%; right: -3%; top: 31%; }
.layer--3 { width: 50%; left: 9%; bottom: 0; }
.layer--c1 { right: 2%; top: 0; }
.layer--c2 { left: -4%; top: 52%; }
.layer--c3 { right: 6%; bottom: 6%; }
.browser, .float-chip {
  --depth: 1;
  translate: calc(var(--mx, 0) * var(--depth) * 12px) calc(var(--my, 0) * var(--depth) * 10px);
  transition: translate 0.6s var(--ease);
}
.browser { border-radius: 14px; overflow: hidden; background: #1d111b; border: 1px solid var(--line-2); box-shadow: 0 50px 90px -34px rgb(0 0 0 / 0.95), 0 0 0 1px rgb(255 255 255 / 0.02); }
.layer--1 .browser { rotate: -4deg; }
.layer--2 .browser { rotate: 3.5deg; box-shadow: 0 50px 90px -30px rgb(0 0 0 / 0.95), 0 0 60px -20px rgb(217 71 154 / 0.45); }
.layer--3 .browser { rotate: -1.5deg; box-shadow: 0 50px 90px -30px rgb(0 0 0 / 0.95), 0 0 60px -20px rgb(184 223 92 / 0.4); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #261825; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #4b3a48; }
.browser .bar i:nth-child(1) { background: #e05d8f; }
.browser .bar i:nth-child(2) { background: var(--sun); }
.browser .bar i:nth-child(3) { background: var(--lime); }
.browser .bar b { margin-left: 10px; flex: 1; height: 16px; border-radius: 6px; background: rgb(255 255 255 / 0.06); }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }
.float-chip {
  display: inline-flex; align-items: center; gap: 0.6em; padding: 0.7em 1.05em; border-radius: 16px;
  background: rgb(30 17 28 / 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); color: var(--ink); font-weight: 700; font-size: 0.92rem; white-space: nowrap;
  box-shadow: 0 24px 50px -20px rgb(0 0 0 / 0.9);
}
.float-chip .icon { color: var(--lime); width: 20px; height: 20px; }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.float-chip--sun .icon { color: var(--sun); }
.float-chip--pink .icon { color: var(--pink); }
.fx .float-chip > span { animation: td-bob 6s ease-in-out infinite; }
.fx .layer--c2 .float-chip > span { animation-delay: -2s; }
.fx .layer--c3 .float-chip > span { animation-delay: -4s; }
.float-chip > span { display: inline-flex; align-items: center; gap: 0.6em; }
@keyframes td-bob { 50% { transform: translateY(-7px); } }

/* Entrance: copy, then windows from depth, then chips. */
.fx .hero-copy > :not(h1) { animation: td-rise 0.9s var(--ease) both; }
.fx .hero-copy > .pill { animation-delay: 0.05s; }
.fx .hero-copy > .lead { animation-delay: 0.55s; }
.fx .hero-copy > .cta-row { animation-delay: 0.7s; }
.fx .hero-copy > .hero-note { animation-delay: 0.85s; }
.fx .hero-stage .layer > * { animation: td-pop 1.2s var(--ease) both; }
.fx .hero-stage .layer--1 > * { animation-delay: 0.3s; }
.fx .hero-stage .layer--2 > * { animation-delay: 0.5s; }
.fx .hero-stage .layer--3 > * { animation-delay: 0.7s; }
.fx .hero-stage .layer--c1 > * { animation-delay: 1s; }
.fx .hero-stage .layer--c2 > * { animation-delay: 1.15s; }
.fx .hero-stage .layer--c3 > * { animation-delay: 1.3s; }
@keyframes td-pop { from { opacity: 0; scale: 0.86; filter: blur(8px); } }

@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 620px; width: 100%; margin: 10px auto 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 520px) {
  .float-chip { font-size: 0.8rem; padding: 0.55em 0.8em; }
  .float-chip small { display: none; }
  .layer--c2 { left: -2%; }
}

/* Split headings (site.js wraps each word). */
.split-text .w { display: inline-block; vertical-align: top; overflow: clip; overflow-clip-margin: 0.12em; padding: 0 0.02em 0.1em; margin-bottom: -0.1em; }
.split-text .w > span { display: inline-block; }
.fx .split-text:not(.is-split) { opacity: 0; }
.fx .split-text .w > span { animation: td-word 1s var(--ease) both; animation-delay: calc(var(--i) * 65ms + 120ms); }
.fx .split-text.wait .w > span { animation: none; transform: translateY(110%); opacity: 0; }
@keyframes td-word { from { transform: translateY(110%) rotate(4deg); opacity: 0; } }

/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 2; margin-top: clamp(-56px, -4vw, -30px); }
.trust ul {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0;
  border-radius: 22px; background: rgb(26 14 24 / 0.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); overflow: hidden;
}
.trust li { display: flex; align-items: center; gap: 13px; padding: 22px 24px; font-weight: 600; color: var(--text); font-size: 0.97rem; line-height: 1.38; }
.trust li + li { border-left: 1px solid var(--line); }
.trust .icon { width: 28px; height: 28px; color: var(--lime); filter: drop-shadow(0 0 8px rgb(184 223 92 / 0.5)); }
@media (max-width: 960px) { .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust li:nth-child(3) { border-left: 0; } .trust li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .trust ul { grid-template-columns: 1fr; } .trust li + li { border-left: 0; border-top: 1px solid var(--line); } }
@media (max-width: 960px) { .trust { margin-top: 0; } }

/* ---------- Marquee bands ---------- */
.marquee-band { position: relative; padding: clamp(36px, 4.5vw, 64px) 0 clamp(20px, 3vw, 40px); overflow: hidden; }
.marquee { display: flex; overflow: hidden; margin: 0 -6vw; padding: 20px 0; user-select: none; }
.marquee--sun { background: var(--sun); color: var(--night); transform: rotate(-2.6deg); box-shadow: 0 20px 60px -20px rgb(255 213 74 / 0.45); position: relative; z-index: 1; }
.marquee--plum { background: linear-gradient(90deg, var(--plum), var(--magenta) 50%, var(--plum)); color: #fff; transform: rotate(1.8deg); margin-top: -18px; }
.marquee-track { display: flex; flex-shrink: 0; min-width: 100%; justify-content: space-around; }
.fx .marquee-track { animation: td-marquee 42s linear infinite; }
.fx .marquee--plum .marquee-track { animation-duration: 52s; animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 0.7em; padding: 0 0.7em; font: 800 clamp(1.3rem, 0.9rem + 1.6vw, 2.3rem)/1 var(--f-head); letter-spacing: -0.02em; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 0.42em; height: 0.42em; border-radius: 50%; background: currentColor; opacity: 0.55; margin-left: 0.7em; }
@keyframes td-marquee { to { transform: translateX(-100%); } }

/* ---------- Package cards: homepage strip ---------- */
.pkg-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; perspective: 1200px; }
.pkg-mini {
  display: flex; flex-direction: column; gap: 9px; padding: 30px 26px 26px;
  border-radius: var(--radius-lg); background: var(--glass-grad); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  box-shadow: var(--shadow);
}
.pkg-mini:hover { color: var(--text); border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.pkg-mini .ico { margin-bottom: 10px; transform: translateZ(30px); }
.pkg-mini h3 { margin: 0; font-size: 1.3rem; }
.pkg-mini p { color: var(--text); opacity: 0.85; font-size: 0.97rem; margin: 4px 0 0; }
.pkg-mini .more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; color: var(--lime); }
.pkg-mini .more .icon { width: 1.05em; height: 1.05em; transition: transform 0.25s var(--ease); }
.pkg-mini:hover .more .icon { transform: translateX(4px); }
.price { font: 800 2.4rem/1 var(--f-head); color: var(--ink); letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.price small { font: 600 0.88rem/1 var(--f-body); color: var(--muted); letter-spacing: 0; margin-right: 0.35em; }
.pkg-mini .price { background: linear-gradient(180deg, #fff, #d8c9d1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pkg-mini .price small { -webkit-text-fill-color: var(--muted); }
.custom-row {
  margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 22px 28px;
  border-radius: var(--radius-lg); background: linear-gradient(100deg, rgb(126 38 88 / 0.35), rgb(126 38 88 / 0.08)); border: 1px solid rgb(217 71 154 / 0.25);
}
.custom-row p { margin: 0; color: var(--text); }
@media (max-width: 1060px) { .pkg-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pkg-strip { grid-template-columns: 1fr; } }

/* ---------- Package cards: full ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.pkg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; margin-inline: auto; }
.pkg-grid--1 { grid-template-columns: minmax(0, 540px); justify-content: center; }
.pkg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pkg-grid--4 .pkg { padding: 30px 24px 26px; }
.pkg-grid--4 .pkg-price .price { font-size: 2.6rem; }
@media (min-width: 761px) { .pkg-grid--4 .pkg-for { min-height: 4.8em; } }
@media (max-width: 1240px) { .pkg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 940px; margin-inline: auto; } }
.pkg { display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--radius-lg); background: var(--glass-grad); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pkg--featured {
  border: 1.5px solid transparent;
  background: linear-gradient(180deg, #24121f, #170b15) padding-box, conic-gradient(from var(--ang), var(--magenta), var(--sun), var(--lime), var(--leaf), var(--plum), var(--magenta)) border-box;
  box-shadow: var(--shadow-lg), 0 0 80px -30px rgb(217 71 154 / 0.55);
}
.fx .pkg--featured { animation: td-spin 7s linear infinite; }
@keyframes td-spin { to { --ang: 360deg; } }
.pkg-head .ico { margin-bottom: 18px; }
.pkg-head h3 { font-size: 1.5rem; margin-bottom: 0.3em; }
.pkg-for { color: var(--muted); font-size: 0.98rem; margin: 0; min-height: 3em; }
.pkg-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 20px 0 8px; }
.pkg-price .price { font-size: 3rem; }
.pkg--featured .pkg-price .price { background: var(--grad-sun); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pkg-price .per { color: var(--muted); font-size: 0.93rem; }
.pkg .chip { margin-bottom: 22px; }
.pkg .check-list { padding-top: 22px; border-top: 1px solid var(--line); }
.pkg .btn { margin-top: auto; }
.pkg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(28px, 5vw, 80px); align-items: center; }
.pkg-split .section-head { margin-bottom: 18px; }
.pkg-split--flip { align-items: start; }
@media (max-width: 1060px) { .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pkg-grid, .pkg-grid--2 { grid-template-columns: 1fr; } .pkg-split { grid-template-columns: 1fr; } .pkg-for { min-height: 0; } }

/* Pricing page jump links */
.jump { position: sticky; top: var(--header-h); z-index: 40; background: rgb(16 8 16 / 0.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); transition: top 0.45s var(--ease); }
.admin-bar .jump { top: calc(var(--header-h) + 32px); }
.header-hidden .jump { top: 0; }
.admin-bar.header-hidden .jump { top: 32px; }
.jump .wrap { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.jump .wrap::-webkit-scrollbar { display: none; }
.jump a { flex-shrink: 0; padding: 8px 15px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: background-color 0.2s, color 0.2s; }
.jump a:hover, .jump a.is-active { background: rgb(184 223 92 / 0.12); color: var(--lime); }

/* ---------- Before day one ---------- */
.prestart { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.prestart li, .steps li { display: flex; gap: 15px; align-items: flex-start; }
.prestart li { position: relative; padding: 22px; border-radius: 20px; background: var(--glass-grad); border: 1px solid var(--line); }
.prestart .n, .steps .n { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--night); font: 800 0.98rem/1 var(--f-head); box-shadow: 0 0 18px -2px rgb(255 213 74 / 0.6); }
.prestart strong, .steps strong { display: block; font: 700 1.06rem/1.25 var(--f-head); margin-bottom: 4px; color: var(--ink); }
.prestart span:not(.n), .steps span:not(.n) { display: block; color: var(--text); opacity: 0.85; font-size: 0.95rem; line-height: 1.5; }
.prestart--cards li { padding: 26px; }
@media (max-width: 960px) { .prestart { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .prestart { grid-template-columns: 1fr; } }
.prestart-wrap { margin-top: clamp(40px, 5vw, 64px); }
.prestart-wrap h3 { font-size: 0.82rem; font-family: var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

/* ---------- Five-day timeline (plain list, used on service pages) ---------- */
.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; position: relative; }
.days::before { content: ""; position: absolute; top: 28px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--leaf), var(--lime), var(--sun), var(--magenta)); opacity: 0.6; }
.days li { position: relative; display: flex; flex-direction: column; gap: 4px; }
.day-dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: var(--night-2); border: 2px solid var(--lime); display: grid; place-items: center; font: 800 1.2rem/1 var(--f-head); color: var(--lime); margin-bottom: 14px; box-shadow: 0 0 24px -4px rgb(184 223 92 / 0.6); }
.days li:last-child .day-dot { background: var(--sun); border-color: var(--sun); color: var(--night); box-shadow: 0 0 30px -2px rgb(255 213 74 / 0.8); }
.days small { font-weight: 700; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.days strong { font: 700 1.22rem/1.2 var(--f-head); }
.days span:not(.day-dot) { color: var(--text); opacity: 0.85; font-size: 0.97rem; line-height: 1.5; }
.days--cards li { background: var(--glass-grad); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.days--cards::before { top: 48px; }
@media (max-width: 960px) {
  .days { grid-template-columns: 1fr; gap: 0; }
  .days::before { top: 10px; bottom: 10px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--leaf), var(--lime), var(--sun), var(--magenta)); }
  .days li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; padding-bottom: 26px; }
  .days li > *:not(.day-dot) { grid-column: 2; }
  .day-dot { grid-row: 1 / span 3; margin: 0; }
  .days--cards li { padding: 0 0 26px; background: none; border: 0; border-radius: 0; }
  .days--cards::before { top: 10px; }
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { padding: 22px; border-radius: 20px; background: var(--glass-grad); border: 1px solid var(--line); }
.steps--compact li { padding: 0; border: 0; background: none; }

/* ---------- Five-day story: pinned while the tree grows ---------- */
.story { position: relative; background: radial-gradient(80% 60% at 80% 50%, #1b2a16 0%, var(--forest-night) 45%, var(--night) 100%); }
.story::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.story-pin { padding: clamp(72px, 9vw, 120px) 0; }
.story-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.story .section-head { margin-bottom: 30px; }
.story-days { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.story-days li { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 2px 16px; padding: 14px 16px 14px 12px; border-radius: 16px; transition: background-color 0.4s, opacity 0.4s; }
.story-days .n { grid-row: span 2; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 800 1.05rem/1 var(--f-head); color: var(--lime); border: 1.5px solid rgb(184 223 92 / 0.45); transition: background-color 0.4s, color 0.4s, box-shadow 0.4s, border-color 0.4s; }
.story-days strong { font: 700 1.18rem/1.25 var(--f-head); align-self: end; }
.story-days span:not(.n) { color: var(--text); opacity: 0.82; font-size: 0.96rem; line-height: 1.45; }
.story-days li:last-child .n { color: var(--sun); border-color: rgb(255 213 74 / 0.5); }
.story-art { position: relative; }
.story-tree { position: relative; }
.story-tree img { width: 100%; height: auto; filter: invert(1) hue-rotate(180deg) saturate(1.5) brightness(1.08); }
.story-tree .ghost-tree { opacity: 0.13; filter: invert(1) hue-rotate(180deg) grayscale(1); }
.story-tree .live-tree { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--reveal, 100%)) 0 0); transition: clip-path 0.9s var(--ease); filter: invert(1) hue-rotate(180deg) saturate(1.6) brightness(1.1) drop-shadow(0 0 10px rgb(184 223 92 / 0.45)); }
.story-rail { position: relative; margin-top: 18px; height: 3px; border-radius: 3px; background: var(--line-2); }
.story-rail i { position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%; transform: scaleX(var(--p, 1)); background: linear-gradient(90deg, var(--leaf), var(--lime), var(--sun)); box-shadow: 0 0 14px rgb(184 223 92 / 0.8); }
.story-labels { display: grid; grid-template-columns: 18% 13% 19% 19% 31%; margin-top: 14px; text-align: center; }
.story-labels span { font-size: 0.82rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; transition: color 0.3s; }
.story-labels span.is-on { color: var(--lime); }
.story-count { margin: 0 0 clamp(10px, 2vw, 28px); text-align: right; font: 800 clamp(3.4rem, 7vw, 7rem)/0.85 var(--f-head); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgb(184 223 92 / 0.35); pointer-events: none; }
.story-count b { color: var(--lime); -webkit-text-stroke: 0; text-shadow: 0 0 40px rgb(184 223 92 / 0.55); font-weight: 800; }
.story .fine { margin-top: 26px; }
/* Pinned mode: only with motion, on wide and tall enough screens. */
@media (min-width: 961px) and (min-height: 640px) {
  .fx .story { height: 330vh; }
  .fx .story-pin { position: sticky; top: 0; min-height: 100vh; display: grid; align-items: center; padding: calc(var(--header-h) + 18px) 0 36px; }
  .fx .story-days li { opacity: 0.4; }
  .fx .story-days li.is-active { opacity: 1; background: rgb(184 223 92 / 0.07); }
  .fx .story-days li.is-done { opacity: 0.75; }
  .fx .story-days li.is-active .n, .fx .story-days li.is-done .n { background: var(--lime); color: var(--night); border-color: var(--lime); box-shadow: 0 0 22px -2px rgb(184 223 92 / 0.8); }
  .fx .story-days li:last-child.is-active .n { background: var(--sun); border-color: var(--sun); box-shadow: 0 0 26px -2px rgb(255 213 74 / 0.9); }
}
@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-art { order: -1; }
  .story-count { display: none; }
}
@media (max-width: 520px) { .story-labels span { font-size: 0.68rem; } }

/* ---------- Stats band ---------- */
.stats-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(72px, 9vw, 130px) 0; background: radial-gradient(70% 90% at 20% 20%, #3b0f2e 0%, var(--plum-night) 45%, var(--night) 100%); }
.ghost-line { position: absolute; z-index: -1; left: 0; white-space: nowrap; font: 800 clamp(5rem, 15vw, 15rem)/0.8 var(--f-head); letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.08); pointer-events: none; will-change: transform; }
.ghost-line--top { top: 6%; }
.ghost-line--bottom { bottom: 2%; left: -30%; -webkit-text-stroke-color: rgb(184 223 92 / 0.09); }
.big-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.big-stats li { padding: 8px 0 0; border-top: 1px solid var(--line-2); }
.big-stats strong { display: block; font: 800 clamp(3.2rem, 2rem + 4.4vw, 6.2rem)/1 var(--f-head); letter-spacing: -0.05em; margin: 18px 0 10px; background: linear-gradient(180deg, #fff 20%, #e5c9d6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.big-stats li:nth-child(2) strong { background-image: linear-gradient(180deg, var(--sun), #ffb547); }
.big-stats li:nth-child(3) strong { background-image: linear-gradient(180deg, var(--lime), var(--mint)); }
.big-stats li > span { color: var(--text); font-weight: 600; font-size: 1.02rem; }
@media (max-width: 860px) { .big-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } }

/* ---------- Compare table ---------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--glass-grad); box-shadow: var(--shadow-lg); }
.compare { width: 100%; min-width: 800px; border-collapse: collapse; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 700 1.02rem/1.25 var(--f-head); background: rgb(255 255 255 / 0.03); color: var(--ink); }
.compare tbody th { font-weight: 700; color: var(--ink); width: 17%; }
.compare td { color: var(--muted); }
.compare tbody tr { transition: background-color 0.25s; }
.compare tbody tr:hover { background: rgb(255 255 255 / 0.025); }
.compare .us { background: rgb(184 223 92 / 0.09); color: var(--ink); font-weight: 700; box-shadow: inset 1px 0 0 rgb(184 223 92 / 0.3), inset -1px 0 0 rgb(184 223 92 / 0.3); }
.compare thead .us { background: linear-gradient(180deg, var(--lime), #9fc94a); color: var(--night); }
@media (max-width: 760px) {
  .compare-wrap { overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .compare { min-width: 0; }
  .compare thead { display: none; }
  .compare, .compare tbody, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { display: flex; flex-direction: column; background: var(--glass-grad); border: 1px solid var(--line); border-radius: 20px; margin-bottom: 12px; overflow: hidden; }
  .compare tbody th { order: 0; width: auto; padding: 15px 16px; background: rgb(255 255 255 / 0.04); font: 700 1.06rem/1.3 var(--f-head); border-bottom: 1px solid var(--line); }
  .compare td { order: 2; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 12px; padding: 12px 16px; font-size: 0.95rem; }
  .compare td::before { content: attr(data-label); font-weight: 600; color: var(--muted); font-size: 0.86rem; }
  .compare td.us { order: 1; box-shadow: none; }
  .compare td.us::before { color: var(--lime); }
  .compare tr > td:last-child { border-bottom: 1px solid var(--line); }
  .compare tr > *:nth-last-child(2) { border-bottom: 0; }
}

/* ---------- Portfolio collage (homepage): tilted columns at different speeds ---------- */
.collage-section { position: relative; padding-top: clamp(72px, 9vw, 130px); overflow: hidden; background: var(--night); }
.collage { position: relative; height: clamp(520px, 72vw, 1000px); margin-top: clamp(10px, 2vw, 30px); overflow: hidden; }
.collage::before, .collage::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; height: 22%; pointer-events: none; }
.collage::before { top: 0; background: linear-gradient(var(--night), transparent); }
.collage::after { bottom: 0; background: linear-gradient(transparent, var(--night)); }
.collage-grid { position: absolute; left: 50%; top: 50%; width: max(1500px, 128vw); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); transform: translate(-50%, -50%) rotate(-8deg); }
.collage-col { display: grid; gap: clamp(14px, 1.6vw, 26px); align-content: start; will-change: transform; }
.collage-col:nth-child(2) { margin-top: -14%; }
.collage-col:nth-child(3) { margin-top: 8%; }
.collage-col:nth-child(4) { margin-top: -6%; }
.tile { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #1d111b; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.9); }
.tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease), filter 0.6s; filter: saturate(0.9) brightness(0.88); }
.tile:hover img { transform: scale(1.07); filter: none; }
.tile figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgb(10 5 10 / 0.92)); opacity: 0; translate: 0 12px; transition: opacity 0.4s, translate 0.5s var(--ease); }
.tile:hover figcaption { opacity: 1; translate: 0 0; }
.tile figcaption strong { display: block; font: 700 1.05rem/1.25 var(--f-head); }
.tile figcaption span { font-size: 0.85rem; color: var(--muted); }
.collage-cta { position: relative; z-index: 3; text-align: center; margin-top: -60px; padding-bottom: clamp(56px, 7vw, 100px); }
@media (hover: none) { .tile figcaption { opacity: 1; translate: 0 0; } }
@media (max-width: 760px) {
  .collage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 190vw; }
  .collage-col:nth-child(4) { display: none; }
  .tile figcaption { display: none; }
}

/* ---------- Portfolio grid (work page, service pages) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; perspective: 1400px; }
.work { margin: 0; }
.work .frame { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #1d111b; box-shadow: 0 30px 60px -34px rgb(0 0 0 / 0.95); }
.work .bar { display: flex; gap: 6px; padding: 10px 12px; background: #261825; border-bottom: 1px solid var(--line); }
.work .bar i { width: 9px; height: 9px; border-radius: 50%; background: #4b3a48; }
.work .bar i:nth-child(1) { background: #e05d8f; }
.work .bar i:nth-child(2) { background: var(--sun); }
.work .bar i:nth-child(3) { background: var(--lime); }
.work img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: object-position 3.5s ease-in-out, transform 0.9s var(--ease); }
.work:hover img { object-position: bottom center; }
.work:hover .frame { border-color: rgb(184 223 92 / 0.4); box-shadow: 0 40px 80px -34px rgb(0 0 0 / 0.95), 0 0 50px -20px rgb(184 223 92 / 0.45); }
.work figcaption { padding: 16px 2px 0; }
.work figcaption strong { display: block; font: 700 1.12rem/1.25 var(--f-head); }
.work figcaption span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 960px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

/* ---------- Seed, grow, preserve ---------- */
.sgp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sgp-item { position: relative; text-align: center; padding: 34px 26px 34px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgb(184 223 92 / 0.08), rgb(255 255 255 / 0.015) 70%); border: 1px solid var(--line); overflow: hidden; }
.sgp-item::before { content: ""; position: absolute; left: 50%; top: 40px; width: 220px; height: 220px; margin-left: -110px; border-radius: 50%; background: radial-gradient(closest-side, rgb(184 223 92 / 0.22), transparent); pointer-events: none; transition: transform 0.6s var(--ease); }
.sgp-item:hover::before { transform: scale(1.25); }
.sgp-item .stage { position: relative; width: 130px; height: auto; margin: 0 auto 14px; filter: invert(1) hue-rotate(180deg) saturate(1.6) brightness(1.1) drop-shadow(0 0 10px rgb(184 223 92 / 0.4)); transition: transform 0.6s var(--ease); }
.fx .sgp-item .stage { animation: td-float 7s ease-in-out infinite; }
.fx .sgp-item:nth-child(2) .stage { animation-delay: -2.3s; }
.fx .sgp-item:nth-child(3) .stage { animation-delay: -4.6s; }
@keyframes td-float { 50% { transform: translateY(-10px) rotate(1deg); } }
.sgp-item h3 { font-size: 1.7rem; margin-bottom: 0.3em; }
.sgp-item p { color: var(--text); opacity: 0.85; margin: 0 auto; max-width: 22em; }
.sgp-n { position: absolute; top: 16px; left: 22px; font: 800 0.8rem/1 var(--f-body); letter-spacing: 0.16em; color: var(--lime); opacity: 0.7; }
@media (max-width: 760px) { .sgp { grid-template-columns: 1fr; } }
/* Slanted top edge. */
.slant-top { clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%); margin-top: -4vw; padding-top: calc(clamp(72px, 9vw, 136px) + 4vw); }

/* ---------- Awards ---------- */
.awards-band { overflow: hidden; }
.awards-head { text-align: center; max-width: 46rem; margin: 0 auto 32px; color: var(--text); font-size: 1.08rem; }
.awards-head p { margin: 0; }
.awards { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px; }
.awards li { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.plaque { display: grid; place-items: center; width: 190px; height: 104px; padding: 14px 18px; border-radius: 18px; background: #fbf7f2; box-shadow: 0 20px 40px -24px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(255 255 255 / 0.4) inset; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.plaque img { max-height: 70px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.awards li:hover .plaque { transform: translateY(-5px) rotate(-1deg); box-shadow: 0 30px 50px -24px rgb(0 0 0 / 0.95), 0 0 40px -10px rgb(255 213 74 / 0.5); }
.awards span { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.awards-marquee { display: flex; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.awards-marquee .awards { flex-shrink: 0; flex-wrap: nowrap; justify-content: space-around; min-width: 100%; padding: 10px 8px 6px; }
.fx .awards-marquee .awards { animation: td-marquee 46s linear infinite; }
.awards-marquee:hover .awards { animation-play-state: paused; }
.awards--large .plaque { width: 220px; height: 124px; }
.awards--large .plaque img { max-height: 88px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-layout .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 28px); }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--glass-grad); border: 1px solid var(--line); border-radius: 20px; padding: 0 24px; transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s; interpolate-size: allow-keywords; }
.faq details:hover { border-color: var(--line-2); }
.faq details[open] { border-color: rgb(184 223 92 / 0.35); background-color: rgb(184 223 92 / 0.04); box-shadow: 0 0 50px -24px rgb(184 223 92 / 0.45); }
.faq details::details-content { height: 0; overflow: clip; transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 21px 0; font: 700 1.1rem/1.35 var(--f-head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: rgb(255 255 255 / 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbf5ef' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--sun); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23100810' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.faq details > div { padding: 0 0 22px; color: var(--text); opacity: 0.88; }
.faq details > div p { margin: 0; }
.faq-page { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 4px; }
.faq-nav a { padding: 11px 15px; border-radius: 13px; color: var(--text); text-decoration: none; font-weight: 600; transition: background-color 0.2s, color 0.2s; }
.faq-nav a:hover { background: rgb(184 223 92 / 0.1); color: var(--lime); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 1.8rem; }
@media (max-width: 860px) {
  .faq-layout, .faq-page { grid-template-columns: 1fr; }
  .faq-layout .section-head, .faq-nav { position: static; }
  .faq-nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .faq-nav a { background: var(--glass); border: 1px solid var(--line); padding: 8px 13px; font-size: 0.92rem; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 26px 44px; align-items: center;
  padding: clamp(36px, 6vw, 80px); border-radius: 34px; color: var(--text);
  background: linear-gradient(135deg, #2e0b25, #170a15 55%, #0d1a12); border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -50px rgb(217 71 154 / 0.5);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; inset: -60%;
  background: conic-gradient(from var(--ang) at 50% 50%, rgb(217 71 154 / 0.35), rgb(255 213 74 / 0.18), rgb(184 223 92 / 0.25), rgb(79 154 90 / 0.15), rgb(217 71 154 / 0.35));
  filter: blur(40px); opacity: 0.8;
}
.fx .cta-band::before { animation: td-spin 14s linear infinite; }
.cta-band::after { content: ""; position: absolute; z-index: -1; inset: 1px; border-radius: 33px; background: radial-gradient(80% 120% at 0% 100%, rgb(16 8 16 / 0.2), rgb(16 8 16 / 0.82) 70%); }
.cta-band .canopy { z-index: 0; opacity: 0.75; }
.cta-band > div { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 0.35em; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.8rem); }
.cta-band p { margin: 0; font-size: 1.14rem; max-width: 34em; }
.cta-band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; position: relative; z-index: 1; }
.cta-band-actions .btn { min-height: 60px; padding-inline: 1.9em; font-size: 1.08rem; }
.cta-phone { display: inline-flex; align-items: center; gap: 0.5em; color: #fff; font-weight: 600; text-decoration: none; }
.cta-phone:hover { color: var(--sun); }
.cta-phone .icon { color: var(--sun); }
.cta-phone--dark { color: var(--ink); font-size: 1.2rem; }
.cta-phone--dark .icon { color: var(--lime); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(52px, 8vw, 120px)) 0 clamp(56px, 7vw, 110px);
  background: radial-gradient(100% 100% at 85% 0%, #300d27 0%, var(--night) 62%);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; background: linear-gradient(transparent, var(--night)); pointer-events: none; }
.page-hero h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); max-width: 17ch; line-height: 1; letter-spacing: -0.04em; }
.page-hero .lead { margin-bottom: 30px; }
.page-hero--plain h1 { max-width: none; margin: 0; }
.page-hero .ghost-word { position: absolute; z-index: -1; right: -3vw; bottom: -0.12em; font: 800 clamp(6rem, 19vw, 19rem)/0.8 var(--f-head); letter-spacing: -0.055em; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.075); white-space: nowrap; pointer-events: none; will-change: transform; }
.fx .page-hero .wrap > :not(h1):not(.service-hero) { animation: td-rise 0.9s var(--ease) both; animation-delay: 0.45s; }
.fx .page-hero .wrap > .eyebrow { animation-delay: 0.05s; }
.fx .service-hero > div > :not(h1) { animation: td-rise 0.9s var(--ease) both; animation-delay: 0.45s; }
.fx .service-hero > div > .eyebrow { animation-delay: 0.05s; }
.fx .hero-facts { animation: td-pop 1.1s var(--ease) 0.4s both; }
.service-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero-facts { position: relative; padding: 32px; border-radius: var(--radius-lg); background: rgb(30 16 28 / 0.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg), 0 0 80px -34px rgb(184 223 92 / 0.45); }
.price-big { font: 800 3.8rem/1 var(--f-head); letter-spacing: -0.04em; margin: 0 0 20px; color: var(--sun); }
.price-big small { display: block; font: 600 0.95rem/1.4 var(--f-body); color: var(--muted); letter-spacing: 0; }
.price-big > span:not([data-count]) { display: block; font: 500 0.95rem/1.4 var(--f-body); color: var(--muted); letter-spacing: 0; margin-top: 8px; }
.hero-facts ul { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 13px; }
.hero-facts li { display: flex; align-items: center; gap: 11px; font-weight: 600; color: var(--text); }
.hero-facts .icon { color: var(--lime); }
@media (max-width: 860px) { .service-hero { grid-template-columns: 1fr; } .hero-facts { max-width: 440px; } }

.for-row { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.for-title { font-size: 0.85rem; margin: 0; color: var(--muted); font-family: var(--f-body); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.for-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.for-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); font-weight: 600; font-size: 0.96rem; color: var(--ink); transition: border-color 0.25s, background-color 0.25s; }
.for-list li:hover { border-color: rgb(184 223 92 / 0.5); background: rgb(184 223 92 / 0.08); }
.for-list .icon { width: 16px; height: 16px; color: var(--lime); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { padding: 30px; border-radius: var(--radius-lg); background: var(--glass-grad); border: 1px solid var(--line); transition: border-color 0.3s; }
.feature:hover { border-color: var(--line-2); }
.feature h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.feature p { color: var(--text); opacity: 0.85; margin: 0; font-size: 0.98rem; }
@media (max-width: 1060px) { .features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .features, .features--4 { grid-template-columns: 1fr; } }

.split, .two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(24px, 4vw, 64px); align-items: start; }
.two-col--about { align-items: center; }
.panel { padding: 32px; border-radius: var(--radius-lg); background: var(--glass-grad); border: 1px solid var(--line); }
.panel + .panel { margin-top: 20px; }
.split .panel + .panel { margin-top: 0; }
.panel h3 { margin-bottom: 20px; }
.panel .check-list { margin: 0; }
.panel--leaf { background: linear-gradient(160deg, rgb(79 154 90 / 0.22), rgb(79 154 90 / 0.04)); border-color: rgb(184 223 92 / 0.22); }
.panel--plum { background: linear-gradient(160deg, rgb(126 38 88 / 0.38), rgb(126 38 88 / 0.06)); border-color: rgb(217 71 154 / 0.24); }
@media (max-width: 860px) { .split, .two-col { grid-template-columns: 1fr; } }

.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--glass-grad); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.table th, .table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color 0.2s; }
.table tbody tr:hover { background: rgb(255 255 255 / 0.03); }
.table thead th { background: rgb(255 255 255 / 0.04); font-weight: 700; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.table .num { text-align: right; white-space: nowrap; }
.table td.num { font-weight: 800; color: var(--sun); font-family: var(--f-head); font-size: 1.08rem; }
.table td.num small { display: block; font: 500 0.82rem/1.3 var(--f-body); color: var(--muted); }

.care-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.care { padding: 32px; border-radius: var(--radius-lg); background: var(--glass-grad); border: 1px solid var(--line); }
.care--featured { border-color: rgb(184 223 92 / 0.55); box-shadow: 0 0 70px -30px rgb(184 223 92 / 0.55); }
.care h3 { margin-bottom: 4px; }
.care .pkg-price { margin: 16px 0 20px; }
.care .pkg-price .price { font-size: 2.6rem; }
.care .check-list { margin: 0; }
.running { max-width: 52rem; margin: 28px 0; }
@media (max-width: 860px) { .care-grid { grid-template-columns: 1fr; } }

.pledge { display: flex; gap: 22px; align-items: flex-start; padding: 30px 32px; border-radius: var(--radius-lg); background: linear-gradient(140deg, rgb(255 213 74 / 0.16), rgb(255 213 74 / 0.03)); border: 1px solid rgb(255 213 74 / 0.32); }
.pledge .ico { background: var(--sun); color: var(--night); box-shadow: 0 0 24px -4px rgb(255 213 74 / 0.8); }
.pledge h3 { margin-bottom: 8px; }
.pledge p:last-child { margin-bottom: 0; }
.pledge--tall { flex-direction: column; }

.need-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.need-list li { display: flex; gap: 15px; align-items: flex-start; }
.need-list .icon { width: 46px; height: 46px; padding: 11px; border-radius: 15px; background: rgb(184 223 92 / 0.1); border: 1px solid rgb(184 223 92 / 0.25); color: var(--lime); }
.need-list strong { display: block; font: 700 1.06rem/1.3 var(--f-head); }
.need-list span { color: var(--text); opacity: 0.85; font-size: 0.97rem; }

/* ---------- The 1-2-3 brief (content included) ---------- */
.brief { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.brief-step { position: relative; padding: 30px 30px 32px; border-radius: var(--radius-lg); background: var(--glass-grad); border: 1px solid var(--line); }
.brief-n {
  display: block; margin-bottom: 18px; font: 800 clamp(4.4rem, 3rem + 4vw, 6.6rem)/0.82 var(--f-head); letter-spacing: -0.06em;
  background: var(--grad-sun); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgb(255 213 74 / 0.25));
}
.fx .brief-n { animation: td-shimmer 7s linear infinite; }
.brief-step:nth-child(2) .brief-n { animation-delay: -2.3s; }
.brief-step:nth-child(3) .brief-n { animation-delay: -4.6s; }
.brief-step h3 { font-size: 1.3rem; margin: 0 0 8px; }
.brief-step p { margin: 0; color: var(--text); opacity: 0.85; font-size: 0.98rem; }
.brief-out { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin: 26px auto 0; max-width: 46rem; text-align: center; color: var(--text); }
.brief-out strong { color: var(--ink); }
.brief-out .icon { flex-shrink: 0; width: 42px; height: 42px; padding: 10px; border-radius: 14px; background: rgb(184 223 92 / 0.1); border: 1px solid rgb(184 223 92 / 0.25); color: var(--lime); }
@media (max-width: 860px) { .brief { grid-template-columns: 1fr; } .brief-n { font-size: 4rem; margin-bottom: 12px; } }

/* Start form: the optional 1-2-3 brief fields */
.form fieldset.brief-fields { padding: 18px 20px 4px; border: 1px dashed var(--line-2); border-radius: 18px; background: rgb(184 223 92 / 0.04); }
.brief-fields legend { padding: 0 8px; margin-left: -8px; }
.brief-fields .field { margin-bottom: 16px; }
.brief-fields textarea { min-height: 88px; }

.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.stats li { padding: 28px; border-radius: var(--radius-lg); background: var(--glass-grad); border: 1px solid var(--line); }
.stats strong { display: block; font: 800 2.8rem/1 var(--f-head); letter-spacing: -0.04em; margin-bottom: 10px; background: var(--grad-sun); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stats span { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member { margin: 0; }
.member .photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); }
.member .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgb(126 38 88 / 0.45), rgb(47 107 63 / 0.35)); mix-blend-mode: color; transition: opacity 0.5s; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(0.6) contrast(1.05); transition: filter 0.6s, transform 0.9s var(--ease); }
.member:hover img { filter: none; transform: scale(1.05); }
.member:hover .photo::after { opacity: 0; }
.member figcaption { padding-top: 16px; }
.member strong { display: block; font: 700 1.16rem/1.3 var(--f-head); }
.member span { color: var(--muted); }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); font-size: 1.08rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 52px); align-items: start; }
.form { position: relative; background: linear-gradient(180deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.025)); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(24px, 3.6vw, 44px); box-shadow: var(--shadow-lg); }
.field { display: grid; gap: 8px; margin: 0 0 22px; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field label, .field legend { font-weight: 600; font-size: 0.98rem; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 10px; }
.req { color: var(--pink); }
.opt { font-weight: 500; color: var(--muted); font-size: 0.88rem; margin-left: 4px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; font: inherit; font-size: 1rem; color: var(--ink);
  background: rgb(10 5 10 / 0.55); border: 1.5px solid var(--line-2); border-radius: 14px; transition: border-color 0.2s, box-shadow 0.25s, background-color 0.2s;
}
select { appearance: none; padding-right: 44px; background: rgb(10 5 10 / 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8df5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 15px center / 18px no-repeat; }
select option, select optgroup { background: #1d111b; color: var(--ink); }
textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #85737d; }
input:hover, select:hover, textarea:hover { border-color: rgb(255 255 255 / 0.28); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lime); background-color: rgb(10 5 10 / 0.75); box-shadow: 0 0 0 4px rgb(184 223 92 / 0.16), 0 0 30px -8px rgb(184 223 92 / 0.5); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 17px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 600; cursor: pointer; color: var(--text); transition: 0.2s; }
.choice:hover span { border-color: rgb(255 255 255 / 0.32); }
.choice input:checked + span { border-color: var(--lime); background: rgb(184 223 92 / 0.12); color: var(--lime); box-shadow: 0 0 22px -8px rgb(184 223 92 / 0.7); }
.choice input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.form .btn--block { min-height: 58px; font-size: 1.06rem; margin-top: 8px; }
.form .fine { margin: 16px 0 0; text-align: center; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 15px; margin-bottom: 24px; }
.notice .icon { margin-top: 2px; }
.notice--ok { background: rgb(184 223 92 / 0.12); color: var(--lime); border: 1px solid rgb(184 223 92 / 0.35); }
.notice--err { background: rgb(224 93 93 / 0.14); color: #ffb3b3; font-weight: 600; border: 1px solid rgb(224 93 93 / 0.4); }
.aside-card { position: sticky; top: calc(var(--header-h) + 28px); padding: 32px; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgb(126 38 88 / 0.3), rgb(255 255 255 / 0.02)); border: 1px solid var(--line-2); }
.aside-card h2 { font-size: 1.55rem; margin-bottom: 22px; }
.aside-contact { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.aside-contact p { margin: 0 0 6px; color: var(--muted); font-weight: 600; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-list .icon { width: 46px; height: 46px; padding: 11px; border-radius: 15px; background: rgb(184 223 92 / 0.1); color: var(--lime); border: 1px solid rgb(184 223 92 / 0.25); }
.contact-list strong { display: block; }
.contact-list a { font-weight: 700; }
.contact-list span { color: var(--text); opacity: 0.85; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } .aside-card { position: static; } }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding-top: calc(var(--header-h) + clamp(60px, 9vw, 130px)); min-height: 86vh; background: radial-gradient(80% 80% at 50% 0%, #2b0c23, var(--night) 65%); }
.notfound .stage { width: 140px; margin: 0 auto 18px; filter: invert(1) hue-rotate(180deg) saturate(1.6) drop-shadow(0 0 12px rgb(184 223 92 / 0.5)); }
.fx .notfound .stage { animation: td-float 6s ease-in-out infinite; }
.notfound .lead { margin-inline: auto; }
.notfound .cta-row { justify-content: center; }
.notfound .ghost-word { position: absolute; z-index: -1; left: 50%; bottom: -0.1em; translate: -50% 0; font: 800 clamp(10rem, 34vw, 30rem)/0.8 var(--f-head); letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.07); pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, var(--night) 0%, #0b050b 100%); color: var(--muted); padding: clamp(64px, 8vw, 110px) 0 28px; border-top: 1px solid var(--line); }
.site-footer::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -260px; width: 900px; height: 520px; margin-left: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgb(126 38 88 / 0.35), transparent); pointer-events: none; }
.site-footer a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--sun); }
.site-footer .btn--sun, .site-footer .btn--sun:hover { color: var(--night); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { max-width: 26rem; }
.footer-tagline { font: 700 1.2rem/1.3 var(--f-head); color: var(--ink); margin: 20px 0 8px; }
.footer-h { font: 700 0.78rem/1.2 var(--f-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--lime); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-phone { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; }
.footer-phone .icon { color: var(--sun); }
.footer-word {
  margin: clamp(48px, 7vw, 90px) 0 0; text-align: center; white-space: nowrap; user-select: none;
  font: 800 clamp(4rem, 17vw, 17.5rem)/0.82 var(--f-head); letter-spacing: -0.06em;
  color: transparent; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / 0.16);
  /* A band of light sweeps across the outlined word as the footer scrolls in (site.js sets --fp). */
  background: linear-gradient(100deg, transparent 30%, rgb(217 71 154 / 0.9) 41%, var(--sun) 50%, var(--lime) 59%, transparent 70%);
  background-size: 300% 100%; background-position: calc(var(--fp, 0.5) * 100%) 0;
  -webkit-background-clip: text; background-clip: text;
}
.footer-bottom { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 0.9rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveals (site.js adds .rv and then .in) ---------- */
.fx .rv { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 1s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 85ms); }
.fx .rv.in { opacity: 1; transform: none; filter: none; }
.fx .rv--left { transform: translateX(-40px); }
.fx .rv--scale { transform: scale(0.94); }
/* Tilted cards keep their own transform once revealed. */
.fx .rv.in[data-tilt] { transition: opacity 0.9s var(--ease), transform 0.5s var(--ease), filter 0.9s var(--ease), border-color 0.3s, box-shadow 0.4s; }

/* ---------- Print ---------- */
@media print {
  :root { color-scheme: light; }
  body { background: #fff; color: #000; font-size: 11pt; }
  body::after, .site-header, .site-footer, .cta-band, .jump, .nav-toggle, .canopy, .aurora, .marquee-band, .cursor-glow { display: none !important; }
  h1, h2, h3, strong, .hl { color: #000 !important; -webkit-text-fill-color: #000 !important; }
  .section { padding: 18pt 0; }
}

/* Refresh offer on the homepage: redesign plus lower upkeep */
.refresh { align-items: center; }
.refresh .section-head { margin-bottom: 26px; }
.refresh .check-list { margin-bottom: 30px; }
.refresh-alt { display: flex; gap: 16px; align-items: flex-start; margin-top: 30px; padding: 18px 20px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); }
.refresh-alt .ico { width: 42px; height: 42px; border-radius: 12px; }
.refresh-alt .ico .icon { width: 21px; height: 21px; }
.refresh-alt p { margin: 0; color: var(--muted); line-height: 1.55; }
.refresh-alt strong { color: var(--text); }
.refresh-alt .link-arrow { white-space: nowrap; }
.upkeep h3 { margin-bottom: 8px; }
.upkeep-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 18px; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.upkeep-label { font-weight: 700; color: var(--text); }
.upkeep-num { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 800 clamp(2rem, 1.3rem + 2.2vw, 3.1rem)/1 var(--f-head); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.upkeep-per { grid-column: 1; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.upkeep-row--them .upkeep-num { color: var(--muted); }
.upkeep-row--us .upkeep-num { background: linear-gradient(180deg, var(--lime), var(--mint)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.upkeep .fine { margin: 16px 0 0; }
@media (max-width: 420px) { .upkeep-row { grid-template-columns: 1fr; } .upkeep-num { grid-column: 1; grid-row: auto; margin: 6px 0 2px; } }
