/* Ascent Wealth Management. Brand navy is the one accent. */
:root {
  --navy: #2f3459;
  --navy-deep: #232845;
  --navy-soft: #4a5078;
  --mist: #eef1f6;
  --line: #d5dae6;
  --ink: #3b4160;
  --muted: #6e7490;
  --white: #ffffff;
  --font-sans: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--white);
  color: var(--ink);
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.625;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
.mono { font-family: var(--font-mono); font-size: 14px; line-height: 1.6; }
.muted { color: var(--muted); }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.hairline { height: 1px; width: 100%; background: var(--line); }
.rule-strong { height: 1px; width: 100%; background: rgba(47, 52, 89, 0.5); }
@media (min-width: 768px) { .container { padding-left: 40px; padding-right: 40px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1280px; margin: 0 auto; height: 100%;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: none; align-items: center; gap: 36px; }
.nav__links a {
  position: relative; font-size: 15px; color: var(--navy);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: var(--navy); transition: width 300ms ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  display: inline-block; border-radius: 9999px; background: var(--navy); color: var(--white);
  padding: 10px 20px; font-size: 15px; font-weight: 500;
  transition: background-color 150ms ease, transform 100ms ease;
}
.nav__cta:hover { background: var(--navy-soft); }
.nav__cta:active { transform: scale(0.98); }
@media (min-width: 768px) {
  .nav__inner { padding: 0 40px; }
  .nav__links { display: flex; }
}

/* Hero */
.hero { position: relative; min-height: 86dvh; overflow: hidden; background: var(--navy-deep); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(35, 40, 69, 0.9) 0%, rgba(35, 40, 69, 0.35) 50%, rgba(35, 40, 69, 0) 100%);
}
.hero__content {
  position: relative; max-width: 1280px; margin: 0 auto;
  min-height: 86dvh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 96px 24px 56px;
}
.hero h1 {
  max-width: 12ch; color: var(--white);
  font-size: 36px; font-weight: 500; line-height: 1.02; letter-spacing: -0.025em;
}
.hero p { margin-top: 20px; max-width: 40ch; color: rgba(255, 255, 255, 0.85); font-size: 18px; line-height: 1.6; }
.hero .rise-3 { margin-top: 32px; }
@media (min-width: 768px) {
  .hero__content { padding: 96px 40px 80px; }
  .hero h1 { font-size: 60px; }
  .hero p { font-size: 20px; }
}
@media (min-width: 1024px) { .hero h1 { font-size: 72px; } }

.contour-link { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--white); }
.contour-link span { font-size: 16px; font-weight: 500; letter-spacing: 0.025em; }
.contour-link svg { overflow: visible; }
.contour-link .arc { transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.contour-link:hover .arc-1 { transform: translateY(-3px); }
.contour-link:hover .arc-2 { transform: translateY(-5px); transition-delay: 60ms; }
.contour-link:hover .arc-3 { transform: translateY(-7px); transition-delay: 120ms; }

/* Entrance motion: fires on load, never waits for scrolling. */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.rise { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .rise-2 { animation-delay: 120ms; }
  .rise-3 { animation-delay: 240ms; }
}
@media (prefers-reduced-motion: reduce) { .contour-link .arc { transition: none; } }

/* Statement */
.statement { background: var(--mist); padding: 96px 24px; }
.statement__inner { max-width: 896px; margin: 0 auto; text-align: center; }
.statement__rule { width: 96px; height: 1px; background: rgba(47, 52, 89, 0.4); margin: 0 auto 40px; }
.statement h2 { max-width: 24ch; margin: 0 auto; color: var(--navy); font-size: 30px; font-weight: 500; line-height: 1.25; letter-spacing: -0.025em; }
.statement p { max-width: 56ch; margin: 32px auto 0; font-size: 18px; line-height: 1.625; }
@media (min-width: 768px) { .statement { padding: 128px 24px; } .statement h2 { font-size: 48px; } }

/* Section headings shared */
.section-h2 { color: var(--navy); font-size: 30px; font-weight: 500; letter-spacing: -0.025em; }

/* Services */
.services { background: var(--white); }
.services__head { padding-top: 96px; padding-bottom: 40px; }
.services__head h2 { color: var(--navy); font-size: 30px; font-weight: 500; letter-spacing: -0.025em; }
.services__head .hairline { margin-top: 24px; }
@media (min-width: 768px) { .services__head h2 { font-size: 36px; } }

.chapter { display: grid; }
.chapter--light { background: var(--white); color: var(--navy); }
.chapter--dark { background: var(--navy); color: var(--white); }
.chapter__media { position: relative; min-height: 60vw; }
.chapter__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chapter__body { display: flex; flex-direction: column; justify-content: center; padding: 56px 24px; }
.chapter__body h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.025em; }
.chapter__intro { margin-top: 20px; max-width: 52ch; display: grid; gap: 16px; font-size: 16px; line-height: 1.625; }
.chapter--light .chapter__intro { color: var(--ink); }
.chapter--dark .chapter__intro { color: rgba(255, 255, 255, 0.8); }
.services__list { margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services__list li { display: flex; align-items: flex-start; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); transition: padding-left 300ms ease; }
.services__list li:first-child { border-top: 0; }
.services__list li:hover { padding-left: 8px; }
.services__list img { width: 44px; height: 44px; flex-shrink: 0; margin-top: 2px; }
.services__label { font-size: 18px; font-weight: 500; }
.services__desc { margin-top: 4px; max-width: 48ch; font-size: 15px; line-height: 1.625; }
.chapter--light .services__desc { color: var(--ink); }
.chapter--dark .services__list, .chapter--dark .services__list li { border-color: rgba(255, 255, 255, 0.15); }
.chapter--dark .services__list img { filter: brightness(0) invert(1); }
.chapter--dark .services__desc { color: rgba(255, 255, 255, 0.75); }
@media (min-width: 768px) {
  .chapter { grid-template-columns: 1fr 1fr; }
  .chapter__media { min-height: 0; }
  .chapter__body { padding: 56px 48px; }
  .chapter__body h3 { font-size: 48px; }
  .services__label { font-size: 20px; }
}
@media (min-width: 1024px) { .chapter__body { padding: 56px 64px; } }
@media (min-width: 1280px) { .chapter__body { padding: 56px 80px; } }

/* Network */
.network { background: var(--white); }
.network__grid { display: grid; gap: 40px; padding-top: 96px; padding-bottom: 96px; }
.network__text h2 { max-width: 14ch; color: var(--navy); font-size: 30px; font-weight: 500; line-height: 1.25; letter-spacing: -0.025em; }
.network__text p { margin-top: 32px; max-width: 46ch; font-size: 18px; line-height: 1.625; }
.network__rule { margin-top: 48px; width: 64px; height: 1px; background: rgba(47, 52, 89, 0.4); }
.network__text h3 { margin-top: 40px; max-width: 16ch; color: var(--navy); font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: -0.025em; }
.network__text h3 + p { margin-top: 20px; }
.network__media img { width: 100%; height: auto; object-fit: cover; }
@media (min-width: 768px) {
  .network__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; padding-top: 128px; padding-bottom: 128px; }
  .network__text { grid-column: span 5; }
  .network__media { grid-column: span 7; margin-top: 80px; padding-left: 24px; }
  .network__text h2 { font-size: 48px; }
  .network__text h3 { font-size: 30px; }
}

/* Team */
.team { background: var(--mist); }
.team .container { padding-top: 96px; padding-bottom: 96px; }
.team h2 { color: var(--navy); font-size: 30px; font-weight: 500; letter-spacing: -0.025em; }
.team__grid { margin-top: 56px; display: grid; gap: 48px; }
.member { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; }
.member__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy); }
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member__text { display: flex; flex-direction: column; padding-top: 4px; }
.member__text h3 { color: var(--navy); font-size: 24px; font-weight: 500; letter-spacing: -0.025em; }
.member__role { margin-top: 4px; font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.member__bio { margin-top: 20px; font-size: 16px; line-height: 1.625; }
@media (min-width: 768px) {
  .team .container { padding-top: 128px; padding-bottom: 128px; }
  .team h2 { font-size: 36px; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .member { gap: 32px; }
  .member__text { padding-top: 8px; }
  .member__text h3 { font-size: 30px; }
}

/* Partners */
.partners { background: var(--white); }
.partners .container { padding-top: 96px; padding-bottom: 96px; }
.partners h2 { text-align: center; color: var(--navy); font-size: 24px; font-weight: 500; letter-spacing: -0.025em; }
.partners__grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.partners__grid li { display: flex; align-items: center; justify-content: center; height: 112px; padding: 0 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners__grid img { max-height: 48px; width: auto; max-width: 120px; opacity: 0.8; filter: grayscale(1); transition: opacity 300ms ease, filter 300ms ease; }
.partners__grid li:hover img { opacity: 1; filter: grayscale(0); }
@media (min-width: 640px) { .partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 768px) { .partners .container { padding-top: 128px; padding-bottom: 128px; } .partners h2 { font-size: 30px; } }
@media (min-width: 1024px) { .partners__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Licence band */
.licence { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--white); }
.licence__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.licence__grid { position: relative; display: grid; gap: 40px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.licence__numeral { font-size: 80px; font-weight: 500; line-height: 1; letter-spacing: -0.025em; }
.licence__caption { margin-top: 12px; font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.7); }
.licence__text h2 { font-size: 30px; font-weight: 500; letter-spacing: -0.025em; }
.licence__text p { margin-top: 24px; max-width: 58ch; font-size: 18px; line-height: 1.625; color: rgba(255, 255, 255, 0.85); }
@media (min-width: 768px) {
  .licence__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-top: 128px; padding-bottom: 128px; }
  .licence__number { grid-column: span 5; }
  .licence__text { grid-column: span 7; padding-left: 24px; }
  .licence__numeral { font-size: 128px; }
  .licence__text h2 { font-size: 48px; }
}

/* Contact */
.contact { background: var(--white); }
.contact .container { padding-top: 96px; padding-bottom: 96px; }
.contact h2 { color: var(--navy); font-size: 36px; font-weight: 500; letter-spacing: -0.025em; }
.contact__lead { margin-top: 24px; max-width: 52ch; font-size: 18px; line-height: 1.625; }
.contact__grid { margin-top: 56px; display: grid; gap: 56px; }
.form { position: relative; display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--navy); }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--white); padding: 12px 16px;
  font-size: 16px; color: var(--ink); outline: none; border-radius: 0; transition: border-color 150ms ease;
}
.field input:focus, .field textarea:focus { border-color: var(--navy); }
.field textarea { resize: vertical; }
.honeypot { position: absolute; left: -9999px; top: 0; }
.form__note { font-size: 14px; color: var(--navy); }
.form__note a, .textlink { text-decoration: underline; color: var(--navy); background: none; border: 0; padding: 0; cursor: pointer; }
.stamp {
  display: inline-flex; min-width: 192px; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white); padding: 16px 32px; border: 0; border-radius: 0;
  font-size: 16px; font-weight: 500; letter-spacing: 0.025em; cursor: pointer;
  transition: background-color 180ms ease, transform 120ms ease;
}
.stamp:hover { background: var(--navy-soft); }
.stamp:active { transform: translateY(1px) skewX(-1.5deg); background: var(--navy-deep); }
.stamp:disabled { cursor: wait; opacity: 0.8; }
.form__done { border: 1px solid var(--line); padding: 32px; }
.form__done-title { color: var(--navy); font-size: 24px; font-weight: 500; letter-spacing: -0.025em; }
.form__done p + p { margin-top: 12px; }
.form__done .textlink { margin-top: 24px; text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 2px; }
.contact__aside { display: grid; gap: 40px; }
.map { aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border: 1px solid var(--line); background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1); }
.location__text { margin-top: 16px; }
.contact__details { display: grid; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; }
.contact__details a:hover, .location__text a:hover { color: var(--navy); }
@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .contact__details { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .contact .container { padding-top: 128px; padding-bottom: 128px; }
  .contact h2 { font-size: 60px; }
  .contact__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.8); }
.footer__grid { display: grid; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
.footer__grid img { height: 36px; width: auto; }
.footer__tagline { margin-top: 20px; max-width: 32ch; font-size: 16px; line-height: 1.625; }
.footer__label { color: rgba(255, 255, 255, 0.55); }
.footer__address p.footer__label--gap { margin-top: 16px; }
.footer__address p + p { margin-top: 4px; }
.footer__phone { margin-top: 16px !important; }
.footer a:hover { color: var(--white); }
.footer__nav { display: grid; gap: 12px; font-size: 16px; justify-items: start; }
.footer__contact { color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, 0.4); padding-bottom: 2px; }
.footer__contact:hover { border-color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.footer__bottom-inner { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; padding-bottom: 24px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; }
}
