/* ============================================================
   SECTIONS - layout of each page section, top to bottom.
   ============================================================ */

/* ============ HERO ============ */
.hero {
  background: var(--pine-950);
  color: var(--cream-70);
  padding: 168px 0 80px;
  position: relative;
  overflow: hidden;
}
/* blueprint grid */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(110% 100% at 30% 0%, #000 25%, transparent 90%);
          mask-image: radial-gradient(110% 100% at 30% 0%, #000 25%, transparent 90%);
}
/* warm glow drifting behind the name */
.hero::after {
  content: "";
  position: absolute;
  top: -220px; left: -160px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 147, 47, 0.16), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(90px, 60px); }
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
}

/* rotating focus line */
.hero-rotator {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brass);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  min-height: 18px;
}
.hero-rotator .rot-word { transition: opacity .4s var(--ease), transform .4s var(--ease); display: inline-block; }
.hero-rotator .rot-word.out { opacity: 0; transform: translateY(-8px); }
.hero-rotator .caret {
  width: 8px; height: 15px;
  background: var(--brass);
  animation: blink 1.15s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(52px, 8.2vw, 96px);
  color: var(--cream);
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin-bottom: 26px;
}
.hero-name em { font-style: italic; color: var(--brass-hi); }

.hero-tagline {
  font-size: clamp(16.5px, 1.8vw, 19px);
  max-width: 460px;
  margin-bottom: 26px;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 44px; }

/* document-control strip */
.doc-strip {
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
}
.doc-cell {
  padding: 14px 30px 2px 0;
  margin-right: 30px;
  border-right: 1px solid var(--line-dark);
}
.doc-cell:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.doc-k {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-45);
  margin-bottom: 3px;
}
.doc-v {
  font-family: var(--font-mono);
  font-size: 12.5px; letter-spacing: 0.03em;
  color: var(--cream);
}

/* headshot with drafting marks */
.hero-photo-wrap { position: relative; justify-self: center; }
.hero-photo {
  width: min(320px, 78vw);
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  position: relative; z-index: 1;
  box-shadow: var(--shadow-lg);
}
/* offset brass frame behind */
.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(194, 147, 47, 0.5);
  border-radius: var(--radius);
}
/* registration marks */
.hero-marks span {
  position: absolute;
  width: 15px; height: 15px;
  border-color: var(--brass-hi);
  border-style: solid;
  z-index: 2;
}
.hero-marks span:nth-child(1) { top: -8px; left: -8px; border-width: 1.5px 0 0 1.5px; }
.hero-marks span:nth-child(2) { top: -8px; right: -8px; border-width: 1.5px 1.5px 0 0; }
.hero-marks span:nth-child(3) { bottom: -8px; left: -8px; border-width: 0 0 1.5px 1.5px; }
.hero-marks span:nth-child(4) { bottom: -8px; right: -8px; border-width: 0 1.5px 1.5px 0; }

@media (max-width: 860px) {
  .hero { padding: 138px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo-wrap { order: -1; justify-self: start; }
  .hero-photo { width: min(230px, 62vw); }
}

/* ============ STATS BAND ============ */
.stats {
  background: var(--pine-950);
  border-top: 1px solid var(--line-dark);
  padding: 44px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat { border-left: 1px solid var(--line-dark); padding-left: 22px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  color: var(--brass-hi);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--cream-45);
  line-height: 1.6;
  max-width: 200px;
}
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 980px;
}
.about-grid p { font-size: 16.5px; color: var(--ink-soft); }
.about-grid p strong { color: var(--ink); }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ============ CONTACT ============ */
.contact { text-align: center; }
.contact .section-title { font-size: clamp(44px, 6.5vw, 76px); margin-bottom: 18px; }
.contact-sub { color: var(--cream-70); max-width: 460px; margin: 0 auto 38px; }
.contact-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 40px; }
.contact-location {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cream-45);
  display: inline-flex; align-items: center; gap: 10px;
}
.contact-location::before, .contact-location::after {
  content: "";
  width: 34px; height: 1px;
  background: var(--line-dark);
}
