/* Steven Sits shared stylesheet: stevensits.com/site.css
   Loaded by stevensits.com, portal.stevensits.com and every page that follows.
   Built by styles/build_site_css.py from the Brand Design System + styles/base.css.
   Edit those, never this file. See STYLES.md. */

/* Colors, sizes and fonts: generated from the Brand Design System. Don't edit here. */
:root {
  --bg: #FAF9F6;
  --bg-alt: #F3F1EB;
  --bg-card: #FFFFFF;
  --text: #2B2B2B;
  --body: #3A3A3A;
  --sub: #6B6B6B;
  --muted: #6F6C65;
  --accent: #8A9E8A;
  --accent-l: #A8BEA8;
  --accent-head: #6F8570;
  --accent-text: #5E735F;
  --focus-ring: var(--accent-text);
  --sage-tint: rgba(138,158,138,0.15);
  --wa-tint: #EEF2ED;
  --border: #E6E4DE;
  --divider: #EAE7E1;
  --btn: #2B2B2B;
  --btn-h: #444444;
  --wa: #1A7F4B;
  --on-fill: #FFFFFF;
  --badge-overnight: #5E735F;
  --badge-visit: #A8603F;
  --warm: #6A5F4E;
  --terracotta: #C07A5A;
  --star: #E6A820;
  --teal: #00A69B;
  --rover-green: #00B462;
  --mmh-orange: #F7782F;
  --logo-line: #8A9E8A;
  --logo-name: #2B2B2B;
  --logo-sits: #6F8570;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 28px rgba(0,0,0,0.09);
  --shadow-lg: 0 14px 44px rgba(0,0,0,0.12);
  --shadow-wa-card: 0 14px 32px rgba(43,43,43,0.07);
}
:root {
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 36px;
  --space-2xl: 44px;
  --space-section: 68px;
  --space-cta: 72px;
  --wa-pad-top: 96px;
  --wa-pad-x: 84px;
  --wa-pad-bottom: 88px;
  --radius-badge: 4px;
  --radius-sm: 8px;
  --radius-photo: 10px;
  --radius-hero: 12px;
  --radius: 14px;
  --radius-tile: 18px;
  --radius-wa-tile: 34px;
  --radius-wa-card: 40px;
  --radius-pill: 999px;
  --max: 700px;
  --wide: 900px;
  --tap-target: 44px;
  --header-logo: 44px;
  --footer-logo: 28px;
  --wa-canvas-width: 1080px;
  --wa-canvas-height: 1350px;
  --wa-safe-line: 1138px;
  --wa-tile: 157px;
  --wa-logo-width: 520px;
  --font-sans: Manrope, system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}
/* Dark mode follows the visitor's phone or computer setting. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1A1A1A;
    --bg-alt: #212121;
    --bg-card: #292929;
    --text: #F0EDE6;
    --body: #D4D0C8;
    --sub: #A8A49C;
    --muted: #9A968E;
    --accent: #A8BEA8;
    --accent-l: #A8BEA8;
    --accent-head: #A8BEA8;
    --accent-text: #A8BEA8;
    --focus-ring: var(--accent-text);
    --sage-tint: rgba(168,190,168,0.14);
    --wa-tint: #EEF2ED;
    --border: #363636;
    --divider: #2E2E2E;
    --btn: #363636;
    --btn-h: #464646;
    --wa: #1A7F4B;
    --on-fill: #FFFFFF;
    --badge-overnight: #5E735F;
    --badge-visit: #4F7380;
    --warm: #C0BAB2;
    --terracotta: #C07A5A;
    --star: #E6A820;
    --teal: #00A69B;
    --rover-green: #00B462;
    --mmh-orange: #F7782F;
    --logo-line: #B9C7B9;
    --logo-name: #FAF9F6;
    --logo-sits: #B9C7B9;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.22);
    --shadow-md: 0 6px 28px rgba(0,0,0,0.3);
    --shadow-lg: 0 14px 44px rgba(0,0,0,0.12);
    --shadow-wa-card: 0 14px 32px rgba(43,43,43,0.07);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1A1A1A;
  --bg-alt: #212121;
  --bg-card: #292929;
  --text: #F0EDE6;
  --body: #D4D0C8;
  --sub: #A8A49C;
  --muted: #9A968E;
  --accent: #A8BEA8;
  --accent-l: #A8BEA8;
  --accent-head: #A8BEA8;
  --accent-text: #A8BEA8;
  --focus-ring: var(--accent-text);
  --sage-tint: rgba(168,190,168,0.14);
  --wa-tint: #EEF2ED;
  --border: #363636;
  --divider: #2E2E2E;
  --btn: #363636;
  --btn-h: #464646;
  --wa: #1A7F4B;
  --on-fill: #FFFFFF;
  --badge-overnight: #5E735F;
  --badge-visit: #4F7380;
  --warm: #C0BAB2;
  --terracotta: #C07A5A;
  --star: #E6A820;
  --teal: #00A69B;
  --rover-green: #00B462;
  --mmh-orange: #F7782F;
  --logo-line: #B9C7B9;
  --logo-name: #FAF9F6;
  --logo-sits: #B9C7B9;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.22);
  --shadow-md: 0 6px 28px rgba(0,0,0,0.3);
  --shadow-lg: 0 14px 44px rgba(0,0,0,0.12);
  --shadow-wa-card: 0 14px 32px rgba(43,43,43,0.07);
  color-scheme: dark;
}

/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── CONTAINERS ──────────────────────────────────────────── */
.wrap { max-width: var(--max);  margin: 0 auto; padding: 0 24px; }
.wide { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.hero-anim {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(.22,.61,.36,1) both;
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.stagger-in { animation: fadeUp 0.4s ease both; }

/* ── SERVICE BADGES ─────────────────────────────────────── */
.service-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-fill);
  background: var(--badge-overnight);
  padding: 3px 10px 3px;
  border-radius: var(--radius-badge);
  margin-bottom: 10px;
}
.service-badge--visit { background: var(--badge-visit); }

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  max-width: var(--wide);
  margin: 0 auto;
}
.header-logo {
  height: var(--header-logo);
  width: auto;
  display: block;
}
.header-logo--dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .header-logo--light { display: none; }
  :root:not([data-theme="light"]) .header-logo--dark  { display: block; }
}
:root[data-theme="dark"] .header-logo--light { display: none; }
:root[data-theme="dark"] .header-logo--dark  { display: block; }
.btn-wa-sm {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--wa);
  color: var(--on-fill);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: opacity .18s;
}
.btn-wa-sm:hover { opacity: .86; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: background .18s, opacity .18s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark  { background: var(--btn); color: var(--on-fill); }
.btn-dark:hover { background: var(--btn-h); }
.btn-wa    { background: var(--wa); color: var(--on-fill); }
.btn-wa:hover { opacity: .86; }
.btn-ghost {
  background: transparent;
  color: var(--sub);
  border: 1px solid var(--border);
  font-weight: 600;
}
.btn-ghost:hover { border-color: var(--sub); }
/* Secondary: the second way to act, next to the green WhatsApp button (e.g. the intake form).
   Sage outline; the label stays at 4.5:1 or better on bg and bg-alt, so hover turns white rather than tinted. */
.btn-secondary { background: transparent; color: var(--accent-text); border: 1.5px solid var(--accent-head); font-weight: 700; padding: 12.5px 26.5px; }
.btn-secondary:hover { background: var(--bg-card); border-color: var(--accent-text); }
.btn-secondary-sm {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: var(--tap-target);
  padding: 9px 17px; border: 1.5px solid var(--accent-head); border-radius: var(--radius-sm);
  background: transparent; color: var(--accent-text); font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: background .18s, border-color .18s;
}
.btn-secondary-sm:hover { background: var(--bg-card); border-color: var(--accent-text); }

/* ── SECTIONS AND HEADINGS ───────────────────────────────── */
.section     { padding: 68px 0; }
.section-alt { padding: 68px 0; background: var(--bg-alt); }
.logo-link { display: block; text-decoration: none; }
.section-h {
  font-size: clamp(28px, 4.5vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}
.section-h em {
  font-style: italic;
  color: var(--accent-head);
}

/* ── BODY COPY ───────────────────────────────────────────── */
.body-copy {
  font-size: 18px;
  color: var(--body);
  line-height: 1.82;
  max-width: 600px;
}
.body-copy p + p { margin-top: 18px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  padding: 36px 24px;
  border-top: 1px solid var(--divider);
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-logo { height: var(--footer-logo); width: auto; display: block; margin-bottom: 20px; opacity: .75; }
.footer-logo--dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer-logo--light { display: none; }
  :root:not([data-theme="light"]) .footer-logo--dark  { display: block; opacity: .85; }
}
:root[data-theme="dark"] .footer-logo--light { display: none; }
:root[data-theme="dark"] .footer-logo--dark  { display: block; opacity: .85; }
.footer-text { font-size: 13px; color: var(--muted); line-height: 1.85; }
.footer-text a { color: var(--sub); }
.footer-text a:hover { text-decoration: underline; }

/* ── UTILS ───────────────────────────────────────────────── */
.mt-sm { margin-top: 10px; }
.mt-md { margin-top: 20px; }
.fs-sm  { font-size: 14px; }
.text-sub { color: var(--sub); }

/* ── ACCESSIBILITY (Oct 2026: Apple HIG + WCAG AA) ───────── */
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }
.btn-wa-sm { min-height: var(--tap-target); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-anim, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ── FORMS (intake form and any future Steven Sits form) ─────── */
.fm-q { margin: 0 0 30px; }
.fm-label { display: block; font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 6px; }
.fm-label .fm-req { color: var(--accent-text); margin-left: 3px; }
.fm-hint { display: block; font-size: 15px; font-weight: 400; color: var(--sub); line-height: 1.6; margin-bottom: 10px; }
.fm-input, .fm-select, .fm-textarea {
  display: block; width: 100%; min-height: var(--tap-target);
  font: 400 17px/1.4 var(--font-sans); color: var(--text);
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.fm-textarea { min-height: 110px; resize: vertical; }
.fm-select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-head) 50%), linear-gradient(135deg, var(--accent-head) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat;
}
.fm-input:focus, .fm-select:focus, .fm-textarea:focus { outline: 2px solid var(--focus-ring); outline-offset: 1px; border-color: transparent; }
.fm-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px var(--space-sm); }
.fm-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-sm); }
.fm-choices--sm { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.fm-choice { position: relative; display: block; cursor: pointer; }
.fm-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fm-choice-box {
  display: flex; flex-direction: column; gap: 4px; height: 100%; min-height: var(--tap-target);
  padding: 14px 16px; background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color .15s, background .15s;
}
.fm-choice-title { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.35; }
.fm-choice-sub { font-size: 14px; font-weight: 400; color: var(--sub); line-height: 1.5; }
.fm-choice:hover .fm-choice-box { border-color: var(--accent); }
.fm-choice input:checked + .fm-choice-box { border-color: var(--accent-head); background: var(--sage-tint); box-shadow: inset 0 0 0 1px var(--accent-head); }
.fm-choice input:focus-visible + .fm-choice-box { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.fm-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 6px; margin: 0 0 var(--space-sm); }
.fm-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.fm-card-title { font-size: 13.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-text); }
.fm-link-btn { font: 600 15px/1.2 var(--font-sans); color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; min-height: var(--tap-target); padding: 0 4px; }
.fm-note { font-size: 15px; line-height: 1.6; color: var(--body); background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 12px; }
.fm-error { font-size: 15px; font-weight: 600; color: #A4553F; margin-top: 8px; }
.fm-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fm-error { color: #E39A86; } }
:root[data-theme="dark"] .fm-error { color: #E39A86; }
