/* ==========================================================================
   TillPeak Gold — Main Stylesheet
   Premium precious metals research brand
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --gold:          #B8923A;
  --gold-light:    #D4A853;
  --gold-pale:     #F0E0B0;
  --gold-muted:    #C9A96E;
  --ivory:         #FAF8F3;
  --ivory-warm:    #F5F0E8;
  --sand:          #EDE5D4;
  --sand-deep:     #D9CEBC;
  --charcoal:      #1C1C1E;
  --charcoal-soft: #2D2D2F;
  --graphite:      #3A3A3C;
  --slate:         #6B6B6E;
  --mist:          #9A9A9C;
  --white:         #FFFFFF;
  --border:        rgba(184, 146, 58, 0.18);
  --border-soft:   rgba(184, 146, 58, 0.10);
  --shadow:        0 4px 40px rgba(28, 28, 30, 0.08);
  --shadow-gold:   0 8px 60px rgba(184, 146, 58, 0.15);

  /* Typography */
  --font-serif:    'Cormorant Garamond', 'Garamond', 'Georgia', serif;
  --font-sans:     'DM Sans', 'Helvetica Neue', 'Helvetica', sans-serif;
  --font-mono:     'DM Mono', 'Courier New', monospace;

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

  /* Layout */
  --max-width:       1240px;
  --nav-height:      72px;
  --radius:          4px;
  --radius-md:       8px;
  --radius-lg:       16px;

  /* Transitions */
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
  --duration:  0.3s;
  --duration-slow: 0.6s;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background-color: var(--ivory);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

ul { list-style: none; }

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   3. Typography Scale
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--graphite);
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  color: var(--graphite);
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-md);
}

.caption {
  font-size: 0.825rem;
  color: var(--mist);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   4. Web Fonts (Google Fonts import)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400&display=swap');

/* --------------------------------------------------------------------------
   5. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}

.section {
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-5xl);
}

.section--sm {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.section--lg {
  padding-top: calc(var(--space-5xl) * 1.25);
  padding-bottom: calc(var(--space-5xl) * 1.25);
}

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

.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);
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

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

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(184, 146, 58, 0.35);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}

.btn--outline:hover {
  background: var(--charcoal);
  color: var(--ivory);
  transform: translateY(-1px);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(184, 146, 58, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid transparent;
  padding-left: 0;
}

.btn--ghost:hover { color: var(--gold-light); }

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration) var(--ease);
}

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

/* --------------------------------------------------------------------------
   7. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 24px rgba(28, 28, 30, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.nav__logo-mark {
  width: 32px;
  height: 32px;
}

.nav__logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  line-height: 1;
}

.nav__logo-text span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav__link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  position: relative;
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration) var(--ease);
}

.nav__link:hover,
.nav__link.active {
  color: var(--gold);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all var(--duration) var(--ease);
  transform-origin: center;
}

.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
  padding: var(--space-xl);
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration) var(--ease);
}

.nav__mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.nav__mobile-link {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--charcoal);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-soft);
}

.nav__mobile-link:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   8. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  background-color: var(--ivory);
}

/* Subtle grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.5;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--ivory), transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(184, 146, 58, 0.06);
  margin-bottom: var(--space-xl);
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.5s ease-in-out infinite;
}

.hero__badge-text {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero__title strong {
  font-style: normal;
  font-weight: 500;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
  color: var(--slate);
  max-width: 560px;
  margin-bottom: var(--space-2xl);
  font-weight: 300;
}

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

.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--mist);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

.hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
}

/* SVG decorative element */
.hero__decoration {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   9. Brand Intro Strip
   -------------------------------------------------------------------------- */
.brand-intro {
  background: var(--charcoal);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.brand-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.brand-intro__inner {
  display: grid;
  grid-template-columns: 1fr 2px 1fr 2px 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.brand-intro__divider {
  width: 1px;
  height: 60px;
  background: rgba(184, 146, 58, 0.3);
  justify-self: center;
}

.brand-intro__item {
  text-align: center;
}

.brand-intro__number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.brand-intro__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* --------------------------------------------------------------------------
   10. Why Gold Section
   -------------------------------------------------------------------------- */
.why-gold {
  background: var(--ivory-warm);
  position: relative;
}

.why-gold__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5xl);
  align-items: center;
}

.why-gold__visual {
  position: relative;
}

.why-gold__chart {
  width: 100%;
  aspect-ratio: 1;
  max-width: 460px;
}

.why-gold__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.why-gold__point {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.why-gold__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius);
  background: rgba(184, 146, 58, 0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-top: 2px;
}

.why-gold__icon svg {
  width: 18px;
  height: 18px;
}

.why-gold__point-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--charcoal);
}

.why-gold__point-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   11. Strategy Cards
   -------------------------------------------------------------------------- */
.strategy-cards {
  background: var(--ivory);
}

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header--center {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--slate);
}

.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

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

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: rgba(184, 146, 58, 0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: var(--space-lg);
}

.card__icon svg {
  width: 22px;
  height: 22px;
}

.card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
  color: var(--charcoal);
}

.card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--slate);
  margin-bottom: var(--space-lg);
}

.card__link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration) var(--ease);
}

.card__link:hover { gap: 10px; color: var(--gold-light); }

.card__link svg {
  width: 12px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   12. Market Focus / Ticker Strip
   -------------------------------------------------------------------------- */
.market-focus {
  background: var(--sand);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.market-focus::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184,146,58,0.04) 0%, transparent 60%);
}

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

.market-tile {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-xl);
  position: relative;
  transition: all var(--duration) var(--ease);
}

.market-tile:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.market-tile__symbol {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--mist);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.market-tile__name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--charcoal);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.market-tile__desc {
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.6;
}

.market-tile__tag {
  display: inline-block;
  margin-top: var(--space-md);
  padding: 0.2rem 0.7rem;
  background: rgba(184, 146, 58, 0.08);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   13. Insights Preview
   -------------------------------------------------------------------------- */
.insights-preview {
  background: var(--ivory-warm);
}

.insight-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

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

.insight-card__header {
  padding: var(--space-xl);
  background: var(--ivory-warm);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insight-card__category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.insight-card__date {
  font-size: 0.75rem;
  color: var(--mist);
  font-family: var(--font-mono);
}

.insight-card__body {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  color: var(--charcoal);
}

.insight-card__summary {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--slate);
  flex: 1;
  margin-bottom: var(--space-lg);
}

.insight-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-soft);
}

.insight-card__read {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--duration) var(--ease);
}

.insight-card__read:hover { gap: 10px; }
.insight-card__read svg { width: 11px; height: 11px; }

.insight-card__min {
  font-size: 0.7rem;
  color: var(--mist);
}

/* --------------------------------------------------------------------------
   14. Values / Principles
   -------------------------------------------------------------------------- */
.values {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.values::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184,146,58,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.values::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,146,58,0.4), transparent);
}

.values .eyebrow { color: var(--gold-muted); }

.values h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.values p { color: rgba(255,255,255,0.55); }

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

.value-item {
  padding: var(--space-xl);
  border: 1px solid rgba(184, 146, 58, 0.15);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  transition: all var(--duration) var(--ease);
}

.value-item:hover {
  border-color: rgba(184, 146, 58, 0.35);
  background: rgba(184, 146, 58, 0.05);
  transform: translateY(-3px);
}

.value-item__num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(184, 146, 58, 0.5);
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
}

.value-item__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 400;
  margin-bottom: var(--space-sm);
}

.value-item__text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

/* --------------------------------------------------------------------------
   15. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  background: var(--ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(184,146,58,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: var(--space-lg);
}

.cta-section p {
  color: var(--slate);
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
}

.cta-section__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--charcoal-soft);
  color: rgba(255,255,255,0.5);
  padding: var(--space-4xl) 0 var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer__logo span { color: var(--gold); }

.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration) var(--ease);
}

.footer__link:hover { color: var(--gold); }

.footer__bottom {
  padding-top: var(--space-xl);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xl);
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.footer__disclaimer {
  font-size: 0.72rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.2);
  max-width: 660px;
  text-align: right;
}

/* --------------------------------------------------------------------------
   17. Page Hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  background: var(--ivory);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.page-hero__content {
  position: relative;
  max-width: 700px;
}

.page-hero__title {
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 300;
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.page-hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--slate);
  max-width: 560px;
}

/* --------------------------------------------------------------------------
   18. About Page Specific
   -------------------------------------------------------------------------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.philosophy-item {
  padding: var(--space-2xl);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: all var(--duration) var(--ease);
}

.philosophy-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.philosophy-item__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.philosophy-item__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.philosophy-item__text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--slate);
}

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

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

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-2xl) - 4px);
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--ivory);
}

.timeline-item__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.timeline-item__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.timeline-item__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   19. Strategy Page Specific
   -------------------------------------------------------------------------- */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.strategy-cell {
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.strategy-cell--core {
  background: var(--charcoal);
  color: var(--white);
}

.strategy-cell--satellite {
  background: var(--white);
  border: 1px solid var(--border-soft);
}

.strategy-cell--tactical {
  background: var(--ivory-warm);
  border: 1px solid var(--border-soft);
}

.strategy-cell--macro {
  background: rgba(184,146,58,0.06);
  border: 1px solid var(--border);
}

.strategy-cell__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  display: block;
}

.strategy-cell--core .strategy-cell__label { color: var(--gold-muted); }

.strategy-cell__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--space-md);
}

.strategy-cell--core .strategy-cell__title { color: var(--white); }

.strategy-cell__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.strategy-cell__list li {
  font-size: 0.875rem;
  color: var(--slate);
  padding-left: var(--space-lg);
  position: relative;
  line-height: 1.6;
}

.strategy-cell--core .strategy-cell__list li {
  color: rgba(255,255,255,0.6);
}

.strategy-cell__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

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

.macro-signal {
  padding: var(--space-xl);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: all var(--duration) var(--ease);
  text-align: center;
}

.macro-signal:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.macro-signal__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(184,146,58,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin: 0 auto var(--space-md);
}

.macro-signal__icon svg { width: 20px; height: 20px; }

.macro-signal__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.macro-signal__text {
  font-size: 0.825rem;
  color: var(--slate);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   20. Insights Page Specific
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--slate);
  background: var(--white);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

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

.insights-grid .insight-card { opacity: 1; transition: opacity 0.3s ease, transform 0.3s ease; }
.insights-grid .insight-card.hidden { opacity: 0; pointer-events: none; transform: scale(0.97); }

/* --------------------------------------------------------------------------
   21. Contact Page Specific
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-xl));
}

.contact-info__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-soft);
}

.contact-info__item:last-child {
  border-bottom: none;
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius);
  background: rgba(184,146,58,0.1);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.contact-info__icon svg { width: 18px; height: 18px; }

.contact-info__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.25rem;
}

.contact-info__value {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.5;
}

/* Form styles */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

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

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.9rem;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  appearance: none;
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 58, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--mist);
}

.form__textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

.form__disclaimer {
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--mist);
}

/* --------------------------------------------------------------------------
   22. Disclaimer Banner
   -------------------------------------------------------------------------- */
.disclaimer-banner {
  background: rgba(184, 146, 58, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.disclaimer-banner__icon {
  color: var(--gold);
  min-width: 18px;
  margin-top: 2px;
}

.disclaimer-banner__icon svg { width: 18px; height: 18px; }

.disclaimer-banner__text {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   23. Dividers & Ornaments
   -------------------------------------------------------------------------- */
.divider {
  height: 1px;
  background: var(--border-soft);
  margin: var(--space-3xl) 0;
}

.divider--gold {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  height: 1px;
}

.ornament {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.ornament--left::after { display: none; }
.ornament--left::before { max-width: 40px; }

/* --------------------------------------------------------------------------
   24. Animations
   -------------------------------------------------------------------------- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

/* Intersection Observer animation classes */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   25. Utility Classes
   -------------------------------------------------------------------------- */
.gold { color: var(--gold); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --------------------------------------------------------------------------
   26. Responsive — Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --space-5xl: 6rem; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .market-focus__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
  .brand-intro__inner { grid-template-columns: 1fr 1fr 1fr; }
  .brand-intro__divider { display: none; }
  .why-gold__grid { gap: var(--space-3xl); }
}

/* --------------------------------------------------------------------------
   27. Responsive — Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --space-4xl: 4rem;
    --space-5xl: 5rem;
  }

  .container { padding-left: var(--space-lg); padding-right: var(--space-lg); }

  .nav__links,
  .nav__cta { display: none; }

  .nav__toggle { display: flex; }
  .nav__mobile { display: block; }

  .hero__title { font-size: clamp(2.5rem, 9vw, 3.5rem); }
  .hero__decoration { display: none; }
  .hero__scroll { display: none; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .why-gold__grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .form__row { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .strategy-grid { grid-template-columns: 1fr; }
  .macro-signals-grid { grid-template-columns: 1fr 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }

  .brand-intro__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-xl);
  }

  .values-grid { grid-template-columns: 1fr; }
  .market-focus__grid { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer__bottom { flex-direction: column; }
  .footer__disclaimer { text-align: left; }

  .cta-section__actions { flex-direction: column; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .page-hero { padding-top: calc(var(--nav-height) + var(--space-2xl)); padding-bottom: var(--space-2xl); }
}

@media (max-width: 480px) {
  .macro-signals-grid { grid-template-columns: 1fr; }
  .market-focus__grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 6px; }
}
