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

:root {
  --black:   #0D0D0D;
  --white:   #FAFAF8;
  --gold:    #F5C842;
  --gold-dk: #D4A800;
  --gray:    #6B6B6B;
  --light:   #F2EFE9;
  --border:  #E0DCD4;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max-w: 1100px;
  --pad-x: clamp(1.5rem, 5vw, 4rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

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

.reveal-d1.is-visible { transition-delay: 0.12s; }
.reveal-d2.is-visible { transition-delay: 0.24s; }

/* Hero entrance (plays on load, not scroll) */
.enter {
  opacity: 0;
  transform: translateY(24px);
  animation: enterUp 0.9s var(--ease-out) forwards;
}

.enter-1 { animation-delay: 0.1s; }
.enter-2 { animation-delay: 0.25s; }
.enter-3 { animation-delay: 0.4s; }
.enter-4 { animation-delay: 0.55s; }
.enter-5 { animation-delay: 0.7s; }

@keyframes enterUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--pad-x);
  background: rgba(13, 13, 13, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: padding 0.3s var(--ease-out), background 0.3s;
}

nav.is-scrolled {
  padding: 0.8rem var(--pad-x);
  background: rgba(13, 13, 13, 0.92);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-cta {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  padding: 0.5rem 1.1rem;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 18px rgba(245, 200, 66, 0.25);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s var(--ease-out), box-shadow 0.25s;
}

.btn-primary:hover {
  background: var(--gold-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 200, 66, 0.35);
}

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

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-dk);
  margin-bottom: 1rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--black);
  color: var(--white);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6.5rem var(--pad-x) 3.5rem;
  position: relative;
  overflow: hidden;
}

/* Drifting gold glows */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
}

.glow-1 {
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.5), transparent 65%);
  top: -18%;
  left: -12%;
  animation: drift1 18s ease-in-out infinite alternate;
}

.glow-2 {
  width: 45vw;
  height: 45vw;
  max-width: 560px;
  max-height: 560px;
  background: radial-gradient(circle, rgba(212, 168, 0, 0.4), transparent 65%);
  bottom: -20%;
  right: -10%;
  animation: drift2 22s ease-in-out infinite alternate;
}

.glow-3 {
  width: 30vw;
  height: 30vw;
  max-width: 400px;
  max-height: 400px;
  background: radial-gradient(circle, rgba(255, 235, 170, 0.22), transparent 60%);
  top: 40%;
  left: 55%;
  animation: drift3 15s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(8vw, 6vh) scale(1.15); }
}

@keyframes drift2 {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-7vw, -8vh) scale(0.95); }
}

@keyframes drift3 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-10vw, 8vh); }
}

/* Film grain */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.12'/%3E%3C/svg%3E");
}

.hero-inner {
  max-width: 820px;
  position: relative;
  z-index: 2;
  will-change: transform;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.gold-shimmer {
  background: linear-gradient(100deg, var(--gold) 20%, #FFF3C4 40%, var(--gold) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

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

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-photo-wrap {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 1.75rem;
}

.hero-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--gold);
  position: absolute;
  top: 5px;
  left: 5px;
  animation: photoFloat 6s ease-in-out infinite;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.hero-photo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(245, 200, 66, 0.35);
  animation: ringPulse 3.5s ease-in-out infinite;
}

@keyframes photoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.12); opacity: 0; }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.25rem;
  color: rgba(255,255,255,0.3);
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 6rem var(--pad-x);
  background: var(--white);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--pad-x);
  right: var(--pad-x);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 0, 0.3), transparent);
}

.about > .container { max-width: var(--max-w); margin: 0 auto; }

.about-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray);
  padding-top: 0.4rem;
}

.about-lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

.about-content p + p {
  margin-top: 1rem;
  color: #444;
}

/* ============================================================
   JOURNEY
   ============================================================ */
.journey {
  padding: 6rem var(--pad-x);
  background: var(--light);
}

.journey-timeline {
  display: flex;
  flex-direction: column;
}

.journey-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem 2.5rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.journey-item:first-child { padding-top: 0; }
.journey-item:last-child  { border-bottom: none; padding-bottom: 0; }

.journey-year {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-dk);
  letter-spacing: 0.05em;
  padding-top: 0.25rem;
}

.journey-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.journey-item p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.7;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(245, 200, 66, 0.07), transparent),
    var(--black);
  color: var(--white);
  padding: 6rem var(--pad-x);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.service-card {
  background: #1A1A1A;
  padding: 2.5rem;
  border-top: 3px solid var(--gold);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, background 0.3s;
}

.service-card:hover {
  background: #202020;
  transform: translateY(-8px);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(245, 200, 66, 0.18);
}

.service-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: 6rem var(--pad-x);
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.process-step {
  position: relative;
  padding-top: 0.5rem;
}

.process-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-dk);
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* ============================================================
   CREDENTIALS (interactive cards)
   ============================================================ */
.credentials {
  padding: 6rem var(--pad-x);
  background: var(--light);
  position: relative;
}

.credentials .section-title {
  margin-bottom: 1rem;
}

.credentials-hint {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.cred-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}

.cred-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 168, 0, 0.45);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.cred-card.is-open {
  border-color: var(--gold-dk);
  box-shadow: 0 14px 40px rgba(212, 168, 0, 0.15);
}

.cred-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}

.cred-abbr {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--black);
  white-space: nowrap;
}

.cred-mark {
  font-size: 0.6em;
  vertical-align: super;
  color: var(--gold-dk);
}

.cred-name {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.4;
}

/* Plus / minus indicator */
.cred-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cred-plus::before,
.cred-plus::after {
  content: '';
  position: absolute;
  background: var(--gold-dk);
  border-radius: 1px;
  transition: transform 0.35s var(--ease-out);
}

.cred-plus::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}

.cred-plus::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}

.cred-card.is-open .cred-plus::after {
  transform: scaleY(0);
}

.cred-card.is-open .cred-plus::before {
  transform: rotate(180deg);
}

/* Expandable body */
.cred-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}

.cred-card.is-open .cred-body {
  grid-template-rows: 1fr;
}

.cred-body-inner {
  overflow: hidden;
  min-height: 0;
}

.cred-body-inner p {
  padding: 0 1.5rem;
  font-size: 0.92rem;
  color: #444;
  line-height: 1.7;
}

.cred-issuer {
  display: block;
  padding: 0.9rem 1.5rem 1.4rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dk);
  font-weight: 600;
}

/* ============================================================
   PERSPECTIVES
   ============================================================ */
.perspectives {
  background: var(--white);
  padding: 6rem var(--pad-x);
}

.perspectives .section-title {
  margin-bottom: 3rem;
}

.perspectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.perspective-card {
  border-left: 3px solid var(--gold);
  background: var(--light);
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 0 4px 4px 0;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.perspective-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.perspective-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dk);
}

.perspective-card blockquote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #333;
  flex: 1;
  font-style: italic;
}

.perspective-date {
  font-size: 0.75rem;
  color: var(--gray);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--black);
  color: var(--white);
  padding: 7rem var(--pad-x);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 200, 66, 0.13), transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  animation: ctaPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaPulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.15); }
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cta-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #080808;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  padding: 1.75rem var(--pad-x);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  transition: color 0.2s;
}

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

.footer-disclosure {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-disclosure p {
  font-size: 0.68rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.28);
}

.footer-disclosure p + p {
  margin-top: 0.75rem;
}

/* Compact hero for shorter desktop/laptop viewports so the CTA
   stays above the fold */
@media (max-height: 880px) and (min-width: 721px) {
  .hero-photo-wrap {
    width: 150px;
    height: 150px;
    margin-bottom: 1.25rem;
  }

  .hero-photo {
    width: 140px;
    height: 140px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  }

  .hero-sub {
    margin-bottom: 2rem;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .enter,
  .js .reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .hero-glow,
  .hero-photo,
  .hero-photo-ring,
  .hero-scroll-hint,
  .gold-shimmer,
  .cta-glow {
    animation: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
  /* Nav */
  nav {
    padding: 1rem var(--pad-x);
  }

  /* Hero */
  .hero {
    padding: 6rem var(--pad-x) 4rem;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-photo-wrap {
    width: 120px;
    height: 120px;
  }

  .hero-photo {
    width: 110px;
    height: 110px;
  }

  /* Section padding */
  .about,
  .journey,
  .services,
  .process,
  .credentials,
  .perspectives {
    padding: 4rem var(--pad-x);
  }

  .cta-section {
    padding: 5rem var(--pad-x);
  }

  .section-title {
    margin-bottom: 2.5rem;
  }

  .credentials .section-title {
    margin-bottom: 1rem;
  }

  .credentials-hint {
    margin-bottom: 2rem;
  }

  /* About + Journey */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-label {
    padding-top: 0;
  }

  .journey-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  /* Services */
  .service-card {
    padding: 2rem 1.5rem;
  }

  /* Credentials */
  .cred-toggle {
    padding: 1.2rem 1.25rem;
  }

  .cred-body-inner p {
    padding: 0 1.25rem;
  }

  .cred-issuer {
    padding: 0.9rem 1.25rem 1.2rem;
  }

  /* Perspectives */
  .perspective-card {
    padding: 1.5rem 1.25rem 1.5rem 1.5rem;
  }

  /* CTA button — email address needs room */
  .btn-large {
    font-size: 0.78rem;
    padding: 1rem 1.25rem;
    letter-spacing: 0.04em;
    display: block;
    text-align: center;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
