/* ==========================================================================
   Dedicated service doors, flat red / black / white / grey
   Transparent header + shape-masked hero + pricing + long-form sections
   ========================================================================== */

.service-door {
  --door-bg: #0a0a0a;
  --door-surface: #111;
  --door-border: rgba(255, 255, 255, 0.12);
  --door-muted: rgba(255, 255, 255, 0.62);
  --door-faint: rgba(255, 255, 255, 0.4);
  --door-red: #ff2d2d;
  --door-grey: #8a8a8a;
  background: var(--door-bg);
  color: #fff;
}

.service-door .site-header.project-header,
.service-door .project-header,
.service-door .site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 40 !important;
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 1px solid transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.service-door .project-header.is-scrolled,
.service-door .project-header.header-solid,
.service-door .site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.94) !important;
  background-color: rgba(10, 10, 10, 0.94) !important;
  border-bottom-color: var(--door-border) !important;
}

.service-door .nav a {
  color: #fff;
}

.service-door .nav a.cta {
  border-color: #fff;
  color: #fff;
}

.service-door .nav a.cta:hover {
  background: var(--door-red);
  border-color: var(--door-red);
  color: #fff;
}

.service-door .nav-toggle .bar {
  background: #fff;
}

/* ---- Hero under header ---- */
.door-hero {
  position: relative;
  /* Match homepage .hero.hero-single positioning */
  min-height: calc(100vh - var(--header-h, 72px)) !important;
  padding: calc(var(--header-h, 72px) + 48px) 0 110px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden;
  background: #111;
  margin-top: 0;
  box-sizing: border-box;
  clip-path: none;
  -webkit-clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Real SVG vector crescent capping the hero bottom */
.door-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: clamp(56px, 9vw, 110px);
  background: url("/public/hero-bottom-curve.svg") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.door-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0a0a;
}

.door-hero-media img {
  display: none;
}

.door-hero-media picture {
  display: none;
}

.door-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.15) 0%,
    rgba(10, 10, 10, 0.05) 40%,
    rgba(10, 10, 10, 0.55) 78%,
    #0a0a0a 100%
  );
  pointer-events: none;
}

/* Web: gray / dark gray / black */
.door-hero--web .door-hero-media {
  background:
    radial-gradient(ellipse 95% 80% at 28% 18%, #5a5a5a 0%, transparent 58%),
    radial-gradient(ellipse 80% 70% at 78% 72%, #1c1c1c 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 55% 45%, #2e2e2e 0%, transparent 50%),
    linear-gradient(165deg, #2a2a2a 0%, #111 45%, #000 100%);
}

/* Branding: red / black / white (majority black + red) */
.door-hero--branding .door-hero-media {
  background:
    radial-gradient(ellipse 95% 85% at 18% 12%, #ff2d2d 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 88% 18%, rgba(255, 255, 255, 0.22) 0%, transparent 48%),
    radial-gradient(ellipse 80% 70% at 78% 88%, #6a0a0a 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 42% 55%, #3a0808 0%, transparent 50%),
    linear-gradient(160deg, #140404 0%, #000 100%);
}

.door-hero--web .door-hero-media img,
.door-hero--branding .door-hero-media img,
.door-hero--systems .door-hero-media img,
.door-hero--seo .door-hero-media img,
.door-hero--marketing .door-hero-media img,
.door-hero--construction .door-hero-media img,
.door-hero--trades .door-hero-media img,
.door-hero--fintech .door-hero-media img,
.door-hero--golf .door-hero-media img,
.door-hero--property .door-hero-media img,
.door-hero--professional .door-hero-media img,
.door-hero--healthcare .door-hero-media img,
.door-hero--hospitality .door-hero-media img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
  z-index: 0;
}

.door-hero--web .door-hero-media picture,
.door-hero--branding .door-hero-media picture,
.door-hero--systems .door-hero-media picture,
.door-hero--seo .door-hero-media picture,
.door-hero--marketing .door-hero-media picture,
.door-hero--construction .door-hero-media picture,
.door-hero--trades .door-hero-media picture,
.door-hero--fintech .door-hero-media picture,
.door-hero--golf .door-hero-media picture,
.door-hero--property .door-hero-media picture,
.door-hero--professional .door-hero-media picture,
.door-hero--healthcare .door-hero-media picture,
.door-hero--hospitality .door-hero-media picture {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.door-hero--construction .door-hero-media img,
.door-hero--golf .door-hero-media img {
  transform: scaleX(-1);
}

/* Systems: green top-left → black bottom-right, soft radial blend */
.door-hero--systems .door-hero-media {
  background:
    radial-gradient(ellipse 120% 100% at 0% 0%, #2dd46f 0%, transparent 58%),
    radial-gradient(ellipse 100% 90% at 8% 12%, #0f8f45 0%, transparent 50%),
    radial-gradient(ellipse 110% 100% at 100% 100%, #000 0%, transparent 55%),
    linear-gradient(145deg, #07140c 0%, #000 68%);
}

/* SEO: quiet Google colour nod */
.door-hero--seo .door-hero-media {
  background:
    radial-gradient(ellipse 55% 50% at 18% 22%, rgba(66, 133, 244, 0.4) 0%, transparent 58%),
    radial-gradient(ellipse 48% 42% at 78% 18%, rgba(234, 67, 53, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 62% 78%, rgba(251, 188, 5, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 22% 82%, rgba(52, 168, 83, 0.28) 0%, transparent 55%),
    linear-gradient(165deg, #0b0b0b 0%, #000 100%);
}

/* Marketing: red */
.door-hero--marketing .door-hero-media {
  background:
    radial-gradient(ellipse 95% 85% at 22% 15%, #ff2d2d 0%, transparent 55%),
    radial-gradient(ellipse 75% 65% at 85% 78%, #6a0a0a 0%, transparent 52%),
    radial-gradient(ellipse 50% 45% at 50% 50%, #3a0808 0%, transparent 50%),
    linear-gradient(160deg, #140404 0%, #000 100%);
}

/* Trades: utility grey / red accent */
.door-hero--trades .door-hero-media {
  background:
    radial-gradient(ellipse 90% 80% at 24% 16%, #5a5a5a 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 82% 30%, rgba(255, 45, 45, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 70% 88%, #1c1c1c 0%, transparent 55%),
    linear-gradient(165deg, #141414 0%, #000 100%);
}

/* Professional services: cool grey / white */
.door-hero--professional .door-hero-media {
  background:
    radial-gradient(ellipse 90% 80% at 20% 14%, #8a8a8a 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 88% 22%, rgba(255, 255, 255, 0.2) 0%, transparent 48%),
    radial-gradient(ellipse 80% 70% at 70% 88%, #2a2a2a 0%, transparent 55%),
    linear-gradient(165deg, #121212 0%, #000 100%);
}

/* Construction: steel grey / amber / black */
.door-hero--construction .door-hero-media {
  background:
    radial-gradient(ellipse 90% 80% at 22% 18%, #6a6a6a 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 82% 28%, rgba(200, 140, 40, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 70% 85%, #2a2a2a 0%, transparent 55%),
    linear-gradient(165deg, #1a1a1a 0%, #000 100%);
}

/* Fintech: cool steel / teal */
.door-hero--fintech .door-hero-media {
  background:
    radial-gradient(ellipse 90% 80% at 20% 15%, rgba(56, 189, 200, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 85% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 70% 88%, #0a2a32 0%, transparent 55%),
    linear-gradient(160deg, #061018 0%, #000 100%);
}

/* Golf & leisure: deep green */
.door-hero--golf .door-hero-media {
  background:
    radial-gradient(ellipse 95% 85% at 18% 14%, #2dd46f 0%, transparent 52%),
    radial-gradient(ellipse 70% 60% at 88% 30%, rgba(180, 220, 120, 0.18) 0%, transparent 48%),
    radial-gradient(ellipse 80% 70% at 72% 88%, #0a3d22 0%, transparent 55%),
    linear-gradient(155deg, #07140c 0%, #000 100%);
}

/* Property: warm stone / charcoal */
.door-hero--property .door-hero-media {
  background:
    radial-gradient(ellipse 90% 80% at 22% 16%, #a89070 0%, transparent 55%),
    radial-gradient(ellipse 65% 55% at 85% 22%, rgba(255, 255, 255, 0.14) 0%, transparent 48%),
    radial-gradient(ellipse 80% 70% at 68% 88%, #3a3028 0%, transparent 55%),
    linear-gradient(165deg, #14110e 0%, #000 100%);
}

/* Healthcare: soft blue / white / black */
.door-hero--healthcare .door-hero-media {
  background:
    radial-gradient(ellipse 90% 85% at 18% 14%, #6eb6ff 0%, transparent 52%),
    radial-gradient(ellipse 60% 50% at 88% 20%, rgba(255, 255, 255, 0.28) 0%, transparent 48%),
    radial-gradient(ellipse 80% 70% at 70% 88%, #1a3a5c 0%, transparent 55%),
    linear-gradient(160deg, #061018 0%, #000 100%);
}

/* Hospitality: warm red / amber */
.door-hero--hospitality .door-hero-media {
  background:
    radial-gradient(ellipse 95% 85% at 20% 14%, #ff2d2d 0%, transparent 52%),
    radial-gradient(ellipse 65% 55% at 85% 28%, rgba(255, 180, 80, 0.22) 0%, transparent 48%),
    radial-gradient(ellipse 80% 70% at 72% 88%, #4a1808 0%, transparent 55%),
    linear-gradient(160deg, #140404 0%, #000 100%);
}

.door-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 var(--hero-x, var(--container-x)) !important;
  box-sizing: border-box;
}

.door-kicker {
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--door-red);
}

/* Exact match to homepage .hero-headline-white */
.service-door .door-title,
.service-door h1.door-title {
  display: block !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  max-width: min(28ch, 100%) !important;
  font-family: "Bebas Neue", Impact, system-ui, sans-serif !important;
  font-size: clamp(3.35rem, 7.4vw, 5.65rem) !important;
  font-weight: 400 !important;
  font-synthesis: none !important;
  line-height: 0.82 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  text-align: left !important;
  color: #fff !important;
}

.door-title-line {
  display: block;
  line-height: 0.82;
}

.door-title-line + .door-title-line {
  margin-top: -0.06em;
}

/* Desktop: lock each title span to one line → always exactly two lines */
@media (min-width: 981px) {
  .service-door .door-title-line {
    white-space: nowrap;
  }
}

.door-lead {
  margin: 0 0 28px;
  max-width: 46ch;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  color: #ffffff;
}

.door-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 0;
}

.door-hero-actions .btn {
  border-radius: 0;
  box-shadow: none;
}

.door-hero-actions .btn.primary {
  background: var(--door-red);
  border-color: var(--door-red);
  color: #fff;
}

.door-hero-actions .btn.primary:hover {
  background: #fff;
  border-color: #fff;
  color: #0a0a0a;
}

/* Second CTA: same size box as primary, email-style underline wipe on hover */
.door-hero-actions .btn:not(.primary) {
  background-color: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  padding: 14px 22px !important;
  min-height: 48px;
  box-sizing: border-box;
  text-decoration: none !important;
  background-image: linear-gradient(currentColor, currentColor) !important;
  background-repeat: no-repeat !important;
  background-position: right bottom !important;
  background-size: 0% 1.5px !important;
  transition: color 0.3s ease, background-size 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-position 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.door-hero-actions .btn:not(.primary)::before,
.door-hero-actions .btn:not(.primary)::after {
  display: none !important;
  content: none !important;
}

.door-hero-actions .btn:not(.primary):hover {
  background-color: transparent !important;
  border-color: transparent !important;
  color: var(--door-red, #ff2d2d) !important;
  text-decoration: none !important;
  background-position: left bottom !important;
  background-size: 100% 1.5px !important;
}

@media (max-width: 900px) {
  .door-hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px;
    width: 100%;
  }

  .door-hero-actions .btn {
    width: 100% !important;
    flex: none !important;
  }
}

@media (max-width: 640px) {
  .door-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .door-hero-actions .btn {
    width: 100%;
  }
}

/* ---- Sections ---- */
.door-main {
  padding: 0 0 clamp(80px, 12vw, 140px);
}

.door-section {
  padding: clamp(56px, 9vw, 100px) var(--container-x) 0;
  max-width: none;
}

.door-section-label {
  margin: 0 0 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--door-red);
}

.door-section-title {
  margin: 0 0 16px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: #fff;
  max-width: 18ch;
}

.door-section-text {
  margin: 0;
  max-width: 54ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--door-muted);
  text-align: left;
}

/* Why-it-matters head: label + title only */
.door-split-head {
  margin: 0;
}

/* Legacy split kept for any remaining uses */
.door-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.5vw, 28px);
  align-items: start;
}

.door-split--wide-right {
  grid-template-columns: 1fr;
}

/* Body copy under the 3 steps: red rule from left into right-pinned text */
.door-section-text--after-steps {
  position: relative;
  width: 100%;
  max-width: none;
  margin: clamp(32px, 4.5vw, 48px) 0 0;
  padding-left: calc(100% - min(54ch, 52%));
  box-sizing: border-box;
  text-align: left;
}

.door-section-text--after-steps::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: calc(100% - min(54ch, 52%) - clamp(20px, 3vw, 40px));
  height: 1px;
  background: var(--door-red, #ff2d2d);
  pointer-events: none;
}

@media (max-width: 980px) {
  .door-section-text--after-steps {
    width: 100%;
    max-width: 54ch;
    padding-left: 0;
    margin-left: 0;
  }

  .door-section-text--after-steps::before {
    width: 40px;
    top: -18px;
  }
}

/* Outcomes / pillars, flat borders, no cards-as-glass */
.door-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(48px, 6vw, 68px);
  border: 1px solid var(--door-border);
  overflow: visible;
}

.door-pillar {
  position: relative;
  padding: clamp(40px, 4.5vw, 52px) clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px);
  border-right: 1px solid var(--door-border);
  background: var(--door-surface);
  overflow: visible;
}

.door-pillar:last-child {
  border-right: none;
}

.door-pillar-num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  margin: 0;
  padding: 0 0.15em;
  font-family: "Bebas Neue", Impact, system-ui, sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--door-red);
  background: var(--door-surface);
  z-index: 2;
  pointer-events: none;
}

.door-pillar h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.door-pillar p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--door-muted);
}

/* Deliverables list */
.door-list {
  list-style: none;
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  border-top: 1px solid var(--door-border);
}

.door-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--door-border);
  align-items: start;
}

.door-list-num {
  display: none !important;
}

.door-list h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.door-list p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--door-muted);
  max-width: 58ch;
}

/* Process strip */
.door-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(48px, 6vw, 68px);
  border: 1px solid var(--door-border);
  overflow: visible;
}

.door-step {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 4.5vw, 52px) clamp(22px, 3vw, 32px) clamp(22px, 3vw, 32px);
  border-right: 1px solid var(--door-border);
  background: var(--door-bg);
  overflow: visible;
}

.door-step:last-child {
  border-right: none;
}

/* Earlier steps stack above later ones so arrowheads aren't covered by the next cell */
.door-step:nth-child(1) { z-index: 4; }
.door-step:nth-child(2) { z-index: 3; }
.door-step:nth-child(3) { z-index: 2; }
.door-step:nth-child(4) { z-index: 1; }

.door-step-num {
  display: none !important;
}

/* Thick red arrowhead (no shaft) pointing to the next step */
.door-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 20;
  width: 18px;
  height: 28px;
  transform: translate(50%, -50%);
  background: var(--door-red, #ff2d2d);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  pointer-events: none;
}

.door-step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #fff;
}

.door-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--door-muted);
}

/* Pricing, flat tiers */
@property --door-wipe {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.door-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(36px, 5vw, 52px);
  border: 1px solid var(--door-border);
}

/* Single-tier funnel pricing: full width */
.door-pricing:has(> .door-price:only-child) {
  grid-template-columns: 1fr;
}

.door-pricing:has(> .door-price:only-child) .door-price {
  border-right: none;
}

.door-price {
  position: relative;
  padding: clamp(28px, 3.5vw, 40px);
  border-right: 1px solid var(--door-border);
  background: var(--door-surface);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: background 0.35s ease;
}

.door-price::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1.5px;
  box-sizing: border-box;
  pointer-events: none;
  background: conic-gradient(
    from 315deg,
    var(--door-red) 0deg,
    var(--door-red) var(--door-wipe),
    transparent var(--door-wipe)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: --door-wipe 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.door-price:hover {
  background: #161616;
}

.door-price:hover::before {
  --door-wipe: 360deg;
  opacity: 1;
}

.door-price:last-child {
  border-right: none;
}

.door-price--featured {
  background: #161616;
  z-index: 1;
}

.door-price-tier {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--door-grey);
}

.door-price--featured .door-price-tier {
  color: var(--door-red);
}

.door-price-name {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.door-price-amount {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.door-price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--door-grey);
  letter-spacing: 0;
}

.door-price-note {
  margin: 0 0 24px;
  font-size: 0.88rem;
  color: var(--door-muted);
}

.door-price ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}

.door-price li {
  position: relative;
  margin: 0 -10px;
  padding: 8px 10px 8px 28px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--door-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform 0.28s ease,
    color 0.28s ease,
    background-color 0.28s ease;
}

.door-price li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 6px;
  height: 6px;
  background: var(--door-red);
  transition: transform 0.28s ease;
}

.door-price li:hover {
  transform: translateX(6px);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.door-price li:hover::before {
  transform: scale(1.15);
}

.door-price .btn {
  position: relative;
  align-self: stretch;
  text-align: center;
  border-radius: 0;
  box-shadow: none;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease,
    letter-spacing 0.35s ease,
    transform 0.35s ease;
}

.door-price .btn::before {
  display: none !important;
}

.door-price .btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--door-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.door-price .btn.primary {
  background: var(--door-red) !important;
  border-color: var(--door-red) !important;
  color: #fff !important;
}

.door-price .btn.primary::after {
  display: none !important;
}

.door-price .btn:not(.primary) {
  background: transparent !important;
  border: 1px solid var(--door-border) !important;
  color: #fff !important;
}

.door-price .btn:hover {
  border-color: var(--door-red) !important;
  letter-spacing: 0.04em;
  transform: translateY(-1px);
}

.door-price .btn:not(.primary):hover {
  color: #fff !important;
  border-color: var(--door-red) !important;
}

.door-price .btn:not(.primary):hover::after {
  transform: scaleX(1);
}

.door-price .btn.primary:hover,
.door-price .btn.primary:focus-visible {
  background: #fff !important;
  color: #0a0a0a !important;
  border-color: #fff !important;
}

.door-price .btn.primary:focus:not(:hover),
.door-price .btn.primary:focus-visible:not(:hover) {
  background: var(--door-red) !important;
  color: #fff !important;
  border-color: var(--door-red) !important;
}

.door-price-disclaimer {
  margin: 20px 0 0;
  font-size: 0.82rem;
  color: var(--door-faint);
  max-width: 62ch;
}

@media (prefers-reduced-motion: reduce) {
  .door-price::before,
  .door-price li,
  .door-price li::before,
  .door-price .btn,
  .door-price .btn::after {
    transition: none;
  }

  .door-price:hover::before {
    --door-wipe: 360deg;
  }

  .door-price .btn:hover::after {
    transform: scaleX(1);
  }
}

/* Industry funnels */
.door-industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(32px, 4vw, 44px);
  border: 1px solid var(--door-border);
}

@media (max-width: 1100px) and (min-width: 981px) {
  .door-industries {
    grid-template-columns: repeat(2, 1fr);
  }

  .door-industry:nth-child(4n) {
    border-right: 1px solid var(--door-border);
  }

  .door-industry:nth-child(2n) {
    border-right: none;
  }

  .door-industry:nth-last-child(-n + 4) {
    border-bottom: 1px solid var(--door-border);
  }

  .door-industry:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

.door-industry {
  display: block;
  padding: clamp(24px, 3vw, 32px);
  border-right: 1px solid var(--door-border);
  border-bottom: 1px solid var(--door-border);
  text-decoration: none;
  color: inherit;
  background: transparent;
  transition: background 0.2s ease;
}

.door-industry:nth-child(4n) {
  border-right: none;
}

.door-industry:nth-last-child(-n + 4) {
  border-bottom: none;
}

.door-industry:last-child {
  border-right: none;
}

.door-industry:hover {
  background: var(--door-surface);
}

.door-industry h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #fff;
}

.door-industry p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--door-muted);
}

.door-industry-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--door-red);
}

/* FAQ */
.door-faq {
  margin-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--door-border);
}

.door-faq details {
  border-bottom: 1px solid var(--door-border);
  padding: 18px 0;
}

.door-faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.door-faq summary::-webkit-details-marker {
  display: none;
}

.door-faq summary::after {
  content: "+";
  color: var(--door-red);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1;
}

.door-faq details[open] summary::after {
  content: "-";
}

.door-faq p {
  margin: 12px 0 0;
  max-width: 58ch;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--door-muted);
}

/* CTA band */
.door-cta {
  margin: clamp(56px, 9vw, 96px) var(--container-x) 0;
  padding: clamp(36px, 5vw, 56px);
  border: 1px solid var(--door-border);
  background: var(--door-surface);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
}

.door-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.door-cta p {
  margin: 0;
  color: var(--door-muted);
  max-width: 42ch;
  line-height: 1.55;
}

.door-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.door-cta .btn {
  border-radius: 0;
  box-shadow: none;
}

.door-cta .btn.primary {
  background: var(--door-red);
  border-color: var(--door-red);
  color: #fff;
}

.door-cta .btn:not(.primary) {
  border: 1px solid var(--door-border);
  color: #fff;
  background: transparent;
}

/* Related services */
.door-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.door-related a {
  padding: 10px 14px;
  border: 1px solid var(--door-border);
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.door-related a:hover {
  border-color: var(--door-red);
  color: var(--door-red);
}

/* Footer strip on door pages */
.door-footer {
  margin-top: clamp(48px, 8vw, 80px);
  padding: 28px var(--container-x);
  border-top: 1px solid var(--door-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--door-faint);
}

.door-footer a {
  color: #fff;
  text-decoration: none;
}

.door-footer a:hover {
  color: var(--door-red);
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .door-split,
  .door-split--wide-right,
  .door-pillars,
  .door-process,
  .door-pricing,
  .door-industries,
  .door-cta {
    grid-template-columns: 1fr;
  }

  .door-pillar,
  .door-step,
  .door-price,
  .door-industry {
    border-right: none;
    border-bottom: 1px solid var(--door-border);
  }

  .door-industry:nth-child(4n),
  .door-industry:nth-last-child(-n + 4),
  .door-industry:last-child {
    border-right: none;
  }

  .door-industry:last-child {
    border-bottom: none;
  }

  .door-cta-actions {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 10px;
    justify-content: stretch;
  }

  .door-cta-actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: center;
    text-align: center;
  }

  .door-hero {
    min-height: calc(100vh - var(--header-h, 72px)) !important;
    padding: calc(var(--header-h, 72px) + 32px) 0 56px !important;
    align-items: center !important;
  }

  .door-hero::after {
    height: clamp(48px, 14vw, 88px);
  }

  .service-door .door-title,
  .service-door h1.door-title {
    font-size: clamp(2.35rem, 10vw, 3.1rem) !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .service-door .door-title-line {
    white-space: normal !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  .service-door .nav-links {
    gap: 10px;
  }

  .service-door .nav a {
    font-size: 0.78rem;
  }
}

@media (max-width: 720px) {
  .door-list li {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .door-process {
    grid-template-columns: 1fr 1fr;
  }

  .door-step:nth-child(odd) {
    border-right: 1px solid var(--door-border);
  }

  .door-step:nth-child(1),
  .door-step:nth-child(2) {
    border-bottom: 1px solid var(--door-border);
  }

  /* Row flow on 2×2: right arrows on 1 & 3 only */
  .door-step:not(:last-child)::after {
    display: none;
  }

  .door-step:nth-child(1)::after,
  .door-step:nth-child(3)::after {
    display: block;
  }
}

/* Market funnel link on homepage strip */
.market-detail-funnel {
  margin: 12px 0 0;
}

.market-detail-funnel a {
  color: var(--brand, #ff2d2d);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.market-detail-funnel a:hover {
  color: #fff;
}

/* Denser primary nav for service doors */
.nav-links {
  gap: 12px;
}

@media (min-width: 901px) {
  .nav a {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
  }
}

/* Flatten: kill soft glows sitewide on key surfaces */
.btn.primary,
.nav a.cta,
.process-step,
.work-card,
.article-card,
.deliver-row-media img {
  box-shadow: none !important;
  filter: none;
}

.btn.primary {
  border-radius: 0;
}

/* Kill process / work glow overlays */
.work-card > .glow,
.steps li > .glow,
.process-step .glow,
.glow {
  display: none !important;
  opacity: 0 !important;
  box-shadow: none !important;
}

.site-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

/* Hero cross-links: other funnels / services */
.door-hero-switch {
  position: absolute;
  right: var(--container-x, 24px);
  bottom: clamp(64px, 12%, 110px);
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - (2 * var(--container-x, 24px)));
}

.door-hero-switch-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.door-hero-switch-link:hover,
.door-hero-switch-link:focus-visible {
  background: var(--door-red, #ff2d2d);
  color: #fff;
  outline: none;
}

.door-hero-switch-link.is-current,
.door-hero-switch-link[aria-current="page"] {
  color: #fff;
  background: var(--door-red, #ff2d2d);
}

.service-door .nav a[aria-current="page"]::after {
  width: 100%;
  background: var(--door-red, #ff2d2d);
}

@media (max-width: 1100px) {
  .door-hero-switch {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 4px;
    max-height: 5.2em;
    overflow: hidden;
  }
}

@media (max-width: 900px) {
  .door-hero-switch {
    left: var(--container-x, 24px);
    right: var(--container-x, 24px);
    bottom: clamp(40px, 8vw, 64px);
    justify-content: center;
    max-width: none;
    flex-wrap: wrap;
    max-height: 5.2em;
  }

  .door-hero {
    padding-bottom: 120px !important;
  }
}

/* ---- Scroll reveals (match site motion language) ---- */
.service-door .door-kicker.js-reveal:not(.in),
.service-door .door-title.js-reveal:not(.in),
.service-door .door-lead.js-reveal:not(.in),
.service-door .door-section-label.js-reveal:not(.in),
.service-door .door-section-title.js-reveal:not(.in),
.service-door .door-section-text.js-reveal:not(.in),
.service-door .door-cta h2.js-reveal:not(.in),
.service-door .door-cta p.js-reveal:not(.in),
.service-door .site-footer.js-reveal:not(.in) {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: none;
}

.service-door .door-kicker.js-reveal.in,
.service-door .door-title.js-reveal.in,
.service-door .door-lead.js-reveal.in,
.service-door .door-section-label.js-reveal.in,
.service-door .door-section-title.js-reveal.in,
.service-door .door-section-text.js-reveal.in,
.service-door .door-cta h2.js-reveal.in,
.service-door .door-cta p.js-reveal.in,
.service-door .site-footer.js-reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}

/* Buttons — same float-up as homepage CTAs */
.service-door .door-hero-actions .btn.js-reveal:not(.in),
.service-door .door-cta-actions .btn.js-reveal:not(.in),
.service-door .door-price .btn.js-reveal:not(.in) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: none;
}

.service-door .door-hero-actions .btn.js-reveal.in,
.service-door .door-cta-actions .btn.js-reveal.in,
.service-door .door-price .btn.js-reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}

/* Cards — fall down into place */
.service-door .door-pillar.js-reveal:not(.in),
.service-door .door-step.js-reveal:not(.in),
.service-door .door-price.js-reveal:not(.in),
.service-door .door-list > li.js-reveal:not(.in),
.service-door .door-industry.js-reveal:not(.in),
.service-door .door-faq details.js-reveal:not(.in) {
  opacity: 0;
  transform: translate3d(0, -36px, 0);
  transition: none;
}

.service-door .door-pillar.js-reveal.in,
.service-door .door-step.js-reveal.in,
.service-door .door-price.js-reveal.in,
.service-door .door-list > li.js-reveal.in,
.service-door .door-industry.js-reveal.in,
.service-door .door-faq details.js-reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--reveal-i, 0) * 110ms);
}

@media (prefers-reduced-motion: reduce) {
  .service-door .js-reveal:not(.in),
  .service-door .js-reveal.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
