/* Vantage — institutional document layout. No shared token file. */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.55;
  color: #1a1a1a;
  background: #e8e6e2;
  background-image:
    linear-gradient(90deg, rgba(26, 52, 84, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(26, 52, 84, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.doc {
  max-width: 1120px;
  margin: 2rem auto;
  background: #fff;
  min-height: calc(100vh - 4rem);
  border: 1px solid #d0d0d0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

a {
  color: #1a1a1a;
}

.skip {
  position: absolute;
  top: -999px;
  left: 1rem;
  background: #1a1a1a;
  color: #fff;
  padding: 0.5rem 1rem;
}

.skip:focus {
  top: 1rem;
  z-index: 99;
}

.masthead {
  border-bottom: 3px solid #1a3454;
  padding: 1.25rem 2rem;
  background: linear-gradient(180deg, #f8f9fb 0%, #fff 100%);
}

.masthead-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.firm-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-variant: small-caps;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.firm-mark {
  flex-shrink: 0;
}

.masthead-nav {
  display: flex;
  gap: 1.75rem;
  font-size: 13px;
}

.masthead-nav a {
  text-decoration: none;
}

.masthead-nav a:hover {
  text-decoration: underline;
}

.menu-btn {
  display: none;
  font-family: inherit;
  font-size: 13px;
  background: none;
  border: 1px solid #1a1a1a;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
  font-size: 14px;
}

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

.doc-body {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0;
}

.toc {
  padding: 2rem 1.5rem 2rem 2rem;
  border-right: 1px solid #eee;
  font-size: 12px;
  position: sticky;
  top: 0;
  align-self: start;
}

.toc-title {
  font-variant: small-caps;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: #666;
}

.toc ol {
  list-style: none;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  text-decoration: none;
  color: #444;
}

.toc a:hover {
  color: #1a3454;
}

main {
  padding: 2.5rem 3rem 4rem;
  max-width: 42rem;
}

.block {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid #eee;
}

.block:last-child {
  border-bottom: none;
}

.kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1a3454;
  margin-bottom: 1rem;
}

#opening {
  padding-left: 1.5rem;
  border-left: 4px solid #1a3454;
  margin-left: -0.25rem;
}

h1 {
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.lede {
  color: #333;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 400;
  color: #666;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #1a3454;
  display: inline-block;
}

.text-action {
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid #1a1a1a;
}

.text-action:hover {
  border-color: #1a3454;
  color: #1a3454;
}

.index-list {
  list-style: none;
}

.index-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0.75rem;
  margin: 0 -0.75rem;
  border-top: 1px solid #eee;
  transition: background 0.15s ease;
}

.index-list li:hover {
  background: #f6f8fa;
}

.index-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.index-num {
  font-size: 13px;
  color: #1a3454;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.index-list h3 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.index-list p {
  font-size: 14px;
  color: #444;
}

.prose p {
  margin-bottom: 1rem;
  color: #333;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 1.5rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd;
}

.data-table th {
  background: #f5f5f5;
  font-weight: 400;
  font-variant: small-caps;
  letter-spacing: 0.06em;
}

.partner-list {
  list-style: none;
}

.partner-list li {
  padding: 1.25rem 0;
  border-top: 1px solid #eee;
}

.partner-name {
  font-size: 16px;
  margin-bottom: 0.25rem;
}

.partner-meta {
  font-size: 13px;
  color: #666;
  font-style: italic;
}

.partner-note {
  font-size: 14px;
  color: #444;
  margin-top: 0.5rem;
}

.inquiry-form {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.inquiry-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666;
}

.inquiry-form input,
.inquiry-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 0.5rem 0.65rem;
  border: 1px solid #aaa;
  background: #fff;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: 1px solid #1a3454;
  border-color: #1a3454;
}

.submit-btn {
  justify-self: start;
  font-family: inherit;
  font-size: 13px;
  padding: 0.55rem 1.25rem;
  background: #1a1a1a;
  color: #fff;
  border: none;
  cursor: pointer;
}

.submit-btn:hover {
  background: #1a3454;
}

.office {
  font-style: normal;
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}

.office a {
  color: #1a3454;
}

.colophon {
  padding: 1.25rem 2rem;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #888;
}

@media (max-width: 800px) {
  .doc-body {
    grid-template-columns: 1fr;
  }

  .toc {
    display: none;
  }

  main {
    padding: 1.75rem 1.5rem 3rem;
  }

  .masthead-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
