:root {
  --navy: #0F1B2D;
  --red: #C4302B;
  --red-dark: #A82822;
  --gold: #E8A93A;
  --sierra: #1F3A5F;
  --granite: #5A6472;
  --fog: #EEF1F4;
  --white: #FFFFFF;
  --line-dark: #22344D;
  --text-2: #3A4452;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(24px, 8.3vw, 120px);
  --section-y: clamp(64px, 8.3vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--navy); background: var(--white); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--navy); }
h1, h2, h3, p { margin: 0; }
section[id], #main { scroll-margin-top: 16px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--navy); padding: 10px 16px; z-index: 100; border-radius: 4px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border-radius: 4px; font-weight: 700; font-size: 16px; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--navy); color: var(--white); }

/* Type */
h2 { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.02; text-transform: uppercase; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.eyebrow-gold { color: var(--gold); }
.big { font-size: clamp(19px, 1.8vw, 26px); line-height: 1.45; font-weight: 500; }
.body { font-size: clamp(16px, 1.2vw, 17px); line-height: 1.65; color: var(--text-2); }
.muted { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; color: var(--granite); }
.head { display: flex; flex-direction: column; gap: 14px; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.text-link { font-weight: 700; font-size: 16px; }

/* Hero */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; min-height: 820px; display: flex; flex-direction: column; }
.hero-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-range { position: absolute; left: 0; bottom: 0; width: 100%; height: calc(100vw * 780 / 1440); min-height: 420px; max-height: 780px; }
.nav-bar { position: relative; z-index: 3; height: 96px; display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter); border-bottom: 1px solid var(--line-dark); max-width: 1440px; width: 100%; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-word { font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 40px; }
.nav a:not(.btn) { color: var(--white); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--gold); }
.menu-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: var(--white); cursor: pointer; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

.hero-copy { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 26px; width: 100%; }
.hero-copy > * { max-width: 860px; }
.eyebrow-line { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.rule { display: inline-block; width: 32px; height: 3px; background: var(--red); flex-shrink: 0; }
.hero h1 { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(38px, 4.7vw, 68px); line-height: .98; letter-spacing: -.01em; text-transform: uppercase; }
.lead { max-width: 640px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: #D5DBE3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%); width: 64px; min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #B9C2CE; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.scroll-cue:hover { color: var(--white); }

/* Sections */
.section { padding-block: var(--section-y); }
.section-fog { background: var(--fog); }
.section-navy { background: var(--navy); color: var(--white); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5.5vw, 80px); align-items: start; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service { background: var(--white); border-radius: 6px; padding: 36px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15, 27, 45, .10); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; }
.service-num { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 15px; color: var(--granite); }
.service h3 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.2; }

.photo { width: 100%; height: auto; border-radius: 6px; object-fit: cover; }
.photo-square { aspect-ratio: 1 / 1; }

.exp-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5.5vw, 80px); align-items: start; margin-top: 56px; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid #2E4461; }
.timeline li { display: grid; grid-template-columns: 100px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid #2E4461; align-items: baseline; }
.year { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 20px; color: var(--red); }
.role { font-size: 20px; font-weight: 700; }
.org { font-size: 16px; color: #B9C2CE; margin-top: 4px; }
.exp-photo { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.exp-photo .photo { aspect-ratio: 960 / 802; }
.exp-photo figcaption { font-size: 14px; line-height: 1.5; color: #B9C2CE; }

.cta { background: var(--red); color: var(--white); padding-block: clamp(64px, 7vw, 100px); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta h2 { font-size: clamp(32px, 3.6vw, 52px); }
.cta p { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.cta .stack { gap: 18px; max-width: 720px; }

.footer { background: var(--navy); color: var(--white); padding-block: 72px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 48px; }
.lockup { display: flex; align-items: center; gap: 18px; color: var(--white); text-decoration: none; }
.lockup:hover { color: var(--white); }
.lockup-text { display: flex; flex-direction: column; gap: 9px; }
.brand-word.lg { font-size: 36px; line-height: .82; }
.descriptor { display: flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 700; letter-spacing: .3em; }
.descriptor .rule { width: 16px; height: 2px; }
.footer-nav { display: flex; gap: 36px; }
.footer-nav a { color: var(--white); text-decoration: none; font-size: 15px; font-weight: 600; }
.footer-nav a:hover { color: var(--gold); }
.legal { border-top: 1px solid var(--line-dark); padding-top: 24px; font-size: 14px; color: #B9C2CE; }

/* Animation */
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-1440px); } }
.drift { animation: drift linear infinite; }
.drift-far { animation-duration: 220s; }
.drift-mid { animation-duration: 140s; }
.drift-front { animation-duration: 80s; }
@keyframes twinkle { 0%, 100% { opacity: .15; } 50% { opacity: .85; } }
.twinkle { animation: twinkle ease-in-out infinite; }
@keyframes sunrise { from { transform: translateY(90px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes glow { 0%, 100% { opacity: 1; } 50% { opacity: .75; } }
.sunrise { animation: sunrise 2.4s cubic-bezier(.2, .7, .2, 1) both, glow 7s ease-in-out 2.4s infinite; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .25s; } .d3 { animation-delay: .45s; } .d4 { animation-delay: .6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.scroll-cue svg { animation: bob 1.8s ease-in-out infinite; }

/* Tablet */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exp-grid { grid-template-columns: 1fr; }
  .exp-photo { max-width: 640px; }
}

/* Mobile */
@media (max-width: 760px) {
  .hero { min-height: 760px; }
  .nav-bar { height: 72px; padding-right: 16px; }
  .brand-word { font-size: 20px; }
  .brand svg { width: 36px; height: 36px; }
  .menu-toggle { display: flex; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--navy); border-bottom: 1px solid var(--line-dark); box-shadow: 0 16px 32px rgba(0, 0, 0, .35); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav a:not(.btn) { display: flex; align-items: center; min-height: 52px; font-size: 17px; border-bottom: 1px solid var(--line-dark); }
  .nav .btn { margin-top: 16px; min-height: 52px; font-size: 16px; }
  .hero-copy { padding-top: 44px; gap: 20px; }
  .hero h1 { font-stretch: 112%; line-height: 1; }
  .eyebrow-line { font-size: 12px; letter-spacing: .2em; gap: 10px; }
  .eyebrow-line .rule { width: 24px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { flex: 1 1 0; min-height: 52px; padding: 0 16px; font-size: 15px; }
  .scroll-cue { display: none; }
  .eyebrow { font-size: 12px; }
  .split { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; gap: 16px; }
  .services { grid-template-columns: 1fr; gap: 12px; }
  .service { min-height: 0; padding: 20px; flex-direction: row; align-items: center; gap: 16px; }
  .service-top { display: contents; }
  .service-top svg { width: 30px; height: 30px; order: 1; flex-shrink: 0; }
  .service h3 { order: 2; flex-grow: 1; font-size: 18px; line-height: 1.25; }
  .service-num { order: 3; font-size: 13px; }
  .exp-grid { margin-top: 28px; gap: 28px; }
  .timeline li { grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; }
  .year { font-size: 17px; }
  .role { font-size: 17px; }
  .org { font-size: 15px; }
  .cta-inner { flex-direction: column; align-items: stretch; gap: 24px; }
  .cta .btn { min-height: 54px; }
  .footer { padding-block: 56px; }
  .footer-top { flex-direction: column; align-items: stretch; gap: 32px; margin-bottom: 32px; }
  .footer-nav { flex-direction: column; gap: 0; }
  .footer-nav a { display: flex; align-items: center; min-height: 48px; font-size: 16px; border-bottom: 1px solid var(--line-dark); }
  .lockup svg { width: 60px; height: 60px; }
  .brand-word.lg { font-size: 30px; }
  .legal { border-top: 0; padding-top: 0; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drift, .twinkle, .sunrise, .rise, .scroll-cue svg { animation: none; }
  .service, .nav { transition: none; }
}
