:root {
  --navy: #10253a;
  --navy-deep: #091725;
  --slate: #496274;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --gold: #c99a43;
  --gold-light: #ead7a9;
  --line: rgba(16, 37, 58, 0.14);
  --shadow: 0 24px 70px rgba(9, 23, 37, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: white;
  background: var(--navy);
  border-radius: .35rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: var(--navy-deep);
  color: white;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
}
.wordmark-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--gold-light);
  font: 700 .85rem/1 Georgia, serif;
  letter-spacing: .08em;
}
.wordmark-mark::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(234, 215, 169, .65);
  transform: rotate(45deg);
}
.wordmark-name {
  font: 600 clamp(1.1rem, 2vw, 1.35rem)/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: .01em;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  display: grid;
  align-items: center;
  padding: clamp(4.5rem, 10vw, 8.5rem) clamp(1.25rem, 8vw, 8rem);
  color: white;
  background:
    linear-gradient(120deg, rgba(9,23,37,.98), rgba(16,37,58,.94)),
    radial-gradient(circle at 82% 30%, #47657c, transparent 42%);
}
.hero::after {
  content: "";
  position: absolute;
  right: clamp(-9rem, -4vw, -2rem);
  top: 50%;
  width: min(43vw, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(234,215,169,.16);
  transform: translateY(-50%) rotate(45deg);
}
.hero-glow {
  position: absolute;
  width: 40rem;
  height: 40rem;
  right: -18rem;
  top: -20rem;
  border-radius: 50%;
  background: rgba(201,154,67,.14);
  filter: blur(30px);
}
.hero-inner { position: relative; z-index: 1; max-width: 900px; }
.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 850px;
  font: 500 clamp(3.2rem, 8vw, 7.2rem)/.95 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}
.hero h1 span { color: var(--gold-light); }
.hero-copy {
  max-width: 720px;
  margin: 2rem 0 2.4rem;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.7;
}
.hero-link {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  color: white;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: .35rem;
}

.companies {
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 8vw, 8rem);
  background: var(--cream);
}
.section-heading { max-width: 780px; margin-bottom: 3.2rem; }
.section-heading h2,
.principle h2 {
  margin: 0;
  font: 500 clamp(2.25rem, 4.5vw, 4.25rem)/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.4rem);
}
.company-card {
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 4vw, 3.3rem);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.card-topline {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--gold);
}
.company-card-blues .card-topline { background: linear-gradient(90deg, #173d5b, var(--gold)); }
.company-type {
  margin: 0 0 3.6rem;
  color: var(--slate);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.company-card h3 {
  margin: 0 0 1rem;
  font: 500 clamp(2rem, 4vw, 3.4rem)/1 Georgia, "Times New Roman", serif;
}
.company-card > p:not(.company-type) {
  max-width: 590px;
  margin: 0 0 2.2rem;
  color: var(--slate);
  font-size: 1.04rem;
  line-height: 1.7;
}
.company-card a {
  margin-top: auto;
  align-self: flex-start;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: .3rem;
}
.company-card a:hover,
.company-card a:focus-visible,
.hero-link:hover,
.hero-link:focus-visible { color: var(--gold); }

.principle {
  display: grid;
  grid-template-columns: minmax(160px, .38fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 8rem);
  background: var(--paper);
}
.principle-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(30vw, 230px);
  aspect-ratio: 1;
  color: var(--navy);
  font: 600 clamp(1.5rem, 4vw, 2.5rem)/1 Georgia, serif;
  letter-spacing: .12em;
}
.principle-mark::before {
  content: "";
  position: absolute;
  inset: 17%;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.principle > div:last-child { max-width: 850px; }
.principle p:last-child {
  max-width: 720px;
  color: var(--slate);
  font-size: 1.08rem;
  line-height: 1.75;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.2rem clamp(1.25rem, 8vw, 8rem);
  color: rgba(255,255,255,.72);
  background: var(--navy-deep);
  font-size: .84rem;
}
footer div { display: grid; gap: .25rem; }
footer strong { color: white; }
footer p { margin: 0; align-self: end; }

@media (max-width: 760px) {
  .site-header { min-height: 72px; }
  .wordmark-mark { width: 42px; height: 42px; }
  .hero { min-height: 560px; padding-top: 5.2rem; padding-bottom: 5.2rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero::after { width: 75vw; right: -55vw; }
  .company-grid { grid-template-columns: 1fr; }
  .company-card { min-height: 350px; }
  .principle { grid-template-columns: 1fr; }
  .principle-mark { width: 140px; margin-left: 1.2rem; }
  footer { flex-direction: column; }
  footer p { align-self: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
