/* ─── Design tokens ─────────────────────────────────────────────── */
:root {
  --bg: #fff;
  --surface: #fff;
  --dark: #111;
  --muted: #666;
  --line: #e5e5e5;
  --accent: #111;
  --accent2: #444;
  --warn: #b45309;
  --danger: #991b1b;
  --good: #166534;
  --soft: #f5f5f5;
  --shadow: 0 12px 32px rgba(0,0,0,0.07);
  --font-serif: 'Cormorant Garant', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ─── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  font-family: var(--font-sans);
  color: var(--dark);
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

/* ─── Nav ───────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 64px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--dark);
  text-decoration: none;
}
.brand span, .brand strong { display: none; }
.site-nav nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.site-nav nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: 0.02em;
}
.site-nav nav a:hover { text-decoration: underline; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-cta:hover { background: #333; }
.small-button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
}

/* ─── Shared layout ─────────────────────────────────────────────── */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}
main { width: min(1180px, calc(100vw - 32px)); margin: 0 auto; }

/* ─── Typography ────────────────────────────────────────────────── */
.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
h1 {
  font-family: var(--font-serif);
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-weight: 400;
}
h2 {
  font-family: var(--font-serif);
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
}
h3 {
  font-family: var(--font-serif);
  margin: 0 0 10px;
  font-size: clamp(22px, 2.5vw, 32px);
  letter-spacing: -0.01em;
  font-weight: 400;
}
.lead { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 680px; }

/* ─── Buttons ───────────────────────────────────────────────────── */
.button {
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  text-decoration: none;
}
.primary { background: var(--dark); color: #fff; }
.primary:hover { background: #333; }
.secondary { background: #fff; color: var(--dark); border: 1px solid var(--line); }
.secondary:hover { background: var(--soft); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ─── Pill button / text link ───────────────────────────────────── */
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.pill-btn:hover { background: #333; }
.text-link {
  font-size: 15px;
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover { color: #555; }

/* ─── Landing: Hero ─────────────────────────────────────────────── */
.hero-full {
  width: 100%;
  height: 90vh;
  min-height: 520px;
  background: #2a2420;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 clamp(20px, 5vw, 64px) 80px;
}
.hero-inner { width: 100%; max-width: 1200px; }
.hero-full h1 {
  font-family: var(--font-serif);
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}

/* ─── Landing: Split ────────────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}
.placeholder-img { background: #e8e3dc; border-radius: 4px; }
.split-img.placeholder-img { height: 520px; }
.split-content h2 { margin: 0 0 24px; color: var(--dark); }
.split-content p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 32px; max-width: 420px; }

/* ─── Landing: Services ─────────────────────────────────────────── */
.services-section {
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid var(--line);
}
.section-heading { margin: 0 0 64px; color: var(--dark); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.service-item {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--line);
}
.service-item:last-child { border-right: none; padding-right: 0; padding-left: 40px; }
.service-item:nth-child(2) { padding-left: 40px; }
.service-item h3 { margin: 0 0 20px; }
.service-item p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 24px; }

/* ─── Landing: Consultation ─────────────────────────────────────── */
.consult-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-top: 100px;
  padding-bottom: 100px;
  border-top: 1px solid var(--line);
}
.consult-left h2 { margin: 0 0 20px; }
.consult-left p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 32px; }
.consult-img {
  border-radius: 6px;
  overflow: hidden;
  height: 380px;
  margin-top: 28px;
}
.consult-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.appt-label { font-size: 14px; font-weight: 500; color: var(--dark); letter-spacing: 0.04em; margin: 0 0 20px; }
.appt-list { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.appt-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.appt-item:last-child { border-bottom: none; }
.appt-item strong { display: block; font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.appt-item span { display: block; font-size: 14px; color: var(--muted); }
.book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 20px;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}
.book-btn:hover { background: #333; }

/* ─── Generic section (used by case-studies, admin) ─────────────── */
.section { padding: 70px 0; border-top: 1px solid var(--line); }
.section:first-child { border-top: none; }
.cards { display: grid; gap: 16px; margin-top: 24px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.cards p { color: var(--muted); line-height: 1.6; }
.split { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.split p { color: var(--muted); line-height: 1.65; }

/* ─── Portal choice page ─────────────────────────────────────────── */
.portal-choice { display: grid; place-items: center; min-height: calc(100vh - 80px); }
.login-card {
  width: min(560px, 100%);
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.login-card h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
.login-card p { color: var(--muted); margin: 0 0 24px; }
.login-card form { display: flex; gap: 10px; margin-top: 20px; }
.login-card input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

/* ─── App shell (team/client portals) ───────────────────────────── */
.hidden { display: none !important; }
.app-shell { padding: 32px 0 60px; }
.app-nav { position: sticky; top: 0; z-index: 40; }
.app-header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.app-header h1 { font-size: clamp(28px, 4vw, 48px); }
.app-header p { color: var(--muted); }

/* KPIs */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.kpi small { display: block; color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.08em; }
.kpi strong { display: block; font-size: 28px; letter-spacing: -0.04em; margin-top: 5px; font-family: var(--font-serif); }
.kpi span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }

/* Panel */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-bottom: 18px; }
.panel-header { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 18px; align-items: flex-start; }
.panel-header p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.panel h2 { font-size: clamp(20px, 2.5vw, 30px); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 1080px; }
th, td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--soft); }
td input, td select { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
td .small-button { padding: 7px 10px; font-size: 12px; }

/* Stage band */
.stage-band { margin: 18px 0 10px; font-weight: 700; color: #333; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }

/* Gantt */
.gantt-wrap { position: relative; overflow-x: auto; padding: 14px 0 4px; }
.gantt-grid { position: relative; min-width: 980px; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.gantt-dates { display: grid; grid-template-columns: 220px repeat(12, 1fr); background: var(--soft); border-bottom: 1px solid var(--line); font-size: 11px; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.gantt-dates div { padding: 10px; border-right: 1px solid var(--line); }
.gantt-row { display: grid; grid-template-columns: 220px 1fr; min-height: 58px; border-bottom: 1px solid var(--line); }
.gantt-row:last-child { border-bottom: 0; }
.gantt-label { padding: 12px; border-right: 1px solid var(--line); }
.gantt-label strong { display: block; font-size: 14px; }
.gantt-label span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.gantt-track { position: relative; background: linear-gradient(90deg, rgba(229,229,229,.6) 1px, transparent 1px); background-size: calc(100%/12) 100%; }
.gantt-bar { position: absolute; top: 17px; height: 20px; border-radius: 999px; background: var(--dark); }
.gantt-bar.acquisition { background: #2563eb; }
.gantt-bar.setup { background: #7c3aed; }
.gantt-bar.security { background: #dc2626; }
.gantt-bar.operations { background: #0f766e; }
.gantt-bar.improvements { background: #ea580c; }
.gantt-bar.furnishing { background: #7c3aed; }
.gantt-bar.compliance { background: #0891b2; }
.gantt-bar.utility { background: #0ea5e9; }
.gantt-bar.marketing { background: #db2777; }
.gantt-bar.cleaning { background: #16a34a; }
.gantt-bar.financials { background: #475569; }
.today-marker { position: absolute; top: 0; bottom: 0; width: 2px; background: #2563eb; z-index: 5; }
.today-marker::before { content: "Currently here today"; position: absolute; top: 8px; left: 6px; white-space: nowrap; background: #2563eb; color: #fff; border-radius: 999px; padding: 5px 8px; font-size: 11px; font-weight: 700; }
.today-marker::after { content: ""; position: absolute; top: 28px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: #2563eb; border: 2px solid #fff; }
.stage-row { display: grid; grid-template-columns: 1fr; min-height: 38px; background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #333; padding: 12px; }
.stage-row::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2563eb; margin-right: 8px; display: inline-block; }

/* Badges */
.badge { display: inline-flex; border-radius: 999px; padding: 4px 8px; font-size: 11px; font-weight: 700; background: #e5e5e5; color: #333; }
.badge.complete { background: #dcfce7; color: #166534; }
.badge.progress { background: #dbeafe; color: #1d4ed8; }
.badge.blocked { background: #fee2e2; color: #991b1b; }
.badge.neutral { background: #e5e5e5; color: #333; }
.badge.waiting { background: #fef3c7; color: #92400e; }
.danger { background: #fee2e2 !important; color: #991b1b !important; border-color: #fecaca !important; }

/* Portal layout (sidebar + content) */
.portal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; }
.portal-tabs { position: sticky; top: 76px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.tab-button { border: 1px solid transparent; background: transparent; color: var(--muted); border-radius: 10px; padding: 11px 14px; text-align: left; font-weight: 500; cursor: pointer; font-size: 14px; }
.tab-button:hover, .tab-button.active { background: var(--soft); color: var(--dark); border-color: var(--line); }
.portal-content { min-width: 0; }
.tab-section { display: none; }
.tab-section.active { display: block; }

/* Form grid */
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; color: #444; font-weight: 500; font-size: 13px; }
.field span { display: block; }
.field input, .field textarea, .field select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--dark); font: inherit; }
.field textarea { min-height: 84px; resize: vertical; }
.field.wide { grid-column: 1 / -1; }
.no-margin { margin-top: 0; }

/* Phase grid */
.phase-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.phase-card { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.phase-card strong, .phase-card span { display: block; }
.phase-card span { margin-top: 8px; color: #2563eb; font-weight: 700; }
.phase-card p { margin: 8px 0 0; color: var(--muted); }

/* Message list */
.message-list { display: grid; gap: 10px; }
.message-list article { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.message-list p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }

/* Button row */
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Code box */
.code-box, .code-preview { overflow: auto; max-height: 520px; background: #111; color: #e5e5e5; border-radius: 14px; padding: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.55; }

/* Case preview */
.case-preview { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.case-preview p { color: var(--muted); line-height: 1.6; }

/* Simple list */
.simple-list { display: grid; gap: 12px; }
.simple-item { padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.simple-item strong { display: block; }
.simple-item span { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.45; }

/* Small note */
.small-note { font-size: 13px; color: var(--muted); }

/* Projects grid */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }

/* Portal stat row */
.portal-stat-row { margin: 0 0 18px; }

/* Client portal */
.client-shell .panel { scroll-margin-top: 24px; }
.client-app-header { margin-bottom: 18px; }
.client-needs-panel { border-color: #bfdbfe; background: linear-gradient(135deg, #eff6ff, rgba(255,255,255,.96)); }
.client-needs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.client-need-card, .client-info-card, .client-detail-card, .client-stage-summary-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.04); }
.client-need-card h3, .client-info-card h3 { margin: 10px 0 7px; font-size: 18px; }
.client-need-card p, .client-info-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }
.client-need-meta, .step-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.client-need-meta span, .step-meta span, .today-inline { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--soft); border-radius: 999px; padding: 5px 8px; color: #555; font-size: 11px; font-weight: 700; }
.complete-card { border-color: #bbf7d0; background: #f0fdf4; }
.client-stage-summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.stage-summary-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.stage-summary-top strong { letter-spacing: -0.02em; }
.client-stage-summary-card p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.client-stage-summary-card em { display: block; margin-top: 8px; color: #2563eb; font-style: normal; font-size: 12px; font-weight: 700; }
.client-stage-summary-card.current-stage { border-color: #93c5fd; box-shadow: 0 0 0 4px rgba(37,99,235,.08); }
.client-progress-bar { height: 10px; background: #e5e5e5; border-radius: 999px; overflow: hidden; margin-top: 12px; }
.client-progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, #2563eb, #0f766e); border-radius: 999px; }
.client-portal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.client-tabs { top: 76px; }
.client-stage-accordions { display: grid; gap: 12px; }
.client-stage-dropdown { border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.client-stage-dropdown[open] { box-shadow: 0 10px 28px rgba(0,0,0,.06); }
.client-stage-dropdown summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px; background: var(--soft); }
.client-stage-dropdown summary::-webkit-details-marker { display: none; }
.client-stage-dropdown summary strong { display: block; font-size: 18px; font-family: var(--font-serif); }
.client-stage-dropdown summary span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.summary-right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.stage-progress-pill, .today-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 10px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.stage-progress-pill { background: #e0f2fe; color: #075985; }
.today-pill { background: #2563eb; color: #fff; }
.client-step-list { display: grid; gap: 0; padding: 0; }
.client-step-row { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; border-top: 1px solid var(--line); padding: 16px; }
.client-step-row.is-current { background: #eff6ff; }
.step-index { width: 34px; height: 34px; border-radius: 10px; background: #e5e5e5; color: #333; display: grid; place-items: center; font-weight: 700; }
.client-step-row.is-current .step-index { background: #2563eb; color: #fff; }
.step-title-row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.step-title-row h3 { margin: 0; font-size: 17px; }
.step-body p { margin: 8px 0 0; color: var(--muted); line-height: 1.55; }
.today-inline { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.client-table-wrap table { min-width: 760px; }
.client-card-list { display: grid; gap: 16px; }
.client-split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.client-subsection { display: grid; gap: 12px; align-content: start; }
.client-subsection > h3 { margin: 0; font-size: 20px; }
.client-inspection-progress { margin-bottom: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.client-inspection-progress strong { font-size: 19px; }
.client-details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.client-detail-card small { display: block; color: var(--muted); text-transform: uppercase; font-weight: 700; font-size: 11px; letter-spacing: 0.08em; }
.client-detail-card strong { display: block; margin-top: 6px; font-size: 16px; }
.client-need-card.waiting { border-color: #fbbf24; }
.client-need-card.blocked { border-color: #fecaca; }
.client-need-card.progress { border-color: #bfdbfe; }
.client-submit-box { margin: 0 0 16px; padding: 16px; border: 1px solid #bfdbfe; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.04); }
.client-upload-grid { grid-template-columns: 240px minmax(0,1fr) 240px auto; align-items: end; }
.client-upload-grid .wide { grid-column: auto; }
.client-upload-grid textarea { min-height: 56px; }
.client-file-field input { padding: 10px; background: var(--soft); }
.client-submit-button { height: 46px; white-space: nowrap; }
.client-submission-list { display: grid; gap: 10px; margin: 0 0 16px; }
.client-submission-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.client-submission-card > div { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.client-submission-card strong { display: block; color: var(--dark); }
.client-submission-card span { color: var(--muted); font-size: 12px; font-weight: 700; }
.client-submission-card p { margin: 8px 0 0; color: #444; line-height: 1.45; }
.client-submission-card a { color: #2563eb; font-weight: 700; }
.panel .cards.four { margin-top: 0; }
.panel .kpi strong { font-size: 24px; }
td input[type="checkbox"] { width: auto; min-width: 22px; height: 22px; }
td input[type="date"] { min-width: 145px; }
td input[type="number"] { min-width: 95px; }
.kpi-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.site-nav button.small-button { cursor: pointer; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-full { height: 70vh; }
  .split-section, .consult-section { grid-template-columns: 1fr; gap: 40px; }
  .split-img.placeholder-img { height: 280px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item, .service-item:last-child, .service-item:nth-child(2) {
    padding: 32px 0; border-right: none; border-bottom: 1px solid var(--line);
  }
  .site-nav nav { gap: 16px; }
  .cards.four, .kpi-grid, .projects-grid { grid-template-columns: 1fr; }
  .split, .app-header, .panel-header { flex-direction: column; align-items: stretch; }
  .login-card form { flex-direction: column; }
  .site-nav { position: static; align-items: flex-start; flex-direction: column; gap: 12px; }
  .portal-layout, .client-portal-layout { grid-template-columns: 1fr; }
  .portal-tabs, .client-tabs { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid, .form-grid.two, .phase-grid { grid-template-columns: 1fr; }
  .client-split-grid { grid-template-columns: 1fr; }
  .client-stage-dropdown summary { align-items: flex-start; flex-direction: column; }
  .summary-right { justify-content: flex-start; }
  .step-title-row { flex-direction: column; }
  .client-step-row { grid-template-columns: 1fr; }
  .gantt-dates, .gantt-row { grid-template-columns: 170px repeat(12, 1fr); }
  .gantt-grid { min-width: 860px; }
}
@media (max-width: 640px) {
  .portal-tabs, .client-tabs { grid-template-columns: 1fr; }
  .button-row { flex-direction: column; align-items: stretch; }
  .button-row .button { width: 100%; }
  .client-upload-grid { grid-template-columns: 1fr; }
  .client-upload-grid .wide { grid-column: 1 / -1; }
  .client-submit-button { width: 100%; }
  .app-shell { padding-top: 18px; }
  .cp-stage-grid, .cp-details-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-bar { flex-wrap: wrap; }
}

/* ─── Landing: Stats bar ─────────────────────────────────────────── */
.stats-bar { display:flex; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.stat-item { flex:1; padding:32px 0; text-align:center; border-right:1px solid var(--line); }
.stat-item:last-child { border-right:none; }
.stat-num { font-family:var(--font-serif); font-size:44px; font-weight:400; letter-spacing:-0.02em; display:block; color:var(--dark); }
.stat-label { font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:0.12em; margin-top:4px; display:block; }

/* ─── Landing: How it works ─────────────────────────────────────── */
.process-section { padding-top:100px; padding-bottom:100px; border-top:1px solid var(--line); }
.process-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--line); margin-top:64px; }
.process-step { padding:40px 32px 40px 0; border-right:1px solid var(--line); }
.process-step:last-child { border-right:none; padding-right:0; padding-left:32px; }
.process-step:nth-child(2),.process-step:nth-child(3) { padding-left:32px; }
.process-num { font-family:var(--font-serif); font-size:60px; font-weight:300; color:#d4cfc8; line-height:1; margin-bottom:16px; }
.process-step h3 { font-family:var(--font-serif); font-size:18px; font-weight:400; margin:0 0 10px; }
.process-step p { font-size:14px; line-height:1.75; color:var(--muted); margin:0; }

/* ─── Client Portal redesign ────────────────────────────────────── */
.cp-shell { max-width:860px; margin:0 auto; padding:48px clamp(20px,4vw,48px) 80px; }
.cp-stage-stepper { display:flex; align-items:flex-start; margin:36px 0 52px; }
.cp-step { display:flex; flex-direction:column; align-items:center; gap:8px; flex:1; }
.cp-step-dot { width:30px; height:30px; border-radius:50%; border:2px solid var(--line); background:#fff; display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:600; color:var(--muted); position:relative; z-index:1; }
.cp-step.done .cp-step-dot { background:var(--dark); border-color:var(--dark); color:#fff; font-size:13px; }
.cp-step.active .cp-step-dot { background:var(--dark); border-color:var(--dark); color:#fff; box-shadow:0 0 0 5px rgba(17,17,17,.1); }
.cp-step-label { font-size:10px; text-align:center; color:var(--muted); letter-spacing:0.04em; line-height:1.4; max-width:72px; text-transform:uppercase; }
.cp-step.active .cp-step-label { color:var(--dark); font-weight:700; }
.cp-step.done .cp-step-label { color:#888; }
.cp-step-pct { font-size:11px; color:var(--dark); font-weight:600; }
.cp-step-line { flex:1; height:1px; background:var(--line); margin-top:15px; }
.cp-step-line.done { background:var(--dark); }
.cp-primary-card { border:1px solid var(--line); border-radius:6px; padding:40px 48px; margin-bottom:36px; }
.cp-action-card { border-color:#111; background:#fafaf9; }
.cp-clear-card { background:#fff; }
.cp-card-eyebrow { font-size:11px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; margin-bottom:20px; display:flex; align-items:center; gap:8px; color:var(--dark); }
.cp-eyebrow-dot { width:7px; height:7px; border-radius:50%; background:currentColor; display:inline-block; flex-shrink:0; }
.cp-card-title { font-family:var(--font-serif); font-size:clamp(26px,3.5vw,40px); font-weight:400; line-height:1.08; letter-spacing:-0.02em; margin:0 0 16px; color:var(--dark); }
.cp-card-body { font-size:15px; line-height:1.65; color:var(--muted); margin:0 0 20px; }
.cp-focus-text { font-family:var(--font-serif); font-size:21px; font-weight:400; color:var(--dark); margin:0 0 24px; font-style:italic; line-height:1.45; }
.cp-due-row { display:flex; align-items:center; gap:14px; margin-bottom:28px; flex-wrap:wrap; }
.cp-due-badge { display:inline-flex; align-items:center; background:var(--dark); color:#fff; font-size:11px; font-weight:700; padding:6px 14px; border-radius:999px; letter-spacing:0.06em; text-transform:uppercase; }
.cp-extra-count { font-size:13px; color:var(--muted); }
.cp-next-label { font-size:11px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.cp-next-text { font-size:15px; color:var(--dark); margin:0; line-height:1.6; }
.cp-divider { border:none; border-top:1px solid var(--line); margin:28px 0; }
.cp-form { margin-top:28px; border-top:1px solid #e0e0e0; padding-top:24px; }
.cp-form textarea { width:100%; padding:14px 16px; border:1px solid var(--line); border-radius:6px; font:inherit; font-size:14px; line-height:1.65; color:var(--dark); resize:vertical; min-height:96px; background:#fff; }
.cp-form textarea:focus { outline:none; border-color:var(--dark); }
.cp-form-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; flex-wrap:wrap; }
.cp-file-btn { font-size:13px; color:var(--muted); text-decoration:underline; text-underline-offset:2px; cursor:pointer; background:none; border:none; padding:0; }
.cp-file-input { display:none; }
.cp-send-btn { background:var(--dark); color:#fff; border:none; border-radius:999px; padding:11px 28px; font-size:14px; font-weight:500; cursor:pointer; letter-spacing:0.02em; font-family:inherit; }
.cp-send-btn:hover { background:#333; }
.cp-submissions { margin-top:20px; }
.cp-submissions h4 { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.12em; color:var(--muted); margin:0 0 12px; }
.cp-sub-item { padding:10px 0; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.cp-sub-item:last-child { border-bottom:none; }
.cp-sub-title { font-size:13px; font-weight:600; color:var(--dark); }
.cp-sub-note { font-size:12px; color:var(--muted); margin-top:2px; }
.cp-sub-date { font-size:11px; color:var(--muted); white-space:nowrap; }
.cp-sub-delete { background:none; border:none; color:var(--muted); font-size:11px; cursor:pointer; padding:0; text-decoration:underline; font-family:inherit; }
.cp-stage-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:52px; }
.cp-stage-card { border:1px solid var(--line); border-radius:6px; padding:22px; }
.cp-stage-card.is-active { border-color:var(--dark); }
.cp-stage-card-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:var(--muted); margin-bottom:12px; line-height:1.4; }
.cp-stage-card.is-active .cp-stage-card-label { color:var(--dark); }
.cp-stage-card-pct { font-family:var(--font-serif); font-size:38px; font-weight:400; color:var(--dark); line-height:1; margin-bottom:10px; }
.cp-stage-bar { height:2px; background:var(--line); border-radius:999px; overflow:hidden; margin-bottom:12px; }
.cp-stage-bar-fill { height:100%; background:var(--dark); border-radius:999px; }
.cp-stage-card-note { font-size:12px; color:var(--muted); line-height:1.5; }
.cp-stage-card-next { font-size:12px; color:var(--dark); font-weight:500; margin-top:6px; line-height:1.4; }
.cp-detail-tabs { margin-top:0; }
.cp-tab-nav { display:flex; gap:0; border-bottom:1px solid var(--line); margin-bottom:32px; }
.cp-tab-btn { background:none; border:none; border-bottom:2px solid transparent; margin-bottom:-1px; padding:12px 20px 12px 0; font-size:14px; font-weight:500; color:var(--muted); cursor:pointer; letter-spacing:0.01em; font-family:inherit; }
.cp-tab-btn:hover { color:var(--dark); }
.cp-tab-btn.active { color:var(--dark); border-bottom-color:var(--dark); }
.cp-tab-panel { display:none; }
.cp-tab-panel.active { display:block; }
.cp-accordion { border:1px solid var(--line); border-radius:6px; overflow:hidden; margin-bottom:10px; }
.cp-accordion[open] { box-shadow:0 4px 20px rgba(0,0,0,.05); }
.cp-accordion summary { list-style:none; cursor:pointer; padding:20px 24px; display:flex; justify-content:space-between; align-items:center; gap:16px; background:#fafaf9; user-select:none; }
.cp-accordion summary::-webkit-details-marker { display:none; }
.cp-accordion-title { font-family:var(--font-serif); font-size:20px; font-weight:400; color:var(--dark); }
.cp-accordion-meta { font-size:12px; color:var(--muted); margin-top:3px; }
.cp-accordion-right { display:flex; align-items:center; gap:8px; flex-shrink:0; }
.cp-pct-pill { font-size:12px; font-weight:600; background:var(--soft); color:var(--dark); border-radius:999px; padding:4px 10px; }
.cp-active-pill { background:var(--dark); color:#fff; border-radius:999px; padding:4px 10px; font-size:11px; font-weight:600; letter-spacing:0.04em; }
.cp-step-list { padding:0; }
.cp-step-item { display:grid; grid-template-columns:36px 1fr; gap:16px; padding:14px 24px; border-top:1px solid var(--line); align-items:start; }
.cp-step-item.is-active { background:#f9f9f7; }
.cp-step-num { width:28px; height:28px; border-radius:50%; background:var(--soft); color:var(--muted); display:flex; align-items:center; justify-content:center; font-size:11px; font-weight:700; flex-shrink:0; }
.cp-step-item.is-active .cp-step-num { background:var(--dark); color:#fff; }
.cp-step-name { font-size:14px; font-weight:500; color:var(--dark); margin-bottom:5px; }
.cp-step-detail { font-size:12px; color:var(--muted); display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.cp-step-badge { padding:2px 8px; border-radius:999px; font-size:10px; font-weight:700; }
.cp-budget-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-bottom:28px; }
.cp-budget-stat { border:1px solid var(--line); border-radius:6px; padding:22px 24px; }
.cp-budget-stat-label { font-size:11px; text-transform:uppercase; letter-spacing:0.1em; color:var(--muted); margin-bottom:8px; }
.cp-budget-stat-value { font-family:var(--font-serif); font-size:32px; font-weight:400; color:var(--dark); }
.cp-budget-table { width:100%; border-collapse:collapse; font-size:14px; }
.cp-budget-table th { text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:0.08em; color:var(--muted); padding:0 16px 10px 0; border-bottom:1px solid var(--line); font-weight:600; }
.cp-budget-table td { padding:12px 16px 12px 0; border-bottom:1px solid var(--line); color:var(--dark); vertical-align:top; }
.cp-budget-table tr:last-child td { border-bottom:none; }
.cp-details-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; }
.cp-detail-item { padding:20px 20px 20px 0; border-bottom:1px solid var(--line); }
.cp-detail-label { font-size:10px; text-transform:uppercase; letter-spacing:0.12em; color:var(--muted); margin-bottom:6px; }
.cp-detail-value { font-size:15px; color:var(--dark); font-weight:500; }

@media (max-width:860px) {
  .cp-stage-stepper { flex-wrap:wrap; gap:16px; }
  .cp-step-line { display:none; }
  .cp-stage-grid { grid-template-columns:repeat(2,1fr); }
  .cp-budget-grid { grid-template-columns:1fr; }
  .cp-primary-card { padding:24px 20px; }
  .process-grid { grid-template-columns:repeat(2,1fr); }
  .cp-details-grid { grid-template-columns:repeat(2,1fr); }
  .stats-bar .stat-item { flex:1 1 50%; }
}

/* ─── Footer ────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 52px clamp(20px, 5vw, 64px);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 40px;
}
.footer-brand .footer-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--dark);
  display: block;
}
.footer-brand .footer-tagline {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.footer-links a:hover { color: var(--dark); text-decoration: underline; }
.footer-copy {
  font-size: 11px;
  color: #bbb;
  letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Hover polish ──────────────────────────────────────────────── */
.service-item { transition: background 0.2s; }
.service-item:hover { background: #fafaf9; }
.nav-cta, .pill-btn, .book-btn, .cp-send-btn { transition: background 0.18s, transform 0.18s; }
.nav-cta:active, .pill-btn:active, .book-btn:active, .cp-send-btn:active { transform: scale(0.97); }
.cp-stage-card { transition: box-shadow 0.2s, border-color 0.2s; }
.cp-stage-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

/* ─── Portal entrance page ──────────────────────────────────────── */
.portal-choice {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 65px);
  padding: 40px clamp(20px, 5vw, 64px);
  background: #fff;
}
.portal-entrance {
  width: 100%;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.portal-entrance-left p.eyebrow { margin-bottom: 20px; }
.portal-entrance-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.portal-entrance-left p.portal-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 320px;
}
.portal-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.portal-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  color: var(--dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.portal-card:hover {
  border-color: var(--dark);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.portal-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}
.portal-card-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--dark);
}
.portal-card-arrow {
  font-size: 22px;
  color: var(--muted);
  flex-shrink: 0;
}
.portal-card.primary-card {
  background: var(--dark);
  border-color: var(--dark);
}
.portal-card.primary-card .portal-card-label,
.portal-card.primary-card .portal-card-title,
.portal-card.primary-card .portal-card-arrow { color: #fff; }
@media (max-width: 700px) {
  .portal-entrance { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── Project cards ─────────────────────────────────────────────── */
.project-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px 32px;
  background: #fff;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.project-card:hover {
  border-color: #999;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.project-card .eyebrow { margin-bottom: 16px; }
.project-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.project-card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0 0 8px; }
.project-card p:last-child { margin-bottom: 0; }

/* ─── Case studies hero ─────────────────────────────────────────── */
.cs-hero { padding: 80px 0 60px; border-bottom: 1px solid var(--line); margin-bottom: 60px; }
.cs-hero h1 { margin: 12px 0 20px; }

/* ─── Brand logo mark ───────────────────────────────────────────── */
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { flex-shrink: 0; display: block; }

/* ─── Home hero: 2-column ───────────────────────────────────────── */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: calc(100vh - 75px);
}
.hero-left { padding-top: 24px; }
.hero-left h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 24px;
  color: var(--dark);
}
.hero-hook {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 480px;
}
.hero-hook em { font-style: italic; color: var(--dark); }
.hero-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.trust-dot { color: #ccc; }

/* Steps panel (right col of hero) */
.steps-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.steps-panel-head {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--line);
  background: #fafaf9;
}
.steps-panel-head h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin: 8px 0 8px;
  letter-spacing: -0.01em;
}
.steps-sub { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }
.steps-list { padding: 0; }
.step-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.step-row:last-child { border-bottom: none; }
.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.locked-badge { background: #e5e5e5; color: #999; }
.step-name { font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.3; }
.step-meta { font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.step-dl-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.step-dl-btn.free {
  background: var(--dark);
  color: #fff;
}
.step-dl-btn.free:hover { background: #333; }
.step-dl-btn.locked {
  background: var(--soft);
  color: var(--muted);
  border: 1px solid var(--line);
}
.step-dl-btn.locked:hover { border-color: var(--dark); color: var(--dark); }
.steps-panel-cta {
  display: block;
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fafaf9;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.steps-panel-cta:hover { color: var(--dark); }

/* Email modal */
.email-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.email-modal-overlay.hidden { display: none; }
.email-modal-card {
  background: #fff;
  border-radius: 8px;
  padding: 44px 48px;
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.modal-close-btn:hover { color: var(--dark); }
.email-modal-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  margin: 12px 0 12px;
  line-height: 1.1;
}
.email-modal-desc { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0 0 24px; }
.email-modal-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-size: 15px;
  color: var(--dark);
  background: #fff;
}
.email-modal-input:focus { outline: none; border-color: var(--dark); }
.email-modal-error { font-size: 12px; color: #991b1b; margin: 6px 0 0; }

/* ─── Services / Pricing page ───────────────────────────────────── */
.pricing-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
  max-width: 700px;
}
.pricing-hero h1 { margin: 12px 0 20px; }

.pricing-section { padding: 80px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.pricing-card {
  padding: 40px 36px;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:last-child { border-right: none; }
.featured-card {
  background: var(--dark);
  border-color: var(--dark);
}
.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.pricing-stage {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 12px;
}
.featured-card .pricing-stage { color: rgba(255,255,255,0.6); }
.pricing-name {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--dark);
}
.featured-card .pricing-name { color: #fff; }
.pricing-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.featured-card .pricing-desc { color: rgba(255,255,255,0.7); }
.pricing-card-top { flex: 1; }
.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 28px 0 24px;
  padding: 28px 0 24px;
  border-top: 1px solid var(--line);
}
.featured-card .pricing-price-row { border-color: rgba(255,255,255,0.2); }
.pricing-price {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1;
}
.featured-card .pricing-price { color: #fff; }
.pricing-cadence {
  font-size: 13px;
  color: var(--muted);
}
.featured-card .pricing-cadence { color: rgba(255,255,255,0.6); }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 14px;
  color: #444;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--muted);
}
.featured-card .pricing-features li { color: rgba(255,255,255,0.85); }
.featured-card .pricing-features li::before { color: rgba(255,255,255,0.4); }
.feature-guide { margin-top: 4px; }
.guide-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #e5e5e5;
  color: #555;
  padding: 2px 6px;
  border-radius: 999px;
  margin-right: 6px;
}
.featured-card .guide-tag { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); }
.pricing-cta {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  margin-top: auto;
}
.primary-cta { background: var(--dark); color: #fff; border: 1px solid var(--dark); }
.primary-cta:hover { background: #333; border-color: #333; }
.secondary-cta { background: #fff; color: var(--dark); border: 1px solid var(--line); }
.secondary-cta:hover { border-color: var(--dark); }
.featured-card .primary-cta { background: #fff; color: var(--dark); border-color: #fff; }
.featured-card .primary-cta:hover { background: #f0f0f0; }

/* Bundle section */
.bundle-section { padding: 0 0 80px; }
.bundle-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding: 52px;
  align-items: center;
  background: #fafaf9;
}
.bundle-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}
.bundle-card p { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0 0 24px; max-width: 500px; }
.bundle-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bundle-features li {
  font-size: 14px;
  color: #444;
  padding-left: 18px;
  position: relative;
}
.bundle-features li::before { content: '✓'; position: absolute; left: 0; color: var(--dark); font-weight: 700; }
.bundle-price-block { text-align: center; min-width: 220px; }
.bundle-was { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-bottom: 6px; }
.bundle-price {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 8px;
}
.bundle-save {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.bundle-cta { min-width: 220px; }
.bundle-note { font-size: 11px; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* Ongoing rate row (Operations Launch card) */
.pricing-ongoing-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: -8px 0 20px;
  flex-wrap: wrap;
}
.pricing-ongoing-label { font-size: 12px; color: var(--muted); }
.pricing-ongoing-rate {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--dark);
  letter-spacing: -0.02em;
}
.pricing-ongoing-of { font-size: 12px; color: var(--muted); }

/* Furniture note row (Pre-Closing card) */
.pricing-furniture-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin: -8px 0 20px;
  line-height: 1.4;
}
.furniture-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
  white-space: nowrap;
}
.feature-variable {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.variable-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
}
.feature-note {
  font-size: 12px !important;
  color: var(--muted) !important;
  font-style: italic;
}
.bundle-feature-highlight {
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 4px;
}

/* ─── Nav actions (Sign In + CTA side by side) ───────────────────── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-signin {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: border-color 0.15s, background 0.15s;
}
.nav-signin:hover { border-color: var(--dark); background: var(--soft); }
.nav-signin--active { border-color: var(--dark); }
.nav-signout {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: color 0.15s, border-color 0.15s;
}
.nav-signout:hover { color: var(--dark); border-color: var(--dark); }

/* ─── Modal confirm state ────────────────────────────────────────── */
.modal-confirm { text-align: center; padding: 12px 0 4px; }
.modal-confirm.hidden { display: none; }
.modal-confirm-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: #dcfce7; color: #166534; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.modal-confirm-heading { font-family: var(--font-serif); font-size: 26px; font-weight: 400; margin: 0 0 12px; }
.modal-confirm-body { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }

/* ─── Auth page (login.html) ─────────────────────────────────────── */
.auth-shell {
  min-height: calc(100vh - 73px);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px; background: var(--soft);
}
.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 52px 52px 48px; width: 100%; max-width: 460px; box-shadow: var(--shadow);
}
.auth-card-head { margin-bottom: 32px; }
.auth-title {
  font-family: var(--font-serif); font-size: clamp(28px, 4vw, 38px);
  font-weight: 400; margin: 10px 0 12px; letter-spacing: -0.02em; line-height: 1.1;
}
.auth-sub { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }
.auth-sub a { color: var(--dark); text-decoration: underline; }
.auth-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.auth-field span {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted);
}
.auth-field input {
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 6px;
  font: inherit; font-size: 15px; color: var(--dark); background: #fff;
  transition: border-color 0.15s;
}
.auth-field input:focus { outline: none; border-color: var(--dark); }
.auth-error {
  font-size: 13px; color: #991b1b; background: #fef2f2;
  border: 1px solid #fecaca; border-radius: 6px; padding: 10px 14px;
  margin-bottom: 16px; line-height: 1.55;
}
.auth-error.hidden { display: none; }
.auth-submit { width: 100%; margin-top: 4px; }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0 16px; color: var(--muted); font-size: 12px;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-switch { font-size: 14px; color: var(--muted); margin: 0; text-align: center; }
.auth-link-btn {
  background: none; border: none; padding: 0; font: inherit;
  font-size: 14px; color: var(--dark); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.auth-link-btn:hover { opacity: 0.7; }
.auth-demo-note { font-size: 12px; color: var(--muted); margin: 16px 0 0; text-align: center; line-height: 1.6; }
.auth-demo-note code {
  background: var(--soft); padding: 2px 6px; border-radius: 4px;
  font-size: 12px; border: 1px solid var(--line);
}
.auth-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #dcfce7; color: #166534; font-size: 26px;
  display: flex; align-items: center; justify-content: center; margin: 0 0 20px;
}
.auth-redirect-note { font-size: 13px; color: var(--muted); margin: 24px 0 0; text-align: center; }
@media (max-width: 520px) {
  .auth-card { padding: 36px 24px 32px; }
  .nav-actions { gap: 8px; }
  .nav-signin { padding: 8px 14px; font-size: 13px; }
}

/* Package builder */
.builder-section { padding: 0 0 100px; border-top: 1px solid var(--line); padding-top: 80px; }
.builder-header { margin-bottom: 36px; }
.builder-header h2 { font-family: var(--font-serif); font-size: clamp(28px, 3vw, 40px); font-weight: 400; margin: 0 0 10px; }
.builder-header p { font-size: 15px; color: var(--muted); margin: 0; }
.builder-grid { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 28px; }
.builder-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 20px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  align-items: center;
  transition: background 0.15s;
}
.builder-item:last-child { border-bottom: none; }
.builder-item:hover { background: #fafaf9; }
.builder-item input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; accent-color: var(--dark); }
.builder-item-content { display: flex; align-items: center; gap: 20px; }
.builder-stage { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); min-width: 170px; }
.builder-item-name { font-size: 15px; font-weight: 500; color: var(--dark); flex: 1; }
.builder-item-price { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--dark); }
.builder-total-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 28px;
  background: var(--soft);
  border-radius: 8px;
  flex-wrap: wrap;
}
.builder-total-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.builder-total-value { font-family: var(--font-serif); font-size: 38px; font-weight: 400; color: var(--dark); flex: 1; }
.builder-submit { white-space: nowrap; }

/* FAQ */
.faq-section { padding: 0 0 100px; border-top: 1px solid var(--line); padding-top: 80px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; margin-top: 0; }
.faq-item h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.faq-item p { font-size: 14px; color: var(--muted); line-height: 1.75; margin: 0; }

/* Pricing page responsive */
@media (max-width: 960px) {
  .home-hero { grid-template-columns: 1fr; min-height: auto; gap: 48px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { border-right: none; border-bottom: 1px solid var(--line); }
  .featured-card { border-color: var(--dark); }
  .pricing-card:last-child { border-bottom: none; }
  .bundle-card { grid-template-columns: 1fr; }
  .bundle-price-block { text-align: left; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .builder-item-content { flex-wrap: wrap; gap: 10px; }
  .builder-stage { min-width: auto; }
  .email-modal-card { padding: 32px 24px; }
}

/* ─── Services page (how-it-works) ──────────────────────────────── */
.svc-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
  max-width: 760px;
}
.svc-hero h1 { margin: 12px 0 20px; }
.svc-hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* Stage divider */
.svc-stage-label {
  padding: 48px 0 0;
}
.svc-stage-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
}
.featured-stage {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

/* Step section */
.svc-step {
  padding: 56px 0 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 64px;
}
/* Full-width photo banner per step */
.svc-step-banner {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
  margin-bottom: 40px;
}
.svc-step-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.svc-step:hover .svc-step-banner img { transform: scale(1.03); }
.svc-step-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.15) 100%);
}
.svc-step-banner-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 44px;
}
.svc-step-banner .svc-step-num {
  font-family: var(--font-serif);
  font-size: 80px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
  min-width: 80px;
}
.svc-step-banner .svc-step-title {
  color: #fff;
  font-size: clamp(26px, 3vw, 42px);
  margin: 0 0 8px;
}
.svc-step-banner .svc-step-sub {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  margin: 0;
}
.svc-step-num {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  color: var(--line);
  flex-shrink: 0;
  min-width: 64px;
}
.svc-step-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.svc-step-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Peek grid */
.svc-peek-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
}
.svc-peek-card {
  padding: 28px 26px;
  border-right: 1px solid var(--line);
  transition: background 0.15s;
}
.svc-peek-card:last-child { border-right: none; }
.svc-peek-card:hover { background: #fafaf9; }
.svc-peek-icon {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1;
}
.svc-peek-card h4 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.svc-peek-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Time savings row */
.svc-time-save {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.svc-time-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--soft);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: line-through;
  text-decoration-color: #ccc;
}
.svc-time-arrow { color: var(--muted); font-size: 14px; }
.svc-time-e2e {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  background: #f0fdf4;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
}

/* CTA bar */
.svc-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px 28px;
  background: var(--soft);
  border-radius: 8px;
  flex-wrap: wrap;
}
.svc-cta-copy {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  min-width: 240px;
}
.svc-cta-copy strong { color: var(--dark); }
.svc-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.svc-cta-btn:hover { background: #333; }

/* Bottom CTA band */
.svc-bottom-cta {
  background: var(--dark);
  color: #fff;
  padding: 88px 0;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}
.svc-bottom-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/step5-permit.jpeg') center / cover no-repeat;
  opacity: 0.18;
  z-index: 0;
}
.svc-bottom-inner { position: relative; z-index: 1; }
.svc-bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.svc-bottom-left .eyebrow { color: rgba(255,255,255,0.5); }
.svc-bottom-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.svc-bottom-left p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.75; margin: 0; max-width: 520px; }
.svc-bottom-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 260px;
}
.svc-bottom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  text-align: center;
}
.svc-bottom-btn.primary { background: #fff; color: var(--dark); }
.svc-bottom-btn.primary:hover { background: #f0f0f0; }
.svc-bottom-btn.secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.svc-bottom-btn.secondary:hover { border-color: #fff; }

/* ─── Consultation band (plans page) ───────────────────────────── */
.consult-band {
  padding: 80px 0 100px;
  border-top: 1px solid var(--line);
}
.consult-band-inner {
  display: grid;
  grid-template-columns: 420px 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.consult-band-photo {
  border-radius: 8px;
  overflow: hidden;
  height: 420px;
}
.consult-band-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.consult-band-left h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  margin: 12px 0 16px;
  letter-spacing: -0.02em;
}
.consult-band-left p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 24px;
}
.consult-band-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.consult-band-points li {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}
.consult-appt-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.consult-appt-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--line);
  margin: 0;
  background: var(--soft);
}
.consult-appt-list { display: flex; flex-direction: column; }
.consult-appt-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--dark);
  transition: background 0.15s;
}
.consult-appt-item:last-child { border-bottom: none; }
.consult-appt-item:hover { background: #fafaf9; }
.consult-appt-info { display: flex; flex-direction: column; gap: 3px; }
.consult-appt-info strong { font-size: 15px; font-weight: 600; }
.consult-appt-info span { font-size: 13px; color: var(--muted); }
.consult-appt-arrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.consult-appt-item:hover .consult-appt-arrow { opacity: 1; }
.consult-appt-note {
  font-size: 12px;
  color: var(--muted);
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  margin: 0;
  background: var(--soft);
}

/* Hero photo (index.html) */
.hero-photo {
  margin: 24px 0 0;
  border-radius: 8px;
  overflow: hidden;
  height: 200px;
  max-width: 480px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Services + plans responsive */
@media (max-width: 1100px) {
  .svc-peek-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-peek-card:nth-child(2) { border-right: none; }
  .svc-peek-card:nth-child(1),
  .svc-peek-card:nth-child(2) { border-bottom: 1px solid var(--line); }
  .consult-band-inner { grid-template-columns: 300px 1fr 1fr; gap: 40px; }
  .consult-band-photo { height: 320px; }
}
@media (max-width: 900px) {
  .svc-step-banner { height: 220px; }
  .svc-step-banner .svc-step-num { font-size: 56px; min-width: 56px; }
  .svc-step-banner-content { padding: 0 28px; gap: 20px; }
  .consult-band-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .consult-band-photo { grid-column: 1 / -1; height: 260px; }
}
@media (max-width: 768px) {
  .svc-peek-grid { grid-template-columns: 1fr; }
  .svc-peek-card { border-right: none; border-bottom: 1px solid var(--line); }
  .svc-peek-card:last-child { border-bottom: none; }
  .svc-step-banner { height: 180px; }
  .svc-step-banner .svc-step-num { display: none; }
  .svc-step-banner-content { padding: 0 20px; }
  .svc-bottom-inner { grid-template-columns: 1fr; gap: 40px; }
  .svc-bottom-right { min-width: auto; }
  .consult-band-inner { grid-template-columns: 1fr; gap: 36px; }
  .consult-band-photo { height: 220px; }
  .svc-cta-bar { flex-direction: column; align-items: flex-start; }
  .hero-photo { height: 160px; }
}

/* ── Client portal: Get Started screen ─────────────────────────── */
.cp-getstarted-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.cp-getstarted-card {
  max-width: 540px;
  width: 100%;
  text-align: center;
  padding: 56px 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
}
.cp-getstarted-icon {
  font-size: 48px;
  margin-bottom: 24px;
}
.cp-getstarted-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--dark);
  margin: 0 0 16px;
}
.cp-getstarted-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 32px;
}
.cp-getstarted-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cp-getstarted-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.cp-getstarted-note a { color: var(--dark); }
}
