/* ============================================================
   AEREN — Elevated Living, Everyday Wellbeing
   Nordic / Scandinavian design system
   Palette: ice gray #F0F5F9 · cool steel #C9D6DF
            slate #52616B · near-black #1E2022
   ============================================================ */

:root {
  /* Brand */
  --ice: #F0F5F9;
  --ice-2: #E8EEF3;
  --steel: #C9D6DF;
  --steel-dark: #A9BCC9;
  --slate: #52616B;
  --slate-light: #75838D;
  --ink: #1E2022;
  --ink-soft: #2E3236;
  --white: #FFFFFF;
  --sand: #EDE8E1;
  --sage: #9CAF88;
  --clay: #C4A484;

  /* Semantic */
  --bg: var(--ice);
  --surface: var(--white);
  --surface-2: #FAFCFE;
  --text: var(--ink);
  --muted: var(--slate);
  --line: rgba(82, 97, 107, 0.16);
  --line-strong: rgba(82, 97, 107, 0.28);

  /* Type */
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --h-display: clamp(2.6rem, 6vw, 4.8rem);
  --h-1: clamp(2rem, 4.2vw, 3.2rem);
  --h-2: clamp(1.5rem, 3vw, 2.2rem);
  --h-3: 1.18rem;

  /* Shape / motion */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 12px rgba(30, 32, 34, 0.06);
  --shadow-md: 0 18px 50px -18px rgba(30, 32, 34, 0.22);
  --shadow-lg: 0 30px 80px -20px rgba(30, 32, 34, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;

  /* Layout */
  --max: 1220px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--ice); }

/* ---------- Utilities ---------- */
.wrap { width: min(var(--max), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--slate);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--slate); display: inline-block; }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: var(--slate); display: inline-block; }
.display, h1, h2 { font-family: var(--font-serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
.display { font-size: var(--h-display); }
.h1 { font-size: var(--h-1); }
.h2 { font-size: var(--h-2); font-family: var(--font-serif); }
.lead { font-size: 1.14rem; color: var(--slate); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--slate); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: var(--h-1); margin: 0.9rem 0 1rem; }
.section-head p { color: var(--slate); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.9rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur), color var(--dur), border-color var(--dur);
  white-space: nowrap;
}
.btn-dark { background: var(--ink); color: var(--ice); }
.btn-dark:hover { background: var(--ink-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.4); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.86rem; }
.btn .arr { transition: transform var(--dur) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Skip link / progress ---------- */
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.7rem 1.2rem; z-index: 200; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--slate); z-index: 120; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.35s, box-shadow 0.35s, height 0.35s;
  background: rgba(240, 245, 249, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(255,255,255,0.92); border-color: var(--line); box-shadow: var(--shadow-sm); height: 66px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(var(--max), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark-svg, .brand-logo-img { height: 38px; width: auto; display: block; }
.brand-mark-svg { color: #23262B; }
.brand-text { line-height: 1.15; }
.brand-name { display: block; font-family: var(--font-serif); font-size: 1.7rem; font-weight: 500; letter-spacing: 0.01em; color: #23262B; }
.brand-tag { display: block; font-size: 0.55rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--slate); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 0.3rem; list-style: none; padding: 0; }
.nav-links a {
  position: relative; padding: 0.65rem 1rem; font-size: 0.94rem; font-weight: 500; color: var(--slate);
  border-radius: var(--r-pill); transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--ink); background: rgba(82,97,107,0.08); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 4px; height: 2px;
  background: var(--ink); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 0.7rem; }
.cart-dot {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center; background: #fff;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.cart-dot:hover { transform: translateY(-2px); border-color: var(--ink); }
.cart-dot small {
  position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 0.68rem; font-weight: 700;
  display: grid; place-items: center;
}
.hamburger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; position: relative; }
.hamburger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.35s var(--ease); }
.hamburger span:nth-child(1) { top: 16px; } .hamburger span:nth-child(2) { top: 22px; } .hamburger span:nth-child(3) { top: 28px; }
.hamburger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: 0.35s var(--ease);
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { display: flex; justify-content: space-between; align-items: center; padding: 1.05rem var(--gutter); border-top: 1px solid var(--line); font-weight: 600; }
.mobile-menu a.active { background: var(--ice); }

/* ---------- Hero slider ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: clip; background: var(--ink); }
.hero-track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease; }
.hero-slide.active img { transform: scale(1); }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,32,34,0.34) 0%, rgba(30,32,34,0.18) 40%, rgba(30,32,34,0.68) 100%);
}
.hero-content {
  position: relative; z-index: 2; color: #fff;
  width: min(var(--max), 100% - (var(--gutter) * 2)); margin-inline: auto;
  padding: calc(var(--nav-h) + 3rem) 0 7.5rem;
  max-width: var(--max);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
  padding: 0.55rem 1.1rem; border-radius: var(--r-pill); backdrop-filter: blur(8px);
}
.hero-content h1 { font-size: var(--h-display); max-width: 14ch; margin: 1.2rem 0 1rem; color: #fff; }
.hero-content p { max-width: 52ch; color: rgba(255,255,255,0.86); font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.6rem; color: rgba(255,255,255,0.82); font-size: 0.9rem; }
.hero-meta strong { display: block; font-family: var(--font-serif); font-size: 1.6rem; color: #fff; font-weight: 500; }
.hero-ui { position: absolute; z-index: 3; left: 0; right: 0; bottom: 2rem; display: flex; align-items: center; justify-content: space-between; width: min(var(--max), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.hero-dots { display: flex; gap: 0.6rem; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,0.35); cursor: pointer; transition: background 0.3s, width 0.3s; padding: 0; }
.hero-dots button.active { background: #fff; width: 52px; }
.hero-arrows { display: flex; gap: 0.6rem; }
.hero-arrows button {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.12); color: #fff;
  backdrop-filter: blur(8px); font-size: 1.2rem; transition: 0.3s;
}
.hero-arrows button:hover { background: #fff; color: var(--ink); }
.hero-count { color: rgba(255,255,255,0.8); font-size: 0.85rem; letter-spacing: 0.2em; }

/* Page hero (inner pages) */
.page-hero { padding: calc(var(--nav-h) + 4rem) 0 3.5rem; position: relative; overflow: clip; }
.page-hero h1 { font-size: var(--h-1); margin: 1rem 0; max-width: 18ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero-card {
  margin-top: 2.8rem; border-radius: var(--r-lg); overflow: hidden; position: relative;
  min-height: 340px; display: flex; align-items: flex-end; box-shadow: var(--shadow-md);
}
.page-hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(30,32,34,0.62)); }
.page-hero-card figcaption { position: relative; z-index: 1; color: #fff; padding: 2rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.page-hero-card figcaption div strong { display: block; font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 1rem 0; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 28s linear infinite; font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--slate); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split img.main { border-radius: var(--r-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/4.6; max-height: 600px; object-fit: cover; width: 100%; }
.img-stack { position: relative; }
.img-stack .float {
  position: absolute; right: 1rem; bottom: 1rem; width: 40%; max-height: 280px;
  border-radius: var(--r-md); border: 6px solid var(--bg); box-shadow: var(--shadow-md);
  aspect-ratio: 1/1.1; object-fit: cover;
}
.badge-card {
  position: absolute; left: -1rem; top: 2rem; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-md); padding: 1rem 1.2rem; display: flex; gap: 0.8rem; align-items: center;
}
.badge-card .n { font-family: var(--font-serif); font-size: 1.8rem; }
.checks { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 0.8rem; }
.checks li { display: flex; gap: 0.8rem; align-items: flex-start; }
.checks .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 0.8rem; margin-top: 2px; }

.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
.value-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.8rem 1.5rem; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--ice); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 1rem; }
.value-card h3 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.5rem; font-weight: 600; }
.value-card p { color: var(--slate); font-size: 0.95rem; }

/* Masonry (Pinterest-style) via CSS columns */
.masonry { columns: 3 300px; column-gap: 1.4rem; }
.masonry > * { break-inside: avoid; margin-bottom: 1.4rem; }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  cursor: zoom-in;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-media { position: relative; overflow: hidden; background: var(--ice-2); }
.product-media img { width: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-tag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 1;
  background: rgba(30,32,34,0.88); color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 0.4rem 0.8rem; border-radius: var(--r-pill);
}
.product-body { padding: 1.3rem 1.3rem 1.4rem; }
.product-cat { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate-light); font-weight: 700; }
.product-body h3 { font-family: var(--font-serif); font-size: 1.35rem; margin: 0.35rem 0 0.3rem; font-weight: 600; }
.product-scent { color: var(--slate); font-size: 0.88rem; font-style: italic; }
.product-desc { color: var(--slate); font-size: 0.92rem; margin-top: 0.6rem; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.price { font-weight: 800; font-size: 1.1rem; }
.price small { display: block; font-weight: 500; color: var(--slate); font-size: 0.75rem; }
.stars { color: #C98A1B; font-size: 0.85rem; letter-spacing: 0.06em; }
.mini-btn {
  border: 1px solid var(--ink); background: transparent; border-radius: var(--r-pill);
  padding: 0.55rem 1.1rem; font-weight: 700; font-size: 0.82rem; cursor: pointer; transition: 0.3s;
}
.mini-btn:hover { background: var(--ink); color: #fff; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.8rem 0 2.4rem; }
.filters button {
  border: 1px solid var(--line-strong); background: #fff; border-radius: var(--r-pill);
  padding: 0.6rem 1.25rem; font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: 0.3s;
}
.filters button:hover { border-color: var(--ink); }
.filters button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters .count { opacity: 0.6; font-weight: 500; }

/* Journal cards */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .ph { overflow: hidden; }
.post-card .ph img { width: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card:hover .ph img { transform: scale(1.05); }
.post-card .pb { padding: 1.4rem; }
.post-meta { display: flex; gap: 0.7rem; align-items: center; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--slate-light); }
.post-meta .pill { background: var(--ice); border: 1px solid var(--line); padding: 0.25rem 0.7rem; border-radius: var(--r-pill); color: var(--slate); }
.post-card h3 { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.25; margin: 0.7rem 0 0.6rem; font-weight: 600; }
.post-card p { color: var(--slate); font-size: 0.95rem; }
.readmore { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.9rem; margin-top: 1rem; }
.readmore:hover { text-decoration: underline; text-underline-offset: 4px; }
.featured-post { display: grid; grid-template-columns: 1.1fr 0.9fr; background: var(--ink); color: #fff; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 1.4rem; }
.featured-post img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.featured-post .fb { padding: clamp(1.8rem, 4vw, 3.2rem); display: flex; flex-direction: column; justify-content: center; }
.featured-post h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 1rem 0; }
.featured-post p { color: rgba(255,255,255,0.78); }

/* ---------- Parallax banner ---------- */
.parallax {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 440px; display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; box-shadow: var(--shadow-md);
}
.parallax-bg { position: absolute; inset: -18% 0; background-size: cover; background-position: center; will-change: transform; }
.parallax::after { content: ""; position: absolute; inset: 0; background: rgba(30,32,34,0.55); }
.parallax-inner { position: relative; z-index: 1; padding: 3rem 1.5rem; max-width: 760px; }
.parallax-inner blockquote { font-family: var(--font-serif); font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.25; }
.parallax-inner cite { display: block; margin-top: 1.2rem; font-style: normal; font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.8); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.8rem; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 2rem 1.7rem; position: relative; overflow: hidden; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-serif); font-size: 3.4rem; line-height: 1; color: var(--steel);
  display: block; margin-bottom: 1rem;
}
.step h3 { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 0.5rem; }
.step p { color: var(--slate); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testi-shell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3.4rem); position: relative; overflow: hidden; }
.testi-track { display: grid; }
.testi { grid-area: 1/1; opacity: 0; transform: translateY(14px); transition: opacity 0.6s, transform 0.6s var(--ease); pointer-events: none; text-align: center; max-width: 760px; margin-inline: auto; }
.testi.active { opacity: 1; transform: none; pointer-events: auto; }
.testi .stars { font-size: 1rem; }
.testi blockquote { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.8vw, 1.9rem); line-height: 1.4; margin: 1.1rem 0 1.4rem; }
.testi-person { display: flex; align-items: center; justify-content: center; gap: 0.9rem; }
.testi-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--steel); }
.testi-person strong { display: block; font-size: 0.95rem; }
.testi-person span { font-size: 0.82rem; color: var(--slate); }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.8rem; }
.testi-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font-size: 1.15rem; transition: 0.3s; }
.testi-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.testi-dots { display: flex; gap: 0.5rem; }
.testi-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--steel); cursor: pointer; }
.testi-dots button.active { background: var(--ink); transform: scale(1.2); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 0.9rem; max-width: 820px; }
.faq.center-faq { margin-inline: auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow 0.3s, border-color 0.3s; }
.faq-item.open { border-color: var(--slate); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: none; border: 0; padding: 1.25rem 1.4rem; font-weight: 700; font-size: 1rem; text-align: left; cursor: pointer; }
.faq-q .plus { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 1.2rem; font-weight: 400; transition: 0.35s var(--ease); }
.faq-item.open .plus { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 1.4rem 1.4rem; color: var(--slate); }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.gallery button { border: 0; padding: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--ice-2); }
.gallery img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery button:hover img { transform: scale(1.07); }
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,22,24,0.9);
  display: grid; place-items: center; padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
  backdrop-filter: blur(6px);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: min(920px, 94vw); }
.lightbox img { max-height: 76vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: rgba(255,255,255,0.85); text-align: center; margin-top: 1rem; font-size: 0.92rem; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.1); color: #fff; font-size: 1.4rem; cursor: pointer; transition: 0.3s;
}
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-prev { left: 1.2rem; } .lb-next { right: 1.2rem; }
.lb-close { position: absolute; top: 1.2rem; right: 1.2rem; transform: none; }
.lb-count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.85rem; letter-spacing: 0.2em; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 3rem; padding-left: 2rem; border-left: 2px solid var(--steel); display: grid; gap: 2rem; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -2.65rem; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--ice); border: 3px solid var(--ink);
}
.timeline-item .year { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em; color: var(--slate); }
.timeline-item h3 { font-family: var(--font-serif); font-size: 1.4rem; margin: 0.3rem 0 0.4rem; }
.timeline-item p { color: var(--slate); max-width: 60ch; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3rem); }
.stats div { text-align: center; padding: 0.5rem; }
.stats div + div { border-left: 1px solid rgba(255,255,255,0.14); }
.stats strong { display: block; font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 500; }
.stats span { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* ---------- Newsletter / CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, var(--slate) 100%);
  color: #fff; border-radius: var(--r-lg); padding: clamp(2.2rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: "A"; position: absolute; right: -1rem; bottom: -4rem; font-family: var(--font-serif);
  font-size: 16rem; line-height: 1; opacity: 0.07; pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0.8rem 0; }
.cta-band p { color: rgba(255,255,255,0.78); }
.news-form { display: flex; gap: 0.6rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); padding: 0.45rem; border-radius: var(--r-pill); backdrop-filter: blur(8px); }
.news-form input { flex: 1; background: transparent; border: 0; outline: 0; padding: 0.7rem 1.1rem; color: #fff; min-width: 0; }
.news-form input::placeholder { color: rgba(255,255,255,0.6); }
.news-form button { background: #fff; color: var(--ink); border: 0; border-radius: var(--r-pill); padding: 0.8rem 1.6rem; font-weight: 700; cursor: pointer; transition: 0.3s; }
.news-form button:hover { background: var(--steel); }
.form-note { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-top: 0.8rem; }
.flash { border-radius: var(--r-md); padding: 1rem 1.2rem; margin-top: 1rem; font-size: 0.92rem; }
.flash.ok { background: rgba(156,175,136,0.2); border: 1px solid rgba(156,175,136,0.6); }
.flash.err { background: rgba(180,80,80,0.14); border: 1px solid rgba(180,80,80,0.5); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.4rem; align-items: start; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.6rem; }
.info-card h3 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.4rem; }
.info-card p, .info-card a { color: var(--slate); font-size: 0.95rem; }
.info-card a:hover { color: var(--ink); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-weight: 700; font-size: 0.86rem; }
.field input, .field textarea, .field select {
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 0.85rem 1rem;
  background: var(--surface-2); outline: 0; transition: border-color 0.25s, box-shadow 0.25s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(30,32,34,0.08); }
.field textarea { min-height: 150px; resize: vertical; }
.field .err-msg { color: #A33; font-size: 0.83rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.78); margin-top: var(--section); }
.footer-top { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr; gap: 2rem; padding: 4rem 0 3rem; }
.footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; font-size: 0.94rem; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer .brand-mark-svg { color: #F6F2EC; }
/* Official mark is charcoal-on-transparent: invert to ivory on dark footer */
.footer .brand-logo-img { filter: invert(0.93) brightness(1.05); }
.footer .brand-name { color: #F6F2EC; }
.footer .brand-tag { color: rgba(246, 242, 236, 0.6); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.14); padding: 1.3rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.88rem;
}
.socials { display: flex; gap: 0.6rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.25); transition: 0.3s;
}
.socials a:hover { background: #fff; border-color: #fff; text-decoration: none; }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- Scroll animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s var(--ease); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Back to top / toast ---------- */
.to-top {
  position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 90;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: 0.35s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 20px); z-index: 210;
  background: var(--ink); color: #fff; padding: 0.9rem 1.4rem; border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 600; opacity: 0; pointer-events: none; transition: 0.4s var(--ease);
  box-shadow: var(--shadow-lg); max-width: 92vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 4rem 0; }
.notfound .big { font-family: var(--font-serif); font-size: clamp(4rem, 12vw, 8rem); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split, .cta-band, .featured-post, .contact-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .stats div:nth-child(3) { border-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .featured-post img { min-height: 260px; max-height: 340px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: block; }
  .hero-content { padding-bottom: 8.5rem; }
  .hero-meta { gap: 1.2rem; }
  .badge-card { left: 0.5rem; }
  .img-stack .float { right: 0; }
  .two-col { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.6rem; padding: 3rem 0 2rem; }
  .footer-bar { justify-content: center; text-align: center; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img { height: 170px; }
  .lb-btn { width: 44px; height: 44px; }
  .lb-prev { left: 0.5rem; } .lb-next { right: 0.5rem; }
  .news-form { flex-direction: column; border-radius: var(--r-md); }
  .news-form button { width: 100%; }
}
@media (max-width: 480px) {
  body { font-size: 0.98rem; }
  .value-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.4rem; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
