/* ========================================================
   AMP Visual Media - Design System & Stylesheet
   Replicated for 11ty
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&family=Red+Hat+Mono:ital,wght@0,400;0,600;0,700;1,600&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --bg-main: #0c0407;
  --bg-card: #181410;
  --bg-card-alt: #14100d;
  --bg-card-hover: #221c17;
  --bg-surface: #171717;
  --bg-navbar: rgba(12, 4, 7, 0.75);

  --text-main: #f3f0e8;
  --text-pure-white: #ffffff;
  --text-warm-white: #F5F2EB;
  --text-muted: #a3a3a3;
  --text-subtle: #737373;
  --text-dark: #181410;

  --accent-red: #ef4540;
  --accent-red-hover: #fc362d;
  --accent-red-dark: #c70e08;
  --accent-amber: #de9e3b;
  --accent-copper: #b86c2c;
  --accent-sand: #e4d7a9;
  --accent-yellow: #edd040;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(239, 69, 64, 0.35);

  --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Geist', 'Inter', sans-serif;
  --font-mono: 'Red Hat Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --max-width: 1420px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main {
  flex-grow: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-copper);
  display: inline-block;
  margin-bottom: 16px;
}

.eyebrow-accent {
  color: var(--accent-red);
}

.eyebrow-sand {
  color: var(--accent-sand);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-warm-white);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #fc362d 0%, #ef4540 50%, #c70e08 100%);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(239, 69, 64, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(239, 69, 64, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #ff4c44 0%, #fc362d 50%, #d4140e 100%);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  color: var(--text-warm-white);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-text {
  color: var(--text-muted);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.btn-text:hover {
  color: var(--text-warm-white);
}

.btn-text svg,
.btn-primary svg,
.btn-secondary svg {
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ========================================================
   HEADER & CURVED DOCK NAVBAR
   ======================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0 10px;
  background: transparent;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.dock-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.curved-dock {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 500px;
  position: relative;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.65));
  pointer-events: auto;
}

.dock-wing {
  flex: 1;
  height: 58px;
  background-color: #140F11;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.dock-wing-left {
  border-radius: 20px 0 0 20px;
  border-right: none;
  padding: 0 14px 0 20px;
  position: relative;
  overflow: hidden;
}

.dock-wing-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 45% 50%, rgba(222, 158, 59, 0.2) 0%, transparent 75%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.dock-wing-left:hover::before {
  opacity: 1;
}

.dock-link-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-warm-white);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dock-icon-deck {
  color: #DE9E3B;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
}

.dock-link-explore:hover {
  color: #FFFFFF;
  transform: translateY(-1px);
}

.dock-link-explore:hover .dock-icon-deck {
  transform: scale(1.15) rotate(-6deg);
  color: #F0A644;
}

.dock-wing-right {
  border-radius: 0 20px 20px 0;
  border-left: none;
  padding: 0 20px 0 14px;
  position: relative;
  overflow: hidden;
}

.dock-wing-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 55% 50%, rgba(222, 158, 59, 0.2) 0%, transparent 75%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.dock-wing-right:hover::before {
  opacity: 1;
}

.dock-icon-arrow {
  color: #DE9E3B;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
  display: block;
}

.dock-link-explore:hover .dock-icon-arrow {
  transform: translateX(3px);
  color: #F0A644;
}

.dock-notch-wrap {
  position: relative;
  width: 92px;
  height: 58px;
  flex-shrink: 0;
}

.dock-notch-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 92px;
  height: 58px;
  display: block;
}

.dock-popout-btn {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 35%, #F0A644 0%, #D99436 60%, #99321D 100%);
  border: 2px solid rgba(245, 242, 235, 0.9);
  box-shadow: 0 0 22px rgba(222, 158, 59, 0.6), 0 8px 16px rgba(0, 0, 0, 0.5);
  z-index: 2;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  text-decoration: none;
}

.dock-popout-btn:hover {
  transform: translateX(-50%) translateY(-3px) scale(1.04);
  box-shadow: 0 0 32px rgba(222, 158, 59, 0.85), 0 10px 22px rgba(0, 0, 0, 0.6);
}

.dock-popout-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (max-width: 540px) {
  .curved-dock {
    max-width: 96%;
  }

  .dock-wing-left {
    padding: 0 8px 0 12px;
  }

  .dock-wing-right {
    padding: 0 12px 0 8px;
  }

  .dock-link-explore {
    font-size: 12.5px;
    gap: 5px;
  }

  .dock-icon-deck {
    width: 12px;
    height: 12px;
  }

  .dock-icon-arrow {
    width: 10px;
    height: 8px;
  }
}

/* ========================================================
   FULLSCREEN MENU DRAWER
   ======================================================== */
.menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #080305;
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
  padding: 32px 48px;
}

.menu-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 40px;
}

.menu-close-btn {
  color: var(--text-warm-white);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
}

.menu-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.menu-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-nav-links a {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1.1;
}

.menu-nav-links a:hover {
  color: var(--text-warm-white);
  transform: translateX(12px);
}

.menu-side-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--border-light);
  padding-left: 48px;
}

.menu-side-section h4 {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--accent-copper);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.menu-social-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-social-links a {
  font-size: 18px;
  color: var(--text-muted);
}

.menu-social-links a:hover {
  color: var(--text-warm-white);
}

.menu-footer-info {
  margin-top: 40px;
}

.menu-footer-info a {
  font-size: 18px;
  color: var(--accent-sand);
}

/* ========================================================
   HERO SECTION
   ======================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 165px 0 105px;
  background-image:
    linear-gradient(to right, rgba(10, 4, 6, 0.88) 0%, rgba(10, 4, 6, 0.74) 45%, rgba(10, 4, 6, 0.42) 80%, rgba(10, 4, 6, 0.52) 100%),
    linear-gradient(to bottom, rgba(10, 4, 6, 0.45) 0%, transparent 40%, rgba(10, 4, 6, 0.65) 100%),
    url('/images/city-night.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  text-align: left;
}

.hero-container {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-title {
  max-width: 960px;
  margin: 0 0 40px 0;
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5.8vw, 4.85rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #f4efe6;
  text-align: left;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.75);
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content-bottom {
  display: flex;
  align-items: flex-start;
  gap: 52px;
  flex-wrap: wrap;
}

.hero-desc-group {
  max-width: 480px;
  display: flex;
  flex-direction: column;
}

.hero-desc {
  max-width: 480px;
  margin: 0 0 36px 0;
  font-size: 19px;
  color: #faeebb;
  line-height: 1.42;
  text-align: left;
  text-wrap: pretty;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards;
}

.hero-link-deck {
  display: inline-flex;
  align-items: center;
  color: #de7d32;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards;
}

.hero-link-deck:hover {
  color: #f59b58;
  text-decoration: underline;
}

.hero-cta-wrap {
  padding-top: 52px;
  opacity: 0;
  animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background-color: #a83c27;
  color: #ffffff;
  padding: 15px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.hero-btn-primary:hover {
  background-color: #be462e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 60, 39, 0.3);
}

.hero-btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.hero-btn-primary:hover .hero-btn-arrow {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .hero-desc,
  .hero-link-deck,
  .hero-cta-wrap {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 130px 0 60px;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero-title {
    font-size: clamp(2.7rem, 9.2vw, 3.45rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
  }

  .hero-content-bottom {
    flex-direction: column;
    gap: 28px;
  }

  .hero-cta-wrap {
    padding-top: 0;
    order: 2;
  }

  .hero-desc {
    margin-bottom: 24px;
    order: 1;
    font-size: 17.5px;
    line-height: 1.45;
  }

  .hero-link-deck {
    order: 3;
    margin-top: 4px;
  }

  .hero-desc-group {
    display: contents;
  }
}

/* ========================================================
   SECTION: THE MIRROR ("Sound familiar?")
   Desktop: cards deal onto the table when the section comes into view.
   Phones (<= 900px): a fanned pile you swipe through.
   Without JS the cards simply show as a row (desktop) or a stacked list (phones).
   ======================================================== */
.section-mirror {
  position: relative;
  overflow: clip;
  background-color: #F5F2EB;
  color: #0F2B2C;
  --mirror-card-w: clamp(150px, 13vw, 188px);
  --mirror-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.section-mirror .container {
  max-width: 1460px;
  width: 92%;
  padding: 0 40px;
}

.mirror-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(40px, 6vw, 64px);
  padding: 120px 0;
}

.mirror-header {
  text-align: center;
}

.mirror-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 4.5vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #0F2B2C;
  margin: 0;
}

.mirror-table {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
  width: min(1100px, 92%);
}

/* Card: same design as the FAQ answer face */
.mirror-card {
  --tilt: 0deg;
  --lift: 0px;
  --i: 0;
  position: relative;
  flex: none;
  width: var(--mirror-card-w);
  aspect-ratio: 5 / 7;
  display: flex;
  flex-direction: column;
  padding: 38px 16px 56px;
  background-color: #ECE1C3;
  color: #140F11;
  border: 8px solid #FFFFFF;
  border-radius: 14px;
  box-shadow: inset 0 0 0 3.5px #140F11, 0 22px 36px -22px rgba(0, 0, 0, 0.55);
  transform: translateY(var(--lift)) rotate(var(--tilt));
}

/* Resting tilts so the row looks hand-dealt */
.mirror-card:nth-child(1) { --tilt: -3deg; --lift: -6px; --i: 0; }
.mirror-card:nth-child(2) { --tilt: 2deg; --lift: 10px; --i: 1; }
.mirror-card:nth-child(3) { --tilt: -1.5deg; --lift: -6px; --i: 2; }
.mirror-card:nth-child(4) { --tilt: 3deg; --lift: 10px; --i: 3; }
.mirror-card:nth-child(5) { --tilt: -2deg; --lift: -6px; --i: 4; }

.mirror-card-corner {
  position: absolute;
  top: 12px;
  left: 13px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1;
}

.mirror-card-text {
  font-family: var(--font-sans);
  font-size: clamp(0.86rem, 1.05vw, 1rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: inherit;
  margin: 0;
}

/* Three touching stripes under each pain point, darkest on top */
.mirror-card-text::after {
  content: "";
  display: block;
  height: 12px;
  margin-top: 12px;
  background: linear-gradient(to bottom, #7b1e00 0 4px, #a64400 4px 8px, #be6e0e 8px 12px);
}

.mirror-card-logo {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #FFFFFF;
  pointer-events: none;
}

.mirror-footer-text {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 500;
  color: #0F2B2C;
  line-height: 1.28;
  max-width: 720px;
  margin: 0 auto;
}

/* Pile controls only show on phones */
.mirror-controls {
  display: none;
}

/* Desktop deal-in (script adds .is-animated, then .is-dealt when in view) */
@media (min-width: 901px) {
  .section-mirror.is-animated .mirror-card {
    opacity: 0;
    transform: translate(85vw, -40px) rotate(28deg);
    transition:
      transform 0.9s var(--mirror-ease) calc(var(--i) * 0.16s),
      opacity 0.25s ease calc(var(--i) * 0.16s);
  }

  .section-mirror.is-animated.is-dealt .mirror-card {
    opacity: 1;
    transform: translateY(var(--lift)) rotate(var(--tilt));
  }
}

.section-mirror.is-animated .mirror-footer-text {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--mirror-ease) 1.2s, transform 0.6s var(--mirror-ease) 1.2s;
}

.section-mirror.is-animated.is-dealt .mirror-footer-text {
  opacity: 1;
  transform: none;
}

/* Phones and small tablets: fanned pile */
@media (max-width: 900px) {
  .section-mirror {
    --mirror-card-w: 220px;
  }

  .mirror-stage {
    padding: 70px 0;
    gap: 36px;
  }

  .mirror-card-text {
    font-size: 1rem;
  }

  .mirror-footer-text br {
    display: none;
  }

  /* No-JS fallback: a simple column of cards */
  .mirror-table {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .mirror-card {
    transform: none;
  }

  /* Pile mode (script adds .is-pile) */
  .section-mirror.is-pile .mirror-table {
    position: relative;
    display: block;
    width: 100%;
    height: calc(var(--mirror-card-w) * 1.4 + 40px);
    touch-action: pan-y;
  }

  .section-mirror.is-pile .mirror-card {
    position: absolute;
    left: 50%;
    top: 10px;
    margin-left: calc(var(--mirror-card-w) / -2);
    transform-origin: 50% 100%;
    transition: transform 0.45s var(--mirror-ease), opacity 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
  }

  .section-mirror.is-pile .mirror-card.is-top {
    cursor: grab;
  }

  .section-mirror.is-pile .mirror-card.is-dragging {
    cursor: grabbing;
    transition: none;
  }

  .section-mirror.is-pile .mirror-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: -12px;
  }
}

.mirror-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(15, 43, 44, 0.25);
  background: transparent;
  color: #0F2B2C;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.mirror-nav:hover {
  background-color: rgba(15, 43, 44, 0.06);
  border-color: #0F2B2C;
}

.mirror-nav:focus-visible {
  outline: 2px solid #DE9E3B;
  outline-offset: 3px;
}

.mirror-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.mirror-count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #0F2B2C;
  font-variant-numeric: tabular-nums;
  min-width: 48px;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .section-mirror .mirror-card,
  .section-mirror .mirror-footer-text {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* ========================================================
   SECTION: THE MECHANIC ("The AMP Deck" & Video)
   ======================================================== */
.section-mechanic {
  padding: 110px 0 100px;
  background-color: #0B1E1C;
  color: #f4efe6;
  position: relative;
}

.deck-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
}

.deck-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #D9823B;
  text-transform: uppercase;
}

.deck-eyebrow-dot {
  width: 6px;
  height: 6px;
  background-color: #D9823B;
  display: inline-block;
  border-radius: 1px;
}

.deck-eyebrow-line {
  flex: 1;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
}

.deck-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 56px;
}

.deck-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 500;
  color: #f4efe6;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-amp {
  background-color: #A83C27;
  color: #f4efe6;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.88em;
  line-height: 1.1;
  display: inline-block;
}

.deck-statement {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.75vw, 2.45rem);
  font-weight: 500;
  line-height: 1.22;
  color: #f4efe6;
  max-width: 550px;
  letter-spacing: -0.018em;
}

.deck-description {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.4;
  color: #f4efe6;
  max-width: 600px;
  padding-top: 6px;
}

.text-gold {
  color: #DE9E3B;
  font-weight: 500;
}

/* Video Placeholder */
.deck-video-wrapper {
  max-width: 1160px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #061110;
}

.deck-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
}

.deck-video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.deck-action-center {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

@media (max-width: 960px) {
  .deck-content-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .deck-description {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .section-mechanic {
    padding: 70px 0;
  }

  .deck-eyebrow-row {
    margin-bottom: 28px;
  }

  .deck-video-brand {
    bottom: 14px;
    right: 16px;
  }

  .deck-video-brand img {
    height: 18px;
  }
}

/* ========================================================
   SECTION: PRIMARY OFFER ("Get a full roadmap in one sitting")
   ======================================================== */
.section-offer {
  padding: 100px 0 110px;
  background-color: #F5F2EB;
  color: #0F2B2C;
  position: relative;
}

.roadmap-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.roadmap-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 5px 12px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #0F2B2C;
  text-transform: uppercase;
  box-shadow: 0 1px 4px rgba(15, 43, 44, 0.04);
}

.roadmap-eyebrow-dot {
  width: 6px;
  height: 6px;
  background-color: #0F2B2C;
  display: inline-block;
}

.roadmap-eyebrow-line {
  flex: 1;
  height: 1px;
  background-color: rgba(15, 43, 44, 0.14);
}

.roadmap-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.6vw, 3.25rem);
  font-weight: 600;
  color: #0F2B2C;
  margin-bottom: 40px;
  letter-spacing: -0.028em;
  line-height: 1.08;
}

/* White Card Container */
.roadmap-card {
  background-color: #FFFFFF;
  border-radius: 4px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 52px;
  align-items: center;
  box-shadow: 0 4px 24px rgba(15, 43, 44, 0.04);
}

.roadmap-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
}

.roadmap-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.roadmap-content-col {
  display: flex;
  flex-direction: column;
}

.roadmap-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: #0F2B2C;
  margin: 0 0 20px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 43, 44, 0.2);
  line-height: 1.15;
}

.roadmap-p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.38;
  color: #1a2a2b;
  margin-bottom: 22px;
}

.roadmap-intro {
  margin-bottom: 22px;
}

.roadmap-leave-block {
  margin-bottom: 24px;
}

.roadmap-leave-heading {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.38;
  color: #1a2a2b;
  margin-bottom: 4px;
}

.roadmap-leave-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.roadmap-leave-list li {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.38;
  color: #1a2a2b;
}

.roadmap-pricing {
  margin-bottom: 0;
}

/* Bottom Section Piece */
.roadmap-bottom {
  margin-top: 56px;
}

.roadmap-availability-callout {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 600;
  color: #0F2B2C;
  line-height: 1.25;
  max-width: 960px;
  margin: 0 0 44px 0;
  text-align: left;
  letter-spacing: -0.015em;
}

.roadmap-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-roadmap-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #A83C27;
  color: #f4efe6;
  padding: 13px 26px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-roadmap-book:hover {
  background-color: #91311e;
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-roadmap-book .btn-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.btn-roadmap-book:hover .btn-arrow {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .roadmap-card {
    grid-template-columns: 1fr;
    padding: 36px 30px;
    gap: 36px;
  }

  .roadmap-img-wrap {
    min-height: 300px;
    max-height: 420px;
  }
}

@media (max-width: 640px) {
  .roadmap-card {
    padding: 22px 18px;
    gap: 24px;
  }

  .roadmap-img {
    border-radius: 16px;
  }

  .roadmap-availability-callout {
    margin: 40px 0 28px 0;
  }

  .btn-roadmap-book {
    width: 100%;
  }
}

/* ========================================================
   SECTION: STANDALONE DECK PRODUCT ("Try it for Yourself")
   ======================================================== */
.section-buy-deck {
  padding: 115px 0 125px;
  background-color: #DFD4A7;
  color: #0F2B2C;
  position: relative;
}

.trydeck-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 44px;
}

.trydeck-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #0F2B2C;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(15, 43, 44, 0.04);
}

.trydeck-eyebrow-dot {
  width: 7px;
  height: 7px;
  background-color: #0F2B2C;
  display: inline-block;
}

.trydeck-eyebrow-line {
  flex: 1;
  height: 1px;
  background-color: rgba(15, 43, 44, 0.16);
}

.trydeck-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 52px;
}

.trydeck-content {
  flex: 1;
}

.trydeck-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 3.4vw, 3.3rem);
  font-weight: 600;
  color: #0F2B2C;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  white-space: nowrap;
}

.trydeck-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.44rem, 2.15vw, 1.95rem);
  font-weight: 600;
  color: #0F2B2C;
  line-height: 1.25;
  margin-bottom: 30px;
}

.trydeck-desc {
  font-family: var(--font-heading);
  font-size: clamp(1.26rem, 1.82vw, 1.6rem);
  font-weight: 600;
  color: #0F2B2C;
  line-height: 1.34;
  max-width: 860px;
  margin: 0;
}

.trydeck-action {
  flex-shrink: 0;
  margin-bottom: 6px;
}

.btn-trydeck {
  display: inline-flex;
  align-items: center;
  background-color: #A83C27;
  color: #ffffff;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 17.5px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
}

.btn-trydeck:hover {
  background-color: #91311e;
  transform: translateY(-1px);
}

.btn-trydeck-text {
  padding: 17px 26px;
  color: #ffffff;
}

.btn-trydeck-sep {
  width: 1px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.28);
}

.btn-trydeck-arrow {
  padding: 17px 22px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-trydeck-arrow svg {
  transition: transform 0.2s ease;
  display: block;
}

.btn-trydeck:hover .btn-trydeck-arrow svg {
  transform: translateX(3px);
}

@media (max-width: 860px) {
  .trydeck-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .trydeck-title {
    white-space: normal;
  }
}

/* ========================================================
   SECTION: PROOF (TESTIMONIALS)
   ======================================================== */
.section-proof {
  padding: 100px 0 110px;
  background-color: #F5F2EB;
  color: #0F2B2C;
  border-top: 1px solid rgba(15, 43, 44, 0.12);
}

.proof-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.proof-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #0F2B2C;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.proof-eyebrow-dot {
  width: 6px;
  height: 6px;
  background-color: #0F2B2C;
  display: inline-block;
  flex-shrink: 0;
}

.proof-eyebrow-line {
  flex: 1;
  height: 1px;
  background-color: rgba(15, 43, 44, 0.16);
}

.proof-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  color: #0F2B2C;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.proof-title-tag {
  background-color: #111111;
  color: #DE9E3B;
  padding: 2px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-left: 2px;
}

.proof-dark-box {
  background-color: #0B1E1C;
  padding: 48px 48px 64px;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}

.proof-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: flex-start;
  width: 100%;
}

.proof-column {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.proof-card-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.proof-card-dot {
  width: 6px;
  height: 6px;
  background-color: #DE9E3B;
  display: inline-block;
  flex-shrink: 0;
}

.proof-card-eyebrow span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #DE9E3B;
  text-transform: uppercase;
}

.proof-card-line {
  flex: 1;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.14);
  margin-left: 10px;
}

.proof-card {
  border-radius: 22px;
  padding: 44px 38px;
  color: var(--text-warm-white);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.proof-card-amber {
  background-color: #D99436;
}

.proof-card-rust {
  background-color: #A03622;
}

.proof-author-header {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
  min-width: 0;
}

.proof-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid #FFFFFF;
  object-fit: cover;
  flex-shrink: 0;
}

.proof-author-name {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--text-warm-white);
  line-height: 1.15;
  margin: 0;
  word-break: break-word;
}

.proof-author-company {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-warm-white);
  margin-bottom: 26px;
}

.proof-quote {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.48;
  color: var(--text-warm-white);
  margin: 0;
}

@media (max-width: 920px) {
  .proof-cards-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .proof-dark-box {
    padding: 32px 20px 40px;
  }

  .proof-card {
    padding: 32px 24px;
    border-radius: 18px;
  }

  .proof-avatar {
    width: 110px;
    height: 110px;
  }

  .proof-author-header {
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .section-proof {
    padding: 60px 0 70px;
  }

  .proof-main-title {
    font-size: clamp(2rem, 7.5vw, 2.6rem);
    margin-bottom: 30px;
  }

  .proof-dark-box {
    padding: 22px 14px 28px;
    border-radius: 6px;
  }

  .proof-card {
    padding: 24px 16px;
    border-radius: 14px;
  }

  .proof-avatar {
    width: 80px;
    height: 80px;
    border-width: 3px;
  }

  .proof-author-header {
    gap: 14px;
    margin-bottom: 12px;
  }

  .proof-author-name {
    font-size: 1.3rem;
  }

  .proof-author-company {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .proof-quote {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* ========================================================
   SECTION: FAQ ACCORDION
   ======================================================== */
.section-faq {
  padding: 110px 0 125px;
  background-color: #120B0B;
  color: var(--text-warm-white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
}

.faq-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(222, 158, 59, 0.25);
  padding: 6px 14px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #DE9E3B;
  text-transform: uppercase;
}

.faq-eyebrow-dot {
  width: 6px;
  height: 6px;
  background-color: #DE9E3B;
  display: inline-block;
  flex-shrink: 0;
}

.faq-eyebrow-line {
  flex: 1;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-deck-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 52px;
}

.faq-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 3.8vw, 3.8rem);
  font-weight: 700;
  color: var(--text-warm-white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
}

.faq-deck-intro {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 42ch;
  margin: 14px 0 0;
}

.faq-deck-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-deck-count {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.faq-deck-flip-all {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-warm-white);
  padding: 9px 16px;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-deck-flip-all:hover {
  border-color: #DE9E3B;
  background-color: rgba(222, 158, 59, 0.08);
}

.faq-deck-flip-all:focus-visible {
  outline: 2px solid #DE9E3B;
  outline-offset: 3px;
}

/* Deck grid: every card is the same upright playing-card size */
.faq-deck {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 290px));
  justify-content: center;
  gap: 28px;
}

.faq-card {
  all: unset;
  display: block;
  cursor: pointer;
  perspective: 1400px;
  border-radius: 14px;
}

.faq-card:focus-visible {
  outline: 2px solid #DE9E3B;
  outline-offset: 5px;
}

/* Poker-card proportion (2.5 x 3.5in) */
.faq-card-inner {
  display: grid;
  aspect-ratio: 5 / 7;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-card:hover .faq-card-inner {
  transform: translateY(-6px) rotateZ(-0.8deg);
}

.faq-card[aria-pressed="true"] .faq-card-inner {
  transform: rotateY(180deg);
}

.faq-card[aria-pressed="true"]:hover .faq-card-inner {
  transform: rotateY(180deg) translateY(-6px);
}

/* Outer white border, then a black inner border, then the face colour */
.faq-card-face {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 42px 22px 58px;
  border: 8px solid #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  color: #140F11;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: inset 0 0 0 3.5px #140F11, 0 24px 40px -24px rgba(0, 0, 0, 0.75);
}

/* Question side (shown first): terracotta with the dark band and stage pill */
.faq-card-front {
  background-color: #A03622;
  color: var(--text-warm-white);
  padding-bottom: 82px;
}

/* Answer side (revealed on flip): cream with the striped underline */
.faq-card-back {
  background-color: #ECE1C3;
  transform: rotateY(180deg);
}

/* Dark footer band on the question side, edge to edge inside the black border */
.faq-card-front::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52px;
  background-color: #050609;
}

.faq-card-corner {
  position: absolute;
  top: 12px;
  left: 13px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
}

.faq-card-logo {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #FFFFFF;
}

.faq-card-front .faq-card-logo {
  bottom: 9px;
}

.faq-card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.6;
}

.faq-card-front .faq-card-tag {
  opacity: 0.75;
}

.faq-card-question {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  text-wrap: balance;
}

/* Three touching stripes under each answer, darkest on top */
.faq-card-answer::after {
  content: "";
  display: block;
  height: 12px;
  margin-top: 14px;
  background: linear-gradient(to bottom, #7b1e00 0 4px, #a64400 4px 8px, #be6e0e 8px 12px);
}

.faq-card-answer {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}

.faq-card-answer--long {
  font-size: 0.86rem;
  line-height: 1.42;
}

.faq-card-hint {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ECE1C3;
}

/* Journey-stage pill on the question side's seam above the black band, with rules out to the black border */
.faq-card-stage {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  transform: translateY(50%);
  display: flex;
  align-items: center;
  z-index: 1;
}

.faq-card-stage::before,
.faq-card-stage::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background-color: #c66802;
}

.faq-card-stage span {
  flex: none;
  padding: 5px 14px 4px;
  border: 1.5px solid #c66802;
  border-radius: var(--radius-full);
  background-color: #c66802;
  color: #050609;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .faq-deck {
    grid-template-columns: repeat(2, minmax(0, 290px));
  }
}

@media (max-width: 680px) {
  .faq-deck {
    grid-template-columns: minmax(0, 290px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-card-inner {
    transition-duration: 0.01ms;
  }
}

/* ========================================================
   SECTION: SERVICES ("What happens after the diagnosis...")
   ======================================================== */
.section-services {
  padding: 110px 0 130px;
  background-color: #120B0B;
  color: var(--text-warm-white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.services-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.services-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(222, 158, 59, 0.25);
  padding: 6px 14px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #DE9E3B;
  text-transform: uppercase;
}

.services-eyebrow-dot {
  width: 6px;
  height: 6px;
  background-color: #DE9E3B;
  display: inline-block;
  flex-shrink: 0;
}

.services-eyebrow-line {
  flex: 1;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.services-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.services-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  font-weight: 700;
  color: var(--text-warm-white);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0;
}

.services-title-tag {
  background-color: #A03622;
  color: #0F2B2C;
  padding: 2px 10px;
  border-radius: 3px;
  display: inline-block;
  margin-top: 4px;
}

.services-header-aside {
  text-align: right;
  max-width: 480px;
  padding-top: 8px;
}

.services-header-aside p {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--text-warm-white);
  margin: 0;
}

.services-table {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services-row {
  display: grid;
  grid-template-columns: 310px 1fr;
  border: 1px solid rgba(220, 215, 200, 0.28);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  cursor: default;
}

.services-row:hover {
  border-color: #DE9E3B;
  box-shadow: 0 6px 24px rgba(222, 158, 59, 0.16), 0 0 12px rgba(222, 158, 59, 0.1);
  transform: translateY(-2px);
}

.services-row-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 20px;
  background-color: rgba(20, 16, 15, 0.85);
  border-right: 1px solid rgba(220, 215, 200, 0.28);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-warm-white);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.services-row:hover .services-row-label {
  border-right-color: rgba(222, 158, 59, 0.5);
  background-color: rgba(28, 22, 18, 0.95);
}

.services-row-desc {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 36px;
  background-color: rgba(38, 33, 29, 0.65);
  font-family: var(--font-mono);
  font-size: 17.5px;
  line-height: 1.55;
  letter-spacing: 0.05em;
  color: var(--text-warm-white);
  transition: background-color 0.25s ease;
}

.services-row:hover .services-row-desc {
  background-color: rgba(46, 39, 34, 0.75);
}

@media (max-width: 860px) {
  .services-header-row {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .services-header-aside {
    text-align: left;
    padding-top: 0;
  }

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

  .services-row-label {
    border-right: none;
    border-bottom: 1px solid rgba(220, 215, 200, 0.28);
    padding: 18px 20px;
  }

  .services-row-desc {
    padding: 20px 24px;
  }
}

/* ========================================================
   FOOTER CALL TO ACTION
   ======================================================== */
.footer-cta {
  padding: 100px 0 90px;
  background: radial-gradient(circle at 50% 115%, rgba(217, 148, 54, 0.09) 0%, transparent 60%), #F5F2EB;
  border-top: 1px solid rgba(15, 43, 44, 0.1);
  text-align: center;
  position: relative;
}

.footer-cta-eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 36px;
}

.footer-cta-eyebrow-line {
  flex: 1;
  height: 1px;
  background-color: rgba(15, 43, 44, 0.12);
}

.footer-cta-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 43, 44, 0.1);
  padding: 5px 12px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #0F2B2C;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.footer-cta-eyebrow-dot {
  width: 6px;
  height: 6px;
  background-color: #A03622;
  display: inline-block;
  border-radius: 1px;
}

.footer-cta-content {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 700;
  color: #0F2B2C;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.footer-cta-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: #D99436;
  margin-bottom: 36px;
  line-height: 1.4;
}

.footer-cta-btn-wrap {
  margin-bottom: 28px;
}

.btn-footer-book {
  display: inline-flex;
  align-items: center;
  background-color: #A03622;
  color: var(--text-warm-white);
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 600;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(160, 54, 34, 0.18);
  transition: background-color 0.2s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.btn-footer-book:hover {
  background-color: #8E2E1B;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(160, 54, 34, 0.28);
}

.btn-footer-book:active {
  transform: translateY(0) scale(0.99);
}

.btn-footer-text {
  padding: 15px 24px;
  color: var(--text-warm-white);
  letter-spacing: -0.01em;
}

.btn-footer-sep {
  width: 1px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.25);
  transition: background-color 0.2s ease;
}

.btn-footer-book:hover .btn-footer-sep {
  background-color: rgba(255, 255, 255, 0.4);
}

.btn-footer-arrow {
  padding: 15px 18px;
  color: var(--text-warm-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-footer-arrow svg {
  display: block;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-footer-book:hover .btn-footer-arrow svg {
  transform: translateX(4px);
}

.footer-cta-note {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  color: #B87A28;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #A03622;
  padding: 75px 0 55px;
}

.site-footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}

.footer-logo-block {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}

.footer-circle-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-circle-logo:hover {
  transform: rotate(5deg) scale(1.02);
}

.footer-v-divider {
  width: 1px;
  min-height: 200px;
  background-color: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.footer-col-menu {
  display: flex;
  flex-direction: column;
  min-width: 160px;
}

.footer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(245, 242, 235, 0.65);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-nav-list a {
  font-family: var(--font-sans);
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  font-weight: 450;
  color: var(--text-warm-white);
  text-decoration: none;
  line-height: 1.28;
  letter-spacing: -0.03em;
  display: inline-block;
  transition: color 0.2s ease, transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-nav-list a:hover {
  color: #FFFFFF;
  transform: translateX(16px);
}

.footer-col-contact {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(245, 242, 235, 0.85);
}

.footer-address-name {
  font-weight: 600;
  color: var(--text-warm-white);
  margin-bottom: 4px;
}

.footer-address a {
  color: var(--text-warm-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 242, 235, 0.35);
  align-self: flex-start;
  overflow-wrap: anywhere;
  transition: border-color 0.2s ease;
}

.footer-address a:first-of-type {
  margin-top: 10px;
}

.footer-address a:hover {
  border-color: var(--text-warm-white);
}

.footer-col-connect {
  display: flex;
  flex-direction: column;
  margin-left: auto;
}

.footer-connect-columns {
  display: flex;
  gap: 70px;
}

.footer-bbb-row {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bbb-badge {
  display: inline-flex;
  align-items: center;
  background-color: #F5F2EB;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-bbb-badge:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.footer-bbb-image {
  height: 38px;
  width: auto;
  display: block;
}

@media (max-width: 860px) {
  .site-footer-inner {
    flex-direction: column;
    gap: 36px;
  }

  .footer-v-divider {
    display: none;
  }

  .footer-col-connect {
    margin-left: 0;
  }

  .footer-connect-columns {
    gap: 40px;
    flex-wrap: wrap;
  }

  .footer-circle-logo {
    width: 130px;
    height: 130px;
  }
}

/* ========================================================
   RESPONSIVE DESIGN
   ======================================================== */
@media (max-width: 1024px) {
  .stages-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .offer-container {
    grid-template-columns: 1fr;
  }

  .buy-deck-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }

  .nav-right .nav-link,
  .nav-right .btn-nav-deck {
    display: none;
  }

  .stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .menu-content {
    grid-template-columns: 1fr;
  }

  .menu-side-col {
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding-left: 0;
    padding-top: 32px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================================
   SERVICES PAGE (Rebuilt to match homepage design language)
   ======================================================== */

.services-page-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 165px 0 105px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.services-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 4, 6, 0.72) 0%, rgba(10, 4, 6, 0.48) 50%, rgba(10, 4, 6, 0.25) 100%),
    linear-gradient(to bottom, rgba(10, 4, 6, 0.3) 0%, transparent 45%, rgba(10, 4, 6, 0.55) 100%),
    url('/images/amp-hero.jpg');
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.services-page-hero > .container {
  position: relative;
  z-index: 2;
}

.services-hero-content {
  max-width: 980px;
  position: relative;
  z-index: 2;
}

.services-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 700;
  color: var(--text-warm-white);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.85);
}

.services-hero-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  color: #DE9E3B;
  margin: 0 0 20px;
  max-width: 880px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}


.services-hero-desc {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.55;
  color: rgba(245, 242, 235, 0.85);
  margin: 0 0 36px;
  max-width: 820px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}

.services-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.services-hero-deck-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: #DE9E3B;
  text-decoration: none;
  transition: var(--transition);
  padding: 8px 12px;
}

.services-hero-deck-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Core Engine Section (Dark Showcase matching reference screenshots) */
.section-services-engine {
  padding: 110px 0 130px;
  background-color: #070707;
  color: #f4efe6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-services-engine .deck-eyebrow-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #DE9E3B;
}

.section-services-engine .deck-eyebrow-dot {
  background-color: #DE9E3B;
}

.section-services-engine .deck-eyebrow-line {
  background-color: rgba(255, 255, 255, 0.08);
}

.services-engine-header {
  margin-bottom: 50px;
}

.services-engine-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  color: #f4efe6;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

/* Scroll Track Container */
.engine-scroll-container {
  position: relative;
  min-height: 260vh;
}

/* Showcase Grid Layout - Pins inside scroll container */
.engine-showcase-wrap {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 48px;
  align-items: start;
  position: sticky;
  /* Clear the floating navbar with room to breathe; grows on tall (full-screen) windows.
     The scroll script in services.html reads this value. */
  top: clamp(110px, 14vh, 170px);
}

/* Left Sidebar - inside sticky wrap */
.engine-showcase-sidebar {
  display: flex;
  flex-direction: column;
}

/* Odometer Count-Up Ticker (01. -> 02. -> 03.) */
.engine-big-number-wrap {
  height: 72px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}

.engine-number-ticker {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.engine-number-item {
  height: 72px;
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: clamp(3.6rem, 5.5vw, 4.8rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.22);
  line-height: 1;
  letter-spacing: -0.04em;
}

.engine-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}

.engine-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: color 0.25s ease, transform 0.25s ease;
}

.engine-nav-dash {
  font-weight: 700;
  color: #ffffff;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.engine-nav-btn.is-active {
  color: #ffffff;
  font-weight: 700;
}

.engine-nav-btn.is-active .engine-nav-dash {
  opacity: 1;
  transform: translateX(0);
}

.engine-nav-btn:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* Content Panels (Slide Out Up / Slide In Up) */
.engine-panels-container {
  position: relative;
  min-height: 360px;
}

.engine-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(32px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.45s;
}

.engine-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  position: relative;
}

.engine-panel.prepare-bottom {
  transform: translateY(32px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

.engine-panel.prepare-top {
  transform: translateY(-32px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

.engine-panel.slide-out-up {
  transform: translateY(-32px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
}

.engine-panel.slide-out-down {
  transform: translateY(32px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
}

.engine-panel.slide-in-up,
.engine-panel.slide-in-down {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

.engine-panel-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 2.7vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  line-height: 1.15;
}

.engine-panel-tagline {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: #DE9E3B;
  margin: 0 0 12px;
}

.engine-panel-desc {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.5;
  color: rgba(245, 242, 235, 0.76);
  margin: 0 0 16px;
}

.engine-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.engine-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.42;
  color: rgba(245, 242, 235, 0.72);
}

.engine-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #DE9E3B;
  margin-top: 6px;
  flex-shrink: 0;
}

.engine-panel-cta {
  padding-top: 4px;
}

.engine-panel-cta .hero-btn-primary {
  padding: 10px 22px;
  font-size: 0.92rem;
}

/* Right Column Display Stage */
.engine-showcase-display {
  position: relative;
  width: 100%;
  height: min(560px, calc(100vh - 130px));
  min-height: 460px;
  border-radius: 28px;
  overflow: hidden;
  background-color: #0c0d0e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.engine-showcase-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background-color: #0c0d0e;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.engine-showcase-layer[data-layer="0"] {
  z-index: 1;
  transform: translateY(0);
}

.engine-showcase-layer[data-layer="1"] {
  z-index: 2;
  transform: translateY(100%);
  box-shadow: 0 -16px 36px rgba(0, 0, 0, 0.65);
}

.engine-showcase-layer[data-layer="1"].is-active,
.engine-showcase-layer[data-layer="1"].is-passed {
  transform: translateY(0);
}

.engine-showcase-layer[data-layer="2"] {
  z-index: 3;
  transform: translateY(100%);
  box-shadow: 0 -16px 36px rgba(0, 0, 0, 0.65);
}

.engine-showcase-layer[data-layer="2"].is-active,
.engine-showcase-layer[data-layer="2"].is-passed {
  transform: translateY(0);
}

.engine-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Floating Badges in bottom right corner (from reference screenshot) */
.engine-floating-actions {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.engine-pill-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #E83F33;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(232, 63, 51, 0.45);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.engine-pill-btn-primary:hover {
  background-color: #f74d41;
  transform: translateY(-2px);
  color: #ffffff;
}

.engine-pill-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #0a0a0a;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.engine-pill-btn-secondary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  color: #000000;
}

.engine-pill-badge-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 9999px;
}

.engine-pill-brand-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #DE9E3B;
}

/* Mobile Natural Scroll Feed */
.engine-mobile-feed {
  display: none;
}

@media (max-width: 1024px) {
  /* Hide desktop interactive sticky scroll container on mobile */
  .engine-scroll-container {
    display: none !important;
  }

  /* Display natural mobile vertical column feed */
  .engine-mobile-feed {
    display: flex;
    flex-direction: column;
    gap: 60px;
    width: 100%;
    padding-top: 10px;
  }

  .engine-mobile-card {
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .engine-mobile-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  .engine-mobile-number {
    font-family: var(--font-heading);
    font-size: clamp(3.2rem, 9vw, 4.4rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
  }

  .engine-mobile-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5.5vw, 2.4rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin: 0 0 6px;
    line-height: 1.15;
  }

  .engine-mobile-tagline {
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 600;
    color: #DE9E3B;
    margin: 0 0 14px;
  }

  .engine-mobile-desc {
    font-family: var(--font-sans);
    font-size: 0.94rem;
    line-height: 1.52;
    color: rgba(245, 242, 235, 0.76);
    margin: 0 0 18px;
  }

  .engine-mobile-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 9px;
  }

  .engine-mobile-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    line-height: 1.42;
    color: rgba(245, 242, 235, 0.72);
  }

  .engine-mobile-cta {
    margin-bottom: 24px;
  }

  .engine-mobile-cta .hero-btn-primary {
    display: inline-flex;
    padding: 10px 22px;
    font-size: 0.92rem;
  }

  .engine-mobile-image-wrap {
    width: 100%;
    height: clamp(240px, 52vw, 360px);
    border-radius: 20px;
    overflow: hidden;
    background-color: #0c0d0e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  }

  .engine-mobile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
}

/* Work / Projects Section (Matching #0B1E1C from The AMP Deck) */
.section-services-work {
  padding: 110px 0;
  background-color: #0B1E1C;
  color: #f4efe6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.services-work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.services-work-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 700;
  color: #f4efe6;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

.services-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.services-work-card {
  position: relative;
  border-radius: 36px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 540px;
  background-color: #050b0a;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.services-work-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-work-card:hover .services-work-bg-img {
  transform: scale(1.05);
}

.services-work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.05) 30%,
    rgba(0, 0, 0, 0.62) 58%,
    rgba(0, 0, 0, 0.92) 80%,
    #000000 100%
  );
  z-index: 2;
  pointer-events: none;
}

.services-work-body {
  position: relative;
  z-index: 3;
  padding: 28px 26px 28px;
  display: flex;
  flex-direction: column;
}

.services-work-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.services-work-headline {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.services-work-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 13px;
  border-radius: 9999px;
  white-space: nowrap;
}

.services-work-summary {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.76);
  margin: 0 0 16px;
}

.services-work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.services-work-tag-chip {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 9999px;
  white-space: nowrap;
}

.services-work-cta-wrap {
  width: 100%;
}

.services-work-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background-color: #E8590C;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 9999px;
  text-decoration: none;
  border: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(232, 89, 12, 0.35);
}

.services-work-btn-pill:hover {
  background-color: #f7671b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 89, 12, 0.5);
  color: #ffffff;
}

.services-work-btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.services-work-btn-pill:hover .services-work-btn-arrow {
  transform: translateX(4px);
}

/* Stories / Testimonials Box */
.section-services-stories {
  padding: 110px 0;
  background-color: #0b0406;
  border-bottom: 1px solid var(--border-light);
}

.services-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.services-story-card {
  background-color: #140E10;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.services-story-card:hover {
  transform: translateY(-3px);
  border-color: rgba(222, 158, 59, 0.35);
}

.services-story-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-warm-white);
  line-height: 1.35;
  margin: 0 0 16px;
}

.services-story-quote {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.55;
  color: rgba(245, 242, 235, 0.72);
  margin: 0;
}

.services-story-author-block {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.services-story-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-warm-white);
}

.services-story-role {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #DE9E3B;
  margin-top: 3px;
}

/* Services CTA Banner Card (Screenshot exact match) */
.section-services-cta-banner {
  padding: 90px 0 60px;
  background: radial-gradient(circle at 50% 115%, rgba(217, 148, 54, 0.09) 0%, transparent 60%), #F5F2EB;
  border-top: 1px solid rgba(15, 43, 44, 0.1);
}

.section-services-cta-banner + .footer-cta {
  border-top: none;
  padding-top: 40px;
}

.services-banner-card {
  background-color: #1f1f1f;
  border: none;
  border-radius: 42px;
  padding: clamp(60px, 8vw, 110px) clamp(20px, 5vw, 60px);
  text-align: center;
  box-shadow: none;
  max-width: 1340px;
  margin: 0 auto;
}

.services-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.2vw, 5.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.038em;
  color: #EDEAE3;
  margin: 0 auto;
  max-width: 960px;
}

.services-banner-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 400;
  color: rgba(245, 242, 235, 0.9);
  margin: 24px 0 26px;
  line-height: 1.4;
}

.services-banner-action {
  display: flex;
  justify-content: center;
  margin-top: 6px;
}

.btn-get-amped {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #E83F33;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(232, 63, 51, 0.35);
}

.btn-get-amped:hover {
  background-color: #F94D40;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 63, 51, 0.45);
}

@media (max-width: 1024px) {
  .services-engine-grid,
  .services-work-grid,
  .services-stories-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .services-page-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 120px 0 60px;
  }

  .services-page-hero::before {
    background-position: center top;
  }

  .services-banner-card {
    border-radius: 28px;
    padding: 50px 20px;
  }
}

/* ========================================================
   BRAND IDENTITY PAGE
   ======================================================== */

.brand-identity-hero,
.websites-hero,
.services-seo-hero,
.case-study-hero {
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 165px 0 105px;
  position: relative;
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  background-color: #080305;
}

.brand-identity-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(8, 3, 5, 0.88) 0%, rgba(8, 3, 5, 0.65) 50%, rgba(8, 3, 5, 0.35) 100%),
    linear-gradient(to bottom, rgba(8, 3, 5, 0.45) 0%, transparent 45%, rgba(8, 3, 5, 0.85) 100%),
    url('/images/brand-identity.avif');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

.websites-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(8, 3, 5, 0.88) 0%, rgba(8, 3, 5, 0.65) 50%, rgba(8, 3, 5, 0.35) 100%),
    linear-gradient(to bottom, rgba(8, 3, 5, 0.45) 0%, transparent 45%, rgba(8, 3, 5, 0.85) 100%),
    url('/images/websites.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

.services-seo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(8, 3, 5, 0.88) 0%, rgba(8, 3, 5, 0.65) 50%, rgba(8, 3, 5, 0.35) 100%),
    linear-gradient(to bottom, rgba(8, 3, 5, 0.45) 0%, transparent 45%, rgba(8, 3, 5, 0.85) 100%),
    url('/images/SEO.avif');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

.case-study-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(8, 3, 5, 0.90) 0%, rgba(8, 3, 5, 0.70) 50%, rgba(8, 3, 5, 0.40) 100%),
    linear-gradient(to bottom, rgba(8, 3, 5, 0.50) 0%, transparent 45%, rgba(8, 3, 5, 0.90) 100%),
    url('/images/economic-dev.avif');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
}

.case-study-hero.case-study-three-hero::before {
  background-image:
    linear-gradient(to right, rgba(8, 3, 5, 0.92) 0%, rgba(8, 3, 5, 0.72) 50%, rgba(8, 3, 5, 0.42) 100%),
    linear-gradient(to bottom, rgba(8, 3, 5, 0.50) 0%, transparent 45%, rgba(8, 3, 5, 0.90) 100%),
    url('/images/bee-strong.avif');
  background-position: center 30%;
}

.brand-identity-hero > .container,
.websites-hero > .container,
.services-seo-hero > .container,
.case-study-hero > .container {
  position: relative;
  z-index: 2;
}

.brand-hero-content {
  max-width: 960px;
  position: relative;
  z-index: 2;
}

.brand-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  font-weight: 800;
  color: #EDEAE3;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

.brand-hero-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 700;
  color: #DE9E3B;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.25;
}

.brand-hero-desc {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  font-weight: 400;
  color: rgba(245, 242, 235, 0.84);
  line-height: 1.62;
  max-width: 740px;
  margin: 0 0 36px;
}

.brand-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Feature Showcase Section (boat.avif) */
.section-brand-showcase {
  padding: 80px 0;
  background-color: #0b0406;
  border-bottom: 1px solid var(--border-light);
}

.brand-showcase-frame {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  aspect-ratio: 16 / 9;
  max-height: 640px;
  width: 100%;
  background-color: #050b0a;
}

.brand-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-showcase-frame:hover .brand-showcase-img {
  transform: scale(1.03);
}

.brand-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

/* Foundational Pillars Section (Staggered Alternating Layout - Off-White) */
.section-brand-pillars {
  padding: 120px 0;
  background-color: #F5F2EB;
  color: #0F2B2C;
  border-top: 1px solid rgba(15, 43, 44, 0.12);
  border-bottom: 1px solid rgba(15, 43, 44, 0.12);
}

.section-brand-pillars .deck-eyebrow-badge {
  background: #FFFFFF;
  color: #0F2B2C;
  border: 1px solid rgba(15, 43, 44, 0.08);
  box-shadow: 0 1px 3px rgba(15, 43, 44, 0.06);
}

.section-brand-pillars .deck-eyebrow-dot {
  background-color: #D9823B;
}

.section-brand-pillars .deck-eyebrow-line {
  background-color: rgba(15, 43, 44, 0.16);
}

.brand-pillars-header {
  margin-bottom: 70px;
  max-width: 820px;
}

.brand-pillars-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: #0F2B2C;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
}

.brand-pillars-subtitle {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: rgba(15, 43, 44, 0.76);
  line-height: 1.55;
  margin: 0;
}

.brand-pillars-list {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 8vw, 108px);
}

.brand-pillar-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
}

.brand-pillar-row.is-reversed {
  grid-template-columns: 0.85fr 1.15fr;
}

.brand-pillar-row.is-reversed .brand-pillar-media {
  order: 2;
}

.brand-pillar-row.is-reversed .brand-pillar-body {
  order: 1;
}

.brand-pillar-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  overflow: hidden;
  background-color: #eae5d9;
  position: relative;
  border: 1px solid rgba(15, 43, 44, 0.12);
  box-shadow: 0 16px 36px rgba(15, 43, 44, 0.12);
}

.brand-pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-pillar-media:hover .brand-pillar-img {
  transform: scale(1.04);
}

/* Belleville Site-Selection long image slice positioning */
.brand-pillar-img.site-slice-1 {
  object-position: center 0%;
  transform-origin: center 0%;
}

.brand-pillar-img.site-slice-2 {
  object-position: center 42.5%;
  transform-origin: center 42.5%;
}

.brand-pillar-img.site-slice-3 {
  object-position: center 66%;
  transform-origin: center 66%;
}

.brand-pillar-img.site-slice-4 {
  object-position: center 100%;
  transform-origin: center 100%;
}

.brand-pillar-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.brand-pillar-num {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: #D9823B;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.brand-pillar-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 2.9vw, 2.6rem);
  font-weight: 700;
  color: #0F2B2C;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  line-height: 1.2;
}

.brand-pillar-copy {
  font-family: var(--font-sans);
  font-size: clamp(1.04rem, 1.3vw, 1.15rem);
  line-height: 1.68;
  color: rgba(15, 43, 44, 0.78);
  margin: 0;
  max-width: 540px;
}

/* Foundational Pillars: bento grid (heading tile, feature tile, two small tiles) */
.pillars-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pillars-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background-color: #FFFFFF;
  border: 1px solid rgba(15, 43, 44, 0.14);
  border-radius: 18px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillars-tile:not(.pillars-intro):hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -36px rgba(15, 43, 44, 0.5);
}

.pillars-intro {
  grid-column: span 2;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(28px, 4vw, 48px);
  background-color: #0F2B2C;
  border: none;
  color: #F5F2EB;
}

.pillars-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pillars-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(245, 242, 235, 0.18);
}

.pillars-eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background-color: rgba(245, 242, 235, 0.08);
  border: 1px solid rgba(245, 242, 235, 0.16);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pillars-eyebrow span::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #D9823B;
}

.pillars-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: #F5F2EB;
  margin: 0 0 14px;
}

.pillars-subtitle {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  line-height: 1.6;
  color: rgba(245, 242, 235, 0.75);
  max-width: 60ch;
  margin: 0;
}

.pillars-tile--feature {
  grid-column: 3 / span 2;
  grid-row: span 2;
}

.pillars-tile-media {
  position: relative;
  overflow: hidden;
  background-color: #EDE8DC;
}

.pillars-tile--feature .pillars-tile-media {
  flex: 1 1 auto;
  min-height: 320px;
}

.pillars-tile--small .pillars-tile-media {
  aspect-ratio: 16 / 9;
}

.pillars-tile-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* For photos whose subject sits on the right (keeps the face in the crop) */
.pillars-tile-media img.is-focus-right {
  object-position: 78% center;
}

.pillars-tile:hover .pillars-tile-media img {
  transform: scale(1.04);
}

.pillars-tile-body {
  display: grid;
  gap: 10px;
  padding: 24px 26px 28px;
}

.pillars-tile--feature .pillars-tile-body {
  padding: 30px 34px 34px;
}

.pillars-tile-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #0F2B2C;
  margin: 0;
}

.pillars-tile--feature .pillars-tile-title {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.pillars-tile-copy {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(15, 43, 44, 0.78);
  margin: 0;
}

@media (max-width: 960px) {
  .pillars-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillars-intro,
  .pillars-tile--feature {
    grid-column: span 2;
  }

  .pillars-tile--feature {
    grid-row: auto;
  }
}

@media (max-width: 600px) {
  .pillars-bento {
    grid-template-columns: 1fr;
  }

  .pillars-intro,
  .pillars-tile--feature {
    grid-column: auto;
  }

  .pillars-tile--feature .pillars-tile-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pillars-tile,
  .pillars-tile-media img {
    transition: none;
  }
}

/* Solutions We Offer Section (Accordion) */
.section-brand-solutions {
  padding: 115px 0;
  background-color: #080305;
  border-bottom: 1px solid var(--border-light);
}

.brand-solutions-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
  align-items: start;
}

.brand-solutions-intro {
  position: sticky;
  top: 130px;
}

.brand-solutions-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: #EDEAE3;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 18px;
}

.brand-solutions-desc {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(245, 242, 235, 0.76);
  margin: 0 0 28px;
}

.brand-solutions-list {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-solution-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.2s ease;
}

.brand-solution-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 8px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.brand-solution-summary::-webkit-details-marker {
  display: none;
}

.brand-solution-heading {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 700;
  color: #EDEAE3;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.brand-solution-item[open] .brand-solution-heading,
.brand-solution-summary:hover .brand-solution-heading {
  color: #DE9E3B;
}

.brand-solution-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-solution-icon::before,
.brand-solution-icon::after {
  content: "";
  position: absolute;
  background-color: #EDEAE3;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

/* Horizontal bar */
.brand-solution-icon::before {
  width: 14px;
  height: 2px;
}

/* Vertical bar */
.brand-solution-icon::after {
  width: 2px;
  height: 14px;
}

.brand-solution-item[open] .brand-solution-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.brand-solution-item[open] .brand-solution-icon::before {
  background-color: #DE9E3B;
}

.brand-solution-content {
  padding: 0 8px 28px;
}

.brand-solution-content p {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.62;
  color: rgba(245, 242, 235, 0.74);
  margin: 0;
  max-width: 620px;
}

/* Mid-Page Callout Banner (Off-White Section Background with Black Card) */
.section-brand-mid-cta {
  padding: 100px 0;
  background-color: #F5F2EB;
  border-top: 1px solid rgba(15, 43, 44, 0.12);
  border-bottom: 1px solid rgba(15, 43, 44, 0.12);
}

.brand-mid-cta-card {
  background-color: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 42px;
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 60px);
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.brand-mid-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  color: #EDEAE3;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 auto 20px;
  max-width: 860px;
}

.brand-mid-cta-sub {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(245, 242, 235, 0.85);
  margin: 0 auto 34px;
  line-height: 1.5;
}

.brand-mid-cta-action {
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
  .brand-pillars-list {
    gap: 48px;
  }

  .brand-pillar-row,
  .brand-pillar-row.is-reversed {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
    border-radius: 0;
  }

  .brand-pillar-row.is-reversed .brand-pillar-media {
    order: 1;
  }

  .brand-pillar-row.is-reversed .brand-pillar-body {
    order: 2;
  }

  .brand-solutions-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .brand-solutions-intro {
    position: static;
  }
}

@media (max-width: 768px) {
  .brand-identity-hero,
  .websites-hero,
  .services-seo-hero,
  .case-study-hero {
    min-height: auto;
    padding: 130px 0 70px;
  }

  .brand-showcase-frame {
    border-radius: 20px;
    aspect-ratio: 4 / 3;
  }

  .brand-pillar-media {
    border-radius: 20px;
  }

  .section-brand-mid-cta {
    padding: 70px 0;
  }

  .brand-mid-cta-card {
    border-radius: 28px;
    padding: 48px 20px;
  }
}

/* ========================================================
   CASE STUDY DETAIL PAGES
   ======================================================== */

.case-study-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.case-study-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case-study-meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #DE9E3B;
  font-weight: 600;
}

.case-study-meta-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #EDEAE3;
}

.case-study-challenge-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 84px);
  margin-bottom: clamp(48px, 6vw, 72px);
  align-items: start;
}

.case-study-split-col {
  display: flex;
  flex-direction: column;
}

.case-study-audience-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.case-study-audience-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: #0F2B2C;
}

.case-study-audience-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #D9823B;
  flex-shrink: 0;
}

.case-study-editorial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  color: #0F2B2C;
  line-height: 1.35;
  margin: 28px 0;
  padding: 8px 0 8px 22px;
  border-left: 3px solid #D9823B;
}

.case-study-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-study-deliverable-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  color: rgba(15, 43, 44, 0.85);
  font-weight: 500;
}

.case-study-deliverable-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #D9823B;
  flex-shrink: 0;
}

.case-study-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 36px 0 44px;
  text-align: left;
}

.case-study-impact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.case-study-impact-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(222, 158, 59, 0.15);
  color: #DE9E3B;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.case-study-impact-text {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  line-height: 1.48;
  color: rgba(245, 242, 235, 0.92);
  margin: 0;
  font-weight: 500;
}

.case-study-impact-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: #DE9E3B;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 780px;
}

/* ==========================================================================
   Light-Theme Challenge Table (Case Study One & Two)
   Matches the "What happens after the diagnosis..." structure from Index
   ========================================================================== */
.challenge-light-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(30px, 4vw, 60px);
  margin-bottom: clamp(36px, 4vw, 56px);
}

.challenge-light-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  font-weight: 700;
  color: #080305;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 600px;
}

.challenge-light-tag {
  background-color: #0B1E1C;
  color: #FAF8F5;
  padding: 3px 12px;
  border-radius: 3px;
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
}

.challenge-light-tag.tag-dark-green {
  background-color: #0B1E1C;
  color: #FAF8F5;
}

.challenge-light-aside {
  text-align: right;
  max-width: 480px;
  padding-top: 6px;
}

.challenge-light-aside p {
  font-family: var(--font-sans);
  font-size: 1.18rem;
  line-height: 1.6;
  color: #383330;
  margin: 0 0 12px 0;
}

.challenge-light-aside p:last-child {
  margin-bottom: 0;
}

.challenge-light-aside-sub {
  font-family: var(--font-mono) !important;
  font-size: 0.95rem !important;
  color: #7A726D !important;
  letter-spacing: 0.02em;
}

.challenge-table-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A03622;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.challenge-table-caption::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: rgba(15, 43, 44, 0.14);
}

.challenge-light-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(36px, 4vw, 56px);
}

.challenge-light-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid rgba(15, 43, 44, 0.16);
  border-radius: 4px;
  overflow: hidden;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  cursor: default;
}

.challenge-light-row:hover {
  border-color: #DE9E3B;
  box-shadow: 0 8px 24px rgba(222, 158, 59, 0.15), 0 0 12px rgba(222, 158, 59, 0.08);
  transform: translateY(-2px);
}

.challenge-light-label {
  display: flex;
  align-items: center;
  padding: 22px 24px;
  background-color: #EDE8DC;
  border-right: 1px solid rgba(15, 43, 44, 0.16);
  font-family: var(--font-mono);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #080305;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.challenge-light-row:hover .challenge-light-label {
  border-right-color: rgba(222, 158, 59, 0.5);
  background-color: #E5DFD1;
}

.challenge-light-desc {
  display: flex;
  align-items: center;
  padding: 22px 32px;
  background-color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.55;
  color: #1F2421;
}

.challenge-light-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  margin-bottom: clamp(36px, 4vw, 56px);
  padding: clamp(24px, 3vw, 36px);
  background-color: rgba(237, 232, 220, 0.5);
  border: 1px solid rgba(15, 43, 44, 0.12);
  border-radius: 6px;
}

.challenge-risk-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #A03622;
  margin-bottom: 8px;
}

.challenge-risk-note {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1.68;
  color: #2E2825;
  margin: 0;
}

.challenge-mandate-text {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  font-weight: 700;
  color: #0F2B2C;
  line-height: 1.6;
  margin: 0;
}

/* Challenge Table inside Split Column */
.case-study-split-col .challenge-light-table {
  margin-bottom: 0;
  gap: 10px;
}

.case-study-split-col .challenge-light-row {
  grid-template-columns: 160px 1fr;
}

.case-study-split-col .challenge-table-wide-labels .challenge-light-row {
  grid-template-columns: 210px 1fr;
}

.case-study-split-col .challenge-light-label {
  padding: 14px 16px;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.case-study-split-col .challenge-light-desc {
  padding: 14px 18px;
  font-size: 14.5px;
  line-height: 1.5;
}

/* Challenge Table Accent Colors (Orange Label #A03622, Yellow Desc #D99436) */
.challenge-table-accented .challenge-light-row,
.case-study-split-col .challenge-table-accented .challenge-light-row,
.challenge-table-audience .challenge-light-row,
.case-study-split-col .challenge-table-audience .challenge-light-row {
  border-color: rgba(160, 54, 34, 0.28);
}

.challenge-table-accented .challenge-light-label,
.case-study-split-col .challenge-table-accented .challenge-light-label,
.challenge-table-audience .challenge-light-label,
.case-study-split-col .challenge-table-audience .challenge-light-label {
  background-color: #A03622;
  color: #FAF8F5;
  border-right-color: rgba(0, 0, 0, 0.15);
}

.challenge-table-accented .challenge-light-row:hover .challenge-light-label,
.case-study-split-col .challenge-table-accented .challenge-light-row:hover .challenge-light-label,
.challenge-table-audience .challenge-light-row:hover .challenge-light-label,
.case-study-split-col .challenge-table-audience .challenge-light-row:hover .challenge-light-label {
  background-color: #8C2F1D;
  border-right-color: rgba(0, 0, 0, 0.2);
}

.challenge-table-accented .challenge-light-desc,
.case-study-split-col .challenge-table-accented .challenge-light-desc,
.challenge-table-audience .challenge-light-desc,
.case-study-split-col .challenge-table-audience .challenge-light-desc {
  background-color: #D99436;
  color: #140F11;
  font-weight: 600;
}

.challenge-table-accented .challenge-light-row:hover .challenge-light-desc,
.case-study-split-col .challenge-table-accented .challenge-light-row:hover .challenge-light-desc,
.challenge-table-audience .challenge-light-row:hover .challenge-light-desc,
.case-study-split-col .challenge-table-audience .challenge-light-row:hover .challenge-light-desc {
  background-color: #E29E3F;
}

.challenge-table-accented .challenge-light-row:hover,
.case-study-split-col .challenge-table-accented .challenge-light-row:hover,
.challenge-table-audience .challenge-light-row:hover,
.case-study-split-col .challenge-table-audience .challenge-light-row:hover {
  border-color: #A03622;
  box-shadow: 0 8px 24px rgba(160, 54, 34, 0.18), 0 0 12px rgba(217, 148, 54, 0.12);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .challenge-light-header-row {
    flex-direction: column;
    gap: 20px;
  }
  .challenge-light-aside {
    text-align: left;
    max-width: 100%;
  }
  .challenge-light-row {
    grid-template-columns: 1fr !important;
  }
  .challenge-light-label {
    border-right: none;
    border-bottom: 1px solid rgba(15, 43, 44, 0.14);
    padding: 16px 20px;
  }
  .challenge-table-accented .challenge-light-label,
  .challenge-table-audience .challenge-light-label {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }
  .challenge-light-desc {
    padding: 18px 20px;
  }
  .challenge-light-footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-study-meta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .case-study-impact-grid {
    grid-template-columns: 1fr;
  }
  .case-study-challenge-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .case-study-meta-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   CASE STUDY: SPEC SHEET LAYOUT (Rose Scale)
   Text-only hero, clean full-bleed images, spec sheet,
   and edge-to-edge image / colour-block phase rows.
   ======================================================== */
/* Brand theme tokens. Defaults are Rose Scale; each case study sets its own from the CMS (inline style). */
.cs-spec {
  --cs-brand: #F4C21B;       /* colour-block panels and the hero band */
  --cs-brand-ink: #121212;   /* text on brand panels */
  --cs-dark: #121212;        /* dark panels */
  --cs-dark-accent: #F4C21B; /* numbers and bullets on dark panels */
  --cs-accent: #D9823B;      /* numbers, bullets and dots on light panels */
  --cs-label: #A03622;       /* "needs" tile labels */
  --cs-ink: #0F2B2C;         /* headings and strong text on light panels */
}

/* Headings take their section's colour instead of the global warm white */
.cs-spec-title,
.cs-spec-lead,
.cs-spec-challenge-title,
.cs-spec-needs-title,
.cs-spec-solution-title,
.cs-spec-phase-title,
.cs-spec-projects-title,
.cs-spec-project-title {
  color: inherit;
}

.cs-spec-hero {
  background-color: #080305;
  color: #EDEAE3;
  padding-top: clamp(140px, 14vw, 190px);
}

.cs-spec-client {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-warm-white);
  margin-bottom: 28px;
}

.cs-spec-client::before {
  content: "";
  width: 12px;
  height: 12px;
  background-color: var(--cs-brand);
}

.cs-spec-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 18ch;
  text-wrap: balance;
  margin: 0 0 clamp(48px, 6vw, 80px);
}

/* Yellow band under the title: subtitle + actions */
.cs-spec-band {
  background-color: var(--cs-brand);
  color: var(--cs-brand-ink);
}

.cs-spec-band-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding-top: clamp(28px, 3.5vw, 44px);
  padding-bottom: clamp(28px, 3.5vw, 44px);
}

.cs-spec-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  max-width: 40ch;
  margin: 0;
}

.cs-spec-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.cs-spec-text-link {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: #DE9E3B;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.cs-spec-text-link:hover {
  opacity: 0.75;
}

.cs-spec-band .cs-spec-text-link {
  color: var(--cs-brand-ink);
  font-weight: 600;
}

.cs-spec-bleed-img {
  display: block;
  width: 100%;
  height: clamp(340px, 56vw, 780px);
  object-fit: cover;
}

/* Very wide images keep their own proportions instead of being cropped */
.cs-spec-bleed-img.is-natural {
  height: auto;
}

/* Spec sheet */
.cs-spec-sheet {
  background-color: #FFFFFF;
  color: var(--cs-ink);
  border-bottom: 1px solid rgba(15, 43, 44, 0.14);
}

.cs-spec-sheet-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
}

.cs-spec-meta {
  display: grid;
  gap: 18px;
  align-content: start;
  margin: 0;
  padding: clamp(40px, 5vw, 72px) 32px clamp(40px, 5vw, 72px) 0;
  border-right: 1px solid rgba(15, 43, 44, 0.14);
}

.cs-spec-meta dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7473;
  margin-bottom: 3px;
}

.cs-spec-meta dd {
  margin: 0;
  font-weight: 600;
  color: var(--cs-ink);
}

.cs-spec-overview {
  margin: 0;
  padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px);
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.7;
  color: #1F2421;
  max-width: 62ch;
}

/* Eyebrow badge (shared by the sections below) */
.cs-spec-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.cs-spec-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: currentColor;
  opacity: 0.15;
}

.cs-spec-eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(127, 127, 127, 0.3);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cs-spec-eyebrow span::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background-color: var(--cs-accent);
}

/* Challenge */
.cs-spec-challenge {
  background-color: #F5F2EB;
  color: var(--cs-ink);
  scroll-margin-top: 80px;
}

.cs-spec-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cs-spec-split-panel {
  background-color: var(--cs-brand);
  color: var(--cs-brand-ink);
  padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.cs-spec-split-panel .cs-spec-eyebrow span {
  background-color: rgba(255, 255, 255, 0.55);
  border-color: rgba(18, 18, 18, 0.25);
}

.cs-spec-split-panel .cs-spec-eyebrow span::before {
  background-color: var(--cs-brand-ink);
}

.cs-spec-challenge-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin: 0 0 18px;
}

.cs-spec-highlight {
  background-color: var(--cs-brand-ink);
  color: var(--cs-brand);
  padding: 2px 12px;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.cs-spec-challenge-sub {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 48ch;
}

.cs-spec-split-media {
  position: relative;
  min-height: 460px;
}

.cs-spec-split-media img,
.cs-spec-phase-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-spec-needs {
  padding-top: 90px;
  padding-bottom: 110px;
}

.cs-spec-needs-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  margin: 0 0 22px;
}

.cs-spec-needs-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  background-color: #FFFFFF;
  border: 1px solid rgba(15, 43, 44, 0.14);
  border-radius: 4px;
  overflow: hidden;
}

.cs-spec-need {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 22px 20px 26px;
  border-right: 1px solid rgba(15, 43, 44, 0.14);
}

.cs-spec-need:last-child {
  border-right: none;
}

.cs-spec-need-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cs-label);
}

.cs-spec-need-desc {
  color: #1F2421;
  line-height: 1.45;
}

.cs-spec-narrative {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-top: 64px;
}

.cs-spec-narrative-copy {
  margin: 0 0 18px;
  font-size: 1.12rem;
  line-height: 1.7;
  color: #1F2421;
}

.cs-spec-narrative-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.5vw, 1.3rem);
  color: inherit;
  margin: 30px 0 14px;
}

.cs-spec-narrative .cs-spec-list {
  margin-bottom: 18px;
  color: #1F2421;
}

.cs-spec-quote {
  margin: 0 0 22px;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--cs-ink);
  text-wrap: balance;
}

.cs-spec-mandate {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--cs-ink);
}

/* Solution header */
.cs-spec-solution {
  background-color: var(--cs-dark);
  color: var(--text-warm-white);
  padding: 90px 0 70px;
}

.cs-spec-solution .cs-spec-eyebrow span {
  border-color: rgba(245, 242, 235, 0.25);
}

.cs-spec-solution .cs-spec-eyebrow span::before {
  background-color: var(--cs-dark-accent);
}

.cs-spec-solution-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin: 0 0 14px;
}

.cs-spec-solution-sub {
  margin: 0;
  font-size: 1.12rem;
  color: rgba(245, 242, 235, 0.7);
  max-width: 64ch;
}

/* Phases: image half + colour-block text half, alternating sides */
.cs-spec-phase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cs-spec-phase-media {
  position: relative;
  min-height: 560px;
}

.cs-spec-phase.is-reversed .cs-spec-phase-media {
  order: 2;
}

/* Crops of one tall website screenshot, one slice per phase */
.cs-spec-phase-media img.is-slice-1 { object-position: center 0%; }
.cs-spec-phase-media img.is-slice-2 { object-position: center 42.5%; }
.cs-spec-phase-media img.is-slice-3 { object-position: center 66%; }
.cs-spec-phase-media img.is-slice-4 { object-position: center 100%; }

.cs-spec-phase-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  padding: clamp(40px, 6vw, 84px) clamp(24px, 5vw, 72px);
}

.cs-spec-phase-num {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.cs-spec-phase-num::after {
  content: "";
  width: 40px;
  height: 2px;
  background-color: currentColor;
}

.cs-spec-phase-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}

.cs-spec-phase-copy {
  margin: 0;
  line-height: 1.65;
  max-width: 56ch;
}

.cs-spec-phase-copy.is-lead {
  font-size: 1.15rem;
}

.cs-spec-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 4px 0;
  padding: 0;
}

.cs-spec-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  line-height: 1.5;
}

.cs-spec-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background-color: var(--cs-accent);
  transform: translateY(-2px);
}

.cs-spec-phase-close {
  margin: 0;
  font-weight: 700;
  line-height: 1.6;
  max-width: 56ch;
}

.cs-spec-phase-body.is-cream { background-color: #F5F2EB; color: var(--cs-ink); }
.cs-spec-phase-body.is-white { background-color: #FFFFFF; color: var(--cs-ink); }
.cs-spec-phase-body.is-cream .cs-spec-phase-num,
.cs-spec-phase-body.is-white .cs-spec-phase-num { color: var(--cs-accent); }

.cs-spec-phase-body.is-dark { background-color: var(--cs-dark); color: var(--text-warm-white); }
.cs-spec-phase-body.is-dark .cs-spec-phase-num { color: var(--cs-dark-accent); }
.cs-spec-phase-body.is-dark .cs-spec-phase-copy { color: rgba(245, 242, 235, 0.82); }
.cs-spec-phase-body.is-dark .cs-spec-list li::before { background-color: var(--cs-dark-accent); }

.cs-spec-phase-body.is-brand { background-color: var(--cs-brand); color: var(--cs-brand-ink); }
.cs-spec-phase-body.is-brand .cs-spec-list li::before { background-color: var(--cs-brand-ink); }

/* Other projects: image on top, text below (never over the image) */
.cs-spec-projects {
  background-color: var(--bg-main);
  color: var(--text-warm-white);
  padding: 100px 0 110px;
}

.cs-spec-projects-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.cs-spec-projects-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
}

.cs-spec-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cs-spec-project {
  display: flex;
  flex-direction: column;
  background-color: #120B0B;
  overflow: hidden;
}

.cs-spec-project-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs-spec-project:hover .cs-spec-project-img {
  transform: scale(1.03);
}

.cs-spec-project-body {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 28px clamp(20px, 3vw, 40px) 36px;
  background-color: #120B0B;
}

.cs-spec-project-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.cs-spec-project-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin: 0;
}

.cs-spec-project-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  border: 1px solid rgba(245, 242, 235, 0.35);
  padding: 4px 9px;
  border-radius: 2px;
}

.cs-spec-project-summary {
  margin: 0;
  color: rgba(245, 242, 235, 0.8);
  max-width: 48ch;
}

.cs-spec-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cs-spec-project-tags span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: rgba(245, 242, 235, 0.12);
}

.cs-spec-project-btn {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--text-warm-white);
  color: #121212;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.cs-spec-project-btn:hover {
  background-color: var(--cs-brand);
}

@media (max-width: 1000px) {
  .cs-spec-needs-strip {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-spec-need {
    border-bottom: 1px solid rgba(15, 43, 44, 0.14);
  }
}

@media (max-width: 860px) {
  .cs-spec-band-row,
  .cs-spec-sheet-grid,
  .cs-spec-split,
  .cs-spec-narrative,
  .cs-spec-phase,
  .cs-spec-projects-grid {
    grid-template-columns: 1fr;
  }

  .cs-spec-actions {
    justify-content: flex-start;
  }

  .cs-spec-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(15, 43, 44, 0.14);
  }

  .cs-spec-overview {
    padding-left: 0;
  }

  .cs-spec-split-media {
    min-height: 320px;
  }

  .cs-spec-phase.is-reversed .cs-spec-phase-media {
    order: 0;
  }

  .cs-spec-phase-media {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .cs-spec-needs-strip {
    grid-template-columns: 1fr;
  }

  .cs-spec-need {
    border-right: none;
  }
}

/* ========================================================
   COMPONENT: LATEST WORK STRIPS
   Used by "Browse our latest Work" (service pages) and
   "Discover our other projects" (case studies).
   Desktop: expanding strips; hovered/focused strip widens and shows in colour.
   Phones (<= 820px): asymmetric mosaic; first project large, the rest below.
   ======================================================== */
.work-strips {
  display: flex;
  gap: 14px;
  height: clamp(440px, 58vh, 560px);
}

.work-strip {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #f4efe6;
  text-decoration: none;
  transition: flex-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-strip.is-active {
  flex-grow: 2.6;
}

.work-strip-media {
  position: relative;
  flex: 1 1 auto;
  overflow: hidden;
  border-radius: 14px;
  background-color: #11302c;
}

.work-strip-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.6s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-strip:not(.is-active) .work-strip-media img {
  filter: grayscale(0.85) brightness(0.75);
}

.work-strip.is-active:hover .work-strip-media img {
  transform: scale(1.03);
}

.work-strip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.work-strip-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(244, 239, 230, 0.55);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.work-strip.is-active .work-strip-title {
  color: #f4efe6;
}

.work-strip-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, 0.22);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-strip:not(.is-active) .work-strip-arrow {
  opacity: 0;
}

.work-strip.is-active .work-strip-arrow {
  background-color: #F5F2EB;
  border-color: #F5F2EB;
  color: #0B1E1C;
}

.work-strip.is-active:hover .work-strip-arrow {
  transform: rotate(-45deg);
}

.work-strip:focus-visible {
  outline: 2px solid #DE9E3B;
  outline-offset: 4px;
  border-radius: 14px;
}

/* Phones: asymmetric mosaic */
@media (max-width: 820px) {
  .work-strips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
    height: auto;
  }

  .work-strip {
    gap: 10px;
  }

  .work-strip-media {
    flex: none;
    aspect-ratio: 1 / 1;
  }

  /* First project is the large feature tile */
  .work-strip:first-child {
    grid-column: span 2;
  }

  .work-strip:first-child .work-strip-media {
    aspect-ratio: 16 / 10;
  }

  /* With only two projects (case studies), both run full width */
  .work-strip:nth-child(2):last-child {
    grid-column: span 2;
  }

  .work-strip:nth-child(2):last-child .work-strip-media {
    aspect-ratio: 16 / 10;
  }

  .work-strip:not(.is-active) .work-strip-media img {
    filter: none;
  }

  .work-strip-title,
  .work-strip:not(.is-active) .work-strip-title {
    color: #f4efe6;
    white-space: normal;
    font-size: 1.1rem;
  }

  .work-strip:first-child .work-strip-title {
    font-size: 1.35rem;
  }

  .work-strip:not(.is-active) .work-strip-arrow {
    opacity: 1;
  }

  .work-strip-arrow {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-strip,
  .work-strip-media img,
  .work-strip-arrow {
    transition: none;
  }
}

/* ========================================================
   PAGE TRANSITIONS (card-fan / card-spread clips)
   Leaving: .is-leaving shows the overlay and plays a clip.
   Arriving: html.is-arriving starts covered, then fades out.
   ======================================================== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #0c0407;
  container-type: size;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}

.page-transition-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-transition.is-leaving {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease, visibility 0s;
}

.page-transition-video.is-playing {
  opacity: 1;
}

/* Logo: large at top center while the clip plays, then shrinks onto the
   navbar's .dock-popout-btn (same spot, size, border and glow) as the clip
   fades, so the next page's navbar logo takes over seamlessly */
.page-transition-logo {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 1;
  box-sizing: border-box;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  /* Same cream border as the navbar logo, with a softer glow; both scale with the logo */
  border: 2px solid rgba(245, 242, 235, 0.9);
  box-shadow: 0 0 14px rgba(222, 158, 59, 0.45), 0 6px 12px rgba(0, 0, 0, 0.4);
  /* Start large in the top-left corner (50cqw = half the overlay's width,
     so this cancels left: 50% and leaves a 32px gutter) */
  transform: translate(calc(-50vw + 32px), 22px) scale(1.8);
  transform: translate(calc(-50cqw + 32px), 22px) scale(1.8);
  transform-origin: 0 0;
}

/* card-fan: sit on the hands at the base of the fan instead of the corner.
   The clip is 16:9 with object-fit: cover, so its rendered size is
   max(100cqw, 177.78cqh) x max(56.25cqw, 100cqh). The hands sit at 50% across,
   74% down the frame. With a 2.2x scale from the top-left origin, the logo is
   118.8px wide, so subtract 59.4px to center it (plus the 10px base top). */
.page-transition[data-clip="fan"] .page-transition-logo {
  transform: translate(-59.4px, calc(50vh + max(13.5vw, 24vh) - 69.4px)) scale(2.2);
  transform: translate(-59.4px, calc(50cqh + max(13.5cqw, 24cqh) - 69.4px)) scale(2.2);
}

/* Only animate the shrink; growing back happens while hidden, so it snaps */
.page-transition.is-done .page-transition-logo,
html.is-arriving .page-transition-logo {
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s ease,
    box-shadow 0.45s ease;
  transform: translate(-50%, 0) scale(1);
  border-color: rgba(245, 242, 235, 0.9);
  box-shadow: 0 0 22px rgba(222, 158, 59, 0.6), 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Clip has finished: fade the video out to solid dark before navigating */
.page-transition.is-done .page-transition-video {
  opacity: 0;
}

html.is-arriving .page-transition,
html.is-intro .page-transition {
  opacity: 1;
  visibility: visible;
  transition: none;
  /* Failsafe: uncover the page even if the script never runs */
  animation: page-transition-failsafe 0.4s ease 4s forwards;
}

@keyframes page-transition-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
