/* ==========================================================================
   MateRelayZest — Luxury UGC Creator Studio Editorial
   Palette: Deep Burgundy #6E2944 · Dusty Rose #B56F78 · Champagne Gold #C7A45B
   Soft Purple (page background) #EADDF4 · Porcelain #FFFDFC · Deep Espresso #292324
   Warm Mauve Gray #8C7D7F · Soft Sage #6C7566 · Rose Crimson #A94763
   Deep Plum #3E2152
   ========================================================================== */

:root {
  --burgundy: #6E2944;
  --rose: #B56F78;
  --gold: #C7A45B;
  --ivory: #EADDF4; /* page background — soft purple */
  --purple: #6B3FA0;
  --plum: #3E2152;
  --plum-deep: #2A1838;
  --porcelain: #FFFDFC;
  --espresso: #292324;
  --mauve: #8C7D7F;
  --sage: #6C7566;
  --crimson: #A94763;
  --line: rgba(110, 41, 68, 0.14);
  --line-strong: rgba(110, 41, 68, 0.28);
  --line-gold: rgba(199, 164, 91, 0.55);
  --shadow-soft: 0 10px 30px -18px rgba(41, 35, 36, 0.35);
  --shadow: 0 26px 60px -30px rgba(41, 35, 36, 0.45);
  --serif: "Bodoni 72", "Didot", "Playfair Display", "Cormorant Garamond", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--espresso);
  background-color: var(--ivory);
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.14 0 0 0 0 0.14 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(1200px 600px at 85% -10%, rgba(107, 63, 160, 0.2), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(155, 100, 190, 0.16), transparent 60%);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--burgundy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--crimson); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--espresso);
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.3rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--burgundy); }

p { margin: 0 0 1.1em; }

.container { width: min(1240px, calc(100% - 2.5rem)); margin-inline: auto; }
.container-narrow { width: min(860px, calc(100% - 2.5rem)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000;
  background: var(--burgundy); color: var(--porcelain); padding: 0.7rem 1rem; border-radius: 10px;
  text-decoration: none; transition: top 0.3s;
}
.skip-link:focus { top: 1rem; color: var(--porcelain); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--crimson);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }

.lede { font-size: clamp(1rem, 1.3vw, 1.14rem); color: #5c4f51; max-width: 62ch; }
.small { font-size: 0.86rem; color: var(--mauve); }

.shimmer-text {
  background: linear-gradient(100deg, var(--burgundy) 20%, var(--gold) 45%, var(--crimson) 60%, var(--burgundy) 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Top line & header (non-sticky) ---------- */
.topline {
  background: var(--espresso); color: #eadfd8; text-align: center;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.45rem 1rem;
}
.topline p { margin: 0; }
.topline span { color: var(--gold); }

.site-header {
  position: relative; /* intentionally NOT sticky / fixed */
  z-index: 60;
  background: rgba(255, 253, 252, 0.86);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none;
  color: var(--espresso); font-family: var(--serif); font-size: 1.32rem; letter-spacing: 0.01em; white-space: nowrap;
}
.brand:hover { color: var(--espresso); }
.brand em { font-style: italic; color: var(--burgundy); }
.brand-mark { width: 32px; height: 32px; flex: none; transition: transform 0.6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-light { color: var(--porcelain); }
.brand-light:hover { color: var(--porcelain); }
.brand-light em { color: var(--gold); }

.primary-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: clamp(0.9rem, 1.4vw, 1.5rem); margin: 0; padding: 0; }
.nav-list a {
  position: relative; display: inline-block; padding: 0.4rem 0;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--espresso); text-decoration: none; transition: color 0.3s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--burgundy); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta-mobile { display: none; }
.header-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-gold); background: var(--porcelain); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0;
  transition: background 0.3s;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--burgundy); transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-toggle:hover { background: #f5eefa; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--porcelain); border-bottom: 1px solid var(--line-gold);
    box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height 0.5s var(--ease), visibility 0s linear 0.5s;
  }
  .primary-nav.open {
    max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h));
    overflow-y: auto; visibility: visible; transition: max-height 0.5s var(--ease);
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.25rem; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: flex; align-items: center; min-height: 52px; font-size: 0.8rem; width: 100%; }
  .nav-list a::after { bottom: 10px; right: auto; width: 40px; }
  .nav-cta-mobile { display: flex; margin: 1rem 1.25rem 1.4rem; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .brand { font-size: 1.15rem; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 1.02rem; }
  .brand-mark { width: 28px; height: 28px; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 46px; padding: 0.75rem 1.45rem; border-radius: 999px;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  text-decoration: none; text-align: center; line-height: 1.25;
  border: 1px solid var(--gold); cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(110, 41, 68, 0.7); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--burgundy); color: var(--porcelain); }
.btn-primary:hover { background: var(--crimson); color: var(--porcelain); }
.btn-outline { background: rgba(255, 253, 252, 0.6); color: var(--burgundy); }
.btn-outline:hover { background: rgba(199, 164, 91, 0.14); color: var(--burgundy); }
.btn-gold { background: var(--gold); color: var(--espresso); }
.btn-gold:hover { background: #d4b46d; color: var(--espresso); }
.btn-outline-light { background: transparent; color: var(--porcelain); }
.btn-outline-light:hover { background: rgba(199, 164, 91, 0.18); color: var(--porcelain); }
.btn-sm { min-height: 40px; padding: 0.55rem 1.1rem; font-size: 0.68rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--burgundy);
}
.text-link::after { content: "→"; transition: transform 0.35s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }

/* ---------- Hero: Creator Studio Drift ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero-bg { position: absolute; inset: -6%; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; filter: sepia(0.25) saturate(0.75); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at calc(70% + var(--mx, 0) * 6%) calc(40% + var(--my, 0) * 6%), rgba(199, 164, 91, 0.22), transparent 70%),
    linear-gradient(90deg, rgba(234, 221, 244, 0.97) 0%, rgba(234, 221, 244, 0.88) 45%, rgba(234, 221, 244, 0.55) 100%);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 3rem; } }

.hero h1 { margin-bottom: 1.4rem; }
.mask { display: block; overflow: hidden; padding-bottom: 0.06em; }
.mask > span { display: block; transform: translateY(108%); animation: maskUp 1.2s var(--ease) forwards; }
.mask:nth-child(2) > span { animation-delay: 0.14s; }
.mask:nth-child(3) > span { animation-delay: 0.28s; }
@keyframes maskUp { to { transform: translateY(0); } }
.fade-up { opacity: 0; animation: fadeUp 1s var(--ease) 0.45s forwards; }
.fade-up.d2 { animation-delay: 0.6s; }
.fade-up.d3 { animation-delay: 0.75s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.search-form { margin: 1.8rem 0 1rem; max-width: 600px; }
.search-field {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--porcelain); border: 1px solid var(--line-gold); border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 1.1rem; box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s, border-color 0.35s;
}
.search-field:focus-within { border-color: var(--burgundy); box-shadow: 0 0 0 4px rgba(199, 164, 91, 0.2), var(--shadow-soft); }
.search-field svg { width: 18px; height: 18px; flex: none; color: var(--mauve); }
.search-field input {
  flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1rem;
  padding: 0.75rem 0.3rem; color: var(--espresso);
}
.search-field input:focus { outline: none; }
.search-status { font-size: 0.84rem; color: var(--mauve); min-height: 1.4em; margin: 0.4rem 0 0.8rem; }
@media (max-width: 420px) {
  .search-field { flex-wrap: wrap; border-radius: 22px; padding: 0.5rem; }
  .search-field svg { display: none; }
  .search-field input { width: 100%; padding: 0.6rem 0.6rem; }
  .search-field .btn { width: 100%; }
}

.quick-links { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.quick-links span { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mauve); margin-right: 0.3rem; }
.quick-links a {
  font-size: 0.8rem; text-decoration: none; padding: 0.4rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 253, 252, 0.7); color: var(--espresso); transition: all 0.3s;
}
.quick-links a:hover { border-color: var(--gold); color: var(--burgundy); }

.hero-meta { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 1.6rem; }
.hero-meta li { font-size: 0.8rem; color: var(--mauve); letter-spacing: 0.04em; }
.hero-meta strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--burgundy); line-height: 1; }

.hero-stage { position: relative; height: clamp(380px, 50vw, 600px); width: 100%; }
.layer { position: absolute; will-change: transform; }
.float { animation: floatY 7s ease-in-out infinite alternate; }
.float-slow { animation: floatY 10s ease-in-out infinite alternate; }
.float-alt { animation: floatY2 8s ease-in-out infinite alternate; }
@keyframes floatY { from { transform: translateY(-6px) rotate(-0.4deg); } to { transform: translateY(8px) rotate(0.5deg); } }
@keyframes floatY2 { from { transform: translateY(6px) rotate(0.6deg); } to { transform: translateY(-8px) rotate(-0.4deg); } }

.l-orb { left: 50%; top: 28%; width: 200px; height: 200px; margin-left: -100px; z-index: 0; }
.gold-orb { width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle, rgba(199, 164, 91, 0.55), rgba(199, 164, 91, 0.08) 55%, transparent 70%); filter: blur(4px); }
.l-portfolio { left: 0; top: 13%; width: 36%; z-index: 1; }
.l-phone { left: 31%; top: 2%; width: 34%; z-index: 3; }
.l-product { right: 0; top: 7%; width: 31%; z-index: 2; }
.l-campaign { right: 2%; bottom: 2%; width: 45%; z-index: 4; }
.l-notebook { left: 2%; bottom: 0; width: 36%; z-index: 2; }
.l-lens { left: 61%; top: 57%; width: 66px; z-index: 5; }
.l-badge { left: 22%; top: -1%; width: 92px; z-index: 6; }

.portfolio-frame, .product-card {
  margin: 0; background: var(--porcelain); padding: 10px 10px 12px; border-radius: 14px;
  border: 1px solid var(--line-gold); box-shadow: var(--shadow);
}
.portfolio-frame img, .product-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.portfolio-frame figcaption, .product-card figcaption {
  display: flex; justify-content: space-between; gap: 0.4rem; flex-wrap: wrap;
  font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mauve); padding-top: 0.5rem;
}
.product-card figcaption strong { color: var(--burgundy); font-weight: 600; }

.phone {
  background: #1d1819; border-radius: 34px; padding: 8px; box-shadow: 0 40px 70px -30px rgba(41, 35, 36, 0.7);
  border: 1px solid rgba(199, 164, 91, 0.6);
}
.phone-screen { position: relative; border-radius: 27px; overflow: hidden; aspect-ratio: 9 / 18.5; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-screen::before {
  content: ""; position: absolute; top: 8px; left: 50%; width: 32%; height: 14px; margin-left: -16%;
  background: #1d1819; border-radius: 10px; z-index: 2;
}
.rec {
  position: absolute; top: 30px; left: 10px; z-index: 2; font-size: 0.58rem; letter-spacing: 0.12em;
  background: rgba(41, 35, 36, 0.6); color: #fff; padding: 0.2rem 0.5rem; border-radius: 999px;
}
.rec b { color: #e3667f; }
.caption-chip {
  position: absolute; left: 8%; right: 8%; bottom: 14%; z-index: 2; text-align: center;
  font-size: 0.66rem; line-height: 1.35; background: rgba(255, 253, 252, 0.92); color: var(--espresso);
  padding: 0.4rem 0.5rem; border-radius: 8px; font-weight: 600;
}

.campaign-card {
  background: rgba(255, 253, 252, 0.92); border: 1px solid var(--line-gold); border-radius: 16px;
  padding: 1rem 1.1rem; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.cc-label { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--crimson); margin: 0 0 0.3rem; }
.cc-title { font-family: var(--serif); font-size: 1.12rem; margin: 0 0 0.5rem; line-height: 1.15; }
.campaign-card ul { list-style: none; margin: 0; padding: 0; font-size: 0.72rem; color: #5c4f51; }
.campaign-card li { padding: 0.22rem 0; border-top: 1px dashed var(--line); }
.campaign-card li::before { content: "✦ "; color: var(--gold); }

.notebook {
  background: #fbf6f1; border-radius: 6px 16px 16px 6px; padding: 1rem 1rem 1rem 1.4rem; box-shadow: var(--shadow);
  border-left: 6px solid var(--burgundy);
  background-image: repeating-linear-gradient(transparent 0 22px, rgba(181, 111, 120, 0.18) 22px 23px);
}
.notebook p { font-family: var(--serif); font-style: italic; color: var(--burgundy); margin: 0 0 0.3rem; font-size: 1rem; }
.notebook ol { margin: 0; padding-left: 1.1rem; font-size: 0.72rem; line-height: 1.95; color: var(--espresso); }

.lens {
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.5) 0 8%, transparent 9%),
    radial-gradient(circle, #3a2a30 0 30%, #1d1819 31% 52%, #6E2944 53% 56%, #1d1819 57% 70%, var(--gold) 71% 74%, #2a2023 75%);
  box-shadow: 0 18px 30px -12px rgba(41, 35, 36, 0.7);
}
.badge-spin { width: 100%; height: auto; animation: spin 24s linear infinite; filter: drop-shadow(0 10px 18px rgba(41, 35, 36, 0.25)); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 979px) {
  .hero-stage { max-width: 620px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .hero-stage { height: 360px; }
  .l-notebook, .l-lens { display: none; }
  .l-portfolio { width: 40%; top: 18%; }
  .l-phone { left: 30%; width: 38%; }
  .l-product { width: 34%; }
  .l-campaign { width: 62%; right: 0; }
  .l-badge { width: 70px; left: 14%; }
  .cc-title { font-size: 0.92rem; }
  .campaign-card { padding: 0.7rem 0.8rem; }
  .campaign-card ul { font-size: 0.64rem; }
  .caption-chip { font-size: 0.56rem; }
  .portfolio-frame figcaption, .product-card figcaption { font-size: 0.52rem; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--porcelain); overflow: hidden; padding: 1rem 0; }
.marquee-track { display: flex; width: max-content; gap: 2.5rem; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--burgundy); white-space: nowrap; }
.marquee-track span::after { content: "✦"; font-style: normal; color: var(--gold); margin-left: 2.5rem; font-size: 0.8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.section-alt { background: rgba(255, 253, 252, 0.72); border-block: 1px solid var(--line); }
.section-dark { background: var(--espresso); color: #eadfd8; }
.section-dark h2, .section-dark h3 { color: var(--porcelain); }
.section-dark h2 em { color: var(--gold); }
.section-dark .lede { color: #cbbcb6; }
.section-dark .eyebrow { color: var(--rose); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
@media (min-width: 960px) { .section-head.split { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 3rem; } }
.section-head h2 { margin-bottom: 0; }
.section-foot { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }

/* ---------- Step-by-step process ---------- */
.section-steps {
  background: linear-gradient(160deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: #e9dff0; overflow: hidden; isolation: isolate;
}
.section-steps::before {
  content: ""; position: absolute; right: -12%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(199, 164, 91, 0.22), transparent 65%);
}
.section-steps h2, .section-steps h3 { color: var(--porcelain); }
.section-steps h2 em { color: var(--gold); }
.section-steps .lede { color: #d4c6de; }
.section-steps .eyebrow { color: #e0b4d2; }
.steps {
  list-style: none; padding: 0; margin: 0; counter-reset: step;
  display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.step {
  position: relative; counter-increment: step; display: flex; flex-direction: column;
  padding: 1.6rem 1.4rem 1.5rem; border-radius: var(--radius);
  background: rgba(255, 253, 252, 0.05); border: 1px solid rgba(199, 164, 91, 0.3);
  transition: transform 0.45s var(--ease), border-color 0.45s, background 0.45s;
}
.step:hover { transform: translateY(-5px); border-color: var(--gold); background: rgba(255, 253, 252, 0.09); }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 1rem;
  border-radius: 50%; border: 1px solid var(--gold); background: rgba(199, 164, 91, 0.1);
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold);
}
.step-meta { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 0.3rem; }
.step h3 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.step p { font-size: 0.9rem; color: #d4c6de; margin: 0 0 1rem; }
.step .text-link { margin-top: auto; color: var(--gold); }
.steps-foot { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.steps-foot p { margin: 0; font-size: 0.86rem; color: #c9b9d4; max-width: 60ch; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: rgba(255, 253, 252, 0.9); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--line-gold); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e6dbef; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(41, 35, 36, 0.35)); pointer-events: none; }
.card-badge, .card-score {
  position: absolute; top: 0.9rem; z-index: 1; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; border-radius: 999px; font-weight: 600;
}
.card-badge { left: 0.9rem; background: rgba(255, 253, 252, 0.94); color: var(--burgundy); border: 1px solid var(--line-gold); }
.card-score { right: 0.9rem; background: rgba(41, 35, 36, 0.78); color: var(--gold); }
.card-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.card-kicker { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mauve); margin: 0; }
.card-title { font-size: 1.7rem; margin: 0; }
.card-summary { font-size: 0.94rem; color: #54484a; margin: 0; }
.card-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.card-tags li { font-size: 0.7rem; padding: 0.25rem 0.65rem; border-radius: 999px; background: rgba(181, 111, 120, 0.12); color: var(--burgundy); }
.card-tags li.sage { background: rgba(108, 117, 102, 0.14); color: var(--sage); }
.card-price { margin: 0; padding-top: 0.75rem; border-top: 1px dashed var(--line-strong); font-size: 0.85rem; }
.card-price span { display: block; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mauve); }
.card-actions { margin-top: auto; padding-top: 0.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.card-actions .btn { font-size: 0.64rem; padding: 0.6rem 0.7rem; letter-spacing: 0.12em; }
@media (max-width: 380px) { .card-actions { grid-template-columns: 1fr; } }

.empty-state {
  text-align: center; padding: 2.5rem 1.5rem; border: 1px dashed var(--line-gold); border-radius: var(--radius);
  background: rgba(255, 253, 252, 0.7); color: var(--mauve);
}
.empty-state strong { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--espresso); font-weight: 500; margin-bottom: 0.3rem; }

/* ---------- Roles / UGC vs influencer ---------- */
.ugc-split { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .ugc-split { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; } }
.framed-image { position: relative; margin: 0; }
.framed-image img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.framed-image::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }
.framed-image figcaption { font-size: 0.78rem; color: var(--mauve); margin-top: 1.4rem; font-style: italic; }
.role-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 1.5rem; }
.role {
  background: var(--porcelain); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 12px; padding: 1.1rem 1.2rem; transition: transform 0.4s var(--ease), border-color 0.4s;
}
.role:hover { transform: translateY(-4px); border-left-color: var(--burgundy); }
.role.is-ugc { background: var(--burgundy); color: #f6e9e6; border-left-color: var(--gold); }
.role.is-ugc h3 { color: var(--porcelain); }
.role h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.role p { font-size: 0.88rem; margin: 0; }

/* ---------- Resource tiles ---------- */
.resource-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.resource {
  position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem;
  background: var(--porcelain); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--espresso); transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.45s;
  overflow: hidden;
}
.resource::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(199, 164, 91, 0.25), transparent 70%); transition: transform 0.6s var(--ease); }
.resource:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-gold); color: var(--espresso); }
.resource:hover::after { transform: scale(1.6); }
.resource .num { font-family: var(--serif); font-size: 2.4rem; color: transparent; -webkit-text-stroke: 1px var(--gold); line-height: 1; }
.resource h3 { margin: 0; font-size: 1.3rem; }
.resource p { margin: 0; font-size: 0.9rem; color: #5c4f51; }
.resource .text-link { margin-top: auto; padding-top: 0.6rem; }

/* ---------- Categories (asymmetric) ---------- */
.category-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) {
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .category-grid .cat:nth-child(1) { grid-row: span 2; }
  .category-grid .cat:nth-child(4) { grid-column: span 2; }
  .category-grid .cat:nth-child(6) { grid-row: span 2; }
}
.cat {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius); min-height: 190px;
  text-decoration: none; color: var(--porcelain); isolation: isolate; background: var(--espresso);
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); opacity: 0.92; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(41, 35, 36, 0) 35%, rgba(41, 35, 36, 0.82)); }
.cat:hover img { transform: scale(1.08); }
.cat-copy { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; transition: transform 0.5s var(--ease); }
.cat:hover .cat-copy { transform: translateY(-6px); }
.cat-copy small { display: block; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.cat-copy strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.15; }
.cat-copy span { display: block; font-size: 0.78rem; opacity: 0.85; max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.cat:hover .cat-copy span, .cat:focus-visible .cat-copy span { max-height: 4em; }
.cat:hover { color: var(--porcelain); }

/* ---------- Workflow ---------- */
.workflow { --wf: 0; }
.workflow-rail { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin-bottom: 2rem; }
@media (min-width: 860px) {
  .workflow-rail { grid-template-columns: repeat(6, minmax(0, 1fr)); padding-bottom: 1.2rem; }
  .workflow-rail::before, .workflow-progress { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; border-radius: 2px; }
  .workflow-rail::before { right: 0; background: rgba(199, 164, 91, 0.2); }
  .workflow-progress { width: calc(var(--wf) * 100%); min-width: 16.66%; background: var(--gold); transition: width 0.7s var(--ease); }
}
.workflow-rail [role="tab"] {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.2rem; text-align: left;
  padding: 0.9rem 1rem; border-radius: 14px; cursor: pointer; font: inherit;
  background: rgba(255, 253, 252, 0.04); border: 1px solid rgba(199, 164, 91, 0.25); color: #d9cbc5;
  transition: background 0.35s, border-color 0.35s, color 0.35s, transform 0.35s var(--ease); min-height: 64px;
}
.workflow-rail [role="tab"]:hover { border-color: var(--gold); transform: translateY(-2px); }
.workflow-rail [role="tab"][aria-selected="true"] { background: var(--burgundy); border-color: var(--gold); color: var(--porcelain); }
.wf-num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; line-height: 1; }
.wf-label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.wf-panel { display: grid; gap: 2rem; animation: panelIn 0.6s var(--ease); }
@media (min-width: 860px) { .wf-panel { grid-template-columns: 1fr 1fr; align-items: center; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wf-panel img { border-radius: var(--radius-lg); aspect-ratio: 16 / 11; object-fit: cover; width: 100%; border: 1px solid rgba(199, 164, 91, 0.4); }
.wf-panel h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.wf-panel ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.wf-panel li { padding: 0.5rem 0; border-top: 1px solid rgba(199, 164, 91, 0.2); font-size: 0.94rem; }
.wf-panel li::before { content: "✦"; color: var(--gold); margin-right: 0.6rem; }

/* ---------- Editorial spreads ---------- */
.spread { display: grid; gap: 2.5rem; align-items: center; }
.spread + .spread { margin-top: clamp(3.5rem, 7vw, 6rem); }
@media (min-width: 960px) {
  .spread { grid-template-columns: 1.05fr 0.95fr; gap: 4.5rem; }
  .spread.reverse .spread-media { order: 2; }
}
.spread-media { position: relative; }
.spread-media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); }
.spread-media .tag-float {
  position: absolute; right: -0.6rem; bottom: -1.2rem; background: var(--porcelain); border: 1px solid var(--line-gold);
  border-radius: 14px; padding: 0.8rem 1rem; box-shadow: var(--shadow); max-width: 230px; font-size: 0.8rem;
}
.tag-float strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--burgundy); font-weight: 500; }
@media (max-width: 600px) { .spread-media .tag-float { position: static; margin-top: 1rem; max-width: none; } }
.link-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.link-list li { border-top: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 1px solid var(--line); }
.link-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.95rem 0;
  text-decoration: none; color: var(--espresso); font-family: var(--serif); font-size: 1.15rem; transition: color 0.3s, padding 0.4s var(--ease);
}
.link-list a::after { content: "→"; font-family: var(--sans); color: var(--gold); transition: transform 0.4s var(--ease); }
.link-list a:hover { color: var(--burgundy); padding-left: 0.5rem; }
.link-list a:hover::after { transform: translateX(4px); }

/* ---------- Formats ---------- */
.format-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.format {
  background: var(--porcelain); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.format:hover { box-shadow: var(--shadow); }
.format img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.format-body { padding: 1.3rem 1.4rem 1.5rem; }
.format-body h3 { margin-bottom: 0.4rem; }
.format-body p { font-size: 0.9rem; color: #5c4f51; }
.format-body dl { margin: 0; font-size: 0.86rem; }
.format-body dt { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--crimson); margin-top: 0.7rem; }
.format-body dd { margin: 0.15rem 0 0; }

.hook-board { margin-top: 2.5rem; display: grid; gap: 1.2rem; }
@media (min-width: 860px) { .hook-board { grid-template-columns: 1fr 1fr; } }
.hook-col { background: var(--burgundy); color: #f4e6e3; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--gold); }
.hook-col h3 { color: var(--porcelain); }
.hook-col ol { margin: 0; padding-left: 1.2rem; }
.hook-col li { padding: 0.35rem 0; font-size: 0.94rem; }
.hook-col.light { background: var(--porcelain); color: var(--espresso); }
.hook-col.light h3 { color: var(--espresso); }

/* ---------- Recommendations ---------- */
.reco-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.reco {
  position: relative; padding: 1.8rem; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 253, 252, 0.95), rgba(255, 253, 252, 0.75));
  border: 1px solid var(--line-gold); box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.reco:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.reco .reco-label { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.reco h3 { margin: 0.4rem 0 0.6rem; }
.reco ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.reco li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); font-size: 0.9rem; flex-wrap: wrap; }
.reco li a { font-weight: 600; text-decoration: none; }
.reco li span { color: var(--mauve); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; }
.faq details { background: var(--porcelain); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.3rem; transition: border-color 0.3s; }
.faq details[open] { border-color: var(--line-gold); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; position: relative;
  font-family: var(--serif); font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--sans); color: var(--gold); font-size: 1.4rem; transition: transform 0.3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: #54484a; font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 4rem);
  background: var(--burgundy); color: #f5e8e5; border: 1px solid var(--gold); isolation: isolate;
}
.cta-band::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(199, 164, 91, 0.35), transparent 65%); z-index: -1; }
.cta-band h2 { color: var(--porcelain); }
.cta-band h2 em { color: var(--gold); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); overflow: hidden; isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.16; filter: sepia(0.2); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(234, 221, 244, 0.75), var(--ivory)); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 4.2rem); max-width: 18ch; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0 0 1.4rem; font-size: 0.78rem; color: var(--mauve); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--gold); }
.breadcrumb a { color: var(--mauve); text-decoration: none; }
.breadcrumb a:hover { color: var(--burgundy); }

/* ---------- Listings filters ---------- */
.filter-panel { background: rgba(255, 253, 252, 0.9); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.1rem, 3vw, 1.8rem); box-shadow: var(--shadow-soft); margin-bottom: 2rem; }
.filter-top { display: grid; gap: 1rem; margin-bottom: 1.3rem; }
@media (min-width: 820px) { .filter-top { grid-template-columns: 1fr 240px; align-items: end; } }
.filter-group { margin-top: 1rem; }
.filter-group-label { display: block; font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mauve); margin-bottom: 0.55rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  font: inherit; font-size: 0.78rem; min-height: 40px; padding: 0.45rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--porcelain); color: var(--espresso);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--burgundy); color: var(--porcelain); border-color: var(--gold); }
.chip[aria-pressed="true"]::before { content: "✦ "; color: var(--gold); }
.filter-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.4rem; padding-top: 1rem; border-top: 1px dashed var(--line-strong); }
.result-count { font-size: 0.88rem; color: var(--mauve); margin: 0; }
.result-count strong { color: var(--burgundy); font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label, .label { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mauve); font-weight: 600; }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--espresso); background: var(--porcelain);
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 0.8rem 1rem; transition: border-color 0.3s, box-shadow 0.3s;
}
.select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--burgundy) 50%), linear-gradient(135deg, var(--burgundy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 4px rgba(199, 164, 91, 0.2); }
.textarea { min-height: 160px; resize: vertical; }
.is-switching { opacity: 0.35; transition: opacity 0.2s; }

/* ---------- Compare table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--porcelain); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mauve); background: #f6f0fa; font-weight: 600; }
tr:last-child td { border-bottom: 0; }
td a { font-weight: 600; }

/* ---------- Detail page ---------- */
.detail-hero { display: grid; gap: 2.5rem; align-items: center; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 960px) { .detail-hero { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }
.detail-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.detail-intro h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
.spec-list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 1.4rem 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mauve); padding-top: 0.2rem; }
.spec-list dd { margin: 0; font-size: 0.94rem; }
@media (max-width: 420px) { .spec-list div { grid-template-columns: 1fr; gap: 0.2rem; } }
.detail-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.detail-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1040px) { .detail-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; align-items: start; } }
.detail-main > section { padding: 2rem 0; border-top: 1px solid var(--line); }
.detail-main > section:first-child { border-top: 0; padding-top: 0; }
.detail-main h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
@media (min-width: 700px) { .check-list.two { grid-template-columns: 1fr 1fr; } }
.check-list li { position: relative; padding-left: 1.6rem; font-size: 0.96rem; }
.check-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.two-col { display: grid; gap: 2rem; }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; } }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-list li { padding: 0.45rem 0.9rem; border-radius: 999px; border: 1px solid var(--line-gold); background: var(--porcelain); font-size: 0.84rem; }
.note-card { background: var(--porcelain); border: 1px solid var(--line-gold); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.pros-cons { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros-cons > div { border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.pros-cons .pros { background: rgba(108, 117, 102, 0.1); border: 1px solid rgba(108, 117, 102, 0.3); }
.pros-cons .cons { background: rgba(181, 111, 120, 0.1); border: 1px solid rgba(181, 111, 120, 0.3); }
.pros-cons h2 { font-size: 1.5rem; }
.pros-cons ul { margin: 0; padding-left: 1.1rem; }
.pros-cons li { padding: 0.25rem 0; font-size: 0.94rem; }
.pull { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.3; color: var(--burgundy); padding-left: 1.4rem; border-left: 2px solid var(--gold); }
.gallery { display: grid; gap: 0.8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; display: block; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.detail-aside .panel {
  position: sticky; top: 1.5rem; background: var(--porcelain); border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-soft);
}
.panel h2 { font-size: 1.4rem; }
.panel .btn { width: 100%; margin-top: 0.6rem; }
.panel ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.panel li { border-top: 1px solid var(--line); }
.panel li a { display: block; padding: 0.65rem 0; text-decoration: none; font-size: 0.92rem; }

/* ---------- Guide ---------- */
.guide-cover { position: relative; min-height: clamp(420px, 70vh, 640px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: var(--porcelain); }
.guide-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.guide-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(41, 35, 36, 0.2), rgba(41, 35, 36, 0.86)); }
.guide-cover .container { padding: 3rem 0; }
.guide-cover h1 { color: var(--porcelain); max-width: 15ch; }
.guide-cover h1 em { color: var(--gold); }
.guide-cover .lede { color: #eadfd8; }
.guide-cover .breadcrumb a, .guide-cover .breadcrumb ol { color: #e2d4ce; }
.guide-layout { display: grid; gap: 2.5rem; padding: clamp(3rem, 6vw, 5rem) 0; }
@media (min-width: 1040px) { .guide-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 4rem; align-items: start; } }
.toc { background: var(--porcelain); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; }
@media (min-width: 1040px) { .toc { position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow-y: auto; } }
.toc h2 { font-size: 1.1rem; margin-bottom: 0.7rem; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 0.6rem; padding: 0.45rem 0.4rem; border-radius: 8px; text-decoration: none; font-size: 0.88rem; color: var(--espresso); transition: background 0.3s, color 0.3s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); font-style: italic; color: var(--gold); }
.toc a:hover, .toc a.active { background: rgba(110, 41, 68, 0.08); color: var(--burgundy); }
.chapter { padding: 0 0 clamp(3rem, 6vw, 4.5rem); margin-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.chapter:last-child { border-bottom: 0; }
.chapter-num { font-family: var(--serif); font-size: clamp(3.5rem, 8vw, 6rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1px var(--gold); margin: 0 0 0.6rem; }
.chapter h3 { margin-top: 2rem; scroll-margin-top: 1.5rem; }
.chapter figure { margin: 2rem 0; }
.chapter figure img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.chapter figcaption { font-size: 0.8rem; color: var(--mauve); font-style: italic; margin-top: 0.6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.45rem; }
.callout { background: var(--porcelain); border: 1px solid var(--line-gold); border-left: 4px solid var(--burgundy); border-radius: 14px; padding: 1.2rem 1.4rem; margin: 1.6rem 0; }
.callout p:last-child { margin-bottom: 0; }
.template-box { background: var(--espresso); color: #eadfd8; border-radius: var(--radius); padding: 1.5rem; font-size: 0.92rem; border: 1px solid var(--gold); white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--sans); line-height: 1.7; }

/* ---------- Legal / about / contact ---------- */
.legal-layout { display: grid; gap: 2.5rem; padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem); }
@media (min-width: 1040px) { .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 4rem; align-items: start; } }
.prose { max-width: 76ch; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 2.4rem; scroll-margin-top: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.meta-card { background: var(--porcelain); border: 1px solid var(--line-gold); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-bottom: 2rem; font-size: 0.92rem; }
.meta-card p { margin: 0.2rem 0; }

.contact-grid { display: grid; gap: 2rem; padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 6rem); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: start; } }
.info-card { background: var(--burgundy); color: #f4e6e3; border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--gold); }
.info-card h2 { color: var(--porcelain); font-size: 1.8rem; }
.info-card a { color: var(--gold); }
.info-card dl { margin: 0; }
.info-card dt { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose); margin-top: 1.1rem; }
.info-card dd { margin: 0.2rem 0 0; }
.form-card { background: var(--porcelain); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow-soft); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid .half { grid-template-columns: 1fr 1fr; display: grid; gap: 1.1rem; } }
.field-error { color: var(--crimson); font-size: 0.8rem; min-height: 1em; }
.field.invalid .input, .field.invalid .textarea, .field.invalid .select { border-color: var(--crimson); }
.check-field { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; }
.check-field input { margin-top: 0.3rem; width: 18px; height: 18px; accent-color: var(--burgundy); flex: none; }
.form-status { border-radius: 12px; padding: 1rem 1.2rem; font-size: 0.92rem; }
.form-status.success { background: rgba(108, 117, 102, 0.12); border: 1px solid rgba(108, 117, 102, 0.4); }
.form-status.error { background: rgba(169, 71, 99, 0.1); border: 1px solid rgba(169, 71, 99, 0.4); }

.values-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.value { background: var(--porcelain); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 1.5rem; }
.value h3 { font-size: 1.3rem; }
.value p { font-size: 0.92rem; color: #54484a; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: #d9cbc5; padding-top: clamp(3rem, 6vw, 5rem); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.7fr repeat(5, 1fr); gap: 2.4rem; } }
.footer-brand p { font-size: 0.9rem; margin: 1rem 0; }
.footer-brand address { font-style: normal; font-size: 0.84rem; line-height: 1.8; margin-bottom: 1.2rem; }
.footer-brand address strong { color: var(--porcelain); }
.site-footer a { color: #eadfd8; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-heading { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 0.3rem 0; font-size: 0.88rem; }
.footer-col button.linklike { background: none; border: 0; padding: 0; color: #eadfd8; font: inherit; cursor: pointer; text-align: left; }
.footer-col button.linklike:hover { color: var(--gold); }
.footer-notices { margin-top: 3rem; padding: 1.8rem 0; border-top: 1px solid rgba(199, 164, 91, 0.25); font-size: 0.8rem; line-height: 1.75; color: #bfaea8; }
.footer-notices strong { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between; padding: 1.4rem 0 2rem; border-top: 1px solid rgba(199, 164, 91, 0.15); font-size: 0.78rem; }
.footer-bottom p { margin: 0; }

/* ---------- Cookie banner & modals ---------- */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1500; max-width: 540px;
  background: var(--porcelain); border: 1px solid var(--line-gold); border-radius: 22px; padding: 1.4rem 1.5rem;
  box-shadow: 0 30px 70px -20px rgba(41, 35, 36, 0.55);
  animation: bannerIn 0.7s var(--ease);
}
@media (min-width: 640px) { .cookie-banner { left: 1.5rem; bottom: 1.5rem; right: auto; } }
@keyframes bannerIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.cookie-banner h2 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.cookie-banner p { font-size: 0.88rem; color: #54484a; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-actions .btn { flex: 1 1 140px; }

.modal { position: fixed; inset: 0; z-index: 1600; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(41, 35, 36, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade 0.4s; }
@keyframes fade { from { opacity: 0; } }
.modal-panel {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); overflow-y: auto;
  background: var(--porcelain); border: 1px solid var(--line-gold); border-radius: 24px; padding: clamp(1.3rem, 4vw, 2rem);
  box-shadow: var(--shadow); animation: modalIn 0.5s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } }
.modal-close { position: absolute; top: 0.9rem; right: 0.9rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-gold); background: var(--porcelain); cursor: pointer; font-size: 1.2rem; color: var(--burgundy); }
.pref-row { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--line); }
.pref-row h3 { font-size: 1.05rem; margin: 0 0 0.2rem; }
.pref-row p { font-size: 0.84rem; color: var(--mauve); margin: 0; }
.switch { position: relative; width: 50px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #dccfca; transition: background 0.3s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); transition: transform 0.3s var(--ease); }
.switch input:checked + span { background: var(--burgundy); }
.switch input:checked + span::after { transform: translateX(22px); background: var(--gold); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: 0.7; }
.switch input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.modal-actions .btn { flex: 1 1 160px; }
.lightbox-panel { width: min(1100px, 100%); padding: 0.8rem; background: var(--espresso); }
.lightbox-panel img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 14px; }
.lightbox-panel p { color: #d9cbc5; font-size: 0.85rem; margin: 0.6rem 0.4rem 0.2rem; }

/* ---------- Reveal effects ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease); }
.js .wipe.in { clip-path: inset(0 0 0 0); }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }
.stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.4s; }
.stagger > *:nth-child(7) { transition-delay: 0.48s; }
.stagger > *:nth-child(8) { transition-delay: 0.56s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .wipe { clip-path: none; }
  .mask > span { transform: none; }
  .fade-up { opacity: 1; }
  .marquee-track { transform: none; }
}

@media print {
  .site-header, .topline, .cookie-banner, .modal, .hero-stage { display: none !important; }
}