/* =================================================================
   Strong Kids Malta — Core Stylesheet
   Warm Scandinavian palette, editorial type, hand-made details.
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Warm earthy Scandi palette */
  --paper:        #FBF6EC;   /* base background, warm off-white */
  --paper-2:      #F4EAD9;   /* slightly deeper cream */
  --sand:         #EADBC2;   /* warm sand panels */
  --clay:         #D98A6A;   /* terracotta / clay accent */
  --clay-deep:    #C26A4A;
  --ochre:        #E3A857;   /* mustard sun */
  --sage:         #7C9070;   /* muted garden green */
  --sage-deep:    #54684C;
  --sky:          #93B0BC;   /* dusty calm blue */
  --berry:        #B9587A;   /* soft warm pink-berry, sparing */
  --ink:          #34302A;   /* warm near-black text */
  --ink-soft:     #6A6258;   /* secondary text */
  --line:         #E2D4BE;   /* hairline on cream */
  --white:        #FFFDF8;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand:    'Caveat', 'Comic Sans MS', cursive;

  /* Rhythm */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 18px;
  --radius-lg: 32px;
  --radius-xl: 48px;

  --shadow-sm: 0 2px 10px rgba(52,48,42,.06);
  --shadow:    0 14px 40px -18px rgba(52,48,42,.28);
  --shadow-lg: 0 30px 70px -30px rgba(52,48,42,.40);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 540;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); font-variation-settings: "SOFT" 30, "WONK" 1; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
p  { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clay-deep);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--clay);
  border-radius: 2px;
}

.hand {
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--clay-deep);
  line-height: 1;
}

/* word with a hand-drawn underline */
.scribble { position: relative; white-space: nowrap; color: var(--clay-deep); }
.scribble svg {
  position: absolute;
  left: -2%; bottom: -.32em;
  width: 104%; height: .42em;
  overflow: visible;
  color: var(--ochre);
}
.scribble svg path {
  fill: none; stroke: currentColor; stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 400; stroke-dashoffset: 400;
}
.reveal.in .scribble svg path,
.scribble.draw svg path { animation: draw 1s var(--ease) forwards .35s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-wide { max-width: 1360px; }
.wrap-narrow { max-width: 760px; }
section { position: relative; }
.section-pad { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-pad-sm { padding-block: clamp(3rem, 6vw, 5rem); }

.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 56ch; }

.center { text-align: center; }
.center .lede, .center .eyebrow { margin-inline: auto; }
.stack > * + * { margin-top: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: 1rem;
  padding: .95rem 1.6rem;
  border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-primary { background: var(--clay); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--clay-deep); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { transform: translateY(-3px); background: #46403799; background: #464037; }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); padding: .85rem 1.5rem; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.btn-wa { background: #25D366; color: #06351b; }
.btn-wa:hover { background: #1fbd5a; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.08rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--clay-deep);
  border-bottom: 2px solid transparent;
  transition: gap .25s var(--ease), border-color .25s;
}
.link-arrow svg { width: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover { border-color: var(--clay); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem; border-radius: 100px;
  font-size: .82rem; font-weight: 600;
  background: var(--white); border: 1px solid var(--line);
  color: var(--ink);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.badge-sticker {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--ochre); color: #4a3410;
  font-weight: 700; font-size: .8rem; letter-spacing: .04em;
  padding: .5rem 1rem; border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}

/* =================================================================
   HEADER / NAV
   ================================================================= */
.topbar {
  background: var(--ink); color: var(--paper);
  font-size: .82rem; text-align: center;
  padding: .5rem 1rem; letter-spacing: .02em;
}
.topbar a { color: var(--ochre); font-weight: 600; }
.topbar .spark { color: var(--ochre); }

.site-header {
  position: sticky; top: 0; z-index: 90;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding-block: .7rem;
}
.site-header.scrolled {
  background: rgba(251,246,236,.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-weight: 500; font-size: .98rem;
  padding: .5rem .8rem; border-radius: 100px;
  color: var(--ink); position: relative;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--sand); }
.nav-links a.active { color: var(--clay-deep); font-weight: 600; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: .15rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--clay);
  transform: translateX(-50%);
}
.nav-cta { display: flex; align-items: center; gap: .6rem; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .65rem; }
.logo .mark { width: 44px; height: 44px; flex: none; }
.logo .mark .leaf-l { transform-origin: 22px 30px; animation: sway 4s ease-in-out infinite; }
.logo .mark .leaf-r { transform-origin: 22px 30px; animation: sway 4s ease-in-out infinite reverse; }
.logo .mark .ray { transform-origin: 22px 22px; }
.logo:hover .mark .ray { animation: spin-rays 6s linear infinite; }
@keyframes sway { 0%,100%{ transform: rotate(-4deg);} 50%{ transform: rotate(4deg);} }
@keyframes spin-rays { to { transform: rotate(360deg); } }
.logo .word { display: flex; flex-direction: column; line-height: .98; }
.logo .word b { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -.01em; }
.logo .word span { font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

/* Burger */
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); align-items: center; justify-content: center; }
.burger span { display: block; position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 80;
  background: var(--paper); padding: 6rem var(--gutter) 2rem;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .45s var(--ease), opacity .3s, visibility .45s;
  display: flex; flex-direction: column; gap: .25rem;
}
body.menu-open .mobile-nav { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav a { font-family: var(--font-display); font-size: 1.8rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.mobile-nav a.active { color: var(--clay-deep); }
.mobile-nav .btn { margin-top: 1.2rem; justify-content: center; }

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; padding-top: clamp(1rem, 3vw, 2.5rem); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero .lede { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-trust { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--paper);
  margin-left: -10px; display: grid; place-items: center; color: var(--white); font-weight: 700; font-size: .85rem;
}
.hero-trust small { color: var(--ink-soft); font-size: .9rem; line-height: 1.3; }
.hero-trust b { color: var(--ink); }

/* Hero visual: arch image + floating chips */
.hero-art { position: relative; }
.arch {
  position: relative;
  aspect-ratio: 4/4.4;
  border-radius: 50% 50% 14px 14px / 38% 38% 10px 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 10px solid var(--white);
}
.arch img, .arch .ph { width: 100%; height: 100%; object-fit: cover; }
.hero-art { position: relative; }
.hero-art .blob { position: absolute; z-index: -1; }
.float-chip {
  position: absolute; background: var(--white);
  border-radius: 16px; box-shadow: var(--shadow);
  padding: .7rem .9rem; display: flex; align-items: center; gap: .6rem;
  font-size: .85rem; font-weight: 600; max-width: 210px;
  animation: bob 5s ease-in-out infinite;
  z-index: 10;
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-chip.c1 { top: 8%; left: -6%; }
.float-chip.c2 { bottom: 14%; right: -8%; animation-delay: 1.2s; }
.float-chip.c3 { bottom: -3%; left: 8%; animation-delay: .6s; transform: rotate(-3deg); }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }
.float-chip.c3 { animation-name: bob3; }
@keyframes bob3 { 0%,100%{ transform: translateY(0) rotate(-3deg);} 50%{ transform: translateY(-10px) rotate(-3deg);} }

/* =================================================================
   PLACEHOLDER IMAGERY (no external assets needed)
   ================================================================= */
.ph {
  position: relative; width: 100%; height: 100%;
  display: grid; place-items: center; overflow: hidden;
  background: var(--sand);
}
.ph::after {
  content: attr(data-label);
  position: absolute; bottom: 10px; right: 12px;
  font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(52,48,42,.45); font-weight: 700;
}
.ph-clay   { background: linear-gradient(145deg, #E9A98C, #D98A6A); }
.ph-sage   { background: linear-gradient(145deg, #93A687, #7C9070); }
.ph-sky    { background: linear-gradient(145deg, #AEC6D0, #93B0BC); }
.ph-ochre  { background: linear-gradient(145deg, #EFC07E, #E3A857); }
.ph-sand   { background: linear-gradient(145deg, #F0E2CB, #EADBC2); }
.ph .ph-fig { width: 56%; height: 56%; opacity: .9; }

/* =================================================================
   MARQUEE
   ================================================================= */
.marquee { background: var(--ink); color: var(--paper); padding: 1.1rem 0; overflow: hidden; position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: clamp(1.1rem,2vw,1.6rem); padding-inline: 1.4rem; white-space: nowrap; }
.marquee-track span::after { content: "✸"; color: var(--ochre); margin-left: 2.8rem; font-size: .8em; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* =================================================================
   CARDS / GRIDS (intentionally non-uniform)
   ================================================================= */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .98rem; }

/* topic / program card */
.topic-card { position: relative; overflow: hidden; }
.topic-card .ic-wrap {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.topic-card .ic-wrap svg { width: 30px; height: 30px; }
.topic-card .tag { font-size: .78rem; color: var(--ink-soft); font-weight: 600; }

/* note-card overlapping style for intro */
.note-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.note-card.tilt-l { transform: rotate(-1.5deg); }
.note-card.tilt-r { transform: rotate(1.5deg); }

/* Section heads */
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin: .8rem 0 1rem; }

/* color block backgrounds */
.bg-sand { background: var(--paper-2); }
.bg-sage { background: var(--sage-deep); color: var(--paper); }
.bg-sage h1,.bg-sage h2,.bg-sage h3 { color: var(--white); }
.bg-sage p { color: #E7E2D6; }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.bg-ink p { color: #D8D2C6; }
.bg-clay { background: var(--clay); color: var(--white); }
.bg-clay h2 { color: var(--white); }
.bg-clay p { color: #FCEDE5; }

/* =================================================================
   STEPS (how it works)
   ================================================================= */
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; position: relative; }
.step .num {
  counter-increment: step; width: 56px; height: 56px; flex: none;
  border-radius: 50%; background: var(--clay); color: var(--white);
  font-family: var(--font-display); font-size: 1.5rem; display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.step .num::before { content: counter(step); }
.step:nth-child(2) .num { background: var(--sage); }
.step:nth-child(3) .num { background: var(--ochre); color: #4a3410; }
.step:nth-child(4) .num { background: var(--sky); }

/* =================================================================
   TESTIMONIALS
   ================================================================= */
.quote-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  position: relative; break-inside: avoid;
}
.quote-card .qmark { font-family: var(--font-display); font-size: 4rem; line-height: .6; color: var(--ochre); }
.quote-card p { color: var(--ink); font-size: 1.05rem; }
.quote-card .who { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.quote-card .who .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white); font-weight: 700; flex: none; }
.quote-card .who b { display: block; font-size: .95rem; }
.quote-card .who small { color: var(--ink-soft); }
.stars { color: var(--ochre); letter-spacing: 2px; font-size: .95rem; }
.masonry { columns: 3; column-gap: clamp(1.2rem,2.5vw,1.8rem); }
.masonry > * { margin-bottom: clamp(1.2rem,2.5vw,1.8rem); }

/* =================================================================
   FAQ accordion
   ================================================================= */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; font-family: var(--font-display); font-size: clamp(1.1rem,1.8vw,1.35rem); color: var(--ink); }
.faq-q .ic { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 2px solid var(--clay); display: grid; place-items: center; position: relative; transition: .3s var(--ease); }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--clay-deep); border-radius: 2px; transition: .3s var(--ease); }
.faq-q .ic::before { width: 13px; height: 2px; } .faq-q .ic::after { width: 2px; height: 13px; }
.faq-item.open .faq-q .ic { background: var(--clay); transform: rotate(135deg); }
.faq-item.open .faq-q .ic::before, .faq-item.open .faq-q .ic::after { background: var(--white); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.faq-a-inner { padding-bottom: 1.4rem; color: var(--ink-soft); max-width: 64ch; }

/* =================================================================
   BLOG
   ================================================================= */
.article-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-card .thumb { aspect-ratio: 16/10; }
.article-card .body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.article-card .cat { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clay-deep); }
.article-card h3 { font-size: 1.3rem; margin: .5rem 0 .6rem; }
.article-card .meta { margin-top: auto; padding-top: 1rem; font-size: .85rem; color: var(--ink-soft); display: flex; gap: .5rem; align-items: center; }

/* =================================================================
   SHOP / BOOK
   ================================================================= */
.book-3d { perspective: 1400px; width: 100%; }
.book-3d .book {
  width: 100%;
  position: relative; aspect-ratio: 3/4.2; border-radius: 6px 12px 12px 6px;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-22deg) rotateX(4deg); transform-style: preserve-3d;
  transition: transform .6s var(--ease);
}
.book-3d:hover .book { transform: rotateY(-8deg) rotateX(2deg); }
.book-3d .book::before { content: ""; position: absolute; top: 2%; left: 0; width: 22px; height: 96%; background: rgba(0,0,0,.12); transform: translateZ(-1px) translateX(-11px) rotateY(90deg); }
.book-3d .book .spine { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: rgba(0,0,0,.18); border-radius: 6px 0 0 6px; }
.price-tag { font-family: var(--font-display); font-size: 2rem; color: var(--ink); }
.price-tag .old { font-size: 1.1rem; color: var(--ink-soft); text-decoration: line-through; margin-left: .5rem; font-family: var(--font-body); }

.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card .pthumb { aspect-ratio: 1/1; border-radius: var(--radius); margin-bottom: 1rem; }

/* =================================================================
   FORMS (visual only)
   ================================================================= */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .field select {
  font: inherit; padding: .85rem 1rem; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px rgba(217,138,106,.15); }
.field textarea { resize: vertical; min-height: 130px; }

/* =================================================================
   FLOATING WHATSAPP + BACK TO TOP
   ================================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  display: flex; align-items: center; gap: .65rem;
  background: #25D366; color: #06351b; font-weight: 700;
  padding: .8rem 1.1rem .8rem .85rem; border-radius: 100px;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float .lbl { white-space: nowrap; }
.wa-float .ring { position: absolute; inset: 0; border-radius: 100px; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70%,100%{ box-shadow: 0 0 0 18px rgba(37,211,102,0);} }

.to-top { position: fixed; left: 22px; bottom: 22px; z-index: 94; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s var(--ease); }
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top svg { width: 18px; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(3.5rem,7vw,6rem); position: relative; overflow: hidden; }
.site-footer .wave { position: absolute; top: -1px; left: 0; width: 100%; color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; color: var(--ochre); }
.site-footer a { color: #D8D2C6; font-size: .95rem; display: inline-block; padding: .25rem 0; transition: color .2s, transform .2s; }
.site-footer a:hover { color: var(--white); transform: translateX(3px); }
.site-footer .logo .word b { color: var(--white); }
.site-footer .logo .word span { color: #A39C8E; }
.site-footer p { color: #C7C1B5; font-size: .95rem; }
.foot-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; }
.foot-social a:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-3px); }
.foot-social svg { width: 18px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.5rem 0 1.5rem 4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #A39C8E; }
.foot-bottom a { color: #A39C8E; }

.news-form { display: flex; gap: .5rem; margin-top: 1rem; background: rgba(255,255,255,.08); padding: .4rem; border-radius: 100px; }
.news-form input { flex: 1; background: transparent; border: none; color: var(--paper); padding: .6rem 1rem; font: inherit; }
.news-form input::placeholder { color: #A39C8E; }
.news-form input:focus { outline: none; }
.news-form button { background: var(--clay); color: var(--white); border-radius: 100px; width: 44px; height: 44px; display: grid; place-items: center; flex: none; transition: background .2s; }
.news-form button:hover { background: var(--clay-deep); }

/* =================================================================
   PAGE HEADER (interior pages)
   ================================================================= */
.page-head { padding-top: clamp(2.5rem,5vw,4rem); padding-bottom: clamp(2.5rem,5vw,4rem); position: relative; overflow: hidden; }
.page-head .crumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.page-head .crumb a { color: var(--clay-deep); font-weight: 600; }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: 1.2rem; }

/* =================================================================
   DECOR (organic shapes / doodles)
   ================================================================= */
.decor { position: absolute; z-index: 0; pointer-events: none; }
.section-pad > .wrap, .hero > .wrap, .page-head > .wrap { position: relative; z-index: 1; }
.spin-slow { animation: spin-rays 22s linear infinite; }
.float-slow { animation: bob 7s ease-in-out infinite; }

/* divider blobs between sections */
.wave-top svg, .wave-bottom svg { display: block; width: 100%; height: auto; }

/* =================================================================
   SCROLL REVEAL
   ================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; }
.reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; }
.reveal[data-d="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================================================================
   FEATURE / SPLIT
   ================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.split.flip .split-media { order: 2; }
.split-media .frame { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow); border: 8px solid var(--white); }
.tick-list { display: grid; gap: .85rem; margin-top: 1.5rem; }
.tick-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink); }
.tick-list .ck { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--sage); display: grid; place-items: center; margin-top: .1rem; }
.tick-list .ck svg { width: 14px; color: var(--white); }

/* stat row */
.stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem,5vw,4rem); }
.stat b { font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3.2rem); display: block; line-height: 1; color: var(--clay-deep); }
.stat span { font-size: .9rem; color: var(--ink-soft); }
.bg-sage .stat b { color: var(--ochre); }
.bg-ink .stat b { color: var(--ochre); }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 440px; margin-inline: auto; order: -1; }
  .split { grid-template-columns: 1fr; }
  .split.flip .split-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .g-4 { grid-template-columns: repeat(2,1fr); }
  .masonry { columns: 2; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost, .nav-cta .btn-wa { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-chip.c1 { left: 0; top: 2%; } .float-chip.c2 { right: 0; }
  .wa-float .lbl { display: none; }
  .wa-float { padding: .85rem; }
  .hero-trust { gap: .8rem; }
  .foot-bottom { flex-direction: column; text-align: center; padding-left: 0; padding-bottom: 1.5rem; }
}
@media (max-width: 560px) {
  .float-chip { display: none; }
}
