/* ============================================================
   WE CLEANER — Design System
   APERSON Natural Sequence Palette — Strict Application
   Brand calibration (per APERSON Brand Moodboard):
     Wave Foam 60%  · Deep Ocean 30%  · Wollongong Rock 10%
     Sunrise: HIGH intensity, action CTA only (1–3 elements/screen)
   Mood: Cold Minimal · Cleanliness · Precision · Field-ready
   Avoid: warm beige · green · off-palette accents
   ============================================================ */

/* ——— Google Fonts Import ——— */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&family=Cormorant+Garamond:wght@300;400;500&display=swap');

/* ——— CSS Variables — APERSON Official Palette Only ——— */
:root {
  /* Primary Colors — Natural Sequence (Tree → Rock → Sand → Wave → Ocean → Sunrise) */
  --deep-ocean:     #0A2D44;  /* Core trust tone — headings, inverse surfaces */
  --wave-foam:      #F8FDFF;  /* Clean breathing tone — main background */
  --cool-sand:      #DCE2E6;  /* Matte surface tone — recessed wells, sub-section bg */
  --rock:           #3E4953;  /* Structural tone — body text, secondary frames */
  --sunrise:        #C23A00;  /* Action tone — primary CTA only */

  /* Brand mark — per-site logo-tab colour. Override per APERSON sub-brand. */
  --brand:          #00A1FF;  /* WE CLEANER blue */

  /* Derived Tones — strictly from palette */
  --deep-ocean-90:  rgba(10, 45, 68, 0.90);
  --deep-ocean-70:  rgba(10, 45, 68, 0.70);
  --deep-ocean-40:  rgba(10, 45, 68, 0.40);
  --deep-ocean-12:  rgba(10, 45, 68, 0.12);
  --deep-ocean-06:  rgba(10, 45, 68, 0.06);
  --rock-60:        rgba(62, 73, 83, 0.60);
  --rock-30:        rgba(62, 73, 83, 0.30);
  --rock-10:        rgba(62, 73, 83, 0.10);
  --sunrise-90:     rgba(194, 58, 0, 0.90);
  --sunrise-15:     rgba(194, 58, 0, 0.15);

  /* Typography */
  --font-primary:   'Cormorant Garamond', Georgia, serif;
  --font-secondary: 'Montserrat', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;
  --space-2xl: 12rem;

  /* Border */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.38s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-secondary);
  font-weight: 300;
  color: var(--rock);
  background-color: var(--wave-foam);
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: var(--font-secondary);
  font-weight: 300;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ——— Typography Scale ——— */
.t-display {
  font-family: var(--font-primary);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--deep-ocean);
}

.t-heading-xl {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--deep-ocean);
}

.t-heading-lg {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--deep-ocean);
}

.t-heading-md {
  font-family: var(--font-secondary);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-ocean);
}

.t-label {
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rock-60);
}

.t-body {
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--rock);
}

.t-body-sm {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--rock-60);
}

/* ——— Navigation ——— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--wave-foam);
  border-bottom: 1px solid var(--rock-10);
  padding: 0 var(--space-md);
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* logo is an absolutely-positioned tab; links stay right */
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  overflow: visible; /* allow the logo tab + drawer to overflow below nav */
}

.nav.scrolled {
  background: rgba(248, 253, 255, 0.96);
  box-shadow: 0 1px 24px var(--deep-ocean-06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ——— Brand logo tab ———
   Top-anchored tab (flush top, rounded bottom) that drops down on hover to
   reveal a menu drawer. Unified across all pages and reusable for every
   APERSON sub-brand: set --brand and the brand name in .nav-logo-wordmark;
   js/main.js adds .brand-logo-tab to the nav logo (both .nav-logo and the
   homepage .home-nav-logo) and builds the head + drawer from the page's links. */
.brand-logo-tab {
  position: absolute;
  top: 0;
  left: clamp(16px, 2vw, 30px);
  width: 110px;
  background: var(--brand);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 8px 22px var(--deep-ocean-12);
  overflow: hidden;
  z-index: 200;
  transition: width var(--duration) var(--ease);
}
.brand-logo-tab:hover,
.brand-logo-tab:focus-within { width: 232px; }

/* Old raster logo is replaced by the CSS tab (app pages only) */
.nav-logo-img { display: none; }

.brand-tab-head {
  display: block;
  padding: 15px 16px 17px;
  color: var(--wave-foam);
  text-decoration: none;
  font-family: var(--font-secondary);
  text-transform: uppercase;
  line-height: 1.08;
}
.brand-tab-head .l1 { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; opacity: 0.92; }
.brand-tab-head .l2 { display: block; font-size: 1.06rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }

.brand-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration) var(--ease);
}
.brand-logo-tab:hover .brand-drawer,
.brand-logo-tab:focus-within .brand-drawer { max-height: 340px; }
.brand-drawer a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  color: var(--wave-foam);
  text-decoration: none;
  font-family: var(--font-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-top: 1px solid rgba(248, 253, 255, 0.22);
}
.brand-drawer a:hover { background: rgba(248, 253, 255, 0.14); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  /* Stay vertically centered in the 90px nav bar */
  align-self: center;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rock);
  transition: color var(--duration) var(--ease);
}

.nav-links a:hover {
  color: var(--deep-ocean);
}

.nav-cta {
  background: var(--deep-ocean) !important;
  color: var(--wave-foam) !important;
  padding: 10px 24px !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.18em !important;
  border-radius: var(--radius-sm) !important;
  transition: background var(--duration) var(--ease) !important;
}

.nav-cta:hover {
  background: var(--sunrise) !important;
}

.nav-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  cursor: pointer;
}

.nav-menu-toggle span {
  display: block;
  height: 1px;
  background: var(--deep-ocean);
  transition: all var(--duration) var(--ease);
}

/* ——— Page Wrapper ——— */
.page-wrapper {
  padding-top: 96px;
}

/* ——— Hero ——— */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--wave-foam);
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg) var(--space-xl) var(--space-xl);
}

.hero-eyebrow {
  margin-bottom: var(--space-md);
}

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

.hero-eyebrow-line::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--sunrise);
}

.hero-title {
  margin-bottom: var(--space-md);
}

.hero-title em {
  font-style: italic;
  color: var(--sunrise);
}

.hero-description {
  max-width: 420px;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hero-meta {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--rock-10);
  display: flex;
  gap: var(--space-lg);
}

.hero-stat {}

.hero-stat-number {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 300;
  color: var(--deep-ocean);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  background: var(--cool-sand);
  overflow: hidden;
}

.hero-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}

.hero-visual-bg {
  position: absolute;
  inset: 0;
  background: var(--deep-ocean);
}

.hero-visual-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      var(--wave-foam) 79px,
      var(--wave-foam) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      var(--wave-foam) 79px,
      var(--wave-foam) 80px
    );
}

.hero-visual-countdown {
  position: relative;
  z-index: 2;
  background: rgba(10, 45, 68, 0.85);
  border: 1px solid rgba(248, 253, 255, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-visual-countdown-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.5);
  margin-bottom: 12px;
}

.countdown-digits {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.countdown-unit {
  text-align: center;
}

.countdown-number {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--wave-foam);
  line-height: 1;
}

.countdown-sep {
  font-family: var(--font-primary);
  font-size: 2rem;
  color: rgba(248, 253, 255, 0.3);
  margin-bottom: 8px;
}

.countdown-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.4);
  margin-top: 4px;
}

.hero-visual-note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: rgba(248, 253, 255, 0.5);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--deep-ocean);
  color: var(--wave-foam);
  border: 1px solid var(--deep-ocean);
}

.btn-primary:hover {
  background: var(--sunrise);
  border-color: var(--sunrise);
  color: var(--wave-foam);
}

.btn-secondary {
  background: transparent;
  color: var(--deep-ocean);
  border: 1px solid var(--deep-ocean-40);
}

.btn-secondary:hover {
  border-color: var(--deep-ocean);
  background: var(--deep-ocean-06);
}

.btn-outline-light {
  background: transparent;
  color: var(--wave-foam);
  border: 1px solid rgba(248, 253, 255, 0.4);
}

.btn-outline-light:hover {
  background: rgba(248, 253, 255, 0.08);
  border-color: rgba(248, 253, 255, 0.7);
}

.btn-sunrise {
  background: var(--sunrise);
  color: var(--wave-foam);
  border: 1px solid var(--sunrise);
}

.btn-sunrise:hover {
  background: #d96d00;
  border-color: #d96d00;
}

.btn-sm {
  font-size: 0.68rem;
  padding: 10px 22px;
  letter-spacing: 0.16em;
}

.btn-lg {
  font-size: 0.8rem;
  padding: 18px 42px;
}

/* ——— Section Base ——— */
.section {
  padding: var(--space-2xl) var(--space-xl);
}

.section-sm {
  padding: var(--space-lg) var(--space-xl);
}

.section-dark {
  background: var(--deep-ocean);
  color: var(--wave-foam);
}

.section-sand {
  background: var(--cool-sand);
}

.section-rock {
  background: var(--rock);
  color: var(--wave-foam);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* ——— Section Header ——— */
.section-header {
  margin-bottom: var(--space-lg);
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: var(--space-sm);
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--sunrise);
}

/* ——— Journey Section ——— */
.journey {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--cool-sand);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--rock-10);
  margin-top: var(--space-lg);
}

.journey-step {
  background: var(--cool-sand);
  padding: var(--space-md) var(--space-sm);
  transition: background var(--duration) var(--ease);
  position: relative;
}

.journey-step:hover {
  background: var(--wave-foam);
}

.journey-step-number {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--deep-ocean-12);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.journey-step-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--deep-ocean-40);
}

.journey-step-title {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-ocean);
  margin-bottom: 8px;
}

.journey-step-body {
  font-size: 0.82rem;
  color: var(--rock-60);
  line-height: 1.7;
}

/* ——— Clusters ——— */
.clusters {
  padding: var(--space-2xl) var(--space-xl);
}

.clusters-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: end;
  margin-bottom: var(--space-lg);
}

.clusters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rock-10);
}

.cluster-card {
  background: var(--wave-foam);
  padding: var(--space-md);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.cluster-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--sunrise);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

.cluster-card:hover {
  background: var(--cool-sand);
}

.cluster-card:hover::after {
  transform: scaleX(1);
}

.cluster-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.cluster-card-tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rock-60);
  background: var(--rock-10);
  padding: 4px 10px;
  border-radius: 2px;
}

.cluster-card-arrow {
  width: 16px;
  height: 16px;
  color: var(--deep-ocean-40);
  transition: transform var(--duration) var(--ease), color var(--duration) var(--ease);
}

.cluster-card:hover .cluster-card-arrow {
  transform: translate(3px, -3px);
  color: var(--sunrise);
}

.cluster-card-name {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--deep-ocean);
  margin-bottom: 6px;
}

.cluster-card-suburbs {
  font-size: 0.78rem;
  color: var(--rock-60);
  line-height: 1.6;
}

.cluster-card-count {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--rock-10);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--rock-60);
}

.cluster-card-count strong {
  font-weight: 400;
  color: var(--deep-ocean);
}

/* ——— Cluster Map + Bar Chart Layout ——— */
.cluster-map-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.cluster-map-wrap {
  position: sticky;
  top: 80px;
}

.cluster-map-svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.cluster-map-svg .zone-label {
  font-family: var(--font-secondary);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  fill: var(--wave-foam);
}

.cluster-map-svg .zone-sublabel {
  font-family: var(--font-secondary);
  font-size: 6.5px;
  fill: rgba(248,253,255,0.4);
  letter-spacing: 0.04em;
}

.cluster-map-svg .zone-count {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 300;
  fill: var(--sunrise);
}

.cluster-map-svg .zone-dot {
  filter: drop-shadow(0 0 4px rgba(194,58,0,0.5));
}

.cluster-map-zone:hover .zone-bg {
  fill: rgba(194,58,0,0.12);
  transition: fill 0.2s;
}

.cluster-map-zone:hover .zone-dot {
  r: 6;
  transition: r 0.2s;
}

/* Bar Chart */
.cluster-chart-wrap {
  padding: var(--space-md) 0;
}

.cluster-chart-title {
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: var(--space-md);
}

.cluster-chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chart-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.chart-row:hover {
  background: var(--cool-sand);
}

.chart-label {
  font-family: var(--font-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--deep-ocean);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.chart-bar-wrap {
  height: 32px;
  background: var(--rock-10);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.chart-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--deep-ocean) 0%, #1a5276 100%);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  min-width: 40px;
  transition: width 0.8s cubic-bezier(0.22,1,0.36,1);
}

.chart-bar-num {
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.04em;
}

.chart-row:hover .chart-bar {
  background: linear-gradient(90deg, var(--sunrise) 0%, #e04800 100%);
}

/* Responsive — Map + Chart */
@media (max-width: 900px) {
  .cluster-map-layout {
    grid-template-columns: 1fr;
  }
  .cluster-map-wrap {
    position: static;
    max-width: 360px;
    margin: 0 auto var(--space-md);
  }
  .chart-row {
    grid-template-columns: 110px 1fr;
  }
}

@media (max-width: 520px) {
  .chart-row {
    grid-template-columns: 90px 1fr;
    padding: 8px 10px;
  }
  .chart-label {
    font-size: 0.72rem;
  }
  .chart-bar-num {
    font-size: 0.72rem;
  }
}

/* ——— Why Register ——— */
.why-register {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--deep-ocean);
}

.why-register .t-label {
  color: rgba(248, 253, 255, 0.45);
}

.why-register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-top: var(--space-lg);
}

.why-register-left {}

.why-register-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: var(--space-md);
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(248, 253, 255, 0.08);
}

.why-item-num {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(248, 253, 255, 0.2);
  min-width: 32px;
  line-height: 1;
  padding-top: 4px;
}

.why-item-content {}

.why-item-title {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--wave-foam);
  margin-bottom: 4px;
}

.why-item-desc {
  font-size: 0.78rem;
  color: rgba(248, 253, 255, 0.45);
  line-height: 1.6;
}

.why-register-right {
  background: rgba(248, 253, 255, 0.04);
  border: 1px solid rgba(248, 253, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

/* ——— Quick Register Form (Inline) ——— */
.quick-form {}

.quick-form-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--wave-foam);
  margin-bottom: var(--space-sm);
}

.quick-form-sub {
  font-size: 0.82rem;
  color: rgba(248, 253, 255, 0.5);
  margin-bottom: var(--space-md);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.4);
  margin-bottom: 6px;
}

.form-label-dark {
  color: var(--rock-60);
}

.form-input {
  width: 100%;
  background: rgba(248, 253, 255, 0.06);
  border: 1px solid rgba(248, 253, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--wave-foam);
  transition: border-color var(--duration) var(--ease);
}

.form-input::placeholder {
  color: rgba(248, 253, 255, 0.25);
}

.form-input:focus {
  border-color: rgba(248, 253, 255, 0.45);
}

.form-input-dark {
  background: var(--wave-foam);
  border: 1px solid var(--rock-10);
  color: var(--rock);
}

.form-input-dark::placeholder {
  color: var(--rock-30);
}

.form-input-dark:focus {
  border-color: var(--deep-ocean-40);
}

.form-select {
  width: 100%;
  background: rgba(248, 253, 255, 0.06);
  border: 1px solid rgba(248, 253, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--wave-foam);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.form-select option {
  background: var(--deep-ocean);
  color: var(--wave-foam);
}

.form-select-dark {
  background: var(--wave-foam);
  border: 1px solid var(--rock-10);
  color: var(--rock);
}

.form-select-dark option {
  background: var(--wave-foam);
  color: var(--rock);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(248, 253, 255, 0.4);
  line-height: 1.5;
  margin-bottom: 12px;
}

.form-consent input[type="checkbox"] {
  width: 14px;
  height: 14px;
  min-width: 14px;
  accent-color: var(--sunrise);
  cursor: pointer;
  margin-top: 2px;
}

.form-consent a {
  color: rgba(248, 253, 255, 0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Pain Points Section ——— */
.pain-section {
  padding: var(--space-xl) 0;
  background: var(--wave-foam);
}

.pain-header {
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

.pain-header .t-heading-xl {
  margin-top: 12px;
}

.pain-header .t-body {
  color: var(--rock-60);
  max-width: 520px;
  margin-top: var(--space-sm);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rock-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.pain-card {
  background: var(--wave-foam);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pain-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pain-card-icon.problem {
  background: rgba(194, 58, 0, 0.08);
}

.pain-card-icon.problem .icon {
  stroke: var(--sunrise);
}

.pain-card-title {
  font-family: var(--font-secondary);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rock);
}

.pain-card-desc {
  font-family: var(--font-secondary);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--rock-60);
}

.pain-card-stat {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rock-10);
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--sunrise);
  line-height: 1;
}

.pain-card-stat-label {
  font-family: var(--font-secondary);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock-30);
  margin-top: 4px;
}

/* ——— Solution Strip ——— */
.solution-strip {
  padding: var(--space-lg) 0;
  background: var(--deep-ocean);
}

.solution-strip-header {
  margin-bottom: var(--space-md);
}

.solution-strip-header .t-heading-xl {
  color: var(--wave-foam);
  margin-top: 12px;
  max-width: 520px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.solution-compare {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.solution-compare-before,
.solution-compare-after {
  padding: var(--space-sm) var(--space-md);
}

.solution-compare-before {
  background: rgba(248, 253, 255, 0.04);
  border-left: 3px solid rgba(248, 253, 255, 0.12);
}

.solution-compare-after {
  background: rgba(194, 58, 0, 0.12);
  border-left: 3px solid var(--sunrise);
}

.solution-compare-tag {
  font-family: var(--font-secondary);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.solution-compare-before .solution-compare-tag {
  color: rgba(248, 253, 255, 0.3);
}

.solution-compare-after .solution-compare-tag {
  color: var(--sunrise);
}

.solution-compare-text {
  font-family: var(--font-secondary);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(248, 253, 255, 0.7);
}

.solution-compare-after .solution-compare-text {
  color: var(--wave-foam);
}

/* Stats bar */
.solution-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(248, 253, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-md);
}

.solution-stat {
  background: rgba(10, 45, 68, 0.6);
  padding: var(--space-sm);
  text-align: center;
}

.solution-stat-number {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--sunrise);
  line-height: 1;
}

.solution-stat-label {
  font-family: var(--font-secondary);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.4);
  margin-top: 6px;
}

/* ——— Responsive — Pain / Solution ——— */
@media (max-width: 800px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .solution-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ——— Quiz Card (Hero) ——— */
.quiz-card {
  background: var(--wave-foam);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 8px 40px rgba(10, 45, 68, 0.12);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
}

.quiz-progress {
  height: 3px;
  background: var(--rock-10);
  border-radius: 2px;
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--sunrise);
  border-radius: 2px;
  transition: width 0.4s var(--ease);
}

.quiz-step {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quiz-step-question {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--deep-ocean);
  line-height: 1.3;
  margin-bottom: 6px;
}

.quiz-step-subtitle {
  font-family: var(--font-secondary);
  font-size: 0.76rem;
  color: var(--rock-60);
  margin-bottom: var(--space-sm);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-sm);
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--rock);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  background: transparent;
  text-align: left;
  width: 100%;
}

.quiz-option:hover {
  border-color: var(--deep-ocean-40);
  background: var(--deep-ocean-06);
}

.quiz-option.selected {
  border-color: var(--sunrise);
  background: var(--sunrise-15);
  color: var(--deep-ocean);
  font-weight: 500;
}

.quiz-option-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--rock-30);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}

.quiz-option.selected .quiz-option-radio {
  border-color: var(--sunrise);
}

.quiz-option.selected .quiz-option-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--sunrise);
}

.quiz-option-check {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 2px solid var(--rock-30);
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s;
}

.quiz-option.selected .quiz-option-check {
  border-color: var(--sunrise);
  background: var(--sunrise);
}

.quiz-option.selected .quiz-option-check::after {
  content: '';
  position: absolute;
  top: 1px; left: 4px;
  width: 5px; height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: var(--space-sm);
}

/* Quiz Result */
.quiz-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
}

.quiz-result-score {
  font-family: var(--font-primary);
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--sunrise);
  line-height: 1;
}

.quiz-result-max {
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  color: var(--rock-60);
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.quiz-result-tier {
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.quiz-result-msg {
  font-family: var(--font-secondary);
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--rock-60);
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: var(--space-sm);
}

/* ——— Score Preview ——— */
.score-preview {
  padding: var(--space-xl) 0;
  background: var(--cool-sand);
}

.score-factors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rock-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-md);
}

.score-factor {
  background: var(--wave-foam);
  padding: var(--space-md);
  text-align: center;
}

.score-factor-pts {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--sunrise);
  line-height: 1;
  margin-bottom: 10px;
}

.score-factor-title {
  font-family: var(--font-secondary);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rock);
  margin-bottom: 8px;
}

.score-factor-desc {
  font-family: var(--font-secondary);
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--rock-60);
}

/* ——— Urgency Strip ——— */
.urgency-strip {
  padding: var(--space-lg) 0;
  background: var(--deep-ocean);
}

.urgency-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-md);
  align-items: center;
}

.urgency-countdown {
  text-align: center;
}

.urgency-label {
  font-family: var(--font-secondary);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.35);
  margin-bottom: 12px;
}

.urgency-tiers {
  display: flex;
  gap: 2px;
}

.urgency-tier {
  padding: 14px 18px;
  text-align: center;
  border-radius: var(--radius-sm);
}

.urgency-tier--hot  { background: rgba(194, 58, 0, 0.2); }
.urgency-tier--warm { background: rgba(248, 253, 255, 0.06); }
.urgency-tier--cool { background: rgba(248, 253, 255, 0.03); }

.urgency-tier-window {
  font-family: var(--font-secondary);
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.4);
  margin-bottom: 6px;
}

.urgency-tier--hot .urgency-tier-window { color: var(--sunrise); }

.urgency-tier-pts {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 300;
  color: var(--wave-foam);
  line-height: 1;
}

.urgency-tier--hot .urgency-tier-pts { color: var(--sunrise); }

.urgency-tier-label {
  font-family: var(--font-secondary);
  font-size: 0.58rem;
  color: rgba(248, 253, 255, 0.35);
  margin-top: 4px;
}

.urgency-count {
  text-align: center;
}

.urgency-count-number {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--wave-foam);
  line-height: 1;
}

.urgency-count-label {
  font-family: var(--font-secondary);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.4);
  margin-top: 6px;
}

/* ——— Responsive — Quiz / Score / Urgency ——— */
@media (max-width: 1024px) {
  .quiz-card { max-width: 100%; }
}

@media (max-width: 800px) {
  .score-factors-grid { grid-template-columns: repeat(2, 1fr); }
  .urgency-inner { grid-template-columns: 1fr; text-align: center; }
  .urgency-tiers { justify-content: center; }
}

@media (max-width: 520px) {
  .score-factors-grid { grid-template-columns: 1fr; }
  .urgency-tiers { flex-direction: column; align-items: center; }
}

/* ——— Referral ——— */
.referral-section {
  padding: var(--space-lg) var(--space-xl);
  background: var(--cool-sand);
  border-top: 1px solid var(--rock-10);
}

.referral-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.referral-copy {
  max-width: 540px;
}

.referral-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ——— Privacy Banner ——— */
.privacy-banner {
  padding: var(--space-lg) var(--space-xl);
  background: var(--rock);
}

.privacy-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.privacy-banner-text {
  font-size: 0.82rem;
  color: rgba(248, 253, 255, 0.55);
  max-width: 680px;
}

.privacy-banner-text a {
  color: rgba(248, 253, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Footer ——— */
.footer {
  background: var(--deep-ocean);
  padding: var(--space-xl) var(--space-xl) var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(248, 253, 255, 0.1);
}

.footer-brand-logo {
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wave-foam);
  margin-bottom: 8px;
}

.footer-brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.35);
  margin-bottom: var(--space-sm);
}

.footer-brand-desc {
  font-size: 0.8rem;
  color: rgba(248, 253, 255, 0.4);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.35);
  margin-bottom: var(--space-sm);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(248, 253, 255, 0.5);
  transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
  color: var(--wave-foam);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
}

.footer-bottom-left {
  font-size: 0.72rem;
  color: rgba(248, 253, 255, 0.25);
}

.footer-bottom-right {
  font-size: 0.72rem;
  color: rgba(248, 253, 255, 0.25);
}

/* ——— Page Header ——— */
.page-header {
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  background: var(--deep-ocean);
  position: relative;
  overflow: hidden;
}

.page-header-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 39px,
      var(--wave-foam) 39px,
      var(--wave-foam) 40px
    );
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.page-header .t-label {
  color: rgba(248, 253, 255, 0.4);
  margin-bottom: 12px;
}

.page-header .t-display {
  color: var(--wave-foam);
}

.page-header-desc {
  font-size: 0.92rem;
  color: rgba(248, 253, 255, 0.55);
  max-width: 540px;
  margin-top: var(--space-sm);
}

/* ——— Cards ——— */
.card {
  background: var(--wave-foam);
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.card-dark {
  background: rgba(248, 253, 255, 0.04);
  border: 1px solid rgba(248, 253, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.card-sand {
  background: var(--cool-sand);
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

/* ——— Status Indicators ——— */
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rock-30);
}

.status-dot.active {
  background: var(--deep-ocean);
}

.status-dot.sunrise {
  background: var(--sunrise);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.badge-pending {
  background: var(--cool-sand);
  color: var(--rock-60);
}

.badge-active {
  background: var(--deep-ocean-12);
  color: var(--deep-ocean);
}

.badge-sunrise {
  background: var(--sunrise-15);
  color: var(--sunrise);
}

/* ——— Progress Steps ——— */
.progress-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-sm);
}

.step-item {
  display: flex;
  align-items: center;
  flex: 1;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--rock-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--rock-60);
  background: var(--wave-foam);
  transition: all var(--duration) var(--ease);
  flex-shrink: 0;
}

.step-item.active .step-circle {
  background: var(--deep-ocean);
  border-color: var(--deep-ocean);
  color: var(--wave-foam);
}

.step-item.done .step-circle {
  background: var(--deep-ocean);
  border-color: var(--deep-ocean);
  color: var(--wave-foam);
}

.step-line {
  flex: 1;
  height: 1px;
  background: var(--rock-10);
  transition: background var(--duration) var(--ease);
}

.step-item.done + .step-item .step-line,
.step-item.done .step-line {
  background: var(--deep-ocean-40);
}

.step-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-top: 6px;
  text-align: center;
}

.step-item.active .step-label {
  color: var(--deep-ocean);
}

/* ——— Form Sections ——— */
.form-section-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--deep-ocean);
  margin-bottom: var(--space-sm);
}

.form-section-desc {
  font-size: 0.84rem;
  color: var(--rock-60);
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-sm);
}

/* ——— Checkbox / Radio Custom ——— */
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--rock);
  transition: all var(--duration) var(--ease);
  user-select: none;
}

.check-option:hover {
  border-color: var(--deep-ocean-40);
  color: var(--deep-ocean);
}

.check-option.selected {
  border-color: var(--deep-ocean);
  background: var(--deep-ocean-06);
  color: var(--deep-ocean);
}

.check-option input {
  width: 12px;
  height: 12px;
  accent-color: var(--deep-ocean);
}

/* ——— Notification/Toast ——— */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--deep-ocean);
  color: var(--wave-foam);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  z-index: 10000;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Push toast above sunrise semicircle on pages that have it */
body.has-sun-card .toast { bottom: 140px; }
body.register-page .toast { bottom: 180px; }

/* ——— Table ——— */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rock-60);
  font-weight: 400;
  text-align: left;
  padding: 10px 16px;
  border-bottom: 1px solid var(--rock-10);
  white-space: nowrap;
}

.data-table td {
  font-size: 0.84rem;
  color: var(--rock);
  padding: 14px 16px;
  border-bottom: 1px solid var(--rock-10);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--deep-ocean-06);
}

/* ——— Admin Layout ——— */
.admin-layout {
  /* Sidebar uses position: fixed and main uses margin-left: 240px
     for offset. No grid here — combining grid + fixed + margin-left
     was collapsing main to ~64px wide. */
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--deep-ocean);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 240px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  /* Inner regions handle their own padding so the bottom action
     block can sit flush at the very bottom without scroll-overlap */
}
.admin-sidebar-brand-wrap {
  padding: var(--space-md) var(--space-md) var(--space-sm);
  flex-shrink: 0;
}
.admin-sidebar-nav {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 var(--space-md) var(--space-sm);
  /* Subtle scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(248,253,255,0.18) transparent;
}
.admin-sidebar-nav::-webkit-scrollbar { width: 4px; }
.admin-sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(248,253,255,0.18);
  border-radius: 4px;
}
.admin-sidebar-actions {
  flex-shrink: 0;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  border-top: 1px solid rgba(248, 253, 255, 0.08);
  background: var(--deep-ocean);
}
.admin-sidebar-actions a {
  display: block;
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,253,255,0.45);
  padding: 8px 0;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
.admin-sidebar-actions a:hover { color: var(--wave-foam); }

.admin-main {
  margin-left: 240px;
  padding: var(--space-md);
  background: var(--cool-sand);
  min-height: 100vh;
}

.admin-sidebar-brand {
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.4);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(248, 253, 255, 0.08);
  margin-bottom: var(--space-md);
}

.admin-nav-section {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.25);
  margin-bottom: 8px;
  margin-top: var(--space-sm);
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: rgba(248, 253, 255, 0.55);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  margin-bottom: 2px;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(248, 253, 255, 0.08);
  color: var(--wave-foam);
}

.admin-nav-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: var(--space-md);
}

.admin-stat-card {
  background: var(--wave-foam);
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
}

.admin-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: 8px;
}

.admin-stat-value {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--deep-ocean);
  line-height: 1;
}

.admin-stat-delta {
  font-size: 0.72rem;
  color: var(--rock-60);
  margin-top: 4px;
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.admin-panel {
  background: var(--wave-foam);
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-sm);
}

.admin-panel-header {
  padding: 16px var(--space-sm);
  border-bottom: 1px solid var(--rock-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-panel-body {
  padding: var(--space-sm);
}

/* ——— Dashboard Layout ——— */
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-md);
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-md) var(--space-xl);
}

.dashboard-sidebar {
  position: sticky;
  top: calc(68px + var(--space-md));
  align-self: start;
}

.profile-card {
  background: var(--deep-ocean);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--wave-foam);
  margin-bottom: 16px;
}

.profile-card-initial {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(248, 253, 255, 0.12);
  border: 1px solid rgba(248, 253, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--wave-foam);
  margin-bottom: 12px;
}

.profile-card-name {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--wave-foam);
  margin-bottom: 2px;
}

.profile-card-cluster {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.4);
}

.profile-completion {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(248, 253, 255, 0.1);
}

.profile-completion-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.4);
  margin-bottom: 8px;
}

.progress-bar {
  height: 2px;
  background: rgba(248, 253, 255, 0.1);
  border-radius: 1px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--sunrise);
  border-radius: 1px;
  transition: width 0.8s var(--ease);
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--rock);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  margin-bottom: 2px;
}

.dashboard-nav-item:hover,
.dashboard-nav-item.active {
  background: var(--deep-ocean-06);
  color: var(--deep-ocean);
}

.dashboard-nav-item svg {
  width: 16px;
  height: 16px;
  color: var(--rock-60);
}

.dashboard-nav-item.active svg {
  color: var(--deep-ocean);
}

/* ——— Divider ——— */
.divider {
  height: 1px;
  background: var(--rock-10);
  margin: var(--space-md) 0;
}

.divider-dark {
  height: 1px;
  background: rgba(248, 253, 255, 0.1);
  margin: var(--space-md) 0;
}

/* ——— Icon wrappers ——— */
.icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--deep-ocean-06);
  border-radius: var(--radius-sm);
}

.icon-box svg {
  width: 18px;
  height: 18px;
  color: var(--deep-ocean);
}

/* ——— Ticker ——— */
.ticker-bar {
  background: var(--rock);
  padding: 10px var(--space-xl);
  overflow: hidden;
  position: relative;
}

.ticker-inner {
  display: flex;
  gap: var(--space-lg);
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.5);
  flex-shrink: 0;
}

.ticker-item strong {
  color: rgba(248, 253, 255, 0.85);
  font-weight: 400;
}

.ticker-sep {
  color: rgba(248, 253, 255, 0.2);
  margin: 0 8px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ——— SVG Icon Helpers ——— */
.icon {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ——— Mobile ——— */
@media (max-width: 1120px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 7rem;
  }

  .nav-links {
    display: none;
  }

  .nav-menu-toggle {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    padding: var(--space-lg) var(--space-md);
  }

  .hero-visual {
    height: auto;
    min-height: 360px;
  }

  .journey-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .clusters-header {
    grid-template-columns: 1fr;
  }

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

  .why-register-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none;
  }

  .admin-main {
    margin-left: 0;
  }

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

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 2rem;
    --space-2xl: 4rem;
    --space-lg: 2.5rem;
  }

  /* ── Nav logo on mobile ── */
  .nav-logo-img {
    height: 100px !important;
    border-radius: 14px !important;
    margin-top: 32px !important;
  }

  .nav-logo-wordmark {
    font-size: 0.9rem !important;
    letter-spacing: 0.14em !important;
    margin-top: 26px !important;
  }

  /* ── Register form padding ── */
  .page-wrapper > div[style*="padding: var(--space-lg) var(--space-xl)"] {
    padding: var(--space-md) var(--space-sm) !important;
  }

  .section {
    padding: var(--space-2xl) var(--space-md);
  }

  .section-sm {
    padding: var(--space-lg) var(--space-md);
  }

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

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

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

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

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

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

  .referral-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   WE CLEANER — Availability Grid System
   Day × Time slot visual selector
   ============================================================ */

/* ——— Availability Grid Wrapper ——— */
.avail-grid-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.avail-grid {
  display: grid;
  grid-template-columns: 96px repeat(7, 1fr);
  gap: 0;
  min-width: 520px;
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-secondary);
}

/* Header row — day labels */
.avail-header {
  display: contents;
}

.avail-header-corner {
  background: var(--cool-sand);
  border-bottom: 1px solid var(--rock-10);
  border-right: 1px solid var(--rock-10);
  padding: 10px 8px;
}

.avail-day-label {
  background: var(--cool-sand);
  border-bottom: 1px solid var(--rock-10);
  border-right: 1px solid var(--rock-10);
  padding: 10px 4px;
  text-align: center;
}

.avail-day-label span {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-ocean);
  display: block;
}

.avail-day-label small {
  font-size: 0.6rem;
  color: var(--rock-60);
  letter-spacing: 0.06em;
}

.avail-day-label:last-child {
  border-right: none;
}

/* Body rows — time slots */
.avail-row {
  display: contents;
}

.avail-time-label {
  background: var(--cool-sand);
  border-bottom: 1px solid var(--rock-10);
  border-right: 1px solid var(--rock-10);
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52px;
}

.avail-time-label .time-name {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-ocean);
  line-height: 1.3;
}

.avail-time-label .time-range {
  font-size: 0.62rem;
  color: var(--rock-60);
  margin-top: 2px;
}

.avail-row:last-child .avail-time-label,
.avail-row:last-child .avail-cell {
  border-bottom: none;
}

/* Cells */
.avail-cell {
  border-bottom: 1px solid var(--rock-10);
  border-right: 1px solid var(--rock-10);
  cursor: pointer;
  transition: background var(--duration) var(--ease);
  min-height: 52px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.avail-cell:last-child {
  border-right: none;
}

.avail-cell:hover {
  background: var(--deep-ocean-06);
}

.avail-cell.selected {
  background: var(--deep-ocean);
}

.avail-cell.selected::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Selected state tick */
.avail-cell.selected .cell-tick {
  display: block;
}

.cell-tick {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  color: rgba(248, 253, 255, 0.6);
}

/* Weekend columns — subtle differentiation */
.avail-cell.weekend:not(.selected),
.avail-day-label.weekend {
  background: rgba(10, 45, 68, 0.025);
}

.avail-cell.weekend.selected {
  background: var(--rock);
}

/* Select All row button */
.avail-select-all {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rock-60);
  cursor: pointer;
  padding: 4px 0 10px;
  text-align: center;
  transition: color var(--duration) var(--ease);
}

.avail-select-all:hover {
  color: var(--deep-ocean);
}

/* Legend */
.avail-legend {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: 12px;
  flex-wrap: wrap;
}

.avail-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--rock-60);
}

.avail-legend-swatch {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid var(--rock-10);
}

.avail-legend-swatch.available {
  background: var(--deep-ocean);
}

.avail-legend-swatch.weekend-avail {
  background: var(--rock);
}

.avail-legend-swatch.unavailable {
  background: var(--wave-foam);
}

/* Summary chips */
.avail-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  min-height: 28px;
}

.avail-chip {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wave-foam);
  background: var(--deep-ocean);
  padding: 4px 10px;
  border-radius: 2px;
}

/* ——— Work Record Form — Section Cards ——— */
.wh-card {
  background: var(--wave-foam);
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}

.wh-card-header {
  padding: 20px var(--space-md) 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
}

.wh-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--deep-ocean-06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.wh-card-icon svg {
  width: 16px;
  height: 16px;
  color: var(--deep-ocean);
}

.wh-card-header-text {
  flex: 1;
}

.wh-card-num {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 300;
  color: var(--deep-ocean-12);
  line-height: 1;
  flex-shrink: 0;
}

.wh-card-body {
  padding: 16px var(--space-md) var(--space-md);
}

/* ——— Rate Slider ——— */
.rate-slider-wrap {
  position: relative;
  padding: 20px 0 8px;
}

.rate-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: var(--rock-10);
  outline: none;
  border-radius: 1px;
  cursor: pointer;
}

.rate-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--deep-ocean);
  cursor: pointer;
  border: 2px solid var(--wave-foam);
  box-shadow: 0 1px 6px var(--deep-ocean-40);
  transition: transform var(--duration) var(--ease);
}

.rate-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.rate-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--deep-ocean);
  cursor: pointer;
  border: 2px solid var(--wave-foam);
  box-shadow: 0 1px 6px var(--deep-ocean-40);
}

.rate-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}

.rate-value {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--deep-ocean);
  line-height: 1;
}

.rate-unit {
  font-size: 0.8rem;
  color: var(--rock-60);
  letter-spacing: 0.06em;
}

.rate-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.rate-range-labels span {
  font-size: 0.68rem;
  color: var(--rock-60);
  letter-spacing: 0.06em;
}

/* ——— Hours per week stepper ——— */
.stepper-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.stepper-btn {
  width: 44px;
  height: 44px;
  background: var(--cool-sand);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--deep-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration) var(--ease);
  user-select: none;
  -webkit-user-select: none;
}

.stepper-btn:hover {
  background: var(--deep-ocean-06);
}

.stepper-value {
  width: 72px;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--deep-ocean);
  padding: 0 12px;
  border-left: 1px solid var(--rock-10);
  border-right: 1px solid var(--rock-10);
  line-height: 44px;
}

/* ——— Reference Card ——— */
.ref-card {
  background: var(--cool-sand);
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  margin-bottom: 12px;
  position: relative;
}

.ref-card-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--rock-10);
  border-radius: 50%;
  background: var(--wave-foam);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease);
}

.ref-card-remove:hover {
  border-color: var(--deep-ocean);
  background: var(--deep-ocean-06);
}

.ref-card-remove svg {
  width: 10px;
  height: 10px;
  color: var(--rock-60);
}

/* ——— Form Step Indicator (inline) ——— */
.form-step-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.fsi-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rock-60);
  cursor: pointer;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: all var(--duration) var(--ease);
}

.fsi-item.active {
  color: var(--deep-ocean);
  border-bottom-color: var(--sunrise);
}

.fsi-item.done {
  color: var(--deep-ocean-40);
}

.fsi-sep {
  font-size: 0.6rem;
  color: var(--rock-30);
}

/* ——— Info Tooltip ——— */
.field-hint {
  font-size: 0.74rem;
  color: var(--rock-60);
  margin-top: 5px;
  line-height: 1.5;
}

/* ============================================================
   WE CLEANER — Tier & Score System
   ============================================================ */

/* ——— Score Ring ——— */
.score-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.score-ring-svg {
  transform: rotate(-90deg);
  width: 120px;
  height: 120px;
}

.score-ring-track {
  fill: none;
  stroke: var(--rock-10);
  stroke-width: 6;
}

.score-ring-fill {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-ring-fill.pioneer  { stroke: #F07900; }
.score-ring-fill.verified { stroke: #0A2D44; }
.score-ring-fill.active   { stroke: #3E4953; }
.score-ring-fill.registered { stroke: rgba(62,73,83,0.4); }
.score-ring-fill.new      { stroke: rgba(62,73,83,0.2); }

.score-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-ring-pts {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--deep-ocean);
  line-height: 1;
}

.score-ring-label {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-top: 2px;
}

/* ——— Tier Badge ——— */
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-secondary);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.tier-pioneer    { color: #F07900; background: rgba(240,121,0,0.12);   border-color: rgba(240,121,0,0.35); }
.tier-verified   { color: #0A2D44; background: rgba(10,45,68,0.08);    border-color: rgba(10,45,68,0.25); }
.tier-active     { color: #3E4953; background: rgba(62,73,83,0.08);    border-color: rgba(62,73,83,0.25); }
.tier-registered { color: #3E4953; background: rgba(62,73,83,0.05);    border-color: rgba(62,73,83,0.15); }
.tier-new        { color: #3E4953; background: rgba(62,73,83,0.04);    border-color: rgba(62,73,83,0.10); }

/* ——— Early Bonus Tag ——— */
.early-bonus-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sunrise);
  background: var(--sunrise-15);
  border: 1px solid rgba(240,121,0,0.3);
  padding: 3px 10px;
  border-radius: 2px;
}

/* ——— Score Progress Bar ——— */
.tier-progress-wrap {
  margin-top: 12px;
}

.tier-progress-labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.tier-progress-current {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rock-60);
}

.tier-progress-next {
  font-size: 0.68rem;
  color: var(--rock-60);
}

.tier-progress-bar {
  height: 3px;
  background: var(--rock-10);
  border-radius: 2px;
  overflow: hidden;
}

.tier-progress-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.tier-progress-fill.pioneer    { background: #F07900; }
.tier-progress-fill.verified   { background: #0A2D44; }
.tier-progress-fill.active     { background: #3E4953; }
.tier-progress-fill.registered { background: rgba(62,73,83,0.5); }

/* ——— Score Breakdown Card ——— */
.score-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--rock-10);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--wave-foam);
  gap: 8px;
}

.score-row-category {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock-60);
  min-width: 100px;
}

.score-row-label {
  font-size: 0.82rem;
  color: var(--rock);
  flex: 1;
}

.score-row-pts {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 300;
  color: var(--deep-ocean);
  min-width: 60px;
  text-align: right;
}

.score-row-pts.bonus {
  color: var(--sunrise);
}

.score-row-total {
  background: var(--deep-ocean);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.score-row-total .score-row-label {
  color: var(--wave-foam);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.score-row-total .score-row-pts {
  color: var(--wave-foam);
  font-size: 1.4rem;
}

/* ——— Leaderboard ——— */
.leaderboard-wrap {
  background: var(--wave-foam);
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.leaderboard-header {
  padding: 16px var(--space-sm);
  border-bottom: 1px solid var(--rock-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lb-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: var(--space-sm);
  align-items: center;
  padding: 14px var(--space-sm);
  border-bottom: 1px solid var(--rock-10);
  transition: background var(--duration) var(--ease);
}

.lb-row:last-child {
  border-bottom: none;
}

.lb-row:hover {
  background: var(--deep-ocean-06);
}

.lb-row.top-3 {
  background: rgba(240,121,0,0.03);
}

.lb-rank {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--deep-ocean-40);
  text-align: center;
  line-height: 1;
}

.lb-rank.r1 { color: #F07900; font-size: 1.6rem; }
.lb-rank.r2 { color: var(--deep-ocean); }
.lb-rank.r3 { color: var(--rock); }

.lb-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.lb-name {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--deep-ocean);
}

.lb-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lb-cluster {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rock-60);
}

.lb-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.lb-score {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--deep-ocean);
  line-height: 1;
}

.lb-pts-label {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rock-60);
}

/* ——— Cluster filter tabs ——— */
.cluster-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--rock-10);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cluster-tabs::-webkit-scrollbar { display: none; }

.cluster-tab {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rock-60);
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all var(--duration) var(--ease);
  flex-shrink: 0;
}

.cluster-tab:hover {
  color: var(--deep-ocean);
}

.cluster-tab.active {
  color: var(--deep-ocean);
  border-bottom-color: var(--sunrise);
}

/* ——— Score card (dashboard) ——— */
.score-card-outer {
  background: var(--deep-ocean);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--wave-foam);
  margin-bottom: 16px;
}

.score-card-top {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.score-card-info {
  flex: 1;
}

.score-card-pts-big {
  font-family: var(--font-primary);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--wave-foam);
  line-height: 1;
  margin-bottom: 4px;
}

.score-card-pts-sub {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,253,255,0.4);
}

.score-card-rank {
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(248,253,255,0.5);
}

.score-card-rank strong {
  color: var(--wave-foam);
  font-weight: 400;
}

/* ——— How to earn points table ——— */
.earn-table {
  width: 100%;
  border-collapse: collapse;
}

.earn-table th {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rock-60);
  font-weight: 400;
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--rock-10);
}

.earn-table td {
  font-size: 0.82rem;
  color: var(--rock);
  padding: 10px 12px;
  border-bottom: 1px solid var(--rock-10);
  vertical-align: middle;
}

.earn-table tr:last-child td { border-bottom: none; }

.earn-pts {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--deep-ocean);
  text-align: right;
  white-space: nowrap;
}

.earn-pts.bonus-pts {
  color: var(--sunrise);
}

/* ============================================================
   WE CLEANER — Suburb Autocomplete & New Availability UI
   ============================================================ */

/* ── Suburb Autocomplete Dropdown ── */
.suburb-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--rock-10);
  transition: background var(--duration) var(--ease);
}
.suburb-item:last-child { border-bottom: none; }
.suburb-item:hover,
.suburb-item.focused { background: var(--deep-ocean-06); }

.suburb-item-name {
  font-size: 0.86rem;
  color: var(--deep-ocean);
  font-weight: 400;
}
.suburb-item-meta {
  font-size: 0.72rem;
  color: var(--rock-60);
  letter-spacing: 0.06em;
}
.suburb-item-pc {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 300;
  color: var(--rock-30);
  margin-left: 12px;
  flex-shrink: 0;
}

/* ── Cluster option with check icon ── */
.check-option.cluster-selected {
  background: var(--deep-ocean-06);
  border-color: var(--deep-ocean-12);
}
.check-option.cluster-selected .cluster-check-icon {
  background: var(--deep-ocean);
  border-color: var(--deep-ocean);
}
.check-option.cluster-selected .cluster-check-icon svg {
  opacity: 1 !important;
}

/* ── Day buttons (block mode) ── */
.day-btn {
  padding: 7px 14px;
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-sm);
  background: var(--wave-foam);
  color: var(--rock-60);
  cursor: pointer;
  transition: all 0.18s ease;
}
.day-btn:hover { border-color: var(--deep-ocean-40); color: var(--deep-ocean); }
.day-btn.active {
  background: var(--deep-ocean);
  color: var(--wave-foam);
  border-color: var(--deep-ocean);
}
.day-btn.weekend-btn.active {
  background: var(--rock);
  border-color: var(--rock);
}

/* ── Block grid cells ── */
.block-day-hdr {
  background: var(--cool-sand);
  padding: 8px 4px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-ocean);
  text-align: center;
}
.block-day-hdr.weekend { color: var(--rock-60); }

.block-time-lbl {
  background: var(--cool-sand);
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 52px;
}
.block-time-lbl span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-ocean);
}
.block-time-lbl small {
  font-size: 0.6rem;
  color: var(--rock-60);
  margin-top: 2px;
}

.block-cell {
  background: var(--wave-foam);
  min-height: 52px;
  cursor: pointer;
  transition: background 0.15s ease;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}
.block-cell:hover { background: var(--deep-ocean-06); }
.block-cell.active { background: var(--deep-ocean); }
.block-cell.weekend.active { background: var(--rock); }
.block-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hourly grid cells ── */
.hourly-day-lbl {
  background: var(--cool-sand);
  padding: 0 8px;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-ocean);
  display: flex;
  align-items: center;
  min-height: 40px;
}
.hourly-day-lbl.weekend { color: var(--rock-60); }

.hourly-hr-hdr {
  background: var(--cool-sand);
  font-size: 0.6rem;
  color: var(--rock-60);
  text-align: center;
  padding: 5px 2px;
  border-bottom: 1px solid var(--rock-10);
  letter-spacing: 0.04em;
}

.hourly-cell {
  background: var(--wave-foam);
  min-height: 40px;
  cursor: pointer;
  transition: background 0.12s ease;
  user-select: none;
  -webkit-user-select: none;
  border-right: 1px solid rgba(62,73,83,0.06);
}
.hourly-cell:hover { background: var(--deep-ocean-06); }
.hourly-cell.active { background: var(--deep-ocean); }
.hourly-cell.weekend.active { background: var(--rock); }

/* ──  Availability summary chips ── */
.avail-chip-new {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wave-foam);
  background: var(--deep-ocean);
  padding: 3px 10px;
  border-radius: 2px;
  white-space: nowrap;
}
.avail-chip-new.weekend-chip {
  background: var(--rock);
}

/* ——— Utility ——— */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.hidden { display: none !important; }
.sunrise { color: var(--sunrise); }
.deep-ocean { color: var(--deep-ocean); }
.w-full { width: 100%; }

/* ============================================================
   WE CLEANER — Cleaner Card Registration: Point System UI
   ============================================================ */

/* ── Point hint bar ── */
.pts-hint-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(10, 45, 68, 0.04);
  border: 1px solid var(--deep-ocean-12);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  color: var(--rock);
  margin-bottom: var(--space-sm);
}

.pts-hint-icon {
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep-ocean);
  width: 24px;
  height: 24px;
  background: var(--deep-ocean-12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Points badge ── */
.pts-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-secondary);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sunrise);
  background: rgba(240, 121, 0, 0.10);
  border: 1px solid rgba(240, 121, 0, 0.20);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Duty chip multi-select ── */
.duty-chip {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--rock-10);
  background: var(--wave-foam);
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  color: var(--rock);
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
  user-select: none;
}
.duty-chip:hover {
  border-color: var(--deep-ocean);
  background: rgba(10,45,68,0.04);
  box-shadow: 0 1px 6px rgba(10,45,68,0.07);
}

/* ── Career record card ── */
.career-record {
  transition: box-shadow 0.2s ease;
}
.career-record:hover {
  box-shadow: 0 2px 16px rgba(10, 45, 68, 0.08);
}

/* ── Cluster check icon ── */
.cluster-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--rock-10);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

/* ── Day button for availability ── */
.day-btn {
  padding: 6px 12px;
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-sm);
  background: var(--wave-foam);
  color: var(--rock-60);
  cursor: pointer;
  transition: all 0.2s;
}
.day-btn:hover { border-color: var(--deep-ocean); color: var(--deep-ocean); }
.day-btn.active { background: var(--deep-ocean); color: var(--wave-foam); border-color: var(--deep-ocean); }
.day-btn.weekend-btn.active { background: var(--rock); border-color: var(--rock); }

/* ── Block grid header/label ── */
.block-day-hdr {
  background: var(--cool-sand);
  padding: 8px 4px;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rock-60);
  text-align: center;
  border-bottom: 1px solid var(--rock-10);
}
.block-day-hdr.weekend { color: var(--rock); }

.block-time-lbl {
  background: var(--cool-sand);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8px;
  min-height: 52px;
  border-bottom: 1px solid var(--rock-10);
}
.block-time-lbl span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--deep-ocean); }
.block-time-lbl small { font-size: 0.6rem; color: var(--rock-60); margin-top: 2px; }

.block-cell {
  background: var(--wave-foam);
  min-height: 52px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-right: 1px solid rgba(62,73,83,0.06);
  border-bottom: 1px solid rgba(62,73,83,0.06);
  user-select: none;
  -webkit-user-select: none;
}
.block-cell:hover { background: var(--deep-ocean-06); }
.block-cell.active { background: var(--deep-ocean); }
.block-cell.weekend.active { background: var(--rock); }

/* ── Hourly grid ── */
.hourly-day-lbl {
  background: var(--cool-sand);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rock-60);
  display: flex;
  align-items: center;
  padding: 0 8px;
  min-height: 40px;
  border-bottom: 1px solid var(--rock-10);
}
.hourly-day-lbl.weekend { color: var(--rock); }

/* ============================================================
   WE CLEANER — Point Meter Bar (register.html)
   Sticky top, fully responsive
   ============================================================ */

/* ── Outer container ── */
.point-meter-bar {
  position: sticky;
  top: 96px;
  z-index: 99;
  background: var(--deep-ocean);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  margin-bottom: var(--space-sm);
  box-shadow: 0 4px 24px rgba(10, 45, 68, 0.22);
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── Ring wrapper ── */
.pm-ring-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

/* ── Centered text inside ring ── */
.pm-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.pm-ring-pts {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--wave-foam);
  line-height: 1;
}

.pm-ring-unit {
  font-size: 0.42rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.40);
}

/* ── Info block ── */
.pm-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pm-info-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow: hidden;
}

/* ── Tier badge ── */
.pm-tier-badge {
  font-family: var(--font-secondary);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(248, 253, 255, 0.10);
  color: rgba(248, 253, 255, 0.60);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ── Tier message ── */
.pm-tier-msg {
  font-size: 0.74rem;
  color: rgba(248, 253, 255, 0.50);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

/* ── Next tier line ── */
.pm-next-msg {
  font-size: 0.62rem;
  color: rgba(248, 253, 255, 0.28);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Progress bar ── */
.pm-bar-track {
  height: 4px;
  background: rgba(248, 253, 255, 0.10);
  border-radius: 4px;
  overflow: hidden;
}

.pm-bar-fill {
  height: 100%;
  width: 0%;
  background: #F07900;
  border-radius: 4px;
  transition: width 0.5s ease, background 0.4s ease;
}

/* ── Details toggle button ── */
.pm-details-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  font-family: var(--font-secondary);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(248, 253, 255, 0.18);
  border-radius: var(--radius-sm);
  background: transparent;
  color: rgba(248, 253, 255, 0.45);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.pm-details-btn:hover {
  border-color: rgba(248, 253, 255, 0.40);
  color: rgba(248, 253, 255, 0.80);
}

/* ── Point Breakdown Panel ── */
.point-breakdown-panel {
  background: var(--wave-foam);
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  margin-top: -8px;
  margin-bottom: var(--space-sm);
}

.pbd-title {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: 10px;
}

.pbd-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pbd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  background: var(--cool-sand);
  border-radius: var(--radius-sm);
}

.pbd-row-label {
  font-size: 0.78rem;
  color: var(--rock);
}

.pbd-row-pts {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--deep-ocean);
  white-space: nowrap;
  margin-left: 8px;
}

.pbd-divider {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rock-10);
}

.pbd-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: 10px;
}

.pbd-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

/* ── Tier benefit card ── */
.tier-benefit-card {
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-md);
  padding: 12px;
  background: transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.tier-benefit-card.active {
  border-color: var(--sunrise);
  background: rgba(240, 121, 0, 0.04);
}

.tbc-label {
  font-family: var(--font-secondary);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: 4px;
}

.tier-benefit-card.active .tbc-label {
  color: var(--sunrise);
}

.tbc-pts {
  font-size: 0.72rem;
  color: var(--deep-ocean);
  font-weight: 600;
  margin-bottom: 8px;
}

.tbc-item {
  font-size: 0.72rem;
  color: var(--rock);
  padding: 2px 0;
  line-height: 1.5;
}

/* ── Desktop: compact sticky bar only shown on md+ ── */
.point-meter-desktop {
  display: flex;
}

/* ── Mobile: hide compact bar, show float card ── */
@media (max-width: 768px) {
  .point-meter-desktop {
    display: none !important;
  }

  .pbd-tiers {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   RISING SUN POINT CARD  — compact solid semicircle
   ============================================================ */

/* ── Wrapper (register.html only) ── */
.sun-card {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 0;
  z-index: 200;
  pointer-events: none;
  overflow: visible;
}

/* ══════════════════════════════════════════════════════
   .sun-scene  — wrapper, purely transparent, no bg
   .sun-svg-layer — clips SVG to perfect semicircle
   .sun-content   — text overlay, no clip
   ══════════════════════════════════════════════════════ */
/* sun-scene: clips ONLY the SVG into a semicircle.
   sun-content sits outside (fixed) so text is never clipped. */
.sun-scene {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 160px;
  overflow: hidden;
  border-radius: 9999px 9999px 0 0;  /* div 자체를 반원으로 클립 → 양옷 사각 완전 제거 */
  background: transparent;
  pointer-events: none;
  z-index: 200;
}

/* sun-blocker: 반원 하단 1px 경계선 가림 */
.sun-blocker {
  display: none;
}

/* SVG layer = same size as sun-scene, draws full circle,
   overflow:hidden on parent cuts it to a semicircle */
.sun-svg-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: transparent;
}
.sun-svg-layer svg {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 100%;
  display: block;
  background: transparent;
}

/* ── Bounce animation ── */
@keyframes sunRise {
  0%   { transform: translateX(-50%) translateY(0); }
  35%  { transform: translateX(-50%) translateY(-10px); }
  70%  { transform: translateX(-50%) translateY(-3px); }
  100% { transform: translateX(-50%) translateY(0); }
}
.sun-card.pts-bounce .sun-scene {
  animation: sunRise 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ── Content overlay: FIXED, outside sun-scene, never clipped ── */
.sun-content {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  z-index: 210;
  pointer-events: none;
  background: transparent;
}
.sun-content > * { pointer-events: auto; }

/* ── Tier badge ── */
.sun-tier-badge {
  font-family: var(--font-secondary);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 2px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.28);
  white-space: nowrap;
  transition: background 0.4s, color 0.3s;
}
.sun-tier-badge.tier-pioneer {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border-color: rgba(255,255,255,0.50);
}

/* ── Big point number ── */
.sun-pts-wrap { text-align: center; line-height: 1; }
.sun-pts-num {
  font-family: var(--font-secondary);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.sun-pts-label {
  font-size: 0.42rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* ── Status messages ── */
.sun-tier-msg {
  font-size: 0.66rem;
  color: rgba(255,255,255,0.75);
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.20);
}
.sun-next-msg {
  font-size: 0.55rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ── Details button (register only) ── */
.sun-details-btn {
  margin-top: 3px;
  padding: 4px 18px;
  font-family: var(--font-secondary);
  font-size: 0.50rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.80);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.sun-details-btn:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}
.sun-details-btn--sunrise { /* same style on sunrise bg */ }

/* ── +delta flash ── */
.pts-delta-flash {
  position: fixed;
  bottom: 175px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  font-family: var(--font-secondary);
  font-size: 1.4rem;
  font-weight: 800;
  color: #F07900;
  opacity: 0;
  pointer-events: none;
  z-index: 230;
  text-shadow: 0 0 12px rgba(240,121,0,0.7);
  transition: opacity 0.2s ease, transform 0.6s ease;
}

/* ── Point breakdown panel ── */
.point-breakdown-panel {
  position: fixed;
  bottom: 168px;
  left: 50%;
  transform: translateX(-50%);
  width: min(400px, calc(100vw - 24px));
  z-index: 199;
  max-height: 50vh;
  overflow-y: auto;
  box-shadow: 0 4px 32px rgba(10,45,68,0.25);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-md) var(--radius-md);
}

/* ── Body padding ── */
body.register-page { padding-bottom: 175px; }
body.has-sun-card  { padding-bottom: 170px; }

/* ── Sunrise text variant ── */
.sun-content--sunrise .sun-pts-num   { color: #fff; }
.sun-content--sunrise .sun-pts-label { color: rgba(255,255,255,0.70); }
.sun-content--sunrise .sun-tier-msg  { color: rgba(255,255,255,0.85); }
.sun-content--sunrise .sun-next-msg  { color: rgba(255,255,255,0.60); }

/* ══════════════════════════════════════════════════════
   MOBILE  ≤ 600px
   ══════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .sun-scene {
    width: 220px;
    height: 110px;             /* width ÷ 2 */
  }
  .sun-content {
    bottom: 8px;
    width: 200px;
    gap: 2px;
  }
  .sun-pts-num    { font-size: 1.6rem; }
  .sun-pts-label  { font-size: 0.38rem; }
  .sun-tier-badge { font-size: 0.44rem; padding: 2px 9px; }
  .sun-tier-msg   { font-size: 0.58rem; }
  .sun-next-msg   { font-size: 0.48rem; }
  .sun-details-btn{ font-size: 0.44rem; padding: 3px 12px; }
  .point-breakdown-panel { bottom: 118px; width: calc(100vw - 16px); }
  .pts-delta-flash { bottom: 122px; }
  body.register-page { padding-bottom: 118px; }
  body.has-sun-card  { padding-bottom: 115px; }
}

/* ── Extra small ≤ 390px ── */
@media (max-width: 390px) {
  .sun-scene {
    width: 190px;
    height: 95px;
  }
  .sun-content { bottom: 6px; width: 175px; }
  .sun-pts-num  { font-size: 1.4rem; }
  body.register-page { padding-bottom: 102px; }
  body.has-sun-card  { padding-bottom: 100px; }
}

/* ============================================================
   HOURLY AVAILABILITY GRID
   ============================================================ */
/* ── 시간 헤더 ── */
.hg-hour-lbl {
  background: var(--cool-sand);
  padding: 4px 1px;
  font-size: 0.50rem;
  letter-spacing: 0.02em;
  color: var(--rock-60);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
}

/* ── 요일 레이블 ── */
.hg-day-lbl {
  background: var(--cool-sand);
  padding: 4px 2px;
  font-size: 0.56rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--deep-ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  white-space: nowrap;
  overflow: hidden;
}
.hg-day-lbl.weekend {
  color: var(--rock);
  opacity: 0.75;
}

/* ── 셀: 높이 고정, 절대 overflow 없음 ── */
.hg-cell {
  background: var(--wave-foam);
  min-height: 28px;
  height: 28px;
  cursor: pointer;
  transition: background 0.12s ease;
  border: 0;
  outline: none;
  box-sizing: border-box;
}
.hg-cell:hover {
  background: rgba(10, 45, 68, 0.15);
}
.hg-cell.selected {
  background: var(--deep-ocean);
}
.hg-cell.selected.weekend {
  background: var(--rock);
  opacity: 0.80;
}

/* ── 그리드 래퍼: 스크롤 완전 차단 ── */
#hourlyGridWrap {
  width: 100%;
  overflow: hidden !important;
  box-sizing: border-box;
}
#hourlyGrid {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  overflow: hidden !important;
}

/* ── 모바일 반응형: 셀 높이 줄이기 ── */
@media (max-width: 600px) {
  .hg-cell {
    min-height: 22px;
    height: 22px;
  }
  .hg-hour-lbl {
    font-size: 0.44rem;
    padding: 3px 0;
  }
  .hg-day-lbl {
    font-size: 0.50rem;
    padding: 3px 1px;
  }
}

/* ============================================================
   VALUATION FRAMEWORK — Register Page 2-Column Layout
   ============================================================ */

/* Two-column layout wrapper */
.reg-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}

/* Left: form */
.reg-form-col {
  min-width: 0;
}

/* Right: sticky valuation panel */
.reg-val-col {
  position: relative;
}

.val-sticky-wrap {
  position: sticky;
  top: 88px;
  background: var(--deep-ocean);
  border-radius: 16px;
  padding: 24px 20px 20px;
  color: var(--wave-foam);
  box-shadow: 0 8px 32px rgba(10,45,68,0.18);
  transition: box-shadow 0.3s;
}

/* Panel Header */
.val-panel-header {
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(248,253,255,0.1);
  padding-bottom: 14px;
}
.val-panel-header-title {
  font-family: var(--font-secondary);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248,253,255,0.5);
}
.val-panel-header-sub {
  font-size: 0.78rem;
  color: rgba(248,253,255,0.75);
  margin-top: 4px;
}

/* ── Gauge ── */
.val-gauge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4px;
}
.val-gauge-svg {
  display: block;
}
.val-gauge-inner {
  position: absolute;
  top: 38px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
}
.val-gauge-score {
  font-family: var(--font-primary);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--wave-foam);
  line-height: 1;
  letter-spacing: -0.02em;
}
.val-gauge-max {
  font-family: var(--font-secondary);
  font-size: 0.6rem;
  color: rgba(248,253,255,0.4);
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.val-gauge-tier {
  font-family: var(--font-secondary);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248,253,255,0.55);
  margin-top: 4px;
}

/* ── Valuation Summary Box (register panel — replaces old estimate box) ── */
.val-summary-box {
  background: rgba(240,121,0,0.06);
  border: 1.5px solid rgba(240,121,0,0.18);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  text-align: center;
  position: relative;
}
.val-summary-box::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(240,121,0,0.5), transparent);
}
.val-summary-value {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--sunrise);
  line-height: 1.1;
  letter-spacing: -0.02em;
  min-height: 2rem;
  transition: all 0.4s cubic-bezier(0.22,1,0.36,1);
}
.val-summary-desc {
  font-family: var(--font-secondary);
  font-size: 0.66rem;
  color: rgba(62,73,83,0.55);
  margin-top: 6px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* ── Weekly Estimate Box (dashboard only) ── */
.val-estimate-box {
  background: linear-gradient(145deg, rgba(240,121,0,0.08) 0%, rgba(10,45,68,0.12) 100%);
  border: 1.5px solid rgba(240,121,0,0.20);
  border-radius: 14px;
  padding: 18px 16px 14px;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.val-estimate-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240,121,0,0.5), transparent);
}
.val-est-label {
  font-family: var(--font-secondary);
  font-size: 0.56rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(248,253,255,0.45);
  margin-bottom: 8px;
}
.val-est-range {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sunrise);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: all 0.45s cubic-bezier(0.22,1,0.36,1);
  min-height: 2.4rem;
}
.val-est-range.val-est--tbd {
  font-size: 0.9rem;
  color: rgba(248,253,255,0.35);
  font-family: var(--font-secondary);
  letter-spacing: 0.05em;
  padding-top: 8px;
}
/* AUD / week tag */
.val-est-aud-tag {
  font-family: var(--font-secondary);
  font-size: 0.60rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,121,0,0.65);
  margin-top: 4px;
  margin-bottom: 2px;
}
.val-est-basis {
  font-size: 0.72rem;
  color: rgba(248,253,255,0.55);
  margin-top: 6px;
  line-height: 1.4;
}
.val-est-disclaimer {
  font-size: 0.60rem;
  color: rgba(248,253,255,0.28);
  margin-top: 6px;
  font-style: italic;
  border-top: 1px solid rgba(248,253,255,0.06);
  padding-top: 6px;
}

/* ── Breakdown rows ── */
.val-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.val-row {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(248,253,255,0.07);
}
.val-row:last-child {
  border-bottom: none;
}
.val-row--highlight {
  background: rgba(248,253,255,0.04);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid rgba(248,253,255,0.1);
}
.val-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.val-row-name {
  font-family: var(--font-secondary);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248,253,255,0.7);
}
.val-row-weight {
  font-size: 0.55rem;
  color: rgba(248,253,255,0.35);
  text-transform: none;
  letter-spacing: 0;
}
.val-row-pts {
  font-family: var(--font-secondary);
  font-size: 0.66rem;
  color: rgba(248,253,255,0.5);
  white-space: nowrap;
}
.val-row-tag {
  font-family: var(--font-secondary);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid rgba(248,253,255,0.2);
  color: rgba(248,253,255,0.7);
}
.val-row-tag.tag--ok   { color: #6fcf97; border-color: rgba(111,207,151,0.4); }
.val-row-tag.tag--warn { color: #F2C94C; border-color: rgba(242,201,76,0.4); }
.val-row-tag.tag--bad  { color: rgba(248,253,255,0.35); }

/* Progress bar */
.val-bar-track {
  height: 4px;
  background: rgba(248,253,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}
.val-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}
.val-row-note {
  font-size: 0.68rem;
  color: rgba(248,253,255,0.4);
  line-height: 1.4;
}

/* ── Next Action ── */
.val-next-action {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(192,58,0,0.15);
  border: 1px solid rgba(192,58,0,0.35);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
}
.val-next-action-icon {
  font-size: 1rem;
  color: var(--sunrise);
  flex-shrink: 0;
  margin-top: 1px;
}
.val-next-action-text {
  font-size: 0.74rem;
  color: rgba(248,253,255,0.75);
  line-height: 1.5;
}

/* ── Rate Band ── */
.val-rate-band {
  border-top: 1px solid rgba(248,253,255,0.1);
  padding-top: 14px;
  text-align: center;
}
.val-rate-band-label {
  font-family: var(--font-secondary);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248,253,255,0.35);
  margin-bottom: 6px;
}
.val-rate-band-value {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--wave-foam);
  letter-spacing: 0.02em;
  transition: all 0.4s ease;
}
.val-rate-band-desc {
  font-size: 0.68rem;
  color: rgba(248,253,255,0.4);
  margin-top: 4px;
  line-height: 1.4;
}

/* ── Responsive: collapse to single column on mobile ── */
@media (max-width: 900px) {
  .reg-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* On mobile/tablet: hide the right panel entirely — valuation is in the bottom semicircle */
  .reg-val-col {
    display: none;
  }
}

@media (max-width: 640px) {
  .val-est-range {
    font-size: 1.5rem;
  }
  .val-gauge-score {
    font-size: 2rem;
  }
}

/* ——— Score + Quiz Row ——— */
.score-quiz-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-lg);
  align-items: start;
  margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
  .score-quiz-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ——— Form Light (for light-bg pages) ——— */
.form-light .form-input {
  background: var(--wave-foam);
  border: 1px solid var(--rock-10);
  color: var(--rock);
}

.form-light .form-input::placeholder {
  color: var(--rock-30);
}

.form-light .form-input:focus {
  border-color: var(--deep-ocean-40);
}

.form-light .form-label {
  color: var(--rock);
}

/* ——— Teams ——— */
.team-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rock-10);
}

.team-tab {
  padding: 12px 24px;
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rock-60);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  background: none;
}

.team-tab:hover {
  color: var(--deep-ocean);
}

.team-tab.active {
  color: var(--deep-ocean);
  border-bottom-color: var(--sunrise);
}

.team-panel {
  min-height: 320px;
  background: var(--cool-sand);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-sm);
}

.team-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.team-card {
  background: var(--wave-foam);
  border: 1px solid var(--rock-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 4px 20px rgba(10, 45, 68, 0.08);
  transform: translateY(-2px);
}

.team-card-header {
  padding: var(--space-sm) var(--space-sm) 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.team-card-name {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--deep-ocean);
  line-height: 1.2;
}

.team-card-code {
  font-family: var(--font-secondary);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.10em;
  color: var(--sunrise);
  white-space: nowrap;
  padding: 3px 8px;
  background: var(--sunrise-15);
  border-radius: var(--radius-sm);
}

.team-card-body {
  padding: 0 var(--space-sm) var(--space-sm);
}

.team-card-desc {
  font-size: 0.78rem;
  color: var(--rock-60);
  line-height: 1.6;
  margin-bottom: 8px;
}

.team-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--rock-30);
}

.team-card-footer {
  padding: 8px var(--space-sm);
  border-top: 1px solid var(--rock-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.team-card-stat {
  font-size: 0.68rem;
  color: var(--rock-30);
  letter-spacing: 0.06em;
}

.team-card-status {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep-ocean);
  padding: 2px 8px;
  background: var(--deep-ocean-06);
  border-radius: var(--radius-sm);
}

/* Team member list */
.team-member-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--rock-10);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.team-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--space-sm);
  background: var(--wave-foam);
  gap: 12px;
}

.team-member-row:hover {
  background: var(--cool-sand);
}

.team-member-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.team-member-name {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--deep-ocean);
}

.team-member-role {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock-30);
  padding: 2px 8px;
  background: var(--deep-ocean-06);
  border-radius: var(--radius-sm);
}

.team-member-joined {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Responsive */
@media (max-width: 640px) {
  .team-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .team-tab {
    padding: 10px 16px;
    font-size: 0.68rem;
    white-space: nowrap;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-member-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .team-member-joined {
    width: 100%;
    justify-content: space-between;
  }
}

/* ============================================================
   HOMEPAGE — Triptych Doorway (Editorial / Magazine Aesthetic)
   Full-bleed photographic 3-pane hero
   ============================================================ */

/* Floating nav over hero — minimal, corners only */
.home-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  height: 96px;
  pointer-events: none;
  transition: background var(--duration) var(--ease), backdrop-filter var(--duration) var(--ease);
}
.home-nav.scrolled {
  background: rgba(248, 253, 255, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 24px var(--deep-ocean-06);
}
.home-nav > * { pointer-events: auto; }

.home-nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--wave-foam);
  transition: color var(--duration) var(--ease);
}
.home-nav.scrolled .home-nav-logo { color: var(--deep-ocean); }
/* Match existing .nav-logo-img exactly for cross-page consistency */
.home-nav-logo-img {
  height: 148px;
  width: auto;
  border-radius: 20px;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 8px 24px rgba(10, 45, 68, 0.30))
    drop-shadow(0 2px 8px rgba(10, 45, 68, 0.18));
  margin-top: 52px;
  position: relative;
  z-index: 102;
  transition: opacity var(--duration) var(--ease);
}
.home-nav-logo-img:hover { opacity: 0.85; }
.home-nav-logo-text {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  margin-top: 38px;
}
/* The logo image already says 'WE CLEANER' inside it. On mobile the
   wordmark beside it competes for space with the right-side nav links
   and ends up wrapping → looks like duplication. Hide it. */
@media (max-width: 760px) {
  .home-nav-logo-text { display: none; }
}

.home-nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.home-nav-link {
  font-family: var(--font-secondary);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--wave-foam);
  text-decoration: none;
  opacity: 0.9;
  white-space: nowrap;
  transition: opacity var(--duration) var(--ease), color var(--duration) var(--ease);
}
.home-nav.scrolled .home-nav-link { color: var(--rock); }
.home-nav-link:hover { opacity: 1; }
@media (max-width: 760px) {
  .home-nav-link {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }
  .home-nav-right { gap: 14px; }
}
@media (max-width: 480px) {
  .home-nav-link { font-size: 0.62rem; letter-spacing: 0.08em; }
  .home-nav-right { gap: 10px; }
}

/* Triptych container — full viewport height */
.triptych {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  margin: 0;
  padding: 0;
  background: var(--deep-ocean);
}

.triptych-pane {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  background-color: var(--rock);
  isolation: isolate;
}

/* Background image fills pane */
.triptych-pane-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Subjects are framed right-of-centre in all three hero photos.
     Anchor the image to the right so the face stays visible while
     the empty BG (left side) sits behind the eyebrow + title overlay. */
  object-position: right center;
  z-index: 1;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter var(--duration) var(--ease);
  filter: brightness(0.78) saturate(1.05);
}

/* Bottom darkening gradient for text legibility */
.triptych-pane::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(10, 45, 68, 0.18) 0%,
    rgba(10, 45, 68, 0.05) 35%,
    rgba(10, 45, 68, 0.55) 100%
  );
  pointer-events: none;
  transition: background var(--duration) var(--ease);
}

/* Right divider — subtle */
.triptych-pane:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 1px;
  background: rgba(248, 253, 255, 0.12);
  z-index: 4;
  pointer-events: none;
}

/* Content overlay — corner positioned
   Top padding (230px) clears the protruding logo (148+52=200px)
   AND keeps all 3 pane eyebrows aligned at the same y position */
.triptych-pane-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 230px 48px 64px;
  color: var(--wave-foam);
}

.triptych-pane-eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(248, 253, 255, 0.75);
}
.triptych-pane-eyebrow-num {
  display: inline-block;
  margin-right: 14px;
  color: var(--wave-foam);
  font-weight: 400;
}

.triptych-pane-title-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.triptych-pane-title {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--wave-foam);
}
.triptych-pane-title em {
  font-style: italic;
  font-weight: 400;
}

.triptych-pane-sub {
  font-family: var(--font-secondary);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(248, 253, 255, 0.78);
  max-width: 280px;
}

.triptych-pane-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-secondary);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wave-foam);
  margin-top: 8px;
  transition: gap var(--duration) var(--ease);
}
.triptych-pane-arrow svg {
  width: 24px; height: 12px;
  transition: transform var(--duration) var(--ease);
}

/* Hover state */
.triptych-pane:hover .triptych-pane-image {
  transform: scale(1.06);
  filter: brightness(0.88) saturate(1.1);
}
.triptych-pane:hover::before {
  background: linear-gradient(
    to bottom,
    rgba(10, 45, 68, 0.05) 0%,
    rgba(10, 45, 68, 0.0) 50%,
    rgba(10, 45, 68, 0.4) 100%
  );
}
.triptych-pane:hover .triptych-pane-arrow {
  gap: 18px;
}
.triptych-pane:hover .triptych-pane-arrow svg {
  transform: translateX(4px);
}

/* Mobile / tablet — stack vertically */
@media (max-width: 900px) {
  .triptych {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .triptych-pane {
    height: 70vh;
    min-height: 460px;
  }
  .triptych-pane:not(:last-child)::after {
    top: auto; bottom: 0;
    width: 100%; height: 1px;
  }
  /* Same top padding on every pane keeps eyebrows aligned (mobile)
     160px clears the mobile protruding logo (100+32=132px) */
  .triptych-pane-content {
    padding: 160px 28px 40px;
  }
  .home-nav {
    padding: 0 var(--space-sm);
    height: 72px;
  }
  .home-nav-logo-img {
    height: 78px !important;
    border-radius: 12px !important;
    margin-top: 22px !important;
  }
  .home-nav-logo-text {
    font-size: 0.9rem !important;
    margin-top: 24px !important;
  }
  .home-nav-right {
    gap: 18px;
  }
}

/* ============================================================
   HOMEPAGE — Manifesto Section (Marketing & Policy Direction)
   ============================================================ */
.manifesto {
  background: var(--wave-foam);
  padding: var(--space-2xl) 0;
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}
.manifesto-eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: var(--space-md);
  display: flex; align-items: center; gap: 14px;
}
.manifesto-eyebrow::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--rock-30);
}
.manifesto-title {
  font-family: var(--font-primary);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--deep-ocean);
}
.manifesto-title em { font-style: italic; }

.manifesto-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.manifesto-body p {
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--rock);
}
.manifesto-body p:first-child {
  font-size: 1.08rem;
  color: var(--deep-ocean);
  font-weight: 400;
}

.manifesto-pillars {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rock-10);
  border-top: 1px solid var(--rock-10);
  border-bottom: 1px solid var(--rock-10);
}
.manifesto-pillar {
  background: var(--wave-foam);
  padding: var(--space-md) var(--space-sm);
}
.manifesto-pillar-num {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--sunrise);
  letter-spacing: -0.02em;
}
.manifesto-pillar-title {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--deep-ocean);
  margin: 8px 0 12px;
  line-height: 1.15;
}
.manifesto-pillar-desc {
  font-family: var(--font-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--rock-60);
}

@media (max-width: 900px) {
  .manifesto { padding: var(--space-xl) 0; }
  .manifesto-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .manifesto-pillars {
    grid-template-columns: 1fr;
    gap: 1px;
  }
}

/* ============================================================
   HOMEPAGE — Quick Entry Doorway Section
   ============================================================ */
.doorways {
  background: var(--cool-sand);
  padding: var(--space-xl) 0 var(--space-2xl);
}
.doorways-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.doorways-heading {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--deep-ocean);
  margin-bottom: var(--space-lg);
  text-align: left;
  line-height: 1.1;
}
.doorways-heading em { font-style: italic; }

.doorways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.doorway-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  background: var(--wave-foam);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 14px var(--deep-ocean-06);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.doorway-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--deep-ocean-12);
}
.doorway-card-num {
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rock-60);
}
.doorway-card-title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--deep-ocean);
  margin: 14px 0 10px;
  letter-spacing: -0.01em;
}
.doorway-card-desc {
  font-family: var(--font-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--rock-60);
  margin-bottom: var(--space-md);
}
.doorway-card-arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sunrise);
  transition: gap var(--duration) var(--ease);
}
.doorway-card:hover .doorway-card-arrow { gap: 16px; }
.doorway-card-arrow svg {
  width: 20px; height: 10px;
}

@media (max-width: 900px) {
  .doorways { padding: var(--space-lg) 0 var(--space-xl); }
  .doorways-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* ============================================================
   HOMEPAGE — Footer (shared with sub-pages)
   ============================================================ */
.home-footer {
  background: var(--deep-ocean);
  color: var(--wave-foam);
  padding: var(--space-lg) 0 var(--space-md);
}
.home-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.home-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(248, 253, 255, 0.1);
  margin-bottom: var(--space-md);
}
.home-footer-brand {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--wave-foam);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.home-footer-tag {
  font-family: var(--font-secondary);
  font-size: 0.84rem;
  line-height: 1.6;
  color: rgba(248, 253, 255, 0.6);
  max-width: 280px;
}
.home-footer-col-title {
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.5);
  margin-bottom: 16px;
}
.home-footer-col a {
  display: block;
  font-family: var(--font-secondary);
  font-size: 0.88rem;
  color: rgba(248, 253, 255, 0.85);
  text-decoration: none;
  padding: 6px 0;
  transition: color var(--duration) var(--ease);
}
.home-footer-col a:hover { color: var(--wave-foam); }
.home-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  color: rgba(248, 253, 255, 0.45);
}
.home-footer-bottom a {
  color: rgba(248, 253, 255, 0.7);
  text-decoration: none;
  margin-left: var(--space-md);
}

@media (max-width: 900px) {
  .home-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .home-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .home-footer-bottom a { margin: 0 8px; }
}

/* ============================================================
   SUB-PAGE SHARED — Hero, Value Props, How-it-works, CTA Footer
   (used by commercial-cleaning.html, residential-cleaning.html)
   ============================================================ */
.sub-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background: var(--deep-ocean);
  color: var(--wave-foam);
  overflow: hidden;
  isolation: isolate;
  padding: 0;
}
.sub-hero-image {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Subjects framed right-of-centre — anchor right so the face is visible
     while the empty BG sits behind the eyebrow + title overlay on the left. */
  object-position: right center;
  z-index: 1;
  filter: brightness(0.65) saturate(1.05);
}
.sub-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(10, 45, 68, 0.22) 0%,
    rgba(10, 45, 68, 0.0) 30%,
    rgba(10, 45, 68, 0.7) 100%
  );
  pointer-events: none;
}
.sub-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
}
.sub-hero-eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 253, 255, 0.85);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 14px;
}
.sub-hero-eyebrow::before {
  content: ''; width: 40px; height: 1px;
  background: rgba(248, 253, 255, 0.45);
}
.sub-hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--wave-foam);
  margin-bottom: 24px;
  max-width: 820px;
}
.sub-hero-title em { font-style: italic; }
.sub-hero-sub {
  font-family: var(--font-secondary);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  color: rgba(248, 253, 255, 0.85);
  max-width: 640px;
  margin-bottom: var(--space-md);
}
.sub-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Value props 3-col */
.value-props {
  background: var(--wave-foam);
  padding: var(--space-2xl) 0;
}
.value-props-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rock-10);
  border-top: 1px solid var(--rock-10);
  border-bottom: 1px solid var(--rock-10);
}
.value-prop {
  background: var(--wave-foam);
  padding: var(--space-md) var(--space-sm);
}
.value-prop-num {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--sunrise);
  letter-spacing: -0.02em;
}
.value-prop-title {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--deep-ocean);
  margin: 6px 0 12px;
  line-height: 1.2;
}
.value-prop-desc {
  font-family: var(--font-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--rock-60);
}

/* How it works numbered list */
.how-works {
  background: var(--cool-sand);
  padding: var(--space-2xl) 0;
}
.how-works-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.how-works-eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: var(--space-md);
  display: flex; align-items: center; gap: 14px;
}
.how-works-eyebrow::before {
  content: ''; width: 36px; height: 1px;
  background: var(--rock-30);
}
.how-works-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--deep-ocean);
  margin-bottom: var(--space-lg);
  max-width: 700px;
}
.how-works-title em { font-style: italic; }
.how-works-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.how-works-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.how-works-step-num {
  font-family: var(--font-primary);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--sunrise);
  letter-spacing: -0.02em;
  line-height: 1;
}
.how-works-step-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--deep-ocean);
  line-height: 1.2;
}
.how-works-step-desc {
  font-family: var(--font-secondary);
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--rock-60);
}

/* Use cases / chips row */
.use-cases {
  background: var(--wave-foam);
  padding: var(--space-xl) 0;
}
.use-cases-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.use-cases-eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: 14px;
}
.use-cases-title {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 400;
  color: var(--deep-ocean);
  margin-bottom: var(--space-md);
}
.use-cases-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--rock-10);
  border-top: 1px solid var(--rock-10);
  border-bottom: 1px solid var(--rock-10);
}
.use-case-item {
  background: var(--wave-foam);
  padding: 22px 18px;
  font-family: var(--font-secondary);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--deep-ocean);
  display: flex; align-items: baseline; gap: 12px;
}
.use-case-item-bullet {
  color: var(--sunrise);
  font-family: var(--font-primary);
  font-size: 0.9rem;
}

/* Trust strip (residential) */
.trust-strip {
  background: var(--deep-ocean);
  color: var(--wave-foam);
  padding: var(--space-md) 0;
}
.trust-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-around;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-secondary);
  font-size: 0.92rem;
  color: rgba(248, 253, 255, 0.85);
}
.trust-item svg {
  flex-shrink: 0;
  color: var(--wave-foam);
  opacity: 0.85;
}

/* CTA footer band */
.cta-band {
  background: var(--deep-ocean);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-band-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  text-align: center;
}
.cta-band-eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(248, 253, 255, 0.55);
  margin-bottom: var(--space-sm);
}
.cta-band-title {
  font-family: var(--font-primary);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--wave-foam);
  margin-bottom: var(--space-md);
}
.cta-band-title em { font-style: italic; }
.cta-band-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .sub-hero { min-height: 78vh; }
  .sub-hero-content { padding: 0 var(--space-sm) var(--space-lg); }
  .value-props, .how-works, .use-cases { padding: var(--space-xl) 0; }
  .value-props-grid, .how-works-steps {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .how-works-steps { gap: var(--space-md); }
}

/* ============================================================
   MY PRICE — Public Calculator
   Editorial form layout, Natural Sequence palette only
   ============================================================ */
.mp-section {
  background: var(--wave-foam);
  padding: var(--space-2xl) 0;
}
.mp-section + .mp-section { padding-top: 0; }

.mp-section-intro {
  background: var(--cool-sand);
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
}
.mp-section-intro-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.mp-intro-eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 14px;
}
.mp-intro-eyebrow::before,
.mp-intro-eyebrow::after {
  content: '';
  width: 36px; height: 1px;
  background: var(--rock-30);
}
.mp-intro-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--deep-ocean);
  margin: 0 0 14px;
}
.mp-intro-title em { font-style: italic; }
.mp-intro-sub {
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--rock);
  max-width: 520px;
  margin: 0 auto;
}

.mp-calculator {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--space-md) 140px;
  background: var(--wave-foam);
}

.mp-block {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--rock-10);
}
.mp-block:last-child { border-bottom: none; }

.mp-section-eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sunrise);
  margin-bottom: 10px;
}
.mp-section-title {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--deep-ocean);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.mp-section-help {
  font-family: var(--font-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--rock-60);
  margin: 0 0 var(--space-md);
  max-width: 580px;
}

/* Counters (Quick Setup, Windows) */
.mp-counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.mp-counter {
  background: var(--cool-sand);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.mp-counter-label {
  font-family: var(--font-secondary);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--deep-ocean);
}
.mp-counter-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.mp-counter-btn {
  width: 32px; height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--wave-foam);
  color: var(--deep-ocean);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px var(--deep-ocean-12);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.mp-counter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px var(--deep-ocean-12);
}
.mp-counter-btn:active { transform: translateY(0); }
.mp-counter-num {
  min-width: 24px;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-ocean);
}

/* Pills (Service Type, Frequency, Coordination) */
.mp-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.mp-pill {
  text-align: left;
  background: var(--cool-sand);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  transition: background var(--duration) var(--ease), border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-secondary);
}
.mp-pill:hover {
  background: var(--wave-foam);
  box-shadow: 0 4px 14px var(--deep-ocean-06);
  transform: translateY(-1px);
}
.mp-pill.is-active {
  background: var(--deep-ocean);
  box-shadow: 0 8px 20px var(--deep-ocean-12);
}
.mp-pill-label {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--deep-ocean);
  letter-spacing: -0.005em;
}
.mp-pill.is-active .mp-pill-label { color: var(--wave-foam); }
.mp-pill-sub {
  font-size: 0.78rem;
  color: var(--rock-60);
  line-height: 1.4;
}
.mp-pill.is-active .mp-pill-sub { color: rgba(248,253,255,0.65); }
.mp-pill-meta {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--sunrise);
  margin-top: 2px;
}
.mp-pill.is-active .mp-pill-meta { color: var(--wave-foam); opacity: 0.7; }

/* Row list (Rooms, Add-ons) */
.mp-row-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mp-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--cool-sand);
  border-radius: var(--radius-md);
  transition: background var(--duration) var(--ease);
}
.mp-row.is-on { background: var(--wave-foam); box-shadow: inset 0 0 0 1px var(--deep-ocean-12); }
.mp-row-text { min-width: 0; }
.mp-row-label {
  font-family: var(--font-secondary);
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--deep-ocean);
}
.mp-row-sub {
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  color: var(--rock-60);
  margin-top: 2px;
}
.mp-row-price {
  font-family: var(--font-secondary);
  font-size: 0.86rem;
  color: var(--rock-60);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mp-row-spacer { width: 0; }

/* Toggle (Add-ons) */
.mp-toggle {
  width: 44px; height: 26px;
  border: none;
  border-radius: 13px;
  background: var(--rock-30);
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: background var(--duration) var(--ease);
}
.mp-toggle.is-on { background: var(--sunrise); }
.mp-toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--wave-foam);
  transition: transform var(--duration) var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.mp-toggle.is-on .mp-toggle-knob { transform: translateX(18px); }

/* End of Lease auto-checklist banner — sits above the EOL group when
   "End of Lease" service is selected. Uses Sunrise tint to signal it's
   an automatic, suggested set. */
.mp-eol-banner {
  background: var(--sunrise-15);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: inset 0 0 0 1px rgba(194, 58, 0, 0.20);
}
.mp-eol-banner-title {
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sunrise);
  margin-bottom: 6px;
}
.mp-eol-banner-sub {
  font-family: var(--font-secondary);
  font-size: 0.86rem;
  color: var(--rock);
  line-height: 1.5;
}

/* Custom items — customer-defined line items (name + qty + unit price).
   Two-row layout per item so name has full width and qty/price sit below
   on a tidier line. */
.mp-custom-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--space-sm);
}
.mp-custom-empty {
  padding: 18px;
  background: var(--cool-sand);
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-size: 0.86rem;
  color: var(--rock-60);
  text-align: center;
}
.mp-custom-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: var(--wave-foam);
  border-radius: var(--radius-md);
  box-shadow: inset 0 0 0 1px var(--deep-ocean-12);
}
.mp-custom-row-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}
.mp-custom-row-bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: end;
}
.mp-custom-name { padding: 12px 14px; font-size: 0.94rem; }
.mp-custom-mini-label {
  display: block;
  font-family: var(--font-secondary);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: 6px;
}
.mp-custom-qty-wrap { min-width: 0; }
.mp-custom-price-wrap { min-width: 0; }
.mp-custom-price-inputwrap {
  position: relative;
  display: flex;
  align-items: center;
}
.mp-custom-currency {
  position: absolute;
  left: 14px;
  font-family: var(--font-secondary);
  font-size: 0.94rem;
  color: var(--rock-60);
  pointer-events: none;
}
.mp-custom-price {
  padding: 12px 14px 12px 28px;
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
}
/* Hide the spinner buttons on number input — counter is handled by qty */
.mp-custom-price::-webkit-outer-spin-button,
.mp-custom-price::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.mp-custom-price { -moz-appearance: textfield; }

.mp-custom-remove {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--cool-sand);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--rock-60);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.mp-custom-remove:hover {
  background: var(--sunrise-15);
  color: var(--sunrise);
}

/* Narrow screens: stack the bottom row */
@media (max-width: 480px) {
  .mp-custom-row-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Coordination */
.mp-coord-group-title {
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-top: var(--space-md);
  margin-bottom: 10px;
}
.mp-coord-group-title:first-of-type { margin-top: 0; }

.mp-coord-notes { margin-top: var(--space-sm); }
.mp-coord-notes.is-hidden { display: none; }

.mp-field-label {
  display: block;
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: 8px;
}
.mp-input,
.mp-textarea {
  width: 100%;
  background: var(--cool-sand);
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-family: var(--font-secondary);
  font-size: 0.96rem;
  color: var(--deep-ocean);
  box-shadow: inset 0 1px 3px var(--deep-ocean-06);
  outline: none;
  transition: box-shadow var(--duration) var(--ease);
}
.mp-input:focus,
.mp-textarea:focus {
  box-shadow: inset 0 1px 3px var(--deep-ocean-12), 0 0 0 2px var(--sunrise-15);
}
.mp-textarea { resize: vertical; min-height: 80px; line-height: 1.5; }

.mp-action-row {
  margin-top: var(--space-md);
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   Custom Analog Clock Picker (replaces native time input)
   ============================================================ */
.mp-time-trigger {
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-secondary);
  font-size: 0.96rem;
  color: var(--deep-ocean);
}
.mp-time-trigger:hover { box-shadow: inset 0 1px 3px var(--deep-ocean-12); }
.mp-time-trigger svg { color: var(--rock-60); flex-shrink: 0; }
.mp-time-trigger #mp-c-time-display { color: var(--rock-60); }
.mp-time-trigger #mp-c-time-display:not(:empty)[data-set] { color: var(--deep-ocean); }

.mp-clock-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.mp-clock-modal.is-open { display: flex; }
.mp-clock-bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 45, 68, 0.55);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.mp-clock-card {
  position: relative;
  background: var(--wave-foam);
  border-radius: 20px;
  padding: 24px 24px 20px;
  width: 320px;
  max-width: 100%;
  box-shadow: 0 24px 48px rgba(10, 45, 68, 0.30);
}

/* Digital readout */
.mp-clock-readout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 18px;
}
.mp-clock-digit {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  background: transparent;
  border: none;
  color: var(--rock-60);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
  font-variant-numeric: tabular-nums;
}
.mp-clock-digit.is-active {
  color: var(--deep-ocean);
  background: var(--cool-sand);
}
.mp-clock-colon {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 300;
  color: var(--deep-ocean);
  line-height: 1;
}
/* Hint shown above the clock face — explains the dual-ring 24h layout */
.mp-clock-hint {
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--rock-60);
  margin: -4px 0 14px;
}

/* ── Address Autocomplete Dropdown ── */
.mp-autocomplete-wrap { position: relative; }
.mp-autocomplete { position: relative; }
.mp-autocomplete-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--wave-foam);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(10,45,68,0.18), 0 2px 6px rgba(10,45,68,0.08);
  max-height: 320px;
  overflow-y: auto;
  display: none;
  z-index: 60;
  padding: 6px;
}
.mp-autocomplete-list.is-open { display: block; }
.mp-addr-group {
  font-family: var(--font-secondary);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rock-60);
  padding: 8px 12px 4px;
}
.mp-autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-secondary);
  font-size: 0.92rem;
  color: var(--deep-ocean);
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease);
}
.mp-autocomplete-item:hover,
.mp-autocomplete-item:focus { background: var(--cool-sand); outline: none; }
.mp-autocomplete-item-icon {
  color: var(--sunrise);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mp-autocomplete-item-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-addr-loading {
  padding: 8px 12px;
  font-family: var(--font-secondary);
  font-size: 0.82rem;
  color: var(--rock-60);
  font-style: italic;
}
.mp-addr-hint {
  padding: 10px 12px;
  margin-bottom: 4px;
  background: var(--cool-sand);
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  color: var(--rock);
  line-height: 1.45;
}
.mp-addr-hint strong { color: var(--sunrise); font-weight: 700; }

/* ── Referral friend rows ─────────────────────────────── */
.mp-referral-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mp-referral-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 10px;
  align-items: center;
}
.mp-referral-num {
  font-family: var(--font-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sunrise);
}
.mp-referral-row .mp-input { padding: 12px 14px; font-size: 0.94rem; }

@media (max-width: 700px) {
  .mp-referral-row { grid-template-columns: 1fr; gap: 6px; }
  .mp-referral-num { font-size: 0.7rem; }
}

/* ── Custom Calendar Date Picker (matches clock picker style) ── */
.mp-date-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.mp-date-modal.is-open { display: flex; }
.mp-date-bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 45, 68, 0.55);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.mp-date-card {
  position: relative;
  background: var(--wave-foam);
  border-radius: 20px;
  padding: 22px 24px 18px;
  width: 340px;
  max-width: 100%;
  box-shadow: 0 24px 48px rgba(10, 45, 68, 0.30);
}

.mp-date-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.mp-date-month-year {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--deep-ocean);
  letter-spacing: -0.01em;
  flex: 1;
  text-align: center;
}
.mp-date-month-year em { font-style: italic; color: var(--sunrise); font-weight: 400; }
.mp-date-nav-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--cool-sand);
  color: var(--deep-ocean);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.mp-date-nav-btn:hover { background: var(--rock-10); transform: scale(1.06); }

.mp-date-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: 6px;
  padding: 6px 0;
}

.mp-date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}
.mp-date-cell {
  aspect-ratio: 1;
  background: transparent;
  border: none;
  border-radius: 50%;
  font-family: var(--font-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--deep-ocean);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.mp-date-cell:hover:not(:disabled):not(.mp-date-cell-empty) {
  background: var(--cool-sand);
}
.mp-date-cell.is-today {
  box-shadow: inset 0 0 0 1.5px var(--sunrise);
  color: var(--sunrise);
  font-weight: 600;
}
.mp-date-cell.is-sel {
  background: var(--sunrise);
  color: var(--wave-foam);
  box-shadow: 0 4px 12px rgba(194,58,0,0.30);
}
.mp-date-cell.is-sel.is-today { box-shadow: 0 4px 12px rgba(194,58,0,0.30); }
.mp-date-cell.is-past, .mp-date-cell:disabled {
  color: var(--rock-30);
  cursor: not-allowed;
}
.mp-date-cell.is-past:hover { background: transparent; }
.mp-date-cell-empty {
  pointer-events: none;
  background: transparent;
}

.mp-date-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--rock-10);
}
.mp-date-actions .mp-btn { padding: 10px 18px; font-size: 0.74rem; }
.mp-date-today-btn {
  background: transparent;
  border: none;
  font-family: var(--font-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock-60);
  cursor: pointer;
  padding: 8px 0;
  transition: color var(--duration) var(--ease);
}
.mp-date-today-btn:hover { color: var(--sunrise); }

@media (max-width: 360px) {
  .mp-date-card { width: 300px; padding: 16px 18px; }
  .mp-date-month-year { font-size: 1.3rem; }
  .mp-date-cell { font-size: 0.8rem; }
}

/* Clock face */
.mp-clock-face-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.mp-clock-face {
  width: 240px;
  height: 240px;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}
.mp-clock-rim {
  fill: var(--cool-sand);
  stroke: var(--rock-10);
  stroke-width: 1;
}
.mp-clock-mark {
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 500;
  fill: var(--rock);
  pointer-events: none;
}
.mp-clock-mark.is-sel { fill: var(--wave-foam); font-weight: 600; }
/* Inner-ring (13–23 + 00) marks are slightly smaller and muted */
.mp-clock-mark-inner {
  font-size: 10.5px;
  fill: var(--rock-60);
}
.mp-clock-mark-inner.is-sel { fill: var(--wave-foam); }
.mp-clock-hand {
  stroke: var(--sunrise);
  stroke-width: 2.5;
  stroke-linecap: round;
  pointer-events: none;
  transition: x2 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              y2 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mp-clock-tip {
  fill: var(--sunrise);
  pointer-events: none;
  transition: cx 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              cy 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mp-clock-tip-text {
  font-family: var(--font-secondary);
  font-size: 12px;
  font-weight: 700;
  fill: var(--wave-foam);
  pointer-events: none;
  transition: x 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              y 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mp-clock-pin { fill: var(--sunrise); pointer-events: none; }

.mp-clock-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.mp-clock-actions .mp-btn { padding: 10px 20px; font-size: 0.74rem; }

@media (max-width: 360px) {
  .mp-clock-card { width: 280px; padding: 18px; }
  .mp-clock-face { width: 220px; height: 220px; }
  .mp-clock-digit, .mp-clock-colon { font-size: 2.4rem; }
}

/* Inline contact form (section 09) */
.mp-inline-summary {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  padding: 16px 20px;
  background: var(--cool-sand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.mp-inline-summary-label {
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rock-60);
}
.mp-inline-summary-price {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--sunrise);
  letter-spacing: -0.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.mp-inline-summary-save {
  margin-left: auto;
  font-family: var(--font-secondary);
  font-size: 0.82rem;
  color: var(--sunrise);
  font-weight: 500;
}
.mp-inline-summary-empty {
  font-family: var(--font-secondary);
  font-size: 0.92rem;
  color: var(--rock-60);
  font-style: italic;
}
.mp-inline-actions {
  margin-top: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.mp-inline-actions .mp-btn-primary {
  flex: 1;
  min-width: 240px;
  padding: 16px 22px;
  font-size: 0.86rem;
}
.mp-inline-actions .mp-btn-ghost {
  padding: 14px 22px;
}

/* Calculator buttons */
.mp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.mp-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.mp-btn-primary {
  background: var(--sunrise);
  color: var(--wave-foam);
}
.mp-btn-primary:not(:disabled):hover {
  background: var(--sunrise-90);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(194,58,0,0.25);
}
.mp-btn-secondary {
  background: var(--deep-ocean);
  color: var(--wave-foam);
}
.mp-btn-secondary:hover {
  background: var(--deep-ocean-90);
  transform: translateY(-1px);
}
.mp-btn-ghost {
  background: transparent;
  color: var(--deep-ocean);
  box-shadow: inset 0 0 0 1px var(--rock-30);
}
.mp-btn-ghost:hover { background: var(--cool-sand); }

/* Estimate breakdown */
.mp-line-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-md);
}
.mp-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  font-family: var(--font-secondary);
  font-size: 0.92rem;
  color: var(--rock);
  border-bottom: 1px dashed var(--rock-10);
}
.mp-line-label { color: var(--rock); padding-right: 12px; }
.mp-line-price { color: var(--deep-ocean); font-weight: 600; font-variant-numeric: tabular-nums; }

.mp-totals {
  background: var(--cool-sand);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-family: var(--font-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mp-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--rock);
}
.mp-total-row span:last-child { font-variant-numeric: tabular-nums; }
.mp-total-row-disc { color: var(--sunrise); }
.mp-total-row-final {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--deep-ocean);
  border-top: 1px solid var(--rock-10);
  padding-top: 14px;
  margin-top: 6px;
}
.mp-save {
  text-align: right;
  font-size: 0.82rem;
  color: var(--sunrise);
  font-weight: 500;
}
.mp-empty {
  background: var(--cool-sand);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  font-family: var(--font-secondary);
  font-size: 0.94rem;
  color: var(--rock-60);
}

/* ============================================================
   Floating Sunrise Orb — primary price display
   ============================================================ */
.mp-orb {
  position: fixed;
  /* Safe-area inset: respects iOS home indicator + notch */
  bottom: max(28px, calc(env(safe-area-inset-bottom, 0px) + 20px));
  right:  max(28px, calc(env(safe-area-inset-right,  0px) + 20px));
  z-index: 95;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  border: none;
  background: var(--sunrise);
  color: var(--wave-foam);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  box-shadow:
    0 18px 38px rgba(194, 58, 0, 0.40),
    0 6px 16px rgba(194, 58, 0, 0.20),
    inset 0 -6px 14px rgba(0,0,0,0.06);
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease);
  outline: none;
}
.mp-orb:hover {
  transform: scale(1.04);
  box-shadow:
    0 22px 48px rgba(194, 58, 0, 0.45),
    0 8px 20px rgba(194, 58, 0, 0.25);
}
.mp-orb:active { transform: scale(0.98); }
.mp-orb:focus-visible {
  outline: 3px solid var(--wave-foam);
  outline-offset: 4px;
}

.mp-orb.is-empty {
  background: var(--deep-ocean);
  box-shadow:
    0 12px 28px rgba(10, 45, 68, 0.30),
    0 4px 10px rgba(10, 45, 68, 0.18);
  width: 116px;
  height: 116px;
  gap: 2px;
}
.mp-orb.is-empty:hover { transform: scale(1.06); }
/* In empty state we hide eyebrow + hint — single bold prompt only */
.mp-orb.is-empty .mp-orb-eyebrow,
.mp-orb.is-empty .mp-orb-hint { display: none; }

.mp-orb-eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-top: -4px;
}
.mp-orb-price {
  font-family: var(--font-primary);
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--wave-foam);
  font-variant-numeric: tabular-nums;
}
.mp-orb.is-empty .mp-orb-price {
  font-size: 0.92rem;
  font-family: var(--font-secondary);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 12px;
  line-height: 1.25;
}
.mp-orb-hint {
  font-family: var(--font-secondary);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-top: 2px;
  padding: 0 10px;
  text-align: center;
  line-height: 1.3;
}

/* Pulse animation when price changes */
@keyframes mp-orb-pulse {
  0%   { transform: scale(1);    box-shadow: 0 18px 38px rgba(194,58,0,0.40), 0 6px 16px rgba(194,58,0,0.20), inset 0 -6px 14px rgba(0,0,0,0.06); }
  35%  { transform: scale(1.10); box-shadow: 0 26px 54px rgba(194,58,0,0.55), 0 10px 24px rgba(194,58,0,0.32), 0 0 0 12px rgba(194,58,0,0.12); }
  100% { transform: scale(1);    box-shadow: 0 18px 38px rgba(194,58,0,0.40), 0 6px 16px rgba(194,58,0,0.20), inset 0 -6px 14px rgba(0,0,0,0.06); }
}
.mp-orb.is-pulse { animation: mp-orb-pulse 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* Floating delta indicator (+$X / -$X) */
.mp-orb-delta {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 12px;
  border-radius: 14px;
  background: var(--deep-ocean);
  color: var(--wave-foam);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 6px 14px rgba(10,45,68,0.30);
  transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.mp-orb-delta.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
.mp-orb-delta.is-up   { background: var(--sunrise); }
.mp-orb-delta.is-down { background: var(--deep-ocean); }

@media (max-width: 700px) {
  .mp-orb {
    bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 16px));
    right:  max(16px, calc(env(safe-area-inset-right,  0px) + 12px));
    width: 120px;
    height: 120px;
  }
  .mp-orb.is-empty { width: 96px; height: 96px; }
  .mp-orb-price { font-size: 1.7rem; }
  .mp-orb.is-empty .mp-orb-price { font-size: 0.78rem; padding: 0 8px; }
  .mp-orb-eyebrow { font-size: 0.54rem; margin-top: 0; }
  .mp-orb-hint { font-size: 0.56rem; padding: 0 8px; line-height: 1.2; }
}

/* Ultra-narrow phones (< 360px) — even more compact */
@media (max-width: 360px) {
  .mp-orb { width: 108px; height: 108px; }
  .mp-orb.is-empty { width: 90px; height: 90px; }
  .mp-orb-price { font-size: 1.5rem; }
  .mp-orb.is-empty .mp-orb-price { font-size: 0.72rem; }
}

/* ============================================================
   Summary list — selection items without prices
   ============================================================ */
.mp-summary-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mp-summary-line {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  font-family: var(--font-secondary);
  font-size: 0.96rem;
  color: var(--deep-ocean);
}
.mp-summary-bullet {
  color: var(--sunrise);
  font-family: var(--font-primary);
  font-weight: 500;
}
.mp-summary-label {
  color: var(--rock);
  line-height: 1.5;
}

/* Modal: contact form */
.mp-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.mp-modal.is-open { display: flex; }
.mp-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(10,45,68,0.55);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.mp-modal-content {
  position: relative;
  background: var(--wave-foam);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(10,45,68,0.30);
}
.mp-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--rock);
  font-size: 1.4rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mp-modal-close:hover { background: var(--cool-sand); }
.mp-modal-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--deep-ocean);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.mp-modal-sub {
  font-family: var(--font-secondary);
  font-size: 0.92rem;
  color: var(--rock-60);
  margin: 0 0 var(--space-md);
}
.mp-modal-final {
  font-family: var(--font-primary);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--sunrise);
  letter-spacing: -0.02em;
  line-height: 1;
}
.mp-modal-form .mp-field { margin-bottom: 14px; }
.mp-modal-form .mp-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mp-modal-form .mp-btn { width: 100%; padding: 14px; margin-top: 10px; }

/* Modal: success */
.mp-success {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(10,45,68,0.65);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.mp-success.is-open { display: flex; }
.mp-success-card {
  background: var(--wave-foam);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  max-width: 440px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(10,45,68,0.30);
}
.mp-success-check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sunrise);
  color: var(--wave-foam);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}
.mp-success-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--deep-ocean);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.mp-success-sub {
  font-family: var(--font-secondary);
  font-size: 0.96rem;
  color: var(--rock-60);
  line-height: 1.6;
  margin: 0 0 var(--space-md);
}
.mp-success-final {
  font-family: var(--font-primary);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--sunrise);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-md);
}

/* Toast */
.mp-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--deep-ocean);
  color: var(--wave-foam);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-size: 0.88rem;
  z-index: 220;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
  box-shadow: 0 8px 24px rgba(10,45,68,0.30);
}
.mp-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Mobile adjustments */
@media (max-width: 700px) {
  .mp-counter-grid { grid-template-columns: 1fr; }
  .mp-pill-grid    { grid-template-columns: repeat(2, 1fr); }
  .mp-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .mp-row .mp-counter-controls { justify-self: end; }
  .mp-row-spacer { display: none; }
  .mp-modal-form .mp-row-2 { grid-template-columns: 1fr; }
  .mp-calculator { padding-bottom: 160px; }
}

/* ============================================================
   ADMIN — Quote Requests
   ============================================================ */

/* Nav badge for new quotes count */
.admin-nav-badge {
  display: inline-block;
  background: var(--sunrise);
  color: var(--wave-foam);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 8px;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

/* Filter chips */
.quote-chip {
  background: transparent;
  border: 1px solid var(--rock-30);
  color: var(--rock);
  padding: 6px 14px;
  border-radius: 16px;
  font-family: var(--font-secondary);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.quote-chip:hover { background: var(--cool-sand); }
.quote-chip.is-active {
  background: var(--deep-ocean);
  color: var(--wave-foam);
  border-color: var(--deep-ocean);
}

/* Quote list */
.quotes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote-card {
  background: var(--wave-foam);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 2px 10px var(--deep-ocean-06);
  cursor: pointer;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.quote-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--deep-ocean-12);
}
.quote-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.quote-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.qbadge {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.qbadge-sunrise   { background: var(--sunrise);     color: var(--wave-foam); }
.qbadge-ocean     { background: var(--deep-ocean);  color: var(--wave-foam); }
.qbadge-tree      { background: #2F4B42;            color: var(--wave-foam); }
.qbadge-rock      { background: var(--rock);        color: var(--wave-foam); }
.qbadge-rock-muted{ background: var(--rock-30);     color: var(--deep-ocean); }
.quote-date {
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  color: var(--rock-60);
  letter-spacing: 0.04em;
}
.quote-card-price {
  font-family: var(--font-primary);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--sunrise);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.quote-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.quote-name {
  font-family: var(--font-secondary);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--deep-ocean);
}
.quote-contact, .quote-address, .quote-svc {
  font-family: var(--font-secondary);
  font-size: 0.86rem;
  color: var(--rock);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.quote-contact a {
  color: var(--deep-ocean);
  text-decoration: none;
  font-weight: 500;
}
.quote-contact a:hover { text-decoration: underline; }
.quote-address { color: var(--rock-60); font-size: 0.82rem; }
.quote-svc { color: var(--rock-60); font-size: 0.78rem; letter-spacing: 0.04em; }
.quote-svc span:first-child { color: var(--deep-ocean); font-weight: 500; }
.muted { color: var(--rock-30); }

.quote-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.qbtn {
  background: var(--deep-ocean);
  color: var(--wave-foam);
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.qbtn:hover { background: var(--deep-ocean-90); transform: translateY(-1px); }
.qbtn-primary { background: var(--sunrise); }
.qbtn-primary:hover { background: var(--sunrise-90); }
.qbtn-ghost {
  background: transparent;
  color: var(--rock);
  box-shadow: inset 0 0 0 1px var(--rock-30);
}
.qbtn-ghost:hover { background: var(--cool-sand); color: var(--deep-ocean); }

/* Quote detail modal */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.quote-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(10,45,68,0.55);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.quote-modal-content {
  position: relative;
  background: var(--wave-foam);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(10,45,68,0.30);
}
.quote-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--rock);
  border-radius: 50%;
}
.quote-modal-close:hover { background: var(--cool-sand); }
.quote-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rock-10);
  margin-bottom: 18px;
}
.quote-modal-eyebrow {
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: 6px;
}
.quote-modal-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--deep-ocean);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.quote-modal-contact {
  font-family: var(--font-secondary);
  font-size: 0.94rem;
  color: var(--rock);
  margin-bottom: 4px;
}
.quote-modal-contact a {
  color: var(--deep-ocean);
  text-decoration: none;
  font-weight: 500;
}
.quote-modal-addr {
  font-family: var(--font-secondary);
  font-size: 0.86rem;
  color: var(--rock-60);
}
.quote-modal-final {
  font-family: var(--font-primary);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--sunrise);
  letter-spacing: -0.02em;
  line-height: 1;
}

.quote-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
.quote-modal-cell {
  background: var(--cool-sand);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.quote-modal-cell-label {
  font-family: var(--font-secondary);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: 4px;
}
.quote-modal-cell-val {
  font-family: var(--font-secondary);
  font-size: 0.94rem;
  color: var(--deep-ocean);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.quote-modal-section { margin-bottom: 16px; }
.quote-modal-label {
  font-family: var(--font-secondary);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rock-60);
  margin-bottom: 6px;
}
.quote-modal-text {
  font-family: var(--font-secondary);
  font-size: 0.94rem;
  color: var(--deep-ocean);
  line-height: 1.55;
}
.quote-textarea {
  width: 100%;
  background: var(--cool-sand);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-secondary);
  font-size: 0.94rem;
  color: var(--deep-ocean);
  resize: vertical;
  min-height: 70px;
  outline: none;
}
.quote-textarea:focus { box-shadow: inset 0 0 0 2px var(--sunrise-15); }

.quote-modal-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rock-10);
}
.quote-status-picker {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.quote-status-btn {
  background: var(--cool-sand);
  color: var(--rock);
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.quote-status-btn:hover { background: var(--rock-10); }
.quote-status-btn.is-active {
  background: var(--deep-ocean);
  color: var(--wave-foam);
}

@media (max-width: 700px) {
  .quote-card-head { flex-direction: column; gap: 8px; }
  .quote-modal-head { flex-direction: column; gap: 12px; }
  .quote-modal-final { font-size: 2rem; }
  .quote-modal-grid { grid-template-columns: 1fr 1fr; }
  .quote-modal-content { padding: 22px 18px; }
}




/* ===== The Book — nav cover icon + floating cover popup (added 2026-06-22) ===== */
.book-nav-link{display:inline-flex;align-items:center;gap:7px}
.book-nav-link img{height:22px;width:auto;border-radius:2px;box-shadow:0 1px 4px rgba(10,45,68,.4);display:block}
.book-fab{position:fixed;left:22px;bottom:22px;z-index:1200;animation:bookFabFloat 4.5s ease-in-out infinite}
.book-fab a{display:flex;flex-direction:column;align-items:center;gap:7px;text-decoration:none}
.book-fab img{width:82px;height:auto;border-radius:5px;box-shadow:0 16px 34px -10px rgba(10,45,68,.55),0 4px 12px rgba(10,45,68,.3);transition:transform .25s ease,box-shadow .25s ease}
.book-fab a:hover img{transform:translateY(-5px) scale(1.04);box-shadow:0 24px 46px -12px rgba(10,45,68,.6)}
.book-fab-label{font-family:var(--font-secondary);font-size:.58rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--deep-ocean);background:var(--wave-foam);padding:4px 9px;border-radius:999px;box-shadow:0 2px 8px rgba(10,45,68,.22)}
.book-fab-close{position:absolute;top:-9px;right:-9px;width:21px;height:21px;border-radius:50%;background:var(--deep-ocean);color:var(--wave-foam);border:none;cursor:pointer;font-size:13px;line-height:21px;text-align:center;padding:0;box-shadow:0 2px 6px rgba(10,45,68,.4)}
.book-fab-close:hover{background:var(--sunrise)}
@keyframes bookFabFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media (max-width:600px){.book-fab img{width:62px}.book-fab{left:14px;bottom:14px}}
