/* ============================================
   Switchgear — Design System CSS
   Replaces Tailwind CDN entirely.
   Single source of truth for all typography,
   colour, spacing, and layout utilities.
   ============================================ */

/* ── Google Fonts ───────────────────────────── */
/* @import removed — all HTML pages load fonts via direct <link> tags
   to eliminate the CSS @import waterfall that delays font loading. */

/* ── Design Tokens ──────────────────────────── */
:root {
  /* Palette */
  --sw-offwhite:      #F9F7F4;
  --sw-white:         #FFFFFF;
  --sw-charcoal:      #2B2B2B;
  --sw-coral:         #E06852;
  --sw-coral-hover:   #c85a46;
  --sw-coral-light:   rgba(224,104,82,0.10);
  --sw-sand:          #D4A574;
  --sw-taupe:         #A8A096;
  --sw-cream:         #FEF5E7;
  --sw-deep:          #1A3A52;

  /* Typography */
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', 'SF Mono', 'Fira Code', monospace;

  /* Border Radius */
  --radius-sm:   0.375rem;
  --radius:      0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.25rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.14);
}

/* ── Defensive Font Reset ──────────────────────
   Nuclear override: ensures NO element can fall
   back to serif or any non-Inter font.
   Must come before all other rules.
   ──────────────────────────────────────────── */
*, *::before, *::after {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  font-display: swap;
}
/* Mono elements: financial numbers and code */
.mono, .font-mono, code, pre,
[data-font="mono"],
[data-value], .stat-value,
.financial-number, .monthly-take-home,
.surplus, .cost-amount, .rent-amount,
.tax-amount {
  font-family: 'IBM Plex Mono', 'SF Mono', 'Fira Code', monospace !important;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--sw-charcoal);
  background: var(--sw-offwhite);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY — Font Family Rules ─────────── */
/* Body / editorial text — !important to override the defensive * reset */
p, li, td, dd, dt, blockquote, figcaption,
.font-body {
  font-family: var(--font-body) !important;
}

/* UI / headings — !important to override the defensive * reset */
h1, h2, h3, h4, h5, h6,
nav, nav a, nav button,
button, input, select, label, textarea,
.font-display {
  font-family: var(--font-display) !important;
}

/* Monospace / financial — !important to override the defensive * reset */
.font-mono, code, pre,
[data-value], .stat-value,
.financial-number, .monthly-take-home,
.surplus, .cost-amount, .rent-amount,
.tax-amount {
  font-family: var(--font-mono) !important;
}

/* ── FONT WEIGHT UTILITIES ───────────────────  */
.font-light    { font-weight: 300; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }

/* ── FONT SIZE UTILITIES ─────────────────────  */
.text-xs   { font-size: 0.75rem;   line-height: 1rem; }
.text-sm   { font-size: 0.875rem;  line-height: 1.25rem; }
.text-base { font-size: 1rem;      line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem;  line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem;   line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem;    line-height: 2rem; }
.text-3xl  { font-size: 1.875rem;  line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem;   line-height: 2.5rem; }

/* ── TEXT ALIGNMENT ──────────────────────────  */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ── LINE HEIGHT ─────────────────────────────  */
.leading-none    { line-height: 1; }
.leading-tight   { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* ── TRACKING ────────────────────────────────  */
.tracking-tight { letter-spacing: -0.025em; }

/* ── TEXT DECORATION ─────────────────────────  */
.underline       { text-decoration: underline; }
.no-underline    { text-decoration: none; }
.list-none       { list-style: none; }

/* ── ANTIALIASED ─────────────────────────────  */
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── COLOUR — Text ───────────────────────────  */
.text-sw-charcoal { color: var(--sw-charcoal); }
.text-sw-coral    { color: var(--sw-coral); }
.text-sw-sand     { color: var(--sw-sand); }
.text-sw-taupe    { color: var(--sw-taupe); }
.text-sw-deep     { color: var(--sw-deep); }
.text-white       { color: #FFFFFF; }
.text-white\/50   { color: rgba(255,255,255,0.50); }
.text-white\/65   { color: rgba(255,255,255,0.65); }
.text-white\/75   { color: rgba(255,255,255,0.75); }
.text-white\/80   { color: rgba(255,255,255,0.80); }
.text-sw-sand\/50 { color: rgba(212,165,116,0.50); }
.text-sw-sand\/60 { color: rgba(212,165,116,0.60); }
.text-sw-sand\/70 { color: rgba(212,165,116,0.70); }
.text-sw-sand\/80 { color: rgba(212,165,116,0.80); }

/* ── COLOUR — Background ─────────────────────  */
.bg-sw-offwhite    { background-color: var(--sw-offwhite); }
.bg-sw-charcoal    { background-color: var(--sw-charcoal); }
.bg-sw-coral       { background-color: var(--sw-coral); }
.bg-sw-coral-hover { background-color: var(--sw-coral-hover); }
.bg-sw-cream       { background-color: var(--sw-cream); }
.bg-sw-deep        { background-color: var(--sw-deep); }
.bg-sw-sand        { background-color: var(--sw-sand); }
.bg-white          { background-color: #FFFFFF; }
.bg-white\/8       { background-color: rgba(255,255,255,0.08); }
.bg-white\/12      { background-color: rgba(255,255,255,0.12); }
.bg-white\/60      { background-color: rgba(255,255,255,0.60); }

/* Arbitrary bg values used in HTML */
.\[bg-\#F9F7F4\]\/90,
.bg-\[\#F9F7F4\]\/90 { background-color: rgba(249,247,244,0.90); }

/* ── BORDERS ─────────────────────────────────  */
.border   { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-x {
  border-left-width: 1px; border-left-style: solid;
  border-right-width: 1px; border-right-style: solid;
}
.border-sw-sand\/10  { border-color: rgba(212,165,116,0.10); }
.border-sw-sand\/15  { border-color: rgba(212,165,116,0.15); }
.border-sw-sand\/20  { border-color: rgba(212,165,116,0.20); }
.border-sw-sand\/25  { border-color: rgba(212,165,116,0.25); }
.border-sw-coral\/20 { border-color: rgba(224,104,82,0.20); }

/* ── BORDER RADIUS ───────────────────────────  */
.rounded-sm   { border-radius: var(--radius-sm); }
.rounded      { border-radius: var(--radius); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-xl   { border-radius: var(--radius-xl); }
.rounded-2xl  { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ── SHADOWS ─────────────────────────────────  */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow    { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-sw-coral\/20 { box-shadow: 0 4px 14px rgba(224,104,82,0.20); }

/* ── DISPLAY ─────────────────────────────────  */
.block        { display: block; }
.inline-block { display: inline-block; }
.inline-flex  { display: inline-flex; }
.flex         { display: flex; }
.grid         { display: grid; }
.hidden       { display: none; }

/* ── FLEX ────────────────────────────────────  */
.flex-col    { flex-direction: column; }
.flex-wrap   { flex-wrap: wrap; }
.flex-1      { flex: 1 1 0%; }
.items-center  { align-items: center; }
.items-start   { align-items: flex-start; }
.items-end     { align-items: flex-end; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end     { justify-content: flex-end; }

/* ── GRID ────────────────────────────────────  */
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }

/* ── GAP ─────────────────────────────────────  */
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* ── POSITION ────────────────────────────────  */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.sticky   { position: sticky; }
.inset-0  { inset: 0; }
.top-0    { top: 0; }

/* ── Z-INDEX ─────────────────────────────────  */
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ── OVERFLOW ────────────────────────────────  */
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* ── SIZING ──────────────────────────────────  */
.w-full { width: 100%; }
.w-2    { width: 0.5rem; }
.w-4    { width: 1rem; }
.w-5    { width: 1.25rem; }
.w-6    { width: 1.5rem; }
.w-14   { width: 3.5rem; }
.w-20   { width: 5rem; }
.h-2    { height: 0.5rem; }
.h-3    { height: 0.75rem; }
.h-4    { height: 1rem; }
.h-5    { height: 1.25rem; }
.h-6    { height: 1.5rem; }
.h-16   { height: 4rem; }
.h-full { height: 100%; }
.h-64   { height: 16rem; }
.min-h-screen { min-height: 100vh; }

/* ── MAX WIDTH ───────────────────────────────  */
.max-w-lg  { max-width: 32rem; }
.max-w-md  { max-width: 28rem; }
.max-w-xl  { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }

/* ── MARGIN ──────────────────────────────────  */
.mx-auto    { margin-left: auto; margin-right: auto; }
.mt-0\.5    { margin-top: 0.125rem; }
.mt-1       { margin-top: 0.25rem; }
.mt-3       { margin-top: 0.75rem; }
.mt-4       { margin-top: 1rem; }
.mt-6       { margin-top: 1.5rem; }
.mt-8       { margin-top: 2rem; }
.mb-1       { margin-bottom: 0.25rem; }
.mb-2       { margin-bottom: 0.5rem; }
.mb-3       { margin-bottom: 0.75rem; }
.mb-4       { margin-bottom: 1rem; }
.mb-5       { margin-bottom: 1.25rem; }
.mb-6       { margin-bottom: 1.5rem; }
.mb-8       { margin-bottom: 2rem; }
.mb-10      { margin-bottom: 2.5rem; }
.mb-12      { margin-bottom: 3rem; }
.mb-16      { margin-bottom: 4rem; }

/* ── PADDING ─────────────────────────────────  */
.p-3   { padding: 0.75rem; }
.p-4   { padding: 1rem; }
.p-5   { padding: 1.25rem; }
.p-6   { padding: 1.5rem; }
.p-8   { padding: 2rem; }
.px-3  { padding-left: 0.75rem;  padding-right: 0.75rem; }
.px-4  { padding-left: 1rem;     padding-right: 1rem; }
.px-5  { padding-left: 1.25rem;  padding-right: 1.25rem; }
.px-6  { padding-left: 1.5rem;   padding-right: 1.5rem; }
.px-8  { padding-left: 2rem;     padding-right: 2rem; }
.px-10 { padding-left: 2.5rem;   padding-right: 2.5rem; }
.py-1  { padding-top: 0.25rem;   padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2  { padding-top: 0.5rem;    padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3  { padding-top: 0.75rem;   padding-bottom: 0.75rem; }
.py-4  { padding-top: 1rem;      padding-bottom: 1rem; }
.py-5  { padding-top: 1.25rem;   padding-bottom: 1.25rem; }
.py-10 { padding-top: 2.5rem;    padding-bottom: 2.5rem; }
.py-16 { padding-top: 4rem;      padding-bottom: 4rem; }
.py-20 { padding-top: 5rem;      padding-bottom: 5rem; }
.py-24 { padding-top: 6rem;      padding-bottom: 6rem; }
.py-32 { padding-top: 8rem;      padding-bottom: 8rem; }
.pb-6  { padding-bottom: 1.5rem; }
.pb-16 { padding-bottom: 4rem; }
.pt-4  { padding-top: 1rem; }
.pt-32 { padding-top: 8rem; }

/* ── SPACE BETWEEN ───────────────────────────  */
.space-y-2\.5 > * + * { margin-top: 0.625rem; }
.space-y-3    > * + * { margin-top: 0.75rem; }
.space-y-4    > * + * { margin-top: 1rem; }

/* ── CURSOR ──────────────────────────────────  */
.cursor-pointer { cursor: pointer; }
.cursor-help    { cursor: help; }

/* ── TRANSITIONS ─────────────────────────────  */
.transition-all       { transition: all 0.2s ease; }
.transition-colors    { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-transform { transition: transform 0.2s ease; }

/* ── TRANSFORMS ──────────────────────────────  */
.rotate-45            { transform: rotate(45deg); }

/* ── OBJECT FIT ──────────────────────────────  */
.object-cover { object-fit: cover; }

/* ── POINTER EVENTS ──────────────────────────  */
.pointer-events-none { pointer-events: none; }

/* ── ORDER ───────────────────────────────────  */
.order-1 { order: 1; }
.order-2 { order: 2; }

/* ── BACKDROP BLUR ───────────────────────────  */
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* ── GRADIENT BACKGROUNDS ────────────────────  */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to)); }
/* For the arbitrary gradient in index.html final CTA */
.from-\[\#2B2B2B\]\/90 { --tw-gradient-from: rgba(43,43,43,0.90); }
.to-\[\#1A3A52\]\/80   { --tw-gradient-to:   rgba(26,58,82,0.80); }

/* ── GROUP HOVER ─────────────────────────────  */
/* Used by FAQ details/summary pattern */
.group-open\:rotate-45 { /* applied via JS or details[open] */ }
details[open] .group-open\:rotate-45 { transform: rotate(45deg); }

/* ── HOVER UTILITIES ─────────────────────────  */
.hover\:text-sw-charcoal:hover  { color: var(--sw-charcoal); }
.hover\:text-sw-coral:hover     { color: var(--sw-coral); }
.hover\:text-sw-coral-hover:hover { color: var(--sw-coral-hover); }
.hover\:text-white:hover        { color: #FFFFFF; }
.hover\:bg-sw-coral-hover:hover { background-color: var(--sw-coral-hover); }
.hover\:bg-white\/5:hover       { background-color: rgba(255,255,255,0.05); }
.hover\:shadow-lg:hover         { box-shadow: var(--shadow-lg); }
.hover\:shadow-sw-coral\/25:hover { box-shadow: 0 8px 24px rgba(224,104,82,0.25); }
.hover\:underline:hover         { text-decoration: underline; }
.hover\:-translate-y-px:hover   { transform: translateY(-1px); }

/* ── RESPONSIVE BREAKPOINTS ──────────────────  */
/* Mobile-first: sm = 640px, md = 768px, lg = 1024px */

@media (min-width: 640px) {
  .sm\:block      { display: block; }
  .sm\:flex-row   { flex-direction: row; }
  .sm\:text-center { text-align: center; }
  .sm\:text-xl    { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-4xl   { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl   { font-size: 3rem;    line-height: 1; }
  .sm\:px-6       { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:py-28      { padding-top: 7rem;  padding-bottom: 7rem; }
  .sm\:py-32      { padding-top: 8rem;  padding-bottom: 8rem; }
  .sm\:py-36      { padding-top: 9rem;  padding-bottom: 9rem; }
  .sm\:py-40      { padding-top: 10rem; padding-bottom: 10rem; }
  .sm\:h-80       { height: 20rem; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (min-width: 1024px) {
  .lg\:col-span-2      { grid-column: span 2 / span 2; }
  .lg\:col-span-3      { grid-column: span 3 / span 3; }
  .lg\:grid-cols-5     { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .lg\:text-5xl        { font-size: 3rem; line-height: 1; }
  .lg\:gap-16          { gap: 4rem; }
  .lg\:order-1         { order: 1; }
  .lg\:order-2         { order: 2; }
  .lg\:h-96            { height: 24rem; }
  /* Arbitrary font-size for hero h1 */
  .lg\:text-\[4\.25rem\] { font-size: 4.25rem; }
}

/* ── LEADING ARBITRARY ───────────────────────  */
.leading-\[1\.08\] { line-height: 1.08; }

/* ============================================
   SWITCHGEAR COMPONENT CLASSES
   (named classes used in HTML)
   ============================================ */

/* Navigation */
nav.sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249,247,244,0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,165,116,0.15);
}

/* Hero photo section — content centered, not bottom-aligned.
   Previous bottom-alignment created a large perceived gap at top. */
.hero-photo {
  position: relative;
  min-height: 85vh;
  background-image: url('https://images.unsplash.com/photo-1553075866-cc2ae9edc813?w=1920&q=80&fit=crop');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-bottom: 4rem;
  padding-top: 6rem;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43,43,43,0.85) 0%, rgba(26,58,82,0.6) 50%, rgba(43,43,43,0.3) 100%);
}

/* Preview card glass */
.preview-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212,165,116,0.15);
  border-radius: var(--radius-2xl);
}

/* Editorial image */
.editorial-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Pull quote */
.pull-quote {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--sw-charcoal);
}

/* City pill */
.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-display);
  border: 1px solid rgba(212,165,116,0.15);
  cursor: pointer;
  transition: all 0.15s;
}
.city-pill.active {
  background: rgba(224,104,82,0.2);
  border-color: rgba(224,104,82,0.4);
}
.city-pill:hover {
  background: rgba(224,104,82,0.15);
}

/* Range slider */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(212,165,116,0.25);
  outline: none;
  cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sw-coral);
  cursor: pointer;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(224,104,82,0.35);
}
input[type=range]::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    var(--sw-coral) var(--range-progress, 23%),
    rgba(212,165,116,0.25) var(--range-progress, 23%)
  );
  height: 6px;
  border-radius: 3px;
}
input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sw-coral);
  cursor: pointer;
  border: 3px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(224,104,82,0.35);
  border: none;
}
input[type=range]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(224,104,82,0.2);
}

/* Step number */
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  font-family: var(--font-display);
}

/* Card lift on hover */
.card-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* ── ANIMATIONS ──────────────────────────────  */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-24px); }
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes pulse-soft-anim {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}
@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in          { animation: fadeInUp 0.6s ease-out forwards; }
.fade-in-delay-1  { animation: fadeInUp 0.6s 0.1s ease-out both; }
.fade-in-delay-2  { animation: fadeInUp 0.6s 0.2s ease-out both; }
.fade-in-delay-3  { animation: fadeInUp 0.6s 0.3s ease-out both; }
.pulse-soft       { animation: pulse-soft-anim 2s infinite; }

.skeleton {
  background: linear-gradient(90deg, #F9F7F4 25%, rgba(212,165,116,0.2) 50%, #F9F7F4 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

/* ── CALCULATOR — Component Classes ──────────  */

/* Wizard steps */
.wizard-step {
  display: none;
  animation: slideInRight 0.3s ease-out;
}
.wizard-step.active { display: block; }
.wizard-step.slide-out { animation: slideOutLeft 0.25s ease-in; }

/* Toggle option */
.toggle-option {
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-display);
}
.toggle-option.selected {
  background: var(--sw-coral);
  color: white;
  border-color: var(--sw-coral);
}

/* Result column */
.result-col {
  border-radius: 20px;
  overflow: hidden;
}

/* Progress step */
.progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-display);
  transition: all 0.3s;
}
.progress-step.done    { background: var(--sw-deep); color: #FFFFFF; }
.progress-step.active  { background: var(--sw-coral); color: #FFFFFF; box-shadow: 0 0 0 4px rgba(224,104,82,0.15); }
.progress-step.pending { background: rgba(212,165,116,0.2); color: var(--sw-taupe); }

.progress-connector {
  flex: 1;
  height: 2px;
  background: rgba(212,165,116,0.2);
  transition: background 0.3s;
}
.progress-connector.done { background: var(--sw-deep); }

/* Tooltip */
.tooltip-trigger { position: relative; cursor: help; }
.tooltip-content {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--sw-charcoal);
  color: #FFFFFF;
  font-size: 12px;
  font-family: var(--font-display);
  padding: 8px 12px;
  border-radius: 8px;
  white-space: normal;
  max-width: 240px;
  z-index: 100;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
}
.tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--sw-charcoal);
}
.tooltip-trigger:hover .tooltip-content,
.tooltip-trigger:focus .tooltip-content { display: block; }

/* Surplus badge */
.surplus-positive { color: var(--sw-deep); background: var(--sw-cream); }
.surplus-negative { color: var(--sw-coral); background: rgba(224,104,82,0.1); }

/* Results section */
#results-section {
  display: none;
  animation: fadeInUp 0.5s ease-out;
}
#results-section.visible { display: block; }

/* Cost bar */
.cost-bar { transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); }

/* Select dropdown */
select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23A8A096'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

/* Custom cost inputs */
.cost-number-input::-webkit-inner-spin-button,
.cost-number-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.cost-number-input { -moz-appearance: textfield; }
.cost-number-input.is-custom {
  border-color: var(--sw-sand);
  background: var(--sw-cream);
  color: var(--sw-charcoal);
}

/* What-if cards */
.whatif-card {
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.whatif-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}
.whatif-card:active { transform: translateY(0); }

/* Custom badge */
.custom-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--sw-coral-hover);
  background: var(--sw-cream);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Chevron */
#custom-costs-chevron { transition: transform 0.2s ease; }
#custom-costs-chevron.open { transform: rotate(180deg); }

/* Cost slider average marker */
.cost-slider-wrap { position: relative; }
.cost-avg-marker {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 14px;
  background: var(--sw-taupe);
  border-radius: 1px;
  pointer-events: none;
}
.cost-avg-marker::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-bottom-color: var(--sw-taupe);
}

/* Location picker */
.location-picker-wrap { position: relative; }
.loc-dropdown {
  min-width: 100%;
  max-height: 280px;
  overflow-y: auto;
}

.loc-group-header {
  padding: 6px 12px 2px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sw-taupe);
  pointer-events: none;
}

.loc-city-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  min-height: 44px;
  font-size: 14px;
  font-family: var(--font-display);
  color: var(--sw-charcoal);
  cursor: pointer;
  border-radius: 8px;
  margin: 1px 4px;
  transition: background 0.1s;
}
.loc-city-option:hover,
.loc-city-option.highlighted { background: var(--sw-cream); color: var(--sw-coral); }
.loc-city-option.selected { background: var(--sw-cream); font-weight: 600; }
.loc-city-option.selected::after {
  content: '✓';
  margin-left: auto;
  color: var(--sw-coral);
  font-weight: bold;
  font-size: 18px;
}

.loc-city-region-badge {
  font-size: 11px;
  color: var(--sw-taupe);
  margin-left: 8px;
  white-space: nowrap;
}
.loc-city-option.selected .loc-city-region-badge { color: var(--sw-sand); }

.loc-no-results {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--sw-taupe);
  text-align: center;
}

/* Input fields */
input[type="text"],
input[type="number"],
select {
  font-family: var(--font-display);
  font-size: 16px; /* Prevent iOS zoom */
  min-height: 44px; /* Touch target */
}

/* ── SCROLLBAR ────────────────────────────────  */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--sw-offwhite); }
::-webkit-scrollbar-thumb { background: var(--sw-sand); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--sw-taupe); }

/* ── MOBILE RESPONSIVE ───────────────────────  */
@media (max-width: 768px) {
  /* Location picker bottom sheet */
  .location-picker-wrap.mobile-open .loc-dropdown {
    display: flex !important;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 50;
    max-height: 80vh;
    border-radius: 24px 24px 0 0;
    border: none;
    border-top: 1px solid rgba(212,165,116,0.2);
    flex-direction: column;
    animation: slideUpSheet 0.2s ease-out;
    background: white;
  }
  .location-picker-wrap.mobile-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 40;
    animation: fadeIn 0.2s ease-out;
  }
  .loc-dropdown .p-2 {
    padding: 12px;
    border-bottom: 1px solid rgba(212,165,116,0.2);
    position: sticky;
    top: 0;
    background: white;
  }
  .loc-dropdown .p-2::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: var(--sw-taupe);
    border-radius: 2px;
    margin: 0 auto 8px;
  }
  .loc-dropdown #current-region-filter {
    font-size: 16px !important;
    min-height: 44px;
    padding: 12px 16px;
  }
  .loc-dropdown #current-region-list {
    max-height: calc(80vh - 100px);
    flex: 1;
    overflow-y: auto;
  }
  .loc-group-header {
    position: sticky;
    top: 0;
    background: var(--sw-offwhite);
    z-index: 1;
  }
  .loc-city-option {
    margin: 0;
    padding: 12px 16px;
    border-radius: 0;
  }
  .loc-city-region-badge { display: none; }

  /* Wizard */
  .wizard-step { padding: 0 !important; }
  .wizard-step h2 { font-size: 18px !important; }

  /* What-if cards */
  #whatif-cards { grid-template-columns: 1fr !important; }

  /* Inputs */
  input[type="text"],
  input[type="number"],
  select { padding: 12px 16px !important; }

  /* CTA flex layout */
  .reverse-calc-cta,
  .save-results-cta,
  .compare-scenarios-cta { flex-direction: column !important; }
}

@media (max-width: 640px) {
  .sm\:hidden { display: none; }
  .loc-city-region-badge { display: none; }
}

/* ── FOOTER ──────────────────────────────────  */
footer.bg-sw-charcoal a { font-family: var(--font-display); }

/* ============================================
   EXTENDED UTILITIES (calculator + other pages)
   ============================================ */

/* ── ARBITRARY COLOUR VALUES (palette shortcuts) ── */
.bg-\[\#F9F7F4\]          { background-color: #F9F7F4; }
.bg-\[\#F9F7F4\]\/90      { background-color: rgba(249,247,244,0.90); }
.bg-\[\#FEF5E7\]          { background-color: #FEF5E7; }
.bg-\[\#E06852\]          { background-color: #E06852; }
.bg-\[\#c85a46\]          { background-color: #c85a46; }
.bg-black\/60             { background-color: rgba(0,0,0,0.60); }
.bg-transparent           { background-color: transparent; }
.bg-sw-coral\/10          { background-color: rgba(224,104,82,0.10); }
.bg-sw-sand\/20           { background-color: rgba(212,165,116,0.20); }
.bg-sw-taupe              { background-color: var(--sw-taupe); }

.text-\[\#2B2B2B\]        { color: #2B2B2B; }
.text-\[\#A8A096\]        { color: #A8A096; }
.text-\[\#E06852\]        { color: #E06852; }
.text-\[\#c85a46\]        { color: #c85a46; }
.text-white\/70           { color: rgba(255,255,255,0.70); }
.text-sw-deep             { color: var(--sw-deep); }

.border-\[\#D4A574\]\/15  { border-color: rgba(212,165,116,0.15); }
.border-\[\#D4A574\]\/20  { border-color: rgba(212,165,116,0.20); }
.border-black\/5          { border-color: rgba(0,0,0,0.05); }
.border-0                 { border-width: 0; }
.border-none              { border: none; }

/* ── GRADIENTS ────────────────────────────────── */
.bg-gradient-to-b  { background-image: linear-gradient(to bottom, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent)); }
.from-\[\#2B2B2B\]\/60 { --tw-gradient-from: rgba(43,43,43,0.60); }
.to-\[\#2B2B2B\]\/30   { --tw-gradient-to: rgba(43,43,43,0.30); }
.from-sw-charcoal      { --tw-gradient-from: var(--sw-charcoal); }
.to-sw-charcoal        { --tw-gradient-to: var(--sw-charcoal); }

/* ── GRID EXTRA ───────────────────────────────── */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.col-span-3  { grid-column: span 3 / span 3; }
.lg\:grid-cols-3 { /* base handled at 1024px */ }

/* ── SIZING EXTRA ─────────────────────────────── */
.w-3      { width: 0.75rem; }
.w-3\.5   { width: 0.875rem; }
.w-10     { width: 2.5rem; }
.w-24     { width: 6rem; }
.h-3      { height: 0.75rem; }
.h-3\.5   { height: 0.875rem; }
.h-10     { height: 2.5rem; }
.h-14     { height: 3.5rem; }
.h-48     { height: 12rem; }
.max-h-56  { max-height: 14rem; }
.max-h-\[90vh\] { max-height: 90vh; }
.max-w-sm  { max-width: 24rem; }
.max-w-xs  { max-width: 20rem; }
.min-w-0   { min-width: 0; }
.min-h-screen { min-height: 100vh; }

/* ── MARGIN EXTRA ─────────────────────────────── */
.mb-0\.5  { margin-bottom: 0.125rem; }
.mb-1\.5  { margin-bottom: 0.375rem; }
.ml-1     { margin-left: 0.25rem; }
.ml-2     { margin-left: 0.5rem; }
.ml-3     { margin-left: 0.75rem; }
.mt-2     { margin-top: 0.5rem; }

/* ── PADDING EXTRA ────────────────────────────── */
.p-1      { padding: 0.25rem; }
.p-2      { padding: 0.5rem; }
.p-4      { padding: 1rem; }
.pb-4     { padding-bottom: 1rem; }
.pb-20    { padding-bottom: 5rem; }
.pl-4     { padding-left: 1rem; }
.pl-5     { padding-left: 1.25rem; }
.pl-8     { padding-left: 2rem; }
.pr-2     { padding-right: 0.5rem; }
.pr-4     { padding-right: 1rem; }
.pr-10    { padding-right: 2.5rem; }
.py-2     { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3\.5  { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-8     { padding-top: 2rem; padding-bottom: 2rem; }

/* ── SPACE BETWEEN EXTRA ──────────────────────── */
.space-y-1   > * + * { margin-top: 0.25rem; }
.space-y-2   > * + * { margin-top: 0.5rem; }
.space-y-5   > * + * { margin-top: 1.25rem; }

/* ── TEXT EXTRA ───────────────────────────────── */
.text-5xl    { font-size: 3rem; line-height: 1; }
.italic      { font-style: italic; }
.uppercase   { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.leading-snug  { line-height: 1.375; }
.whitespace-nowrap { white-space: nowrap; }
.truncate    { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.font-extrabold { font-weight: 800; }
.font-normal    { font-weight: 400; }
.select-none    { user-select: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* ── OPACITY ──────────────────────────────────── */
.opacity-0  { opacity: 0; }
.opacity-60 { opacity: 0.60; }
.opacity-75 { opacity: 0.75; }

/* ── POSITION EXTRA ───────────────────────────── */
.bottom-6  { bottom: 1.5rem; }
.left-0    { left: 0; }
.right-0   { right: 0; }
.right-3   { right: 0.75rem; }
.top-1\/2  { top: 50%; }
.left-1\/2 { left: 50%; }
.left-2\.5 { left: 0.625rem; }
.left-3    { left: 0.75rem; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }

/* ── FLEX EXTRA ───────────────────────────────── */
.flex-none   { flex: none; }
.shrink-0    { flex-shrink: 0; }
.self-start  { align-self: flex-start; }

/* ── SHADOW EXTRA ─────────────────────────────── */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-md  { box-shadow: var(--shadow-md); }

/* ── OUTLINE/FOCUS ────────────────────────────── */
.outline-none          { outline: none; }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(224,104,82,0.4); }
.focus\:ring-sw-coral:focus { box-shadow: 0 0 0 2px rgba(224,104,82,0.4); }
.focus\:border-transparent:focus { border-color: transparent; }

/* ── TRANSITIONS EXTRA ────────────────────────── */
.transition-opacity { transition: opacity 0.2s ease; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* ── ANIMATIONS EXTRA ─────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* ── HOVER EXTRA ──────────────────────────────── */
.hover\:bg-\[\#FEF5E7\]:hover  { background-color: #FEF5E7; }
.hover\:bg-\[\#c85a46\]:hover  { background-color: #c85a46; }
.hover\:bg-sw-charcoal\/80:hover { background-color: rgba(43,43,43,0.80); }
.hover\:bg-sw-charcoal\/90:hover { background-color: rgba(43,43,43,0.90); }
.hover\:bg-sw-coral-hover:hover  { background-color: var(--sw-coral-hover); }
.hover\:bg-sw-cream:hover        { background-color: var(--sw-cream); }
.hover\:bg-sw-deep\/80:hover     { background-color: rgba(26,58,82,0.80); }
.hover\:bg-sw-deep\/90:hover     { background-color: rgba(26,58,82,0.90); }
.hover\:bg-sw-offwhite:hover     { background-color: var(--sw-offwhite); }
.hover\:border-\[\#D4A574\]\/20:hover { border-color: rgba(212,165,116,0.20); }
.hover\:shadow-md:hover  { box-shadow: var(--shadow-md); }
.hover\:shadow-sm:hover  { box-shadow: var(--shadow-sm); }
.hover\:text-\[\#2B2B2B\]:hover { color: #2B2B2B; }
.hover\:text-\[\#c85a46\]:hover { color: #c85a46; }
.hover\:text-sw-deep:hover  { color: var(--sw-deep); }
.hover\:text-sw-taupe:hover { color: var(--sw-taupe); }

/* ── GROUP HOVER ──────────────────────────────── */
.group:hover .group-hover\:gap-2        { gap: 0.5rem; }
.group:hover .group-hover\:text-\[\#c85a46\] { color: #c85a46; }
.group:hover .group-hover\:translate-x-0\.5 { transform: translateX(0.125rem); }

/* ── RESPONSIVE EXTRA ─────────────────────────── */
@media (min-width: 640px) {
  .sm\:hidden       { display: none; }
  .sm\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sm\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .sm\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .sm\:h-64         { height: 16rem; }
  .sm\:items-center { align-items: center; }
  .sm\:items-start  { align-items: flex-start; }
  .sm\:self-auto    { align-self: auto; }
  .sm\:text-base    { font-size: 1rem; line-height: 1.5rem; }
  .sm\:text-left    { text-align: left; }
  .sm\:text-4xl     { font-size: 2.25rem; line-height: 2.5rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* ============================================
   PHASE 2 — Additional utilities for all pages
   ============================================ */

/* ── MISSING COLOUR/OPACITY UTILITIES ─────────── */
.bg-\[\#1A3A52\]          { background-color: #1A3A52; }
.bg-\[\#2B2B2B\]          { background-color: #2B2B2B; }
.bg-\[\#2B2B2B\]\/70      { background-color: rgba(43,43,43,0.70); }
.bg-white\/10             { background-color: rgba(255,255,255,0.10); }
.bg-white\/20             { background-color: rgba(255,255,255,0.20); }
.bg-sw-coral\/10          { background-color: rgba(224,104,82,0.10); }

.text-\[\#1A3A52\]        { color: #1A3A52; }
.text-\[\#D4A574\]        { color: #D4A574; }
.text-white\/40           { color: rgba(255,255,255,0.40); }
.text-white\/50           { color: rgba(255,255,255,0.50); }
.text-white\/60           { color: rgba(255,255,255,0.60); }
.text-white\/80           { color: rgba(255,255,255,0.80); }
.text-white\/30           { color: rgba(255,255,255,0.30); }

.border-\[\#D4A574\]\/10  { border-color: rgba(212,165,116,0.10); }
.border-\[\#D4A574\]\/30  { border-color: rgba(212,165,116,0.30); }
.border-white\/10         { border-color: rgba(255,255,255,0.10); }
.border-white\/20         { border-color: rgba(255,255,255,0.20); }
.border-sw-sand\/10       { border-color: rgba(212,165,116,0.10); }
.border-sw-sand\/20       { border-color: rgba(212,165,116,0.20); }
.border-sw-sand\/30       { border-color: rgba(212,165,116,0.30); }
.border-t-transparent     { border-top-color: transparent; }

.divide-\[\#D4A574\]\/10 > * + * { border-top-color: rgba(212,165,116,0.10); border-top-width: 1px; }
.divide-\[\#D4A574\]\/20 > * + * { border-top-color: rgba(212,165,116,0.20); border-top-width: 1px; }
.divide-sw-sand\/10 > * + * { border-top-color: rgba(212,165,116,0.10); border-top-width: 1px; }
.divide-sw-sand\/15 > * + * { border-top-color: rgba(212,165,116,0.15); border-top-width: 1px; }

/* ── HOVER EXTRA (page-specific) ─────────────── */
.hover\:bg-\[\#E06852\]:hover  { background-color: #E06852; }
.hover\:bg-white\/20:hover     { background-color: rgba(255,255,255,0.20); }
.hover\:text-\[\#E06852\]:hover { color: #E06852; }
.hover\:text-sw-charcoal:hover { color: var(--sw-charcoal); }
.hover\:text-white:hover       { color: #FFFFFF; }
.hover\:underline:hover        { text-decoration: underline; }
.hover\:border-sw-coral\/30:hover { border-color: rgba(224,104,82,0.30); }
.hover\:shadow-md:hover        { box-shadow: var(--shadow-md); }

/* ── GRADIENT EXTRA ──────────────────────────── */
.bg-gradient-to-t  { background-image: linear-gradient(to top, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent)); }
.bg-gradient-to-r  { background-image: linear-gradient(to right, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent)); }
.from-\[\#2B2B2B\]        { --tw-gradient-from: #2B2B2B; }
.from-\[\#2B2B2B\]\/70    { --tw-gradient-from: rgba(43,43,43,0.70); }
.from-\[\#2B2B2B\]\/80    { --tw-gradient-from: rgba(43,43,43,0.80); }
.from-\[\#2B2B2B\]\/85    { --tw-gradient-from: rgba(43,43,43,0.85); }
.from-\[\#2B2B2B\]\/90    { --tw-gradient-from: rgba(43,43,43,0.90); }
.from-\[\#FEF5E7\]        { --tw-gradient-from: #FEF5E7; }
.from-sw-cream             { --tw-gradient-from: var(--sw-cream); }
.to-\[\#2B2B2B\]\/30      { --tw-gradient-to: rgba(43,43,43,0.30); }
.to-\[\#1A3A52\]          { --tw-gradient-to: #1A3A52; }
.to-\[\#1A3A52\]\/75      { --tw-gradient-to: rgba(26,58,82,0.75); }
.to-\[\#1A3A52\]\/80      { --tw-gradient-to: rgba(26,58,82,0.80); }
.to-\[\#F9F7F4\]          { --tw-gradient-to: #F9F7F4; }
.to-sw-offwhite            { --tw-gradient-to: var(--sw-offwhite); }
.to-transparent            { --tw-gradient-to: transparent; }

/* ── SIZING EXTRA (Phase 2) ──────────────────── */
.w-1\.5    { width: 0.375rem; }
.w-5       { width: 1.25rem; }
.w-8       { width: 2rem; }
.w-9       { width: 2.25rem; }
.h-1\.5    { height: 0.375rem; }
.h-2\.5    { height: 0.625rem; }
.h-5       { height: 1.25rem; }
.h-8       { height: 2rem; }
.h-9       { height: 2.25rem; }
.h-40      { height: 10rem; }
.h-64      { height: 16rem; }
.h-72      { height: 18rem; }

/* ── MARGIN EXTRA (Phase 2) ──────────────────── */
.mt-0\.5   { margin-top: 0.125rem; }
.-mt-6     { margin-top: -1.5rem; }
.mt-3      { margin-top: 0.75rem; }
.mt-4      { margin-top: 1rem; }
.mt-5      { margin-top: 1.25rem; }
.mt-6      { margin-top: 1.5rem; }
.mt-8      { margin-top: 2rem; }
.mt-10     { margin-top: 2.5rem; }
.mt-12     { margin-top: 3rem; }
.mt-16     { margin-top: 4rem; }
.mb-1      { margin-bottom: 0.25rem; }
.mb-2      { margin-bottom: 0.5rem; }
.mb-3      { margin-bottom: 0.75rem; }
.mb-4      { margin-bottom: 1rem; }
.mb-5      { margin-bottom: 1.25rem; }
.mb-6      { margin-bottom: 1.5rem; }
.mb-8      { margin-bottom: 2rem; }
.mr-1      { margin-right: 0.25rem; }

/* ── PADDING EXTRA (Phase 2) ─────────────────── */
.p-3       { padding: 0.75rem; }
.p-5       { padding: 1.25rem; }
.p-6       { padding: 1.5rem; }
.p-8       { padding: 2rem; }
.px-1\.5   { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2      { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3      { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4      { padding-left: 1rem; padding-right: 1rem; }
.px-5      { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6      { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-0\.5   { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1      { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5   { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2\.5   { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3      { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4      { padding-top: 1rem; padding-bottom: 1rem; }
.py-6      { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-10     { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12     { padding-top: 3rem; padding-bottom: 3rem; }
.py-16     { padding-top: 4rem; padding-bottom: 4rem; }
.pb-1      { padding-bottom: 0.25rem; }
.pb-1\.5   { padding-bottom: 0.375rem; }
.pb-8      { padding-bottom: 2rem; }
.pb-10     { padding-bottom: 2.5rem; }
.pb-16     { padding-bottom: 4rem; }
.pt-3      { padding-top: 0.75rem; }
.pt-4      { padding-top: 1rem; }

/* ── SPACE-BETWEEN EXTRA (Phase 2) ───────────── */
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ── TEXT EXTRA (Phase 2) ────────────────────── */
.text-2xl   { font-size: 1.5rem; line-height: 2rem; }
.text-3xl   { font-size: 1.875rem; line-height: 2.25rem; }
.leading-tight { line-height: 1.25; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }

/* ── FLEX EXTRA (Phase 2) ────────────────────── */
.flex-col   { flex-direction: column; }
.flex-row   { flex-direction: row; }
.flex-wrap  { flex-wrap: wrap; }
.items-baseline { align-items: baseline; }
.gap-1      { gap: 0.25rem; }
.gap-1\.5   { gap: 0.375rem; }
.gap-2\.5   { gap: 0.625rem; }
.gap-x-4    { column-gap: 1rem; }
.gap-y-1    { row-gap: 0.25rem; }

/* ── GRID EXTRA (Phase 2) ────────────────────── */
.sm\:col-span-2 { grid-column: span 2 / span 2; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0,1fr)); }

/* ── BORDER EXTRA (Phase 2) ──────────────────── */
.border-2     { border-width: 2px; }
.border-r     { border-right-width: 1px; }
.border-t     { border-top-width: 1px; }
.rounded-full { border-radius: 9999px; }

/* ── ANIMATION EXTRA (Phase 2) ───────────────── */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.animate-spin { animation: spin 1s linear infinite; }

/* ── GROUP STATE ─────────────────────────────── */
.group-open\:rotate-180 { }
.group[open] .group-open\:rotate-180 { transform: rotate(180deg); }

/* ── DISABLED STATE ──────────────────────────── */
.disabled\:opacity-40:disabled { opacity: 0.40; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* ── FOCUS EXTRA ─────────────────────────────── */
.focus\:ring-\[\#E06852\]:focus { box-shadow: 0 0 0 2px rgba(224,104,82,0.4); }

/* ── PROSE (for privacy + content pages) ─────── */
.prose { max-width: 65ch; }
.prose h2 { margin-top: 2em; margin-bottom: 0.75em; font-size: 1.5rem; font-weight: 700; }
.prose h3 { margin-top: 1.5em; margin-bottom: 0.5em; font-size: 1.25rem; font-weight: 600; }
.prose p { margin-bottom: 1em; line-height: 1.75; }
.prose ul, .prose ol { margin-bottom: 1em; padding-left: 1.5em; }
.prose li { margin-bottom: 0.5em; line-height: 1.75; }
.list-disc  { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.pl-6 { padding-left: 1.5rem; }

/* ── RESPONSIVE SM EXTRA (Phase 2) ───────────── */
@media (min-width: 640px) {
  .sm\:block        { display: block; }
  .sm\:flex-row     { flex-direction: row; }
  .sm\:col-span-2   { grid-column: span 2 / span 2; }
  .sm\:h-80         { height: 20rem; }
  .sm\:h-96         { height: 24rem; }
  .sm\:text-lg      { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-2xl     { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-3xl     { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-5xl     { font-size: 3rem; line-height: 1; }
  .sm\:px-6         { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:p-8          { padding: 2rem; }
  .sm\:p-10         { padding: 2.5rem; }
  .sm\:p-12         { padding: 3rem; }
  .sm\:pb-10        { padding-bottom: 2.5rem; }
}

/* ── RESPONSIVE MD EXTRA ─────────────────────── */
@media (min-width: 768px) {
  .md\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
