/* ============================================================
   WE CLEANER — Design System
   APERSON Natural Color Palette — Strict Application
   Luxury Editorial Minimal Aesthetic
   No emoji, no green, no off-palette colors
   ============================================================ */

/* ——— 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 */
  --deep-ocean:     #0A2D44;
  --wave-foam:      #F8FDFF;
  --cool-sand:      #F0EFEB;
  --rock:           #3E4953;
  --sunrise:        #C23A00;

  /* 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: space-between;
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  overflow: visible; /* allow logo 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);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Anchor so the logo can overflow downward */
  position: relative;
  z-index: 101;
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
}

.nav-logo-img {
  /* Overflows the 96px nav — protrudes ~50px into hero */
  height: 148px;
  width: auto;
  border-radius: 20px;
  display: block;
  object-fit: contain;
  transition: opacity var(--duration) var(--ease);
  /* Elevated shadow to pop above content */
  filter:
    drop-shadow(0 8px 24px rgba(10, 45, 68, 0.30))
    drop-shadow(0 2px 8px rgba(10, 45, 68, 0.18));
  /* Push downward so ~50px overlap hero section */
  margin-top: 52px;
  position: relative;
  z-index: 102;
}

.nav-logo-img:hover {
  opacity: 0.85;
}

.nav-logo-wordmark {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-ocean);
  line-height: 1;
  white-space: nowrap;
  margin-top: 38px; /* align baseline with overflowed logo */
}

.nav-logo-text {
  font-family: var(--font-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--deep-ocean);
}

.nav-logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rock-60);
  display: block;
  margin-top: -3px;
}

.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);
}

/* ——— 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;
}

/* ——— 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: 999;
  transition: transform var(--duration) var(--ease);
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ——— 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 {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--deep-ocean);
  padding: var(--space-md);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 240px;
  overflow-y: auto;
  z-index: 50;
}

.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: 1024px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 7rem;
  }

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

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

  .hero-visual {
    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-links {
    display: none;
  }

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

  /* ── 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;
  }
}

