/* CB Horsemanship — shared site styles
   Approximates the GoDaddy Website Builder 8 "Tasty" template family
   used by the original site. Tokens here are the single source of truth
   so the admin can later expose a small subset (brand color, hours, etc.)
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Lusitana:wght@400;700&display=swap');

:root {
  /* Palette — refined editorial neutrals matching the live site.
     The live site is essentially black-on-white throughout; the dark
     band is reserved for the hero, nav, and footer. The "saddle-brown"
     accent I introduced earlier wasn't actually in the original — kept
     here only as a subtle hover color. */
  --color-bg:        #ffffff;
  --color-bg-alt:    #faf9f6;     /* very faint off-white for alt sections */
  --color-bg-dark:   #1a1a1a;     /* near-black used for nav/footer */
  --color-ink:       #1a1a1a;
  --color-ink-soft:  #4a4a4a;
  --color-ink-mute:  #888888;
  --color-line:      #e0ddd6;     /* thin rule color matching the live site */
  --color-accent:    #6b5538;     /* used sparingly */
  --color-accent-2:  #4a3a26;
  --color-on-dark:   #f0ede6;

  /* Typography
     - Lusitana for display/headlines (transitional Portuguese-style serif,
       confirmed by inspecting the live site's font stylesheet).
     - Lato for body and UI. */
  --font-display: 'Lusitana', Garamond, Georgia, 'Times New Roman', serif;
  --font-body:    'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --fs-hero:    clamp(2.75rem, 6vw, 5rem);
  --fs-h1:      clamp(2rem, 4vw, 3rem);
  --fs-h2:      clamp(1.625rem, 2.5vw, 2.125rem);
  --fs-h3:      clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-h4:      0.8125rem;     /* small caps section eyebrows */
  --fs-body:    1rem;
  --fs-small:   0.875rem;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --container-max: 1200px;
  --container-narrow: 900px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 600ms;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-accent-2);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--color-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 var(--sp-4);
  color: var(--color-ink);
  letter-spacing: 0.005em;
}

p { margin: 0 0 var(--sp-4); }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.section {
  padding: var(--sp-9) 0;
}
/* When a section directly follows a page-header, the page-header's
   bottom rule already provides the visual break — pull the section's
   top padding back so content doesn't float in space. */
.page-header + .section {
  padding-top: var(--sp-7);
}
.section-alt { background: var(--color-bg-alt); }
.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-on-dark);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--color-on-dark);
}

/* Section heading — matches the live site: left-aligned uppercase set in
   the body sans, with a thin full-width underline rule. Editorial,
   restrained, no centered ornaments. */
.section-heading {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin: 0 0 var(--sp-7);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--color-line);
  text-align: left;
}

/* ---------- Buttons
   Live site uses thin-bordered ghost buttons on dark hero, and a
   similar treatment in light contexts. Keeping the saddle-brown
   accent only for hover state. */
.btn {
  display: inline-block;
  padding: 0.875rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--color-ink);
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.btn:hover {
  background: var(--color-ink);
  color: #fff;
}
.btn-filled {
  background: var(--color-ink);
  color: #fff;
}
.btn-filled:hover {
  background: var(--color-accent-2);
  border-color: var(--color-accent-2);
  color: #fff;
}
.btn-on-dark {
  border-color: rgba(255,255,255,0.85);
  background: transparent;
  color: #fff;
}
.btn-on-dark:hover {
  background: #fff;
  color: var(--color-ink);
}
.btn-outline { /* legacy alias */
  background: transparent;
  color: var(--color-ink);
}
.btn-outline:hover {
  background: var(--color-ink);
  color: #fff;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-on-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-4);
}
.site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-brand-logo {
  display: block;
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);  /* logo is dark; force white over dark nav */
  transition: opacity var(--t-fast) var(--ease);
}
.site-brand:hover .site-brand-logo { opacity: 0.85; }

.site-nav {
  display: flex;
  gap: var(--sp-6);
  align-items: center;
}
.site-nav a {
  color: var(--color-on-dark);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.site-nav a:hover,
.site-nav a.is-active {
  border-bottom-color: rgba(255,255,255,0.85);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--color-on-dark);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-bg-dark);
    padding: var(--sp-4) 0;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  }
  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-nav a {
    display: block;
    padding: var(--sp-3) var(--sp-5);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--color-bg-dark);
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media iframe,
.hero-media video,
.hero-media img {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  min-width: 100%; min-height: 100%;
  object-fit: cover;
  pointer-events: none;
  border: 0;
}
/* Vimeo iframes need to be sized larger than viewport to crop UI artifacts */
.hero-media iframe {
  width: 177.77vh;          /* 16:9 based on viewport height */
  min-width: 100vw;
  height: 56.25vw;          /* 16:9 based on viewport width */
  min-height: 100vh;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.35) 40%,
    rgba(0,0,0,0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--sp-7) var(--sp-5);
  max-width: 900px;
}
.hero-content h1 {
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.hero-content p {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--sp-6);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Page header — sits on the same white background as the rest of the
   page, with a thin horizontal rule beneath that doubles as the section
   divider (matches the live site exactly). */
.page-header {
  background: var(--color-bg);
  color: var(--color-ink);
  padding: var(--sp-8) 0 0;
  text-align: left;
}
.page-header .container {
  border-bottom: 1px solid var(--color-line);
  padding-bottom: var(--sp-4);
}
.page-header h1 {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0;
}
.page-header .lede {
  max-width: 760px;
  margin: var(--sp-5) 0 0;
  font-size: 1.0625rem;
  color: var(--color-ink-soft);
  font-weight: 400;
  line-height: 1.7;
}

/* ---------- Service columns (home page "What We Do")
   Matches the live site exactly: 4 equal columns, circular photo,
   serif headline beneath, body text beneath that. No card chrome. */
.service-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-7);
  margin-bottom: var(--sp-8);
}
@media (max-width: 1024px) {
  .service-columns { grid-template-columns: repeat(2, 1fr); gap: var(--sp-7) var(--sp-6); }
}
@media (max-width: 560px) {
  .service-columns { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
}

.service-column {
  text-align: center;
}
.service-column-photo {
  display: block;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--sp-5);
  background: var(--color-bg-alt);
  position: relative;
}
.service-column-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.service-column-photo:hover img {
  transform: scale(1.04);
}
.service-column h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.375rem, 1.8vw, 1.625rem);
  margin: 0 0 var(--sp-4);
  letter-spacing: 0.01em;
  color: var(--color-ink);
}
.service-column p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
  margin: 0;
  padding: 0 var(--sp-3);
}

/* The original flip-card styles are kept commented out here in case we
   want to revive them for a future redesign. They were not used on the
   live site. */

/* ---------- Generic content blocks ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
}
.prose h2, .prose h3 {
  margin-top: var(--sp-7);
}
.prose h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-3);
  color: var(--color-ink);
  letter-spacing: 0.005em;
}
.prose h4:first-child { margin-top: 0; }
.prose p { line-height: 1.75; font-size: 1.0625rem; color: var(--color-ink-soft); }

/* About page: inline page heading sits at the top of the bio prose
   column, with the same uppercase + underline treatment as a
   full-width page-header but constrained to the left column. */
.about-bio-section {
  padding-top: var(--sp-7);
}
.page-heading-inline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-ink);
  margin: 0 0 var(--sp-7);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--color-line);
}

/* ---------- About page bio block ----------
   Two-column layout matching the live site: bio text on the left,
   large portrait image on the right that runs alongside the text. */
.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: var(--sp-8);
  align-items: start;
}
.bio-grid .bio-prose {
  max-width: 540px;
}
.bio-grid .bio-prose h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.625rem;
  margin-top: var(--sp-7);
  margin-bottom: var(--sp-3);
  color: var(--color-ink);
  letter-spacing: 0.005em;
}
.bio-grid .bio-prose h4:first-child { margin-top: 0; }
.bio-grid .bio-prose p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-ink-soft);
}
.bio-grid .bio-portrait {
  position: sticky;
  top: 100px;          /* clears the sticky header */
  align-self: start;
}
.bio-grid .bio-portrait img {
  width: 100%;
  height: auto;
  display: block;
  background: var(--color-bg-alt);
}
@media (max-width: 900px) {
  .bio-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .bio-grid .bio-prose { max-width: 100%; order: 2; }
  .bio-grid .bio-portrait { position: static; order: 1; }
  .bio-grid .bio-portrait img { max-height: 60vh; object-fit: cover; }
}

/* Two-column lessons & boarding */
.split-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-7);
}
.split-card {
  background: #fff;
  padding: var(--sp-6);
  border: 1px solid var(--color-line);
  overflow: hidden;       /* clip the bleeding image to the card border */
}
.split-card-image {
  display: block;
  /* Bleed the image past the padding on all three sides (top + L/R)
     so it touches the card's inner border. The image is then fully
     edge-to-edge across the card width.
     Note: explicit max-width: none overrides the global `img { max-width: 100% }`
     rule, which would otherwise clamp the bleed back to content-box width. */
  width: calc(100% + (var(--sp-6) * 2));
  max-width: none;
  margin-top:    calc(-1 * var(--sp-6));
  margin-left:   calc(-1 * var(--sp-6));
  margin-right:  calc(-1 * var(--sp-6));
  margin-bottom: var(--sp-5);
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: var(--color-bg-alt);
}
.split-card h3 {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.625rem;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--color-line);
  letter-spacing: 0.005em;
}
.split-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-ink-soft);
}
.split-card .pricing-note {
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  background: var(--color-bg-alt);
  border-left: 2px solid var(--color-ink);
  font-size: 0.9375rem;
  color: var(--color-ink);
}

/* Service hero (services page top block) */
.service-hero {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-7);
  align-items: start;
  margin-bottom: var(--sp-7);
}
.service-hero img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.service-hero-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-3);
  color: var(--color-ink);
  letter-spacing: 0.005em;
}
.service-hero-content h3:first-child { margin-top: 0; }
.service-hero-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-ink-soft);
}
.service-hero-content .pricing-note {
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  background: var(--color-bg-alt);
  border-left: 2px solid var(--color-ink);
  color: var(--color-ink);
}
@media (max-width: 768px) {
  .service-hero { grid-template-columns: 1fr; }
}

/* Pull quote */
.pull-quote {
  text-align: center;
  padding: var(--sp-9) var(--sp-5);
  background: var(--color-bg-alt);
  position: relative;
}
.pull-quote-image {
  background-image:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('https://img1.wsimg.com/isteam/ip/70b2668f-783e-4ac9-b8cf-f8be5b235fd0/084A0398.jpg/:/rs=w:1920,m');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: var(--sp-9);
  padding-bottom: var(--sp-9);
}
.pull-quote-image blockquote { color: #fff; }
.pull-quote-image cite { color: rgba(255,255,255,0.85); }
.pull-quote-image cite::before { background: rgba(255,255,255,0.7); }
.pull-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.4;
  margin: 0 auto var(--sp-5);
  max-width: 800px;
  color: var(--color-ink);
}
.pull-quote blockquote::before { content: '\201C'; }
.pull-quote blockquote::after  { content: '\201D'; }
.pull-quote cite {
  display: block;
  font-style: normal;
  font-size: var(--fs-small);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-ink-mute);
}
.pull-quote cite::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin: 0 auto var(--sp-3);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery a {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-alt);
  position: relative;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-med) var(--ease);
}
.gallery a:hover img { transform: scale(1.06); }

/* ---------- Contact section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form { display: flex; flex-direction: column; gap: var(--sp-4); }
.contact-form label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-ink-soft);
  margin-bottom: var(--sp-2);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: var(--fs-body);
  border: 1px solid var(--color-line);
  background: #fff;
  transition: border-color var(--t-fast) var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--color-accent);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .recaptcha-note {
  font-size: 0.75rem;
  color: var(--color-ink-mute);
  margin-top: var(--sp-3);
}
.contact-form .form-status {
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-small);
  display: none;
}
.contact-form .form-status.is-success { display: block; background: #e8f3e8; color: #2d5e2d; border-left: 3px solid #2d5e2d; }
.contact-form .form-status.is-error   { display: block; background: #f7e3e3; color: #8a2d2d; border-left: 3px solid #8a2d2d; }

.info-card { padding: 0; }
.info-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.375rem;
  margin-bottom: var(--sp-2);
  letter-spacing: 0.005em;
}
.info-card p { color: var(--color-ink-soft); }
.info-card .info-block { margin-bottom: var(--sp-6); }
.info-card .strong-note { font-weight: 400; color: var(--color-ink-soft); font-size: 0.9375rem; }

.hours-table { width: 100%; border-collapse: collapse; margin: var(--sp-4) 0; }
.hours-table td {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--color-line);
  font-size: var(--fs-body);
}
.hours-table td:first-child {
  font-weight: 700;
  font-size: 0.9375rem;
  width: 30%;
}
.hours-table tr:last-child td { border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-on-dark);
  padding: var(--sp-8) 0 var(--sp-5);
}
.site-footer a { color: var(--color-on-dark); }
.site-footer a:hover { color: var(--color-accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-7);
  margin-bottom: var(--sp-7);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,237,230,0.65);
  margin-bottom: var(--sp-4);
}
.footer-grid p { color: rgba(240,237,230,0.85); font-size: 0.9375rem; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-nav a { font-size: 0.9375rem; }

.social-links { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.social-links a {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240,237,230,0.25);
  border-radius: 50%;
  transition: all var(--t-fast) var(--ease);
}
.social-links a:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-ink);
}

.footer-bottom {
  border-top: 1px solid rgba(240,237,230,0.15);
  padding-top: var(--sp-5);
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(240,237,230,0.6);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-4);
  left: var(--sp-4);
  right: var(--sp-4);
  max-width: 480px;
  background: #fff;
  border: 1px solid var(--color-line);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: var(--sp-5);
  z-index: 200;
  transform: translateY(120%);
  transition: transform var(--t-med) var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner h4 { font-size: 1.0625rem; margin-bottom: var(--sp-2); }
.cookie-banner p  { font-size: var(--fs-small); margin-bottom: var(--sp-4); color: var(--color-ink-soft); }
.cookie-banner .btn { padding: 0.5rem 1.5rem; font-size: var(--fs-small); }

/* ---------- Reveal on scroll (subtle, respects reduced motion) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
