/* ============================================
   ELV8 — Shea McAleese
   Brand: Obsidian Black / Bone White / Muted Gold
   Fonts: Playfair Display / Montserrat
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --black: #222222;
  /* ELV8 Near-Black */
  --gold: #D4AF37;
  /* ELV8 Gold */
  --ivory: #F7F5EF;
  /* ELV8 Soft Ivory */
  --charcoal: #3A3A3A;
  /* ELV8 Charcoal */
  --grey: #8A8A8A;
  /* ELV8 Mid Grey */
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

p {
  color: var(--bone);
  opacity: 0.85;
  max-width: 64ch;
}

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

/* ---- LAYOUT ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 100px 0;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  padding: 0 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

nav .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

nav .logo img {
  height: 36px;
  width: auto;
  display: block;
}

nav .nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

nav .nav-links li {
  display: inline-flex;
}

nav .nav-links a {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.7;
  transition: all 0.2s ease;
  white-space: nowrap;
}

nav .nav-links a:hover {
  opacity: 1;
  color: var(--gold);
}

nav .nav-cta {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184, 155, 94, 0.5);
  padding: 9px 18px;
  transition: all 0.2s ease;
}

nav .nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  z-index: 1;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 40%, rgba(184, 155, 94, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero h1 {
  margin-bottom: 32px;
  max-width: 16ch;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--bone);
  opacity: 0.7;
  max-width: 50ch;
  margin-bottom: 52px;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 40px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 44px;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---- SECTION LABELS ---- */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

/* ---- GOLD DIVIDER ---- */
.divider {
  width: 100%;
  height: 1px;
  background: rgba(184, 155, 94, 0.15);
  margin: 0;
}

/* ---- NUMBERED LIST ---- */
.numbered-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.numbered-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
}

.numbered-list .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  padding-top: 4px;
}

.numbered-list .num-content h4 {
  margin-bottom: 8px;
  color: var(--bone);
}

.numbered-list .num-content p {
  font-size: 0.95rem;
  opacity: 0.7;
  max-width: 55ch;
}

/* ---- QUOTE BLOCK ---- */
blockquote {
  border-left: 2px solid var(--gold);
  padding: 4px 0 4px 28px;
  margin: 48px 0;
}

blockquote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  opacity: 1;
  line-height: 1.6;
  max-width: 55ch;
}

/* ---- TWO-COL ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.two-col-3-2 {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 80px;
  align-items: start;
}

/* ---- CARDS ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0;
}

.card {
  background: var(--black);
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 48px 40px;
  transition: border-color 0.3s, background 0.3s;
}

.card:hover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}

.card h3 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--white);
}

.card p {
  font-size: 0.95rem;
  opacity: 0.75;
  line-height: 1.6;
}

.card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  color: var(--gold);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

/* ---- FRAMEWORK STEPS ---- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(184, 155, 94, 0.1);
  align-items: start;
}

.step:first-child {
  border-top: 1px solid rgba(184, 155, 94, 0.1);
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}

.step-content h4 {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.step-content p {
  font-size: 0.92rem;
  opacity: 0.65;
}

/* ---- FORMAT TABLE ---- */
.format-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.format-table td {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(184, 155, 94, 0.1);
  font-size: 0.92rem;
  vertical-align: top;
}

.format-table td:first-child {
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  width: 140px;
  white-space: nowrap;
}

.format-table tr:last-child td {
  border-bottom: none;
}

/* ---- STAT STRIP ---- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(184, 155, 94, 0.15);
}

.stat-item {
  padding: 48px 40px;
  border-right: 1px solid rgba(184, 155, 94, 0.15);
  text-align: center;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ---- TESTIMONIAL ---- */
.testimonial-block {
  padding: 64px;
  border: 1px solid rgba(184, 155, 94, 0.15);
  position: relative;
}

.testimonial-block::before {
  content: '\201C';
  position: absolute;
  top: -24px;
  left: 48px;
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}

/* ---- CONTACT FORM ---- */
.form-group {
  margin-bottom: 28px;
}

label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

input,
textarea,
select {
  width: 100%;
  background: rgba(245, 245, 243, 0.04);
  border: 1px solid rgba(184, 155, 94, 0.2);
  color: var(--bone);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  border-radius: 0;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
}

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

select option {
  background: var(--black);
  color: var(--bone);
}

::placeholder {
  color: var(--grey);
}

/* ---- HERO CIRCLE PHOTO ---- */
.hero-circle-photo {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.08);
}

.hero-circle-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
}

@media (max-width: 900px) {
  .hero-circle-photo {
    display: none;
  }
}

/* ---- FOOTER CONTACT LINKS ---- */
.footer-contact-link {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  padding: 10px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-contact-link:hover {
  color: var(--white);
  padding-left: 6px;
}

/* ---- FOOTER ---- */
footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(184, 155, 94, 0.12);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.footer-copy {
  font-size: 0.78rem;
  opacity: 0.4;
  margin-bottom: 24px;
  display: block;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
  display: block;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 24px;
  opacity: 0.7;
}

.newsletter-optin {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(184, 155, 94, 0.1);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  max-width: 480px;
}

.newsletter-optin input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---- PAGE HEADER (inner pages) ---- */
.page-hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(184, 155, 94, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* ---- INSIGHTS ---- */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(184, 155, 94, 0.1);
  transition: all 0.2s;
}

.article-item:first-child {
  border-top: 1px solid rgba(184, 155, 94, 0.1);
}

.article-item h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.article-item p {
  font-size: 0.95rem;
  opacity: 0.85;
  /* Increased from 0.6 */
  color: var(--charcoal);
}

.article-tag {
  font-size: 0.7rem;
  /* Slightly larger */
  font-weight: 600;
  /* Bolder */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.article-arrow {
  color: var(--gold);
  font-size: 1.4rem;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
}

.article-item:hover .article-arrow {
  opacity: 1;
  transform: translateX(6px);
}

/* ---- FADE IN ANIMATION ---- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }

  .container {
    padding: 0 24px;
  }

  section {
    padding: 72px 0;
  }

  nav .nav-links,
  nav .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .two-col,
  .two-col-3-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(184, 155, 94, 0.15);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .testimonial-block {
    padding: 40px 28px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero {
    padding-top: 100px;
  }

  .page-hero {
    padding: 140px 0 72px;
  }

  .numbered-list li {
    grid-template-columns: 36px 1fr;
  }
}