/* ============================================================
   RDCF.IO — Radiant Chocolate & Food Industries
   Design tokens, base styles, shared components
   ============================================================ */

@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,400;1,9..144,600&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Palette */
  --brown-deep:   #3A1F0E;
  --caramel:      #B8733A;
  --cream:        #F5EBD9;
  --gold:         #C9A227;
  --blue-trust:   #1E3A5F;
  --offwhite:     #FAFAF7;

  /* Extended palette */
  --brown-mid:    #5C3317;
  --brown-light:  #7A4828;
  --caramel-light:#D4956A;
  --gold-light:   #E4BC5A;
  --cream-dark:   #EAD5B7;
  --blue-mid:     #2C5282;
  --blue-light:   #4A78A8;
  --text-dark:    #1A0E06;
  --text-mid:     #4A3020;
  --text-light:   #8C6A4E;
  --border:       rgba(185, 115, 58, 0.2);
  --border-strong:rgba(185, 115, 58, 0.45);

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(58, 31, 14, 0.08), 0 1px 2px rgba(58, 31, 14, 0.06);
  --shadow-md:  0 4px 12px rgba(58, 31, 14, 0.10), 0 2px 4px rgba(58, 31, 14, 0.06);
  --shadow-lg:  0 12px 32px rgba(58, 31, 14, 0.14), 0 4px 8px rgba(58, 31, 14, 0.08);
  --shadow-xl:  0 24px 64px rgba(58, 31, 14, 0.18), 0 8px 16px rgba(58, 31, 14, 0.10);
  --shadow-gold:0 4px 24px rgba(201, 162, 39, 0.30);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;
  --duration-slower: 700ms;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 80px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--offwhite);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol { list-style: none; }

/* ============================================================
   TYPOGRAPHY SYSTEM
   ============================================================ */
.t-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.t-display-lg {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.t-display-md {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.t-display-sm {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.t-heading {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.t-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.t-mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.t-body { line-height: 1.7; }
.t-body-sm { font-size: 0.9375rem; line-height: 1.65; }

/* Italic display accent */
.t-italic { font-style: italic; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

@media (max-width: 640px) {
  .container { padding: 0 var(--space-lg); }
}

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

.section-sm {
  padding: var(--space-2xl) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.text-center { text-align: center; }
.text-right { text-align: right; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--duration-slow) var(--ease-out),
              box-shadow var(--duration-slow) var(--ease-out);
}

.nav.scrolled {
  background: rgba(58, 31, 14, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201, 162, 39, 0.2), var(--shadow-md);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(245, 235, 217, 0.8);
  text-decoration: none;
  transition: color var(--duration-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--cream);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold);
}

.nav-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  background: var(--gold);
  color: var(--brown-deep);
  border-radius: var(--radius-full);
  transition: background var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--brown-deep);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) var(--space-xl);
  flex-direction: column;
  gap: var(--space-md);
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base);
}

.nav-mobile.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.nav-mobile .nav-link {
  font-size: 1rem;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile .nav-cta {
  margin-top: var(--space-sm);
  text-align: center;
  padding: 0.75rem 1.25rem;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--brown-deep);
  color: var(--cream);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}

.footer-brand-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.footer-brand-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  margin-top: 2px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(245, 235, 217, 0.65);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0.7;
  transition: opacity var(--duration-fast), border-color var(--duration-fast), background var(--duration-fast);
}

.footer-social-link:hover {
  opacity: 1;
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
}

.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  font-size: 0.9rem;
  color: rgba(245, 235, 217, 0.7);
  transition: color var(--duration-fast);
  text-decoration: none;
}

.footer-link:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(245, 235, 217, 0.08);
  padding-top: var(--space-lg);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(245, 235, 217, 0.4);
  line-height: 1.6;
  max-width: 700px;
}

.footer-legal {
  font-size: 0.78rem;
  color: rgba(245, 235, 217, 0.35);
  text-align: right;
  flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gold);
  color: var(--brown-deep);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(245, 235, 217, 0.4);
}

.btn-secondary:hover {
  border-color: var(--cream);
  background: rgba(245, 235, 217, 0.08);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--brown-deep);
  border: 1.5px solid var(--border-strong);
}

.btn-outline:hover {
  background: var(--cream);
  border-color: var(--caramel);
  transform: translateY(-1px);
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 0.625rem 1.25rem;
}

.btn-lg {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

/* Arrow icon */
.btn-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--duration-fast);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ============================================================
   PAGE HERO (shared)
   ============================================================ */
.page-hero {
  background: var(--brown-deep);
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.page-hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 700px;
  margin-bottom: var(--space-lg);
}

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

.page-hero p {
  font-size: 1.125rem;
  color: rgba(245, 235, 217, 0.75);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--caramel);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--brown-deep);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-md);
}

.section-title em {
  font-style: italic;
  color: var(--caramel);
}

.section-body {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 600px;
}

.section-header-centered {
  text-align: center;
}

.section-header-centered .section-label { justify-content: center; }
.section-header-centered .section-label::before { display: none; }
.section-header-centered .section-body { margin: 0 auto; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              border-color var(--duration-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.card-body { padding: var(--space-xl); }
.card-body-sm { padding: var(--space-lg); }

/* ============================================================
   BADGE / TAG SYSTEM
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.badge-gold {
  background: rgba(201, 162, 39, 0.12);
  color: #8B6B00;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.badge-green {
  background: rgba(34, 140, 87, 0.1);
  color: #1A6B42;
  border: 1px solid rgba(34, 140, 87, 0.25);
}

.badge-blue {
  background: rgba(30, 58, 95, 0.08);
  color: var(--blue-trust);
  border: 1px solid rgba(30, 58, 95, 0.2);
}

.badge-orange {
  background: rgba(184, 115, 58, 0.1);
  color: var(--brown-mid);
  border: 1px solid rgba(184, 115, 58, 0.25);
}

.badge-pending {
  background: rgba(156, 163, 175, 0.12);
  color: #6B7280;
  border: 1px solid rgba(156, 163, 175, 0.3);
}

/* Dot indicator */
.badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ============================================================
   TRUST STRIP / CERT BADGES
   ============================================================ */
.trust-strip {
  background: var(--offwhite);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 0;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  opacity: 0.72;
  transition: opacity var(--duration-fast);
}

.cert-badge:hover { opacity: 1; }

.cert-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brown-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.3;
  padding: 4px;
}

.cert-badge-name {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* ============================================================
   STAT CARDS (Token transparency)
   ============================================================ */
.stat-card {
  background: rgba(245, 235, 217, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
}

.stat-card-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.stat-card-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--brown-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-card-value .unit {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--caramel);
  margin-left: 2px;
}

.stat-card-sub {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* Dark variant */
.stat-card-dark {
  background: var(--brown-deep);
  border-color: rgba(201, 162, 39, 0.2);
}

.stat-card-dark .stat-card-label { color: rgba(245, 235, 217, 0.55); }
.stat-card-dark .stat-card-value { color: var(--gold); }
.stat-card-dark .stat-card-sub { color: rgba(245, 235, 217, 0.5); }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--caramel) 60%, var(--border));
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--offwhite);
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-item.active::before {
  background: var(--caramel);
  box-shadow: 0 0 0 2px var(--caramel), 0 0 12px rgba(184, 115, 58, 0.4);
}

.timeline-item.pending::before {
  background: var(--border);
  border-color: var(--offwhite);
  box-shadow: 0 0 0 2px var(--border);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--caramel);
  font-weight: 500;
  margin-bottom: 0.375rem;
  letter-spacing: 0.03em;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.timeline-body {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ============================================================
   DIVIDERS
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-xl) 0;
}

.divider-gold {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: var(--space-xl) 0;
}

/* ============================================================
   DISCLOSURE / COMPLIANCE NOTICE
   ============================================================ */
.compliance-notice {
  background: rgba(30, 58, 95, 0.06);
  border: 1px solid rgba(30, 58, 95, 0.15);
  border-left: 3px solid var(--blue-trust);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
}

.compliance-notice-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-trust);
  margin-bottom: 0.5rem;
}

.compliance-notice p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================================
   DOCUMENT CARDS
   ============================================================ */
.doc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base),
              border-color var(--duration-base);
}

.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.doc-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 31, 14, 0.07);
  color: var(--brown-deep);
  flex-shrink: 0;
}

.doc-card-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brown-deep);
  letter-spacing: -0.01em;
}

.doc-card-meta {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brown-deep);
  letter-spacing: -0.01em;
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: #fff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(140, 106, 78, 0.5);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(184, 115, 58, 0.12);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #DC2626;
}

.form-error {
  font-size: 0.8125rem;
  color: #DC2626;
  display: none;
}

.form-error.visible { display: block; }

.form-textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(201, 162, 39, 0); }
}

.animate-fade-up {
  animation: fadeUp 0.7s var(--ease-out) both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* Scroll-reveal: elements start hidden, JS adds .revealed */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============================================================
   DECORATIVE ELEMENTS
   ============================================================ */
.grain-overlay {
  position: relative;
}

.grain-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
}

/* Gold shimmer text */
.text-shimmer {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold-light) 30%,
    var(--caramel) 50%,
    var(--gold-light) 70%,
    var(--gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.hidden { display: none !important; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Background helpers */
.bg-cream { background-color: var(--cream); }
.bg-offwhite { background-color: var(--offwhite); }
.bg-brown { background-color: var(--brown-deep); }
.bg-white { background-color: #fff; }

/* Text color helpers */
.text-cream { color: var(--cream); }
.text-gold { color: var(--gold); }
.text-caramel { color: var(--caramel); }
.text-brown { color: var(--brown-deep); }
.text-muted { color: var(--text-light); }

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */
.img-placeholder {
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
}

.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 235, 217, 0.6) 0%, rgba(234, 213, 183, 0.8) 100%);
}

.img-placeholder span { position: relative; z-index: 1; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .nav, .nav-mobile { display: none !important; }
  body { padding-top: 0; }
}
