@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600&display=swap');

/* Cloud Dancer + Maximalist Typography Hybrid */
:root {
  --cloud: #F7F4EF;
  --cloud-deep: #EDE8DF;
  --cloud-pure: #FFFCF7;
  --earth: #5C4A3A;
  --earth-light: #7A6855;
  --earth-dark: #3B2F24;
  --vine: #4A6741;
  --vine-light: #6B8B62;
  --vine-muted: rgba(74, 103, 65, 0.12);
  --terracotta: #B86E4A;
  --terracotta-light: #D4936E;
  --terracotta-muted: rgba(184, 110, 74, 0.1);
  --grape: #7B5D8E;
  --grape-muted: rgba(123, 93, 142, 0.08);
  --stone: #A89B8C;
  --stone-light: #C9BFB2;
  --border: rgba(92, 74, 58, 0.08);
  --border-strong: rgba(92, 74, 58, 0.16);
  --max: 820px;
  --max-wide: 1120px;
  --radius: 12px;
  --radius-lg: 20px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--cloud);
  color: var(--earth);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ── NAV (Floating Pill) ── */
nav {
  position: sticky;
  top: 1rem;
  z-index: 100;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-inner {
  background: var(--cloud-pure);
  border: 1px solid var(--border);
  border-radius: 60px;
  padding: 0.7rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(92, 74, 58, 0.06);
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--earth-dark);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--vine);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--earth-light);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.25rem 0;
}

.nav-links a:hover , .nav-links a[aria-current] {
  color: var(--vine);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--earth-light);
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: color 0.2s;
}

.nav-toggle:hover {
  color: var(--vine);
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--cloud-deep);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 2.5rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  max-width: var(--max-wide);
  margin: 0 auto;
}

.breadcrumb li {
  font-size: 0.67rem;
  font-family: 'Inter', sans-serif;
  color: var(--earth-light);
  letter-spacing: 0.04em;
}

.breadcrumb li + li::before {
  content: '\203A';
  margin: 0 0.3rem;
  color: var(--vine);
}

.breadcrumb a {
  color: var(--earth-light);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--vine);
}

.breadcrumb [aria-current] {
  color: var(--earth-dark);
}

/* ── HERO (homepage) ── */
.hero {
  background: linear-gradient(175deg, var(--cloud-pure) 0%, var(--cloud) 40%, var(--cloud-deep) 100%);
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--vine-muted);
  filter: blur(100px);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--terracotta-muted);
  filter: blur(80px);
  z-index: 1;
}

.hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  z-index: 2;
}

.eyebrow {
  font-size: 0.6rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--vine);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}

.eyebrow::before , .eyebrow::after {
  content: '';
  display: block;
  width: 35px;
  height: 1px;
  background: var(--vine);
  opacity: 0.5;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 300;
  color: var(--earth-dark);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--vine);
}

.hero-sub {
  font-family: 'Fraunces', serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: var(--earth-light);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-desc {
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  color: var(--earth);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.btn-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--earth-dark);
  color: var(--cloud-pure);
  font-family: 'Inter', sans-serif;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 2.4rem;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--earth);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--earth-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 2.4rem;
  border: 1px solid var(--border-strong);
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--earth-dark);
  background: var(--cloud-deep);
}

/* ── MARQUEE (homepage only) ── */
.marquee {
  background: var(--earth-dark);
  color: var(--cloud-pure);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.8rem 0;
}

.marquee-inner {
  display: inline-block;
  animation: marquee-scroll 30s linear infinite;
  padding-left: 100%;
}

.marquee-inner span {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-style: italic;
  margin-right: 3rem;
  letter-spacing: 0.02em;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--earth-dark);
  padding: 3.5rem 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, var(--vine-muted), transparent);
  z-index: 1;
}

.page-hero-inner {
  position: relative;
  max-width: var(--max-wide);
  margin: 0 auto;
  z-index: 2;
}

.page-eyebrow {
  font-size: 0.57rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--vine);
  margin-bottom: 0.7rem;
}

.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 300;
  color: var(--cloud-pure);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--vine-light);
}

.page-sub {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--stone-light);
  margin-bottom: 1.5rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.meta-item {
  border-left: 2px solid var(--vine);
  padding-left: 0.8rem;
}

.meta-label {
  font-size: 0.52rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vine-light);
  margin-bottom: 0.15rem;
}

.meta-value {
  font-family: 'Fraunces', serif;
  font-size: 0.9rem;
  color: var(--cloud-pure);
  font-weight: 400;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--vine);
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.stat {
  text-align: center;
}

.stat-n {
  font-family: 'Fraunces', serif;
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--cloud-pure);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.stat-l {
  font-size: 0.57rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 252, 247, 0.7);
}

/* ── HUB INTRO ── */
.hub-intro {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.hub-intro h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--earth-dark);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.hub-intro h2 em {
  font-style: italic;
  color: var(--vine);
}

.hub-intro p {
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--earth-light);
  line-height: 1.9;
}

.divider {
  width: 50px;
  height: 2px;
  background: var(--vine);
  margin: 1.25rem auto;
}

/* ── SECTION EYEBROW (C5 numbered labels) ── */
.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vine);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ── CARDS GRID ── */
.cards-section {
  padding: 2rem 2.5rem 5rem;
  background: var(--cloud);
}

.cards-section-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.card {
  background: var(--cloud-pure);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(92, 74, 58, 0.08);
  border-color: var(--border-strong);
}

.card-eyebrow {
  font-size: 0.57rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--earth-light);
  margin-bottom: 0.45rem;
}

.card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--earth-dark);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.card-desc {
  font-size: 0.81rem;
  font-family: 'Inter', sans-serif;
  color: var(--earth);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}

.tag {
  font-size: 0.56rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 20px;
  color: var(--earth-light);
  background: var(--cloud-deep);
}

.tag.red {
  color: #B84A4A;
  background: rgba(184, 74, 74, 0.08);
}

.tag.white {
  color: var(--vine);
  background: var(--vine-muted);
}

.tag.sparkling {
  color: var(--terracotta);
  background: var(--terracotta-muted);
}

.tag.rose {
  color: #A85070;
  background: rgba(168, 80, 112, 0.08);
}

.card-arrow {
  font-size: 0.63rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.08em;
  color: var(--vine);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s;
  display: inline-block;
}

.card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── ARTICLE LAYOUT ── */
.wrap {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 4rem;
  align-items: start;
}

.wrap.full {
  grid-template-columns: 1fr;
  max-width: var(--max);
}

article h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.85rem;
  font-weight: 400;
  color: var(--earth-dark);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}

article h2:first-child {
  margin-top: 0;
}

article h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--vine);
  margin: 2rem 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

article h3::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

article p {
  font-size: 0.93rem;
  font-family: 'Inter', sans-serif;
  line-height: 1.92;
  color: var(--earth);
  margin-bottom: 1.1rem;
}

article p:last-child {
  margin-bottom: 0;
}

article a {
  color: var(--vine);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--vine-muted);
}

article a:hover {
  color: var(--vine-light);
  text-decoration-color: var(--vine);
}

article ul , article ol {
  margin: 0.5rem 0 1.1rem 1.5rem;
}

article li {
  font-size: 0.91rem;
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  color: var(--earth);
  margin-bottom: 0.3rem;
}

.pullquote {
  border-left: 3px solid var(--vine);
  padding: 0.9rem 0 0.9rem 1.75rem;
  margin: 2rem 0;
}

.pullquote p {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--vine);
  line-height: 1.5;
  margin: 0 !important;
}

/* ── TABLE OF CONTENTS ── */
.toc {
  background: var(--cloud-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.toc-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vine);
  margin-bottom: 0.9rem;
}

.toc ol {
  padding-left: 1.25rem;
}

.toc li {
  font-size: 0.81rem;
  font-family: 'Inter', sans-serif;
  color: var(--earth);
  margin-bottom: 0.35rem;
}

.toc a {
  color: var(--vine);
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

/* ── SUB-GRID ── */
.sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.sub-item {
  background: var(--cloud-pure);
  padding: 1.2rem;
  border-radius: var(--radius);
}

.sub-item h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--earth-dark);
  margin-bottom: 0.3rem;
}

.sub-item p {
  font-size: 0.77rem;
  font-family: 'Inter', sans-serif;
  color: var(--earth-light);
  line-height: 1.6;
  margin: 0;
}

/* ── FLAVOUR TAGS ── */
.f-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.6rem 0 1.5rem;
}

.f-tag {
  font-size: 0.6rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  background: var(--cloud-deep);
  color: var(--earth-light);
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* ── FAQ ── */
.faq {
  margin-top: 2.5rem;
}

.faq h2 {
  margin-bottom: 1.25rem;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 1.2rem 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--earth-dark);
  margin-bottom: 0.55rem;
}

.faq-a {
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  color: var(--earth);
  line-height: 1.82;
}

/* ── SIDEBAR ── */
.sidebar {
  position: sticky;
  top: 80px;
}

.sb-block {
  background: var(--cloud-pure);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}

.sb-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vine);
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}

.sb-links {
  list-style: none;
}

.sb-links li {
  margin-bottom: 0.45rem;
}

.sb-links a {
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  color: var(--earth);
  text-decoration: none;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sb-links a::before {
  content: '\203A';
  color: var(--vine);
  flex-shrink: 0;
}

.sb-links a:hover {
  color: var(--vine);
}

/* ── RELATED ── */
.related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.related-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vine);
  margin-bottom: 1.2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 1.5rem;
}

.related-card {
  background: var(--cloud-pure);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  text-decoration: none;
  transition: all 0.2s;
  display: block;
}

.related-card:hover {
  background: var(--cloud-deep);
}

.related-label {
  font-size: 0.53rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--vine);
  margin-bottom: 0.25rem;
}

.related-name {
  font-family: 'Fraunces', serif;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--earth-dark);
  line-height: 1.3;
}

/* ── HOME SECTIONS ── */
.home-mid {
  background: var(--cloud-deep);
  padding: 4rem 2.5rem 5rem;
}

.home-mid-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.section-intro {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-intro h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 300;
  color: var(--earth-dark);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.section-intro h2 em {
  font-style: italic;
  color: var(--vine);
}

.section-intro p {
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  color: var(--earth-light);
  max-width: 520px;
  margin: 0.6rem auto 0;
  line-height: 1.9;
}

/* ── GUIDE HUB NUMBERED ITEMS (C5) ── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.guide-card {
  background: var(--cloud-pure);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(92, 74, 58, 0.08);
  border-color: var(--border-strong);
}

.guide-number {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--vine-muted);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.guide-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--earth-dark);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.guide-card-desc {
  font-size: 0.81rem;
  font-family: 'Inter', sans-serif;
  color: var(--earth);
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.guide-card-arrow {
  font-size: 0.63rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.08em;
  color: var(--vine);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s;
  display: inline-block;
}

.guide-card:hover .guide-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── FOOTER ── */
footer {
  background: var(--earth-dark);
  padding: 4rem 2.5rem 2.5rem;
  color: var(--stone-light);
}

.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--cloud-pure);
  margin-bottom: 0.7rem;
}

.footer-brand span {
  color: var(--vine-light);
}

.footer-tagline {
  font-size: 0.77rem;
  font-family: 'Inter', sans-serif;
  line-height: 1.85;
  max-width: 255px;
}

.footer-col h4 {
  font-family: 'Fraunces', serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vine-light);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.42rem;
}

.footer-col a {
  font-size: 0.77rem;
  font-family: 'Inter', sans-serif;
  color: var(--stone-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cloud-pure);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.63rem;
  font-family: 'Inter', sans-serif;
  color: rgba(201, 191, 178, 0.48);
}

/* ── DATA TABLE ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.83rem;
}

.data-table th {
  background: var(--earth-dark);
  color: var(--cloud-pure);
  font-family: 'Fraunces', serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--vine);
}

.data-table td {
  padding: 0.7rem 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--earth);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.data-table tr:nth-child(even) td {
  background: var(--cloud-pure);
}

.data-table strong {
  color: var(--earth-dark);
  font-weight: 600;
}

/* ── HIGHLIGHT BOX ── */
.highlight {
  background: var(--cloud-deep);
  border: 1px solid var(--border);
  border-left: 4px solid var(--vine);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.highlight p {
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  margin: 0;
  line-height: 1.85;
  color: var(--earth);
}

.highlight strong {
  color: var(--earth-dark);
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .wrap {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 1.25rem;
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 1.25rem;
    right: 1.25rem;
    background: var(--cloud-pure);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    gap: 0.5rem;
    z-index: 99;
  }
  .nav-toggle {
    display: block;
  }
  .breadcrumb {
    padding: 0.5rem 1.25rem;
  }
  .page-hero {
    padding: 2.5rem 1.25rem 2rem;
  }
  .wrap {
    padding: 2rem 1.25rem 4rem;
    gap: 2rem;
  }
  .cards-section {
    padding: 1.5rem 1.25rem 4rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .home-mid {
    padding: 3rem 1.25rem 4rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-bar {
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }
  .hero {
    padding: 4.5rem 1.25rem 4rem;
  }
  .hub-intro {
    padding: 2.5rem 1.25rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .btn-row {
    flex-direction: column;
  }
  .btn-primary , .btn-outline {
    width: 100%;
  }
}

@media print {
  nav , .breadcrumb , .sidebar , footer , .btn-row {
    display: none;
  }
  .wrap {
    grid-template-columns: 1fr;
  }
}
