/* =========================================================================
   AGENTHUSIAST — "CLEAR"  ·  Premium Dark + Liquid Glass  ·  Direction B: Ember Studio
   Warm charcoal base · iridescent (prismatic) accents · Instrument Sans/Serif.
   Tokens are the single source of truth. WCAG 2.1 AA locked.
   ========================================================================= */

/* ---------- self-hosted fonts (CSP font-src 'self') ---------- */
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-italic.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  /* surfaces (warm charcoal, red-shifted, never navy, never #000) */
  --bg-0: #141110;
  --bg-1: #1A1817;
  --bg-2: #232020;

  /* text */
  --text-1: #F4F1EC;   /* 16.7:1 on bg-0 */
  --text-2: #B7B1A9;   /* 8.9:1  on bg-0 */
  --text-3: #8F8A83;   /* labels/eyebrows, >=16px only */

  /* liquid glass */
  --glass-fill: rgba(255, 253, 250, 0.06);
  --glass-fill-hover: rgba(255, 253, 250, 0.09);
  --glass-border: rgba(255, 253, 250, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.25);
  --glass-blur: 20px;
  --glass-saturate: 160%;

  /* prismatic accent (iridescence = the "warmth"; edges & one hero object only) */
  --prism: conic-gradient(from 210deg,
    #F6C2AD 0%, #F2DDA8 14%, #C9E8B8 30%, #A8DEDC 46%,
    #ADC4F5 62%, #D4B3F0 78%, #F0B3CE 90%, #F6C2AD 100%);

  /* solid accents */
  --cta: #EDEAE4;      /* pearl button */
  --cta-ink: #141312;
  --accent: #FFB489;   /* apricot: links, active, focus (10.8:1 on bg-0) */

  /* ambient light field (behind glass) */
  --glow-ember: rgba(255, 140, 100, 0.10);
  --glow-violet: rgba(160, 130, 220, 0.08);
  --glow-teal: rgba(110, 200, 190, 0.07);

  /* system */
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --micro: 200ms;
  --reveal: 700ms;
  --display: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg-0);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text-1);
  font-family: var(--body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  background: var(--bg-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- typography ---------- */
h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--text-1); font-weight: 500; }
h1 { font-family: var(--display); font-size: clamp(2.75rem, 1.2rem + 6.2vw, 5.5rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-family: var(--display); font-size: clamp(2rem, 1.1rem + 3.4vw, 3.375rem); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-family: var(--display); font-size: clamp(1.3125rem, 1.1rem + 0.9vw, 1.625rem); line-height: 1.25; letter-spacing: -0.01em; }
p  { color: var(--text-2); margin: 0 0 1rem; }

/* the signature move: one word per headline in serif italic */
.ital { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

.lead { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem); line-height: 1.5; color: var(--text-2); max-width: 62ch; }
.eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 500;
  font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-3); margin: 0 0 16px;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vh, 112px) 0; position: relative; }
.section-alt { background: var(--bg-1); }
.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .lead { margin-left: auto; margin-right: auto; }

/* faint fixed glow field behind glass, per section that needs it */
.glow-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow-field::before, .glow-field::after {
  content: ""; position: absolute; border-radius: 50%;
}
.glow-field::before {
  width: 70vw; height: 70vw; left: -10vw; top: -20vw;
  background: radial-gradient(closest-side, var(--glow-ember), transparent 70%);
}
.glow-field::after {
  width: 60vw; height: 60vw; right: -15vw; bottom: -20vw;
  background: radial-gradient(closest-side, var(--glow-violet), transparent 70%);
}
.section > .container { position: relative; z-index: 1; }

/* skip + focus (AA) */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--cta); color: var(--cta-ink); padding: 10px 16px; font-weight: 600; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

/* =========================================================================
   LIQUID GLASS  (reusable material)
   ========================================================================= */
.glass {
  position: relative;
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(0, 0, 0, 0.20),
    0 20px 50px -20px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
/* prismatic 1px edge refraction (masked border ring) */
.glass--prism::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; background: var(--prism);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0.55; filter: blur(0.4px); pointer-events: none; z-index: 1;
}
/* diagonal sheen sweep on hover */
.glass--sheen::after {
  content: ""; position: absolute; inset: -60% -25%;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.13) 50%, transparent 62%);
  transform: translateX(-75%); transition: transform 0.85s var(--ease); pointer-events: none; z-index: 1;
}
.glass--sheen:hover::after { transform: translateX(75%); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(28, 26, 25, 0.92); }
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  font-family: var(--display); font-weight: 500; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform var(--micro) var(--ease), background var(--micro) var(--ease), border-color var(--micro) var(--ease), box-shadow var(--micro) var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }
.btn-arrow { transition: transform var(--micro) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary { position: relative; background: var(--cta); color: var(--cta-ink); box-shadow: 0 10px 30px -12px rgba(0,0,0,0.7); }
.btn-primary::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--prism);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity var(--micro) var(--ease); pointer-events: none;
}
.btn-primary:hover::before { opacity: 0.9; }

.btn-ghost { background: transparent; color: var(--text-1); border-color: var(--glass-border); }
.btn-ghost:hover { background: var(--glass-fill); border-color: rgba(255,253,250,0.24); }

/* =========================================================================
   NAV  (glass; mobile menu is an absolute dropdown, never a clipped fixed drawer)
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--micro) var(--ease), border-color var(--micro) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
  border: 1px solid transparent; border-radius: 0;
  transition: max-width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease),
    padding 0.45s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease),
    border-radius 0.45s var(--ease), box-shadow 0.35s var(--ease);
}

/* Mobile: simple translucent bar on scroll */
@media (max-width: 860px) {
  .nav.scrolled {
    background: rgba(20, 17, 16, 0.9);
    -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
    border-bottom-color: var(--glass-border);
  }
}

/* Desktop: nav contracts into a floating Dynamic-Island pill on scroll,
   with a soft opal glow flowing around the border. */
@media (min-width: 861px) {
  .nav.scrolled .nav-inner {
    position: relative; max-width: 920px; height: 58px; margin: 12px auto 0;
    padding: 0 12px 0 22px; border-radius: 100px;
    background: rgba(26, 24, 23, 0.55);   /* liquid glass haze */
    -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 var(--glass-highlight), 0 16px 42px -20px rgba(0,0,0,0.7);
  }
  /* a glaring opal beam painted onto the rounded outline so the streak flows with the curve */
  .nav.scrolled .nav-inner::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2.5px;
    background: conic-gradient(from var(--beam-angle),
      transparent 0deg, transparent 282deg,
      rgba(246,194,173,0.5) 306deg,
      rgba(255,250,244,1) 332deg,
      rgba(200,214,255,0.7) 350deg,
      transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    filter: drop-shadow(0 0 7px rgba(255,249,242,1)) drop-shadow(0 0 15px rgba(255,221,192,0.7)) drop-shadow(0 0 26px rgba(173,196,245,0.45));
    opacity: 1; animation: beamSpin 6.875s linear infinite; pointer-events: none; z-index: 1;
  }
}
@property --beam-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes beamSpin { to { --beam-angle: 360deg; } }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-1); font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; overflow: visible; flex: 0 0 auto; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer-word { display: inline-flex; align-items: center; gap: 9px; }
.brand-accent { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a { color: var(--text-2); font-family: var(--display); font-weight: 500; font-size: 0.95rem; padding: 9px 14px; border-radius: 100px; transition: color var(--micro) var(--ease), background var(--micro) var(--ease); }
.nav-links > a:hover { color: var(--text-1); background: var(--glass-fill); text-decoration: none; }
.nav-links > a.btn-primary { color: var(--cta-ink); margin-left: 8px; padding: 11px 20px; }
.nav-links > a.btn-primary:hover { color: var(--cta-ink); background: var(--cta); }

.nav-toggle { display: none; background: transparent; border: 1px solid var(--glass-border); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; padding: 0; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-1); border-radius: 2px; transition: transform var(--micro) var(--ease), opacity var(--micro) var(--ease); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: rgba(26, 24, 23, 0.82);
    -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-border); border-radius: 20px;
    box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--micro) var(--ease), transform var(--micro) var(--ease), visibility var(--micro);
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links > a { padding: 13px 16px; font-size: 1.05rem; }
  .nav-links > a.btn-primary { margin-left: 0; text-align: center; justify-content: center; margin-top: 4px; }
}

/* =========================================================================
   HERO — "The Storefront Pane"
   ========================================================================= */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; overflow: hidden; padding-top: 92px; }
.hero-light { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-light span {
  position: absolute; display: block; border-radius: 50%; will-change: transform;
}
.hero-light .b1 { width: 62vw; height: 62vw; left: -14vw; top: -18vw; background: radial-gradient(closest-side, var(--glow-ember), transparent 70%); animation: drift1 58s var(--ease) infinite alternate; }
.hero-light .b2 { width: 54vw; height: 54vw; right: -12vw; top: 6vw; background: radial-gradient(closest-side, var(--glow-violet), transparent 70%); animation: drift2 64s var(--ease) infinite alternate; }
.hero-light .b3 { width: 46vw; height: 46vw; left: 24vw; bottom: -22vw; background: radial-gradient(closest-side, var(--glow-teal), transparent 70%); animation: drift3 52s var(--ease) infinite alternate; }
@keyframes drift1 { from { transform: translate(0,0); } to { transform: translate(6vw, 5vw); } }
@keyframes drift2 { from { transform: translate(0,0); } to { transform: translate(-5vw, 7vw); } }
@keyframes drift3 { from { transform: translate(0,0); } to { transform: translate(4vw, -5vw); } }

/* drifting real-client marquee behind the pane */
.hero-marquee { position: absolute; inset: 0; z-index: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hero-marquee-track { position: absolute; top: 50%; left: 0; display: flex; gap: 28px; transform: translateY(-50%); animation: heroScroll 90s linear infinite; will-change: transform; }
.hero-shot { flex: 0 0 auto; width: 360px; height: 246px; border-radius: 16px; overflow: hidden; opacity: 0.6; filter: saturate(0.82) brightness(1.02); border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 24px 60px -24px rgba(0,0,0,0.7); }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
@keyframes heroScroll { from { transform: translate(0, -50%); } to { transform: translate(-50%, -50%); } }
.hero-marquee:hover .hero-marquee-track { animation-play-state: paused; }

.hero-inner { position: relative; z-index: 2; width: 100%; min-width: 0; }
.hero-pane {
  width: 100%; max-width: 720px; min-width: 0; padding: clamp(26px, 4vw, 48px);
  transform: perspective(1400px) rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
  transition: transform 240ms var(--ease);
  will-change: transform;
}
.hero-chip { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 500; font-size: 0.85rem; color: var(--text-2); padding: 7px 14px; border-radius: 100px; background: var(--glass-fill); border: 1px solid var(--glass-border); margin-bottom: 22px; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee0a0; box-shadow: 0 0 10px #7ee0a0; }
.hero h1 { margin: 0; }
.hero-sub { margin: 22px 0 0; max-width: 48ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; color: var(--text-2); font-size: 0.95rem; }
.hero-stars { color: #FFC96B; letter-spacing: 2px; }
.hero-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }

/* hero condense-in (single kinetic moment) */
.hero-pane.condense { animation: paneIn 1.1s var(--ease) both; }
.hero-pane.condense::before { animation: ringIn 1.2s var(--ease) 0.15s both; }
@keyframes paneIn {
  0% { opacity: 0; -webkit-backdrop-filter: blur(0) saturate(100%); backdrop-filter: blur(0) saturate(100%); transform: perspective(1400px) translateY(18px) scale(0.985); border-color: transparent; box-shadow: none; }
  100% { opacity: 1; }
}
@keyframes ringIn { 0% { opacity: 0; } 100% { opacity: 0.55; } }
.hero-pane.condense .stagger { opacity: 0; animation: fadeUp 0.7s var(--ease) both; }
.hero-pane.condense .stagger:nth-child(1) { animation-delay: 0.35s; }
.hero-pane.condense .stagger:nth-child(2) { animation-delay: 0.47s; }
.hero-pane.condense .stagger:nth-child(3) { animation-delay: 0.59s; }
.hero-pane.condense .stagger:nth-child(4) { animation-delay: 0.71s; }
.hero-pane.condense .stagger:nth-child(5) { animation-delay: 0.83s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .hero { padding-top: 84px; }
  .hero-pane { padding: 24px 20px; max-width: 340px; }
  .hero h1 { font-size: clamp(2.3rem, 9.5vw, 3rem); }
  .hero-sub { font-size: 1.05rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-chip { font-size: 0.8rem; }
  .hero-trust { font-size: 0.88rem; gap: 10px; }
}
@media (max-width: 374px) { .hero-pane { max-width: 288px; } }

/* =========================================================================
   GENERIC PAGE HERO (subpages: guarantee, work, contact, quote, industry, etc.)
   ========================================================================= */
.page-hero { position: relative; padding: clamp(118px, 17vh, 176px) 0 clamp(44px, 7vh, 76px); text-align: center; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; max-width: 820px; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { margin: 0; overflow-wrap: break-word; }
.page-hero .lead { margin: 22px auto 0; }
@media (max-width: 560px) {
  .page-hero { padding-top: 96px; }
  .page-hero h1 { font-size: clamp(2.05rem, 8.6vw, 2.9rem); }
  .page-hero .lead { font-size: 1.05rem; }
  .page-hero .hero-cta { flex-direction: column; align-items: stretch; }
  .page-hero .hero-cta .btn { width: 100%; }
}
.page-hero .hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
.page-hero.left { text-align: left; }
.page-hero.left .container { margin: 0 auto; }
.page-hero.left .lead { margin-left: 0; }
.page-hero.left .hero-cta { justify-content: flex-start; }

/* =========================================================================
   STAT TILES
   ========================================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 30px 26px; text-align: left; border-radius: 20px; }
.stat-num { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; color: var(--text-1); }
.stat-num .unit { font-size: 0.5em; color: var(--accent); margin-left: 2px; }
.stat-label { color: var(--text-2); font-size: 0.98rem; margin-top: 10px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   INDUSTRY "SEE YOURSELF" GRID
   ========================================================================= */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind-tile { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border-radius: 20px; color: var(--text-1); transition: transform 0.34s var(--ease), background 0.34s var(--ease), box-shadow 0.34s var(--ease), border-color 0.34s var(--ease); }
.ind-tile:hover { transform: translateY(-8px) scale(1.04); background: var(--glass-fill-hover); border-color: rgba(255,253,250,0.24); box-shadow: inset 0 1px 0 var(--glass-highlight), 0 34px 70px -26px rgba(0,0,0,0.7); text-decoration: none; z-index: 2; }
.ind-tile:hover .ind-ic { color: var(--text-1); background: rgba(255,180,137,0.16); border-color: rgba(255,180,137,0.4); }
.ind-tile .ind-ic { transition: color var(--micro) var(--ease), background var(--micro) var(--ease), border-color var(--micro) var(--ease); }
.ind-tile .ind-ic { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--glass-fill); border: 1px solid var(--glass-border); color: var(--accent); }
/* glass PNG icons: float them, no box */
.ind-tile .ind-ic.gic, .ind-tile:hover .ind-ic.gic { width: 58px; height: 58px; background: transparent; border-color: transparent; box-shadow: none; padding: 0; }
.ind-ic.gic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.risk-item .gic-img { width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; }
.ind-tile h3 { margin: 0; }
.ind-tile p { margin: 0; font-size: 0.95rem; }
.ind-tile .ind-go { margin-top: auto; color: var(--accent); font-family: var(--display); font-weight: 500; font-size: 0.9rem; padding-top: 6px; }
@media (max-width: 860px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ind-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { display: flex; flex-direction: column; padding: 32px 28px; border-radius: 20px; color: var(--text-1); text-decoration: none; transition: transform 0.34s var(--ease), background 0.34s var(--ease), box-shadow 0.34s var(--ease), border-color 0.34s var(--ease); }
.step:hover { transform: translateY(-8px) scale(1.04); background: var(--glass-fill-hover); border-color: rgba(255,253,250,0.24); box-shadow: inset 0 1px 0 var(--glass-highlight), 0 34px 70px -26px rgba(0,0,0,0.7); text-decoration: none; z-index: 2; }
.step-num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--accent); display: block; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; }
.step p { margin: 0; }
.step-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--display); font-weight: 500; font-size: 0.92rem; color: var(--accent); opacity: 0; transform: translateY(8px); transition: opacity var(--micro) var(--ease), transform var(--micro) var(--ease); }
.step:hover .step-hint { opacity: 1; transform: none; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* =========================================================================
   WORK  (result tiles)
   ========================================================================= */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.work-card { display: block; border-radius: 22px; color: var(--text-1); transition: transform var(--micro) var(--ease); }
.work-card:hover { transform: translateY(-4px); text-decoration: none; }
.work-shot { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px 22px 0 0; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 600ms var(--ease); }
.work-card:hover .work-shot img { transform: scale(1.03); }
.work-meta { padding: 24px 24px 26px; }
.work-meta h3 { margin: 0 0 6px; }
.work-tag { font-family: var(--display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); }
.work-note { color: var(--text-2); font-size: 0.95rem; margin: 12px 0 14px; }
.work-stat { display: inline-block; font-family: var(--display); font-weight: 500; color: var(--text-1); font-size: 0.9rem; padding: 6px 14px; border-radius: 100px; background: var(--glass-fill); border: 1px solid var(--glass-border); }
.work-stat b { color: var(--accent); }
.work-visit { display: inline-block; margin-top: 14px; color: var(--accent); font-family: var(--display); font-weight: 500; font-size: 0.9rem; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   PRICING  (main.js injects .tier cards into #tiers and #plans)
   ========================================================================= */
.plans-head { margin-top: 84px; }
.plans-head h2 { font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.1rem); }
.plans-head .lead { font-size: 0.98rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.tier {
  position: relative; padding: 32px 28px; border-radius: 24px;
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 20px 50px -20px rgba(0,0,0,0.55);
}
.tier.featured { background: var(--glass-fill-hover); border-color: rgba(255, 253, 250, 0.24); }
/* glaring opal beam painted onto the rounded border so the streak flows with the curve, featured cards only */
.tier.featured::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 3px;
  background: conic-gradient(from var(--beam-angle),
    transparent 0deg, transparent 278deg,
    rgba(246,194,173,0.5) 302deg,
    rgba(255,250,244,1) 330deg,
    rgba(200,214,255,0.7) 349deg,
    transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: drop-shadow(0 0 8px rgba(255,249,242,1)) drop-shadow(0 0 18px rgba(255,221,192,0.75)) drop-shadow(0 0 32px rgba(173,196,245,0.5));
  opacity: 1; animation: beamSpin 7.5s linear infinite; pointer-events: none; z-index: 3;
}
.badge { display: inline-block; font-family: var(--display); font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); padding: 5px 12px; border-radius: 100px; border: 1px solid var(--glass-border); margin-bottom: 16px; }
.badge-best { color: var(--cta-ink); background: var(--cta); border-color: transparent; }
.tier h3 { margin: 0 0 6px; }
.tier-desc { color: var(--text-2); font-size: 0.82rem; line-height: 1.5; margin: 6px 0 14px; }
.price { font-family: var(--display); font-weight: 500; font-size: 2.6rem; letter-spacing: -0.02em; color: var(--text-1); margin: 8px 0; }
.price small { font-size: 0.9rem; font-weight: 400; color: var(--text-3); letter-spacing: 0; }
.value-note { color: var(--accent); font-size: 0.9rem; margin-bottom: 10px; }
.maint { color: var(--text-3); font-size: 0.85rem; margin: 4px 0 12px; }
.inherits { color: var(--text-2); font-size: 0.9rem; font-weight: 500; margin: 14px 0 8px; }
.tier ul { list-style: none; padding: 0; margin: 16px 0 24px; display: grid; gap: 11px; }
.tier li { position: relative; padding-left: 28px; color: var(--text-2); font-size: 0.96rem; line-height: 1.45; }
.tier li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--glass-fill); border: 1px solid var(--glass-border); }
.tier li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.tier .btn-primary { width: 100%; }
.error-banner { display: none; margin-top: 20px; padding: 14px 18px; border-radius: 12px; background: rgba(255,120,90,0.12); border: 1px solid rgba(255,120,90,0.3); color: #ffb59f; text-align: center; }
.error-banner.show { display: block; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* =========================================================================
   GUARANTEE BAND  (solid, not glass — a guarantee should feel solid)
   ========================================================================= */
.guarantee { background: var(--bg-2); }
.risk-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.risk-item { display: flex; gap: 16px; align-items: flex-start; }
.risk-item .svg-ic { flex: 0 0 auto; color: var(--accent); margin-top: 2px; }
.risk-item h3 { margin: 0 0 4px; font-size: 1.15rem; }
.risk-item p { margin: 0; font-size: 0.95rem; }
@media (max-width: 680px) { .risk-list { grid-template-columns: 1fr; } }

/* =========================================================================
   TESTIMONIALS + LOGO STRIP
   ========================================================================= */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1120px; margin: 0 auto; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
.review-card { padding: 30px 28px; border-radius: 22px; }
.review-stars { color: #FFC96B; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { color: var(--text-1); font-size: 1.05rem; line-height: 1.6; margin: 0 0 18px; }
.review-who { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-name { color: var(--text-1); font-weight: 500; font-family: var(--display); }
.review-role { color: var(--text-3); font-size: 0.85rem; }
.review-src { font-family: var(--display); font-size: 0.72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 620px) { .reviews-grid { grid-template-columns: 1fr; } }

.logo-strip { margin-top: 40px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; gap: 48px; align-items: center; width: max-content; animation: logoScroll 40s linear infinite; }
.logo-track span { color: var(--text-3); font-family: var(--display); font-weight: 500; font-size: 1.1rem; white-space: nowrap; opacity: 0.7; }
@keyframes logoScroll { to { transform: translateX(-50%); } }
.logo-strip:hover .logo-track { animation-play-state: paused; }

/* =========================================================================
   FOUNDER
   ========================================================================= */
.founder-card { display: grid; grid-template-columns: 132px 1fr; gap: 32px; align-items: center; max-width: 900px; margin: 0 auto; padding: 36px; border-radius: 24px; }
.founder-avatar { width: 132px; height: 132px; border-radius: 22px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--glass-fill); border: 1px solid var(--glass-border); }
.founder-avatar img { width: 84%; height: 84%; object-fit: contain; }
.founder-card h2 { margin: 6px 0 12px; }
.founder-card p { margin: 0 0 12px; }
.founder-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.founder-meta span { font-family: var(--display); font-size: 0.8rem; color: var(--text-2); border: 1px solid var(--glass-border); border-radius: 100px; padding: 7px 14px; }
@media (max-width: 620px) { .founder-card { grid-template-columns: 1fr; text-align: center; gap: 20px; } .founder-avatar { margin: 0 auto; } .founder-meta { justify-content: center; } }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border-radius: 16px; padding: 4px 24px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--display); font-weight: 500; font-size: 1.1rem; color: var(--text-1); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); font-weight: 400; transition: transform var(--micro) var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 20px; color: var(--text-2); }

/* =========================================================================
   FINAL CTA + FORM
   ========================================================================= */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; }
.cta-copy h2 { margin: 0 0 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.contact-form { padding: 30px; border-radius: 24px; display: grid; gap: 16px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 7px; font-family: var(--display); font-weight: 500; font-size: 0.9rem; color: var(--text-2); }
.contact-form .req { color: var(--accent); }
.contact-form input, .contact-form textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--text-1);
  background: var(--bg-0); border: 1px solid var(--glass-border); border-radius: 12px; padding: 13px 15px;
  transition: border-color var(--micro) var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { resize: vertical; min-height: 88px; }
.contact-form .btn-primary { width: 100%; }
.cta-detailed-link { font-size: 0.9rem; text-align: center; }
.form-note { font-size: 0.85rem; color: var(--text-3); text-align: center; margin: 0; }
@media (max-width: 820px) { .cta-grid { grid-template-columns: 1fr; gap: 28px; } .contact-form .form-row { grid-template-columns: 1fr; } }

/* =========================================================================
   AREAS + FOOTER
   ========================================================================= */
.areas-grid { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 30px 0 0; }
.areas-grid a { display: inline-block; padding: 10px 18px; border: 1px solid var(--glass-border); border-radius: 100px; font-family: var(--display); font-size: 0.88rem; color: var(--text-2); transition: border-color var(--micro) var(--ease), color var(--micro) var(--ease), transform var(--micro) var(--ease); }
.areas-grid a:hover { border-color: rgba(255,180,137,0.4); color: var(--accent); transform: translateY(-2px); text-decoration: none; }

.footer { background: var(--bg-1); border-top: 1px solid var(--glass-border); padding: 56px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 6px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--text-1); }
.footer-brand p { font-weight: 400; font-size: 0.9rem; color: var(--text-3); margin: 6px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-links a { color: var(--text-2); font-size: 0.92rem; }
.footer-copy { margin-top: 36px; color: var(--text-3); font-size: 0.85rem; }

/* mobile sticky call */
.call-fab { display: none; }
@media (max-width: 680px) {
  .call-fab { display: inline-flex; align-items: center; gap: 8px; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; justify-content: center; padding: 15px; border-radius: 100px; background: var(--cta); color: var(--cta-ink); font-family: var(--display); font-weight: 600; box-shadow: 0 14px 40px -10px rgba(0,0,0,0.8); }
  .call-fab:hover { text-decoration: none; }
}

/* =========================================================================
   MOTION SYSTEM
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--reveal) var(--ease), transform var(--reveal) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }

.svg-ic { display: inline-block; vertical-align: middle; }
.h-accent { color: var(--accent); }

/* =========================================================================
   CHAT WIDGET re-skin (chat.js injects its own blue styles after this file;
   override to warm liquid glass. Scoped to this page via clear.css only).
   ========================================================================= */
.ac-fab {
  background: rgba(26, 24, 23, 0.6) !important;
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--glass-border) !important;
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 12px 30px -8px rgba(0,0,0,0.6), 0 0 34px -6px rgba(255,180,137,0.45) !important;
}
.ac-fab svg { stroke: var(--accent) !important; }
.ac-fab:hover { box-shadow: inset 0 1px 0 var(--glass-highlight), 0 14px 34px -8px rgba(0,0,0,0.7), 0 0 44px -4px rgba(255,180,137,0.6) !important; }
.ac-panel { background: linear-gradient(180deg, rgba(26,24,23,0.98), rgba(18,17,16,0.99)) !important; border: 1px solid var(--glass-border) !important; }
.ac-head { background: linear-gradient(180deg, rgba(255,180,137,0.12), transparent) !important; border-bottom-color: var(--glass-border) !important; }
.ac-head b { font-family: var(--display) !important; color: var(--text-1) !important; }
.ac-head small { color: #7ee0a0 !important; }
.ac-x { color: var(--text-2) !important; }
.ac-msg.bot { background: var(--glass-fill) !important; color: var(--text-1) !important; border-color: var(--glass-border) !important; }
.ac-msg.user { background: var(--cta) !important; color: var(--cta-ink) !important; }
.ac-chip { background: var(--glass-fill) !important; border-color: var(--glass-border) !important; color: var(--text-2) !important; }
.ac-row input { background: var(--bg-0) !important; border-color: var(--glass-border) !important; color: var(--text-1) !important; }
.ac-row input:focus { border-color: var(--accent) !important; }
.ac-row button { background: var(--cta) !important; color: var(--cta-ink) !important; }

/* =========================================================================
   BOOK-A-CALL widget re-skin (book-call.js injects blue/navy styles after this
   file; override to warm liquid glass. Scoped to this page via clear.css).
   ========================================================================= */
.bc-card {
  background: linear-gradient(180deg, rgba(35,32,32,0.55), rgba(26,24,23,0.6)) !important;
  border: 1px solid var(--glass-border) !important;
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 22px 54px -26px rgba(0,0,0,0.65) !important;
}
.bc-kicker, .bc-label { font-family: var(--display) !important; color: var(--text-3) !important; }
.bc-sub, .bc-sub2, .bc-note, .bc-hint, .bc-loading, .bc-form label { color: var(--text-2) !important; }
.bc-day, .bc-time { border-color: var(--glass-border) !important; color: var(--text-1) !important; font-family: var(--display) !important; background: var(--glass-fill) !important; }
.bc-day-wd { color: var(--text-3) !important; font-family: var(--display) !important; }
.bc-day:hover, .bc-time:hover { border-color: var(--accent) !important; }
.bc-day.is-on { border-color: var(--accent) !important; background: rgba(255,180,137,0.12) !important; }
.bc-day.is-on .bc-day-wd { color: var(--accent) !important; }
.bc-time.is-on { border-color: var(--accent) !important; background: var(--cta) !important; color: var(--cta-ink) !important; }
.bc-form input, .bc-form textarea { background: var(--bg-0) !important; border-color: var(--glass-border) !important; color: var(--text-1) !important; font-family: var(--body) !important; }
.bc-form input:focus, .bc-form textarea:focus { border-color: var(--accent) !important; }
.bc-chosen, .bc-msg, .bc-success h4 { color: var(--text-1) !important; }
.bc-check { background: rgba(255,180,137,0.15) !important; color: var(--accent) !important; }

/* =========================================================================
   EDITORIAL LAYOUTS — de-boxed section treatments. Boxes are reserved for
   what sells (pricing tiers, work cards); these sections sit on the canvas.
   ========================================================================= */

/* Stats: the ledger line — big numerals, hairline dividers, no cards */
.stats-line { display: flex; justify-content: center; }
.stats-line .stat-item { flex: 1; max-width: 280px; padding: 6px 36px; text-align: center; border-left: 1px solid var(--glass-border); }
.stats-line .stat-item:first-child { border-left: 0; }
.stats-line .stat-num { font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 4.6vw, 4rem); letter-spacing: -0.03em; color: var(--text-1); line-height: 1; }
.stats-line .unit { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 0.5em; color: var(--accent); margin-left: 2px; }
.stats-line .stat-label { margin-top: 10px; font-size: 0.88rem; color: var(--text-3); }
@media (max-width: 860px) {
  .stats-line { flex-wrap: wrap; }
  .stats-line .stat-item { flex: 1 1 40%; max-width: none; border-left: 0; padding: 18px 10px; }
}

/* Industries: the trade index — editorial full-width rows, no tiles */
.trade-index { border-top: 1px solid var(--glass-border); }
.trade-index a { display: flex; align-items: center; gap: 22px; padding: 20px 10px; border-bottom: 1px solid var(--glass-border); color: var(--text-1); position: relative; transition: background var(--micro) var(--ease), padding-left 0.25s var(--ease); }
.trade-index a:hover { text-decoration: none; background: linear-gradient(90deg, rgba(255,180,137,0.06), transparent 70%); padding-left: 22px; }
.trade-index .ti-ic { flex: 0 0 auto; width: 52px; height: 52px; }
.trade-index .ti-ic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.trade-index .ti-name { font-family: var(--display); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 2.1rem); letter-spacing: -0.015em; transition: color var(--micro) var(--ease); }
.trade-index a:hover .ti-name { color: var(--accent); }
.trade-index .ti-go { margin-left: auto; font-family: var(--display); font-size: 0.9rem; color: var(--text-3); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: color var(--micro) var(--ease), transform 0.25s var(--ease); }
.trade-index a:hover .ti-go { color: var(--accent); transform: translateX(6px); }
@media (max-width: 640px) {
  .trade-index a { gap: 14px; padding: 16px 4px; }
  .trade-index .ti-ic { width: 40px; height: 40px; }
  .trade-index .ti-go span { display: none; } /* keep just the arrow */
}

/* Local search: floating triptych — items on the canvas, hairline rules */
.float-trio { display: flex; justify-content: center; text-align: center; }
.float-trio a { flex: 1; max-width: 320px; padding: 8px 34px; border-left: 1px solid var(--glass-border); color: var(--text-1); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.float-trio a:first-child { border-left: 0; }
.float-trio a:hover { text-decoration: none; }
.float-trio .ft-ic { width: 62px; height: 62px; transition: transform 0.3s var(--ease); }
.float-trio .ft-ic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.float-trio a:hover .ft-ic { transform: translateY(-4px); }
.float-trio h3 { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.float-trio .ft-go { font-family: var(--display); font-size: 0.9rem; color: var(--accent); }
.float-trio a:hover .ft-go { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .float-trio { flex-direction: column; align-items: center; gap: 30px; }
  .float-trio a { border-left: 0; padding: 0 10px; }
}

/* Reviews: staggered pull-quotes — no boxes, oversized serif marks */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 48px; align-items: start; }
.quote { position: relative; padding: 34px 0 0 26px; border-left: 1px solid var(--glass-border); }
.quote::before { content: "\201C"; position: absolute; top: -6px; left: 18px; font-family: var(--serif); font-style: italic; font-size: 4.6rem; line-height: 1; color: var(--accent); opacity: 0.85; }
.quote:nth-child(2) { margin-top: 0; }
.quote:nth-child(3) { margin-top: 0; }
.quote .q-stars { letter-spacing: 3px; font-size: 0.85rem; margin-bottom: 10px; }

/* Glistening 5 stars — a light sweep travels across the gold, premium feel */
.q-stars, .hero-stars, .review-stars {
  background: linear-gradient(110deg,
    #c9973f 18%, #f4cf7a 36%, #fff3d6 47%, #fff9ea 50%, #fff3d6 53%, #f4cf7a 64%, #c9973f 82%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: starGlisten 3.4s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(255, 216, 140, 0.28));
}
@keyframes starGlisten { 0% { background-position: 110% 0; } 60%, 100% { background-position: -110% 0; } }
@media (prefers-reduced-motion: reduce) {
  .q-stars, .hero-stars, .review-stars { animation: none; color: #E8C35F; -webkit-text-fill-color: #E8C35F; background: none; }
}
.quote p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--text-1); margin: 0 0 16px; }
.quote .q-name { font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--text-1); }
.quote .q-role { font-size: 0.85rem; color: var(--text-3); }
.quote .q-src { float: right; font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-top: 4px; }
@media (max-width: 860px) {
  .quotes { grid-template-columns: 1fr; gap: 40px; }
  .quote:nth-child(2), .quote:nth-child(3) { margin-top: 0; }
}

/* =========================================================================
   SCROLL INTRO — desktop-only scrub of the Higgsfield laptop video.
   Hidden by default (mobile + reduced-motion never see it); JS also gates.
   ========================================================================= */
.scrub-wrap { display: none; }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  /* Match-cut hand-off: -100vh margin parks the REAL pricing section exactly
     under the pinned final frame (video layer on top, z:2). It arrives at its
     resting position while still covered; the fade then reveals it in place. */
  .scrub-wrap { display: block; height: 320vh; margin-bottom: -100vh; position: relative; }
  .scrub-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; z-index: 2; pointer-events: none; }
  .scrub-canvas { background: var(--bg-0); }
  .scrub-canvas { width: 100%; height: 100%; display: block; }
  .scrub-hint {
    position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--display); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--text-2); background: rgba(20,17,16,0.55);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); border-radius: 100px; padding: 9px 18px;
    animation: hintPulse 2.2s ease-in-out infinite;
    transition: opacity 0.4s ease; pointer-events: none;
  }
  .scrub-hint.gone { opacity: 0; }
  @keyframes hintPulse { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-pane { transform: none !important; }
  .hero-marquee-track, .logo-track { animation: none; }
}

