/* =========================================================
   PyroMedia — "Industrial Ignition"
   Dark, angular, ember-lit. Cut corners everywhere.
   ========================================================= */

:root {
  --bg:        #0a0a0c;
  --bg-alt:    #131316;
  --bg-card:   #1a1a1e;
  --bg-card-2: #1f1f24;
  --border:    rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  --orange:        #ff5e1a;
  --orange-bright: #ff9248;
  --orange-deep:   #b3320a;
  --orange-glow:   rgba(255, 94, 26, 0.35);

  --white: #f5f4f1;
  --grey:  #9b9ba3;
  --grey-dim: #6b6b73;

  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Inter', sans-serif;

  --cut: 14px;
  --cut-sm: 8px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* always reserve the vertical scrollbar gutter so centered layouts never
     jump sideways when content height changes toggle the scrollbar (e.g. the
     pricing summary growing/shrinking as services are selected). No-op on
     overlay-scrollbar systems like mobile, so phones are unaffected. */
  scrollbar-gutter: stable;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

::selection {
  background: var(--orange);
  color: #0a0a0c;
}

/* =========================================================
   Texture layers
   ========================================================= */

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

/* =========================================================
   Typography helpers
   ========================================================= */

.kicker {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.text-accent { color: var(--orange); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.05rem 2.1rem;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-bright), var(--orange) 60%, var(--orange-deep));
  background-size: 200% 200%;
  background-position: 0% 0%;
  color: #100802;
  box-shadow: 0 8px 30px -10px var(--orange-glow);
}
.btn-primary:hover {
  background-position: 100% 100%;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px -8px rgba(255, 94, 26, 0.55);
}

/* shine sweep across buttons on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -160%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 160%; }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange-bright);
  transform: translateY(-3px);
}

/* =========================================================
   Header / Nav
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.4rem clamp(1.25rem, 5vw, 4rem);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s var(--ease), transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.nav-hidden { transform: translateY(-101%); }
.nav.scrolled {
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem clamp(1.25rem, 5vw, 4rem);
}

.nav-inner {
  max-width: 1760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* logo and CTA always keep their intended size — flexbox never shrinks
   them, so the right-hand CTA can't be squeezed or clipped */
.nav-logo, .nav-cta { flex: none; }

.nav-logo img {
  height: 52px;
  width: auto;
  transition: transform 0.3s var(--ease), height 0.4s var(--ease);
}
.nav.scrolled .nav-logo img { height: 44px; }
.nav-logo:hover img { transform: scale(1.04); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  white-space: nowrap;
  color: var(--grey);
  transition: color 0.3s var(--ease);
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 0.85rem 1.6rem; font-size: 0.78rem; }

/* Keep all seven links + CTA on one line between the mobile menu and full
   width. The full-size nav (logo + 7 links + CTA in the wide Unbounded
   display font) is ~1350px wide, so it overflows — and gets clipped by the
   page's overflow-x:hidden — on common laptop widths (1280/1366/1440/1536).
   Shrink gaps + type in two tiers as the viewport narrows so nothing is ever
   cut off, while leaving the 1920 desktop look untouched. */
@media (max-width: 1600px) and (min-width: 769px) {
  .nav-inner { gap: 1.5rem; }
  .nav-links { gap: 1.5rem; font-size: 0.76rem; letter-spacing: 0.1em; }
  .nav-cta { padding: 0.78rem 1.3rem; font-size: 0.74rem; }
}
@media (max-width: 1400px) and (min-width: 769px) {
  .nav-inner { gap: 1rem; }
  .nav-links { gap: 1rem; font-size: 0.7rem; letter-spacing: 0.07em; }
  .nav-cta { padding: 0.7rem 1rem; font-size: 0.68rem; }
  .nav-logo img { height: 46px; }
  .nav.scrolled .nav-logo img { height: 40px; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1.6rem;
  padding: 2.5rem 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-mobile a:not(.btn) { color: var(--grey); font-size: 1.1rem; }
.nav-mobile.open { display: flex; }
.nav-mobile .btn { align-self: flex-start; }

/* solid backdrop while the mobile menu is open (the header is transparent at
   the top of the page, so without this the links overlay the hero) */
.nav.menu-open {
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 6rem;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 18%, rgba(255,94,26,0.22), transparent 60%),
    radial-gradient(ellipse 35% 35% at 85% 75%, rgba(255,94,26,0.10), transparent 65%),
    radial-gradient(ellipse 35% 35% at 10% 80%, rgba(179,50,10,0.14), transparent 65%);
  animation: glowShift 16s ease-in-out infinite alternate;
}
@keyframes glowShift {
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.15) translate(2%, -2%); }
}

.sparks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.spark {
  position: absolute;
  bottom: -10px;
  width: var(--s, 4px);
  height: var(--s, 4px);
  background: var(--orange-bright);
  border-radius: 1px;
  box-shadow: 0 0 8px 1px var(--orange-glow);
  opacity: 0;
  animation: rise var(--dur, 9s) linear infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes rise {
  0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 0.6; }
  100% { transform: translate(var(--drift, 40px), -110vh) rotate(180deg); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(3rem, 11vw, 7.2rem);
  letter-spacing: -0.02em;
}
.hero-title .line {
  display: block;
  opacity: 0;
}
.hero-title.is-visible .line {
  animation: lineRise 1s var(--ease) forwards;
}
.hero-title.is-visible .accent-flicker {
  animation: lineRise 1s var(--ease) forwards, emberShimmer 7s ease-in-out infinite;
}
.hero-title.is-visible .line:nth-child(1) { animation-delay: 0.05s; }
.hero-title.is-visible .line:nth-child(2) { animation-delay: 0.16s, 0s; }
.hero-title.is-visible .line:nth-child(3) { animation-delay: 0.27s; }
.hero-title.is-visible .line:nth-child(4) { animation-delay: 0.38s, 0s; }
@keyframes lineRise {
  from { opacity: 0; transform: translateY(56px) scale(0.98); filter: blur(12px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.hero-title .accent-flicker {
  background: linear-gradient(120deg, var(--orange-bright), var(--orange) 35%, var(--orange-deep) 55%, var(--orange) 75%, var(--orange-bright));
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
@keyframes emberShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-sub {
  margin-top: 2rem;
  max-width: 620px;
  font-size: 1.08rem;
  color: var(--grey);
}

.hero-actions {
  margin-top: 2.75rem;
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-tagline {
  margin-top: 3.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-dim);
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--border);
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
}
.spark-icon { width: 14px; height: 14px; color: var(--orange); }
.spark-icon svg { width: 100%; height: 100%; }

/* =========================================================
   Marquee
   ========================================================= */

.marquee {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
  padding: 1.1rem 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--grey);
  animation: marquee 32s linear infinite;
}
.marquee-track .dot { color: var(--orange); font-size: 0.6rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   Section shared
   ========================================================= */

main > section {
  position: relative;
  z-index: 2;
  padding: 7rem clamp(1.25rem, 5vw, 4rem);
}

.section-head {
  max-width: 1400px;
  margin: 0 auto 4rem;
}
.section-head h2 { max-width: 14ch; }

/* =========================================================
   Services
   ========================================================= */

.services { background: var(--bg); }

.services-grid {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.service-card {
  flex: 1 1 250px;
  max-width: 285px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  padding: 2.75rem 2.25rem;
  position: relative;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              opacity 0.7s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
/* warm ember rising from the base on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 55% at 50% 105%, rgba(255, 94, 26, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.service-card:hover {
  background: var(--bg-card-2);
  border-color: rgba(255, 94, 26, 0.45);
  transform: translateY(-12px) scale(1.035);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.8),
              0 0 46px -12px var(--orange-glow);
  z-index: 3;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
/* the ghost number drifts up + warms as the card pops */
.service-card:hover .service-num {
  transform: translateY(-4px);
  -webkit-text-stroke-color: rgba(255, 94, 26, 0.6);
  transition: transform 0.45s var(--ease), -webkit-text-stroke-color 0.45s var(--ease);
}

/* big ghost number in the corner — thin orange outline */
.service-num {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 94, 26, 0.3);
  pointer-events: none;
}

/* =========================================================
   Service card "ignition" entrance
   — flame sweep washes through, icon strokes draw
   themselves in, number settles into place
   ========================================================= */

/* cards use a crisp rise instead of the default blur reveal */
.service-card.reveal { filter: none; }

/* flame wash that sweeps up through the card once */
.service-sweep {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255, 94, 26, 0.16) 55%,
    rgba(255, 146, 72, 0.3) 100%);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.service-card.is-visible .service-sweep {
  animation: flameSweep 1.1s var(--ease) 0.1s forwards;
}
@keyframes flameSweep {
  0%   { transform: translateY(100%); opacity: 1; }
  60%  { opacity: 0.85; }
  100% { transform: translateY(-100%); opacity: 0; }
}

/* icon strokes draw themselves in */
.service-icon svg path,
.service-icon svg circle {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
}
.service-card.is-visible .service-icon svg path,
.service-card.is-visible .service-icon svg circle {
  animation: iconDraw 1.3s ease-out 0.35s forwards;
}
@keyframes iconDraw {
  to { stroke-dashoffset: 0; }
}

/* solid filled shapes inside icons fade in after the strokes */
.service-icon svg [fill="currentColor"] {
  opacity: 0;
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}
.service-card.is-visible .service-icon svg [fill="currentColor"] {
  animation: fillFade 0.5s ease-out 1.1s forwards;
}
@keyframes fillFade {
  to { opacity: 1; }
}

/* ghost number settles in from oversized */
.service-card.is-visible .service-num {
  animation: numSettle 0.9s var(--ease) 0.55s both;
}
@keyframes numSettle {
  from { opacity: 0; transform: scale(1.5); }
  to   { opacity: 1; transform: scale(1); }
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.75rem;
  color: var(--orange);
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}
.service-icon svg { width: 100%; height: 100%; }
.service-card:hover .service-icon {
  transform: scale(1.08);
  color: var(--orange-bright);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
  letter-spacing: 0;
}
.service-card p {
  color: var(--grey);
  font-size: 0.96rem;
}

/* =========================================================
   Work
   ========================================================= */

.work { background: var(--bg-alt); }

.work-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1.25rem;
}
.work-card--lg {
  grid-column: span 2;
}

.work-card {
  position: relative;
  display: block;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  border: 1px solid var(--border);
}

.work-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  opacity: 0.85;
  transition: transform 0.7s var(--ease);
}
.work-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.18) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.65) 100%);
}
.work-card:hover .work-card-bg { transform: scale(1.08); }

.work-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 1;
}
.work-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.6rem;
}
.work-card h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: 0;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.work-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.work-card:hover .work-link { opacity: 1; transform: translateY(0); }
.work-card:hover .work-link svg { transform: translateX(4px); }

/* =========================================================
   About
   ========================================================= */

.about { background: var(--bg); }

.about-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.75rem; }
.about-body {
  color: var(--grey);
  margin-bottom: 1.25rem;
  max-width: 50ch;
}
.about-text .btn { margin-top: 1rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.stat-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
}
.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
}

/* =========================================================
   Testimonials
   ========================================================= */

.testimonials { background: var(--bg-alt); }

.quote-mark { width: 32px; height: 24px; color: var(--orange); }
.testimonial-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.testimonial-role {
  font-size: 0.82rem;
  color: var(--grey-dim);
}

/* ---- Horizontal coverflow carousel ---- */
.testimonial-showcase {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 4vw, 3.25rem);
}

/* the framed track — neighbours peek out and get clipped at the edges */
.ts-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  height: clamp(330px, 64vw, 360px);
  overflow: hidden;
}
.ts-list { position: absolute; inset: 0; }

/* .ts-item = positioner (carousel transform + glow). .ts-card = visual box. */
.ts-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(280px, 60vw, 580px);
  height: clamp(290px, 46vw, 330px);
  transform: translate(-50%, -50%);
  cursor: pointer;
  will-change: transform, opacity;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease),
              box-shadow 0.4s var(--ease);
}
.ts-item.is-center {
  cursor: default;
  box-shadow: 0 28px 60px -22px rgba(0, 0, 0, 0.75),
              0 0 0 1px rgba(255, 94, 26, 0.18);
}

.ts-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  clip-path: polygon(
    var(--cut) 0, 100% 0,
    100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%,
    0 100%, 0 var(--cut)
  );
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.ts-item.is-center .ts-card {
  border-color: var(--orange);
  background:
    radial-gradient(130% 150% at 50% -30%, rgba(255, 94, 26, 0.14), transparent 60%),
    var(--bg-card-2);
}
/* thin ember rule along the top edge of the active card */
.ts-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.ts-item.is-center .ts-card::before { opacity: 0.6; }

/* molten flash that coats the card on entrance, then burns off */
.ts-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(155deg, var(--orange-bright), var(--orange) 52%, var(--orange-deep));
}

.ts-item .quote-mark {
  width: 38px;
  height: 28px;
  flex: none;
  opacity: 0.9;
}

.ts-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.98rem, 1.5vw, 1.3rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
  color: var(--white);
  overflow: hidden;
}
.ts-quote::before { content: "\201C"; }
.ts-quote::after  { content: "\201D"; }

.ts-author {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.ts-author-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* Arrows */
.ts-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(44px, 5vw, 52px);
  height: clamp(44px, 5vw, 52px);
  color: var(--white);
  background: var(--bg-card);
  border: 1px solid var(--border);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: color 0.3s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.ts-arrow svg { width: 22px; height: 22px; }
.ts-arrow:hover {
  color: var(--orange);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.ts-arrow:active { transform: translateY(0); }
.ts-arrow:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

/* ---- Scroll-triggered entrance: cards drop in, molten then cooling ---- */
.testimonial-showcase.pre-intro .ts-card { opacity: 0; }

.testimonial-showcase.is-entering .ts-card {
  animation: tsDrop 0.6s var(--ease) both;
}
.testimonial-showcase.is-entering .ts-card::after {
  animation: tsCool 0.62s var(--ease) both;
  animation-delay: inherit; /* match the parent card's stagger delay */
}
@keyframes tsDrop {
  0%   { opacity: 0; transform: translateY(-135%); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes tsCool {
  0%   { opacity: 1; }
  45%  { opacity: 1; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ts-item { transition: opacity 0.2s linear; }
  .testimonial-showcase.is-entering .ts-card,
  .testimonial-showcase.is-entering .ts-card::after { animation: none; }
}

/* =========================================================
   Pricing
   ========================================================= */

.pricing { background: var(--bg); }

.pricing .section-head { margin-bottom: 2.5rem; }
.pricing-sub {
  margin-top: 1.5rem;
  max-width: 60ch;
  color: var(--grey);
  font-size: 1.02rem;
}

/* --- billing toggle --- */
.billing {
  max-width: 1400px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
/* compact placement — sits on top of the builder summary in the sidebar */
.billing--compact { margin: 0 0 1rem; }
/* locked state — until a package with a monthly fee is selected, nothing would
   change on toggle, so grey it out and block interaction */
.billing.is-disabled { opacity: 0.4; }
.billing.is-disabled .billing-switch { cursor: not-allowed; }
.billing.is-disabled .billing-opt { cursor: default; }
.billing-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 1.1rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
}
.billing-opt {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s var(--ease);
}
.billing-opt.is-active { color: var(--white); }
.billing-save {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--orange);
  border: 1px solid rgba(255, 94, 26, 0.4);
  padding: 0.18rem 0.45rem;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.billing-switch {
  position: relative;
  width: 58px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-alt);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  flex: none;
}
.billing-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grey);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.billing-switch[aria-checked="true"] {
  background: linear-gradient(135deg, var(--orange-bright), var(--orange-deep));
  border-color: transparent;
}
.billing-switch[aria-checked="true"] .billing-knob {
  transform: translateX(28px);
  background: #100802;
}
.billing-note {
  max-width: 52ch;
  font-size: 0.82rem;
  color: var(--grey-dim);
  line-height: 1.5;
}

/* --- cards --- */
.pricing-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.price-card {
  position: relative;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  transform-origin: top center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

/* creative staggered entrance — cards tilt up into place (driven by
   .is-visible from the shared reveal observer; vertical/Z transforms
   only, so it can never push the page sideways). `backwards` fill
   reverts to the resting transform so the hover lift still works. */
.price-card.reveal {
  opacity: 0;
  transform: none;
  filter: none;
  transition: none;
}
.price-card.reveal.is-visible {
  opacity: 1;
  animation: priceCardIn 0.9s var(--ease) backwards;
}
@keyframes priceCardIn {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateX(16deg) translateY(50px);
    filter: blur(6px);
  }
  60% { filter: blur(0); }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateX(0) translateY(0);
    filter: blur(0);
  }
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.price-card:hover {
  background: var(--bg-card-2);
  border-color: rgba(255, 94, 26, 0.3);
  transform: translateY(-8px);
}
.price-card:hover::before { transform: scaleX(1); }

/* popular emphasis — tasteful, no scale.
   clip-path is dropped here so the "Most Popular" badge can bleed past
   the top edge instead of being clipped by the card's cut corner. */
.price-card--popular {
  clip-path: none;
  border-color: rgba(255, 94, 26, 0.45);
  box-shadow: 0 20px 60px -30px var(--orange-glow);
}
.price-card--popular::before { transform: scaleX(1); }
.price-card--popular:hover {
  border-color: var(--orange);
  box-shadow: 0 26px 70px -28px rgba(255, 94, 26, 0.45);
}
.price-badge {
  position: absolute;
  top: 0;
  right: 1.85rem;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #100802;
  background: linear-gradient(135deg, var(--orange-bright), var(--orange-deep));
  padding: 0.4rem 0.8rem;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.price-card-head { min-height: 150px; }
.price-card h3 {
  font-size: 1.35rem;
  letter-spacing: 0;
  margin: 0 0 0.85rem;
}
.price-desc {
  color: var(--grey);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --- price block --- */
.price {
  padding: 1.5rem 0;
  margin: 0.5rem 0 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  /* fixed floor height: content always fits inside, so sub-pixel
     differences between the monthly and annual figures can never nudge
     the perks/button on toggle (also aligns buttons across cards) */
  min-height: 12.75rem;
}
.price-due { display: flex; flex-direction: column; gap: 0.1rem; margin-bottom: 0.75rem; }
.price-due-amt {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
}
.price-due-amt--text { font-size: 1.05rem; white-space: nowrap; }
.price-due-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-dim);
}
.price-recurring {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;          /* never wrap mid-count — wrapping reflowed everything below */
  white-space: nowrap;
  gap: 0.12rem;
  min-width: 0;
  color: var(--orange);
  font-family: var(--font-display);
  line-height: 1;
}
.price-plus {
  font-size: 1.3rem;
  font-weight: 600;
  margin-right: 0.35rem;
  color: var(--grey);
}
.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  align-self: flex-start;
  margin-top: 0.25rem;
}
.price-amount {
  font-size: 2.3rem;
  font-weight: 800;
  display: inline-block;
}
.price-amount.rolling { animation: priceRoll 0.6s var(--ease); }
@keyframes priceRoll {
  0%   { transform: translateY(0.45em); opacity: 0.15; filter: blur(3px); }
  100% { transform: translateY(0); opacity: 1; filter: blur(0); }
}
.price-period {
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey);
  align-self: flex-end;
  margin-bottom: 0.35rem;
}
.price-cadence {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--grey-dim);
  /* single line in both modes keeps the block height identical on toggle,
     so the perks/button never shift */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.5em;
}
/* swap cadence text by billing mode (scoped to whichever price region the
   billing toggle controls — service-page sections or the pricing builder) */
.cadence-annual { display: none; }
.billing-region.is-annual .cadence-monthly { display: none; }
.billing-region.is-annual .cadence-annual { display: inline; }
/* the annual subline carries more text than the monthly one — let it wrap so
   it isn't ellipsis-truncated (only in annual mode, so monthly is unchanged) */
.billing-region.is-annual .price-cadence {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

/* subtle savings line — only the dollar amount picks up the orange accent */
.cadence-save {
  color: var(--orange);
  font-weight: 600;
}

.price-btn {
  width: 100%;
  margin-bottom: 1.75rem;
  white-space: normal;       /* allow long labels to wrap instead of forcing column width */
  text-align: center;
  line-height: 1.25;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* --- perks --- */
.perks {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: auto;
}
.perks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.45;
}
.perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 12px;
  height: 12px;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.9;
}

.pricing-disclaimer {
  max-width: 900px;
  margin: 3rem auto 0;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--grey-dim);
}

/* =========================================================
   Contact
   ========================================================= */

.contact {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.contact-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 82% 18%, rgba(255,94,26,0.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 12% 92%, rgba(179,50,10,0.16), transparent 60%);
  pointer-events: none;
  animation: contactGlowDrift 12s ease-in-out infinite alternate;
}
@keyframes contactGlowDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.9; }
  100% { transform: translate3d(-2%, 1.5%, 0) scale(1.06); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .form-aura, .contact-glow { animation: none; }
}

.contact-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
}

.contact-text h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.5rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.75rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.contact-details a { transition: color 0.3s var(--ease); }
.contact-details a:hover { color: var(--orange); }

.social-links {
  display: flex;
  gap: 0.9rem;
}
.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-links a svg { width: 18px; height: 18px; }
.social-links a:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}

/* glowing ember halo behind the form */
.contact-form-shell { position: relative; }
.form-aura {
  position: absolute;
  inset: -3px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(135deg, var(--orange), transparent 38%, transparent 62%, var(--orange-deep));
  filter: blur(26px);
  opacity: 0.4;
  animation: auraPulse 7s ease-in-out infinite;
}
@keyframes auraPulse {
  0%, 100% { opacity: 0.32; }
  50%      { opacity: 0.6; }
}

.contact-form {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  padding: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
}
/* ember rule across the top edge of the form */
.contact-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--orange-bright), var(--orange), transparent);
  opacity: 0.8;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  letter-spacing: normal;
  text-transform: none;
  font-weight: 400;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--grey-dim); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--bg-card-2);
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23ff5e1a' stroke-width='2' fill='none' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

/* --- multi-select service dropdown --- */
.service-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.service-field-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}
.service-dropdown { position: relative; }

/* trigger looks like the other form fields */
.service-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 0.95rem;
  text-align: left;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.service-trigger:hover { border-color: var(--border-strong); }
.service-dropdown.open .service-trigger,
.service-trigger:focus-visible {
  outline: none;
  border-color: var(--orange);
  background: var(--bg-card-2);
}
.service-trigger-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-trigger-text.is-placeholder { color: var(--grey-dim); }
.service-caret {
  width: 12px;
  height: 8px;
  flex: none;
  color: var(--orange);
  transition: transform 0.3s var(--ease);
}
.service-dropdown.open .service-caret { transform: rotate(180deg); }

/* the pop-open panel */
.service-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  padding: 0.4rem;
  background: var(--bg-card-2);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.8);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.service-dropdown.open .service-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* option rows — specificity beats `.contact-form label` */
.service-panel .service-opt {
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  cursor: pointer;
  padding: 0.65rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--grey);
  border: 1px solid transparent;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  user-select: none;
}
/* custom checkbox tick */
.service-panel .service-opt::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border: 1px solid var(--border-strong);
  background: transparent center / 11px no-repeat;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.service-panel .service-opt:hover {
  color: var(--white);
  background: rgba(255, 94, 26, 0.08);
}
.service-panel .service-opt.is-active {
  color: var(--white);
  background: linear-gradient(90deg, rgba(255, 94, 26, 0.18), rgba(255, 94, 26, 0.03));
}
.service-panel .service-opt.is-active::before {
  border-color: var(--orange);
  background-color: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5L5 9.5L10 3' stroke='%230a0a0c' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.service-opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.service-opt:focus-within { outline: 2px solid var(--orange); outline-offset: -2px; }
.service-opt--full { margin-top: 0.15rem; }

.form-submit {
  margin-top: 0.5rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.btn-text--sent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.form-submit.sent .btn-text:not(.btn-text--sent) { transform: translateY(-100%); }
.form-submit.sent .btn-text--sent { transform: translateY(0); }
.form-submit .btn-text:not(.btn-text--sent) {
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease);
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  position: relative;
  z-index: 2;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 5rem clamp(1.25rem, 5vw, 4rem) 2rem;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
}
.footer-logo { height: 58px; width: auto; margin-bottom: 1rem; }
.footer-brand p {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-dim);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
  color: var(--orange);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-col a {
  color: var(--grey);
  font-size: 0.92rem;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--white); }

/* social icons in the footer reuse the boxed .social-links style; this just
   sets the resting/hover colour (placed after .footer-col a so it wins) */
.footer-social { margin-top: 0.15rem; }
.footer-social a { color: var(--grey); }
.footer-social a:hover { color: var(--orange); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--grey-dim);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1279px) {
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card-head { min-height: 0; }
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-card--lg { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .work-card--lg { grid-column: span 1; }

  .about-stats { grid-template-columns: 1fr 1fr; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }

  .form-row { grid-template-columns: 1fr; }

  .footer-cols { grid-template-columns: 1fr 1fr; }

  main > section { padding: 5rem 1.4rem; }

  /* ---- Hero (tablet & down) ---- */
  /* extra top room so the eyebrow clears the fixed header and the hero breathes */
  .hero { padding: 8.75rem 1.5rem 4.5rem; }
  .hero-title { font-size: clamp(2.6rem, 9vw, 4.4rem); line-height: 1.02; }
  .eyebrow { margin-bottom: 1.4rem; }
  .hero-sub { margin-top: 1.6rem; font-size: 1.02rem; }
  .hero-actions { margin-top: 2.25rem; }
  .hero-tagline { margin-top: 2.75rem; }
}

@media (max-width: 480px) {
  /* keep Services / Company side by side on phones instead of stacking */
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; }

  /* ---- Hero (phones) ----
     Slightly smaller, tighter headline so it reads powerful but never cramped,
     with balanced rhythm between eyebrow → headline → paragraph → buttons and
     a touch more breathing room from the screen edges. */
  .hero { padding: 8.5rem 1.5rem 4rem; }
  .hero-inner { width: 100%; }
  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    margin-bottom: 1.2rem;
    max-width: 30ch;
  }
  .hero-title { font-size: clamp(2.2rem, 11vw, 3rem); line-height: 1.04; }
  .hero-sub { margin-top: 1.4rem; font-size: 0.98rem; max-width: 38ch; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    gap: 0.8rem;
    margin-top: 2rem;
  }
  .hero-actions .btn { width: 100%; padding: 1.05rem 1.5rem; }
  .hero-tagline { margin-top: 2.25rem; }

  /* page hero (pricing/service pages) gets the same stacked, equal-width CTAs */
  .page-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    gap: 0.8rem;
  }
  .page-hero-actions .btn { width: 100%; padding: 1.05rem 1.5rem; }

  .billing-toggle { gap: 0.7rem; padding: 0.55rem 0.8rem; }
  .billing-opt { font-size: 0.74rem; letter-spacing: 0.06em; }
  .billing-switch { width: 50px; height: 27px; }
  .billing-switch[aria-checked="true"] .billing-knob { transform: translateX(23px); }
}

/* Very small phones (≤360px): the 2-up stat grids get too tight and the wide
   display-font numbers spill out of their cards. Stack them so nothing
   overflows. Larger phones (375px+) keep the 2×2 / 2-up layout. */
@media (max-width: 360px) {
  .about-stats { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
  .page-hero h1 { font-size: 2.1rem; }
}

/* Testimonials on phones: the boxed arrows plus the peeking neighbour cards
   overflow the viewport and clip the active quote. Shrink the arrows/gaps and
   let the centre card fill the stage so the whole quote fits with clean side
   padding and the arrows stay fully on-screen. Desktop is unchanged. */
@media (max-width: 600px) {
  .testimonial-showcase { gap: 0.5rem; }
  .ts-arrow { width: 40px; height: 40px; }
  .ts-arrow svg { width: 18px; height: 18px; }
  /* taller card so the longest quote (wide display font) fits without clipping */
  .ts-stage { height: 470px; }
  .ts-item { width: 100%; height: 450px; }
  .ts-item .quote-mark { width: 30px; height: 22px; }
  .ts-card { padding: 1.5rem 1.35rem; gap: 0.8rem; }
  .ts-quote { font-size: 0.92rem; line-height: 1.4; }
}

/* =========================================================
   Premium layer — progress bar, cursor glow, watermark,
   scrollbar, anchor offsets
   ========================================================= */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  z-index: 60;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange) 50%, var(--orange-bright));
  box-shadow: 0 0 12px var(--orange-glow);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,94,26,0.07), rgba(255,94,26,0.025) 45%, transparent 70%);
  pointer-events: none;
  z-index: 99;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition: opacity 0.6s ease;
  opacity: 0;
  will-change: transform;
}
body.cursor-on .cursor-glow { opacity: 1; }
@media (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* anchors land below the fixed nav */
section[id] { scroll-margin-top: 90px; }

/* giant outline watermark behind the footer */
.footer { overflow: hidden; }
.footer-watermark {
  position: absolute;
  bottom: -0.18em;
  left: 50%;
  transform: translate(-50%, 80px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(5rem, 17vw, 15rem);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.footer-inner, .footer-bottom { position: relative; }

/* ember pulse behind the tagline spark */
.spark-icon svg {
  animation: sparkPulse 2.8s ease-in-out infinite;
  transform-origin: center;
}
@keyframes sparkPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px var(--orange-glow)); }
  50%      { transform: scale(1.25) rotate(12deg); filter: drop-shadow(0 0 8px var(--orange)); }
}

/* tilt support for work cards */
.work-card { will-change: transform; transform-style: preserve-3d; }
.work-card .work-card-content { transform: translateZ(28px); }

/* marquee skew driven by scroll velocity */
.marquee { will-change: transform; }

/* custom scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--orange-deep), var(--orange));
  border: 3px solid var(--bg-alt);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-glow, .scroll-progress { display: none !important; }
}

/* =========================================================
   SERVICE PAGES — video hero
   ========================================================= */

.page-hero {
  position: relative;
  min-height: 86svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 1.5rem 6rem;
  overflow: hidden;
}

/* fallback gradient sits behind the video so a missing/broken
   file never leaves an ugly blank area */
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 15%, rgba(255,94,26,0.30), transparent 60%),
    radial-gradient(ellipse 45% 45% at 85% 80%, rgba(255,94,26,0.14), transparent 65%),
    radial-gradient(ellipse 45% 45% at 12% 85%, rgba(179,50,10,0.20), transparent 65%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.page-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.page-hero-media.video-failed video { display: none; }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.35) 40%, rgba(10,10,12,0.9) 100%),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(10,10,12,0.1), rgba(10,10,12,0.55) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.4rem);
  letter-spacing: -0.02em;
}
.page-hero-sub {
  margin-top: 1.75rem;
  max-width: 620px;
  font-size: 1.08rem;
  color: var(--grey);
}
.page-hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* =========================================================
   SERVICE PAGES — info sections (What We Do / Why / Who)
   ========================================================= */

.svc-section { background: var(--bg); }
.svc-section.alt { background: var(--bg-alt); }

.svc-head {
  max-width: 1400px;
  margin: 0 auto 3rem;
}
.svc-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 18ch; }
.svc-lead {
  margin-top: 1.5rem;
  max-width: 62ch;
  color: var(--grey);
  font-size: 1.05rem;
}

/* generic card grid reused for pillars (What We Do) and audience (Who) */
.info-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.info-card {
  position: relative;
  isolation: isolate;
  background: var(--bg-card);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  padding: 2.25rem 2rem;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, var(--orange), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.info-card:hover {
  background: var(--bg-card-2);
  border-color: rgba(255, 94, 26, 0.3);
  transform: translateY(-4px);
}
.info-card:hover::before { transform: scaleX(1); }
.info-card .info-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  color: var(--orange);
}
.info-card .info-icon svg { width: 100%; height: 100%; }
.info-card h3 {
  font-size: 1.2rem;
  letter-spacing: 0;
  margin-bottom: 0.7rem;
}
.info-card p { color: var(--grey); font-size: 0.94rem; }

/* two-column "Why it matters" — text + checklist */
.why-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-grid .why-body { color: var(--grey); margin-bottom: 1.25rem; max-width: 52ch; }
.why-list { display: flex; flex-direction: column; gap: 1rem; }
.why-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--white);
  font-size: 1rem;
}
.why-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.3em;
  width: 14px; height: 14px;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.why-list li span { color: var(--grey); display: block; font-size: 0.9rem; margin-top: 0.15rem; }

/* =========================================================
   SERVICE PACKAGE SECTIONS (data-driven, reuse .price-card)
   ========================================================= */

.svc-pricing { background: var(--bg); }
.svc-pricing.alt { background: var(--bg-alt); }

/* package grids rendered from data.js — adapt column count to card count */
.pkg-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
  align-items: start;
}
.pkg-grid.cols-1 { max-width: 460px; }
.pkg-grid.cols-2 { max-width: 760px; }

/* price card "starting at" label + custom-quote text */
.price-start {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-bottom: 0.35rem;
  display: block;
}
.price-custom {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
}

/* =========================================================
   CTA BANDS
   ========================================================= */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.cta-band-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 60% at 50% 0%, rgba(255,94,26,0.20), transparent 60%),
    radial-gradient(ellipse 40% 50% at 12% 100%, rgba(179,50,10,0.16), transparent 60%);
  animation: contactGlowDrift 12s ease-in-out infinite alternate;
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta-band p {
  margin-top: 1.5rem;
  color: var(--grey);
  font-size: 1.05rem;
  max-width: 52ch;
}
.cta-band-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .cta-band-glow { animation: none; }
}

/* =========================================================
   HOMEPAGE — 5 service link cards
   ========================================================= */

.service-card.service-link {
  display: block;
  color: inherit;
}
.service-card .service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.service-card .service-more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.service-card.service-link:hover .service-more { gap: 0.8rem; color: var(--orange-bright); }
.service-card.service-link:hover .service-more svg { transform: translateX(3px); }

/* =========================================================
   PACKAGE BUILDER
   ========================================================= */

.builder { background: var(--bg); }

.builder-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  /* minmax(0, …) floors each track at 0 so the summary's min-content width
     (long price rows, nowrap totals) can never expand its column and steal
     space from the cards — the tracks stay strictly proportional, so the
     summary card holds its position before and after services are selected. */
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.builder-cat { margin-bottom: 2.5rem; }
.builder-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.builder-cat-head h3 {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--white);
}
.builder-cat-head a {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.3s var(--ease);
}
.builder-cat-head a:hover { color: var(--orange); }

.pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  /* top-align so expanding one card never stretches its row-mates downward */
  align-items: start;
}

.pick-card {
  position: relative;
  isolation: isolate;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  padding: 1.5rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* ember rule that draws across the top on hover/select */
.pick-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 1;
  background: linear-gradient(90deg, var(--orange), var(--orange-bright), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
/* soft ember glow that warms the card from a corner */
.pick-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(90% 70% at 100% 100%, rgba(255, 94, 26, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.pick-card:hover {
  border-color: rgba(255, 94, 26, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 38px -24px var(--orange-glow);
}
.pick-card:hover::before { transform: scaleX(1); }
.pick-card:hover::after { opacity: 0.7; }
.pick-card.is-selected {
  border-color: var(--orange);
  background:
    radial-gradient(130% 130% at 100% 0%, rgba(255, 94, 26, 0.16), transparent 55%),
    var(--bg-card-2);
  box-shadow: 0 18px 48px -20px rgba(255, 94, 26, 0.5),
              inset 0 0 0 1px rgba(255, 94, 26, 0.25);
}
.pick-card.is-selected::before { transform: scaleX(1); }
.pick-card.is-selected::after { opacity: 1; }
.pick-check {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 22px;
  height: 22px;
  border: 1px solid var(--border-strong);
  background: transparent center / 13px no-repeat;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
              box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.pick-card:hover .pick-check { border-color: rgba(255, 94, 26, 0.6); }
.pick-card.is-selected .pick-check {
  border-color: var(--orange);
  background-color: var(--orange);
  box-shadow: 0 0 14px var(--orange-glow);
  transform: scale(1.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5L5 9.5L10 3' stroke='%230a0a0c' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pick-card h4 {
  font-size: 1.05rem;
  letter-spacing: 0;
  padding-right: 2rem;
  color: var(--white);
}
.pick-card.is-selected h4 { text-shadow: 0 0 18px rgba(255, 94, 26, 0.35); }
.pick-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange-bright);
}
.pick-price small { color: rgba(245, 244, 241, 0.6); font-weight: 500; }
.pick-card p { color: rgba(245, 244, 241, 0.74); font-size: 0.86rem; line-height: 1.5; }

/* --- perks dropdown (bottom-right caret) on each selectable card --- */
/* the head holds name/price/description and reserves a consistent strip at the
   bottom-right for the caret, so the caret sits in the same spot on every card
   regardless of title/description length, and stays put when perks expand */
.pick-main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 10.25rem;   /* uniform head height so the caret lines up row-to-row */
  padding-bottom: 1.6rem;
}
.pick-toggle {
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 22px;
  color: var(--grey);
  cursor: pointer;
  transition: color 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.pick-toggle:hover,
.pick-card.is-expanded .pick-toggle { color: var(--orange); }
.pick-toggle:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
.pick-caret {
  width: 12px;
  height: 9px;
  flex: none;
  transition: transform 0.4s var(--ease);
}
.pick-card.is-expanded .pick-caret { transform: rotate(180deg); }

/* smooth reveal: animate grid rows 0fr -> 1fr (no fixed height needed), plus
   a gentle fade + lift so it feels part of the card, not a popup */
.pick-perks {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.42s var(--ease), opacity 0.32s var(--ease);
}
.pick-perks-inner {
  overflow: hidden;
  min-height: 0;
  transform: translateY(-4px);
  transition: transform 0.42s var(--ease);
}
.pick-card.is-expanded .pick-perks {
  grid-template-rows: 1fr;
  opacity: 1;
}
.pick-card.is-expanded .pick-perks-inner { transform: translateY(0); }

/* compact perk list — reuses the orange diamond bullet from .perks */
.pick-perks .perks {
  gap: 0.5rem;
  margin-top: 0.55rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.pick-perks .perks li {
  padding-left: 1.35rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(245, 244, 241, 0.72);
}
.pick-perks .perks li::before { width: 9px; height: 9px; top: 0.32em; }

@media (prefers-reduced-motion: reduce) {
  .pick-perks, .pick-perks-inner, .pick-caret { transition: none; }
}

/* creative staggered scroll entrance for each option
   (entrance uses a keyframe animation so the hover/select transitions
   on the base .pick-card stay intact afterwards) */
.pick-card.reveal {
  opacity: 0;
  transform: none;
  filter: none;
}
.pick-card.reveal.is-visible {
  opacity: 1;
  animation: pickIn 0.7s var(--ease) backwards;
}
@keyframes pickIn {
  0% {
    opacity: 0;
    transform: perspective(900px) rotateX(14deg) translateY(42px) scale(0.94);
    filter: blur(6px);
  }
  55% { filter: blur(0); }
  100% {
    opacity: 1;
    transform: perspective(900px) rotateX(0) translateY(0) scale(1);
    filter: blur(0);
  }
}

/* sticky summary panel */
.builder-summary {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  padding: 2.25rem 2rem;
}
.builder-summary::before {
  content: "";
  display: block;
  height: 2px;
  margin: -2.25rem -2rem 1.75rem;
  background: linear-gradient(90deg, transparent, var(--orange), var(--orange-bright), var(--orange), transparent);
  opacity: 0.8;
}
.builder-summary h3 {
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
}
.summary-empty { color: var(--grey-dim); font-size: 0.92rem; }
.summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}
.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--grey);
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
}
.summary-list li span:last-child { color: var(--white); white-space: nowrap; }
.summary-rows { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.5rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--grey);
}
.summary-row span:last-child { font-family: var(--font-display); color: var(--white); }
.summary-row.savings span:last-child { color: var(--orange); }
.summary-row.total {
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-strong);
  font-size: 1.05rem;
}
.summary-row.total span:last-child {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--orange);
}
.summary-actions { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 0.5rem; }
.summary-actions .btn { width: 100%; }
.summary-note {
  margin-top: 1.25rem;
  font-size: 0.74rem;
  line-height: 1.55;
  color: var(--grey-dim);
}

/* =========================================================
   RECOMMENDED BUNDLES
   ========================================================= */

.bundles {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
/* warm ember wash so the section reads alive, not flat */
.bundles::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 50% -5%, rgba(255, 94, 26, 0.12), transparent 60%),
    radial-gradient(ellipse 42% 55% at 93% 108%, rgba(255, 94, 26, 0.08), transparent 65%),
    radial-gradient(ellipse 42% 55% at 5% 102%, rgba(179, 50, 10, 0.10), transparent 65%);
}
.bundles > * { position: relative; z-index: 1; }

.bundle-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.bundle-card {
  position: relative;
  isolation: isolate;
  background: var(--bg-card);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
              transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
/* ember accent that draws across the top edge on hover */
.bundle-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, var(--orange), var(--orange-bright), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
/* warm glow rising from the base on hover (sits above the bg, below content) */
.bundle-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 78% 55% at 50% 108%, rgba(255, 94, 26, 0.13), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.bundle-card:hover {
  background: var(--bg-card-2);
  border-color: rgba(255, 94, 26, 0.45);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.8),
              0 0 46px -14px var(--orange-glow);
}
.bundle-card:hover::before { transform: scaleX(1); }
.bundle-card:hover::after { opacity: 1; }

.bundle-card.is-popular {
  clip-path: none;
  border-color: rgba(255, 94, 26, 0.45);
  box-shadow: 0 20px 60px -30px var(--orange-glow);
}
.bundle-card h3 { font-size: 1.5rem; letter-spacing: 0; margin-bottom: 0.85rem; }
.bundle-card .bundle-desc { color: var(--grey); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }
.bundle-card .perks { margin: 0 0 1.75rem; }
.bundle-card .bundle-note {
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--orange);
  margin-bottom: 1.5rem;
}
/* full-width CTA that wraps instead of cramping the text (matches .price-btn,
   so every preset button has the same comfortable padding at any width) */
.bundle-card .btn {
  margin-top: auto;
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* =========================================================
   MOCKUP / EXTRA FORMS — lean on existing .contact-form
   ========================================================= */

.mockup { background: var(--bg); position: relative; overflow: hidden; }
.mockup-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}
.mockup-text h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.5rem; }
.checkbox-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

/* =========================================================
   RESPONSIVE — new components
   ========================================================= */

@media (max-width: 1024px) {
  .builder-layout { grid-template-columns: 1fr; gap: 2rem; }
  .builder-summary { position: static; }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .mockup-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .page-hero { padding: 8rem 1.4rem 4rem; min-height: 78svh; }
  .checkbox-row { grid-template-columns: 1fr; }

  /* Builder summary: tighten padding and keep every figure on-card. The
     min-width:0 lets the panel shrink to the column instead of being forced
     wider by its nowrap price cells. */
  .builder { padding-left: 1.4rem; padding-right: 1.4rem; }
  .builder-summary { padding: 2rem 1.5rem; min-width: 0; }
  .builder-summary h3 { font-size: 1.2rem; }
  /* allow the service label to wrap and let the price hold the right edge
     without pushing the row wider than the card */
  .summary-list li { gap: 0.75rem; }
  .summary-list li span:first-child { min-width: 0; }
  .summary-row { gap: 0.75rem; }
}

/* =========================================================
   PREMIUM PASS — layout primitives & signature touches
   Reuses existing tokens/components; no new colors.
   ========================================================= */

/* ---- editorial index (hero) ---- */
.page-hero-index {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--grey-dim);
  margin-bottom: 1.1rem;
}
.page-hero-index b { color: var(--orange); font-weight: 700; }
.page-hero-index span { color: var(--grey); margin-left: 0.5rem; }

/* ---- ember section divider ---- */
.ember-divider {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.3;
}

/* ---- vertical rhythm modifiers ---- */
.svc-section.tight { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.svc-section.airy  { padding-top: 9rem; padding-bottom: 9rem; }

/* ---- reveal motion variants (use existing observer toggle) ---- */
.reveal--left  { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(0.94); filter: blur(6px); }
.reveal--left.is-visible,
.reveal--right.is-visible { transform: translateX(0); }
.reveal--scale.is-visible { transform: scale(1); filter: blur(0); }

/* On narrow viewports these variants sit on full-width, single-column
   elements where a 40px lateral slide pushes the element past the viewport
   edge (the section padding shrinks to 1.25rem here, so it can't absorb the
   shift) — that briefly widens the page before the element reveals. Swap to a
   vertical reveal, matching the base .reveal, so there's no horizontal travel
   and therefore no off-canvas overflow. */
@media (max-width: 820px) {
  .reveal--left,
  .reveal--right { transform: translateY(28px); }
  .reveal--left.is-visible,
  .reveal--right.is-visible { transform: translateY(0); }
}

/* =========================================================
   1) BENTO FEATURE GRID (reuses .info-card)
   ========================================================= */

.bento {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(170px, auto);
  gap: 1.5rem;
}
.bento .info-card { margin: 0; }

.info-card--spotlight {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* solid base so the generic .info-card:hover background swap (also bg-card-2)
     causes no gradient->color snap; the orange glow lives on ::after below */
  background: var(--bg-card-2);
  border-color: rgba(255, 94, 26, 0.32);
}
/* orange glow as an opacity-animated overlay (never display:none) so it
   fades smoothly in/out on hover instead of disappearing instantly */
.info-card--spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(130% 120% at 0% 0%, rgba(255, 94, 26, 0.18), transparent 55%);
  opacity: 0.85;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.info-card--spotlight::before { transform: scaleX(1); }
.info-card--spotlight:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: 0 0 48px -10px var(--orange-glow),
              0 26px 54px -30px rgba(0, 0, 0, 0.7);
}
.info-card--spotlight:hover::after { opacity: 1; }
.info-card--spotlight .info-icon { width: 62px; height: 62px; margin-bottom: 1.5rem; }
.info-card--spotlight h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.info-card--spotlight p { font-size: 1.02rem; max-width: 42ch; }
.info-card--wide { grid-column: span 2; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .info-card--spotlight { grid-column: 1 / 3; grid-row: auto; }
  .info-card--wide { grid-column: 1 / 3; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .info-card--spotlight,
  .info-card--wide { grid-column: 1 / -1; }
}

/* =========================================================
   2) NUMBERED PROCESS ROW (reuses ghost-number aesthetic)
   ========================================================= */

.process {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.process-step {
  position: relative;
  padding: 2.5rem 1.75rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 42px; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.process-step:hover {
  border-color: rgba(255, 94, 26, 0.3);
  background: var(--bg-card-2);
  transform: translateY(-4px);
}
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 1rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 94, 26, 0.4);
}
.process-step h3 { font-size: 1.15rem; letter-spacing: 0; margin-bottom: 0.6rem; }
.process-step p { color: var(--grey); font-size: 0.92rem; }

/* =========================================================
   3) EDITORIAL STATEMENT BAND (reuses watermark technique)
   ========================================================= */

.statement {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.statement-watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 22vw, 19rem);
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.statement-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
}
.statement h2 {
  font-size: clamp(2rem, 5.4vw, 3.9rem);
  line-height: 1.12;
}
.statement p {
  margin: 1.6rem auto 0;
  max-width: 60ch;
  color: var(--grey);
  font-size: 1.05rem;
}

/* =========================================================
   4) VISUAL SHOWCASE — reuses .work-grid / .work-card.
   Only adds a tall modifier + a descriptor line.
   ========================================================= */

.work-card--tall { grid-row: span 2; }
.work-card .work-desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1rem;
  max-width: 34ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
@media (max-width: 768px) {
  .work-card--tall { grid-row: span 1; }
}

/* =========================================================
   5) PROOF / STAT BAND (reuses .stat-card + count-up)
   ========================================================= */

.proof-stats {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .proof-stats { grid-template-columns: 1fr 1fr; }
}
/* very small phones: stack the proof band so the wide stat numbers fit */
@media (max-width: 360px) {
  .proof-stats { grid-template-columns: 1fr; }
}

/* =========================================================
   6) ALTERNATING EDITORIAL ROWS
   ========================================================= */

.alt-rows {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.alt-row-visual {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--border);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  background: linear-gradient(135deg, var(--c1, var(--orange-deep)), var(--c2, #16161a));
}
.alt-row-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.18) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.alt-row-label {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
}
.alt-row:nth-child(even) .alt-row-visual { order: 2; }
.alt-row-text h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: 0; margin-bottom: 1rem; }
.alt-row-text p { color: var(--grey); margin-bottom: 1rem; max-width: 50ch; }
.alt-row-text .perks { margin-top: 1.2rem; }

@media (max-width: 800px) {
  .alt-row { grid-template-columns: 1fr; gap: 1.75rem; }
  .alt-row:nth-child(even) .alt-row-visual { order: 0; }
  .alt-row-visual { min-height: 240px; }
}
