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

:root {
  --navy: #0B1829;
  --navy-mid: #152238;
  --navy-light: #1E3454;
  --gold: #C9A84C;
  --gold-light: #E2C47A;
  --white: #F8F6F1;
  --off-white: #EDE9E0;
  --text: #F8F6F1;
  --text-muted: #9AAFC7;
  --text-body: #D4CECC;
  --rule: rgba(201,168,76,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 24, 41, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
}

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

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* ── HAMBURGER (mobile) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

/* ── PAGE WRAPPER ── */
.page {
  position: relative;
  z-index: 1;
  padding-top: 72px;
}

/* ── HERO ── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 80px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule), transparent);
}

.hero-inner {
  max-width: 900px;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-lead {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.8;
  color: var(--text-body);
  max-width: 680px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── SECTION ── */
.section {
  padding: 96px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 96px 48px;
}

.section-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 16px;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 32px;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  margin-top: 48px;
}

h3:first-child { margin-top: 0; }

p {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 24px;
}

p:last-child { margin-bottom: 0; }

/* ── CHAPTER BLOCKS (career page) ── */
.chapter {
  padding: 64px 0;
  border-top: 1px solid var(--rule);
}

.chapter-date {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.chapter-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.chapter-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 32px;
  font-family: 'DM Sans', sans-serif;
}

/* ── PULL QUOTE ── */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 24px 32px;
  margin: 40px 0;
  background: rgba(201,168,76,0.04);
}

.pull-quote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.6;
}

/* ── STANDOUT BOX ── */
.standout {
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 2px;
  padding: 28px 32px;
  margin: 40px 0;
}

.standout p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--white);
  margin: 0;
  line-height: 1.6;
}

/* ── CALLOUT (bold single line) ── */
.callout {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--gold-light);
  font-style: italic;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 48px 0;
  line-height: 1.4;
}

/* ── CTA BUTTON ── */
.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 14px 32px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  color: var(--gold-light);
  transform: translateY(-1px);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 1;
}

footer p {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  margin: 0;
}

.footer-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}

input, textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(154,175,199,0.25);
  padding: 14px 18px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
}

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

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

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeIn 0.7s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.15s; }
.fade-in-delay-2 { animation-delay: 0.3s; }
.fade-in-delay-3 { animation-delay: 0.45s; }
.fade-in-delay-4 { animation-delay: 0.6s; }

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

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  padding: 80px 48px 56px;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
}

.page-header-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  max-width: 800px;
}

/* ── GRID LAYOUTS ── */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.grid-2col-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.grid-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 48px 0;
}

.col-border-left {
  border-left: 1px solid var(--rule);
  padding-left: 80px;
}

.opportunity-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 48px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy-mid); padding: 24px 20px; gap: 24px; border-bottom: 1px solid var(--rule); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero { padding: 48px 20px 60px; min-height: auto; }
  .hero h1 { font-size: 2.4rem; }
  .hero-lead { font-size: 1rem; }
  .hero-stats { gap: 20px; }
  .hero-stats .stat-item { width: calc(50% - 10px); }

  /* Sections */
  .section, .section-narrow { padding: 56px 20px; }
  .page-header { padding: 48px 20px 36px; }

  /* Grids collapse to single column */
  .grid-2col, .grid-2col-wide, .grid-3col, .grid-stats, .opportunity-stats {
    display: block;
  }

  .grid-3col > *, .grid-stats > *, .opportunity-stats > * {
    margin-bottom: 2px;
  }

  .col-border-left {
    border-left: none;
    padding-left: 0;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--rule);
  }

  /* Pull quotes and standout */
  .standout, .pull-quote { padding: 20px; }

  /* Footer */
  footer { padding: 32px 20px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-nav { flex-wrap: wrap; gap: 16px 24px; }

  /* Buttons */
  .btn { display: block; text-align: center; margin-bottom: 12px; width: 100%; box-sizing: border-box; }

  /* Chapter */
  .chapter { padding: 48px 0; }
}

.contact-outer { padding: 80px 48px; }

@media (max-width: 768px) {
  .contact-outer { padding: 56px 20px; }
  .grid-2col-wide { display: block; }
}

/* Extra small phones */
@media (max-width: 390px) {
  .hero h1 { font-size: 2rem; }
  nav { padding: 0 16px; }
  .section, .section-narrow { padding: 48px 16px; }
  .page-header { padding: 40px 16px 32px; }
  footer { padding: 28px 16px; }
  .hero { padding: 40px 16px 48px; }
  .hero-stats .stat-item { width: 100%; }
}
