/* ==========================================================================
   Brilliant Pup Behavior — Design System
   Forest #1E3A2F · Cream #F5F0E8 · Terracotta #C4735A · Sage #8FA88C
   Cormorant Garamond (display) + DM Sans (body)
   ========================================================================== */

:root {
  /* Palette */
  --forest: #1E3A2F;
  --forest-deep: #122520;
  --forest-soft: #2F4F40;
  --cream: #F5F0E8;
  --cream-warm: #EAE2D2;
  --cream-deep: #DDD2BC;
  --terracotta: #C4735A;
  --terracotta-hover: #AE5F49;
  --sage: #8FA88C;
  --sage-soft: #B5C5B0;
  --charcoal: #2C2C2C;
  --charcoal-soft: #5A5A5A;
  --hairline: rgba(30, 58, 47, 0.12);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Scale */
  --text-hero: clamp(2.75rem, 6.2vw, 5.5rem);
  --text-xl: clamp(2rem, 3.6vw, 3rem);
  --text-lg: clamp(1.375rem, 2vw, 1.625rem);
  --text-base: 1.0625rem;
  --text-sm: 0.9375rem;
  --text-xs: 0.8125rem;

  /* Space */
  --space-section: clamp(4rem, 9vw, 8rem);
  --space-block: clamp(2.5rem, 5vw, 4rem);
  --max-w: 1240px;
  --max-w-prose: 64ch;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  font-feature-settings: 'kern' 1, 'liga' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--terracotta); }
button { font: inherit; cursor: pointer; }

/* Display type */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--forest);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: var(--text-hero); font-weight: 400; }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); font-weight: 600; }
p { margin: 0 0 1.1em; }
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 1.25rem;
  display: inline-block;
}

/* Layout */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.prose { max-width: var(--max-w-prose); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
  background: rgba(245, 240, 232, 0.97);
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav .brand { margin-right: auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand:hover { color: var(--forest); }
.brand svg { width: 36px; height: 36px; flex: 0 0 36px; }
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a.is-active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--terracotta);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--terracotta);
  color: var(--cream);
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  border: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-cta:hover { background: var(--terracotta-hover); color: var(--cream); transform: translateY(-1px); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--forest);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    inset: 70px 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem);
    background: var(--cream);
    border-top: 1px solid var(--hairline);
    transform: translateY(-110%);
    transition: transform 0.3s var(--ease);
    height: calc(100vh - 70px);
  }
  .nav-links a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0.9rem 0;
    width: 100%;
    border-bottom: 1px solid var(--hairline);
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-cta-wrap { display: none; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
  text-decoration: none;
}
.btn-primary { background: var(--terracotta); color: var(--cream); }
.btn-primary:hover { background: var(--terracotta-hover); color: var(--cream); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(245, 240, 232, 0.5); }
.btn-ghost:hover { background: rgba(245, 240, 232, 0.1); color: var(--cream); border-color: var(--cream); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-arrow::after { content: '→'; transition: transform 0.2s var(--ease); }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(3px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(560px, 80vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--forest);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 37, 32, 0.45) 0%, rgba(18, 37, 32, 0.15) 35%, rgba(18, 37, 32, 0.65) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 12vw, 8rem) 0 clamp(4rem, 10vw, 6rem);
}
.hero-eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-warm);
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--terracotta);
}
.hero h1 {
  color: var(--cream);
  max-width: 18ch;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-weight: 400;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero h1 em { font-style: normal; color: var(--cream-warm); }
.hero-sub {
  color: var(--cream-warm);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 52ch;
  line-height: 1.55;
  margin-bottom: 2.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding: clamp(5rem, 11vw, 7rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, var(--forest-soft) 0%, var(--forest) 60%);
  opacity: 0.9;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--terracotta); }
.page-hero h1 {
  color: var(--cream);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-style: italic;
  font-weight: 400;
  max-width: 20ch;
  margin-bottom: 1.25rem;
}
.page-hero p {
  color: var(--cream-warm);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 58ch;
  line-height: 1.55;
}

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: var(--space-section) 0; }
.section-cream { background: var(--cream); }
.section-cream-warm { background: var(--cream-warm); }
.section-forest { background: var(--forest); color: var(--cream); }
.section-forest h2, .section-forest h3 { color: var(--cream); }
.section-forest .eyebrow { color: var(--sage-soft); }

/* Credibility strip — thin band right under hero */
.cred-strip {
  background: var(--cream-warm);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 1.5rem 0;
}
.cred-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  text-align: center;
}
.cred-item {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.cred-item strong { color: var(--terracotta); font-weight: 600; }
.cred-divider { width: 1px; height: 22px; background: var(--hairline); }
@media (max-width: 640px) { .cred-divider { display: none; } }

/* Philosophy / manifesto */
.manifesto {
  text-align: center;
  max-width: 38ch;
  margin: 0 auto;
}
.manifesto h2 {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.manifesto p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--charcoal-soft);
  line-height: 1.65;
  max-width: 56ch;
  margin: 0 auto 1em;
}

/* Two-col editorial split (image + text) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.split-reverse { direction: rtl; }
.split.split-reverse > * { direction: ltr; }
.split-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -30px rgba(18, 37, 32, 0.4);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { margin-bottom: 1rem; }
.split-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}
.cred-pill {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--cream-warm);
  border: 1px solid var(--hairline);
  color: var(--forest);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 500;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-media { aspect-ratio: 4 / 3; max-width: 520px; margin: 0 auto; }
}

/* Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 2.25rem 2rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(18, 37, 32, 0.2);
  border-color: var(--sage);
}
.service-icon {
  width: 44px;
  height: 44px;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--charcoal-soft);
  line-height: 1.6;
  flex: 1;
}
.service-price {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  font-size: var(--text-sm);
}
.service-price strong { color: var(--forest); font-weight: 600; }

/* Behavior list */
.behavior-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 2rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}
.behavior-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: var(--text-base);
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.behavior-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  flex: 0 0 6px;
}

/* L.E.G.S. / FDM differentiator */
.legs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.legs-card {
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid rgba(245, 240, 232, 0.15);
  padding: 2rem;
  border-radius: 4px;
}
.legs-letter {
  font-family: var(--font-display);
  font-size: 3rem;
  font-style: italic;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.legs-card h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}
.legs-card p {
  font-size: var(--text-sm);
  color: var(--cream-warm);
  line-height: 1.55;
  margin: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.testimonial {
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: 2.25rem;
  border-radius: 4px;
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--sage);
  position: absolute;
  top: 0.5rem; left: 1.25rem;
  line-height: 1;
  opacity: 0.7;
}
.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--forest);
  position: relative;
  z-index: 1;
}
.testimonial cite {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--charcoal-soft);
  display: block;
}
.testimonial cite strong { color: var(--forest); font-weight: 600; display: block; margin-bottom: 0.15rem; }
.testimonial-placeholder {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  text-align: center;
  padding: 1rem 0;
  border-top: 1px dashed var(--hairline);
  margin-top: 2rem;
}

/* Final CTA */
.final-cta {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.final-cta h2 {
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  max-width: 22ch;
  margin: 0 auto 1rem;
}
.final-cta p {
  color: var(--cream-warm);
  max-width: 50ch;
  margin: 0 auto 2rem;
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: flex-start;
}
.contact-info dl { display: grid; gap: 1.75rem; margin: 2rem 0 0; }
.contact-info dt {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.contact-info dd {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  color: var(--forest);
}
.contact-info dd a { color: var(--forest); border-bottom: 1px solid var(--terracotta); }
.contact-info dd a:hover { color: var(--terracotta); }
.contact-form {
  background: var(--cream-warm);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 6px;
  border: 1px solid var(--hairline);
}
.form-row { margin-bottom: 1.25rem; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row label {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.form-row input, .form-row textarea {
  width: 100%;
  font: inherit;
  font-size: var(--text-base);
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  color: var(--charcoal);
  transition: border-color 0.2s var(--ease);
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.form-row textarea { min-height: 140px; resize: vertical; }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row.two-col { grid-template-columns: 1fr; }
}

/* Service area visual */
.service-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.service-area-card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: 1.5rem 1rem;
  border-radius: 4px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-area-card:hover { transform: translateY(-3px); border-color: var(--sage); }
.service-area-card::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--terracotta);
  border-radius: 50%;
  margin: 0 auto 0.75rem;
}
.service-area-card span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest);
  font-weight: 500;
}

/* Resource cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.resource-card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  padding: 2rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.resource-card:hover { transform: translateY(-3px); border-color: var(--sage); }
.resource-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.resource-card p { font-size: var(--text-sm); color: var(--charcoal-soft); flex: 1; margin-bottom: 1.25rem; }
.resource-card .resource-link { color: var(--terracotta); font-weight: 500; font-size: var(--text-sm); }
.resource-card .resource-link:hover { color: var(--terracotta-hover); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--forest-deep);
  color: var(--cream-warm);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .brand { color: var(--cream); margin-bottom: 1rem; }
.footer-brand .brand-text small { color: var(--sage-soft); }
.footer-brand p { font-size: var(--text-sm); color: var(--cream-warm); max-width: 32ch; line-height: 1.55; }
.footer-col h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col a { color: var(--cream-warm); font-size: var(--text-sm); }
.footer-col a:hover { color: var(--terracotta); }
.footer-bar {
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--text-xs);
  color: rgba(245, 240, 232, 0.55);
  letter-spacing: 0.02em;
}
.footer-creds { display: flex; gap: 1rem; align-items: center; }
.footer-creds span { letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
}

/* Reveal animation — only kicks in if JS adds .js-ready to <html> */
@media (prefers-reduced-motion: no-preference) {
  html.js-ready .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  }
  html.js-ready .reveal.is-visible { opacity: 1; transform: none; }
}

/* Selection */
::selection { background: var(--terracotta); color: var(--cream); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}
