:root {
  --ink: #171a1f;
  --ink-soft: #414854;
  --paper: #f7f8fa;
  --paper-2: #e9edf2;
  --line: rgba(47, 79, 145, 0.16);
  --brand-blue: #2f4f91;
  --brand-blue-dark: #223a6b;
  --brand-gray: #9fa1a3;
  --brand-gray-soft: #d7dadd;
  --accent-light: #d7e1f2;
  --bronze: var(--brand-blue);
  --bronze-dark: var(--brand-blue-dark);
  --green: #121826;
  --green-2: #1c2638;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(20, 28, 42, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(248, 250, 252, 0.95);
  color: var(--ink);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 350px;
}

.brand-text {
  min-width: 0;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  overflow: hidden;
}

.brand-logo-mark {
  width: 58px;
  height: 58px;
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0;
  opacity: 0.82;
}

.brand .brand-legal-form {
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.main-nav a {
  padding: 12px 14px;
  border-radius: 999px;
  color: currentColor;
  opacity: 0.9;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  opacity: 1;
}

.site-header.is-scrolled .main-nav a:hover,
.site-header.nav-active .main-nav a:hover {
  background: rgba(47, 79, 145, 0.08);
}

.main-nav .nav-cta {
  margin-left: 10px;
  border: 1px solid currentColor;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 140px clamp(20px, 5vw, 72px) 72px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 20, 31, 0.9), rgba(28, 43, 67, 0.62) 46%, rgba(36, 51, 76, 0.18)),
    linear-gradient(0deg, rgba(15, 20, 31, 0.7), rgba(15, 20, 31, 0.08) 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--bronze);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent-light);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1.02;
}

h3 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}

p {
  color: rgba(23, 26, 31, 0.74);
  font-size: 17px;
  line-height: 1.7;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--bronze);
  color: var(--white);
}

.button-primary:hover {
  background: var(--bronze-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 72px;
  z-index: 2;
  width: min(340px, calc(100vw - 40px));
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.hero-panel span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-light);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.18;
}

.section {
  padding: 110px clamp(20px, 5vw, 72px);
}

.intro {
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 7vw, 108px);
  align-items: start;
}

.intro p,
.section-heading p,
.method-copy p,
.contact p {
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 450px);
  gap: 44px;
  align-items: end;
  margin-bottom: 46px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  display: block;
  min-height: 340px;
  padding: clamp(26px, 4vw, 42px);
  background: var(--paper);
}

.service-card span {
  display: inline-block;
  margin-bottom: 64px;
  color: var(--bronze);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.service-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(40px, 8vw, 110px);
  background: var(--green);
  color: var(--white);
}

.method p {
  color: rgba(255, 255, 255, 0.74);
}

.steps {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.steps article {
  min-height: 156px;
  padding: 28px;
  background: var(--green-2);
}

.steps span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
}

.steps p {
  margin: 0;
  font-size: 15px;
}

.mandates {
  background: var(--paper-2);
}

.mandate-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(47, 79, 145, 0.14);
  border: 1px solid rgba(47, 79, 145, 0.14);
}

.mandate-card {
  min-height: 260px;
  padding: clamp(26px, 4vw, 40px);
  background: var(--paper-2);
  color: var(--ink-soft);
}

.mandate-card h3 {
  margin-bottom: 22px;
  color: var(--ink);
}

.mandate-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.mandate-card li {
  padding-left: 4px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.mandate-card li::marker {
  color: var(--brand-blue);
}

.page-hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 72px) 84px;
  background:
    linear-gradient(120deg, rgba(16, 21, 31, 0.92), rgba(35, 58, 100, 0.82)),
    url("assets/hero-advisory.png") center / cover;
  color: var(--white);
}

.page-hero-content {
  min-width: 0;
  max-width: min(1120px, 100%);
}

.page-hero h1 {
  max-width: 1120px;
  font-size: clamp(46px, 5.9vw, 78px);
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.page-hero-content p,
.legal-copy {
  overflow-wrap: anywhere;
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.page-section {
  padding: 96px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-section.alt {
  background: var(--paper-2);
}

.page-section.dark {
  background: var(--green);
  color: var(--white);
}

.page-section.dark p,
.page-section.dark li {
  color: rgba(255, 255, 255, 0.74);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 104px);
  align-items: start;
}

.content-grid.reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.8fr);
}

.lead {
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.7;
}

.page-section.dark .lead {
  color: rgba(255, 255, 255, 0.82);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-card {
  min-height: 210px;
  padding: 30px;
  background: var(--paper);
}

.page-section.alt .detail-card {
  background: var(--paper-2);
}

.page-section.dark .detail-grid {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.14);
}

.page-section.dark .detail-card {
  background: var(--green-2);
}

.detail-card h3 {
  font-size: 24px;
}

.detail-card p,
.detail-card li {
  font-size: 15px;
}

.check-list,
.plain-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: rgba(23, 26, 31, 0.74);
  line-height: 1.6;
}

.page-section.dark .check-list li,
.page-section.dark .plain-list li {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.link-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.link-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  background: var(--paper);
}

.link-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.12;
}

.link-card span {
  color: var(--bronze);
  font-size: 13px;
  font-weight: 700;
}

.link-card:hover {
  background: var(--white);
}

.legal-copy {
  max-width: 920px;
}

.legal-copy h2 {
  margin-top: 54px;
  font-size: clamp(28px, 3.5vw, 44px);
}

.legal-copy h3 {
  margin-top: 36px;
}

.legal-copy p {
  max-width: 760px;
}

.legal-list {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin: 0 0 22px;
  padding-left: 22px;
  color: rgba(23, 26, 31, 0.74);
  font-size: 17px;
  line-height: 1.65;
}

.legal-copy a {
  color: var(--brand-blue-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.notice-box {
  margin-top: 34px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
}

.contact {
  padding: 110px clamp(20px, 5vw, 72px);
  background: var(--green);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 520px);
  gap: clamp(42px, 9vw, 128px);
  align-items: start;
}

.contact p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.contact-item {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-item span {
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.contact-item small {
  grid-column: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.contact-item a {
  color: inherit;
}

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

.contact-actions .button {
  min-height: 58px;
  border-radius: 0;
}

.contact-card-action {
  padding: 18px 24px 24px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-card-action .button {
  width: 100%;
  min-height: 48px;
  border-radius: 2px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #0f1420;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--white);
}

@media (max-width: 1100px) {
  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 44px;
  }

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

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

@media (max-width: 820px) {
  .site-header {
    padding: 14px 20px;
    gap: 14px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-logo-wrap {
    width: 42px;
    height: 42px;
  }

  .brand-logo-mark {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    max-width: min(235px, calc(100vw - 148px));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
  }

  .brand .brand-legal-form {
    font-size: 9px;
    letter-spacing: 0;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .main-nav {
    position: fixed;
    top: 71px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a,
  .main-nav .nav-cta {
    margin: 0;
    border-radius: 0;
    padding: 14px;
  }

  .hero {
    min-height: 900px;
    padding: 120px 20px 40px;
  }

  h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section,
  .contact {
    padding: 72px 20px;
  }

  .intro-grid,
  .section-heading,
  .method,
  .contact-inner,
  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .mandate-list,
  .detail-grid,
  .link-band {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card span {
    margin-bottom: 36px;
  }

  .mandate-card {
    min-height: auto;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-item small {
    grid-column: auto;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }
}

@media (max-width: 520px) {
  .brand strong {
    max-width: 205px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 860px;
  }

  .page-hero {
    min-height: 560px;
    padding: 120px 20px 56px;
  }

  .page-hero h1 {
    font-size: clamp(35px, 9.5vw, 42px);
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
