/* ================================================================
   SIVABALAN WOOD WORKS — Stylesheet
   Table of contents:
   1.  Design tokens
   2.  Reset & base
   3.  Layout utilities
   4.  Typography helpers
   5.  Buttons
   6.  Header / navigation
   7.  Hero
   8.  About
   9.  Section divider / dovetail motifs
   10. Services
   11. Products
   12. Why Us
   13. Process timeline
   14. CTA banner
   15. Contact
   16. Footer
   17. Floating buttons
   18. Scroll-reveal animation
   19. Responsive breakpoints
   20. Reduced motion / accessibility
================================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Brand palette (from brief) */
  --cream: #F8F4EC;
  --beige: #EFE4D2;
  --wood-tint: #E8D7BE;
  --walnut: #6B4423;
  --walnut-dark: #52341b;
  --dark-text: #3A2618;
  --golden: #B8864A;
  --golden-light: #d3a874;

  /* Derived */
  --white: #ffffff;
  --overlay-dark: rgba(58, 38, 24, 0.58);
  --overlay-darker: rgba(31, 20, 12, 0.72);
  --shadow-soft: 0 10px 30px rgba(58, 38, 24, 0.10);
  --shadow-med: 0 18px 40px rgba(58, 38, 24, 0.16);
  --shadow-lift: 0 22px 48px rgba(58, 38, 24, 0.22);

  /* Type */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  /* Layout */
  --container-w: 1220px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(.25,.8,.35,1);
}

/* ---------- 2. RESET & BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark-text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; color: var(--dark-text); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--golden);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--walnut);
  color: var(--cream);
  padding: .8em 1.2em;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. LAYOUT UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

.section-head { max-width: 640px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { color: #6b5947; font-size: 1.05rem; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--golden);
  font-size: .8rem;
  margin: 0 0 .9em;
  display: inline-block;
}
.eyebrow-light { color: var(--wood-tint); }

h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

/* ---------- 4. TYPOGRAPHY HELPERS ---------- */
em { font-style: italic; color: var(--golden); }

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .95em 1.9em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background-color .28s var(--ease), color .28s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary {
  background: var(--walnut);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--walnut-dark); transform: translateY(-3px); box-shadow: var(--shadow-med); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(248,244,236,.55);
  color: var(--cream);
}
.btn-outline-light:hover { background: rgba(248,244,236,.14); transform: translateY(-3px); border-color: var(--cream); }

.btn-small { padding: .65em 1.4em; font-size: .85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- 6. HEADER / NAVIGATION ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 500;
  background: rgba(248, 244, 236, 0.0);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(248, 244, 236, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 24px rgba(58,38,24,.08);
  height: 72px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark-text);
  line-height: 1.1;
  display: flex; flex-direction: column;
}
.brand-text em { font-style: normal; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--golden); }

/* While the header floats transparently over the hero image, flip its
   text to light so it stays readable against the dark photo overlay.
   Once .is-scrolled adds the cream background, text returns to dark. */
.site-header:not(.is-scrolled) .brand-text { color: var(--cream); }
.site-header:not(.is-scrolled) .nav-link { color: var(--cream); }
.site-header:not(.is-scrolled) .nav-link.is-active { color: var(--golden-light); }
.site-header:not(.is-scrolled) .menu-toggle span { background: var(--cream); }

.main-nav ul { display: flex; gap: 30px; }
.nav-link {
  font-size: .92rem;
  font-weight: 500;
  color: var(--dark-text);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--golden);
  transition: width .3s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--walnut); }

.nav-cta { margin-left: 4px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  padding: 0;
}
.menu-toggle span {
  width: 100%; height: 2px;
  background: var(--dark-text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,20,12,.55) 0%, rgba(58,38,24,.55) 45%, rgba(31,20,12,.82) 100%);
}
.hero-content { position: relative; z-index: 1; padding-top: var(--header-h); max-width: 760px; }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: .35em;
}
.dovetail-rule { width: 160px; height: 16px; margin: 0 0 1.6em; opacity: .9; }
.dovetail-rule svg { width: 100%; height: 100%; }
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--wood-tint);
  max-width: 560px;
  margin-bottom: 2.2em;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(248,244,236,.6); border-radius: 20px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--cream); border-radius: 3px;
  animation: scrollCue 1.8s infinite ease-in-out;
}
@keyframes scrollCue { 0%,100% { opacity: 1; transform: translateY(0);} 50% { opacity: .3; transform: translateY(10px);} }

/* ---------- 8. ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-media { position: relative; }
.about-media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4/5;
}
.about-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media-inset {
  position: absolute; right: -8%; bottom: -10%;
  width: 42%; aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-med);
}
.about-media-inset img { width: 100%; height: 100%; object-fit: cover; }
.about-years {
  position: absolute; left: -6%; top: 8%;
  background: var(--walnut);
  color: var(--cream);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-med);
  font-size: .78rem;
  line-height: 1.3;
  display: flex; flex-direction: column;
}
.about-years span { font-family: var(--font-heading); font-size: 1.7rem; color: var(--golden-light); }

.about-copy h2 { margin-bottom: .55em; }
.feature-list { margin-top: 1.8em; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .icon {
  flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px;
  color: var(--golden);
  background: var(--wood-tint);
  border-radius: 50%;
  padding: 6px;
  box-sizing: content-box;
}
.feature-list strong { display: block; font-family: var(--font-heading); font-size: 1.02rem; margin-bottom: .15em; }
.feature-list span { color: #6b5947; font-size: .92rem; }

/* ---------- 9. DOVETAIL DIVIDERS ---------- */
.section-divider { line-height: 0; }
.section-divider svg { width: 100%; height: 24px; display: block; }

/* ---------- 10. SERVICES ---------- */
.services { background: var(--beige); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease);
  border-bottom: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  border-bottom-color: var(--golden);
}
.icon-lg {
  width: 34px; height: 34px;
  color: var(--walnut);
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: .4em; }
.service-card p { font-size: .9rem; color: #6b5947; margin: 0; }

/* ---------- 11. PRODUCTS ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.product-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.product-card--wide { grid-column: span 2; }
.product-media { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
.product-card--wide .product-media { aspect-ratio: 16 / 8; }
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.08); }
.product-card figcaption {
  padding: 20px 22px 22px;
  background: var(--cream);
  flex: 1;
}
.product-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.product-card p { font-size: .86rem; color: #6b5947; margin: 0; }

/* ---------- 12. WHY US ---------- */
.why-us { background: var(--dark-text); color: var(--wood-tint); }
.why-us .eyebrow { color: var(--golden-light); }
.why-us h2 { color: var(--cream); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.why-card {
  position: relative;
  background: rgba(248,244,236,.04);
  border: 1px solid rgba(248,244,236,.12);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
  overflow: hidden;
}
.why-card:hover { background: rgba(248,244,236,.08); transform: translateY(-6px); }
.why-card .icon-lg { color: var(--golden-light); }
.why-card h3 { color: var(--cream); }
.why-card p { color: #cbb89c; font-size: .92rem; margin: 0; }
.why-corner {
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 34px 34px 0;
  border-color: transparent var(--golden) transparent transparent;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.why-card:hover .why-corner { opacity: .9; }

/* ---------- 13. PROCESS TIMELINE ---------- */
.process { background: var(--wood-tint); }
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  counter-reset: step;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 26px; left: 4%; right: 4%;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--golden) 0 10px, transparent 10px 16px);
}
.timeline-step { position: relative; padding-top: 66px; }
.timeline-num {
  position: absolute; top: 0; left: 0;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--walnut);
  color: var(--cream);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50%;
  border: 4px solid var(--wood-tint);
  box-shadow: var(--shadow-soft);
}
.timeline-step h3 { font-size: 1rem; margin-bottom: .35em; }
.timeline-step p { font-size: .86rem; color: #6b5947; margin: 0; }

/* ---------- 14. CTA BANNER ---------- */
.cta-banner { position: relative; padding: 130px 0; overflow: hidden; }
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, var(--overlay-darker), var(--overlay-dark)); }
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-content h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .7em; }
.cta-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* ---------- 15. CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.info-card {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.info-card h3 { margin-bottom: 1em; }
.info-card ul { display: grid; gap: 20px; }
.info-card li { display: flex; gap: 14px; align-items: flex-start; }
.info-card .icon { width: 20px; height: 20px; color: var(--walnut); flex-shrink: 0; margin-top: 3px; }
.info-card strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--golden); margin-bottom: .25em; }
.info-card a { font-weight: 500; }
.info-card a:hover { color: var(--walnut); }

.map-placeholder {
  margin-top: 22px;
  background: var(--wood-tint);
  border: 1.5px dashed var(--golden);
  border-radius: var(--radius-lg);
  padding: 46px 30px;
  text-align: center;
  color: #6b5947;
}
.map-placeholder svg { width: 32px; height: 32px; color: var(--walnut); margin-bottom: 10px; }
.map-placeholder p { margin: 0; font-size: .88rem; }

.contact-form {
  background: var(--cream);
  border: 1px solid var(--wood-tint);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5em; color: var(--dark-text); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: .85em 1em;
  border-radius: 10px;
  border: 1.5px solid var(--wood-tint);
  background: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--dark-text);
  transition: border-color .25s var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--golden);
  outline: none;
}
.form-row textarea { resize: vertical; }
.form-note { margin: 14px 0 0; font-size: .85rem; min-height: 1.2em; color: var(--walnut); font-weight: 500; }

/* ---------- 16. FOOTER ---------- */
.site-footer { background: var(--dark-text); color: var(--wood-tint); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(248,244,236,.12);
}
.footer-brand p { color: #b9a789; font-size: .9rem; max-width: 320px; margin-top: 14px; }
.footer-brand .brand-text { color: var(--cream); }
.social-icons { display: flex; gap: 12px; margin-top: 20px; }
.social-icons a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(248,244,236,.2);
  border-radius: 50%;
  color: var(--wood-tint);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.social-icons svg { width: 16px; height: 16px; }
.social-icons a:hover { background: var(--golden); border-color: var(--golden); color: var(--dark-text); }

.footer-col h4 { color: var(--cream); font-size: 1rem; margin-bottom: 1.1em; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: #b9a789; font-size: .92rem; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--golden-light); }
.footer-contact li { color: #b9a789; font-size: .92rem; }

.footer-bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 24px 24px;
  font-size: .84rem;
  color: #9c8a6e;
}
.footer-bottom-inner a { color: var(--golden-light); font-weight: 600; }
.footer-bottom-inner a:hover { text-decoration: underline; }

/* ---------- 17. FLOATING BUTTONS ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 400;
  width: 58px; height: 58px;
  background: var(--walnut);
  color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lift);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.whatsapp-float svg { width: 27px; height: 27px; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.05); background: var(--walnut-dark); }

.back-to-top {
  position: fixed; right: 22px; bottom: 92px; z-index: 400;
  width: 44px; height: 44px;
  background: var(--cream);
  color: var(--walnut);
  border: 1.5px solid var(--wood-tint);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.back-to-top svg { width: 18px; height: 18px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--walnut); color: var(--cream); }

/* ---------- 18. SCROLL-REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 19. RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-media { max-width: 460px; margin: 0 auto; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-card--wide { grid-column: span 2; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 46px; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 860px) {
  section { padding: 72px 0; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    box-shadow: 0 16px 30px rgba(58,38,24,.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s var(--ease);
  }
  .main-nav.is-open { max-height: 480px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  .main-nav li { border-bottom: 1px solid var(--wood-tint); }
  .nav-link { display: block; padding: 14px 0; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card--wide { grid-column: span 2; }
  .why-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .service-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card--wide { grid-column: span 1; }
  .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
  .about-media-inset { display: none; }
  .about-years { left: 0; }
  .whatsapp-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .back-to-top { right: 16px; bottom: 78px; }
}

/* ---------- 20. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { transform: none; }
}
