/* ═══════════════════════════════════════════════════════
   COMPASS CONSULTING — SHARED DESIGN SYSTEM
   Brand direction: editorial, refined, monochromatic with
   chartreuse + coral accents. "Refined; reliable; refreshing."
   Source: James Lee Chiahan brand snapshot (2022-06-06)
   ═══════════════════════════════════════════════════════ */

:root {
  /* Core palette */
  --cream:     #F2EFE2;   /* Primary background — warm off-white */
  --butter:    #F0EDC0;   /* Pale yellow — section bg, splash */
  --chartreuse:#D5D880;   /* Yellow-green accent — splash overlay */
  --coral:     #EF5C46;   /* Coral red — CTA, highlight */
  --ink:       #1A1A1A;   /* Black — headings, body */
  --graphite:  #4A4A4A;   /* Mid gray — secondary text */
  --whisper:   #8C8C8C;   /* Light gray — meta text */
  --hairline:  rgba(26, 26, 26, 0.12);
  --hairline-strong: rgba(26, 26, 26, 0.30);
  --paper:     #FAF7EB;   /* Card bg — slightly lighter than cream */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
button { cursor: pointer; }

html {
  background: var(--cream);
  color: var(--ink);
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, .display {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
}

h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
h4 { font-size: 1.25rem; line-height: 1.3; }

p { line-height: 1.7; }
p + p { margin-top: 1rem; }

a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--coral); }

/* Editorial small caps / meta text */
.meta, .eyebrow {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 400;
}

.eyebrow {
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--hairline-strong);
  margin-bottom: 1.5rem;
}

.serif-italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
}

.coral { color: var(--coral); }
.muted { color: var(--graphite); }

/* ═══════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════ */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-tight {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 7rem 0;
  position: relative;
}

section.tight { padding: 4.5rem 0; }
section.cream { background: var(--cream); }
section.paper { background: var(--paper); }
section.butter { background: var(--butter); }
section.chartreuse { background: var(--chartreuse); }
section.ink { background: var(--ink); color: var(--cream); }
section.ink h1, section.ink h2, section.ink h3, section.ink h4 { color: var(--cream); }
section.ink .meta { color: rgba(242, 239, 226, 0.6); }

@media (max-width: 768px) {
  section { padding: 4.5rem 0; }
}

/* ═══════════════════════════════════════════════════════
   TOP NAVIGATION
   ═══════════════════════════════════════════════════════ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 239, 226, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 400;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a:hover { color: var(--coral); }

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--coral);
}

.nav-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 1.3rem;
  background: var(--ink);
  color: var(--cream) !important;
  border-radius: 999px;
  transition: all 0.2s ease;
  border: 1px solid var(--ink);
}

.nav-cta:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--cream) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */

.hero {
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  margin-top: 2rem;
  font-size: 1.05rem;
  color: var(--graphite);
  max-width: 36ch;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   BUTTONS / CTAs
   ═══════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream) !important;
  border-radius: 999px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--coral);
  border-color: var(--coral);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink) !important;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream) !important;
}

/* Editorial "Get Started ›" inline link from brand snapshot */
.link-underline {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  transition: color 0.2s ease;
}

.link-underline.coral { color: var(--coral); }
.link-underline:hover { color: var(--coral); }

/* ═══════════════════════════════════════════════════════
   CARDS / TILES
   ═══════════════════════════════════════════════════════ */

.card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 2.5rem;
  transition: all 0.25s ease;
}

.card:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
}

.card-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 1rem;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.card-body {
  color: var(--graphite);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════
   GRID LAYOUTS
   ═══════════════════════════════════════════════════════ */

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   SECTION HEADER
   ═══════════════════════════════════════════════════════ */

.section-header {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: end;
}

.section-header .lead {
  font-size: 1.1rem;
  color: var(--graphite);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .section-header { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════
   EDITORIAL TICK MARKS / RULES
   ═══════════════════════════════════════════════════════ */

.rule {
  height: 1px;
  background: var(--hairline-strong);
  margin: 4rem 0;
}

.rule-coral {
  height: 2px;
  background: var(--coral);
  width: 48px;
  margin-bottom: 1.5rem;
}

/* Number callout */
.numeral {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-style: italic;
  font-weight: 300;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

/* ═══════════════════════════════════════════════════════
   PRICING TABLE
   ═══════════════════════════════════════════════════════ */

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.pricing-table th,
.pricing-table td {
  text-align: left;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--hairline);
}

.pricing-table th {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--graphite);
  border-bottom: 1px solid var(--ink);
}

.pricing-table td {
  font-size: 0.95rem;
}

.pricing-table td:last-child {
  text-align: right;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--coral);
}

.pricing-table tr:hover { background: rgba(213, 216, 128, 0.18); }

/* ═══════════════════════════════════════════════════════
   PILL TAGS
   ═══════════════════════════════════════════════════════ */

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  color: var(--graphite);
  background: transparent;
}

.pill-coral {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--cream);
}

.pill-chartreuse {
  background: var(--chartreuse);
  border-color: var(--chartreuse);
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0 2.5rem;
}

.footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(242, 239, 226, 0.6);
  max-width: 28ch;
  line-height: 1.6;
}

.footer h5 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 239, 226, 0.5);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a {
  color: rgba(242, 239, 226, 0.8);
  font-size: 0.9rem;
}
.footer ul a:hover { color: var(--coral); }

.footer-bottom {
  max-width: 1240px;
  margin: 3.5rem auto 0;
  padding: 1.75rem 2rem 0;
  border-top: 1px solid rgba(242, 239, 226, 0.1);
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(242, 239, 226, 0.4);
}

@media (max-width: 900px) {
  .footer .container { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}

/* ═══════════════════════════════════════════════════════
   FORM ELEMENTS
   ═══════════════════════════════════════════════════════ */

input, textarea, select {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--coral);
}

label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 0.5rem;
}

.field { margin-bottom: 1.5rem; }

/* ═══════════════════════════════════════════════════════
   DECORATIVE CIRCLE (echo of brand snapshot)
   ═══════════════════════════════════════════════════════ */

.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.deco-circle.chartreuse {
  background: var(--chartreuse);
  opacity: 0.7;
}

.deco-circle.butter {
  background: var(--butter);
}

.deco-circle.coral {
  background: var(--coral);
}

/* ═══════════════════════════════════════════════════════
   PAGE FRAME (the editorial border running down sides)
   ═══════════════════════════════════════════════════════ */

.page-frame::before,
.page-frame::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--hairline);
  z-index: 50;
  pointer-events: none;
}

.page-frame::before { left: 1.5rem; }
.page-frame::after  { right: 1.5rem; }

@media (max-width: 900px) {
  .page-frame::before, .page-frame::after { display: none; }
}

/* ═══════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════ */

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mt-8 { margin-top: 4rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.flex { display: flex; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.items-center { align-items: center; }

/* ═══════════════════════════════════════════════════════
   COMPONENT CLASSES — extracted from inline styles
   ═══════════════════════════════════════════════════════ */

/* --- Button variants --- */
.btn-chartreuse {
  background: var(--chartreuse);
  color: var(--ink) !important;
  border-color: var(--chartreuse);
}
.btn-chartreuse:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--cream) !important;
}

/* Accent colour — chartreuse, used on dark / ink sections */
.accent { color: var(--chartreuse); }

/* --- Button row --- */
.btn-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

/* --- Sub-page hero typography --- */
/* Inner-page h1 — slightly taller than default */
.page-h1 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1; }

/* Hero / section intro paragraph */
.page-intro {
  font-size: 1.2rem;
  color: var(--graphite);
  max-width: 60ch;
  line-height: 1.7;
}

/* --- CTA / dark-section components --- */
.cta-h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; }

/* Smaller h2 variant — e.g. values & FAQ headings */
.h2-sm { font-size: clamp(2rem, 4vw, 3.5rem); }

.cta-body {
  font-size: 1.1rem;
  color: rgba(242, 239, 226, 0.75);
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Body copy centered on light sections */
.body-centered {
  font-size: 1.1rem;
  color: var(--graphite);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* --- Price displays --- */
.price {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--coral);
  font-size: 1.85rem;
  margin-top: 1rem;
}
.price-lg { font-size: 2.5rem; margin-top: 1.5rem; }
.price-xl { font-size: 5rem;   line-height: 1; }
.price-hero { font-size: 7rem; line-height: 0.9; }

/* --- Card variants --- */
.card-chartreuse {
  background: var(--chartreuse);
  border-color: var(--chartreuse);
}

/* Larger card-title override used on pricing / add-on cards */
.card-title-lg { font-size: 1.85rem; }

/* h3 inside content sections (not card-title) */
.h3-section { font-size: 2rem; margin: 0.5rem 0 1rem; }

/* --- Grid layouts --- */
/* 50/50 two-column with wide gap — hero + flagship splits */
.grid-halves {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Team member — portrait on left */
.member-left {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

/* Team member — portrait on right */
.member-right {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .grid-halves,
  .member-left,
  .member-right { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* --- Team portrait placeholder --- */
.portrait-wrap { position: relative; }

.portrait-circle {
  position: relative;
  width: 320px;
  height: 320px;
  background: var(--ink);
  border-radius: 50%;
  margin: 40px auto;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.portrait-inner {
  width: 80%;
  height: 90%;
  background: linear-gradient(180deg, transparent 0%, rgba(242,239,226,0.05) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
}

.portrait-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--cream);
  font-size: 1.4rem;
  opacity: 0.6;
}

/* --- Pill tag row --- */
.pill-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* --- Core values rows (about page) --- */
.value-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--hairline-strong);
}
.value-row:last-child { border-bottom: 1px solid var(--hairline-strong); }

/* Roman numeral span inside value rows */
.roman {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--coral);
  font-size: 2.5rem;
}

/* h3 inside trust / pillar grids */
.h3-pillar { font-size: 1.65rem; margin: 1rem 0; }

/* h3 inside step rows */
.h3-step { font-size: 2rem; line-height: 1.05; }

/* Team member h2 and bio paragraphs */
.h2-member { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; }
.member-bio { font-size: 1.1rem; color: var(--graphite); line-height: 1.7; }

/* FAQ accordion components */
.faq-list { margin-top: 3rem; }

.faq-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--hairline-strong);
  cursor: pointer;
}
.faq-item:first-child { border-top-color: var(--ink); }
.faq-item:last-child  { border-bottom: 1px solid var(--ink); }

.faq-summary {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  cursor: pointer;
}

.faq-answer {
  color: var(--graphite);
  margin-top: 1rem;
  padding-left: 1rem;
}

/* --- Process step rows --- */
.step-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-top: 1px solid var(--hairline-strong);
}
.step-row:first-child { border-top-color: var(--ink); }
.step-row:last-child  { border-bottom: 1px solid var(--ink); }

/* Monospace meta line inside a step row */
.step-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-top: 1rem;
}

/* --- Paper-tinted box / panel --- */
.box-paper {
  background: var(--paper);
  padding: 3rem;
  border: 1px solid var(--hairline);
}

/* --- Dark section checklist (Barber Pack feature list) --- */
.feature-list { list-style: none; }

.feature-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(242, 239, 226, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feature-item:last-child { border-bottom: none; }

.feature-check {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--chartreuse);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-value {
  color: rgba(242, 239, 226, 0.45);
  margin-left: auto;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* --- Barber sentiment quote list (dark sections) --- */
.quote-list { list-style: none; margin-top: 2.5rem; }

.quote-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(242, 239, 226, 0.15);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: rgba(242, 239, 226, 0.9);
}
.quote-item:last-child { border-bottom: none; }

/* --- Detail list inside content sections (barber pack) --- */
.detail-list  { list-style: none; margin-top: 1rem; }
.detail-item  { padding: 0.4rem 0; color: var(--graphite); }

/* h3 inside detailed content blocks */
.h3-detail { font-size: 1.85rem; margin-bottom: 0.5rem; }

/* Inline meta note — overrides mono caps for readable subscript text */
.meta-note {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════
   AUTH PAGES
   ═══════════════════════════════════════════════════════ */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-logo {
  display: block;
  margin-bottom: 3.5rem;
}

.auth-logo img {
  height: 20px;
  width: auto;
}

.auth-heading {
  margin-bottom: 2.5rem;
}

.auth-title {
  font-size: clamp(3.5rem, 10vw, 5rem);
  line-height: 0.92;
  margin-top: 1rem;
}

.auth-title em {
  font-style: italic;
  font-weight: 300;
}

.auth-alert {
  padding: 0.85rem 1rem;
  margin-bottom: 1.75rem;
  background: rgba(239, 92, 70, 0.07);
  border-left: 3px solid var(--coral);
  border-radius: 0 4px 4px 0;
  font-size: 0.875rem;
  color: var(--coral);
}

.auth-btn-full {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.75rem 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--whisper);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--hairline-strong);
}

.auth-google-btn {
  gap: 0.75rem;
}

.auth-google-btn svg {
  flex-shrink: 0;
}

.auth-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.auth-back {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--graphite);
}

.auth-back:hover {
  color: var(--ink);
}

/* Sign-out button on change-password page — matches auth-back link style */
.auth-back-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--graphite);
  transition: color 0.2s ease;
}
.auth-back-btn:hover { color: var(--ink); }

.auth-intro {
  font-size: 0.9rem;
  color: var(--graphite);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.pwd-requirements {
  list-style: none;
  margin-bottom: 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 4px;
}

.pwd-requirements li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--graphite);
  padding: 0.3rem 0;
}

.pwd-requirements li::before {
  content: '—';
  color: var(--hairline-strong);
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.pwd-requirements li.met {
  color: #3a7d44;
}
.pwd-requirements li.met::before {
  content: '✓';
  color: #3a7d44;
  font-weight: 700;
}

.pwd-requirements li.unmet {
  color: var(--coral);
}
.pwd-requirements li.unmet::before {
  content: '✗';
  color: var(--coral);
  font-weight: 700;
}

/* ── Password reveal toggle ─────────────────────────────────────────────── */

.field-pwd {
  position: relative;
  display: flex;
  align-items: stretch;
}

.field-pwd input {
  flex: 1;
  padding-right: 2.75rem; /* room for the button */
}

.pwd-toggle {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--graphite);
  transition: color 0.15s ease;
}

.pwd-toggle:hover {
  color: var(--ink);
}

.pwd-toggle svg {
  display: block;
  pointer-events: none;
}


/* ═══════════════════════════════════════════════════════════════════════════
   ERROR PAGES
   ═══════════════════════════════════════════════════════════════════════════ */

.error-frame {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}

.error-logo {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 0;
}

.error-logo img {
  height: 20px;
  width: auto;
}

.error-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 5rem;
}

.error-code {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(6rem, 16vw, 10rem);
  font-weight: 300;
  line-height: 1;
  color: var(--hairline);
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
  user-select: none;
}

.error-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 1.25rem;
}

.error-message {
  font-size: 1rem;
  color: var(--graphite);
  line-height: 1.7;
  max-width: 44ch;
  margin: 0 0 2.5rem;
}

.error-back {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.error-back:hover {
  color: var(--coral);
  border-color: var(--coral);
}

@media (max-width: 600px) {
  .error-frame { padding: 1.5rem; }
  .error-code   { font-size: clamp(5rem, 22vw, 7rem); }
}

