@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
  src: url("/assets/fonts/inter-latin-variable.woff2") format("woff2");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600 800;
  font-display: optional;
  src: url("/assets/fonts/playfair-display-latin-variable.woff2") format("woff2");
}

:root {
  --ivory: #ffffff;
  --paper: #ffffff;
  --paper-2: #f7f9fc;
  --ink: #1a1a1a;
  --muted: #536173;
  --line: #e8edf5;
  --red: #062651;
  --red-2: #12437a;
  --gold: #c89451;
  --charcoal: #062651;
  --shadow: 0 8px 24px rgba(6, 38, 81, .06);
  --glow: 0 8px 24px rgba(6, 38, 81, .06);
  --radius: 6px;
  --max: 1240px;
  --serif: "Playfair Display", Georgia, serif;
}

body {
  color: var(--ink);
  background: #ffffff;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.68;
}

.brand, h1, h2, h3, .footer-logo, .faq summary,
.proof-stat strong, .case-study-card strong {
  font-family: "Playfair Display", Georgia, serif !important;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .98);
  backdrop-filter: none;
}

.nav { min-height: 76px; }
.brand { color: var(--red); }
.brand span { color: var(--red-2); }

.nav-links {
  color: #34445a;
  letter-spacing: .04em;
  text-transform: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--red-2);
  box-shadow: inset 0 -2px 0 #f39c12;
}

.nav-cta, .button {
  border-color: var(--red);
  border-radius: 4px;
  background: var(--red);
  color: #ffffff;
  letter-spacing: .04em;
  text-transform: none;
}

.button.secondary { background: #ffffff; color: var(--red); }
.nav-cta:hover, .button:hover { transform: none; border-color: var(--red-2); background: var(--red-2); }
.button.secondary:hover { color: #ffffff; }
.menu-button { border-color: var(--line); border-radius: 4px; background: #ffffff; }

.section { padding-top: 56px; padding-bottom: 56px; }

.hero { gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow, .label, .publication-meta, .media-outlet,
.timeline-item span, .flow-strip span, .origin-facts strong,
.book-meta dt, .archive-table th { color: var(--red-2); }

h1, h2, h3 { color: var(--red); }
h1, .about-hero h1, .case-study-copy h1 {
  max-width: 820px;
  font-size: 62px !important;
  line-height: 1.06;
}

h2, .case-study-section h2 {
  font-size: 44px !important;
  line-height: 1.1;
}

h3 { font-size: 24px; line-height: 1.18; }
.lead { color: #34445a; }

.hero-panel, .card, .record-card, .quote-panel, .publication-card,
.media-card, .timeline-item, .proof-stat, .product-panel, .flow-strip,
.disha-foundation-frame, .document-frame, .credential-card,
.book-cover-stack figure, .book-cover-frame, .book-record, .case-file,
.case-study-copy, .case-study-docket, .case-study-card, .case-study-note,
.case-study-section, .case-study-table-wrap, .profile-dossier,
.about-story-main, .about-story-aside {
  border-color: var(--line) !important;
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: var(--shadow) !important;
}

.hero-panel, .card, .record-card, .publication-card, .media-card,
.timeline-item, .proof-stat, .credential-card, .book-record,
.case-study-copy, .case-study-docket, .case-study-card,
.case-study-note, .case-study-section, .case-study-table-wrap {
  border-radius: 6px !important;
}

.hero-panel img { filter: none; }
.caption, .card p, .record-card p, .publication-card p, .media-card p,
.timeline-item p, .flow-strip p, .credential-card p,
.book-record-body p { color: var(--muted); }

.fact-strip { border-color: var(--line); background: #f7f9fc; }
.fact { border-left-color: #f39c12; }
.fact strong { color: var(--red); }

.archive-reading-note, .case-study-note {
  border-color: var(--line) !important;
  border-left: 4px solid #f39c12 !important;
  background: #f8fafc !important;
}

.archive-pagination button {
  border-color: var(--line);
  border-radius: 4px;
  color: var(--red);
}

.archive-pagination button:hover,
.archive-pagination button.is-active {
  border-color: var(--red);
  background: var(--red);
}

.record-code, .case-file-header, .profile-strip span,
.evidence-badges span {
  border-color: var(--line) !important;
  background: #f3f6fa !important;
  color: var(--red) !important;
}

.disha-hero .hero-panel picture, .disha-document-frame, .product-panel,
.highlight-card, .credential-card.feature, .book-cover-stack figure,
.book-cover-frame, .site-footer, .case-file, .record-toolkit,
.related-record-card, .trust-citation {
  background: #ffffff !important;
  background-image: none !important;
}

.disha-document-frame img, .document-frame img, .book-cover-stack img,
.book-cover-frame img, .credential-card img {
  background: #f7f9fc;
  box-shadow: none;
}

.disha-foundation-frame img { background: #ffffff; }
.product-panel div { border-color: var(--line); background: #f8fafc; }

.tone-band {
  border-block: 1px solid var(--line);
  background: #f7f9fc;
  color: var(--ink);
}

.tone-band h2, .tone-band h3 { color: var(--red); }
.tone-band .muted, .tone-band p { color: var(--muted); }
.tone-band .card { border-color: var(--line); background: #ffffff !important; }
.tone-band .label { color: var(--red-2); border-color: var(--gold); }

.case-study-page {
  --case-red: #062651 !important;
  --case-navy: #062651 !important;
  --case-gold: #f39c12 !important;
  --case-green: #12437a !important;
}

.case-study-copy, .case-study-docket,
.case-study-card, .profile-dossier { border-top-color: var(--red) !important; }

.case-study-card strong, .docket-row span,
.case-study-list strong, .case-study-table th { color: var(--red) !important; }

.case-study-table th { background: #f3f6fa !important; }
.case-study-table td, .case-study-section p,
.docket-row p { color: #34445a !important; }

.case-study-quote {
  border-left-color: #f39c12 !important;
  background: #f8fafc !important;
  color: var(--red) !important;
}

.site-footer { border-top: 3px solid var(--red); }
.footer-logo { color: var(--red); }
.footer-brand-mark {
  display: block;
  width: 74px;
  height: 74px;
  margin: 0 auto 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: contain;
  background: #ffffff;
}

.reading-progress span { background: #f39c12; }

.record-toc, .record-toolkit, .trust-citation {
  border-color: var(--line) !important;
  box-shadow: var(--shadow) !important;
}

.social-icon {
  position: relative;
  box-shadow: none !important;
}

.social-icon span {
  width: 19px;
  height: 19px;
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
  background: #ffffff;
  -webkit-mask: var(--social-icon) center / contain no-repeat;
  mask: var(--social-icon) center / contain no-repeat;
}

.social-x { --social-icon: url("/assets/icons/social/x.svg"); }
.social-linkedin { --social-icon: url("/assets/icons/social/linkedin.svg"); }
.social-substack { --social-icon: url("/assets/icons/social/substack.svg"); }
.social-medium { --social-icon: url("/assets/icons/social/medium.svg"); }
.social-github { --social-icon: url("/assets/icons/social/github.svg"); }
.social-instagram { --social-icon: url("/assets/icons/social/instagram.svg"); }
.social-facebook { --social-icon: url("/assets/icons/social/facebook.svg"); }
.social-reddit { --social-icon: url("/assets/icons/social/reddit.svg"); }
.social-quora { --social-icon: url("/assets/icons/social/quora.svg"); }
.social-whatsapp { --social-icon: url("/assets/icons/social/whatsapp.svg"); }
.social-orcid { --social-icon: url("/assets/icons/social/orcid.svg"); }

.about-handle {
  display: block;
  margin-top: 8px;
  font-family: "Inter", "Libre Franklin", sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: #12437a;
}

.about-tagline {
  margin: 18px 0 14px;
  padding-left: 16px;
  border-left: 4px solid #f39c12;
  color: #062651;
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
}

.about-method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 42px;
  align-items: start;
}

.about-method-principles {
  border-top: 3px solid #062651;
}

.about-method-principles > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 14px;
  padding: 18px 0;
  border-bottom: 1px solid #e8edf5;
}

.about-method-principles span,
.cv-period {
  color: #a45e00;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.about-method-principles p {
  grid-column: 2;
  margin: 0;
}

.cv-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 3px solid #062651;
}

.cv-list > li {
  display: grid;
  grid-template-columns: minmax(150px, .25fr) minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid #e8edf5;
}

.cv-list h3,
.cv-list p {
  margin-top: 0;
}

.cv-meta {
  margin-bottom: 8px;
  color: #5d6875;
  font-size: 14px;
  font-weight: 700;
}

.about-detail-list {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.about-detail-list li {
  display: grid;
  gap: 5px;
  padding-top: 16px;
  border-top: 1px solid #e8edf5;
}

.verify-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 3px solid #062651;
  border-left: 1px solid #e8edf5;
}

.verify-grid a {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 20px;
  color: #062651;
  text-decoration: none;
  border-right: 1px solid #e8edf5;
  border-bottom: 1px solid #e8edf5;
  background: #fff;
}

.verify-grid a:hover {
  background: #f7f9fc;
}

.verify-grid span {
  color: #8c5308;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.about-court-note,
.about-independence {
  margin: 24px 0 0;
  padding: 20px 22px;
  border-left: 4px solid #f39c12;
  background: #f7f9fc;
}

.about-independence {
  border-left-color: #062651;
}

.about-independence p {
  margin-bottom: 0;
}

.disha-answer {
  padding-top: 28px;
  padding-bottom: 28px;
}

.answer-rule {
  max-width: 980px;
  padding: 28px 32px;
  border-top: 3px solid #062651;
  border-bottom: 1px solid #e8edf5;
  background: #f7f9fc;
}

.answer-rule h2 {
  margin-bottom: 12px;
}

.answer-rule .lead {
  max-width: 900px;
  margin-bottom: 18px;
}

.answer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.answer-links a {
  color: #12437a;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.disha-thesis-body {
  max-width: 820px;
  margin: 0 auto;
}

.disha-thesis-body h3 {
  margin: 38px 0 12px;
  color: #062651;
  font-size: 28px;
}

.disha-thesis-body p {
  font-size: 17px;
  line-height: 1.82;
}

.disha-thesis-body blockquote {
  margin: 34px 0;
  padding: 22px 26px;
  border-left: 4px solid #f39c12;
  background: #f7f9fc;
  color: #062651;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
}

.research-authority-grid {
  margin-bottom: 22px;
}

.archive-more-link {
  margin: 22px 0 0;
  text-align: right;
}

.archive-more-link a,
.record-link {
  color: #12437a;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.answer-capsule {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 4px solid #f39c12;
  background: #f7f9fc;
  color: #062651;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
}

.news-desk-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
  gap: 54px;
  align-items: end;
  padding-top: 72px;
  padding-bottom: 58px;
  border-bottom: 1px solid #e8edf5;
}

.news-desk-hero h1 {
  max-width: 850px;
}

.news-desk-standard {
  padding: 28px;
  border-top: 4px solid #f39c12;
  border-bottom: 1px solid #e8edf5;
  background: #f7f9fc;
}

.news-desk-standard > span,
.news-trust-grid span {
  display: block;
  margin-bottom: 10px;
  color: #8c5308;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.news-desk-standard strong {
  display: block;
  color: #062651;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1.15;
}

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

.news-record-card {
  overflow: hidden;
  border: 1px solid #e8edf5;
  background: #fff;
  box-shadow: 0 12px 28px rgba(6, 38, 81, .06);
}

.news-record-card--lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
}

.news-record-image {
  display: block;
  min-height: 250px;
  background: #eef2f7;
}

.news-record-image img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.news-record-body {
  padding: 26px;
}

.news-record-body h2 {
  margin: 12px 0 14px;
  font-size: 31px;
  line-height: 1.12;
}

.news-record-body h2 a {
  color: #062651;
  text-decoration: none;
}

.news-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  color: #8c5308;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.news-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.news-trust-grid article {
  padding: 28px;
  border-right: 1px solid #dbe2ec;
}

.news-trust-grid article:last-child {
  border-right: 0;
}

.news-trust-grid h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.not-found-page {
  min-height: 72vh;
  display: grid;
  align-content: center;
  max-width: 820px;
}

@media (max-width: 1000px) {
  .hero .hero-panel.no-caption {
    width: 100% !important;
    justify-self: stretch;
  }

  .nav-links {
    background: #ffffff;
    border-color: var(--line);
    box-shadow: var(--shadow);
  }

  h1, .about-hero h1, .case-study-copy h1 {
    font-size: 52px !important;
  }

  h2, .case-study-section h2 {
    font-size: 38px !important;
  }

  .news-desk-hero,
  .news-record-card--lead {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-method-grid,
  .cv-list > li,
  .verify-grid {
    grid-template-columns: 1fr;
  }

  .cv-list > li {
    gap: 8px;
  }

  .verify-grid {
    border-left: 0;
  }

  .verify-grid a {
    min-height: auto;
    border-left: 1px solid #e8edf5;
  }

  .section, .nav { padding-left: 18px; padding-right: 18px; }
  .section { padding-top: 42px; padding-bottom: 42px; }
  h1, .about-hero h1, .case-study-copy h1 { font-size: 42px !important; }
  h2, .case-study-section h2 { font-size: 32px !important; }
  .card, .case-study-section,
  .case-study-copy, .case-study-docket { padding: 20px !important; }
  .answer-rule { padding: 22px 20px; }
  .disha-thesis-body blockquote { font-size: 25px; }
  .news-record-grid,
  .news-trust-grid { grid-template-columns: 1fr; }
  .news-record-card--lead { grid-column: auto; }
  .news-trust-grid article { border-right: 0; border-bottom: 1px solid #dbe2ec; }
  .news-record-body h2 { font-size: 27px !important; }
}
