:root {
  --navy: #0F1F3D;
  --navy-card: #15284D;
  --gold: #C9A96E;
  --gold-text: #7A5E2B;
  --gold-large: #8A6C33;
  --cream: #FAF7F2;
  --cream-75: rgba(250, 247, 242, 0.75);
  --cream-55: rgba(250, 247, 242, 0.55);
  --muted: #4E5A6E;
}

* { box-sizing: border-box; margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: "Jost", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; }
h2 { font-size: clamp(44px, 6vw, 72px); font-weight: 300; line-height: 1; letter-spacing: -0.01em; }
h3 { font-size: 28px; font-weight: 600; line-height: 1.1; }
em { font-weight: 400; font-style: italic; }

a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.label {
  margin-bottom: 16px;
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.label-gold { color: var(--gold); }

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.pill svg { transition: transform 0.2s ease; }
.pill-ghost { border-color: rgba(250, 247, 242, 0.3); background: transparent; color: var(--cream); }
.pill-small { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Sticky bar */
.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 6px 20px;
  background: rgba(15, 31, 61, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.bar.show { opacity: 1; visibility: visible; }
.bar-name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 600; }

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 92vh;
  min-height: 92svh;
  overflow: hidden;
  padding: 40px 20px 16px;
  background: var(--navy);
  color: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  top: -8%;
  left: 50%;
  width: 150%;
  max-width: 1000px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(201, 169, 110, 0.18), rgba(201, 169, 110, 0));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  align-content: center;
  gap: 32px;
  width: 100%;
  max-width: 1116px;
  margin: 0 auto;
}

.arch {
  position: relative;
  justify-self: center;
  width: min(72%, 31svh);
  aspect-ratio: 4 / 5;
}

.arch img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.eyebrow::before { content: ""; flex: none; width: 40px; height: 1px; background: var(--gold); }

h1 {
  margin-top: 16px;
  font-size: clamp(64px, 12vw, 152px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

h1 span, h1 em { display: block; }

.hero-line {
  max-width: 34ch;
  margin: 22px 0 28px;
  color: var(--cream-75);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.4;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.scroll-cue {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--cream-75);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue i { display: block; width: 1px; height: 32px; overflow: hidden; background: rgba(201, 169, 110, 0.3); }
.scroll-cue i::after { content: ""; display: block; width: 1px; height: 100%; background: var(--gold); }

/* Stats */
.stats { padding: 40px 20px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
}

.stats-grid > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 18px 12px;
  text-align: center;
}

.stats-grid > div:nth-child(odd) { border-right: 1px solid var(--gold); }
.stats-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--gold); }

dd {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(48px, 5.5vw, 64px);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: lining-nums tabular-nums;
}

dt { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; line-height: 1.35; text-transform: uppercase; }

/* About */
.about { padding: 64px 0 80px; }
.about-grid { display: grid; gap: 28px; }
.about-text { font-size: 20px; font-weight: 300; line-height: 1.55; }

.lead {
  display: block;
  margin-bottom: 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3vw, 32px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
}

/* Ventures */
.ventures { padding: 80px 0; background: var(--navy); color: var(--cream); }
.card-grid { display: grid; gap: 20px; margin-top: 40px; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid rgba(250, 247, 242, 0.1);
  border-radius: 20px;
  background: var(--navy-card);
  color: var(--cream);
  transition: transform 0.25s ease-out, border-color 0.25s ease-out;
}

.card::before {
  content: attr(data-index);
  position: absolute;
  top: 12px;
  right: 20px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: lining-nums;
}

@supports (-webkit-text-stroke: 1px #000) {
  .card::before { color: transparent; -webkit-text-stroke: 1px var(--gold); }
}

.card-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 18px; }
.card h3 { padding-right: 16px; }
.card p { margin-bottom: 12px; color: var(--cream-75); font-weight: 300; }
.card .proof { margin: 4px 0 20px; color: var(--gold); font-weight: 500; }

.card .subtitle {
  margin: 6px 0 0;
  padding-right: 16px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.mark {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
}

.mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mark-navy { border: 1px solid rgba(250, 247, 242, 0.2); background: var(--navy); }
.mark-light { background: #FFFFFF; }

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  color: var(--cream);
  font-weight: 500;
  text-decoration: none;
}

.card-link::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 2px solid var(--cream); outline-offset: 3px; }

.circle {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  transition: transform 0.25s ease-out;
}

.card .compliance { position: relative; margin: 14px 0 0; color: var(--cream-55); font-size: 13px; line-height: 1.5; }

.compliance a {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 12px 0;
  margin: -8px 0;
  color: var(--cream);
}

/* Contact */
.contact { padding: 88px 0; text-align: center; }

.contact h2 { font-size: clamp(56px, 10vw, 128px); font-weight: 300; line-height: 0.95; letter-spacing: -0.02em; }
.contact h2 em { color: var(--gold-large); }
.contact-line { max-width: 34ch; margin: 22px auto 28px; font-size: 19px; font-weight: 300; line-height: 1.45; }

.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; margin-top: 18px; }

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: linear-gradient(var(--navy), var(--navy)) 0 calc(100% - 9px) / 100% 1px no-repeat;
  color: var(--navy);
  text-decoration: none;
  transition: background-size 0.25s ease-out;
}

/* Footer */
footer { padding: 56px 0 calc(48px + env(safe-area-inset-bottom)); background: var(--navy); text-align: center; }

.sign-off {
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 4vw, 44px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}

.legal { max-width: 60ch; margin: 14px auto 0; color: var(--cream-55); font-size: 13.5px; line-height: 1.5; }

/* Hover, desktop only */
@media (hover: hover) {
  .pill:hover { background: #D6BA85; border-color: #D6BA85; }
  .pill:hover svg { transform: translateX(4px); }
  .pill-ghost:hover { background: rgba(250, 247, 242, 0.08); border-color: rgba(250, 247, 242, 0.6); }
  .card:hover { transform: translateY(-6px); border-color: rgba(201, 169, 110, 0.6); }
  .card:hover .circle { transform: rotate(-45deg); }
  .contact-links a:hover { background-size: 0 1px; }
}

/* Motion. Hidden start states need the js class, so the page is complete without it. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .js .reveal { opacity: 0; }
  .js .reveal.is-in { opacity: 1; animation: fade-up 0.6s ease-out backwards; animation-delay: var(--d, 0ms); }

  .scroll-cue i::after { animation: cue 1.8s ease-in-out infinite; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cue {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scroll-cue { display: none; }
  .card:hover { transform: none; }
  .card:hover .circle { transform: none; }
  .pill:hover svg { transform: none; }
}

@media (max-width: 767px) {
  .hero { padding-top: 24px; }
  .hero-grid { gap: 24px; }
  .eyebrow { gap: 10px; font-size: 11.5px; letter-spacing: 0.18em; white-space: nowrap; }
  .eyebrow::before { width: 24px; }
  .hero-line { margin: 16px 0 20px; }
  .hero-actions { flex-wrap: nowrap; gap: 8px; }
  .hero-actions .pill { flex: 1 1 auto; padding: 0 14px; font-size: 16px; }
  .scroll-cue { margin-top: 10px; }
  .scroll-cue i { height: 18px; }
}

@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats-grid > div { padding: 12px 16px; border-bottom: 0 !important; }
  .stats-grid > div:nth-child(odd) { border-right: 0; }
  .stats-grid > div:not(:last-child) { border-right: 1px solid var(--gold); }
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
  .about { padding: 88px 0 104px; }
  .about-text { font-size: 20px; }
  .ventures { padding: 104px 0; }
  .contact { padding: 120px 0; }
  .hero-line { font-size: 22px; }
}

@media (min-width: 900px) {
  .hero { min-height: 100vh; min-height: 100svh; padding: 48px 32px 20px; }
  .hero::before { left: 74%; top: 50%; transform: translate(-50%, -50%); width: 900px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: center; gap: 56px; }
  .arch { grid-column: 2; grid-row: 1; width: min(100%, 60svh); }
  .hero-text { grid-column: 1; grid-row: 1; }
}

@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
