/* ==========================================================
   Handmade Chocolate Labels — Redesign
   Prefix: --hc-
   Design System: Navy #0033a0 + Champagne Gold #c9a96a
   Atlas: Confection Sensorium Atlas (No. 11)
   ========================================================== */

:root {
  /* Brand */
  --hc-navy:        #0033a0;
  --hc-navy-deep:   #001f63;
  --hc-navy-soft:   #3a5fcd;
  --hc-navy-tint:   #e8eef9;
  --hc-gold:        #c9a96a;
  --hc-gold-deep:   #a8884a;
  --hc-gold-soft:   #e3d4ac;
  --hc-gold-tint:   #f6efe2;

  /* Ink */
  --hc-ink:         #0a1733;
  --hc-ink-soft:    #3a4868;
  --hc-ink-mute:    #6b7a99;
  --hc-line:        #e2e8f2;
  --hc-line-soft:   #eef2f8;
  --hc-bg:          #ffffff;
  --hc-bg-alt:      #f8f6f1;
  --hc-bg-cream:    #faf6ed;

  /* Atlas accent palette (anchored to navy + gold family) */
  --hc-cocoa:        #5c3a1e;
  --hc-cocoa-deep:   #3d2415;
  --hc-caramel:      #c9a96a;
  --hc-cream:        #f6efe2;
  --hc-bitter:       #2e1810;
  --hc-berry:        #9b2c3a;
  --hc-forest:       #2d5a3d;

  /* Type */
  --hc-font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hc-font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hc-font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Radius */
  --hc-r-sm:  6px;
  --hc-r-md:  10px;
  --hc-r-lg:  16px;
  --hc-r-xl:  24px;
  --hc-r-pill: 999px;

  /* Shadow */
  --hc-sh-sm: 0 1px 2px rgba(0, 31, 99, 0.05), 0 1px 3px rgba(0, 31, 99, 0.06);
  --hc-sh-md: 0 4px 12px rgba(0, 31, 99, 0.08), 0 2px 6px rgba(0, 31, 99, 0.04);
  --hc-sh-lg: 0 14px 32px rgba(0, 31, 99, 0.10), 0 4px 10px rgba(0, 31, 99, 0.05);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--hc-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--hc-ink);
  background: var(--hc-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--hc-navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--hc-gold-deep); }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--hc-font-display);
  color: var(--hc-ink);
  margin: 0 0 .5em;
  line-height: 1.22;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid rgba(0, 51, 160, .45); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.hc-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.hc-container--narrow { max-width: 880px; }
.hc-section { padding: 88px 0; }
.hc-section--alt { background: var(--hc-bg-alt); }
.hc-section--tight { padding: 56px 0; }
.hc-section--cream { background: var(--hc-bg-cream); }

.hc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hc-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hc-navy);
  padding: 6px 12px;
  background: var(--hc-navy-tint);
  border-radius: var(--hc-r-pill);
  margin-bottom: 18px;
}
.hc-eyebrow--gold {
  color: var(--hc-gold-deep);
  background: var(--hc-gold-tint);
}

.hc-section-head { max-width: 1080px; margin-bottom: 48px; }
.hc-section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
}
.hc-section-head p {
  color: var(--hc-ink-soft);
  font-size: 17px;
  margin: 0;
}
.hc-divider-gold {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--hc-gold), var(--hc-gold-deep));
  border-radius: var(--hc-r-pill);
  margin: 14px 0 0;
}

/* ---------- Header ---------- */
.hc-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--hc-navy);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 31, 99, .25);
}
.hc-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.hc-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-family: var(--hc-font-display);
  font-weight: 800; font-size: 19px; letter-spacing: -0.02em;
}
.hc-brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--hc-gold), var(--hc-gold-deep));
  color: var(--hc-navy-deep);
  border-radius: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: -0.04em;
}
.hc-nav { display: flex; align-items: center; gap: 28px; }
.hc-nav a {
  color: rgba(255,255,255,.82);
  font-size: 14px; font-weight: 500;
}
.hc-nav a:hover { color: var(--hc-gold); }
.hc-nav a.is-active { color: #fff; }
.hc-nav .hc-btn-gold {
  background: linear-gradient(135deg, var(--hc-gold), var(--hc-gold-deep));
  color: var(--hc-navy-deep);
  padding: 9px 18px;
  border-radius: var(--hc-r-pill);
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(201,169,106,.3);
}
.hc-nav .hc-btn-gold:hover { color: var(--hc-navy-deep); transform: translateY(-1px); }
.hc-nav-toggle { display: none; }

/* ---------- Breadcrumbs ---------- */
.hc-breadcrumbs { background: var(--hc-bg-alt); padding: 14px 0; border-bottom: 1px solid var(--hc-line); }
.hc-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.hc-breadcrumbs li { color: var(--hc-ink-mute); }
.hc-breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: var(--hc-ink-mute); }
.hc-breadcrumbs a { color: var(--hc-ink-soft); }
.hc-breadcrumbs li[aria-current="page"] { color: var(--hc-navy); font-weight: 600; }

/* ---------- Hero ---------- */
.hc-hero { padding: 72px 0 56px; background: var(--hc-bg); position: relative; overflow: hidden; }
.hc-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(0,51,160,.06), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(201,169,106,.10), transparent 42%);
  pointer-events: none;
}
.hc-hero__head { max-width: 880px; position: relative; z-index: 1; }
.hc-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.hc-hero h1 .hc-accent {
  background: linear-gradient(120deg, var(--hc-gold), var(--hc-gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hc-hero__lead {
  font-size: 18px; color: var(--hc-ink-soft); max-width: 720px;
  margin-bottom: 28px;
}
.hc-hero__meta {
  display: flex; flex-wrap: wrap; gap: 14px 24px;
  font-family: var(--hc-font-mono);
  font-size: 12px; letter-spacing: 0.08em;
  color: var(--hc-ink-mute);
  margin-bottom: 36px;
  text-transform: uppercase;
}
.hc-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hc-hero__meta strong { color: var(--hc-navy); font-weight: 700; }

.hc-btn-group { display: flex; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }
.hc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--hc-font-display);
  font-weight: 700; font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--hc-r-pill);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hc-btn--primary {
  background: linear-gradient(135deg, var(--hc-navy), var(--hc-navy-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,31,99,.25);
}
.hc-btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,31,99,.32); }
.hc-btn--gold {
  background: linear-gradient(135deg, var(--hc-gold), var(--hc-gold-deep));
  color: var(--hc-navy-deep);
  box-shadow: 0 8px 20px rgba(201,169,106,.35);
}
.hc-btn--gold:hover { color: var(--hc-navy-deep); transform: translateY(-2px); }
.hc-btn--ghost {
  background: transparent;
  color: var(--hc-navy);
  border: 2px solid var(--hc-navy);
}
.hc-btn--ghost:hover { background: var(--hc-navy); color: #fff; }

/* ==========================================================
   CONFECTION SENSORIUM ATLAS (No. 11) — UNIQUE HERO VISUAL
   ========================================================== */
.hc-atlas {
  margin-top: 56px;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #ffffff 0%, var(--hc-bg-cream) 100%);
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-xl);
  padding: 40px;
  box-shadow: var(--hc-sh-lg);
}
.hc-atlas::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--hc-navy) 0%, var(--hc-gold) 50%, var(--hc-cocoa) 100%);
  border-radius: var(--hc-r-xl) var(--hc-r-xl) 0 0;
}
.hc-atlas__head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  padding-bottom: 22px; margin-bottom: 28px;
  border-bottom: 1px dashed rgba(0,31,99,.18);
}
.hc-atlas__no {
  font-family: var(--hc-font-mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--hc-gold-deep);
  padding: 6px 12px;
  background: var(--hc-gold-tint);
  border-radius: var(--hc-r-pill);
}
.hc-atlas__title {
  font-family: var(--hc-font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--hc-ink);
  flex: 1; min-width: 240px;
  text-align: center;
}
.hc-atlas__meta {
  font-family: var(--hc-font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--hc-navy);
  padding: 6px 12px;
  background: var(--hc-navy-tint);
  border-radius: var(--hc-r-pill);
}

/* ---- 5-Sense Tasting Journey ---- */
.hc-atlas__acts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.hc-act {
  background: #ffffff;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-md);
  padding: 18px 14px;
  text-align: center;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hc-act:hover { transform: translateY(-3px); box-shadow: var(--hc-sh-md); }
.hc-act__no {
  font-family: var(--hc-font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--hc-gold-deep);
}
.hc-act__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hc-navy-tint), var(--hc-gold-tint));
  color: var(--hc-navy);
  margin: 10px auto 12px;
}
.hc-act__icon i { width: 22px; height: 22px; }
.hc-act__name {
  font-family: var(--hc-font-display);
  font-weight: 700; font-size: 14px;
  color: var(--hc-ink);
  margin-bottom: 4px;
}
.hc-act__sense {
  font-family: var(--hc-font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--hc-cocoa);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hc-act__time {
  font-size: 11px;
  color: var(--hc-ink-mute);
  line-height: 1.4;
}
.hc-act__time strong {
  font-family: var(--hc-font-mono);
  color: var(--hc-navy);
  font-weight: 700;
}

/* ---- Cacao Intensity Spectrum ---- */
.hc-atlas__spectrum-block {
  background: #ffffff;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-md);
  padding: 22px 24px;
  margin-bottom: 28px;
}
.hc-atlas__block-title {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  margin-bottom: 18px;
}
.hc-atlas__block-title h4 {
  font-family: var(--hc-font-display);
  font-size: 15px; font-weight: 700;
  color: var(--hc-ink);
  margin: 0;
}
.hc-atlas__block-meta {
  font-family: var(--hc-font-mono);
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--hc-ink-mute);
  text-transform: uppercase;
}
.hc-spectrum {
  position: relative;
  padding: 24px 0 36px;
}
.hc-spectrum__bar {
  position: relative;
  height: 16px;
  border-radius: var(--hc-r-pill);
  background: linear-gradient(90deg,
    #f6efe2 0%,
    #e8c896 25%,
    #c9a96a 50%,
    #7a4a25 75%,
    #2e1810 100%);
  box-shadow:
    inset 0 1px 3px rgba(255,255,255,.4),
    inset 0 -2px 4px rgba(0,0,0,.08),
    0 4px 12px rgba(0,31,99,.10);
}
.hc-spectrum__pin {
  position: absolute;
  top: -10px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  width: 80px;
}
.hc-spectrum__pin::before {
  content: '';
  width: 4px; height: 26px;
  background: var(--hc-ink);
  border-radius: 2px;
  margin-bottom: -4px;
}
.hc-spectrum__pin-num {
  font-family: var(--hc-font-mono);
  font-size: 11px; font-weight: 700;
  color: var(--hc-navy);
  background: #fff;
  padding: 2px 8px;
  border-radius: var(--hc-r-pill);
  border: 1.5px solid var(--hc-navy);
  margin-bottom: 4px;
}
.hc-spectrum__pin-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--hc-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hc-spectrum__ticks {
  display: flex; justify-content: space-between;
  margin-top: 18px;
  font-family: var(--hc-font-mono);
  font-size: 10px;
  color: var(--hc-ink-mute);
  letter-spacing: 0.1em;
}

/* ---- Tasting Notes Octagon (CSS Wheel) ---- */
.hc-atlas__wheel-block {
  background: #ffffff;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-md);
  padding: 22px 24px;
  margin-bottom: 28px;
}
.hc-wheel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.hc-wheel__petal {
  display: flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, #ffffff, var(--hc-bg-alt));
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-md);
  padding: 12px 14px;
  position: relative;
}
.hc-wheel__petal-icon {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--hc-gold-tint), var(--hc-navy-tint));
  color: var(--hc-navy);
}
.hc-wheel__petal-icon i { width: 18px; height: 18px; }
.hc-wheel__petal-body { flex: 1; min-width: 0; }
.hc-wheel__petal-name {
  font-family: var(--hc-font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--hc-ink);
  margin-bottom: 4px;
}
.hc-wheel__petal-bar {
  position: relative;
  height: 4px;
  background: var(--hc-line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}
.hc-wheel__petal-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--hc-navy), var(--hc-gold));
}
.hc-wheel__petal-score {
  font-family: var(--hc-font-mono);
  font-size: 10px;
  color: var(--hc-ink-mute);
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* ---- Performance Tracks ---- */
.hc-atlas__tracks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.hc-track {
  background: #ffffff;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-md);
  padding: 18px 20px;
}
.hc-track__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.hc-track__name {
  font-family: var(--hc-font-display);
  font-weight: 700; font-size: 13px;
  color: var(--hc-ink);
}
.hc-track__score {
  font-family: var(--hc-font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--hc-navy);
}
.hc-track__bar {
  position: relative;
  height: 8px;
  background: var(--hc-line-soft);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.hc-track__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 4px;
}
.hc-track__fill--grease {
  background: linear-gradient(90deg, var(--hc-gold), var(--hc-gold-deep));
  width: 96%;
}
.hc-track__fill--cold {
  background: linear-gradient(90deg, var(--hc-navy-soft), var(--hc-navy));
  width: 94%;
}
.hc-track__fill--cond {
  background: linear-gradient(90deg, #6ec5ff, var(--hc-navy-soft));
  width: 92%;
}
.hc-track__note {
  font-size: 11px;
  color: var(--hc-ink-mute);
  line-height: 1.5;
}

/* ---- Origin Footer ---- */
.hc-atlas__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px dashed rgba(0,31,99,.18);
}
.hc-atlas__origin {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--hc-font-mono);
  font-size: 11px;
  color: var(--hc-ink-mute);
  letter-spacing: 0.06em;
}
.hc-atlas__origin i { width: 14px; height: 14px; color: var(--hc-cocoa); }
.hc-atlas__origin strong { color: var(--hc-cocoa-deep); font-weight: 700; }
.hc-atlas__series {
  font-family: var(--hc-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--hc-gold-deep);
  text-transform: uppercase;
}

/* ---------- Trust strip ---------- */
.hc-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--hc-line); border-radius: var(--hc-r-lg); overflow: hidden; }
.hc-trust__cell {
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 8px;
  border-right: 1px solid var(--hc-line);
  background: #fff;
}
.hc-trust__cell:last-child { border-right: none; }
.hc-trust__cell i { width: 26px; height: 26px; color: var(--hc-gold-deep); }
.hc-trust__cell h4 {
  font-size: 14px; font-weight: 700; margin: 0;
}
.hc-trust__cell p {
  font-size: 12px; color: var(--hc-ink-mute); margin: 0; line-height: 1.5;
}

/* ---------- Geo-quote ---------- */
.hc-quote {
  position: relative;
  padding: 28px 32px;
  background: linear-gradient(135deg, #ffffff, var(--hc-gold-tint));
  border-left: 4px solid var(--hc-gold);
  border-radius: var(--hc-r-md);
  font-size: 17px;
  line-height: 1.75;
  color: var(--hc-ink-soft);
}
.hc-quote::before {
  content:'\201C';
  position: absolute;
  top: -10px; left: 18px;
  font-family: Georgia, serif;
  font-size: 64px; line-height: 1;
  color: var(--hc-gold);
  opacity: 0.4;
}

/* ---------- App cards ---------- */
.hc-grid { display: grid; gap: 20px; }
.hc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hc-grid--4 { grid-template-columns: repeat(4, 1fr); }

.hc-card {
  background: #fff;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-md);
  padding: 24px 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hc-sh-md);
  border-color: var(--hc-gold);
}
.hc-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--hc-r-sm);
  background: var(--hc-navy-tint);
  color: var(--hc-navy);
  margin-bottom: 14px;
}
.hc-card__icon i { width: 22px; height: 22px; }
.hc-card h3 {
  font-size: 17px; font-weight: 700; margin-bottom: 8px;
}
.hc-card p {
  font-size: 14px; color: var(--hc-ink-soft); margin: 0; line-height: 1.6;
}
.hc-card__tag {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--hc-font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--hc-gold-deep);
  padding: 4px 10px;
  background: var(--hc-gold-tint);
  border-radius: var(--hc-r-pill);
}

.hc-card--gold-border {
  border: 2px solid var(--hc-gold-soft);
  background: linear-gradient(180deg, #ffffff, var(--hc-gold-tint));
}
.hc-card--gold-border:hover { border-color: var(--hc-gold); }

/* ---------- Challenges table ---------- */
.hc-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hc-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--hc-r-md);
  overflow: hidden;
  box-shadow: var(--hc-sh-sm);
  min-width: 760px;
}
.hc-table th {
  background: var(--hc-navy);
  color: #fff;
  font-family: var(--hc-font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  text-align: left;
  text-transform: uppercase;
}
.hc-table td {
  padding: 16px 18px;
  border-top: 1px solid var(--hc-line);
  font-size: 14px;
  color: var(--hc-ink-soft);
  vertical-align: top;
}
.hc-table tbody tr:hover { background: var(--hc-bg-alt); }
.hc-table td strong { color: var(--hc-ink); font-weight: 700; }
.hc-table td:first-child strong { color: var(--hc-navy); }

.hc-badge {
  display: inline-block;
  font-family: var(--hc-font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--hc-r-pill);
  margin-bottom: 8px;
}
.hc-badge--grease    { color: #fff; background: var(--hc-cocoa); }
.hc-badge--premium   { color: var(--hc-gold-deep); background: var(--hc-gold-tint); border: 1px solid var(--hc-gold-soft); }
.hc-badge--cocoa     { color: #fff; background: var(--hc-cocoa-deep); }
.hc-badge--allergen  { color: #fff; background: var(--hc-navy); }
.hc-badge--temp      { color: #fff; background: var(--hc-navy-soft); }
.hc-badge--format    { color: var(--hc-navy); background: var(--hc-navy-tint); border: 1px solid #c8d3ec; }

/* ---------- Materials table with swatches ---------- */
.hc-swatch {
  display: inline-block;
  width: 40px; height: 28px;
  border-radius: 4px;
  border: 1px solid var(--hc-line);
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
}
.hc-swatch--estate-textured {
  background:
    repeating-linear-gradient(45deg, rgba(92,58,30,.10) 0, rgba(92,58,30,.10) 1px, transparent 1px, transparent 3px),
    linear-gradient(135deg, rgba(201,169,106,.18), rgba(255,255,255,.4)),
    linear-gradient(180deg, #f6efe2, #e6dcc4);
}
.hc-swatch--white-bopp {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,.9), transparent 60%),
    linear-gradient(135deg, #ffffff, #e3e8f0);
  position: relative;
}
.hc-swatch--white-bopp::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%);
}
.hc-swatch--vellum {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,.7), transparent 60%),
    linear-gradient(180deg, #f4ecdc, #e8dec5);
  opacity: 0.85;
}
.hc-swatch--foil-metallic {
  background:
    radial-gradient(ellipse at 35% 35%, rgba(255,255,255,.7) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(135deg, #e3d4ac 0%, #c9a96a 35%, #a8884a 60%, #d4bd8e 100%);
  position: relative;
}
.hc-swatch--foil-metallic::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%);
}
.hc-swatch--coated {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,.7), transparent 60%),
    linear-gradient(180deg, #ffffff, #e8e8ec);
}
.hc-swatch--kraft {
  background:
    repeating-linear-gradient(45deg, rgba(120,80,40,.10) 0, rgba(120,80,40,.10) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(-45deg, rgba(120,80,40,.06) 0, rgba(120,80,40,.06) 1px, transparent 1px, transparent 5px),
    linear-gradient(180deg, #c9a878, #a88550);
}

/* ---------- Formats mini visuals ---------- */
.hc-format-card {
  background: #fff;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-md);
  padding: 24px 22px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hc-format-card:hover { transform: translateY(-3px); box-shadow: var(--hc-sh-md); border-color: var(--hc-gold); }
.hc-format-visual {
  display: flex; align-items: center; justify-content: center;
  height: 90px;
  margin-bottom: 18px;
}

/* CSS-drawn chocolate bar wrapper */
.hc-viz-bar {
  width: 110px; height: 70px;
  background:
    linear-gradient(135deg, var(--hc-cocoa), var(--hc-cocoa-deep));
  border: 2px solid var(--hc-gold);
  border-radius: 4px;
  position: relative;
  box-shadow: 0 6px 14px rgba(92,58,30,.3);
}
.hc-viz-bar::before {
  content: '';
  position: absolute; inset: 6px;
  border: 1.5px solid var(--hc-gold-soft);
  border-radius: 2px;
}
.hc-viz-bar::after {
  content: '70%';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hc-font-display); font-weight: 800;
  font-size: 18px; color: var(--hc-gold);
  letter-spacing: -0.02em;
}

/* CSS-drawn sheet (kraft with squares) */
.hc-viz-sheet {
  width: 110px; height: 76px;
  background:
    repeating-linear-gradient(45deg, rgba(120,80,40,.10) 0, rgba(120,80,40,.10) 1px, transparent 1px, transparent 4px),
    linear-gradient(180deg, #c9a878, #a88550);
  border: 2px solid var(--hc-cocoa-deep);
  border-radius: 6px;
  position: relative;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  align-items: center;
  justify-items: center;
}
.hc-viz-sheet span {
  display: inline-block;
  width: 22px; height: 16px;
  background: linear-gradient(135deg, var(--hc-gold), var(--hc-gold-deep));
  border: 1px solid var(--hc-cocoa-deep);
  border-radius: 2px;
}
.hc-viz-sheet span:nth-child(2) { width: 18px; height: 18px; border-radius: 50%; }
.hc-viz-sheet span:nth-child(4) { width: 16px; height: 20px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.hc-viz-sheet span:nth-child(6) { width: 20px; height: 14px; transform: rotate(45deg); }

/* CSS-drawn round seal */
.hc-viz-seal {
  width: 78px; height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,.5), transparent 50%),
    linear-gradient(135deg, var(--hc-gold), var(--hc-gold-deep));
  border: 3px solid var(--hc-cocoa-deep);
  position: relative;
  box-shadow: 0 6px 14px rgba(201,169,106,.4);
}
.hc-viz-seal::before {
  content: ''; position: absolute; inset: 8px;
  border: 1.5px dashed rgba(46,24,16,.5);
  border-radius: 50%;
}
.hc-viz-seal::after {
  content: 'LA';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--hc-font-display); font-weight: 800;
  font-size: 14px; color: var(--hc-cocoa-deep);
  letter-spacing: -0.04em;
}

/* ---------- Split layout (artwork tips + size chart) ---------- */
.hc-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: start;
}
.hc-split h3 {
  font-size: 17px; font-weight: 700;
  color: var(--hc-navy);
  margin-top: 18px;
  margin-bottom: 8px;
}
.hc-split h3:first-child { margin-top: 0; }
.hc-split p {
  font-size: 14px; color: var(--hc-ink-soft);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ---------- Sample Banner ---------- */
.hc-sample {
  background: linear-gradient(135deg, var(--hc-navy), var(--hc-navy-deep));
  color: #fff;
  border-radius: var(--hc-r-lg);
  padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  position: relative;
  overflow: hidden;
}
.hc-sample::before {
  content: ''; position: absolute;
  top: -30px; right: -30px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(201,169,106,.25), transparent 70%);
  pointer-events: none;
}
.hc-sample h2 {
  color: #fff;
  font-size: 26px; font-weight: 700;
  margin-bottom: 8px;
}
.hc-sample p {
  color: rgba(255,255,255,.82);
  font-size: 15px;
  margin: 0 0 18px;
  max-width: 540px;
}
.hc-sample__price {
  display: flex; flex-direction: column;
  align-items: center;
  padding: 22px 28px;
  background: rgba(255,255,255,.08);
  border: 2px solid var(--hc-gold);
  border-radius: var(--hc-r-md);
  backdrop-filter: blur(8px);
}
.hc-sample__price strong {
  font-family: var(--hc-font-display);
  font-size: 44px; font-weight: 800;
  color: var(--hc-gold);
  line-height: 1;
}
.hc-sample__price span {
  font-family: var(--hc-font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-top: 8px;
  text-align: center;
}

/* ---------- FAQ ---------- */
.hc-faq { display: flex; flex-direction: column; gap: 12px; }
.hc-faq__item {
  background: #fff;
  border: 1px solid var(--hc-line);
  border-radius: var(--hc-r-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hc-faq__item[open] {
  border-color: var(--hc-gold);
  box-shadow: var(--hc-sh-sm);
}
.hc-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--hc-font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--hc-ink);
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
}
.hc-faq__item summary::-webkit-details-marker { display: none; }
.hc-faq__item summary::after {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--hc-navy-tint);
  position: relative;
  background-image:
    linear-gradient(var(--hc-navy), var(--hc-navy)),
    linear-gradient(var(--hc-navy), var(--hc-navy));
  background-size: 12px 2px, 2px 12px;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform .25s ease;
}
.hc-faq__item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--hc-gold-tint);
  background-image:
    linear-gradient(var(--hc-gold-deep), var(--hc-gold-deep)),
    linear-gradient(var(--hc-gold-deep), var(--hc-gold-deep));
}
.hc-faq__answer {
  padding: 0 24px 22px;
  color: var(--hc-ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- CTA band ---------- */
.hc-cta {
  background: var(--hc-navy);
  color: #fff;
  text-align: center;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.hc-cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(201,169,106,.10), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201,169,106,.10), transparent 50%);
}
.hc-cta h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
}
.hc-cta p {
  color: rgba(255,255,255,.82);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 28px;
  position: relative;
}
.hc-cta .hc-eyebrow {
  background: rgba(201,169,106,.18);
  color: var(--hc-gold);
  position: relative;
}
.hc-cta .hc-btn-group { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
.hc-footer { background: var(--hc-navy-deep); color: rgba(255,255,255,.72); padding: 56px 0 28px; }
.hc-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 36px;
}
.hc-footer h4 {
  color: #fff; font-size: 13px;
  font-family: var(--hc-font-mono);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hc-footer ul li { margin-bottom: 8px; }
.hc-footer ul a {
  color: rgba(255,255,255,.7);
  font-size: 13px;
}
.hc-footer ul a:hover { color: var(--hc-gold); }
.hc-footer-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff;
  font-family: var(--hc-font-display);
  font-weight: 800; font-size: 18px;
  margin-bottom: 14px;
}
.hc-footer-brand .hc-brand__mark { width: 28px; height: 28px; font-size: 11px; }
.hc-footer p { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; }
.hc-footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--hc-font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.06em;
}

/* ---------- Sticky CTA ---------- */
.hc-sticky {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: rgba(0, 31, 99, .96);
  backdrop-filter: blur(10px);
  border-top: 2px solid var(--hc-gold);
  padding: 12px 0;
  transform: translateY(110%);
  transition: transform .3s ease;
  z-index: 40;
}
.hc-sticky.is-visible { transform: translateY(0); }
.hc-sticky__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px;
}
.hc-sticky__label {
  color: #fff;
  font-family: var(--hc-font-display);
  font-weight: 700; font-size: 14px;
}
.hc-sticky__label span { color: var(--hc-gold); }
.hc-sticky__actions { display: flex; gap: 10px; }
.hc-sticky .hc-btn { padding: 10px 20px; font-size: 13px; }

/* ---------- Reveal animation ---------- */
.hc-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.hc-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .hc-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hc-atlas { padding: 32px 24px; }
  .hc-atlas__acts { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .hc-atlas__tracks { grid-template-columns: repeat(3, 1fr); }
  .hc-wheel { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .hc-container { padding: 0 22px; }
  .hc-section { padding: 60px 0; }

  /* Header mobile */
  .hc-nav-toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    color: #fff;
  }
  .hc-nav-toggle i { width: 22px; height: 22px; }
  .hc-nav {
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--hc-navy-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 22px;
    transform: translateY(-110%);
    transition: transform .3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
  }
  .hc-nav.is-open { transform: translateY(0); }
  .hc-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-size: 15px;
  }
  .hc-nav .hc-btn-gold { margin-top: 12px; width: 100%; justify-content: center; }

  /* Hero */
  .hc-hero { padding: 50px 0 40px; }
  .hc-atlas { padding: 26px 18px; }
  .hc-atlas__title { text-align: left; font-size: 17px; }
  .hc-atlas__head { gap: 10px; }

  /* 5 acts -> 2-col / 1-col on very small */
  .hc-atlas__acts { grid-template-columns: repeat(2, 1fr); }

  /* Wheel -> 2-col */
  .hc-wheel { grid-template-columns: repeat(2, 1fr); }

  /* Tracks -> 1-col */
  .hc-atlas__tracks { grid-template-columns: 1fr; }

  /* Spectrum pins stay horizontal but tighten */
  .hc-spectrum__pin { width: 64px; }

  /* Trust 2x2 */
  .hc-trust { grid-template-columns: repeat(2, 1fr); }
  .hc-trust__cell:nth-child(2) { border-right: none; }
  .hc-trust__cell:nth-child(1), .hc-trust__cell:nth-child(2) { border-bottom: 1px solid var(--hc-line); }

  /* Cards -> 1-col */
  .hc-grid--3, .hc-grid--2 { grid-template-columns: 1fr; }

  /* Split */
  .hc-split { grid-template-columns: 1fr; gap: 28px; }

  /* Sample */
  .hc-sample { padding: 30px 24px; flex-direction: column; text-align: center; }
  .hc-sample__price { padding: 18px 22px; }

  /* FAQ */
  .hc-faq__item summary { padding: 16px 18px; font-size: 14px; }
  .hc-faq__answer { padding: 0 18px 18px; font-size: 13px; }

  /* CTA */
  .hc-cta { padding: 56px 0; }

  /* Footer */
  .hc-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .hc-footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hc-container { padding: 0 16px; }
  .hc-atlas__acts { grid-template-columns: 1fr; }
  .hc-spectrum__pin { width: 54px; }
  .hc-spectrum__pin-label { font-size: 10px; }
  .hc-footer-grid { grid-template-columns: 1fr; }
  .hc-footer-grid > div:first-child { grid-column: auto; }
  .hc-sticky__label { display: none; }
  .hc-sticky__actions { width: 100%; }
  .hc-sticky .hc-btn { flex: 1; justify-content: center; }
}

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