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

:root {
  /* Light theme — inverted from dark */
  --black: #1a1a1a;
  --near-black: #f5f4f0;
  --dark: #eeece6;
  --dark-gray: #e4e2da;
  --medium-gray: #d4d2ca;
  --gray: #888580;
  --light-gray: #5a5855;
  --off-white: #3a3835;
  --white: #1a1a1a;

  /* Surface colors for sections */
  --surface-1: #f9f8f4;
  --surface-2: #f0ede5;
  --surface-3: #e8e4da;
  --surface-card: #ffffff;
  --border-color: rgba(0, 0, 0, 0.08);
  --text-primary: #1a1a1a;
  --text-secondary: #5a5855;
  --text-muted: #888580;

  /* Gold accent — Harris Investment Group palette */
  --gold: #a8893a;
  --gold-light: #c9a84c;
  --gold-dark: #8a6f28;
  --gold-muted: rgba(168, 137, 58, 0.12);

  /* LinkedIn accent */
  --linkedin-blue: #0a66c2;

  /* Gold gradient */
  --sunset: linear-gradient(135deg, #8a6f28, #a8893a, #c9a84c, #a8893a);
  --sunset-hover-shadow: 0 0 30px rgba(168, 137, 58, 0.25), 0 0 60px rgba(168, 137, 58, 0.1);

  /* Forest green accent — breaks up the beige/cream monotony without touching gold */
  --forest: #14271a;
  --forest-deep: #0a2011;
  --forest-light: #1f4f2e;
  --forest-glow: rgba(31, 79, 46, 0.16);

  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--surface-1);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.inline-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(168, 137, 58, 0.4);
  transition: text-decoration-color 0.3s;
}
.inline-link:hover { text-decoration-color: var(--gold); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; }

h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1.3; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 500; }

/* Heading accent words */
h1 em, h2 em, h3 em {
  font-style: normal;
  font-weight: 600;
  color: var(--text-primary);
}






/* 4-color gradient points — mirrors AE's 4-Color Gradient effect */
@property --p1x { syntax: '<percentage>'; initial-value: 20%; inherits: true; }
@property --p1y { syntax: '<percentage>'; initial-value: 20%; inherits: true; }
@property --p2x { syntax: '<percentage>'; initial-value: 80%; inherits: true; }
@property --p2y { syntax: '<percentage>'; initial-value: 20%; inherits: true; }
@property --p3x { syntax: '<percentage>'; initial-value: 20%; inherits: true; }
@property --p3y { syntax: '<percentage>'; initial-value: 80%; inherits: true; }
@property --p4x { syntax: '<percentage>'; initial-value: 80%; inherits: true; }
@property --p4y { syntax: '<percentage>'; initial-value: 80%; inherits: true; }

/* Rotate the 4 color points around the text — like AE moving gradient points */
@keyframes move-color-points {
  0% {
    --p1x: 20%; --p1y: 20%;
    --p2x: 80%; --p2y: 20%;
    --p3x: 20%; --p3y: 80%;
    --p4x: 80%; --p4y: 80%;
  }
  25% {
    --p1x: 80%; --p1y: 20%;
    --p2x: 80%; --p2y: 80%;
    --p3x: 20%; --p3y: 20%;
    --p4x: 20%; --p4y: 80%;
  }
  50% {
    --p1x: 80%; --p1y: 80%;
    --p2x: 20%; --p2y: 80%;
    --p3x: 80%; --p3y: 20%;
    --p4x: 20%; --p4y: 20%;
  }
  75% {
    --p1x: 20%; --p1y: 80%;
    --p2x: 20%; --p2y: 20%;
    --p3x: 80%; --p3y: 80%;
    --p4x: 80%; --p4y: 20%;
  }
  100% {
    --p1x: 20%; --p1y: 20%;
    --p2x: 80%; --p2y: 20%;
    --p3x: 20%; --p3y: 80%;
    --p4x: 80%; --p4y: 80%;
  }
}

.hero-gradient {
  background:
    radial-gradient(ellipse 60% 60% at var(--p1x) var(--p1y), #a8893a, transparent),
    radial-gradient(ellipse 70% 70% at var(--p2x) var(--p2y), #c9a84c, transparent),
    radial-gradient(ellipse 90% 90% at var(--p3x) var(--p3y), #dfc070, transparent),
    radial-gradient(ellipse 100% 100% at var(--p4x) var(--p4y), #f0d898, transparent);
  background-size: 105% 130%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: move-color-points 6s linear infinite;
  display: inline-block;
  padding-right: 0.5em;
  padding-bottom: 0.2em;
  line-height: 1.3;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.85;
  font-weight: 300;
}

/* ===== LAYOUT ===== */
.container {
  max-width: clamp(1280px, 82vw, 1600px);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}
.container--narrow { max-width: 900px; }
.container--wide { max-width: clamp(1440px, 90vw, 1800px); margin: 0 auto; padding: 0 clamp(1.5rem, 4vw, 4rem); }

section { padding: clamp(6rem, 11vw, 11rem) 0; }

section > .container + .container {
  margin-top: clamp(3rem, 6vw, 6rem);
}

.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

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

/* Team grid — flexbox instead of CSS grid so an incomplete last row
   self-centers (1 leftover sits in the middle; 2 leftover "brick" between
   the row above) instead of hugging the left edge. Stays correct no matter
   how many people are added. */
.team-grid {
  --team-gap: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--team-gap);
}
.team-grid > .team-member {
  flex: 1 1 calc(33.333% - var(--team-gap) * 2 / 3);
  max-width: calc(33.333% - var(--team-gap) * 2 / 3);
}
@media (max-width: 1024px) {
  .team-grid > .team-member {
    flex: 1 1 calc(50% - var(--team-gap) / 2);
    max-width: calc(50% - var(--team-gap) / 2);
  }
}
@media (max-width: 560px) {
  .team-grid > .team-member {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ===== FOREST SECTION (green accent, breaks up beige monotony) ===== */
.section--forest {
  background: var(--forest);
  position: relative;
}

.section--forest .eyebrow { color: var(--gold-light); }
.section--forest h2,
.section--forest h2 em { color: #ffffff; }
.section--forest .section-intro .lead,
.section--forest > .container > .lead { color: rgba(255, 255, 255, 0.68); }

.section--forest .hq-split__info h3 { color: #ffffff; }
.section--forest .hq-contact-item h4 { color: rgba(255, 255, 255, 0.4); }
.section--forest .hq-contact-item p,
.section--forest .hq-contact-item a { color: rgba(255, 255, 255, 0.75); }
.section--forest .hq-contact-item a:hover { color: var(--gold-light); }


/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 1.5rem 0;
  transition: all 0.4s var(--transition);
}

.nav--scrolled {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav--scrolled::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(249, 248, 244, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: -1;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  max-width: clamp(1280px, 94vw, 1800px);
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 2vw, 2rem);
  position: relative;
}

.nav__logo {
  transition: all 0.3s ease !important;
}

.nav__logo img {
  height: 30px;
  width: auto;
  filter: saturate(0) brightness(5) !important;
  transition: filter 0.3s ease !important;
}

.nav--scrolled .nav__logo img, .nav--on-light .nav__logo img {
  filter: saturate(1) brightness(0.3) !important;
}

.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__link {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff !important;
  transition: color 0.3s;
  font-weight: 500;
  position: relative;
}

.nav--scrolled .nav__link, .nav--on-light .nav__link {
  color: var(--text-muted) !important;
}

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

.nav__link:hover { color: var(--gold) !important; }
.nav__link:hover::after { width: 100%; }
.nav__link--active { color: var(--gold) !important; }
.nav--scrolled .nav__link--active { color: var(--gold) !important; }
.nav__link--active::after { width: 100%; }

.nav__cta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.65rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  transition: all 0.35s var(--transition);
  font-weight: 500;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.nav--scrolled .nav__cta, .nav--on-light .nav__cta {
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--gold);
}

.nav__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.35s;
}

.nav__cta:hover {
  color: var(--black);
  border-color: transparent;
  box-shadow: var(--sunset-hover-shadow);
}

.nav__cta:hover::before { opacity: 1; }
.nav__cta span { position: relative; z-index: 1; }

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

.nav__toggle span {
  width: 22px; height: 1px;
  /* Literal white, not var(--white) — that token is #1a1a1a in this palette
     (values were inverted for the light-theme pass but names weren't updated).
     This icon needs true white to read against the dark hero at page top. */
  background: #ffffff;
  transition: background 0.3s, all 0.3s;
}

.nav--scrolled .nav__toggle span, .nav--on-light .nav__toggle span {
  background: var(--black);
}

/* Menu open: icon sits on the dark fullscreen overlay, so keep it white
   even if the page was scrolled (and thus .nav--scrolled) before opening. */
.nav__toggle.active span {
  background: #ffffff;
}

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

@media (max-width: 900px) {
  .nav__right {
    position: relative;
    z-index: 10001;
  }
  .nav__toggle {
    display: flex;
  }
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 8, 0.82);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
    z-index: 10000;
    overflow-y: auto;
  }
  .nav__links.open { opacity: 1; pointer-events: all; }

  .nav__link {
    font-size: 1rem;
    letter-spacing: 0.22em;
    color: #ffffff !important;
  }

  .nav--scrolled .nav__link {
    color: var(--text-muted) !important;
  }

  .nav__link--active {
    color: var(--gold) !important;
  }

  .nav__cta { font-size: 0.6rem; letter-spacing: 0.1em; padding: 0.55rem 0.9rem; white-space: nowrap; }

  .nav__link--contact { display: none; }
  .nav__link--mobile-only { display: inline-block; }
}

.nav__link--mobile-only { display: none; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--surface-2);
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.25) saturate(0.6);
  border-radius: 0;
}

/* Vignette effect on hero image */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(12, 39, 26, 0.65) 0%, rgba(12, 39, 26, 0.32) 50%, rgba(12, 39, 26, 0.55) 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: clamp(720px, 42vw, 880px);
  padding-top: 1.5rem;
}

.hero h1 { margin-bottom: 1.5rem; color: #ffffff; }
.hero h1 em { color: #ffffff; }
.hero .lead { margin-bottom: 2.5rem; max-width: 540px; color: rgba(255, 255, 255, 0.85); }
.hero .eyebrow { color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: inherit;
  padding: 0.95rem 2.4rem;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--transition);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gold);
  color: var(--black);
  isolation: isolate;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-light);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: -1;
}

.btn--primary:hover {
  color: var(--black);
  box-shadow: var(--sunset-hover-shadow);
  transform: translateY(-1px);
}

.btn--primary:hover::before { opacity: 1; }

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.4);
  isolation: isolate;
}

.btn--outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: -1;
}

.btn--outline:hover {
  border-color: transparent;
  color: var(--black);
  box-shadow: var(--sunset-hover-shadow);
  transform: translateY(-1px);
}

.btn--outline:hover::before { opacity: 1; }

.btn__arrow { transition: transform 0.3s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ===== STAT BAR ===== */
.stat-bar {
  background: var(--surface-3);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 0;
}

.stat-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
  gap: 2rem;
  text-align: center;
}

.stat__number {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

/* Range stat animation — num1 counts up centered alone, then the dash + second
   number grow outward from center as .stat__reveal expands (text-align:center
   on the ancestor keeps the whole number recentered every frame). */
.stat__number--range { display: inline-flex; align-items: baseline; }

.stat__reveal {
  display: inline-flex;
  align-items: baseline;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.5s var(--transition);
}

@media (max-width: 768px) {
  .stat-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* ===== SECTION INTRO ===== */
.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
}
.section-intro h2 { margin-bottom: 1.5rem; }

/* ===== FEATURE CARDS ===== */
.feature-card {
  padding: clamp(2rem, 3vw, 2.5rem);
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Gradient shimmer on top edge, revealed on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--sunset);
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  border-color: rgba(168, 137, 58, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), var(--sunset-hover-shadow);
}

.feature-card:hover::before { opacity: 1; }

.feature-card__icon {
  width: 44px; height: 44px;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  transition: color 0.35s, filter 0.35s;
}

.feature-card:hover .feature-card__icon {
  color: var(--gold);
  filter:
    drop-shadow(0 0 3px rgba(201, 168, 76, 0.9))
    drop-shadow(0 0 8px rgba(201, 168, 76, 0.6))
    drop-shadow(0 0 18px rgba(168, 137, 58, 0.4));
}

.feature-card h4 { margin-bottom: 0.75rem; color: var(--text-primary); }
.feature-card p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.75; font-weight: 300; }

/* ===== SPLIT SECTION ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.1), 0 4px 14px rgba(0,0,0,0.05);
}

.split__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition);
}

.split__image:hover img { transform: scale(1.04); }

.split__image::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  pointer-events: none;
  z-index: 3;
}

/* Sunset glow on image hover */
.split__image::after:hover { opacity: 0.08; }

/* Device mockup variant — for transparent-background app/phone screenshots, no crop or darken */
.split__image--device {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: transparent;
}

.split__image--device::after { display: none; }

.split__image--device img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 35px rgba(0,0,0,0.16));
  transition: transform 0.5s var(--transition), filter 0.5s var(--transition);
}

.split__image--device:hover img { transform: scale(1.03); }

.split__content h2 { margin-bottom: 1.5rem; }
.split__content .lead { margin-bottom: 2rem; }

@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ===== PROCESS CAROUSEL ===== */
.process { background: var(--surface-2); }

.process-carousel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.process-carousel__content { transition: opacity 0.3s ease; }
.process-carousel--fading .process-carousel__content,
.process-carousel--fading .process-carousel__media img { opacity: 0; }

.process-carousel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.process-carousel__title {
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  min-height: 2.5em;
}

.process-carousel__arrows {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.process-carousel__arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.14);
  background: transparent;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--transition);
  padding: 0;
}

.process-carousel__arrow svg { width: 16px; height: 16px; }

.process-carousel__arrow:hover {
  border-color: transparent;
  background: var(--gold);
  color: var(--black);
}

.process-carousel__dots {
  display: flex;
  gap: 0.6rem;
  margin-top: 2.5rem;
}

.process-carousel__dot {
  width: 28px; height: 3px;
  background: rgba(0,0,0,0.14);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s;
}

.process-carousel__dot--active { background: var(--gold); }
.process-carousel__dot:hover { background: var(--gold-light); }

.process-carousel__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.1), 0 4px 14px rgba(0,0,0,0.05);
}

.process-carousel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.6s var(--transition);
}

.process-carousel__media:hover img { transform: scale(1.03); }

.process-carousel__media::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  pointer-events: none;
  z-index: 3;
}

@media (max-width: 900px) {
  .process-carousel { grid-template-columns: 1fr; }
  .process-carousel__media { order: -1; height: clamp(260px, 60vw, 360px); }
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.1rem 1.5rem;
  transition: border-color 0.3s ease;
}

.faq-item:hover { border-color: rgba(168, 137, 58, 0.3); }

.faq-item[open] { border-color: rgba(168, 137, 58, 0.4); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin-top: 0.9rem;
  color: rgba(0,0,0,0.6);
  line-height: 1.65;
}

/* ===== QUOTE ===== */
.quote-section { background: var(--surface-1); position: relative; }

.quote-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40px; height: 1px;
  background: rgba(0,0,0,0.12);
}

.quote-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.quote-block blockquote {
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--off-white);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.quote-block cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(0,0,0,0.45);
}

.quote-block cite strong {
  display: block;
  color: rgba(0,0,0,0.65);
  font-weight: 600;
  margin-bottom: 0.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* ===== TEAM GRID ===== */
.team-member { text-align: center; }

a.team-member {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.team-member__photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: none;
  outline: 2px solid rgba(0,0,0,0.12);
  outline-offset: 7px;
  transition: outline-color 0.4s var(--transition), box-shadow 0.4s var(--transition), background 0.4s var(--transition);
  background: var(--surface-3);
  position: relative;
}

.team-member__photo::after {
  content: '';
  position: absolute; inset: -10px;
  border-radius: 50%;
  padding: 3px;
  background: var(--sunset);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.team-member:hover .team-member__photo::after { opacity: 1; }
.team-member:hover .team-member__photo {
  outline-color: transparent;
  background: #ece5d1;
  box-shadow:
    0 0 8px rgba(168, 137, 58, 0.45),
    0 0 16px rgba(168, 137, 58, 0.3),
    0 0 28px rgba(168, 137, 58, 0.18);
}

.team-member__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.4s var(--transition);
}

.team-member:hover .team-member__photo img {
  filter: grayscale(0);
}

/* Placeholder avatar — used until a real photo is added */
.team-member__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--gold);
  background: var(--surface-3);
}

.team-member h4 { font-weight: 600; margin-bottom: 0.2rem; font-size: 1rem; letter-spacing: -0.01em; }

.team-member__title {
  font-size: 0.72rem;
  color: rgba(0,0,0,0.45);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.team-member__linkedin {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(0,0,0,0.4);
  transition: color 0.3s;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.team-member:hover .team-member__linkedin { color: var(--linkedin-blue); }

/* ===== TEAM MEMBER EMAIL — COPY TO CLIPBOARD ===== */
.team-member__email {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.35rem;
  margin: 0.6rem auto 0;
  padding: 0.35rem 0.8rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gold);
  background: rgba(168, 137, 58, 0.1);
  border: 1px solid rgba(168, 137, 58, 0.3);
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
  position: relative;
  z-index: 2;
}

.team-member__email:hover {
  background: rgba(168, 137, 58, 0.2);
  border-color: rgba(168, 137, 58, 0.55);
}

.team-member__email:active {
  transform: scale(0.97);
}

.team-member__email.copied {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ===== HQ SPLIT SECTION ===== */
.hq-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}

.hq-split__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.22), 0 4px 14px rgba(0,0,0,0.12);
}

.hq-split__image::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  pointer-events: none;
  z-index: 3;
}

.hq-split__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition);
}

.hq-split__image:hover img { transform: scale(1.03); }

.hq-split__info h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 300;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.hq-contact-item { margin-bottom: 1.5rem; }

.hq-contact-item h4 {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.hq-contact-item p,
.hq-contact-item a {
  color: var(--light-gray);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  transition: color 0.3s;
}

.hq-contact-item a:hover { color: var(--white); }

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

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--surface-2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(44, 66, 112, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.cta-section h2 { margin-bottom: 1rem; }
.cta-section .lead { margin-bottom: 2.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== CONTACT ===== */
#contact { background: var(--surface-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
}

.contact-info__item { margin-bottom: 2rem; }

.contact-info__item h4 {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.contact-info__item p { color: var(--light-gray); font-size: 0.95rem; font-weight: 300; }

.contact-form { max-width: 600px; }

.form-group { margin-bottom: 1.4rem; }

.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.93rem;
  font-weight: 300;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: transparent;
  outline: none;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, #a8893a, #c9a84c, #dfc070, #c9a84c) border-box;
  box-shadow: 0 0 24px rgba(168, 137, 58, 0.12);
}

.form-group select option { background: var(--surface-2); }
.form-group textarea { min-height: 110px; resize: vertical; }

/* Post-submit acknowledgement that replaces the contact form in place.
   The form and the acknowledgement share a single grid cell, so the shell keeps
   the form's original height and the page doesn't jump when they swap. The form
   is hidden with visibility (not display) for the same reason. */
.form-shell { display: grid; }

.form-shell > form,
.form-shell > .form-success {
  grid-area: 1 / 1;
}

.form-shell--submitted > form {
  visibility: hidden;
  pointer-events: none;
}

.form-success {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--transition), transform 0.6s var(--transition);
}

/* display:flex above would otherwise defeat the [hidden] attribute. */
.form-success[hidden] { display: none; }

.form-success--visible { opacity: 1; transform: none; }

.form-success__mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  background: var(--sunset);
}

.form-success h3 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  margin: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--forest-deep);
  padding: 4rem 0 2rem;
  border-top: none;
  color: rgba(255,255,255,0.7);
}

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

.footer__brand p {
  color: rgba(255,255,255,0.35);
  font-size: 0.88rem;
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.7;
  font-weight: 300;
}

.footer__heading {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer__link {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  padding: 0.3rem 0;
  transition: color 0.3s;
  font-weight: 300;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

.footer__bottom-links { display: flex; gap: 2rem; }
.footer__bottom-links a { color: rgba(255,255,255,0.25); transition: color 0.3s; }
.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ===== MEDIA LOGOS ===== */
.media-logos-bar {
  background: var(--forest);
}

.media-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 2.75rem 0;
  flex-wrap: wrap;
}

.media-logos span {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}

.media-logos img {
  height: clamp(20px, 2.2vw, 26px);
  width: auto;
  opacity: 0.92;
  transition: opacity 0.3s, transform 0.3s;
}

.media-logos img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* ===== PAGE HERO (internal pages) ===== */
.page-hero {
  padding: 12rem 0 6rem;
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 39, 26, 0.65) 0%, rgba(12, 39, 26, 0.32) 50%, rgba(12, 39, 26, 0.55) 100%);
  z-index: 1;
}

.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.25) saturate(0.6);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: clamp(680px, 40vw, 820px);
}

.page-hero h1 { margin-bottom: 1.5rem; color: #ffffff; }
.page-hero h1 em { color: #ffffff; }
.page-hero .lead { color: rgba(255, 255, 255, 0.85); }
.page-hero .eyebrow { color: var(--gold); }

/* ===== SOLUTION CARDS ===== */
.solution-card {
  padding: clamp(2rem, 3.5vw, 3.5rem);
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--sunset);
  opacity: 0;
  transition: opacity 0.35s;
}

.solution-card:hover {
  border-color: rgba(0,0,0,0.08);
  box-shadow: var(--sunset-hover-shadow);
}

.solution-card:hover::before { opacity: 1; }

.solution-card__number {
  font-size: 4.5rem;
  font-weight: 200;
  color: rgba(0,0,0,0.18);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  transition: color 0.35s, background 0.35s, -webkit-text-fill-color 0.35s;
}

.solution-card:hover .solution-card__number {
  background: linear-gradient(135deg, #a8893a, #c9a84c, #dfc070, #c9a84c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.solution-card h3 { margin-bottom: 0.85rem; font-weight: 500; color: var(--text-primary); }
.solution-card p { color: var(--text-secondary); line-height: 1.8; font-weight: 300; font-size: 0.93rem; }

@media (max-width: 768px) { .solution-card { grid-template-columns: 1fr; } }

/* ===== ADVISOR BENEFITS ===== */
.benefit {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: padding-left 0.3s var(--transition);
}

.benefit:last-child { border-bottom: none; }
.benefit:hover { padding-left: 0.5rem; }

.benefit__icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.65);
  transition: color 0.3s, filter 0.3s;
}

.benefit:hover .benefit__icon {
  color: var(--gold);
  filter:
    drop-shadow(0 0 3px rgba(201, 168, 76, 0.9))
    drop-shadow(0 0 8px rgba(201, 168, 76, 0.6))
    drop-shadow(0 0 16px rgba(168, 137, 58, 0.4));
}

.benefit h4 { margin-bottom: 0.4rem; font-weight: 500; font-size: 1rem; }
.benefit p { color: var(--gray); font-size: 0.9rem; line-height: 1.7; font-weight: 300; }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--transition), transform 0.75s var(--transition);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== LETTER FADE + RISE ANIMATION ===== */
@keyframes fade-rise-in {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.char {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
  animation: fade-rise-in 0.6s ease-out forwards;
}

/* Spaces need special handling so they don't collapse */
.char--space {
  display: inline;
  white-space: pre;
}

/* Whole-element fade + rise for gradient text */
.blur-in-element {
  display: inline-block;
  opacity: 0;
  animation: fade-rise-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Non-hero gradient elements start hidden, waiting for scroll trigger */
.hero-gradient:not(#hero-title) {
  opacity: 0;
}

/* Per-character gradient spans — background-image set by JS with CSS var() refs */
.char--gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  will-change: transform, opacity;
  /* background-image, background-size, background-position set by JS per character */
}

/* ===== DIVIDER ===== */
.divider {
  width: 40px; height: 1px;
  background: rgba(201, 168, 76, 0.35);
  margin: 2rem 0;
}

.divider--center { margin: 2rem auto; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 40px; height: 40px;
  background: var(--surface-2);
  border: 1px solid rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s;
  z-index: 100;
}

.scroll-top.visible { opacity: 1; pointer-events: all; }

.scroll-top:hover {
  color: var(--gold);
  border-color: rgba(168, 137, 58, 0.4);
  box-shadow: 0 0 16px rgba(168, 137, 58, 0.2);
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed; inset: 0;
  background: var(--surface-2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

.preloader.hidden { opacity: 0; visibility: hidden; }

.preloader__line {
  width: 50px; height: 1px;
  background: rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.preloader__line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--sunset);
  animation: preload 1s ease-in-out infinite;
}

@keyframes preload {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

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

/* ===== SOLUTION CARD SVG ICON HOVER ===== */
.solution-card svg {
  stroke: rgba(0,0,0,0.18);
  transition: stroke 0.4s, filter 0.4s;
}
.solution-card:hover svg {
  stroke: var(--gold);
  filter:
    drop-shadow(0 0 4px rgba(201, 168, 76, 0.9))
    drop-shadow(0 0 10px rgba(201, 168, 76, 0.6))
    drop-shadow(0 0 22px rgba(168, 137, 58, 0.35));
}

/* ===== NEWSROOM PAGE ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  padding: 2.5rem;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--sunset);
  opacity: 0;
  transition: opacity 0.4s;
}

.news-card:hover {
  border-color: rgba(0,0,0,0.08);
  transform: translateY(-3px);
  box-shadow: var(--sunset-hover-shadow);
}

.news-card:hover::before { opacity: 1; }

.news-card__source {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.news-card__date {
  font-size: 0.75rem;
  color: rgba(0,0,0,0.18);
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.news-card h3 {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
  flex: 1;
}

.news-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.75rem;
}

.news-card__link {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(0,0,0,0.5);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

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

/* ===== ARTICLE PAGE ===== */
.article-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.45);
  font-weight: 500;
  transition: color 0.3s;
  margin-bottom: 2rem;
}
.article-nav-back:hover { color: var(--white); }
.article-nav-back svg { transition: transform 0.3s; }
.article-nav-back:hover svg { transform: translateX(-4px); }

.article-hero {
  padding: 14rem 0 6rem;
  background: var(--surface-2);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.article-meta__source {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.article-meta__date {
  font-size: 0.78rem;
  color: rgba(0,0,0,0.25);
  font-weight: 300;
}

.article-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.article-hero .lead { max-width: 600px; }

.article-featured-image {
  max-width: 780px;
  margin-top: 3rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.12), 0 4px 14px rgba(0,0,0,0.06);
  position: relative;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-featured-image::after {
  content: '';
  position: absolute; inset: 0;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  pointer-events: none;
}

.article-cta-bar {
  background: var(--surface-2);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 2rem 0;
}

.article-cta-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.article-cta-bar__text {
  font-size: 0.88rem;
  color: rgba(0,0,0,0.5);
  font-weight: 300;
}

.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.article-body h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 400;
  margin: 3.5rem 0 1.25rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.article-body p {
  color: var(--light-gray);
  font-size: 1.02rem;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.article-body blockquote {
  border-left: 2px solid rgba(244, 81, 30, 0.45);
  padding: 0.75rem 0 0.75rem 2rem;
  margin: 2.5rem 0;
  font-style: italic;
  color: var(--off-white);
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-disclaimer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.82rem;
  color: rgba(0,0,0,0.25);
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
}

.article-source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.7rem 1.5rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  font-style: normal;
  color: rgba(0,0,0,0.6);
  transition: border-color 0.3s, color 0.3s;
}

.article-source-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}
