/* ==========================================================================
   East Anglia Exteriors — main stylesheet
   Layout language: Leafora (numbered tags, highlight pills, split buttons,
   stacked service cards, dark CTA panel). Colours: client brand kit.
   ========================================================================== */

/* ---------- Font (self-hosted TikTok Sans, variable 300–700) ---------- */
@font-face {
  font-family: "TikTok Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/tiktok-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "TikTok Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/tiktok-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand (live Elementor kit + logo) */
  --navy: #001641;
  --navy-2: #0a2454;
  --blue: #2f83bf;
  --link: #1d6aa3; /* text links on white: 5.4:1 contrast */
  --green: #7aa443;
  --green-2: #8db659;
  --green-soft: #eef4e6;
  --teal: #008993;
  --cream: #f8f8f7;
  --tint: #f4f6f1;
  --ink: #222222;
  --charcoal: #303b41;
  --muted: #56626b;
  --white: #ffffff;
  --line: rgba(0, 22, 65, 0.12);
  --line-strong: rgba(0, 22, 65, 0.28);
  --line-light: rgba(255, 255, 255, 0.18);

  /* Type (Leafora scale) */
  --font: "TikTok Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --h1: clamp(2.5rem, 5vw, 5rem);
  --h2: clamp(2rem, 3.4vw, 3rem);
  --h3: clamp(1.5rem, 2.2vw, 2rem);
  --h5: 1.5rem;
  --h6: 1.25rem;
  --p: 1rem;
  --p-lg: 1.125rem;
  --p-sm: 0.875rem;

  /* Spacing + UI */
  --section: 7.5rem;
  --gutter: 1.5rem;
  --container: 80rem;
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --header-h: 7.75rem;
  --shadow: 0 1.5rem 3.5rem -1.5rem rgba(0, 22, 65, 0.28);
  --shadow-sm: 0 0.5rem 1.5rem -0.75rem rgba(0, 22, 65, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (max-width: 1024px) { :root { --section: 5rem; --header-h: 7rem; } }
@media (max-width: 640px)  { :root { --section: 3.5rem; --gutter: 1rem; --header-h: 6.25rem; } }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 2rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--p);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--navy); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: 1.5rem; }
h5 { font-size: var(--h5); }
h6 { font-size: var(--h6); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(52rem + var(--gutter) * 2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 999; background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

/* ---------- Prose (live copy) ---------- */
.prose { color: var(--muted); font-size: var(--p); }
.prose p { margin-bottom: 1rem; }
.prose strong, .prose b { color: var(--navy); font-weight: 600; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .4rem; }
.prose h2, .prose h3, .prose h4 { margin: 1.5rem 0 .75rem; }
.prose--sm { font-size: .9375rem; }

/* ---------- Highlight pill (Leafora) ---------- */
.hl {
  display: inline;
  background: var(--navy);
  color: var(--white);
  padding: 0 .28em .04em;
  border-radius: .5rem;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Section tag ("01 | LABEL") ---------- */
.tag { display: inline-flex; align-items: stretch; gap: .25rem; margin-bottom: 1.25rem; }
.tag__num:empty { display: none; }
.tag__num {
  display: inline-grid; place-items: center;
  min-width: 2rem; padding: .3rem .5rem;
  background: var(--green); color: var(--navy);
  font-size: .75rem; font-weight: 700; line-height: 1; border-radius: .375rem;
}
.tag__label {
  display: inline-flex; align-items: center;
  margin: 0; padding: .35rem .75rem;
  background: var(--white); color: var(--navy);
  border: 1px solid var(--line);
  font-size: .75rem; font-weight: 600; line-height: 1; letter-spacing: .04em; text-transform: uppercase;
  border-radius: .375rem;
}
.tag__label--deco::after { content: attr(data-label); }
.tag--dark .tag__label { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tag--light .tag__label { background: rgba(255,255,255,.08); color: var(--white); border-color: var(--line-light); backdrop-filter: blur(6px); }

/* ---------- Buttons (label + arrow box) ---------- */
.btn { display: inline-flex; align-items: stretch; gap: .125rem; font-size: .875rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.btn__label, .btn__icon { display: inline-flex; align-items: center; border-radius: var(--radius); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn__label { padding: 1.125rem 1.625rem; }
.btn__icon { padding: 0 1rem; }
.btn__icon .icon { width: 1.1rem; height: 1.1rem; transition: transform .25s var(--ease); }
.btn:hover .btn__icon .icon { transform: translateX(3px); }
.btn--primary .btn__label, .btn--primary .btn__icon { background: var(--green); color: var(--navy); }
.btn--primary:hover .btn__label, .btn--primary:hover .btn__icon { background: var(--green-2); }
.btn--dark .btn__label, .btn--dark .btn__icon { background: var(--navy); color: var(--white); }
.btn--dark:hover .btn__label, .btn--dark:hover .btn__icon { background: var(--navy-2); }
.btn--outline .btn__label, .btn--outline .btn__icon { background: var(--white); color: var(--navy); border: 1px solid var(--line); }
.btn--outline:hover .btn__label, .btn--outline:hover .btn__icon { border-color: var(--navy); }
.btn--sm .btn__label { padding: .875rem 1.25rem; }
.btn--sm .btn__icon { padding: 0 .8rem; }

.icon-btn { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); color: var(--navy); transition: background .2s, color .2s, border-color .2s; }
.icon-btn:hover { border-color: var(--navy); }
.icon-btn--solid { background: var(--navy); color: var(--white); border-color: var(--navy); }
.icon-btn--solid:hover { background: var(--navy-2); }
.pill { display: inline-block; padding: .5rem .9rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--green-soft); color: var(--navy); }
.pill--accent { background: var(--green); color: var(--navy); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--navy); background: var(--white); transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: .8125rem; overflow: hidden; max-height: 3rem; transition: max-height .3s var(--ease), opacity .3s; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.5rem; }
.topbar__list { display: flex; gap: 1.5rem; list-style: none; }
.topbar__list a { display: inline-flex; align-items: center; gap: .45rem; transition: color .2s; }
.topbar__list a:hover { color: var(--green); }
.topbar__list .icon { width: .95rem; height: .95rem; color: var(--green); }
.topbar__offer { color: var(--green); font-weight: 600; }

.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 5.25rem; }
.brand { display: inline-flex; flex: none; }
.brand__logo { width: auto; height: 3.5rem; transition: filter .3s; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-block; padding: .75rem .85rem; font-size: .8125rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; transition: color .2s; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--green); }
.nav__toggle { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; margin-left: -.6rem; background: none; border: 0; padding: 0; }
.nav__toggle .icon { width: .9rem; height: .9rem; transition: transform .2s; }
.nav__sub { position: absolute; top: 100%; left: 0; min-width: 17rem; padding: .5rem; list-style: none; background: var(--white); color: var(--navy); border-radius: var(--radius-lg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav__sub a { display: block; padding: .65rem .9rem; border-radius: var(--radius); font-size: .9375rem; font-weight: 500; }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--tint); color: var(--navy); }
.nav__item--has-sub:focus-within .nav__sub, .nav__item--has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1101px) {
  .nav__item--has-sub:hover .nav__sub { opacity: 1; visibility: visible; transform: none; }
}
.nav__mobile-extra { display: none; }
.navbar__actions { display: flex; align-items: center; gap: 1.25rem; }
.navbar__phone { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.navbar__phone .icon { color: var(--green); }
.burger { display: none; width: 3rem; height: 3rem; border-radius: var(--radius); border: 1px solid var(--line); background: transparent; place-items: center; }
.burger .icon { width: 1.4rem; height: 1.4rem; }
.burger__close { display: none; }

/* Transparent header over photo heroes */
.has-hero .site-header:not(.is-solid) { background: transparent; color: var(--white); }
.has-hero .site-header:not(.is-solid) .topbar { background: transparent; border-bottom: 1px solid var(--line-light); }
.has-hero .site-header:not(.is-solid) .brand__logo { filter: brightness(0) invert(1); }
.has-hero .site-header:not(.is-solid) .burger { border-color: var(--line-light); }
.has-hero .site-header:not(.is-solid) .nav__link:hover,
.has-hero .site-header:not(.is-solid) .nav__item.is-active > .nav__link { color: var(--green); }
.site-header.is-solid { box-shadow: 0 1px 0 var(--line), var(--shadow-sm); }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; }
.site-header.is-scrolled .navbar__inner { min-height: 4.5rem; }
.site-header.is-scrolled .brand__logo { height: 3rem; }
body:not(.has-hero) .site-main { padding-top: var(--header-h); }

@media (max-width: 1180px) {
  .navbar__phone { display: none; }
}
@media (max-width: 1100px) {
  .burger { display: inline-grid; }
  .navbar__cta { display: none; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0; z-index: 90;
    padding: 1.5rem var(--gutter) 2rem; overflow-y: auto;
    background: var(--white); color: var(--navy);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .burger__open { display: none; }
  .nav-open .burger__close { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav__link { flex: 1; padding: 1rem 0; font-size: 1rem; }
  .nav__toggle { width: 3rem; height: 3rem; margin: 0; }
  .nav__item.is-open .nav__toggle .icon { transform: rotate(180deg); }
  .nav__sub { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 .75rem; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__item.is-open > .nav__sub { display: block; animation: eae-sub-in .28s var(--ease); }
  .nav__mobile-extra { display: grid; gap: .75rem; margin-top: 1.5rem; }
  .nav__mobile-extra .contact-link { color: var(--navy); }
  .nav-open .site-header { background: var(--white) !important; color: var(--navy) !important; }
  .nav-open .site-header .brand__logo { filter: none !important; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .brand__logo { height: 2.75rem; }
  .navbar__inner { min-height: 4.25rem; }
  .topbar__list { gap: 1rem; }
  .topbar__list li:first-child + li { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section-head { max-width: 52rem; margin-bottom: 3.5rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .tag { justify-content: center; }
.section-title { font-size: var(--h2); }
.section-title--deco { margin: 0; color: var(--navy); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.section-title--deco::after { content: attr(data-label); }
.section-intro { margin-top: 1rem; font-size: var(--p-lg); font-weight: 400; color: var(--muted); line-height: 1.6; letter-spacing: 0; }
.section-head__text { margin-top: 1.25rem; font-size: var(--p-lg); }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; margin-bottom: 3.5rem; }
.split-head__text { font-size: var(--p); }
@media (max-width: 900px) { .split-head { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Photo hero base (inner pages) ---------- */
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,22,65,.92) 0%, rgba(0,22,65,.72) 45%, rgba(0,22,65,.35) 100%),
    linear-gradient(0deg, rgba(0,22,65,.85) 0%, rgba(0,22,65,0) 45%);
}
.page-hero__title .hl { background: var(--green); color: var(--navy); }

/* ---------- Home hero (Leafora home-v2) ----------
   Centred headline → looping image strip → large centre image overlapping the strip. */
.hero-v2 { position: relative; overflow: hidden; padding-top: clamp(2.5rem, 4.5vw, 4rem); background: var(--white); }
.hero-v2__head { display: grid; justify-items: center; text-align: center; max-width: calc(68rem + var(--gutter) * 2); }
.hero-v2__rating { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; padding: .45rem .9rem .45rem .7rem; border: 1px solid var(--line); border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--navy); }
.hero-v2__stars { display: inline-flex; gap: .1rem; color: var(--green); }
.hero-v2__stars .icon { width: .95rem; height: .95rem; }
.hero-v2__rating-label::after { content: attr(data-label); }
.hero-v2__title { font-size: clamp(2.125rem, 4.1vw, 4rem); line-height: 1.1; letter-spacing: -0.035em; }
.hero-v2__title .hl { padding: 0 .22em .05em; border-radius: .6rem; }
.hero-v2__lead { max-width: 46rem; margin-top: 1.25rem; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.125rem); font-weight: 400; line-height: 1.6; letter-spacing: 0; }
.hero-v2__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.hero-v2__phone { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--navy); }
.hero-v2__phone-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line); color: var(--green); transition: background .2s, border-color .2s; }
.hero-v2__phone:hover .hero-v2__phone-icon { background: var(--green-soft); border-color: var(--green); }

/* Dark label + green arrow (home-v2 button) */
.btn--duo .btn__label { background: var(--navy); color: var(--white); }
.btn--duo .btn__icon { background: var(--green); color: var(--navy); }
.btn--duo:hover .btn__label { background: var(--navy-2); }
.btn--duo:hover .btn__icon { background: var(--green-2); }

.hero-v2 { --words: 4; }
.hero-v2__gallery { --strip-h: clamp(12rem, 22vw, 19.5rem); --center-w: clamp(15rem, 31vw, 28rem); position: relative; margin-top: calc(var(--strip-h) * 0.41 + clamp(2rem, 3.5vw, 3rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-v2__strip { position: relative; overflow: hidden; }
.hero-v2__track { --gap: 1rem; display: flex; gap: var(--gap); width: max-content; animation: eae-marquee 60s linear infinite; will-change: transform; }
.hero-v2__gallery:hover .hero-v2__track { animation-play-state: paused; }
.hero-v2__slide { flex: none; width: calc(var(--strip-h) * 1.43); height: var(--strip-h); border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.hero-v2__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-v2__fade { position: absolute; top: 0; bottom: 0; z-index: 1; width: clamp(4rem, 12vw, 12rem); pointer-events: none; }
.hero-v2__fade--l { left: 0; background: linear-gradient(90deg, #fff 8%, rgba(255,255,255,0)); }
.hero-v2__fade--r { right: 0; background: linear-gradient(270deg, #fff 8%, rgba(255,255,255,0)); }
.hero-v2__center {
  position: absolute; z-index: 2; left: 50%; top: calc(var(--strip-h) * -0.41);
  width: var(--center-w); aspect-ratio: 448 / 540;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2rem 4rem -1.5rem rgba(0,22,65,.45), 0 0 0 6px rgba(255,255,255,1);
  transform: translate3d(-50%, var(--py, 0px), 0) scale(var(--ps, 1));
  transform-origin: 50% 100%;
}
.hero-v2__center img { width: 100%; height: 100%; object-fit: cover; }

@keyframes eae-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - var(--gap) / 2), 0, 0); } }

/* Entrance animation (JS adds .is-ready; without JS everything is simply visible) */
.js .hero-v2 [data-hero-in], .js .hero-v2__strip { opacity: 0; }
/* Headline is visible from the first paint (it's the LCP element); only the highlight pill animates in. */
.js .hero-v2__title .hl { background: linear-gradient(var(--navy), var(--navy)) no-repeat 0 0 / 0% 100%; color: var(--navy); }
.hero-v2.is-ready .hero-v2__title .hl { background-size: 100% 100%; color: var(--white); transition: background-size .9s var(--ease) .15s, color .35s var(--ease) .5s; }
.hero-v2.is-ready [data-hero-in] { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .hero-v2 [data-hero-in] { transform: translateY(18px); }
.hero-v2.is-ready .hero-v2__rating { transition-delay: 0ms; }
.hero-v2.is-ready .hero-v2__lead { transition-delay: calc(var(--words, 14) * 45ms + 200ms); }
.hero-v2.is-ready .hero-v2__actions { transition-delay: calc(var(--words, 14) * 45ms + 320ms); }
.js .hero-v2__strip { transform: translateY(40px); }
.hero-v2.is-ready .hero-v2__strip { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--words, 14) * 45ms + 380ms); }
.js .hero-v2__center { --ps: .86; }
.hero-v2.is-ready .hero-v2__center { --ps: 1; transition: opacity 1s var(--ease), transform 1.2s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--words, 14) * 45ms + 480ms); }
.hero-v2.is-settled .hero-v2__center { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-v2__track { animation: none; }
  .js .hero-v2 [data-hero-in], .js .hero-v2__strip, .js .hero-v2__center { opacity: 1 !important; transform: none; --ps: 1; }
  .js .hero-v2__title .hl { background-size: 100% 100%; color: var(--white); }
  .hero-v2__center { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 767px) {
  .hero-v2__gallery { --strip-h: 10.5rem; --center-w: min(62vw, 15rem); }
  .hero-v2__track { --gap: .6rem; animation-duration: 45s; }
  .hero-v2__actions { flex-direction: column; gap: 1rem; }
}

/* Home: horizontal "Request Your Free Quote" form + feature row */
.quote-strip { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--tint); border-radius: var(--radius-xl); border: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feature-row .feature + .feature { border-left: 1px solid var(--line); }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
}


.page-hero__word {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none; overflow: hidden;
  text-align: center; line-height: .74; white-space: nowrap;
}
.page-hero__word::before {
  content: attr(data-word);
  display: inline-block; transform: translateY(.06em);
  font-size: clamp(4.5rem, 15.5vw, 16rem); font-weight: 700; letter-spacing: -0.04em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.16);
}

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--white); }
.page-hero__inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 5rem); padding-bottom: clamp(6rem, 11vw, 10rem); max-width: calc(64rem + var(--gutter) * 2); margin-left: 0; margin-right: auto; }
@media (min-width: 1328px) { .page-hero__inner { margin-left: calc((100vw - var(--container)) / 2 - var(--gutter)); } }
.page-hero__title { color: var(--white); font-size: clamp(2rem, 4vw, 3.75rem); line-height: 1.1; letter-spacing: -0.03em; }
.page-hero__sub { margin-top: 1.25rem; color: rgba(255,255,255,.85); font-size: clamp(1.125rem, 1.6vw, 1.5rem); font-weight: 400; letter-spacing: -0.01em; }
.page-hero__text { margin-top: 1.25rem; color: rgba(255,255,255,.82); font-size: var(--p-lg); max-width: 40rem; }
.page-hero--plain { padding-top: 0; }
.page-hero--plain { background: var(--navy); }
.page-hero--plain::before { background: var(--navy); }
.page-hero--plain .page-hero__inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4rem; }
body:not(.has-hero) .page-hero--plain .page-hero__inner { padding-top: 3rem; }

/* ---------- Home feature strip ---------- */
.feature { display: flex; gap: 1.25rem; padding: 2rem; }
.feature__icon { display: inline-grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--green); color: var(--navy); }
.feature:nth-child(2) .feature__icon { background: var(--navy); color: var(--green); }
.feature__title { font-size: 1.25rem; margin-bottom: .35rem; }
.feature__desc { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }

/* ---------- Home about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-grid__text { display: grid; gap: 1.75rem; justify-items: start; }
.about-grid__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }
.mini-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.mini-feature__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--green); color: var(--navy); margin-bottom: 1.25rem; }
.mini-feature:nth-child(even) .mini-feature__icon { background: var(--navy); color: var(--green); }
.mini-feature__title { font-size: 1.375rem; margin-bottom: .5rem; }
.mini-feature p { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
@media (max-width: 1024px) { .about-grid { grid-template-columns: 1fr; gap: 2.5rem; } .mini-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .mini-features { grid-template-columns: 1fr; } }

/* ---------- Home products: bento photo grid ---------- */
.split-head__aside { display: grid; gap: 1.5rem; justify-items: start; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(13rem, 18vw, 16.5rem); gap: 1rem; }
.bento__tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); isolation: isolate; }
.bento__tile--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento__tile--2 { grid-column: 3; grid-row: 1; }
.bento__tile--3 { grid-column: 4; grid-row: 1; }
.bento__tile--4 { grid-column: 3; grid-row: 2; }
.bento__tile--5 { grid-column: 4; grid-row: 2; }
.bento__tile--6 { grid-column: 1; grid-row: 3; }
.bento__tile--7 { grid-column: 2 / 4; grid-row: 3; }
.bento__tile--cta { grid-column: 4; grid-row: 3; }

.bento__link { position: absolute; inset: 0; display: block; color: var(--white); }
.bento__media { position: absolute; inset: 0; z-index: -2; }
.bento__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform .9s var(--ease); }
.bento__link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,22,65,0) 30%, rgba(0,22,65,.35) 55%, rgba(0,16,48,.9) 100%); transition: background .5s var(--ease); }
.bento__link:hover .bento__media img, .bento__link:focus-visible .bento__media img { transform: scale(1.07); }
.bento__link:hover::after { background: linear-gradient(180deg, rgba(0,22,65,.1) 0%, rgba(0,22,65,.5) 45%, rgba(0,16,48,.94) 100%); }
.bento__link:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; border-radius: var(--radius-lg); }

.bento__num { position: absolute; top: 1rem; left: 1rem; padding: .35rem .55rem; border-radius: .375rem; background: var(--green); color: var(--navy); font-size: .75rem; font-weight: 700; line-height: 1; }
.bento__icon { position: absolute; top: .85rem; right: .85rem; display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); color: var(--white); transition: background .3s, color .3s, transform .4s var(--ease); }
.bento__icon .icon { width: 1.15rem; height: 1.15rem; }
.bento__link:hover .bento__icon { background: var(--green); border-color: var(--green); color: var(--navy); transform: rotate(-8deg); }

.bento__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .5rem; padding: 1.4rem; }
.bento__title { color: var(--white); font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.2; }
.bento__tile--1 .bento__title { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.bento__tile--1 .bento__body { padding: 2rem; gap: .75rem; }
.bento__desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: rgba(255,255,255,.82); font-size: .875rem; line-height: 1.55; }
.bento__tile--1 .bento__desc { max-width: 34rem; font-size: 1rem; }
.bento__more { display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.bento__more .icon { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.bento__link:hover .bento__more .icon { transform: translateX(4px); }

/* With a mouse: smaller tiles show the title only; the description and link slide up on hover */
@media (hover: hover) and (min-width: 641px) {
  .bento__tile:not(.bento__tile--1) .bento__desc,
  .bento__tile:not(.bento__tile--1) .bento__more { max-height: 0; opacity: 0; transform: translateY(8px); transition: max-height .5s var(--ease), opacity .4s var(--ease), transform .5s var(--ease); }
  .bento__tile:not(.bento__tile--1) .bento__link:hover .bento__desc,
  .bento__tile:not(.bento__tile--1) .bento__link:focus-visible .bento__desc { max-height: 5rem; opacity: 1; transform: none; }
  .bento__tile:not(.bento__tile--1) .bento__link:hover .bento__more,
  .bento__tile:not(.bento__tile--1) .bento__link:focus-visible .bento__more { max-height: 2rem; opacity: 1; transform: none; transition-delay: .06s; }
}

/* Call-to-action tile */
.bento__tile--cta { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.4rem; background: var(--navy); color: var(--white); }
.bento__tile--cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.4px); background-size: 18px 18px; }
.bento__tile--cta::after { content: ""; position: absolute; z-index: -1; right: -3rem; bottom: -3rem; width: 10rem; height: 10rem; border-radius: 50%; background: radial-gradient(circle, rgba(122,164,67,.4), transparent 70%); }
.bento__cta-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--green); color: var(--navy); }
.bento__cta-phone { font-size: clamp(1.25rem, 1.8vw, 1.625rem); font-weight: 600; letter-spacing: -0.01em; }
.bento__cta-phone:hover { color: var(--green); }

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 15rem; }
  .bento__tile { grid-column: auto !important; grid-row: auto !important; }
  .bento__tile--1 { grid-column: 1 / -1 !important; grid-row: span 2 !important; }
  .bento__tile--cta { grid-column: 1 / -1 !important; flex-direction: row; align-items: center; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 15rem; gap: .75rem; }
  .bento__tile--1 { grid-row: span 1 !important; }
  .bento__tile--1 .bento__body { padding: 1.4rem; }
  .bento__desc { -webkit-line-clamp: 2; }
  .bento__tile--cta { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .bento__media img { transition: none; } }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 1rem; }
.why-grid__media { grid-column: 2; grid-row: 1 / span 2; border-radius: var(--radius-lg); overflow: hidden; }
.why-grid__media img { width: 100%; height: 100%; object-fit: cover; }
.why-card { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 16rem; padding: 2rem; background: var(--tint); border-radius: var(--radius-lg); }
.why-card__icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: var(--radius); background: var(--white); color: var(--navy); }
.why-card__icon .icon { width: 1.6rem; height: 1.6rem; }
.why-card__title { font-size: 1.375rem; margin-bottom: .5rem; }
.why-card p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-grid__media { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } .why-card { min-height: 0; gap: 1.5rem; } }

/* ---------- Reviews ---------- */
.section--reviews { background: var(--tint); }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2rem) / 2); gap: 2rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; margin: 0; padding: 2rem; background: var(--white); border-radius: var(--radius-lg); }
.review__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.25rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.review__source { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--navy); }
.review__source .icon { width: 1.5rem; height: 1.5rem; }
.review__source-label::after { content: attr(data-label); }
.review__stars { display: inline-flex; gap: .2rem; color: var(--green); }
.review__stars .icon { width: 1.2rem; height: 1.2rem; }
.review__text { flex: 1; margin: 0 0 2rem; color: var(--charcoal); font-size: .9875rem; line-height: 1.7; }
.review__text p::before { content: "\201C\00a0"; }
.review__text p::after { content: "\00a0\201D"; }
.review__author { display: flex; align-items: center; gap: .85rem; }
.review__avatar { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 600; }
.review__name { font-weight: 600; color: var(--navy); }
.review__quote { width: 3.5rem; height: 3.5rem; margin-left: auto; color: rgba(0,22,65,.08); }
.reviews__nav { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.reviews--grid .reviews__track { display: block; columns: 3 20rem; column-gap: 1.5rem; overflow: visible; }
.reviews--grid .review { break-inside: avoid; margin-bottom: 1.5rem; }
@media (max-width: 900px) { .reviews__track { grid-auto-columns: 85%; gap: 1rem; } }

/* ---------- Accreditations ---------- */
.section--trust { padding-top: 0; }
.section--reviews + .section--trust { padding-top: var(--section); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.trust-card { padding: 2.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.trust-card__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.trust-card__head .tag { margin: 0; }
.trust-card__logo img { max-height: 4rem; width: auto; }
.trust-card__title { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 1.25rem; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: 1fr; } .trust-card { padding: 1.75rem; } }

/* ---------- CTA panel ---------- */
.section--cta { padding-block: 0 var(--section); }
.section--flow + .section--cta, .section--gallery + .section--cta { padding-top: 0; }
.cta-panel { position: relative; overflow: hidden; isolation: isolate; padding: clamp(4rem, 8vw, 6.5rem) 1.5rem; border-radius: var(--radius-xl); background: var(--navy); color: var(--white); text-align: center; }
.cta-panel__pattern { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.cta-panel__inner { position: relative; max-width: 44rem; margin-inline: auto; display: grid; justify-items: center; }
.cta-panel__title { color: var(--white); font-size: var(--h2); }
.cta-panel__title .hl { background: var(--white); color: var(--navy); }
.cta-panel__text { margin-top: 1.25rem; color: rgba(255,255,255,.78); max-width: 34rem; }
.cta-panel__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; margin-top: 2.25rem; }
.cta-panel__logo { margin-bottom: 1.5rem; }
.cta-panel__logo img { max-width: 13rem; filter: brightness(0) invert(1); opacity: .9; }
.cta-panel__float { position: absolute; width: clamp(7rem, 10vw, 9.5rem); aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 4px solid rgba(255,255,255,.95); box-shadow: var(--shadow); }
.cta-panel__float img { width: 100%; height: 100%; object-fit: cover; }
.cta-panel__float--1 { top: -1.25rem; left: 9%; transform: rotate(-9deg); }
.cta-panel__float--2 { top: 38%; left: 5%; transform: rotate(8deg); }
.cta-panel__float--3 { top: -1.5rem; right: 11%; transform: rotate(10deg); }
.cta-panel__float--4 { bottom: -1.25rem; right: 7%; transform: rotate(-7deg); }
@media (max-width: 1100px) { .cta-panel__float { display: none; } }
.contact-list { list-style: none; display: grid; gap: .5rem; }
.contact-list--pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.contact-list--pills .contact-link { padding: .9rem 1.25rem; border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255,255,255,.05); font-weight: 500; transition: background .2s, border-color .2s; }
.contact-list--pills .contact-link:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); }
.contact-link { display: inline-flex; align-items: center; gap: .6rem; }
.contact-link .icon { color: var(--green); }

/* ---------- Footer quote band ---------- */
.section--quote { padding-top: 0; }
.quote-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; }
.quote-band__intro { padding-top: 2rem; }
.quote-band__contacts { list-style: none; display: grid; gap: 1rem; margin-top: 2.5rem; max-width: 26rem; }
.info-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); font-weight: 500; color: var(--navy); }
.info-card__icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--navy); color: var(--green); flex: none; }
.info-card a:hover { color: var(--link); }
.quote-band__form { padding: 2rem; background: var(--tint); border-radius: var(--radius-lg); }
@media (max-width: 1024px) { .quote-band { grid-template-columns: 1fr; gap: 2rem; } .quote-band__intro { padding-top: 0; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; border-inline: 1px solid var(--line); }
.footer-grid > * { padding: 3rem 2rem; }
.footer-grid > * + * { border-left: 1px solid var(--line); }
.footer-brand__logo { width: auto; height: 4.5rem; }
.footer-accreditations { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }
.footer-accreditations img { height: 3.25rem; width: auto; object-fit: contain; }
.footer-title { font-size: 1.375rem; margin-bottom: 1.25rem; }
.footer-links { list-style: none; }
.footer-links li { border-bottom: 1px solid var(--line); }
.footer-links a, .footer-hours { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; font-size: .875rem; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); transition: color .2s; }
.footer-links--plain a, .footer-links--plain .footer-hours { text-transform: none; letter-spacing: 0; font-size: .9375rem; }
.footer-links .icon { color: var(--muted); width: 1.1rem; transition: transform .2s, color .2s; }
.footer-links a:hover { color: var(--green); }
.footer-links a:hover .icon { transform: translateX(3px); color: var(--green); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem 2rem; border: 1px solid var(--line); border-bottom: 0; font-size: .875rem; color: var(--muted); }
.footer-bottom__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-bottom__legal a:hover { color: var(--navy); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid__brand { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .footer-grid > * + * { border-left: 0; }
  .footer-grid > :last-child { border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; border-inline: 0; }
  .footer-grid > * { padding: 2rem 0; }
  .footer-grid > :last-child { border-left: 0; border-top: 1px solid var(--line); }
  .footer-bottom { padding-inline: 0; border-inline: 0; }
}

/* ---------- Service pages ---------- */
.page-hero--service .page-hero__title { font-size: clamp(1.875rem, 3.6vw, 3.25rem); }
.page-hero--service .page-hero__inner { padding-bottom: clamp(7rem, 12vw, 11rem); }
.quote-row { position: relative; z-index: 2; margin-top: -4rem; }
.quote-row__card { padding: 2rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.flow-layout { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: 4rem; align-items: start; }
.flow__row { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 2.5rem; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.flow__row:first-child { padding-top: 0; border-top: 0; }
.flow__head { display: grid; gap: 1rem; align-content: start; }
.flow__num { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--green); color: var(--navy); font-size: .8125rem; font-weight: 700; flex: none; }
.flow__title { font-size: 1.5rem; }
.flow__body { display: grid; gap: 1.5rem; }
.flow__body .prose { font-size: 1.0625rem; }
.checklist { list-style: none; display: grid; gap: .75rem; }
.checklist li { display: flex; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--tint); border-radius: var(--radius-lg); color: var(--muted); font-size: .9875rem; line-height: 1.6; }
.checklist strong { color: var(--navy); font-weight: 600; }
.checklist__icon { display: inline-grid; place-items: center; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--green); color: var(--navy); }
.checklist__icon .icon { width: 1rem; height: 1rem; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.card { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: border-color .25s, transform .25s var(--ease); }
.card:hover { border-color: var(--navy); }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.card__icon { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius); background: var(--navy); color: var(--green); }
.card__num { font-size: .8125rem; font-weight: 700; color: var(--muted); }
.card__title { font-size: 1.1875rem; }
.card__desc { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.aside-media { display: grid; gap: 1rem; margin-bottom: 1rem; }
.aside-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.aside-media img + img { aspect-ratio: 16 / 9; }
.aside-card { display: grid; gap: .9rem; padding: 1.75rem; background: var(--navy); border-radius: var(--radius-lg); color: var(--white); }
.aside-card__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--green); color: var(--navy); margin-bottom: .25rem; }
.aside-card__link { display: flex; align-items: center; gap: .6rem; font-weight: 500; word-break: break-word; }
.aside-card__link .icon { color: var(--green); }
.aside-card__link:hover { color: var(--green); }
@media (max-width: 1100px) { .flow-layout { grid-template-columns: 1fr; } .flow-layout__aside .sticky { position: static; } .aside-media { grid-template-columns: 1fr 1fr; } .aside-media img + img { aspect-ratio: 4 / 3; } }
@media (max-width: 760px) { .flow__row { grid-template-columns: 1fr; gap: 1.25rem; } .flow__head { grid-auto-flow: column; justify-content: start; align-items: center; } }

/* ---------- Product-page gallery slider ---------- */
.gslider__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 1.75rem; }
.gslider__head .tag { margin-bottom: 1rem; }
.gslider__controls { display: flex; align-items: center; gap: .5rem; flex: none; }
.gslider__count { min-width: 4.5rem; margin-right: .5rem; font-size: .875rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.gslider__controls .icon-btn:disabled { opacity: .35; cursor: default; }
.gslider__viewport { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow: hidden; }
.gslider__track { --gap: 1rem; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab; padding-bottom: 2px; }
.gslider__track::-webkit-scrollbar { display: none; }
.gslider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.gslider__track.is-dragging .gslider__slide { pointer-events: none; }
.gslider__track:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: var(--radius-lg); }
.gslider__slide { position: relative; flex: 0 0 calc((100% - var(--gap) * 3) / 4); aspect-ratio: 1; scroll-snap-align: start; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); }
.gslider__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); -webkit-user-drag: none; user-select: none; }
.gslider__slide:hover img { transform: scale(1.06); }
.gslider__slide:hover .gallery__zoom, .gslider__slide:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gslider__progress { height: 3px; margin-top: 1.5rem; border-radius: 3px; background: var(--line); overflow: hidden; }
.gslider__progress span { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--navy); transform-origin: 0 50%; transition: transform .35s var(--ease), width .35s var(--ease); }
@media (max-width: 1024px) { .gslider__slide { flex-basis: calc((100% - var(--gap) * 2) / 2.4); } }
@media (max-width: 640px) {
  .gslider__head { flex-direction: column; align-items: flex-start; }
  .gslider__count { text-align: left; margin-right: auto; }
  .gslider__controls { width: 100%; }
  .gslider__track { --gap: .6rem; }
  .gslider__slide { flex-basis: 78%; }
}

/* ---------- Gallery + lightbox ---------- */
.section--gallery { padding-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--tint); }
.gallery__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__zoom { position: absolute; right: .75rem; bottom: .75rem; display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--white); color: var(--navy); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }
@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; } .gallery__item { border-radius: var(--radius); } }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 1.5rem; background: rgba(0, 10, 30, .94); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: grid; place-items: center; min-width: 0; height: 100%; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 6rem); width: auto; height: auto; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; }
.lightbox__count { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .875rem; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 1fr; } .lightbox__prev, .lightbox__next { position: absolute; bottom: 1rem; } .lightbox__prev { left: 1rem; } .lightbox__next { right: 1rem; } }

/* ---------- Products page ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.product-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); transition: border-color .25s, box-shadow .25s; }
.product-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.product-card__media { position: relative; display: block; overflow: hidden; }
.product-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__num { position: absolute; top: 1rem; left: 1rem; padding: .35rem .6rem; border-radius: .375rem; background: var(--green); color: var(--navy); font-size: .75rem; font-weight: 700; }
.product-card__body { display: flex; flex-direction: column; gap: 1rem; flex: 1; padding: 1.75rem; align-items: flex-start; }
.product-card__body p { margin: 0; color: var(--muted); font-size: .9375rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__title { font-size: 1.5rem; }
@media (max-width: 1024px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .product-grid { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; align-items: center; }
.about-split__text .section-title { margin-bottom: 1.5rem; }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 9rem; gap: 1rem; }
.collage__item { overflow: hidden; border-radius: var(--radius-lg); }
.collage__item img { width: 100%; height: 100%; object-fit: cover; }
.collage__item--1 { grid-column: 1; grid-row: 1 / span 2; }
.collage__item--2 { grid-column: 2; grid-row: 1; }
.collage__item--3 { grid-column: 1; grid-row: 3; }
.collage__item--4 { grid-column: 2; grid-row: 2 / span 2; }
@media (max-width: 1024px) { .about-split { grid-template-columns: 1fr; gap: 2.5rem; } .about-split__text { order: -1; } }
@media (max-width: 560px)  { .collage { grid-auto-rows: 6.5rem; gap: .5rem; } }

/* ---------- Contact page (Leafora contact layout) ---------- */
.page-hero--center .page-hero__center { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; padding-top: calc(var(--header-h) + 5rem); padding-bottom: clamp(9rem, 15vw, 13rem); }
.page-hero--center .tag { margin-bottom: 1.25rem; }
.page-hero--center .page-hero__title { font-size: clamp(2.75rem, 6vw, 5rem); }
.page-hero--center .page-hero__sub { max-width: 40rem; }
.page-hero--contact::before { background: linear-gradient(180deg, rgba(0,22,65,.82) 0%, rgba(0,22,65,.7) 55%, rgba(0,22,65,.9) 100%); }
.page-hero__word--solid::before { color: rgba(255,255,255,.1); -webkit-text-stroke: 0; }

.section--contact-form { padding-bottom: 0; }
.page-hero + .section--contact-form { padding-top: var(--section); }
.contact-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contact-info { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 13rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.contact-info:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-info__icon { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: var(--radius); background: var(--green-soft); color: var(--green); }
.contact-info__icon .icon { width: 1.6rem; height: 1.6rem; stroke-width: 1.5; }
.contact-info__title { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .75rem; }
.contact-info__list { gap: .35rem; }
.contact-info__list .contact-link { color: var(--navy); font-size: 1.0625rem; font-weight: 600; word-break: break-word; }
.contact-info__list .contact-link .icon { display: none; }
.contact-info__list .contact-link:hover { color: var(--link); }
.contact-info__hours { list-style: none; display: grid; gap: .35rem; }
.contact-info__hours li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .35rem; border-bottom: 1px dashed var(--line); font-size: .9375rem; color: var(--muted); }
.contact-info__hours li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-info__hours li span:first-child { color: var(--navy); font-weight: 600; }
.contact-info__text { color: var(--navy); font-size: 1rem; font-weight: 500; line-height: 1.55; }

.contact-map { position: relative; margin-top: 1rem; height: clamp(20rem, 38vw, 30rem); border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05) brightness(1.02); transition: filter .6s var(--ease); }
.contact-map:hover iframe { filter: grayscale(.2); }
.contact-map__card { position: absolute; right: 1.25rem; top: 1.25rem; display: inline-flex; align-items: center; gap: .75rem; padding: .75rem 1.1rem .75rem .75rem; border-radius: var(--radius-lg); background: var(--navy); color: var(--white); box-shadow: var(--shadow); font-size: .9375rem; font-weight: 500; pointer-events: none; }
.contact-map__pin { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--green); color: var(--navy); }
.contact-map__label::after { content: attr(data-label); }

.contact-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; }
.contact-split__intro { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.contact-split__text { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.55; color: var(--navy); }
.contact-split__extras { margin-top: 2.5rem; }
.info-card--phone { align-self: stretch; height: 9.5rem; flex-direction: column; justify-content: center; align-items: flex-start; gap: .75rem; background: var(--white); transition: border-color .2s; }
.info-card--phone:hover { border-color: var(--navy); }
.info-card__text { font-weight: 600; }
.contact-split__photo { height: clamp(14rem, 24vw, 20rem); border-radius: var(--radius-lg); overflow: hidden; }
.contact-split__photo img { width: 100%; height: 100%; object-fit: cover; }
.form--panel { padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--tint); border-radius: var(--radius-lg); }

@media (max-width: 1024px) {
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
  .contact-info:last-child { grid-column: 1 / -1; min-height: 0; }
  .contact-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-split__intro { position: static; }
}
@media (max-width: 640px) {
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-info { min-height: 0; gap: 1.25rem; }
  .contact-split__extras { grid-template-columns: 1fr; }
  .info-card--phone { height: auto; flex-direction: row; align-items: center; }
  .contact-split__photo { height: 12rem; }
  .contact-map__card { left: auto; right: .75rem; top: auto; bottom: 2.25rem; max-width: calc(100% - 4.5rem); font-size: .8125rem; }
}

/* ---------- Online design tool ("design studio") ---------- */
.tool-hero { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; padding-top: calc(var(--header-h) + 4.5rem); padding-bottom: clamp(9rem, 14vw, 12rem); }
.tool-hero .tag { margin-bottom: 1.5rem; }
.tool-hero__title { margin: 0; max-width: 52rem; color: var(--white); font-size: clamp(2.25rem, 4.6vw, 4.25rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; }
.tool-hero__text { margin: 1.25rem 0 0; max-width: 38rem; color: rgba(255,255,255,.82); font-size: var(--p-lg); line-height: 1.6; }
.tool-hero__text::after { content: attr(data-label); }
.tool-steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.25rem; }
.tool-steps__item { position: relative; display: inline-flex; align-items: center; gap: .65rem; padding: .55rem 1.1rem .55rem .55rem; border: 1px solid var(--line-light); border-radius: 999px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); color: var(--white); font-size: .9375rem; font-weight: 500; }
.tool-steps__num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--green); color: var(--navy); font-size: .75rem; font-weight: 700; }
.tool-steps__label::after { content: attr(data-label); }
.page-hero--tool::before { background: linear-gradient(180deg, rgba(0,22,65,.85) 0%, rgba(0,22,65,.7) 50%, rgba(0,22,65,.88) 100%); }

.section--tool { position: relative; z-index: 2; padding-top: 0; margin-top: clamp(-8rem, -10vw, -6rem); }
.studio { overflow: hidden; background: var(--white); border-radius: var(--radius-xl); box-shadow: 0 2.5rem 5rem -2rem rgba(0, 22, 65, .45), 0 0 0 1px var(--line); }
.studio__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: .85rem 1.25rem; background: var(--tint); border-bottom: 1px solid var(--line); }
.studio__dots { display: inline-flex; gap: .4rem; }
.studio__dots i { width: .7rem; height: .7rem; border-radius: 50%; background: #d6dbe1; }
.studio__dots i:nth-child(1) { background: #ff8b80; }
.studio__dots i:nth-child(2) { background: #ffd27a; }
.studio__dots i:nth-child(3) { background: var(--green); }
.studio__label { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--muted); font-size: .8125rem; font-weight: 500; }
.studio__label .icon { width: .95rem; height: .95rem; color: var(--green); }
.studio__label span::after { content: attr(data-label); }
.studio__step { justify-self: end; font-size: .8125rem; font-weight: 600; color: var(--navy); }
.studio__step span::after { content: attr(data-label); }
.studio__frame { min-height: 42rem; padding: clamp(.5rem, 2vw, 1.5rem); background: var(--white); }
/* Typeform sets its own 500px height inline; give the tool room to breathe */
.studio__frame [data-tf-live] > div { height: clamp(36rem, 70vh, 46rem) !important; }
.studio__frame .tf-v1-widget iframe { border-radius: var(--radius-lg); }

.studio-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.studio-trust__item { display: flex; align-items: center; justify-content: center; gap: .9rem; padding: 1.4rem 1.5rem; }
.studio-trust__item + .studio-trust__item { border-left: 1px solid var(--line); }
.studio-trust__stars { display: inline-flex; gap: .15rem; color: var(--green); }
.studio-trust__stars .icon { width: 1.15rem; height: 1.15rem; }
.studio-trust__label { font-size: .9375rem; font-weight: 600; color: var(--navy); }
.studio-trust__label::after { content: attr(data-label); }
.studio-trust__logos img { height: 2.75rem; width: auto; object-fit: contain; }
.studio-trust__phone { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: var(--radius); background: var(--navy); color: var(--white); font-weight: 600; transition: background .2s; }
.studio-trust__phone:hover { background: var(--navy-2); }
.studio-trust__phone .icon { color: var(--green); }
@media (max-width: 900px) {
  .studio-trust { grid-template-columns: 1fr; }
  .studio-trust__item + .studio-trust__item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .studio__bar { grid-template-columns: auto 1fr; }
  .studio__step { font-size: .75rem; }
  .studio__label { display: none; }
  .studio__frame { padding: 0; min-height: 36rem; }
  .studio__frame [data-tf-live] > div { height: 36rem !important; }
  .tool-steps { flex-direction: column; align-items: stretch; width: 100%; max-width: 20rem; }
}

.prose--terms h2 { margin-top: 0; font-size: var(--h3); color: var(--navy); }
.prose--terms ol { display: grid; gap: .5rem; }

/* ==========================================================================
   Forms (EAE Leads: web/app/mu-plugins/eae-leads)
   ========================================================================== */
.form { --field-h: 3.25rem; }
.form--card { padding: 2rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); color: var(--ink); }
.form--tint { background: var(--tint); box-shadow: none; }
.ff-form { margin: 0; }
.ff-heading { font-size: 1.625rem; margin: 0 0 1.5rem; }
.ff-grid { display: grid; gap: 1rem; }
.ff-field { position: relative; min-width: 0; }
.ff-field--full { grid-column: 1 / -1; }
.ff-label { display: block; margin-bottom: .4rem; font-size: .8125rem; font-weight: 600; color: var(--navy); }
.ff-wrap { display: block; }
.ff-control {
  width: 100%; height: var(--field-h); padding: .75rem 1rem;
  font: inherit; font-size: .9375rem; line-height: 1.4; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
textarea.ff-control { height: auto; min-height: 7rem; resize: vertical; }
select.ff-control {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001641' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1rem;
}
.ff-control::placeholder { color: #7b8690; }
.ff-control:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(122, 164, 67, .35); }
.ff-control.is-invalid { border-color: #c0392b; }
.ff-radio, .ff-checkbox { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; min-height: 1.75rem; align-items: center; }
.ff-list-item label { display: inline-flex; align-items: flex-start; gap: .55rem; margin: 0; font-size: .9375rem; color: var(--ink); cursor: pointer; }
.ff-list-item input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--green); flex: none; }
.ff-checkbox .ff-list-item label { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.ff-error { display: block; margin-top: .3rem; font-size: .8125rem; color: #c0392b; }
.ff-submit { margin-top: 1.25rem; }
.ff-button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  width: 100%; height: var(--field-h); padding: 0 1.5rem; margin: 0;
  font: inherit; font-size: .875rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--navy); background: var(--green); border: 0; border-radius: var(--radius); cursor: pointer; transition: background .2s;
}
.ff-button:hover { background: var(--green-2); }
.ff-button:disabled { cursor: progress; opacity: .8; }
.ff-spinner { display: none; width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ff-spin .7s linear infinite; }
.is-submitting .ff-spinner { display: inline-block; }
@keyframes ff-spin { to { transform: rotate(360deg); } }
.ff-note { margin: .9rem 0 0; font-size: .8125rem; color: var(--muted); }
.ff-response { margin-top: 1rem; padding: .9rem 1rem; border: 1px solid #e0a100; border-radius: var(--radius); background: #fff8e6; font-size: .9375rem; color: var(--ink); }
.ff-response[hidden] { display: none; }
.is-sent .ff-response { border-color: var(--green); background: var(--green-soft); color: var(--navy); font-weight: 500; }
.ff-hp { display: none !important; } /* not off-screen: browsers autofill off-screen fields */

/* Quote form (877): two columns */
.ff-grid--stack { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .ff-grid--stack { grid-template-columns: 1fr; } }

/* Product-page quote row (971): four columns */
.ff-grid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.ff-grid--row .ff-field--wide { grid-column: span 2; }
.ff-grid--row textarea.ff-control { min-height: var(--field-h); height: var(--field-h); resize: none; padding-top: .85rem; }
.ff-grid--row .ff-submit { margin: 0; }
@media (max-width: 1024px) { .ff-grid--row { grid-template-columns: 1fr 1fr; } .ff-grid--row .ff-field--wide, .ff-grid--row .ff-submit { grid-column: 1 / -1; } .ff-grid--row textarea.ff-control { height: auto; min-height: 6rem; } }
@media (max-width: 480px) { .ff-grid--row { grid-template-columns: 1fr; } }

/* Footer quick quote (910): pairs */
.ff-grid--pairs { grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .ff-grid--pairs { grid-template-columns: 1fr; } }

/* Brochure: inline */
.ff-grid--inline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.ff-grid--inline .ff-submit { grid-column: 1 / -1; margin: 0; }
@media (max-width: 560px) { .ff-grid--inline { grid-template-columns: 1fr; } }

/* Home: the quote form laid out horizontally */
.form--horizontal .ff-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; align-items: center; }
.form--horizontal .ff-heading, .form--horizontal .ff-grid, .form--horizontal .ff-response { grid-column: 1 / -1; }
.form--horizontal .ff-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1.25rem; }
.form--horizontal .ff-field--full { grid-column: auto; }
.form--horizontal [data-ff-field="leaflet-received"] { grid-column: span 2; }
.form--horizontal [data-ff-field="additional-info"] { grid-column: 1 / -1; }
.form--horizontal textarea.ff-control { height: var(--field-h); min-height: var(--field-h); resize: none; padding-top: .85rem; }
.form--horizontal .ff-radio { min-height: var(--field-h); }
.form--horizontal .ff-note { grid-column: 1; grid-row: 3; margin: 0; }
.form--horizontal .ff-submit { grid-column: 2; grid-row: 3; margin: 0; }
.form--horizontal .ff-button { width: auto; min-width: 14rem; padding: 0 2.5rem; }
@media (max-width: 1100px) { .form--horizontal .ff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form--horizontal [data-ff-field="leaflet-received"] { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .form--horizontal .ff-form, .form--horizontal .ff-grid { grid-template-columns: minmax(0, 1fr); }
  .form--horizontal .ff-field, .form--horizontal [data-ff-field] { grid-column: 1 / -1; }
  .form--horizontal .ff-note, .form--horizontal .ff-submit { grid-column: 1; grid-row: auto; }
  .form--horizontal .ff-note { order: 2; margin-top: .75rem; }
  .form--horizontal .ff-button { width: 100%; }
  .form--horizontal textarea.ff-control { height: auto; min-height: 6rem; }
}

/* Brochure form on the dark panel */
.form--brochure .ff-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: var(--white); }
.form--brochure .ff-control::placeholder { color: rgba(255,255,255,.65); }
.form--brochure .ff-checkbox .ff-list-item label { color: rgba(255,255,255,.75); }
.form--brochure .ff-error { color: #ffd3cc; }
.form--brochure .ff-response { color: var(--ink); }

/* ---------- Winter offer popup (bottom-left) ---------- */
.offer-pop {
  position: fixed; left: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem); z-index: 150;
  width: min(23rem, calc(100vw - 1.5rem)); padding: 1.5rem; overflow: hidden; isolation: isolate;
  background: var(--navy); color: var(--white); border-radius: var(--radius-xl);
  box-shadow: 0 1.75rem 3.5rem -1rem rgba(0, 22, 65, .55), 0 0 0 1px rgba(255,255,255,.06) inset;
  opacity: 0; transform: translate3d(0, 1.5rem, 0) scale(.96); transform-origin: 0 100%;
  transition: opacity .5s var(--ease), transform .6s cubic-bezier(.16, 1, .3, 1);
}
.offer-pop.is-open { opacity: 1; transform: none; }
.offer-pop.is-closing { opacity: 0; transform: translate3d(0, 1rem, 0) scale(.97); transition-duration: .3s; }
.offer-pop__pattern { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.4px); background-size: 18px 18px; mask-image: linear-gradient(160deg, #000 0%, transparent 70%); }
.offer-pop::after { content: ""; position: absolute; z-index: -1; right: -4rem; top: -4rem; width: 10rem; height: 10rem; border-radius: 50%; background: radial-gradient(circle, rgba(122,164,67,.35), transparent 70%); }
.offer-pop__close { position: absolute; top: .9rem; right: .9rem; display: inline-grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line-light); border-radius: 50%; background: rgba(255,255,255,.06); color: var(--white); transition: background .2s, transform .2s; }
.offer-pop__close:hover { background: rgba(255,255,255,.16); transform: rotate(90deg); }
.offer-pop__close .icon { width: .9rem; height: .9rem; }
.offer-pop__tag { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: .375rem; background: var(--green); color: var(--navy); font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.offer-pop__tag .icon { width: .85rem; height: .85rem; }
.offer-pop__title { margin: .9rem 0 0; font-size: 1.375rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.offer-pop__tiers { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1.1rem; }
.offer-pop__tier { display: grid; justify-items: center; gap: .1rem; padding: .8rem .4rem .7rem; border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255,255,255,.04); text-align: center; }
.offer-pop__tier:last-child { background: rgba(122,164,67,.16); border-color: rgba(122,164,67,.5); }
.offer-pop__pct { font-size: 1.75rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.offer-pop__off { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.offer-pop__items { margin-top: .2rem; font-size: .75rem; color: rgba(255,255,255,.7); }
.offer-pop__timer { display: flex; align-items: center; gap: .35rem; margin-top: 1rem; font-size: .8125rem; color: rgba(255,255,255,.75); }
.offer-pop__timer-label { display: inline-flex; align-items: center; gap: .35rem; margin-right: .25rem; }
.offer-pop__timer-label .icon { width: .95rem; height: .95rem; color: var(--green); }
.offer-pop__cd { display: inline-flex; align-items: baseline; gap: .1rem; padding: .25rem .45rem; border-radius: .375rem; background: rgba(255,255,255,.08); }
.offer-pop__cd b { font-size: .9375rem; font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; }
.offer-pop__cd small { font-size: .6875rem; }
.offer-pop__cta { display: flex; margin-top: 1.1rem; }
.offer-pop__cta .btn__label { flex: 1; justify-content: center; padding-block: 1rem; }

/* Tiers pop in one after another when the card opens */
.offer-pop .offer-pop__tier { opacity: 0; transform: translateY(10px); }
.offer-pop.is-open .offer-pop__tier { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 90ms + 250ms); }

/* ---------- Winter theme for the offer popup ---------- */
.offer-pop--winter {
  --ice: #cfe8f7;
  --ice-2: #9fd0ee;
  padding-top: 2rem;
  background: linear-gradient(165deg, #0a2a63 0%, var(--navy) 45%, #001233 100%);
  box-shadow: 0 1.75rem 3.5rem -1rem rgba(0, 22, 65, .6), 0 0 0 1px rgba(207, 232, 247, .18) inset, 0 0 2.5rem -0.5rem rgba(47, 131, 191, .45);
}
.offer-pop--winter::after { right: -5rem; top: -5rem; width: 14rem; height: 14rem; background: radial-gradient(circle, rgba(159, 208, 238, .35), transparent 65%); }
.offer-pop__sky { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(120% 60% at 0% 100%, rgba(47, 131, 191, .28), transparent 60%),
  radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px) 0 0 / 18px 18px; }
.offer-pop--winter .offer-pop__pattern { display: none; }

/* Snow cap with icicle drips along the top edge */
.offer-pop__cap { position: absolute; top: -1px; left: 0; width: 100%; height: 1.6rem; fill: #f4fbff; filter: drop-shadow(0 2px 2px rgba(0, 22, 65, .35)); pointer-events: none; }

/* Falling snow */
.offer-pop__snow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.offer-pop__snow i {
  position: absolute; top: -1rem; left: var(--x);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: #fff; opacity: var(--o); filter: blur(.3px);
  animation: eae-snow var(--d) linear var(--delay) infinite;
}
@keyframes eae-snow {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(var(--drift), 10rem, 0); }
  100% { transform: translate3d(calc(var(--drift) * -0.5), 22rem, 0); }
}
.offer-pop__flake { position: absolute; z-index: -1; color: var(--ice); opacity: .22; pointer-events: none; }
.offer-pop__flake--1 { right: 3.2rem; top: 2.6rem; width: 2.6rem; height: 2.6rem; animation: eae-spin 18s linear infinite; }
.offer-pop__flake--2 { right: -.9rem; bottom: 4.5rem; width: 4.5rem; height: 4.5rem; opacity: .1; animation: eae-spin 30s linear infinite reverse; }
@keyframes eae-spin { to { transform: rotate(360deg); } }

/* Frosted details */
.offer-pop--winter .offer-pop__close { top: 1.75rem; border-color: rgba(207, 232, 247, .35); background: rgba(207, 232, 247, .1); }
.offer-pop--winter .offer-pop__tag { background: linear-gradient(135deg, #ffffff, var(--ice)); color: var(--navy); box-shadow: 0 0 0 1px rgba(255,255,255,.6) inset, 0 .4rem 1rem -.4rem rgba(159, 208, 238, .8); }
.offer-pop--winter .offer-pop__tag .icon { color: var(--blue); }
.offer-pop--winter .offer-pop__title { color: #f4fbff; text-shadow: 0 0 1.25rem rgba(159, 208, 238, .45); }
.offer-pop--winter .offer-pop__tier { border-color: rgba(207, 232, 247, .22); background: linear-gradient(180deg, rgba(207, 232, 247, .12), rgba(207, 232, 247, .03)); backdrop-filter: blur(3px); }
.offer-pop--winter .offer-pop__tier:last-child { border-color: rgba(159, 208, 238, .7); background: linear-gradient(180deg, rgba(159, 208, 238, .35), rgba(47, 131, 191, .18)); box-shadow: 0 0 1.25rem -0.25rem rgba(159, 208, 238, .55); }
.offer-pop--winter .offer-pop__off { color: var(--ice-2); }
.offer-pop--winter .offer-pop__items { color: rgba(228, 243, 252, .78); }
.offer-pop--winter .offer-pop__timer-label .icon { color: var(--ice-2); }
.offer-pop--winter .offer-pop__cd { background: rgba(207, 232, 247, .1); box-shadow: 0 0 0 1px rgba(207, 232, 247, .14) inset; }
.offer-pop--winter .offer-pop__cta .btn__label { background: #fff; color: var(--navy); }
.offer-pop--winter .offer-pop__cta .btn__icon { background: var(--ice); color: var(--navy); }
.offer-pop--winter .offer-pop__cta:hover .btn__label { background: #f0f8fd; }
.offer-pop--winter .offer-pop__cta:hover .btn__icon { background: var(--ice-2); }

@media (prefers-reduced-motion: reduce) {
  .offer-pop__snow i, .offer-pop__flake { animation: none !important; }
  .offer-pop__snow i { top: auto; bottom: calc(var(--o) * 9rem); }
}

/* Mobile: compact strip so it never covers much of the screen */
@media (max-width: 560px) {
  .offer-pop { display: none; /* phones: the chat widget already promotes the winter offer */
    left: .5rem; right: .5rem; bottom: .5rem; width: auto; padding: .85rem .9rem .9rem; border-radius: var(--radius-lg); }
  .offer-pop__close { top: .6rem; right: .6rem; width: 1.75rem; height: 1.75rem; }
  .offer-pop__title, .offer-pop__timer, .offer-pop__off { display: none; }
  .offer-pop__tiers { margin-top: .6rem; gap: .35rem; }
  .offer-pop__tier { padding: .4rem .25rem; grid-auto-flow: row; }
  .offer-pop__pct { font-size: 1.125rem; }
  .offer-pop__items { margin: 0; font-size: .6875rem; }
  .offer-pop__cta { margin-top: .6rem; }
  .offer-pop__cta .btn__label { padding-block: .75rem; }
  .offer-pop__cta .btn__icon { padding-inline: .75rem; }
  .offer-pop--winter { padding-top: 1.6rem; }
  .offer-pop--winter .offer-pop__close { top: 1.35rem; }
  .offer-pop__cap { height: 1.25rem; }
  .offer-pop__flake--1 { top: 1.6rem; right: 2.8rem; width: 1.8rem; height: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .offer-pop, .offer-pop .offer-pop__tier { transition: none !important; transform: none !important; }
}
/* Keep it clear of the open mobile menu and the lightbox */
.nav-open .offer-pop { display: none; }

/* ==========================================================================
   Proposal build: new components
   ========================================================================== */

/* ---------- Mega menu (Products) ---------- */
.navbar__inner { position: relative; }
.nav__item--mega { position: static; }
.nav .nav__mega { left: 0; right: 0; margin-inline: auto; width: min(68rem, 100%); transform: translateY(8px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 15rem; gap: 1.75rem; padding: 1.75rem; }
.nav .nav__item--mega:focus-within .nav__mega, .nav .nav__item--mega.is-open .nav__mega { transform: none; }
@media (hover: hover) and (min-width: 1101px) { .nav .nav__item--mega:hover .nav__mega { transform: none; } }
.nav .nav__mega .nav__mega-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 0 0 .65rem; margin-bottom: .5rem; border-bottom: 1px solid var(--line); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.nav__mega-head .icon { width: .95rem; height: .95rem; color: var(--green); transition: transform .2s; }
a.nav__mega-head:hover .icon { transform: translateX(3px); }
.nav__mega ul { list-style: none; display: grid; gap: .1rem; }
.nav .nav__mega ul a { display: block; padding: .45rem .6rem; margin-inline: -.6rem; border-radius: var(--radius); font-size: .9rem; font-weight: 500; color: var(--ink); }
.nav .nav__mega ul a:hover, .nav .nav__mega ul a[aria-current] { background: var(--tint); color: var(--navy); }
.nav .nav__mega .nav__mega-promo { position: relative; display: block; padding: 0; overflow: hidden; border-radius: var(--radius-lg); min-height: 14rem; color: var(--white); }
.nav__mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.nav__mega-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,22,65,.9)); }
.nav__mega-promo:hover img { transform: scale(1.06); }
.nav__mega-promo-body { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: 1rem; display: grid; gap: .2rem; }
.nav__mega-promo-title { font-weight: 700; font-size: 1.0625rem; }
.nav__mega-promo-text { font-size: .8125rem; color: rgba(255,255,255,.8); }
@media (max-width: 1100px) {
  .nav .nav__mega { display: none; position: static; width: auto; margin: 0; transform: none !important; grid-template-columns: 1fr; gap: .25rem; padding: 0 0 1rem; box-shadow: none; }
  .nav .nav__item--mega.is-open > .nav__mega { display: grid; animation: eae-sub-in .28s var(--ease); }
  .nav .nav__mega .nav__mega-promo { display: none; }
  .nav .nav__mega .nav__mega-head { margin: .75rem 0 .25rem; padding-bottom: .5rem; }
  .nav .nav__mega ul a { margin-inline: 0; padding: .55rem .25rem; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .8125rem; color: rgba(255,255,255,.75); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: rgba(255,255,255,.4); }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--green); }
.crumbs [aria-current] { color: var(--white); font-weight: 600; }
.page-hero--plain .crumbs ol, .page-hero--plain .crumbs a { color: rgba(255,255,255,.8); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: .6rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: border-color .2s, background .2s; }
.faq__item[open] { background: var(--tint); border-color: transparent; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); font-size: 1.0625rem; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--navy); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .7rem; height: 2px; background: var(--white); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--green); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--navy); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 1.25rem 1.2rem; color: var(--muted); font-size: .9875rem; line-height: 1.65; }

/* ---------- Range cards (collections, products hub) ---------- */
.section--range { padding-bottom: 0; }
.section--range + .section--flow { padding-top: var(--section); }
.range-block + .range-block { margin-top: clamp(4rem, 8vw, 6rem); }
.range-block .split-head { margin-bottom: 2rem; }
.section-title a:hover { color: var(--link); }
.range-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 1rem; }
.range-card__link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.range-card__link:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.range-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--tint); }
.range-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.range-card__link:hover .range-card__media img { transform: scale(1.06); }
.range-card__num { position: absolute; top: .75rem; left: .75rem; padding: .3rem .5rem; border-radius: .375rem; background: var(--green); color: var(--navy); font-size: .7rem; font-weight: 700; }
.range-card__body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1.25rem; }
.range-card__title { font-size: 1.125rem; line-height: 1.25; }
.range-card__desc { flex: 1; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.range-card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.range-card__more .icon { width: 1rem; height: 1rem; color: var(--green); transition: transform .25s; }
.range-card__link:hover .range-card__more .icon { transform: translateX(4px); }

/* ---------- Footer: four columns + cookie settings ---------- */
.footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
.footer-bottom__cookies { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-bottom__cookies:hover { color: var(--navy); }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid__brand { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .footer-grid > * + * { border-left: 0; }
  .footer-grid > :nth-child(n+3) { border-left: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; border-inline: 0; }
  .footer-grid > * { padding: 2rem 0; }
  .footer-grid > :nth-child(n+2) { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Cookie consent banner (bottom-right) ---------- */
.consent { position: fixed; left: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem); z-index: 2147483647; /* above the chat widget: visitors must always be able to choose */ width: min(26rem, calc(100vw - 1.5rem)); padding: 1.4rem; background: var(--white); color: var(--ink); border-radius: var(--radius-xl); box-shadow: 0 1.5rem 3.5rem -1rem rgba(0,22,65,.45), 0 0 0 1px var(--line); opacity: 0; transform: translateY(1rem); transition: opacity .3s var(--ease), transform .4s var(--ease); }
.consent.is-open { opacity: 1; transform: none; }
.consent[hidden] { display: none; }
.consent__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; font-weight: 700; color: var(--navy); font-size: 1.0625rem; }
.consent__title .icon { color: var(--green); }
.consent__text { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.consent__text a { color: var(--link); text-decoration: underline; }
.consent__prefs[hidden] { display: none; }
.consent__prefs { display: grid; gap: .5rem; margin-top: 1rem; }
.consent__opt { display: flex; gap: .7rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); font-size: .8125rem; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent__opt strong { display: block; color: var(--navy); font-size: .875rem; }
.consent__opt input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--green); flex: none; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.consent__btn { padding: .7rem 1.1rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); color: var(--navy); font-size: .8125rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; cursor: pointer; }
.consent__btn:hover { border-color: var(--navy); }
.consent__btn--primary { background: var(--navy); border-color: var(--navy); color: var(--white); }
.consent__btn--primary:hover { background: var(--navy-2); }
.consent__btn--link { border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.consent__btn[hidden] { display: none; }
@media (max-width: 560px) { .consent { left: .5rem; right: .5rem; bottom: .5rem; width: auto; padding: 1.1rem; } .consent__btn { flex: 1; } }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.legal > p:first-child em, .legal em { color: var(--muted); }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.legal .checklist li { background: transparent; padding: .25rem 0; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); transition: border-color .25s, box-shadow .25s; }
.post-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; gap: .75rem; flex: 1; padding: 1.5rem; }
.post-card__meta { display: flex; align-items: center; gap: .75rem; font-size: .8125rem; color: var(--muted); }
.post-card__title { font-size: 1.3rem; line-height: 1.3; }
.post-card__title a:hover { color: var(--link); }
.post-card__excerpt { margin: 0; flex: 1; color: var(--muted); font-size: .9375rem; }
.post-card__more { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.post-card__more .icon { width: 1rem; height: 1rem; color: var(--green); }
.post-card--feature { grid-column: 1 / -1; flex-direction: row; }
.post-card--feature .post-card__media { flex: 1.2; aspect-ratio: auto; min-height: 22rem; }
.post-card--feature .post-card__body { flex: 1; padding: clamp(1.5rem, 3vw, 2.5rem); justify-content: center; }
.post-card--feature .post-card__title { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.post-grid--3 .post-card--feature { grid-column: auto; flex-direction: column; }
/* Feature + exactly 2 more: give the pair equal halves instead of leaving a gap */
.post-grid:has(> .post-card--feature:first-child + .post-card + .post-card:last-child) { grid-template-columns: 1fr 1fr; }
@media (max-width: 1024px) { .post-grid { grid-template-columns: 1fr 1fr; } .post-card--feature { flex-direction: column; } .post-card--feature .post-card__media { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; color: rgba(255,255,255,.85); font-size: .9375rem; }
.post-meta time, .post-meta > span:not(.pill) { display: inline-flex; align-items: center; gap: .45rem; }
.post-meta .icon { color: var(--green); width: 1.05rem; height: 1.05rem; }
.page-hero--post .page-hero__title { max-width: 54rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; align-items: start; }
.article { max-width: 46rem; font-size: 1.0625rem; line-height: 1.8; }
.article h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2.5rem 0 1rem; }
.article h3 { font-size: 1.3rem; margin: 2rem 0 .75rem; }
.article a { color: var(--link); }
.aside-card__title { margin: .25rem 0 0; font-size: 1.25rem; font-weight: 700; }
.aside-card__text { margin: 0; color: rgba(255,255,255,.8); font-size: .9375rem; }
.article-aside .aside-card .btn { margin: .5rem 0 .25rem; }
@media (max-width: 1024px) { .article-layout { grid-template-columns: 1fr; } .article-aside .sticky { position: static; } }
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; gap: .5rem; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .9rem; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Gallery filters ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filters__btn { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); color: var(--navy); font-size: .875rem; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters__btn span { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; border-radius: 999px; background: var(--tint); font-size: .75rem; }
.filters__btn:hover { border-color: var(--navy); }
.filters__btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filters__btn.is-active span { background: var(--green); color: var(--navy); }
.gallery__item.is-hidden { display: none; }

/* ---------- Brochure download ---------- */
.range-block--brochure { margin-top: clamp(4rem, 8vw, 6rem); }
.brochure { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-xl); background: linear-gradient(120deg, var(--navy) 0%, #0a2a63 100%); color: var(--white); }
.brochure::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px); background-size: 20px 20px; }
.brochure__visual { position: relative; height: 20rem; }
.brochure__book { position: absolute; left: 12%; top: 50%; width: 13.5rem; aspect-ratio: 3 / 4; translate: 0 -50%; rotate: -6deg; border-radius: .6rem; overflow: hidden; background: var(--white); box-shadow: 0 1.5rem 3rem -1rem rgba(0,0,0,.6); border: 6px solid var(--white); z-index: 2; transition: rotate .5s var(--ease); }
.brochure__book img { width: 100%; height: 70%; object-fit: cover; }
.brochure__book-label { display: grid; gap: .3rem; padding: .6rem .7rem; color: var(--navy); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brochure__book-label img { height: 1.6rem; width: auto; object-fit: contain; }
.brochure__book--back { left: 38%; rotate: 8deg; z-index: 1; opacity: .9; }
.brochure__book--back img { height: 100%; }
.brochure:hover .brochure__book { rotate: -2deg; }
.brochure:hover .brochure__book--back { rotate: 12deg; }
.brochure__title { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); margin: .5rem 0 .75rem; }
.brochure__title .hl { background: var(--green); color: var(--navy); }
.brochure__text { color: rgba(255,255,255,.8); margin: 0 0 1.5rem; }
@media (max-width: 900px) { .brochure { grid-template-columns: 1fr; } .brochure__visual { height: 15rem; } .brochure__book { width: 10rem; left: 15%; } }
@media (max-width: 560px) { 
@keyframes eae-sub-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
