@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Manrope:wght@300;400;500;600;700&display=swap');

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

:root {
  --primary: #2E4F4F;
  --accent-gold: #E0B973;
  --cream: #F8F4E3;
  --charcoal: #333333;
  --light-grey: #EBEBEB;
  --white: #ffffff;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --max-width: 1320px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 32px;
  --spacing-lg: 64px;
  --spacing-xl: 96px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--accent-gold); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section--cream { background-color: var(--cream); }
.section--white { background-color: var(--white); }
.section--grey { background-color: var(--light-grey); }
.section--primary { background-color: var(--primary); }
.section--primary h1,
.section--primary h2,
.section--primary h3 { color: var(--cream); }
.section--primary p { color: var(--cream); opacity: 0.9; }

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-cream { color: var(--cream); }
.text-primary { color: var(--primary); }

/* HEADER */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 var(--spacing-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.08em;
  text-decoration: none;
}
.site-logo:hover { color: var(--accent-gold); }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-desktop a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  padding: 8px 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

.nav-mobile {
  display: none;
  background-color: var(--primary);
  padding: var(--spacing-sm) var(--spacing-md);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cream);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  letter-spacing: 0.04em;
}
.nav-mobile a:hover { color: var(--accent-gold); }

/* PUSH CONTENT BELOW FIXED HEADER */
.page-offset { padding-top: 68px; }

/* HERO */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46,79,79,0.85) 0%, rgba(46,79,79,0.4) 55%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
.hero-content h1 {
  color: var(--cream);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  margin-bottom: var(--spacing-sm);
  text-balance: balance;
}
.hero-content h2 {
  color: var(--accent-gold);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-balance: balance;
}

/* BUTTONS */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 32px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.btn:hover {
  background: var(--primary);
  color: var(--cream);
  box-shadow: 0 4px 16px rgba(46,79,79,0.2);
}
.btn--primary {
  background: var(--primary);
  color: var(--cream);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: #1e3535;
  border-color: #1e3535;
  color: var(--accent-gold);
}
.btn--gold {
  background: var(--accent-gold);
  color: var(--primary);
  border-color: var(--accent-gold);
}
.btn--gold:hover {
  background: #c9a35e;
  border-color: #c9a35e;
  color: var(--primary);
}
.btn--outline-cream {
  border-color: var(--cream);
  color: var(--cream);
  background: transparent;
}
.btn--outline-cream:hover {
  background: var(--cream);
  color: var(--primary);
}

/* TWO-COLUMN LAYOUT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}
.two-col--60-40 { grid-template-columns: 60fr 40fr; }
.two-col--40-60 { grid-template-columns: 40fr 60fr; }
.two-col--img-text img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

/* CARD GRID */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  padding: var(--spacing-md);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(46,79,79,0.12);
  transform: translateY(-3px);
}
.card h3 {
  margin-bottom: var(--spacing-xs);
  font-size: 1.15rem;
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: var(--spacing-sm);
}

/* SECTION HEADER */
.section-header {
  margin-bottom: var(--spacing-lg);
}
.section-header h2 {
  margin-bottom: var(--spacing-xs);
  text-balance: balance;
}
.section-header .lead {
  font-size: 1.05rem;
  color: #555;
  max-width: 680px;
}
.section-header.center { text-align: center; }
.section-header.center .lead { margin: 0 auto; }

/* ACCENT LINE */
.accent-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent-gold);
  margin-bottom: var(--spacing-sm);
}
.center .accent-line { margin: 0 auto var(--spacing-sm); }

/* GLOSSARY RAIL */
.glossary-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: var(--spacing-lg);
  align-items: start;
}
.glossary-rail {
  background: var(--primary);
  padding: var(--spacing-md);
  position: sticky;
  top: 90px;
}
.glossary-rail h3 {
  color: var(--accent-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--spacing-sm);
}
.glossary-term {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.glossary-term:last-child { border-bottom: none; }
.glossary-term dt {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 4px;
}
.glossary-term dd {
  font-size: 0.8rem;
  color: rgba(248,244,227,0.75);
  line-height: 1.55;
}

/* STAT STRIP */
.stat-strip {
  background: var(--primary);
  padding: var(--spacing-md) 0;
}
.stat-strip-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}
.stat-item {
  text-align: center;
}
.stat-item .stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--accent-gold);
  font-weight: 700;
  display: block;
}
.stat-item .stat-label {
  font-size: 0.82rem;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* FAQ ACCORDION */
.faq-list { list-style: none; }
.faq-item {
  border-bottom: 1px solid var(--light-grey);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 500;
  user-select: none;
}
.faq-question:hover { color: var(--accent-gold); }
.faq-icon {
  font-size: 1.4rem;
  transition: transform 0.3s;
  color: var(--accent-gold);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding-bottom: var(--spacing-sm); }

/* QUOTE BLOCK */
.pull-quote {
  border-left: 4px solid var(--accent-gold);
  padding: var(--spacing-sm) var(--spacing-md);
  margin: var(--spacing-md) 0;
  background: rgba(224,185,115,0.08);
}
.pull-quote p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 0;
}

/* KNOWLEDGE BLOCK (dark section Q&A) */
.knowledge-block {
  background: var(--primary);
  padding: var(--spacing-xl) 0;
}
.knowledge-block h2 { color: var(--cream); }
.knowledge-block h3 { color: var(--accent-gold); font-size: 1rem; }
.knowledge-block p { color: rgba(248,244,227,0.88); }

/* TIMELINE */
.timeline { list-style: none; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-gold);
}
.timeline-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: var(--spacing-md);
}
.timeline-dot {
  position: absolute;
  left: 12px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 3px solid var(--cream);
}
.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-item h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.timeline-item p { font-size: 0.9rem; color: #555; margin-bottom: 0; }

/* MYTH/REALITY PANELS */
.myth-panel {
  background: var(--light-grey);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border-left: 4px solid #ccc;
}
.myth-panel--myth { border-left-color: #b0b0b0; }
.myth-panel--reality {
  background: rgba(46,79,79,0.06);
  border-left-color: var(--accent-gold);
}
.fact-check-strip {
  background: var(--primary);
  color: var(--cream);
  padding: var(--spacing-sm) var(--spacing-md);
  margin: var(--spacing-sm) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
}
.fact-check-strip .fact-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  white-space: nowrap;
  padding-top: 2px;
}
.fact-check-strip p { color: var(--cream); font-size: 0.88rem; margin-bottom: 0; }

/* ROUTINE GRID */
.routine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
}
.routine-item {
  background: var(--white);
  border: 1px solid var(--light-grey);
  padding: var(--spacing-sm) var(--spacing-md);
  border-top: 3px solid var(--accent-gold);
}
.routine-item h3 {
  font-size: 0.95rem;
  margin-bottom: var(--spacing-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.routine-item p { font-size: 0.85rem; color: #666; margin-bottom: 0; }

/* ROUTINE COMPONENT (balanced routines blog) */
.routine-component {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-top: 3px solid var(--accent-gold);
  padding: var(--spacing-sm) var(--spacing-md);
  transition: box-shadow 0.25s ease;
}
.routine-component:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.routine-icon {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
  display: block;
}
.routine-component h3 {
  font-size: 0.95rem;
  margin-bottom: var(--spacing-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}
.routine-component p { font-size: 0.85rem; color: #666; margin-bottom: 0; }

/* STRUCTURED NOTE */
.structured-note {
  background: var(--primary);
  color: var(--cream);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
}
.structured-note h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--spacing-xs);
}
.structured-note p { color: var(--cream); font-size: 0.9rem; margin-bottom: 0; }

/* FACTOR INTERPLAY (environmental blog) */
.factor-interplay {
  background: var(--light-grey);
  border-left: 4px solid var(--accent-gold);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
}
.factor-interplay h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}
.interplay-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: var(--spacing-sm);
}
.interplay-node {
  background: var(--white);
  border: 1px solid var(--light-grey);
  padding: 10px 14px;
  flex: 1 1 160px;
  min-width: 140px;
}
.interplay-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: block;
  margin-bottom: 4px;
}
.interplay-desc { font-size: 0.78rem; color: #666; }
.interplay-arrow {
  display: flex;
  align-items: center;
  color: var(--accent-gold);
  font-size: 1.1rem;
  padding: 0 4px;
  align-self: center;
}
.interplay-note {
  font-size: 0.82rem;
  color: #666;
  font-style: italic;
  margin-bottom: 0;
  margin-top: var(--spacing-xs);
}

/* ENVIRONMENT FACTOR BLOCK */
.env-block {
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--light-grey);
}
.env-block:last-child { border-bottom: none; }
.env-block h3 {
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: 10px;
}
.env-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  margin-bottom: var(--spacing-xs);
}

/* MATRIX TABLE */
.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.matrix-table th {
  background: var(--primary);
  color: var(--cream);
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 12px 16px;
  text-align: left;
}
.matrix-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--light-grey);
  vertical-align: top;
}
.matrix-table tr:nth-child(even) td { background: rgba(235,235,235,0.4); }
.matrix-table tr:hover td { background: rgba(46,79,79,0.05); }

/* DATA STRIP */
.data-strip {
  background: rgba(46,79,79,0.06);
  border-left: 3px solid var(--accent-gold);
  padding: var(--spacing-sm) var(--spacing-md);
  margin: var(--spacing-sm) 0;
}
.data-strip p { font-size: 0.88rem; color: var(--primary); margin-bottom: 0; }

/* CONTACT FORM */
.contact-form .form-group {
  margin-bottom: var(--spacing-sm);
}
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-grey);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form .btn {
  background: var(--primary);
  color: var(--accent-gold);
  border-color: var(--primary);
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
}
.contact-form .btn:hover {
  background: #1e3535;
  border-color: #1e3535;
}

/* CONTACT INFO */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}
.contact-info-item {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
}
.contact-info-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  min-width: 90px;
}
.contact-info-value {
  font-size: 0.9rem;
  color: var(--charcoal);
}

/* BLOG CARD */
.blog-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  padding: var(--spacing-md);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: 0 6px 24px rgba(46,79,79,0.11);
  transform: translateY(-2px);
}
.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
}
.blog-card h3 a { color: var(--primary); }
.blog-card h3 a:hover { color: var(--accent-gold); }
.blog-meta {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: var(--spacing-sm);
  display: flex;
  gap: 16px;
}
.blog-meta span { display: inline-flex; align-items: center; gap: 4px; }
.blog-excerpt { font-size: 0.9rem; color: #555; flex-grow: 1; margin-bottom: var(--spacing-sm); }
.blog-read-link {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  border-bottom: 1px solid var(--accent-gold);
  display: inline-block;
  padding-bottom: 2px;
}
.blog-read-link:hover { color: var(--accent-gold); }

/* ARTICLE LAYOUT */
.article-header {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  background: var(--primary);
}
.article-header h1 { color: var(--cream); margin-bottom: var(--spacing-sm); }
.article-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(248,244,227,0.7);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta strong { color: var(--accent-gold); font-weight: 600; }

.article-body {
  max-width: 820px;
}
.article-body h2 {
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}
.article-body h3 {
  margin-top: var(--spacing-sm);
  margin-bottom: 8px;
  color: var(--primary);
}
.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin-bottom: 1.2rem;
}
.article-body li { margin-bottom: 6px; }

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.8rem;
  color: #888;
  flex-wrap: wrap;
  padding: 12px 0;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { color: var(--accent-gold); }
.breadcrumb span { color: #bbb; }

/* FOOTER */
#site-footer {
  background: var(--charcoal);
  color: rgba(248,244,227,0.8);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}
.footer-brand .site-logo {
  color: var(--cream);
  display: inline-block;
  margin-bottom: var(--spacing-sm);
}
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--spacing-sm);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(248,244,227,0.72);
  transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--accent-gold); }
.footer-contact-item {
  font-size: 0.82rem;
  margin-bottom: 8px;
  color: rgba(248,244,227,0.72);
}
.footer-contact-item a {
  color: rgba(248,244,227,0.72);
}
.footer-contact-item a:hover { color: var(--accent-gold); }
.footer-hours {
  font-size: 0.8rem;
  color: rgba(248,244,227,0.55);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-sm);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}
.footer-bottom-copy {
  font-size: 0.78rem;
  color: rgba(248,244,227,0.45);
  line-height: 1.7;
}
.footer-bottom-copy strong {
  color: rgba(248,244,227,0.65);
}
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(248,244,227,0.45);
}
.footer-bottom-links a:hover { color: var(--accent-gold); }

/* POLICY PAGES */
.policy-page {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}
.policy-page h1 { margin-bottom: var(--spacing-md); }
.policy-page h2 {
  font-size: 1.15rem;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-xs);
  color: var(--primary);
}
.policy-page p, .policy-page li {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
}
.policy-page ul { padding-left: 24px; margin-bottom: 1rem; }
.policy-page ul li { margin-bottom: 4px; }
.policy-last-updated {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: var(--spacing-md);
}

/* THANK YOU */
.thankyou-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 68px);
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
}
.thankyou-box {
  max-width: 520px;
}
.thankyou-box h1 { margin-bottom: var(--spacing-sm); }
.thankyou-box p { font-size: 1rem; color: #555; margin-bottom: var(--spacing-md); }

/* ABOUT PAGE */
.about-image-banner {
  width: 100%;
  height: 440px;
  object-fit: cover;
  margin-bottom: var(--spacing-lg);
}
.about-body {
  max-width: 860px;
  margin: 0 auto;
}
.about-body h2 {
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

/* INTERPLAY DIAGRAM */
.interplay-diagram {
  background: var(--light-grey);
  padding: var(--spacing-md);
  margin: var(--spacing-md) 0;
}
.interplay-diagram h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}
.interplay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--primary);
}
.interplay-cell {
  background: var(--cream);
  padding: 12px;
  text-align: center;
}
.interplay-cell .ic-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}
.interplay-cell .ic-desc {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.5;
}
.interplay-center {
  background: var(--primary);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-align: center;
  padding: 12px;
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { display: none; }
#cookie-banner p {
  font-size: 0.85rem;
  color: rgba(248,244,227,0.85);
  margin-bottom: 0;
  flex: 1;
  min-width: 200px;
}
#cookie-banner a { color: var(--accent-gold); }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 20px;
  border: none;
  cursor: pointer;
  transition: opacity 0.25s;
}
.cookie-btn--accept {
  background: var(--accent-gold);
  color: var(--primary);
}
.cookie-btn--decline {
  background: transparent;
  color: rgba(248,244,227,0.6);
  border: 1px solid rgba(248,244,227,0.3);
}
.cookie-btn:hover { opacity: 0.85; }

/* 404 */
.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  background: var(--cream);
}
.page-404 h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--primary);
  line-height: 1;
}
.page-404 h2 { margin-bottom: var(--spacing-sm); }
.page-404 p { color: #666; margin-bottom: var(--spacing-md); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col--60-40,
  .two-col--40-60,
  .two-col { grid-template-columns: 1fr; }
  .two-col--img-text img { height: 300px; }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .glossary-layout { grid-template-columns: 1fr; }
  .glossary-rail { position: static; }
  .interplay-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 40px;
    --spacing-xl: 56px;
  }
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--spacing-md); }
  .card-grid--3 { grid-template-columns: 1fr; }
  .card-grid--2 { grid-template-columns: 1fr; }
  .hero { min-height: 65vh; }
  .footer-bottom { flex-direction: column; }
  .stat-strip-inner { flex-direction: column; gap: var(--spacing-sm); }
  .routine-grid { grid-template-columns: 1fr 1fr; }
  .interplay-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--spacing-sm); }
  .routine-grid { grid-template-columns: 1fr; }
}
