/* =========================================================================
   JCD IT Solutions — styles.css
   Brand: deep navy + kintsugi gold, warmed up for a friendly, welcoming feel.
   Light warm hero, rounded shapes, soft shadows, gentle motion.
   ========================================================================= */

/* ---- Web font (self-hosted variable font; see assets/fonts/OFL.txt) ------
   Montserrat is kept as the brand face for the web build.
   To switch to licensed Gotham later, see the README. */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;   /* variable font: covers all weights */
  font-style: normal;
  font-display: swap;
}

/* =========================== Design tokens =============================== */
:root {
  --navy:        #16283F;
  --navy-900:    #0f1d2e;
  --navy-800:    #152741;
  --navy-card:   #1e3454;
  --gold:        #C6A252;
  --gold-bright: #D9BA6B;
  --gold-deep:   #7E6329;   /* AA-safe for small text on all page backgrounds */

  --ink:         #23303F;   /* body text on light (a touch warmer/softer) */
  --slate:       #566579;   /* muted text on light (AA on paper) */

  /* Warmer, friendlier paper tones */
  --paper:       #FCF8F1;   /* warm cream page */
  --paper-2:     #F6EEE1;   /* deeper cream for alternating sections */
  --peach:       #FBEAD6;   /* soft warm glow accent */
  --peach-soft:  #FDF3E7;
  --line:        #ECE3D3;   /* hairlines on light */

  --on-navy:       #EEF2F7; /* text on navy */
  --on-navy-muted: #C0CAD9; /* muted text on navy (AA) */
  --line-navy:     rgba(198,162,82,0.24);

  --wrap: 1160px;

  /* Rounder = friendlier */
  --radius:    22px;
  --radius-lg: 30px;
  --radius-sm: 14px;

  /* Soft, warm-tinted shadows */
  --shadow:      0 26px 50px -28px rgba(72,52,20,0.40);
  --shadow-soft: 0 16px 36px -24px rgba(72,52,20,0.30);
  --shadow-gold: 0 14px 30px -14px rgba(198,162,82,0.55);

  /* Gentle "bouncy" easing for a playful, friendly touch */
  --ease:       cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ============================== Reset =================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.68;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;             /* guard against accidental h-scroll */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.14; font-weight: 700; letter-spacing: -0.015em; }
ul { list-style: none; padding: 0; }

/* ============================ Utilities ================================= */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2.5rem); }

.kicker {
  display: inline-flex; align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.kicker::before {
  content: ""; display: inline-block;
  width: 1.6rem; height: 3px; vertical-align: middle;
  margin-right: 0.7rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}
.kicker-onDark { color: var(--gold-bright); }

.gold { color: var(--gold-deep); }

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: 1rem; top: -3.5rem;
  background: var(--navy); color: #fff;
  padding: 0.6rem 1rem; border-radius: 0 0 12px 12px;
  z-index: 200; font-weight: 600; text-decoration: none;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---- Focus visibility (keyboard) ---- */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================= Buttons ================================== */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  min-height: 50px;                 /* comfortable, friendly touch target */
  padding: 0.8rem 1.7rem;
  font: inherit; font-weight: 700; font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent; border-radius: 999px;
  cursor: pointer;
  transition: transform 0.22s var(--ease-bounce), background-color 0.18s var(--ease),
              color 0.18s var(--ease), box-shadow 0.22s var(--ease);
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(-1px) scale(0.99); }
.btn-sm { min-height: 44px; padding: 0.55rem 1.2rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn-gold { --btn-bg: var(--gold); --btn-fg: #241a08; box-shadow: var(--shadow-gold); }
.btn-gold:hover { --btn-bg: var(--gold-bright); }

.btn-navy { --btn-bg: var(--navy); --btn-fg: #fff; box-shadow: var(--shadow-soft); }
.btn-navy:hover { --btn-bg: var(--navy-800); }

/* Ghost button for LIGHT backgrounds (friendly navy outline) */
.btn-ghost {
  --btn-bg: transparent; --btn-fg: var(--navy);
  border-color: rgba(22,40,63,0.22);
}
.btn-ghost:hover { --btn-bg: #fff; border-color: var(--navy); box-shadow: var(--shadow-soft); }

/* Ghost button for DARK backgrounds */
.btn-ghost-light {
  --btn-bg: transparent; --btn-fg: var(--on-navy);
  border-color: rgba(238,242,247,0.4);
}
.btn-ghost-light:hover { --btn-bg: rgba(238,242,247,0.1); border-color: var(--on-navy); }

.btn[disabled] {
  cursor: not-allowed; opacity: 0.55;
  transform: none; box-shadow: none;
}

/* ============================== Header ================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,248,241,0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: auto; height: 40px; }

.primary-nav ul {
  display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem);
}
.primary-nav a {
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  color: var(--ink); padding: 0.4rem 0; position: relative;
}
.primary-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold);
  border-radius: 2px;
  transition: width 0.22s var(--ease);
}
.primary-nav a:not(.btn):hover::after,
.primary-nav a:not(.btn):focus-visible::after { width: 100%; }

/* Mobile toggle — hidden unless JS is present (no-JS keeps full nav visible) */
.nav-toggle { display: none; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform 0.22s var(--ease), opacity 0.18s var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

/* ============================== Hero =================================== */
/* Friendly light, warm hero with soft floating shapes. */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 70% at 85% 0%, var(--peach) 0%, rgba(251,234,214,0) 55%),
    radial-gradient(80% 80% at 8% 100%, var(--peach-soft) 0%, rgba(253,243,231,0) 60%),
    var(--paper);
  color: var(--ink);
  padding: clamp(4rem, 11vh, 8rem) 0 clamp(4.5rem, 11vh, 8rem);
}

/* Soft floating blobs (the friendly, organic replacement for circuit lines) */
.hero-veins { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(6px); opacity: 0.55;
}
.hero-blob-1 {
  width: 320px; height: 320px; top: -60px; right: 6%;
  background: radial-gradient(circle at 35% 35%, rgba(217,186,107,0.55), rgba(198,162,82,0.12) 70%);
  animation: floatY 9s var(--ease) infinite alternate;
}
.hero-blob-2 {
  width: 220px; height: 220px; bottom: -40px; left: 4%;
  background: radial-gradient(circle at 40% 40%, rgba(251,234,214,0.9), rgba(251,234,214,0) 70%);
  animation: floatY 11s var(--ease) infinite alternate-reverse;
}
.hero-blob-3 {
  width: 140px; height: 140px; top: 40%; right: 34%;
  background: radial-gradient(circle at 40% 40%, rgba(217,186,107,0.4), rgba(217,186,107,0) 70%);
  animation: floatY 7s var(--ease) infinite alternate;
}
.hero-inner { position: relative; z-index: 1; max-width: 60ch; }
.hero-hello {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 0.4rem 0.95rem;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--gold-deep); box-shadow: var(--shadow-soft);
  margin-bottom: 1.4rem;
}
.hero-hello .wave { font-size: 1.05rem; display: inline-block; transform-origin: 70% 70%; }

.hero-title {
  font-size: clamp(2.6rem, 6vw + 0.5rem, 5rem);
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1.4rem;
}
.hero-lead {
  color: var(--slate);
  font-size: clamp(1.08rem, 0.98rem + 0.55vw, 1.32rem);
  max-width: 48ch; margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }

/* Friendly reassurance pills */
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255,255,255,0.7); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.45rem 0.95rem;
  font-size: 0.85rem; font-weight: 600; color: var(--ink);
}
.trust-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(198,162,82,0.18);
}

/* ---- Soft wavy section dividers (gentle colour transitions) ---- */
.wave-divider { display: block; width: 100%; line-height: 0; }
.wave-divider svg { display: block; width: 100%; height: 56px; }
.wave-to-navy { background: var(--paper); }
.wave-to-navy svg path { fill: var(--navy); }
.wave-from-navy { background: var(--paper-2); }
.wave-from-navy svg path { fill: var(--navy); }

/* ============================= Sections ================================= */
.section { padding: clamp(4rem, 9vh, 7rem) 0; scroll-margin-top: 90px; }
.section-head { max-width: 60ch; margin-bottom: clamp(2.25rem, 5vh, 3.5rem); }
.section-title {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);
  color: var(--navy); margin-bottom: 0.9rem;
}
.section-title-light { color: #fff; }
.section-intro { color: var(--slate); font-size: 1.08rem; max-width: 52ch; }
.section-intro-light { color: var(--on-navy-muted); }

/* ---- Services ---- */
.services { background: var(--paper); }
.service-grid {
  display: grid; gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.card {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.1rem 1.85rem 1.85rem;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform 0.28s var(--ease-bounce), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.card:hover, .card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow); border-color: #e4d7b8;
}
/* Friendly rounded number badge */
.card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem;
  font-size: 1.15rem; font-weight: 800; color: var(--gold-deep);
  background: var(--peach); border-radius: 16px;
  margin-bottom: 1rem; line-height: 1;
  transition: transform 0.28s var(--ease-bounce), background-color 0.2s var(--ease);
}
.card:hover .card-num, .card:focus-within .card-num {
  transform: rotate(-6deg) scale(1.06); background: var(--gold-bright); color: #241a08;
}
.card-title { font-size: 1.35rem; color: var(--navy); margin-bottom: 0.6rem; }
.card-summary { color: var(--ink); margin-bottom: 1rem; }
.card-for { color: var(--slate); font-size: 0.95rem; margin-bottom: 1.1rem; }
.card-for .label {
  display: inline-block; font-weight: 700; color: var(--ink);
  text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.12em;
  margin-right: 0.35rem;
}
.card-list { display: grid; gap: 0.6rem; margin-bottom: 1.6rem; }
.card-list li { position: relative; padding-left: 1.6rem; color: var(--ink); font-size: 0.96rem; }
.card-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  font-weight: 800; color: var(--gold-deep); font-size: 0.95rem;
}
.card-link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-weight: 700; text-decoration: none; color: var(--navy);
  border-bottom: 2px solid rgba(22,40,63,0.16); padding-bottom: 3px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.card-link:hover, .card-link:focus-visible {
  border-bottom-color: var(--gold); transform: translateX(2px);
}

/* ---- Approach (dark — kept as a warm contrast beat, softened) ---- */
.approach {
  background:
    radial-gradient(80% 120% at 90% 0%, #22406a 0%, rgba(34,64,106,0) 45%),
    var(--navy);
  color: var(--on-navy);
}
.steps {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  counter-reset: step;
}
.step {
  position: relative; padding: 1.9rem 1.6rem;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line-navy); border-radius: var(--radius);
  transition: transform 0.28s var(--ease-bounce), background-color 0.2s var(--ease);
}
.step:hover { transform: translateY(-5px); background: rgba(255,255,255,0.07); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.8rem; height: 2.8rem; margin-bottom: 1.1rem;
  font-weight: 800; color: var(--navy-900); background: var(--gold);
  border-radius: 18px; font-size: 1rem;
}
.step-title { font-size: 1.22rem; color: #fff; margin-bottom: 0.5rem; }
.step-text { color: var(--on-navy-muted); font-size: 0.97rem; }

/* ---- About (light, two column) ---- */
.about { background: var(--paper-2); }
.about-inner {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  grid-template-columns: 1.35fr 1fr;
}
.about-copy p { margin-bottom: 1.1rem; max-width: 60ch; }
.pull-quote {
  margin-top: 1.9rem; padding: 1.4rem 1.6rem;
  background: #fff; border: 1px solid var(--line);
  border-left: 5px solid var(--gold); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  font-size: clamp(1.2rem, 1rem + 1.2vw, 1.75rem);
  font-weight: 700; letter-spacing: -0.01em; color: var(--navy);
  line-height: 1.3;
}
.about-mark { display: flex; justify-content: center; }
.about-logo { width: auto; max-height: 240px; }

/* ---- Contact (light) ---- */
.contact { background: var(--paper); }
.contact-inner {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr 1.05fr; align-items: start;
}
.contact-copy p { color: var(--slate); max-width: 46ch; margin-bottom: 1.5rem; }
.contact-direct { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.contact-direct-label {
  font-weight: 700; color: var(--ink); margin-bottom: 0.85rem !important;
  text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.14em;
}

/* ---- Form ---- */
.contact-form-wrap {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.form-status {
  font-weight: 600; border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; margin-bottom: 1.1rem;
}
.form-status:empty { display: none; }
.form-status.is-error { background: #FBE9E7; border: 1px solid #F0B4AC; color: #8A2116; }
.form-status.is-ok { background: #E7F4EC; border: 1px solid #A8D8BC; color: #1C6B3E; }
.form-status.is-info { background: #FBF3DE; border: 1px solid #EBD9A8; color: #7a5210; }

.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.45rem; color: var(--ink); }
.req { color: var(--gold-deep); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.8rem 1rem; background: var(--paper);
  border: 1.5px solid #ded7c8; border-radius: var(--radius-sm);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 4px rgba(198,162,82,0.2);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192,57,43,0.14);
}
.field-error { color: #A2261A; font-size: 0.85rem; margin-top: 0.4rem; font-weight: 600; }

/* Honeypot: visually hidden but reachable to bots, not to AT users */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.privacy-note { margin-top: 1rem; font-size: 0.82rem; color: var(--slate); line-height: 1.55; }

/* ============================== Footer ================================= */
.site-footer {
  background: var(--navy-900); color: var(--on-navy);
  padding-top: 3.25rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;   /* soft, friendly top */
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 2rem 3rem;
  justify-content: space-between; align-items: flex-start;
  padding-bottom: 2.25rem;
}
.wordmark { display: flex; align-items: baseline; gap: 0.6rem; }
.wm-jcd {
  font-weight: 800; font-size: 1.6rem; letter-spacing: 0.02em; color: #fff;
}
.wm-sub {
  font-weight: 600; font-size: 0.78rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
}
.footer-tag { margin-top: 0.5rem; color: var(--on-navy-muted); font-size: 0.95rem; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--gold-bright); }

.footer-base {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding: 1.5rem 0 2.25rem;
  border-top: 1px solid var(--line-navy);
  font-size: 0.86rem; color: var(--on-navy-muted);
}
.footer-contact a { color: var(--gold-bright); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }

/* Placeholder markers (visible reminder that setup is pending) */
.is-placeholder { outline: 2px dashed rgba(198,162,82,0.6); outline-offset: 3px; }

/* ============================ Responsive =============================== */
@media (max-width: 860px) {
  /* Show the toggle and collapse the nav ONLY when JS is available. */
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.55rem;
    background: none; border: 0; cursor: pointer;
    font: inherit; font-weight: 600; color: var(--navy);
    padding: 0.5rem; min-height: 44px;
  }
  .nav-toggle-label { font-size: 0.9rem; }

  .js .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s var(--ease);
  }
  .js .primary-nav > ul { overflow: hidden; }
  .js .primary-nav.open { grid-template-rows: 1fr; }

  .js .primary-nav ul {
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 0.5rem clamp(1.25rem, 5vw, 2.5rem) 1.25rem;
  }
  .js .primary-nav li { border-bottom: 1px solid var(--line); }
  .js .primary-nav li:last-child { border-bottom: 0; }
  .js .primary-nav a:not(.btn) { display: block; padding: 0.95rem 0; }
  .js .primary-nav .nav-cta-item { margin-top: 0.85rem; }
  .js .primary-nav .btn { width: 100%; }

  .site-header { position: sticky; }
}

@media (max-width: 760px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-mark { order: -1; }
  .about-logo { max-height: 170px; }
  .contact-inner { grid-template-columns: 1fr; }
}

/* Larger screens: cap service/step grids to a tidy row */
@media (min-width: 980px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* ======================= Motion / reveal =============================== */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
/* staggered hero reveals */
.js .hero .reveal:nth-child(1) { transition-delay: 0.05s; }
.js .hero .reveal:nth-child(2) { transition-delay: 0.14s; }
.js .hero .reveal:nth-child(3) { transition-delay: 0.24s; }
.js .hero .reveal:nth-child(4) { transition-delay: 0.34s; }
.js .hero .reveal:nth-child(5) { transition-delay: 0.44s; }

@media (prefers-reduced-motion: no-preference) {
  /* gentle floating blobs */
  @keyframes floatY {
    from { transform: translateY(0); }
    to   { transform: translateY(-22px); }
  }
  /* friendly one-off wave on load */
  .hero-hello .wave { animation: wave 2.4s var(--ease) 0.6s 2; }
  @keyframes wave {
    0%,60%,100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card:hover, .step:hover { transform: none; }
  .hero-blob { animation: none !important; }
  * { scroll-behavior: auto !important; }
}
