/* =========================================================================
   HOME ECO COLOUR — main.css
   Loaded by every page via includes/header.php
   ========================================================================= */

:root {
  --bone: #F4EFE6;
  --bone-deep: #ECE5D7;
  --cream: #FAF6EE;
  --ink: #1A1310;
  --espresso: #2B1F17;
  --espresso-soft: #3D2D22;
  --sage: #7B8A6B;
  --sage-deep: #5C6B4F;
  --terracotta: #B86B4D;
  --terracotta-deep: #9A5238;
  --clay: #D4A988;
  --moss: #4A5739;
  --rule: #C9BFAE;
  --rule-soft: #E0D7C5;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Geist', -apple-system, sans-serif;
  background: var(--bone);
  color: var(--espresso);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 380;
  font-feature-settings: 'ss01', 'ss02';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: "SOFT" 30, "opsz" 144;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; background: transparent; border: none; color: inherit; }

.hec-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--espresso-soft);
  font-weight: 500;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3CfeColorMatrix values='0 0 0 0 0.17 0 0 0 0 0.12 0 0 0 0 0.09 0 0 0 0.08 0' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== UTILITY BAR ===== */
.hec-utility {
  background: var(--ink); color: var(--bone);
  padding: 9px 0;
  font-family: 'Geist Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  position: relative; z-index: 50; overflow: hidden;
}
.hec-utility-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
}
.hec-utility-marquee {
  display: flex; gap: 48px; overflow: hidden; flex: 1;
  animation: hec-scroll-left 40s linear infinite;
}
.hec-utility-marquee span { white-space: nowrap; opacity: 0.85; }
.hec-utility-marquee span::before { content: '◊'; margin-right: 12px; opacity: 0.5; }
@keyframes hec-scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== HEADER ===== */
.hec-header {
  position: sticky; top: 0;
  background: var(--bone);
  border-bottom: 1px solid var(--rule);
  z-index: 40; padding: 24px 0;
}
.hec-header-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 32px;
}
.hec-nav { display: flex; gap: 32px; font-size: 14px; font-weight: 450; letter-spacing: 0.01em; }
.hec-nav-right { justify-content: flex-end; align-items: center; }
.hec-nav a { color: var(--espresso); position: relative; transition: color 0.3s; padding: 4px 0; }
.hec-nav a:hover, .hec-nav a[aria-current="page"] { color: var(--terracotta-deep); }
.hec-nav-left a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: var(--terracotta-deep);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.hec-nav-left a:hover::after, .hec-nav-left a[aria-current="page"]::after { transform: scaleX(1); }

.hec-logo {
  font-family: 'Fraunces', serif;
  font-variation-settings: "SOFT" 80, "opsz" 144;
  font-size: 26px; font-weight: 350; letter-spacing: -0.02em;
  color: var(--ink); display: flex; align-items: baseline; gap: 4px; white-space: nowrap;
}
.hec-logo em { font-style: italic; color: var(--terracotta-deep); font-weight: 380; }
.hec-logo small {
  font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--espresso-soft); margin-left: 8px; font-weight: 500;
}

.hec-search {
  border: 1px solid var(--espresso); padding: 8px 18px; border-radius: 999px;
  font-size: 13px; background: transparent; color: var(--espresso);
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 6px;
}
.hec-search:hover { background: var(--espresso); color: var(--bone); }

.hec-burger {
  display: none; width: 32px; height: 32px; position: relative;
  align-items: center; justify-content: center;
}
.hec-burger span {
  display: block; width: 20px; height: 1.5px; background: var(--ink);
  position: absolute; transition: transform 0.4s, opacity 0.3s, top 0.4s;
}
.hec-burger span:nth-child(1) { top: 11px; }
.hec-burger span:nth-child(2) { top: 15px; }
.hec-burger span:nth-child(3) { top: 19px; }
.hec-header.hec-menu-open .hec-burger span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.hec-header.hec-menu-open .hec-burger span:nth-child(2) { opacity: 0; }
.hec-header.hec-menu-open .hec-burger span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

.hec-drawer {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bone); border-bottom: 1px solid var(--rule);
  padding: 32px; flex-direction: column; gap: 16px;
  box-shadow: 0 12px 32px rgba(26, 19, 16, 0.08);
}
.hec-header.hec-menu-open .hec-drawer { display: flex; }
.hec-drawer a {
  color: var(--espresso); font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 380; letter-spacing: -0.015em;
  padding: 6px 0; border-bottom: 1px solid var(--rule);
}

/* ===== BUTTONS ===== */
.hec-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 32px;
  font-family: 'Geist', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none; border-radius: 999px; cursor: pointer; border: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.hec-btn-primary { background: var(--ink); color: var(--bone); }
.hec-btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(154, 82, 56, 0.3); }
.hec-btn-primary .hec-arrow { transition: transform 0.4s; }
.hec-btn-primary:hover .hec-arrow { transform: translateX(4px); }
.hec-btn-ghost { background: transparent; color: var(--espresso); border: 1px solid var(--rule); }
.hec-btn-ghost:hover { border-color: var(--ink); background: var(--cream); }

/* ===== HERO ===== */
.hec-hero { padding: 80px 32px 100px; max-width: 1440px; margin: 0 auto; position: relative; }
.hec-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; }
.hec-hero-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.hec-hero-meta .hec-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta); box-shadow: 0 0 0 3px rgba(184, 107, 77, 0.15);
}
.hec-hero h1 {
  font-size: clamp(56px, 9vw, 132px);
  font-variation-settings: "SOFT" 30, "opsz" 144, "wght" 380;
  line-height: 0.92; letter-spacing: -0.035em; margin-bottom: 36px;
}
.hec-hero h1 .hec-italic {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 350;
  color: var(--terracotta-deep);
}
.hec-hero h1 .hec-underline-art { position: relative; display: inline-block; }
.hec-hero h1 .hec-underline-art::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: 0.08em;
  height: 0.16em; background: var(--clay); z-index: -1; opacity: 0.55;
}
.hec-hero-lede { max-width: 580px; font-size: 19px; line-height: 1.55; color: var(--espresso-soft); margin-bottom: 44px; font-weight: 400; }
.hec-hero-lede strong { color: var(--ink); font-weight: 600; }
.hec-hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hec-hero-stats {
  display: flex; flex-direction: column; gap: 28px;
  border-left: 1px solid var(--rule); padding-left: 36px; margin-bottom: 12px;
}
.hec-stat-num {
  font-family: 'Fraunces', serif; font-size: 56px; font-weight: 350;
  color: var(--ink); letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px;
}
.hec-stat-num em { font-style: italic; color: var(--terracotta-deep); }
.hec-stat-label {
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--espresso-soft); font-weight: 500;
}

/* ===== 2026 COLOURS GRID ===== */
.hec-colours { background: var(--cream); padding: 120px 32px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hec-colours-inner { max-width: 1440px; margin: 0 auto; }
.hec-colours-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end;
  margin-bottom: 80px; padding-bottom: 48px; border-bottom: 1px solid var(--rule);
}
.hec-colours-header h2 {
  font-size: clamp(48px, 6vw, 84px);
  font-variation-settings: "SOFT" 40, "opsz" 144, "wght" 350; letter-spacing: -0.03em;
}
.hec-colours-header h2 em {
  font-style: italic; color: var(--sage-deep);
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 320;
}
.hec-colours-header p { font-size: 17px; color: var(--espresso-soft); max-width: 480px; line-height: 1.6; }

.hec-colours-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
}
.hec-colour-card { background: var(--bone); overflow: hidden; }
.hec-colour-swatch {
  height: 320px; position: relative; display: flex;
  align-items: flex-end; justify-content: space-between; padding: 24px;
  transition: filter 0.6s;
}
.hec-colour-card:hover .hec-colour-swatch { filter: brightness(0.94); }
.hec-colour-swatch::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15));
}
.hec-swatch-hex { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.15em; z-index: 1; }
.hec-swatch-num { font-family: 'Fraunces', serif; font-style: italic; font-size: 56px; font-weight: 300; z-index: 1; line-height: 1; }
.hec-colour-info { padding: 28px 24px 32px; }
.hec-colour-brand {
  font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--espresso-soft); margin-bottom: 10px;
}
.hec-colour-name {
  font-family: 'Fraunces', serif; font-size: 28px; font-weight: 380;
  margin-bottom: 12px; letter-spacing: -0.02em;
}
.hec-colour-desc { font-size: 13.5px; color: var(--espresso-soft); line-height: 1.5; }

.hec-colours-cta {
  margin-top: 64px; display: flex; justify-content: space-between;
  align-items: center; gap: 32px; flex-wrap: wrap;
}
.hec-colours-cta-text {
  max-width: 520px; font-size: 17px; color: var(--espresso-soft);
  font-style: italic; font-family: 'Fraunces', serif;
}
.hec-colours-cta-text strong { color: var(--ink); font-style: normal; font-weight: 500; }

/* ===== LEAD MAGNET ===== */
.hec-lead {
  background: var(--ink); color: var(--bone);
  padding: 140px 32px; position: relative; overflow: hidden;
}
.hec-lead::before {
  content: ''; position: absolute; top: 50%; left: -10%;
  width: 50%; height: 200%;
  background: radial-gradient(ellipse, rgba(184, 107, 77, 0.18), transparent 60%);
  transform: translateY(-50%); pointer-events: none;
}
.hec-lead::after {
  content: ''; position: absolute; top: -30%; right: -15%;
  width: 60%; height: 160%;
  background: radial-gradient(ellipse, rgba(123, 138, 107, 0.15), transparent 60%);
  pointer-events: none;
}
.hec-lead-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 0.8fr; gap: 100px;
  align-items: center; position: relative; z-index: 1;
}
.hec-lead-content .hec-eyebrow { color: var(--clay); margin-bottom: 24px; display: block; }
.hec-lead-content h2 {
  color: var(--bone); font-size: clamp(44px, 5.5vw, 72px);
  font-variation-settings: "SOFT" 40, "opsz" 144, "wght" 350;
  margin-bottom: 28px; letter-spacing: -0.025em;
}
.hec-lead-content h2 em {
  font-style: italic; color: var(--clay);
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 320;
}
.hec-lead-content p {
  font-size: 18px; line-height: 1.55; color: rgba(244, 239, 230, 0.82);
  margin-bottom: 36px; max-width: 520px;
}
.hec-lead-list { margin-bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.hec-lead-list li {
  display: flex; align-items: flex-start; gap: 16px;
  font-size: 15.5px; color: rgba(244, 239, 230, 0.92);
}
.hec-lead-list li::before {
  content: ''; flex-shrink: 0; width: 24px; height: 1px;
  background: var(--terracotta); margin-top: 12px;
}

.hec-lead-visual { position: relative; perspective: 1500px; height: 540px; }
.hec-pdf-mock {
  position: absolute; inset: 0; background: var(--bone); border-radius: 4px;
  padding: 40px 36px; transform: rotate(-4deg) rotateY(-8deg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column;
}
.hec-lead-visual:hover .hec-pdf-mock { transform: rotate(-2deg) rotateY(-4deg) translateY(-12px); }
.hec-pdf-mock-header {
  border-bottom: 1px solid var(--rule); padding-bottom: 20px; margin-bottom: 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.hec-pdf-mock-logo { font-family: 'Fraunces', serif; font-style: italic; font-size: 16px; color: var(--ink); }
.hec-pdf-mock-meta {
  font-family: 'Geist Mono', monospace; font-size: 9px;
  letter-spacing: 0.2em; color: var(--espresso-soft); text-transform: uppercase;
}
.hec-pdf-mock h3 { font-family: 'Fraunces', serif; font-size: 32px; line-height: 1.05; margin-bottom: 6px; color: var(--ink); }
.hec-pdf-mock h3 em { font-style: italic; color: var(--terracotta-deep); }
.hec-pdf-mock-sub { font-size: 12px; color: var(--espresso-soft); margin-bottom: 28px; }
.hec-pdf-swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 24px; }
.hec-pdf-swatch { aspect-ratio: 1; position: relative; display: flex; align-items: flex-end; padding: 6px; }
.hec-pdf-swatch span { font-family: 'Geist Mono', monospace; font-size: 7px; letter-spacing: 0.08em; }
.hec-pdf-stamp {
  position: absolute; top: 24px; right: -16px;
  background: var(--terracotta-deep); color: var(--bone);
  padding: 10px 18px; font-family: 'Geist Mono', monospace;
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  transform: rotate(6deg); box-shadow: 0 8px 24px rgba(154, 82, 56, 0.4);
}

/* Fallback form (used when GHL embed is empty) */
.hec-fallback-form {
  display: flex; max-width: 480px;
  border: 1px solid rgba(244, 239, 230, 0.25); border-radius: 999px; padding: 6px;
  background: rgba(244, 239, 230, 0.04);
}
.hec-fallback-form input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 12px 22px; color: var(--bone); font-family: inherit; font-size: 15px;
}
.hec-fallback-form input::placeholder { color: rgba(244, 239, 230, 0.45); }
.hec-fallback-form button {
  background: var(--bone); color: var(--ink); border: none;
  padding: 12px 28px; border-radius: 999px; font-family: inherit;
  font-size: 14px; font-weight: 500; cursor: pointer;
}
.hec-fallback-form button:hover { background: var(--clay); }
.hec-fallback-note {
  margin-top: 12px; font-size: 11px; color: rgba(244, 239, 230, 0.5);
  font-family: 'Geist Mono', monospace; letter-spacing: 0.08em;
}
.hec-fallback-note code { background: rgba(244, 239, 230, 0.1); padding: 2px 6px; border-radius: 4px; }

/* On light backgrounds, invert the fallback form colors */
.hec-colours .hec-fallback-form,
.hec-trending-hero .hec-fallback-form,
.hec-footer .hec-fallback-form {
  border-color: rgba(26, 19, 16, 0.2); background: transparent;
}
.hec-colours .hec-fallback-form input,
.hec-trending-hero .hec-fallback-form input { color: var(--ink); }
.hec-colours .hec-fallback-form input::placeholder,
.hec-trending-hero .hec-fallback-form input::placeholder { color: rgba(26, 19, 16, 0.4); }
.hec-colours .hec-fallback-form button,
.hec-trending-hero .hec-fallback-form button { background: var(--ink); color: var(--bone); }
.hec-footer .hec-fallback-form { border-color: rgba(244, 239, 230, 0.25); }
.hec-footer .hec-fallback-form button { background: var(--clay); color: var(--ink); }

/* ===== SECTION HEADERS ===== */
.hec-section-header {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
  margin-bottom: 64px; padding-bottom: 36px; border-bottom: 1px solid var(--rule);
}
.hec-section-header h2 {
  font-size: clamp(44px, 5.5vw, 72px);
  font-variation-settings: "SOFT" 40, "opsz" 144, "wght" 350; letter-spacing: -0.025em;
}
.hec-section-header h2 em {
  font-style: italic; color: var(--terracotta-deep);
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 320;
}
.hec-all-link {
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--espresso); display: flex;
  align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--ink);
}
.hec-all-link:hover { color: var(--terracotta-deep); border-color: var(--terracotta-deep); }

/* ===== FOOTER ===== */
.hec-footer { background: var(--ink); color: var(--bone); padding: 100px 32px 40px; }
.hec-footer-inner { max-width: 1440px; margin: 0 auto; }
.hec-footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 64px;
  padding-bottom: 80px; border-bottom: 1px solid rgba(244, 239, 230, 0.12);
}
.hec-footer-logo {
  font-family: 'Fraunces', serif;
  font-variation-settings: "SOFT" 80, "opsz" 144;
  font-size: 26px; font-weight: 350; letter-spacing: -0.02em; color: var(--bone);
  display: inline-block;
}
.hec-footer-logo em { font-style: italic; color: var(--terracotta-deep); font-weight: 380; }
.hec-footer-brand p {
  font-size: 14.5px; color: rgba(244, 239, 230, 0.65); line-height: 1.6;
  margin-top: 24px; margin-bottom: 32px; max-width: 380px;
}
.hec-footer-col h5 {
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(244, 239, 230, 0.5); margin-bottom: 24px; font-weight: 500;
}
.hec-footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.hec-footer-col a { color: var(--bone); font-size: 14.5px; transition: color 0.3s; }
.hec-footer-col a:hover { color: var(--clay); }

.hec-giant-mark {
  font-family: 'Fraunces', serif;
  font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 350;
  font-style: italic; font-size: clamp(80px, 14vw, 220px);
  line-height: 0.9; letter-spacing: -0.04em;
  color: rgba(244, 239, 230, 0.06); text-align: center;
  padding: 0 32px; margin-top: 48px; user-select: none; white-space: nowrap; overflow: hidden;
}

.hec-footer-bottom {
  padding-top: 36px; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(244, 239, 230, 0.5); flex-wrap: wrap; gap: 16px;
}
.hec-footer-credits { display: flex; gap: 28px; flex-wrap: wrap; }
.hec-footer-credits a:hover { color: var(--clay); }

/* ===== TRENDING COLOURS PAGE ===== */
.hec-trending-hero {
  padding: 100px 32px 80px; max-width: 1440px; margin: 0 auto;
}
.hec-trending-hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end;
}
.hec-trending-hero h1 {
  font-size: clamp(56px, 8vw, 112px);
  font-variation-settings: "SOFT" 30, "opsz" 144, "wght" 380;
  letter-spacing: -0.035em; line-height: 0.95; margin-bottom: 32px;
}
.hec-trending-hero h1 em { font-style: italic; color: var(--terracotta-deep); font-variation-settings: "SOFT" 100, "opsz" 144, "wght" 350; }
.hec-trending-hero .hec-eyebrow { display: block; margin-bottom: 20px; }
.hec-trending-hero p { font-size: 18px; max-width: 540px; color: var(--espresso-soft); line-height: 1.55; margin-bottom: 36px; }

.hec-refresh-meta {
  border: 1px solid var(--rule); padding: 28px; background: var(--cream);
}
.hec-refresh-meta .hec-eyebrow { display: block; margin-bottom: 16px; }
.hec-refresh-meta .hec-refresh-time {
  font-family: 'Fraunces', serif; font-size: 28px; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 8px;
}
.hec-refresh-meta .hec-refresh-time em { font-style: italic; color: var(--terracotta-deep); }
.hec-refresh-meta .hec-refresh-next {
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--espresso-soft);
}

.hec-trending-grid {
  padding: 60px 32px 120px; max-width: 1440px; margin: 0 auto;
}
.hec-trending-region {
  padding: 80px 0; border-top: 1px solid var(--rule);
}
.hec-trending-region:first-child { padding-top: 40px; }
.hec-trending-region-header {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 32px; margin-bottom: 48px; flex-wrap: wrap;
}
.hec-trending-region h2 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-variation-settings: "SOFT" 40, "opsz" 144, "wght" 360;
  letter-spacing: -0.02em;
}
.hec-trending-region h2 em { font-style: italic; color: var(--sage-deep); }
.hec-region-meta {
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--espresso-soft);
}
.hec-trending-items { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.hec-trending-item { background: var(--bone); display: flex; flex-direction: column; }
.hec-trending-swatch {
  aspect-ratio: 1; position: relative; display: flex;
  align-items: flex-start; justify-content: space-between; padding: 18px;
}
.hec-trending-swatch::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.18));
}
.hec-trending-rank {
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 32px; font-weight: 320; z-index: 1; line-height: 1;
}
.hec-trending-delta {
  z-index: 1; font-family: 'Geist Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 8px;
  background: rgba(244, 239, 230, 0.9); color: var(--ink); border-radius: 999px;
}
.hec-trending-delta.hec-up { background: rgba(123, 138, 107, 0.95); color: var(--bone); }
.hec-trending-delta.hec-down { background: rgba(184, 107, 77, 0.95); color: var(--bone); }
.hec-trending-info { padding: 20px; }
.hec-trending-name {
  font-family: 'Fraunces', serif; font-size: 20px; letter-spacing: -0.015em;
  color: var(--ink); margin-bottom: 6px;
}
.hec-trending-hex {
  font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.16em;
  color: var(--espresso-soft); text-transform: uppercase;
}

/* Trending CTA block (with GHL form) */
.hec-trending-cta {
  background: var(--cream); padding: 100px 32px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.hec-trending-cta-inner {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center;
}
.hec-trending-cta-inner h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-variation-settings: "SOFT" 40, "opsz" 144, "wght" 360; letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hec-trending-cta-inner h2 em { font-style: italic; color: var(--terracotta-deep); }
.hec-trending-cta-inner p { color: var(--espresso-soft); font-size: 16px; line-height: 1.6; margin-bottom: 24px; }

/* ===== GUIDES / BRANDS / HEALTH / EDITORS (homepage) ===== */
.hec-guides { padding: 140px 32px 120px; max-width: 1440px; margin: 0 auto; }
.hec-guides-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.hec-guide-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.hec-guide-card:hover { transform: translateY(-6px); }
.hec-guide-image { position: relative; background: var(--cream); border: 1px solid var(--rule); margin-bottom: 24px; overflow: hidden; transition: filter 0.5s; }
.hec-guide-card:hover .hec-guide-image { filter: brightness(0.95); }
.hec-guide-image.hec-feature { aspect-ratio: 1.25; }
.hec-guide-image.hec-standard { aspect-ratio: 1; }
.hec-guide-art { width: 100%; height: 100%; display: block; }
.hec-guide-tag {
  position: absolute; top: 16px; left: 16px; background: var(--bone);
  font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--rule);
}
.hec-guide-meta {
  display: flex; gap: 12px; margin-bottom: 14px;
  font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--espresso-soft);
}
.hec-guide-meta .hec-meta-dot { color: var(--terracotta); }
.hec-guide-card h3 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 14px; line-height: 1.1; }
.hec-guide-card.hec-feature-card h3 { font-size: 38px; line-height: 1.05; }
.hec-guide-card p { font-size: 15px; color: var(--espresso-soft); line-height: 1.55; margin-bottom: 18px; }
.hec-guide-readmore {
  font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; margin-top: auto;
}
.hec-guide-readmore .hec-line { width: 24px; height: 1px; background: var(--ink); transition: width 0.4s; }
.hec-guide-card:hover .hec-guide-readmore .hec-line { width: 40px; background: var(--terracotta-deep); }

.hec-brands { background: var(--cream); padding: 80px 32px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hec-brands-inner { max-width: 1440px; margin: 0 auto; }
.hec-brand-header { text-align: center; margin-bottom: 56px; }
.hec-brand-header .hec-eyebrow { display: block; margin-bottom: 14px; }
.hec-brand-header h3 { font-size: clamp(28px, 3vw, 38px); max-width: 820px; margin: 0 auto; }
.hec-brand-header h3 em { font-style: italic; color: var(--sage-deep); }
.hec-brand-row { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.hec-brand-cell {
  padding: 32px 20px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; font-family: 'Fraunces', serif; font-style: italic;
  font-size: 18px; color: var(--espresso); transition: background 0.4s;
}
.hec-brand-cell:hover { background: var(--bone); }
.hec-brand-cell small {
  font-family: 'Geist Mono', monospace; font-size: 9px; font-style: normal;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--espresso-soft); font-weight: 500;
}

.hec-health { padding: 140px 32px; max-width: 1440px; margin: 0 auto; }
.hec-health-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 100px; align-items: center; }
.hec-health-image { position: relative; aspect-ratio: 0.85; background: var(--cream); border: 1px solid var(--rule); overflow: hidden; }
.hec-health-svg { width: 100%; height: 100%; }
.hec-health-tag-overlay {
  position: absolute; top: 24px; left: 24px; background: var(--bone);
  border: 1px solid var(--rule); padding: 14px 18px;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.hec-health-tag-overlay strong { color: var(--terracotta-deep); }
.hec-health-content .hec-eyebrow { margin-bottom: 28px; display: block; }
.hec-health-content h2 { font-size: clamp(40px, 4.8vw, 64px); letter-spacing: -0.025em; margin-bottom: 32px; line-height: 1.05; }
.hec-health-content h2 em { font-style: italic; color: var(--terracotta-deep); }
.hec-health-content > p { font-size: 18px; color: var(--espresso-soft); line-height: 1.6; margin-bottom: 40px; max-width: 580px; }
.hec-health-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; margin-bottom: 48px; }
.hec-pillar { border-top: 1px solid var(--rule); padding-top: 20px; }
.hec-pillar-num { font-family: 'Fraunces', serif; font-style: italic; font-size: 32px; color: var(--terracotta-deep); display: block; margin-bottom: 8px; font-weight: 320; }
.hec-pillar h4 { font-size: 18px; margin-bottom: 6px; letter-spacing: -0.01em; }
.hec-pillar p { font-size: 14px; color: var(--espresso-soft); line-height: 1.5; }

.hec-editors { background: var(--moss); color: var(--bone); padding: 120px 32px; position: relative; overflow: hidden; }
.hec-editors::before {
  content: '"'; position: absolute; top: -100px; left: 4%;
  font-family: 'Fraunces', serif; font-style: italic;
  font-size: 600px; color: rgba(244, 239, 230, 0.04); line-height: 1; pointer-events: none;
}
.hec-editors-inner { max-width: 980px; margin: 0 auto; position: relative; z-index: 1; text-align: center; }
.hec-editors-inner .hec-eyebrow { color: var(--clay); margin-bottom: 28px; display: block; }
.hec-editors-inner blockquote {
  font-family: 'Fraunces', serif; font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.25; letter-spacing: -0.015em; color: var(--bone);
  margin-bottom: 40px; font-style: italic;
}
.hec-editors-inner blockquote span { color: var(--clay); font-style: normal; }
.hec-editors-author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.hec-author-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--clay);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-style: italic; color: var(--ink); font-size: 18px;
}
.hec-author-info { text-align: left; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.hec-author-info strong { color: var(--bone); display: block; margin-bottom: 4px; font-weight: 500; }
.hec-author-info span { color: rgba(244, 239, 230, 0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hec-hero-grid, .hec-colours-header, .hec-health-grid,
  .hec-lead-inner, .hec-footer-top, .hec-trending-hero-grid,
  .hec-trending-cta-inner {
    grid-template-columns: 1fr; gap: 48px;
  }
  .hec-colours-grid, .hec-trending-items { grid-template-columns: repeat(2, 1fr); }
  .hec-guides-grid { grid-template-columns: 1fr 1fr; }
  .hec-guide-card.hec-feature-card { grid-column: span 2; }
  .hec-brand-row { grid-template-columns: repeat(4, 1fr); }
  .hec-hero-stats { flex-direction: row; border-left: none; border-top: 1px solid var(--rule); padding: 32px 0 0; }
  .hec-footer-top { grid-template-columns: 1fr 1fr; }
  .hec-footer-brand { grid-column: span 2; }
}
@media (max-width: 900px) {
  .hec-nav-left, .hec-nav-right { display: none; }
  .hec-burger { display: flex; }
  .hec-header-inner { grid-template-columns: auto 1fr auto; }
  .hec-logo { justify-self: center; font-size: 22px; }
  .hec-logo small { display: none; }
}
@media (max-width: 640px) {
  .hec-utility-static { display: none; }
  .hec-hero { padding: 48px 20px 60px; }
  .hec-hero-stats { flex-direction: column; gap: 20px; }
  .hec-stat-num { font-size: 44px; }
  .hec-colours-grid, .hec-trending-items { grid-template-columns: 1fr; }
  .hec-colours, .hec-lead, .hec-health, .hec-editors, .hec-guides,
  .hec-trending-hero, .hec-trending-grid, .hec-trending-cta {
    padding-left: 20px; padding-right: 20px; padding-top: 80px; padding-bottom: 80px;
  }
  .hec-guides-grid { grid-template-columns: 1fr; }
  .hec-guide-card.hec-feature-card { grid-column: span 1; }
  .hec-brand-row { grid-template-columns: repeat(2, 1fr); }
  .hec-health-pillars { grid-template-columns: 1fr; }
  .hec-fallback-form { flex-direction: column; border-radius: 16px; padding: 12px; gap: 8px; }
  .hec-fallback-form button { width: 100%; }
  .hec-colour-swatch { height: 240px; }
  .hec-section-header { grid-template-columns: 1fr; }
  .hec-footer { padding: 60px 20px 32px; }
  .hec-footer-top { grid-template-columns: 1fr; }
  .hec-footer-brand { grid-column: span 1; }
  .hec-footer-bottom { flex-direction: column; align-items: flex-start; }
  .hec-giant-mark { display: none; }
}
