/* ==========================================================================
   The Drain Detective — brand stylesheet
   Aesthetic: Evidence room meets editorial magazine
   Palette : Navy #0E1B2C / Brass #C8862E / Paper #F4EFE6 / Ink #2A2A2A
   Type    : Fraunces (display) / Inter (body) / JetBrains Mono (data labels)
   ========================================================================== */

:root {
  --navy: #0e1b2c;
  --navy-2: #152339;
  --brass: #c8862e;
  --brass-2: #e5a445;
  --brass-soft: rgba(200, 134, 46, 0.12);
  --brass-on-light: #8a5a16;
  --paper: #f4efe6;
  --paper-2: #eae3d4;
  --ink: #2a2a2a;
  --evidence: #a8321e;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

[x-cloak] {
  display: none !important;
}

/* ----- Base & typography ----- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

::selection {
  background: var(--brass);
  color: var(--navy);
}

/* Tighter Fraunces tracking on display weights */
.font-display {
  font-family: "Fraunces", Georgia, serif;
}
.font-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

/* Tailwind doesn't expose these by default in the CDN safely */
.font-600 {
  font-weight: 600;
}
.font-700 {
  font-weight: 700;
}
.font-500 {
  font-weight: 500;
}

/* ----- Skip link ----- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 1000;
  text-decoration: none;
  font-weight: 500;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--brass);
}

/* ----- Focus styles (a11y) ----- */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}
button,
a,
[role="button"] {
  cursor: pointer;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  background: rgba(14, 27, 44, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  transition:
    background 280ms var(--ease),
    backdrop-filter 280ms var(--ease),
    border-color 280ms var(--ease);
  border-bottom: 1px solid rgba(244, 239, 230, 0.06);
}
.site-header.is-scrolled {
  background: rgba(14, 27, 44, 0.96);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: rgba(244, 239, 230, 0.08);
}
/* Always keep header tinted on small screens (overlay would otherwise read poorly) */
@media (max-width: 1023px) {
  .site-header {
    background: rgba(14, 27, 44, 0.85);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
  }
}

.nav-link {
  color: rgba(244, 239, 230, 0.78);
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms var(--ease);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms var(--ease);
}
.nav-link:hover {
  color: var(--paper);
}
.nav-link:hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-brass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brass);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  line-height: 1;
  letter-spacing: -0.005em;
  transition:
    background 180ms var(--ease),
    transform 180ms var(--ease),
    box-shadow 220ms var(--ease);
  border: 1px solid var(--brass);
  text-decoration: none;
  white-space: nowrap;
}
.btn-brass:hover {
  background: var(--brass-2);
  border-color: var(--brass-2);
  transform: translateY(-1px);
}
.btn-brass:active {
  transform: translateY(0);
}
.btn-brass.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}
.btn-brass.btn-block {
  width: 100%;
  padding: 18px 24px;
  font-size: 17px;
}

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--paper);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  line-height: 1;
  transition:
    background 180ms var(--ease),
    transform 180ms var(--ease);
  border: 1px solid var(--navy);
  text-decoration: none;
}
.btn-navy:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
}
.btn-navy.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--paper);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 22px;
  line-height: 1;
  border: 1px solid rgba(244, 239, 230, 0.4);
  transition:
    border-color 180ms var(--ease),
    background 180ms var(--ease);
  text-decoration: none;
}
.btn-ghost-light:hover {
  border-color: var(--brass);
  background: rgba(200, 134, 46, 0.08);
}

/* Inline text link with arrow (light surface) */
.text-link-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--paper);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid rgba(244, 239, 230, 0.25);
  padding-bottom: 4px;
  transition:
    color 160ms var(--ease),
    border-color 160ms var(--ease);
}
.text-link-light:hover {
  color: var(--brass-2);
  border-color: var(--brass);
}
.text-link-light .arrow {
  display: inline-block;
  transition: transform 200ms var(--ease);
}
.text-link-light:hover .arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   CASE-FILE EYEBROW (mono small caps brass)
   ========================================================================== */
.case-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
}
.case-tick {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  flex: 0 0 24px;
}
.case-tick--ink {
  background: rgba(42, 42, 42, 0.5);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background:
    radial-gradient(
      ellipse at 75% 20%,
      rgba(200, 134, 46, 0.07) 0%,
      transparent 55%
    ),
    var(--navy);
  isolation: isolate;
}
.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.5;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  background-size: 220px 220px;
}

.hero-headline {
  font-size: clamp(48px, 8.5vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.section-headline {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.final-cta-headline {
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 600;
}

/* Stagger entry — only on first paint, no scroll-triggered */
.stagger > *,
.stagger-3 {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 700ms var(--ease) forwards;
}
.stagger > *:nth-child(1) {
  animation-delay: 60ms;
}
.stagger > *:nth-child(2) {
  animation-delay: 140ms;
}
.stagger > *:nth-child(3) {
  animation-delay: 220ms;
}
.stagger > *:nth-child(4) {
  animation-delay: 300ms;
}
.stagger > *:nth-child(5) {
  animation-delay: 380ms;
}
.stagger > *:nth-child(6) {
  animation-delay: 460ms;
}
.stagger-3 {
  animation-delay: 280ms;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .stagger > *,
  .stagger-3 {
    opacity: 1;
    transform: none;
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   CASE FRAME (image with brass top rule + navy caption bar)
   ========================================================================== */
.case-frame {
  position: relative;
  background: #061017;
  border: 1px solid rgba(244, 239, 230, 0.08);
}
.case-frame--light {
  background: var(--paper);
  border: 1px solid rgba(42, 42, 42, 0.1);
}
.case-frame__rule {
  height: 3px;
  background: var(--brass);
  transition: background 220ms var(--ease);
}
.case-frame__caption {
  background: rgba(6, 16, 23, 0.95);
  padding: 14px 18px 16px;
  border-top: 1px solid rgba(244, 239, 230, 0.06);
}
.case-frame__caption--light {
  background: var(--navy);
  color: var(--paper);
}

/* ==========================================================================
   TRUST CHIPS
   ========================================================================== */
.trust-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.3;
  font-weight: 500;
}
.trust-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  stroke: var(--brass);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ==========================================================================
   STAT BLOCK (the case for it)
   ========================================================================== */
.stat-block {
  border-top: 3px solid var(--brass);
  padding-top: 20px;
}
.stat-figure {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(64px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--brass-on-light);
  margin-bottom: 14px;
}
.stat-figure--small {
  font-size: clamp(46px, 5vw, 68px);
}
.stat-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.stat-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(42, 42, 42, 0.82);
}

/* ==========================================================================
   EVIDENCE WALL
   ========================================================================== */
.evidence-card {
  transition: transform 280ms var(--ease);
}
@media (hover: hover) {
  .evidence-card:hover {
    transform: translateY(-3px);
  }
  .evidence-card:hover .evidence-rule {
    background: var(--brass-2);
    height: 4px;
  }
  .evidence-card:hover .evidence-img {
    transform: scale(1.025);
  }
}
.evidence-frame {
  background: #050d14;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(244, 239, 230, 0.08);
}
.evidence-rule {
  height: 3px;
  background: var(--brass);
  transition:
    height 220ms var(--ease),
    background 220ms var(--ease);
}
.evidence-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 420ms var(--ease);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.evidence-label {
  background: var(--navy);
  color: var(--brass);
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 10px 14px;
  border-top: 1px solid rgba(200, 134, 46, 0.25);
}
.evidence-headline {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--paper);
  margin: 18px 0 8px;
  letter-spacing: -0.01em;
}
.evidence-body {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(244, 239, 230, 0.72);
}

/* ==========================================================================
   STEP CARDS
   ========================================================================== */
.step-card {
  position: relative;
}
.step-number {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(72px, 8vw, 110px);
  line-height: 0.85;
  color: var(--brass);
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  display: inline-block;
  position: relative;
}
.step-number::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 36px;
  height: 1px;
  background: var(--brass);
}
.step-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 18px 0 12px;
}
.step-body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(42, 42, 42, 0.82);
  max-width: 38ch;
}

/* ==========================================================================
   PRICING CARDS
   ========================================================================== */
.price-card {
  background: var(--paper);
  border: 1px solid rgba(14, 27, 44, 0.12);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    border-color 220ms var(--ease),
    transform 220ms var(--ease);
}
.price-card__rule {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 4px;
  background: var(--brass);
  transition: height 220ms var(--ease);
}
@media (hover: hover) {
  .price-card:hover {
    transform: translateY(-3px);
    border-color: var(--navy);
  }
  .price-card:hover .price-card__rule {
    height: 6px;
  }
}
.price-card--featured {
  background: linear-gradient(
    180deg,
    rgba(200, 134, 46, 0.07) 0%,
    var(--paper) 60%
  );
  border-color: rgba(200, 134, 46, 0.45);
}
.price-card--featured .price-card__rule {
  height: 6px;
}

.price-card__case {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42, 42, 42, 0.85);
  margin-top: 6px;
  margin-bottom: 14px;
}
.price-card--featured .price-card__case {
  color: var(--brass-on-light);
}

.price-card__price {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  color: var(--brass-on-light);
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}

.price-card__title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 14px 0 18px;
  min-height: 2.5em;
}

.price-card__when,
.price-card__what {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(42, 42, 42, 0.85);
  margin-bottom: 14px;
}
.price-card__when-label,
.price-card__what-label {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}
.price-card__cta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(14, 27, 44, 0.1);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    color 160ms var(--ease),
    gap 200ms var(--ease);
}
.price-card__cta:hover {
  color: var(--brass);
  gap: 12px;
}

/* ==========================================================================
   AUDIENCE BLOCKS (Who We Serve)
   ========================================================================== */
.audience-grid > .audience-block {
  padding: 0 0 0 0;
}
@media (min-width: 768px) {
  .audience-grid {
    gap: 0;
  }
  .audience-grid .audience-block {
    padding: 0 36px;
    border-right: 1px solid rgba(200, 134, 46, 0.25);
  }
  .audience-grid .audience-block:first-child {
    padding-left: 0;
  }
  .audience-grid .audience-block:last-child {
    padding-right: 0;
    border-right: none;
  }
}
.audience-block {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
}
.audience-mark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-style: italic;
  font-size: 36px;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.audience-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.audience-body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(244, 239, 230, 0.78);
  margin-bottom: 22px;
  flex: 1;
}
.audience-cta {
  color: var(--brass);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    gap 200ms var(--ease),
    color 160ms var(--ease);
  border-bottom: 1px solid rgba(200, 134, 46, 0.4);
  padding-bottom: 6px;
  align-self: flex-start;
}
.audience-cta:hover {
  color: var(--brass-2);
  gap: 12px;
  border-color: var(--brass-2);
}

/* ==========================================================================
   PULL QUOTE
   ========================================================================== */
.pull-quote {
  border-left: 3px solid var(--brass);
  padding-left: 22px;
  max-width: 56ch;
}
.pull-quote__text {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--navy);
  text-wrap: balance;
}
.pull-quote__cite {
  display: block;
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42, 42, 42, 0.82);
  margin-top: 16px;
}

/* Differentiator bullets */
.diff-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(42, 42, 42, 0.85);
}
.diff-bullet {
  width: 8px;
  height: 8px;
  background: var(--brass);
  flex: 0 0 8px;
  margin-top: 9px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid rgba(42, 42, 42, 0.15);
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color 160ms var(--ease);
}
.faq-q-text {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: -0.01em;
  flex: 1;
}
.faq-q:hover .faq-q-text {
  color: var(--brass);
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 280ms var(--ease);
}
.faq-icon-h,
.faq-icon-v {
  position: absolute;
  background: var(--brass);
  transition:
    transform 280ms var(--ease),
    opacity 280ms var(--ease);
}
.faq-icon-h {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}
.faq-icon-v {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}
.faq-icon.is-open .faq-icon-v {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}
.faq-icon.is-open {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(42, 42, 42, 0.85);
  max-width: 70ch;
}

/* ==========================================================================
   SERVICE AREA
   ========================================================================== */
.service-area-bg img {
  object-position: 65% center;
}

/* ==========================================================================
   CONTACT FORM (case-file framed)
   ========================================================================== */
.case-file-form {
  background: #fff;
  border: 1px solid rgba(14, 27, 44, 0.12);
  border-top: 4px solid var(--brass);
  padding: 36px 28px 32px;
  position: relative;
}
@media (min-width: 640px) {
  .case-file-form {
    padding: 44px 44px 40px;
  }
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}
.form-input {
  width: 100%;
  background: var(--paper);
  border: 1px solid rgba(14, 27, 44, 0.18);
  border-radius: 0;
  padding: 13px 14px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.4;
  transition:
    border-color 160ms var(--ease),
    background 160ms var(--ease);
}
.form-input::placeholder {
  color: rgba(42, 42, 42, 0.45);
  font-style: italic;
}
.form-input:hover {
  border-color: rgba(14, 27, 44, 0.4);
}
.form-input:focus {
  outline: none;
  border-color: var(--brass);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200, 134, 46, 0.15);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: none;
  cursor: pointer;
}
.form-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--navy);
  display: flex;
}

.case-file-success {
  text-align: center;
  padding: 24px 8px;
}

/* ==========================================================================
   STICKY MOBILE CTA
   ========================================================================== */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  background: var(--navy);
  border-top: 2px solid var(--brass);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
}
.sticky-cta__call,
.sticky-cta__case {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 14px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  line-height: 1;
  min-height: 56px;
}
.sticky-cta__call {
  background: var(--brass);
  color: var(--navy);
}
.sticky-cta__case {
  color: var(--paper);
  border-left: 1px solid rgba(244, 239, 230, 0.15);
}
.sticky-cta__call:active,
.sticky-cta__case:active {
  opacity: 0.85;
}

/* Add bottom padding so sticky CTA doesn't cover content on mobile */
@media (max-width: 1023px) {
  body {
    padding-bottom: 56px;
  }
}

/* ==========================================================================
   UTILITY: justify-center for case-eyebrow when used with mx-auto
   ========================================================================== */
.case-eyebrow.justify-center {
  justify-content: center;
}

/* ==========================================================================
   PRINT
   ========================================================================== */
@media print {
  .site-header,
  .sticky-cta,
  video,
  .hero-noise {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}

/* Form success eyebrow — brass needs darker tone on white background for AA */
.case-file-success .case-eyebrow {
  color: var(--brass-on-light) !important;
}

/* Hide sticky mobile CTA on desktop — overrides .sticky-cta display:flex specificity */
@media (min-width: 1024px) {
  .sticky-cta {
    display: none;
  }
}

/* ==========================================================================
   MOBILE NAV (vanilla — toggles via [data-open] attribute)
   ========================================================================== */
#mobile-nav {
  display: none;
}
#mobile-nav[data-open="true"] {
  display: flex;
}

/* ---------- Hero deck (the magazine-style 'what we do' line under H1) ---------- */
.hero-deck {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-style: italic;
  color: var(--paper);
}
.hero-deck strong { font-style: normal; }
