:root {
  --navy-950: #0f1a2f;
  --navy-900: #162544;
  --navy-800: #1b2a4a;
  --teal-700: #2e6b8a;
  --teal-600: #3d7b9b;
  --teal-100: #dce8f0;
  --slate-700: #34445f;
  --slate-500: #5d6c84;
  --slate-300: #c4d0de;
  --stone-100: #f7f9fc;
  --stone-50: #fbfcfe;
  --white: #ffffff;
  --text: #2f3a4d;
  --shadow-lg: 0 28px 70px rgba(13, 25, 45, 0.12);
  --shadow-md: 0 18px 38px rgba(13, 25, 45, 0.08);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(240, 243, 247, 0.96), rgba(251, 252, 254, 0.98)),
    var(--stone-100);
  min-height: 100vh;
}

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(46, 107, 138, 0.18), transparent 22%),
    radial-gradient(circle at 90% 14%, rgba(27, 42, 74, 0.14), transparent 25%),
    linear-gradient(rgba(27, 42, 74, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 42, 74, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7));
}

body::before {
  content: "";
  position: fixed;
  top: 8rem;
  right: -6rem;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(61, 123, 155, 0.12), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

p,
li {
  line-height: 1.75;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy-900);
  line-height: 1.06;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header,
.site-footer,
.section,
.hero,
.page-hero {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.site-header {
  padding-top: 1rem;
}

.header-inner {
  position: sticky;
  top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(15, 26, 47, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--white);
}

.brand-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1.25rem;
  padding: 3.75rem 0 1rem;
}

.hero-home {
  align-items: stretch;
}

.hero-copy,
.hero-panel-card,
.page-hero-card,
.content-card,
.sidebar-card,
.industry-card,
.profile-card,
.value-card,
.cta-banner,
.contact-card,
.inquiry-card,
.legal-card,
.collateral-card,
.principle-card,
.offer-card {
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.hero-copy,
.page-hero-card {
  position: relative;
  overflow: hidden;
  padding: 3rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(61, 123, 155, 0.28), transparent 30%),
    linear-gradient(145deg, rgba(15, 26, 47, 0.98), rgba(27, 42, 74, 0.96));
  color: var(--white);
}

.hero-copy::after,
.page-hero-card::after {
  content: "";
  position: absolute;
  inset: auto -4rem -5rem auto;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(220, 232, 240, 0.18), transparent 70%);
}

.hero-copy > *,
.page-hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.page-hero-card h1 {
  color: var(--white);
  font-size: clamp(3.3rem, 7vw, 6.1rem);
  max-width: 12ch;
}

.page-hero-card h1 {
  font-size: clamp(3rem, 6vw, 5rem);
}

.hero-lede,
.page-hero-card p,
.hero-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.hero-lede {
  max-width: 40rem;
  margin-top: 1.2rem;
  font-size: 1.08rem;
}

.eyebrow,
.card-label,
.panel-heading,
.mini-mark,
.footer-brand,
.legal-kicker {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal-700);
}

.hero-copy .eyebrow,
.page-hero-card .eyebrow,
.cta-banner .eyebrow {
  color: rgba(220, 232, 240, 0.84);
}

.hero-actions,
.cta-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button {
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #4a8bad 0%, #2e6b8a 100%);
  color: var(--white);
  font-weight: 700;
}

.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.button-secondary-light {
  background: rgba(255, 255, 255, 0.14);
}

.text-link {
  color: var(--teal-700);
  font-weight: 700;
}

.hero-panel {
  display: flex;
}

.hero-panel-card,
.sidebar-card,
.contact-card,
.legal-card {
  width: 100%;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
}

.panel-heading {
  margin: 0 0 1rem;
  color: var(--teal-700);
}

.stack-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stack-list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(27, 42, 74, 0.1);
}

.stack-list li:first-child {
  padding-top: 0;
}

.stack-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.stack-list span,
.footer-copy,
.footer-bottom p,
.inquiry-card p,
.sidebar-list li,
.content-card p,
.content-card li,
.industry-card p,
.profile-card p,
.value-card p,
.contact-card p,
.legal-card p,
.legal-card li {
  color: var(--text);
}

.stack-list strong {
  color: var(--navy-900);
  font-size: 1.02rem;
}

.section {
  padding: 1.1rem 0 4.6rem;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 1.8rem;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  margin-bottom: 0.8rem;
}

.section-heading p {
  margin: 0;
}

.value-strip,
.industry-grid,
.profile-grid,
.content-grid,
.offer-grid,
.collateral-grid,
.principle-grid,
.inquiry-grid,
.contact-layout {
  display: grid;
  gap: 1rem;
}

.value-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-grid-full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-grid,
.contact-layout,
.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-grid,
.collateral-grid,
.principle-grid,
.inquiry-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-card,
.industry-card,
.profile-card,
.content-card,
.offer-card,
.collateral-card,
.principle-card,
.inquiry-card {
  padding: 1.7rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
}

.mini-mark,
.card-label,
.legal-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
}

.profile-card .card-label {
  margin-bottom: 0.8rem;
  font-size: 0.78rem;
}

.mini-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(46, 107, 138, 0.1);
  margin-bottom: 1rem;
}

.value-card h2,
.profile-card h3,
.industry-card h3,
.content-card h2,
.offer-card h3,
.collateral-card h3,
.principle-card h3,
.contact-card h2,
.legal-card h2,
.inquiry-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.65rem;
}

.page-hero-side {
  display: grid;
  gap: 1rem;
}

.page-hero-side .hero-panel-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-card {
  padding: 2rem;
}

.content-card h2 {
  font-size: 2rem;
}

.sidebar-list,
.offer-list,
.legal-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.sidebar-list li,
.offer-list li,
.legal-list li {
  margin-bottom: 0.7rem;
}

.offer-card {
  min-height: 100%;
}

.offer-card .card-label {
  margin-bottom: 0.8rem;
}

.collateral-card,
.principle-card,
.inquiry-card {
  position: relative;
  overflow: hidden;
}

.collateral-card::after,
.principle-card::after,
.inquiry-card::after {
  content: "";
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(46, 107, 138, 0.1), transparent 70%);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 26, 47, 0.96), rgba(27, 42, 74, 0.92));
  color: var(--white);
}

.cta-banner h2,
.cta-banner p {
  color: var(--white);
}

.contact-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(240, 243, 247, 0.92));
}

.form-card {
  display: grid;
  gap: 1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-800);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(27, 42, 74, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--navy-900);
}

.field textarea {
  min-height: 11rem;
  resize: vertical;
}

.form-meta {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-700);
}

.form-status {
  display: none;
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(46, 107, 138, 0.08);
  color: var(--navy-900);
}

.form-status.is-visible {
  display: block;
}

.info-stack {
  display: grid;
  gap: 1rem;
}

.info-block {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(27, 42, 74, 0.1);
}

.info-block:first-child {
  padding-top: 0;
}

.info-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.info-label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--teal-700);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-card {
  padding: 2.3rem;
}

.legal-card h2 {
  font-size: 2.2rem;
  margin-top: 1.2rem;
}

.legal-section + .legal-section {
  margin-top: 2rem;
}

.legal-review-note {
  margin: 1.2rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--teal-700);
  border-radius: 14px;
  background: rgba(46, 107, 138, 0.08);
}

.site-footer {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
  padding: 0 0 2.2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 1rem;
  border-top: 1px solid rgba(27, 42, 74, 0.12);
}

.footer-brand {
  margin: 0 0 0.45rem;
  color: var(--navy-800);
}

.footer-copy {
  margin: 0;
  max-width: 28rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  justify-content: flex-end;
}

.footer-nav a {
  color: var(--slate-700);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--navy-900);
}

.footer-bottom {
  padding-top: 0.5rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .page-hero,
  .profile-grid,
  .content-grid,
  .contact-layout,
  .industry-grid-full {
    grid-template-columns: 1fr;
  }

  .industry-grid-compact,
  .offer-grid,
  .collateral-grid,
  .principle-grid,
  .inquiry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .section,
  .hero,
  .page-hero {
    width: min(calc(100% - 1rem), var(--content));
  }

  .site-header {
    padding-top: 0.6rem;
  }

  .header-inner {
    top: 0.6rem;
    align-items: flex-start;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.5rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .page-hero {
    padding-top: 3rem;
  }

  .hero-copy,
  .page-hero-card,
  .hero-panel-card,
  .content-card,
  .sidebar-card,
  .contact-card,
  .legal-card,
  .cta-banner {
    padding: 1.5rem;
  }

  .hero-copy h1,
  .page-hero-card h1 {
    font-size: 3.2rem;
  }

  .industry-grid-compact,
  .industry-grid-full,
  .offer-grid,
  .collateral-grid,
  .principle-grid,
  .inquiry-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner,
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}
