/* Meridian Trust Pack — drop-in styles. Link after styles.css */

.trust-proof-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(48px, 8vw, 88px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 20%, rgba(120, 168, 199, 0.08), transparent 18rem),
    radial-gradient(circle at 88% 80%, rgba(185, 150, 94, 0.08), transparent 16rem),
    rgba(7, 16, 23, 0.55);
}

.trust-proof-band .section-heading {
  max-width: 38rem;
}

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

.trust-proof-card {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 200ms ease, transform 200ms ease;
}

.trust-proof-card:hover {
  border-color: rgba(234, 215, 170, 0.28);
  transform: translateY(-2px);
}

.trust-proof-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold-soft);
  font-size: 1.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.trust-proof-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.trust-micro-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
}

.trust-micro-bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-micro-bar span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(185, 150, 94, 0.45);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.trust-strip div {
  padding: 16px 18px;
  background: rgba(7, 16, 23, 0.92);
}

.trust-strip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--bone);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.trust-page {
  padding: clamp(72px, 10vw, 108px) clamp(20px, 5vw, 64px) clamp(64px, 8vw, 96px);
}

.trust-page-hero {
  max-width: 52rem;
  margin-bottom: clamp(36px, 6vw, 64px);
}

.trust-page-hero h1 {
  margin: 10px 0 16px;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.08;
}

.trust-page-hero p {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.trust-disclaimer {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(120, 168, 199, 0.22);
  background: rgba(120, 168, 199, 0.06);
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

.team-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.team-featured {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  margin-bottom: 28px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(234, 215, 170, 0.22);
  background:
    radial-gradient(circle at 0% 0%, rgba(185, 150, 94, 0.1), transparent 18rem),
    var(--panel);
  min-width: 0;
  overflow: hidden;
}

.team-featured img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(234, 215, 170, 0.24);
}

.team-featured h2 {
  margin: 0 0 6px;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 500;
}

.team-featured .role {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.team-featured .location {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-featured p,
.team-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.team-featured p:last-child,
.team-card p:last-child {
  margin-bottom: 0;
}

.team-prior {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.team-prior li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 0.84rem;
  line-height: 1.5;
}

.team-prior li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
}

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

.team-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 200ms ease, transform 200ms ease;
  min-width: 0;
  overflow: hidden;
}

.team-card:hover {
  border-color: rgba(234, 215, 170, 0.28);
  transform: translateY(-2px);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(234, 215, 170, 0.22);
}

.team-card h3 {
  margin: 0 0 4px;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.team-card .role {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.team-card .location {
  display: block;
  margin-bottom: 12px;
  color: var(--soft);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Sample memo page */
.trust-page--memo {
  padding-top: clamp(88px, 11vw, 120px);
}

.memo-page-intro {
  max-width: 72rem;
  margin: 0 auto clamp(32px, 5vw, 52px);
}

.memo-page-intro h1 {
  margin: 10px 0 16px;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  line-height: 1.08;
}

.memo-page-lead {
  margin: 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.memo-redaction-note {
  margin: 14px 0 0;
  padding: 10px 14px;
  max-width: 44rem;
  border: 1px solid rgba(120, 168, 199, 0.22);
  background: rgba(120, 168, 199, 0.06);
  color: var(--soft);
  font-size: 0.8rem;
  line-height: 1.5;
}

.trust-cta-row--memo {
  margin-top: 20px;
}

.trust-cta-row--memo .button {
  flex: 0 1 auto;
  min-width: min(100%, 12rem);
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.memo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.78fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  max-width: 72rem;
  margin: 0 auto;
}

.memo-document {
  order: 1;
  min-width: 0;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(234, 215, 170, 0.2);
  border-radius: 4px;
  background:
    radial-gradient(circle at 0% 0%, rgba(246, 229, 184, 0.05), transparent 16rem),
    linear-gradient(180deg, rgba(11, 23, 27, 0.98), rgba(8, 18, 22, 0.96));
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.32);
  font-size: 0.94rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.memo-sidebar {
  order: 2;
  position: sticky;
  top: 96px;
  min-width: 0;
  padding: clamp(20px, 3vw, 24px);
  border: 1px solid rgba(234, 215, 170, 0.18);
  border-radius: 4px;
  background:
    radial-gradient(circle at 18% 0%, rgba(246, 229, 184, 0.08), transparent 14rem),
    rgba(7, 16, 23, 0.92);
}

.memo-sidebar-eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.memo-sidebar-frame {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid rgba(213, 224, 216, 0.14);
  border-radius: 2px;
  background: rgba(3, 8, 10, 0.55);
  aspect-ratio: 640 / 820;
}

.memo-sidebar-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.memo-sidebar-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.memo-sidebar-list {
  margin: 0 0 16px;
  padding-left: 1.1rem;
  color: var(--soft);
  font-size: 0.8rem;
  line-height: 1.55;
}

.memo-sidebar-list li {
  margin-bottom: 5px;
}

.memo-sidebar-list li:last-child {
  margin-bottom: 0;
}

.memo-sidebar-link {
  display: inline-block;
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(234, 215, 170, 0.32);
  transition: color 160ms ease, border-color 160ms ease;
}

.memo-sidebar-link:hover {
  color: var(--bone);
  border-color: rgba(234, 215, 170, 0.55);
}

.memo-document-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px;
  margin-bottom: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(234, 215, 170, 0.16);
}

.memo-letterhead {
  flex: 1 1 14rem;
  min-width: 0;
}

.memo-letterhead-eyebrow {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.memo-document .memo-mark {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
}

.memo-document .memo-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex: 0 1 auto;
  min-width: 0;
  text-align: right;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
}

.memo-target {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(213, 224, 216, 0.1);
}

.memo-document h2 {
  margin: 0 0 8px;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 500;
  line-height: 1.18;
}

.memo-subtitle {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.memo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.memo-pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid rgba(213, 224, 216, 0.2);
  border-radius: 2px;
  background: rgba(7, 16, 23, 0.7);
  color: var(--soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.3;
}

.memo-pill--review {
  border-color: rgba(185, 150, 94, 0.45);
  color: var(--gold-soft);
}

.memo-pill--confidence {
  border-color: rgba(120, 168, 199, 0.4);
  color: #9ec4dc;
}

.memo-section {
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(213, 224, 216, 0.08);
}

.memo-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.memo-section h3 {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.memo-section-note {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.memo-section p {
  margin: 0;
  color: var(--soft);
}

.memo-fields {
  display: grid;
  gap: 0;
  border: 1px solid rgba(213, 224, 216, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.memo-field {
  display: grid;
  grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  gap: 12px 20px;
  align-items: start;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(213, 224, 216, 0.08);
  background: rgba(3, 8, 10, 0.28);
}

.memo-field:last-child {
  border-bottom: none;
}

.memo-field-label {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.memo-field-value {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
}

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

.memo-metric {
  padding: 14px 16px;
  border: 1px solid rgba(213, 224, 216, 0.12);
  border-radius: 2px;
  background: rgba(3, 8, 10, 0.4);
}

.memo-metric-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memo-metric-value {
  display: block;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
}

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

.memo-risk-list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 16px;
  color: var(--soft);
  line-height: 1.58;
}

.memo-risk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--gold-soft);
}

.memo-risk-list li:last-child {
  margin-bottom: 0;
}

.memo-decision {
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, rgba(185, 150, 94, 0.14), rgba(185, 150, 94, 0.03));
  color: var(--bone);
  font-size: 0.92rem;
  line-height: 1.62;
}

.memo-byline {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(213, 224, 216, 0.12);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.engagement-timeline {
  display: grid;
  gap: 12px;
}

.engagement-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.engagement-step span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.engagement-step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--bone);
}

.engagement-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.legal-doc {
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-doc h2 {
  margin: 28px 0 10px;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc ul {
  margin: 0;
  padding-left: 18px;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.faq-item h3 {
  margin: 0 0 8px;
  color: var(--bone);
  font-size: 1rem;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.quote-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.quote-card blockquote {
  margin: 0 0 12px;
  color: var(--soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.55;
}

.quote-card cite {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trust-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.preview-hub {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px);
}

.preview-hub-inner {
  width: min(640px, 100%);
}

.preview-hub h1 {
  margin: 12px 0 14px;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.08;
}

.preview-links {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.preview-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 200ms ease, transform 200ms ease;
}

.preview-link:hover {
  border-color: rgba(234, 215, 170, 0.3);
  transform: translateY(-2px);
}

.preview-link strong {
  display: block;
  margin-bottom: 4px;
  color: var(--bone);
  font-size: 1rem;
}

.preview-link span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.preview-link em {
  color: var(--gold-soft);
  font-style: normal;
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .trust-proof-band,
  .memo-layout,
  .team-featured {
    grid-template-columns: 1fr;
  }

  .trust-strip,
  .team-grid,
  .team-stats,
  .trust-proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-featured img {
    max-width: 280px;
  }

  .memo-layout {
    grid-template-columns: 1fr;
  }

  .memo-sidebar {
    position: static;
    order: 2;
  }

  .memo-document {
    order: 1;
  }
}

@media (max-width: 640px) {
  .trust-strip,
  .team-grid,
  .team-stats,
  .trust-proof-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card img {
    max-width: 160px;
  }

  .memo-field {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .memo-metrics {
    grid-template-columns: 1fr;
  }

  .memo-document-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .memo-document .memo-meta {
    align-items: flex-start;
    text-align: left;
  }

  .trust-cta-row--memo {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-cta-row--memo .button {
    width: 100%;
  }

  .engagement-scope-grid {
    grid-template-columns: 1fr;
  }
}

/* Trust page polish */
.site-footer--compact {
  padding: 32px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.footer-bottom--stacked {
  padding: 0;
  border: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.trust-cta-row--spaced {
  margin-top: clamp(32px, 5vw, 44px);
}

.engagement-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.engagement-scope-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.engagement-scope-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 500;
}

.engagement-scope-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.9rem;
}

.engagement-step {
  transition: border-color 180ms ease, transform 180ms ease;
}

.engagement-step:hover {
  border-color: rgba(234, 215, 170, 0.28);
  transform: translateY(-1px);
}

.team-stats .trust-proof-card:hover {
  transform: none;
  border-color: var(--line);
}

.legal-doc a {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(234, 215, 170, 0.28);
  transition: color 160ms ease, border-color 160ms ease;
}

.legal-doc a:hover {
  color: var(--bone);
  border-color: rgba(234, 215, 170, 0.5);
}