/* =========================================================
   Euro Supply — Premium Outdoor Wellness
   Design system: Nordic Forest
   ========================================================= */

:root {
  /* Nordic Forest palette */
  --deep-forest: #131F18;
  --pine: #2A4030;
  --moss: #4D7358;
  --copper: #B07D50;        /* decorative / large display only */
  --copper-ink: #92602F;    /* interactive text + buttons (WCAG AA on white & white-on-this) */
  --copper-dark: #7d5226;
  --birch: #E8F0EB;
  --snow: #F5F8F5;

  --text: #131F18;
  --text-soft: #3f4b45;
  --line: #d8e3db;
  --line-strong: #bcccc1;

  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 6px 18px -12px rgba(19, 31, 24, 0.4);
  --shadow: 0 22px 48px -28px rgba(19, 31, 24, 0.5);
  --shadow-lg: 0 40px 80px -40px rgba(19, 31, 24, 0.55);
  --transition: 0.25s cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--snow);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--copper-ink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--copper-dark); }

/* Visible, on-brand focus for keyboard users */
:focus-visible { outline: 2px solid var(--copper-ink); outline-offset: 3px; border-radius: 3px; }
.section--forest :focus-visible, .hero :focus-visible, .page-hero :focus-visible { outline-color: var(--copper); }
ul { margin: 0; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--deep-forest); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.25rem; line-height: 1.3; }
h4 { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; }
p { margin: 0 0 1.1em; color: var(--text-soft); }
.eyebrow {
  font-family: var(--font-body); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.78rem; color: var(--moss); margin-bottom: 1rem; display: inline-block;
}
.lead { font-size: 1.18rem; color: var(--text-soft); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--birch { background: var(--birch); }
.section--forest { background: var(--deep-forest); color: #cdd8d0; }
.section--forest h1, .section--forest h2, .section--forest h3, .section--forest h4 { color: #fff; }
.section--forest .prose p, .section--forest .prose li { color: #cdd8d0; }
.section--forest .eyebrow { color: var(--copper); }
.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__head.center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--auto { grid-template-columns: repeat(5, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  font-family: var(--font-body); font-weight: 500; font-size: 0.98rem;
  padding: 0.9rem 1.7rem; border-radius: var(--radius); border: 1px solid transparent;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--copper-ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--copper-dark); color: #fff; }
.btn--secondary { background: var(--pine); color: #fff; }
.btn--secondary:hover { background: var(--moss); color: #fff; }
.btn--ghost { background: transparent; color: var(--deep-forest); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--pine); color: var(--pine); background: rgba(42,64,48,.04); }
.section--forest .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.section--forest .btn--ghost:hover, .hero .btn--ghost:hover { border-color: var(--copper); color: var(--copper); background: rgba(255,255,255,.04); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 248, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 68px; }
.brand { flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.2rem; flex-shrink: 1; }
.nav a { color: var(--deep-forest); font-weight: 500; font-size: 0.82rem; white-space: nowrap; letter-spacing: .01em; }
.nav a:hover, .nav a.is-active { color: var(--copper); }
.header-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.lang-switch { display: flex; gap: 0; font-size: 0.8rem; font-weight: 500; }
.lang-switch a { color: var(--text-soft); padding: .2rem .45rem; }
.lang-switch a:not(:last-child) { border-right: 1px solid var(--line); }
.lang-switch a.is-active { color: var(--deep-forest); font-weight: 600; }
.lang-switch a:hover { color: var(--copper); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--deep-forest); margin: 5px 0; transition: var(--transition); }
.nav-cta-mobile { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; display: flex; align-items: center;
  background: var(--deep-forest);
}
.hero__inner { padding-block: 4rem; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero p { color: rgba(255,255,255,.88); font-size: 1.2rem; max-width: 560px; }
.hero .btn { margin-top: 1rem; }
.page-hero {
  color: #fff; padding-block: clamp(4rem, 10vw, 7rem);
  background: linear-gradient(120deg, rgba(19,31,24,.86), rgba(42,64,48,.6)), var(--hero-img, var(--pine));
  background-size: cover; background-position: var(--hero-pos, center 30%);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 620px; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 1.2rem; }
.breadcrumb a { color: rgba(255,255,255,.85); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { color: var(--deep-forest); }
.card__tag { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--moss); font-weight: 500; }
.card__link { margin-top: auto; font-weight: 500; padding-top: 1rem; }
.card__link::after { content: " →"; }

.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature__icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
  background: var(--birch); color: var(--moss); display: grid; place-items: center; font-size: 1.3rem;
}
.section--forest .feature__icon { background: rgba(255,255,255,.08); color: var(--copper); }
.feature h4 { margin-bottom: .3rem; }
.feature p { margin: 0; font-size: .96rem; }

/* steps */
.step { position: relative; padding-left: 0; }
.step__num {
  font-family: var(--font-head); font-size: 2.6rem; color: var(--copper); line-height: 1; display: block; margin-bottom: .4rem;
}
.step h4 { margin-bottom: .3rem; }
.step p { margin: 0; font-size: .95rem; }

/* product type rows */
.ptype { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.8rem; }
.ptype h3 { color: var(--deep-forest); margin-bottom: .4rem; }
.ptype .benefits { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; list-style: none; }
.ptype .benefits li {
  font-size: .82rem; background: var(--birch); color: var(--pine);
  padding: .3rem .7rem; border-radius: 100px; font-weight: 500;
}

/* full-width product type cards (category pages) */
.ptype-list { display: flex; flex-direction: column; gap: 2rem; }
.ptype__img {
  background-size: contain; background-position: center; background-repeat: no-repeat; background-color: #f5f5f3; min-height: 140px;
}
.ptype__content { padding: 2.4rem; display: flex; flex-direction: column; gap: .4rem; }
.ptype__content .ptype__idx { position: static; font-family: var(--font-head); font-size: 1rem; color: var(--copper); letter-spacing: .1em; }
.ptype__content h3 { margin-bottom: 0; }
.ptype__content .benefits { margin-top: .8rem; }
.ptype__cta { margin-top: auto; align-self: flex-start; font-size: .88rem; padding: .6rem 1.2rem; }

/* image divider between sections */
.img-divider {
  height: 220px;
  background: linear-gradient(rgba(19,31,24,.6),rgba(19,31,24,.6)), var(--divider-img, var(--pine)) center/cover no-repeat;
}

@media (max-width: 720px) {
  .ptype__img { min-height: 200px; order: -1 !important; }
}

/* split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* prose (legal pages) */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; font-weight: 600; }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4rem; color: var(--text-soft); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--birch); font-family: var(--font-body); font-weight: 500; color: var(--pine); }
.placeholder { background: #fff4e8; color: var(--copper-dark); padding: 0 .25rem; border-radius: 3px; }

/* ---------- Form ---------- */
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: var(--shadow); }
.section--forest .lead-form { color: var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 500; color: var(--pine); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .98rem; padding: .8rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--snow); color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(77,115,88,.15);
}
.form-status { grid-column: 1/-1; font-size: .95rem; padding: .8rem 1rem; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: #e6f2ea; color: var(--pine); }
.form-status.err { display: block; background: #fbe9e1; color: #9c4a2a; }
.form-note { font-size: .82rem; color: var(--text-soft); grid-column: 1/-1; margin: 0; }

/* contact details */
.contact-detail { margin-bottom: 1.2rem; }
.contact-detail span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--moss); }
.contact-detail strong { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-forest); color: #aebcb2; padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; font-size: .92rem; }
.site-footer a { color: #cdd8d0; }
.site-footer a:hover { color: var(--copper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.site-footer img { height: 60px; width: auto; margin-bottom: 1.2rem; }
.footer-col h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; color: #80908680; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom .legal-links a { color: #aebcb2; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; inset: auto 1rem 1rem 1rem; z-index: 100; max-width: 460px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(19,31,24,.5); padding: 1.5rem; display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner h4 { margin-bottom: .4rem; }
.cookie-banner p { font-size: .88rem; margin-bottom: 1rem; }
.cookie-banner .btn { font-size: .85rem; padding: .65rem 1.1rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-cats { margin: .8rem 0; font-size: .85rem; display: none; flex-direction: column; gap: .5rem; }
.cookie-cats.show { display: flex; }
.cookie-cats label { display: flex; gap: .5rem; align-items: center; color: var(--text-soft); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.cols-list { columns: 2; column-gap: 2rem; }
.cols-list li { break-inside: avoid; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr 1fr; }
  .grid--auto { grid-template-columns: 1fr 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .split__media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: block; flex-shrink: 0; }
  .site-header.open .nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
    position: absolute; top: 76px; left: 0; right: 0; background: var(--snow);
    padding: 1.5rem var(--gutter); border-bottom: 1px solid var(--line);
  }
  .site-header.open .nav .lang-switch-mobile { display: flex; }
  .site-header.open .nav .nav-cta-mobile { display: inline-flex; margin-top: .4rem; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cols-list { columns: 1; }
}
.lang-switch-mobile { display: none; }


/* =========================================================
   POLISH LAYER — premium detailing
   ========================================================= */

/* ---- eyebrow with rule ---- */
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .55; }
.section__head.center .eyebrow { justify-content: center; }

/* ---- buttons: arrow + sheen ---- */
.btn--primary, .btn--secondary { position: relative; overflow: hidden; }
.btn--arrow::after { content: "→"; transition: transform var(--transition); }
.btn--arrow:hover::after { transform: translateX(4px); }

/* ---- HERO refinement ---- */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 15% 90%, rgba(176,125,80,.18), transparent 60%);
}
.hero__inner {
  position: relative; z-index: 1; padding-block: 6rem;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); letter-spacing: -1px; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.32rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16 / 9; order: -1; }
}

/* ---- STATS strip ---- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 2.2rem 1.6rem; text-align: center; }
.stat__num { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--copper); line-height: 1; display: block; }
.stat__label { font-size: .82rem; color: var(--text-soft); margin-top: .6rem; letter-spacing: .03em; }
.section--forest .stat-strip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.section--forest .stat { background: rgba(255,255,255,.03); }
.section--forest .stat__label { color: #aebcb2; }

/* ---- CATEGORY image cards ---- */
.cat-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden;
  min-height: 360px; color: #fff; isolation: isolate;
  border: 1px solid var(--line);
}
.cat-card__media {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1); z-index: -2;
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(19,31,24,.92) 0%, rgba(19,31,24,.45) 45%, rgba(19,31,24,.12) 100%);
  transition: background var(--transition);
}
.cat-card:hover .cat-card__media { transform: scale(1.07); }
.cat-card:hover::after { background: linear-gradient(to top, rgba(19,31,24,.94) 0%, rgba(42,64,48,.55) 55%, rgba(176,125,80,.18) 100%); }
.cat-card__body { position: absolute; inset: auto 0 0 0; padding: 1.8rem; }
.cat-card__body h3 { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.55rem; margin-bottom: .35rem; }
.cat-card__body p { color: rgba(255,255,255,.82); font-size: .93rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease, margin .4s ease; }
.cat-card:hover .cat-card__body p { max-height: 7rem; opacity: 1; margin-top: .2rem; }
.cat-card__tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); font-weight: 500; }
.cat-card__arrow { position: absolute; top: 1.5rem; right: 1.5rem; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; transition: var(--transition); }
.cat-card:hover .cat-card__arrow { background: var(--copper); border-color: var(--copper); transform: rotate(-45deg); }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.cat-grid > .cat-card:nth-child(1), .cat-grid > .cat-card:nth-child(2) { grid-column: span 3; }
.cat-grid > .cat-card:nth-child(3), .cat-grid > .cat-card:nth-child(4), .cat-grid > .cat-card:nth-child(5) { grid-column: span 2; }

/* ---- refined generic cards ---- */
.card { padding: 2.2rem; border-radius: var(--radius); }
.card__tag { display: block; margin-bottom: .6rem; }
.card:hover { box-shadow: 0 26px 50px -28px rgba(19,31,24,.5); }

/* ---- ptype index ---- */
.ptype { position: relative; padding-top: 2.4rem; transition: border-color var(--transition), transform var(--transition); }
.ptype:hover { transform: translateY(-3px); border-color: var(--moss); }
.ptype__idx { font-family: var(--font-head); font-size: 1rem; color: var(--copper); position: absolute; top: 1.4rem; right: 1.6rem; letter-spacing: .1em; }

/* ---- ptype full-width (category pages) — high specificity to win cascade ---- */
.ptype.ptype--wide {
  display: grid; grid-template-columns: 2fr 3fr;
  min-height: 220px; padding: 0; padding-top: 0; overflow: hidden;
  transform: none; transition: none;
}
.ptype.ptype--wide:hover { transform: none; }
.ptype.ptype--flip .ptype__img { order: 1; }
@media (max-width: 720px) {
  .ptype.ptype--wide { grid-template-columns: 1fr; }
  .ptype.ptype--wide .ptype__img { min-height: 160px; order: -1 !important; }
}

/* ---- steps connector ---- */
.step { padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step__num { font-size: 2.2rem; }

/* ---- feature card surface on forest ---- */
.section--forest .feature { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 1.6rem; }

/* ---- split media, subtle frame ---- */
.split__media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; }
.split__media { position: relative; }

/* ---- section divider accent ---- */
.section__head h2 { position: relative; }

@media (max-width: 900px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid > .cat-card { grid-column: span 1 !important; }
}
@media (max-width: 600px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card__body p { max-height: 7rem; opacity: 1; }
  .grid--auto { grid-template-columns: 1fr; }
}

/* =========================================================
   V2 — PREMIUM LAYER (senior pass)
   ========================================================= */

/* keyboard users / touch: reveal category copy on focus too */
.cat-card:focus-within .cat-card__media { transform: scale(1.07); }
.cat-card:focus-within .cat-card__body p { max-height: 7rem; opacity: 1; margin-top: .2rem; }

/* subtle film grain over the whole page for an organic, non-flat feel */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 100;
  background: linear-gradient(90deg, var(--moss), var(--copper));
  transition: width .1s linear;
}

/* ---- header: refined ---- */
.site-header { transition: box-shadow var(--transition), background var(--transition); }
.site-header.scrolled { box-shadow: 0 8px 30px -22px rgba(19,31,24,.55); background: rgba(245,248,245,.96); }
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: var(--copper-ink); transition: width var(--transition);
}
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

/* ---- hero: cinematic ---- */
.hero { overflow: hidden; }
.hero h1 { text-wrap: balance; }
.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; margin-top: 2.4rem;
  color: rgba(255,255,255,.72); font-size: .82rem; letter-spacing: .02em;
}
.hero__trust strong { color: #fff; font-weight: 500; }
.hero__trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--copper); }

/* ---- eyebrow line draws in ---- */
.eyebrow::before { transition: width .6s var(--ease-out); }

/* ---- editorial section heading sizes ---- */
h2 { letter-spacing: -.5px; }
.section__head .lead { margin-top: .6rem; }

/* ---- image clip reveal ---- */
.reveal-img { overflow: hidden; border-radius: var(--radius); }
.reveal-img img { transform: scale(1.12); transition: transform 1.2s var(--ease-out); }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split__media::after {
  content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); border-radius: var(--radius);
}

/* ---- trust / manufacturer marquee ---- */
.trust { border-block: 1px solid var(--line); background: var(--snow); }
.trust__label { text-align: center; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--moss); margin-bottom: 1.6rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 4rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-head); font-size: 1.7rem; color: var(--pine); opacity: .55; white-space: nowrap; letter-spacing: .02em; transition: opacity var(--transition); }
.marquee__item:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- testimonial / pullquote ---- */
.quote { max-width: 920px; margin-inline: auto; text-align: center; }
.quote__mark { font-family: var(--font-head); font-size: 5rem; line-height: .6; color: var(--copper); display: block; height: 2.2rem; }
.quote blockquote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.3; margin: 0 0 1.6rem; color: #fff; text-wrap: balance; }
.quote figcaption { color: rgba(255,255,255,.7); font-size: .92rem; letter-spacing: .02em; }
.quote figcaption strong { color: var(--copper); font-weight: 500; display: block; }

/* ---- pre-footer CTA band ---- */
.cta-band { position: relative; overflow: hidden; background: var(--pine); color: #fff; text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .14; z-index: 0;
  background: radial-gradient(60% 120% at 80% 10%, var(--copper), transparent 55%), radial-gradient(50% 120% at 10% 90%, var(--moss), transparent 55%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 600px; margin-inline: auto; margin-bottom: 2rem; font-size: 1.1rem; }

/* ---- how-it-works: connected timeline ---- */
.timeline { position: relative; }
.timeline__line { position: absolute; left: 0; right: 0; top: 28px; height: 2px; background: var(--line); }
.timeline__line span { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--moss), var(--copper)); }
.step { position: relative; z-index: 1; background: var(--snow); }
.step__num { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--line); background: var(--snow); font-size: 1.4rem; color: var(--copper-ink); margin-bottom: 1rem; transition: border-color var(--transition), background var(--transition), color var(--transition); }
.step.is-active .step__num, .step:hover .step__num { border-color: var(--copper); background: var(--copper-ink); color: #fff; }

/* ---- feature icons (line style) ---- */
.feature__icon { font-size: 1.15rem; }
.feature h4 { font-size: 1.12rem; }

/* ---- generous section rhythm ---- */
.section { padding-block: clamp(4rem, 9vw, 8.5rem); }

@media (max-width: 820px) {
  .timeline__line { display: none; }
  .hero__trust { gap: .4rem 1rem; }
}
