/* AquaBridge Strategic Advisors, draft site styles. Palette: navy #092B58, white, navy tints, neutral grays. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/CormorantGaramond-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #092B58;
  --navy-deep: #061F40;
  --navy-90: #22416A;
  --tint-50: #F4F7FB;
  --tint-100: #E6ECF4;
  --tint-200: #C9D5E5;
  --line: #D5DDE8;
  --ink: #1C2533;
  --gray: #4A5566;
  --on-navy: #FFFFFF;
  --on-navy-muted: #C9D5E5;
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--navy); color: #fff; padding: .5rem 1rem; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }


/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 54px; }
.brand-text {
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
.site-nav ul { display: flex; gap: 1.9rem; }
.site-nav a {
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--navy); padding: .4rem 0; border-bottom: 1px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--navy); }
.nav-toggle { display: none; }

/* Shared section styles */
.section { padding: 6rem 0; position: relative; }
.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--navy-90); margin-bottom: 1rem; display: flex; align-items: center; gap: .9rem;
}
.eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--on-navy-muted); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 1.5rem; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-intro { color: var(--gray); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: .8rem 1.7rem; font-size: .78rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none; border-radius: 2px; border: 1px solid transparent;
  transition: background-color .2s, color .2s;
}
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint-100); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero a:focus-visible, .why a:focus-visible, .site-footer a:focus-visible { outline-color: #fff; }

/* Hero */
.hero {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  padding: 5.5rem 0 6.5rem; background: var(--navy-deep); isolation: isolate;
}
.hero-bg, .why-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img, .why-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,31,64,.78) 0%, rgba(9,43,88,.62) 50%, rgba(6,31,64,.88) 100%);
}
.hero-logo { width: min(250px, 58vw); margin: 0 auto 2.25rem; }
.hero h1 {
  color: #fff; font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 600; line-height: 1.1;
  max-width: 900px; margin: 0 auto 1.25rem; text-wrap: balance;
}
.hero-tagline {
  font-size: clamp(1rem, 1.6vw, 1.2rem); color: #E6ECF4; max-width: 640px; margin: 0 auto 2.25rem;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Split layout (About) */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4.5rem; align-items: center; }
.lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 1.6rem); line-height: 1.4; color: var(--navy); font-weight: 500; }
.split-text > p:not(.lead):not(.eyebrow) { color: var(--gray); font-size: 1.02rem; }
.about-place { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.about-place span {
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--navy);
  border: 1px solid var(--tint-200); padding: .45rem .9rem; border-radius: 999px;
}
figure { margin: 0; }
.split-media img, .services-media img, .how-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-media { position: relative; }
.split-media::before {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1px solid var(--tint-200); z-index: -1;
}
.about .container { position: relative; z-index: 0; }

/* Services */
.services { background: var(--tint-50); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; align-items: end; margin-bottom: 3rem; }
.services-head .section-head { margin-bottom: 0; }
.services-media img { aspect-ratio: 16 / 9; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--line); padding: 1.75rem 1.5rem 1.6rem;
  display: flex; flex-direction: column; position: relative;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--navy); transform: scaleX(.18); transform-origin: left; }
.card-num { font-size: .7rem; font-weight: 600; letter-spacing: .2em; color: var(--navy-90); margin-bottom: 1rem; }
.card h3 { font-size: 1.4rem; margin-bottom: .8rem; }
.card-cta { background: var(--navy); border-color: var(--navy); justify-content: center; }
.card-cta::before { display: none; }
.card-cta h3 { color: #fff; }
.card-cta p { color: #DCE4EF !important; margin-bottom: 1.1rem !important; }
.card-link { color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); align-self: flex-start; padding-bottom: .2rem; }
.card-link:hover { border-bottom-color: #fff; }
.card-cta a:focus-visible { outline-color: #fff; }
.card p { font-size: .92rem; line-height: 1.65; color: var(--gray); margin: 0; }

/* How we work */
.how-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3.5rem; align-items: stretch; margin-bottom: 4.5rem; }
.how-roles { display: grid; gap: 1.5rem; align-content: center; }
.role { border-left: 3px solid var(--navy); padding: .4rem 0 .4rem 1.5rem; }
.role h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.role p { color: var(--gray); margin: 0; }
.steps-title { font-size: 1.75rem; margin-bottom: 1.75rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; counter-reset: none; }
.steps li { background: var(--tint-50); border: 1px solid var(--line); padding: 1.75rem 1.6rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem;
  border-radius: 50%; background: var(--navy); color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: 1rem;
}
.steps h4 { font-family: var(--serif); color: var(--navy); font-size: 1.45rem; font-weight: 600; margin: 0 0 .5rem; }
.steps p { color: var(--gray); font-size: .94rem; margin: 0; }

/* Why AquaBridge */
.why { color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.why::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,31,64,.92) 0%, rgba(9,43,88,.74) 100%); }
.why h2, .why h3 { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.why-grid li { border-top: 1px solid rgba(255,255,255,.4); padding-top: 1.5rem; }
.why-grid h3 { font-size: 1.6rem; margin-bottom: .7rem; }
.why-grid p { color: #DCE4EF; font-size: .98rem; margin: 0; }

/* Insights */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.video-card video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--tint-100); display: block; border: 1px solid var(--line); }
.video-card figcaption { padding-top: 1rem; }
.video-card h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.video-card .dur { font-family: var(--sans); font-size: .8rem; font-weight: 500; color: var(--gray); }
.video-card p { color: var(--gray); font-size: .92rem; margin: 0; }

/* Contact */
.contact { text-align: center; background: var(--tint-50); border-top: 1px solid var(--line); }
.contact-inner { max-width: 760px; }
.contact .eyebrow { justify-content: center; }
.contact .eyebrow::after { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
.contact-note { color: var(--gray); margin-bottom: .5rem; }
.contact-email { font-family: var(--serif); font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 600; margin-bottom: 2.5rem; overflow-wrap: break-word; }
.contact-email a { text-decoration: none; border-bottom: 1px solid var(--tint-200); }
.contact-email a:hover { border-bottom-color: var(--navy); }
.contact-details {
  display: flex; justify-content: center; gap: 4rem; margin: 0;
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.contact-details dt { font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--navy); margin-bottom: .3rem; }
.contact-details dd { margin: 0; color: var(--ink); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9D5E5; padding: 2.5rem 0; }
.footer-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; font-size: .82rem; letter-spacing: .04em; }
.footer-inner p { margin: 0; }
.footer-text { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.footer-text p + p::before { content: "|"; margin-right: 1.5rem; opacity: .5; }
.site-footer a { color: #fff; }
.footer-inner img { width: 72px; margin-right: .5rem; }
.footer-note { flex-basis: 100%; font-size: .75rem; color: #AEBFD4; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1rem; }

/* Responsive */
@media (max-width: 1080px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .how-grid { gap: 3rem; }
  .site-nav ul { gap: 1.4rem; }
}
@media (max-width: 900px) {
  .split, .services-head, .how-grid { grid-template-columns: 1fr; }
  .split-media::before { display: none; }
  .why-grid, .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .video-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 4px; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    display: block; width: 20px; height: 2px; background: var(--navy); position: relative; content: "";
  }
  .nav-toggle-bar::before { position: absolute; top: -6px; }
  .nav-toggle-bar::after { position: absolute; top: 6px; }
  .js .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; gap: 0; padding: .5rem 1.5rem 1rem; }
  .js .site-nav a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--tint-100); }
  html:not(.js) .site-nav ul { gap: 1rem; flex-wrap: wrap; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-bottom: .5rem; }
}
@media (max-width: 720px) {
  .section { padding: 4.25rem 0; }
  .hero { padding: 3.5rem 0 4rem; }
  .hero-logo { width: min(190px, 52vw); margin-bottom: 1.75rem; }
  .brand-text { font-size: 1.15rem; }
  .card-grid { grid-template-columns: 1fr; }
  .how-grid { margin-bottom: 3rem; }
  .contact-email { font-size: 1.3rem; }
  .contact-details { flex-direction: column; gap: 1.5rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .footer-text { flex-direction: column; }
  .footer-text p + p::before { content: none; }
  .btn { width: 100%; max-width: 320px; }
}

/* LinkedIn link */
.li-link { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; }
.li-link .li-icon { flex: none; }
.li-link:hover span { text-decoration: underline; }
.li-link { justify-content: center; white-space: nowrap; }
