/* Renascent Ventures — tokens from Brand Guidelines v1.0
   Accent: a restrained champagne gold taken from the golden-hour light in the photography.
   Used only for hairlines and small marks, mostly on navy grounds; never on the logo. */
:root {
  --brand: #064382;
  --brand-deep: #032b55;
  --brand-night: #021d3a;
  --brand-bright: #2e6db4;
  --brand-tint: #e6eef7;
  --ink: #1b2433;
  --ink-muted: #566173;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --line: #d5dce6;
  --gold: #c9a464;
  --gold-soft: #e2cb9c;
  --on-dark: #ffffff;
  --on-dark-muted: #c3d1e2;

  --font-display: "Montserrat", Arial, sans-serif;
  --font-text: "Open Sans", Arial, sans-serif;

  /* The soft top-left corner echoes the rounded head of each bar in the R-mark */
  --corner: 28px 4px 4px 4px;
  --corner-sm: 12px 2px 2px 2px;

  --shadow-1: 0 1px 2px rgba(3, 43, 85, 0.06), 0 2px 8px rgba(3, 43, 85, 0.04);
  --shadow-2: 0 2px 4px rgba(3, 43, 85, 0.06), 0 24px 48px -20px rgba(3, 43, 85, 0.28);

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--brand);
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h3 { font-size: 1.3rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0; }
a { color: var(--brand-bright); }

:focus-visible {
  outline: 3px solid var(--brand-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--corner-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: var(--brand-tint); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.btn-outline { color: var(--brand); border-color: var(--brand); min-height: 48px; padding: 12px 22px; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-disabled {
  min-height: 48px;
  padding: 12px 22px;
  color: var(--ink-muted);
  background: var(--surface-alt);
  border: 1.5px dashed var(--line);
  cursor: not-allowed;
}
.ext { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 120px;
  transition: min-height .3s var(--ease-out);
}
/* Full lockup is never shown below 200px wide (brand guide); the mark takes over once scrolled */
.brand { display: block; padding-block: 10px; }
.brand-lockup { width: 200px; }
.brand-mark { display: none; height: 40px; width: auto; }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  position: relative;
  padding: 12px 16px;
  color: inherit;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(3, 43, 85, 0.25);
}
.site-header.is-solid .header-inner { min-height: var(--header-h); }
.site-header.is-solid .brand-lockup { display: none; }
.site-header.is-solid .brand-mark { display: block; }
.site-header.is-solid .site-nav a::after { background: var(--brand); }
.site-header.is-solid .site-nav a[aria-current="true"] { color: var(--brand); }

.nav-toggle { display: none; }

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .header-inner { min-height: 112px; }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 48px; height: 48px;
    margin-right: -10px;
    background: none;
    border: 0;
    cursor: pointer;
    color: inherit;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 24px; height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s var(--ease-out), background-color .2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 4px var(--gutter) 20px;
    background: #fff;
    box-shadow: 0 1px 0 var(--line), 0 16px 32px -16px rgba(3, 43, 85, 0.35);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 16px 0; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--surface-alt); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: max(680px, min(100svh, 960px));
  color: #fff;
  background: var(--brand-night);
  overflow: hidden;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; object-position: 70% 50%; }
/* Navy wash from the left keeps the headline readable; a second wash grounds the brand index */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 29, 58, 0.92) 0%, rgba(2, 29, 58, 0.78) 34%, rgba(2, 29, 58, 0.25) 62%, rgba(2, 29, 58, 0) 80%),
    linear-gradient(0deg, rgba(2, 29, 58, 0.9) 0%, rgba(2, 29, 58, 0.35) 22%, rgba(2, 29, 58, 0) 42%),
    linear-gradient(180deg, rgba(2, 29, 58, 0.55) 0%, rgba(2, 29, 58, 0) 22%);
}

.hero-content {
  width: 100%;
  padding-top: 160px;
  padding-bottom: clamp(56px, 9vh, 112px);
}
.hero-mark {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 30px;
  margin-bottom: 28px;
}
.hero-mark i {
  width: 9px;
  background: var(--gold);
  border-top-left-radius: 80% 8px;
}
.hero-mark i:nth-child(1) { height: 45%; }
.hero-mark i:nth-child(2) { height: 72%; }
.hero-mark i:nth-child(3) { height: 100%; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.9rem, 6.4vw, 5.5rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 12ch;
}
.hero-sub {
  margin-top: 28px;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: var(--on-dark-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* Brand index: four links along the foot of the hero, ticks rising left to right */
.hero-index {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-index ul {
  list-style: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-index li + li a { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.hero-index a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: end;
  height: 100%;
  padding: 26px 20px 30px;
  color: #fff;
  text-decoration: none;
  transition: background-color .25s var(--ease-out);
}
.hero-index li:first-child a { padding-left: 0; }
.hero-index a:hover { background: rgba(255, 255, 255, 0.05); }
.tick {
  grid-row: 1 / 3;
  align-self: end;
  width: 6px;
  height: calc(16px + var(--i) * 8px);
  margin-bottom: 4px;
  background: var(--gold);
  border-top-left-radius: 80% 6px;
  transform-origin: bottom;
  transition: background-color .25s var(--ease-out);
}
.hero-index a:hover .tick { background: #fff; }
.idx-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.3;
}
.idx-field {
  font-size: 0.82rem;
  color: var(--on-dark-muted);
  line-height: 1.4;
}

/* One orchestrated entrance on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: settle 1.6s var(--ease-out) both; }
  .hero-mark i, .tick { animation: rise .7s var(--ease-out) both; }
  .hero-mark i:nth-child(1) { animation-delay: .2s; }
  .hero-mark i:nth-child(2) { animation-delay: .3s; }
  .hero-mark i:nth-child(3) { animation-delay: .4s; }
  .tick { animation-delay: calc(.6s + var(--i) * .1s); }
  .hero h1, .hero-sub, .hero-actions { animation: lift .8s var(--ease-out) both; }
  .hero-sub { animation-delay: .1s; }
  .hero-actions { animation-delay: .2s; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
  @keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  @keyframes lift { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 900px) {
  .hero-index ul { grid-template-columns: repeat(2, 1fr); }
  .hero-index li:nth-child(3) a { border-left: 0; padding-left: 0; }
  .hero-index li:nth-child(n+3) a { border-top: 1px solid rgba(255, 255, 255, 0.12); }
  .hero-index a { padding: 18px 16px 20px; }
}
@media (max-width: 700px) {
  .hero { min-height: max(720px, 100svh); }
  .hero-media img { object-position: 50% 30%; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(2, 29, 58, 0.7) 0%, rgba(2, 29, 58, 0.35) 30%, rgba(2, 29, 58, 0.75) 58%, rgba(2, 29, 58, 0.96) 100%);
  }
  .hero-content { padding-top: 140px; padding-bottom: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 11vw, 144px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 16px 48px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head p { color: var(--ink-muted); font-size: 1.1rem; max-width: 30rem; justify-self: end; }
.section-head h2::after,
.about-grid h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 22px;
  background: var(--gold);
}
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}
.about-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  color: var(--ink);
  max-width: 40rem;
}
.meaning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: clamp(32px, 5vw, 64px);
  background: var(--surface-alt);
  border-radius: var(--corner);
  border-left: 3px solid var(--gold);
}
.meaning-mark { width: clamp(48px, 6vw, 72px); height: auto; }
.meaning blockquote { margin: 0; }
.meaning p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--brand-deep);
  max-width: 44rem;
}
.meaning em { font-style: normal; font-weight: 700; color: var(--brand); }

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  .meaning { grid-template-columns: 1fr; }
}

/* Brands */
.brands { background: var(--surface-alt); }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}
.brand-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--corner);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: box-shadow .35s var(--ease-out);
}
.brand-card:hover { box-shadow: var(--shadow-2); }
.brand-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--brand-deep);
}
.brand-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand-card:hover .brand-media img { transform: scale(1.035); }
}
.brand-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: clamp(24px, 3vw, 40px);
  border-top: 3px solid var(--brand);
}
.brand-tag {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--brand-bright);
}
.brand-desc { margin-top: 16px; color: var(--ink); max-width: 34rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 14px 6px 10px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--corner-sm);
}
.badge svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
/* keeps a gap above the foot even in the tallest card of a row */
.brand-desc, .badge { margin-bottom: 28px; }
.brand-desc:has(+ .badge) { margin-bottom: 0; }
.endorse { font-size: 0.8125rem; color: var(--ink-muted); }

.brand-card:target { box-shadow: 0 0 0 3px var(--brand-bright), var(--shadow-2); }

@media (max-width: 760px) {
  .brand-grid { grid-template-columns: 1fr; }
}

/* Leadership */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}
.leader {
  padding: clamp(28px, 3.4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--corner);
}
.leader-head {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--gold);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.role {
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--brand-bright);
}
.bio { color: var(--ink); }

@media (max-width: 900px) {
  .leader-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .avatar { width: 72px; height: 72px; font-size: 1.25rem; }
}

/* Contact */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand);
  color: #fff;
  padding-block: clamp(80px, 10vw, 136px);
}
/* Rising-bar pattern, the motif the brand guide reserves for patterns */
.contact-bars {
  position: absolute;
  right: clamp(-80px, -4vw, -20px);
  bottom: 0;
  z-index: -1;
  display: flex;
  align-items: flex-end;
  gap: clamp(14px, 2vw, 28px);
  height: 88%;
}
.contact-bars i {
  width: clamp(56px, 8vw, 120px);
  background: rgba(255, 255, 255, 0.045);
  border-top-left-radius: 80% 72px;
}
.contact-bars i:nth-child(1) { height: 44%; }
.contact-bars i:nth-child(2) { height: 70%; }
.contact-bars i:nth-child(3) { height: 100%; }

.contact h2 { color: #fff; }
.contact h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 22px;
  background: var(--gold);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}
.contact-lead { margin-top: 24px; max-width: 26rem; color: var(--on-dark-muted); font-size: 1.1rem; }
.contact-list { margin: 0; }
.contact-list > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.contact-list > div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.contact-list dt {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: start;
  padding-top: 4px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--on-dark-muted);
}
.contact-list dt svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-list dd { margin: 0; }
.contact-list dd > a:not(.map-link) {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  text-decoration: none;
  overflow-wrap: anywhere;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 0 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .3s var(--ease-out);
}
.contact-list dd > a:not(.map-link):hover { background-size: 100% 1.5px; }
.contact address { font-style: normal; color: #fff; max-width: 30rem; }
.map-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  color: var(--gold-soft);
  font-size: 0.95rem;
  font-weight: 600;
}
.map-link:hover { color: #fff; }
.contact :focus-visible { outline-color: #fff; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .contact-list > div { grid-template-columns: 1fr; gap: 6px; }
}

/* Footer */
.site-footer {
  background: var(--brand-night);
  color: #a9b9cc;
  font-size: 0.8125rem;
  line-height: 1.75;
  border-top: 1px solid rgba(201, 164, 100, 0.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 6vw, 96px);
  padding-block: 64px 40px;
}
.footer-logo { width: 200px; }
.statutory-name { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; margin-bottom: 4px !important; }
.statutory p + p { margin-top: 2px; }
.site-footer a { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-brands { margin-top: 16px !important; }
.footer-base {
  padding-block: 20px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}
