:root {
  color-scheme: dark;
  --black: #000000;
  --ink: #101112;
  --graphite: #222326;
  --graphite-soft: #2d2f32;
  --white: #ffffff;
  --bone: #f3efe7;
  --gold: #b7914e;
  --gold-light: #d6b974;
  --muted: #b9b7b1;
  --line: rgba(255, 255, 255, 0.16);
  --line-gold: rgba(183, 145, 78, 0.48);
  --shadow: 0 22px 65px rgba(0, 0, 0, 0.34);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --content: 76rem;
  --article: 49rem;
  --radius: 0.35rem;
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--black);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(183, 145, 78, 0.09), transparent 28rem),
    radial-gradient(circle at 90% 40%, rgba(255, 255, 255, 0.035), transparent 30rem),
    var(--black);
}

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

img {
  height: auto;
}

a {
  color: var(--bone);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold-light);
}

a:focus-visible,
button:focus-visible {
  outline: 0.2rem solid var(--gold-light);
  outline-offset: 0.25rem;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 0.8rem 1rem;
  background: var(--gold-light);
  color: var(--black);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(18px);
}

.header-shell {
  width: min(calc(100% - 2rem), var(--content));
  min-height: 5rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1.15;
  text-decoration: none;
}

.wordmark::before {
  content: '';
  width: 1.5rem;
  height: 0.13rem;
  margin-right: 0.75rem;
  background: var(--gold);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.2rem;
}

.desktop-nav a,
.mobile-menu a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.72rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.075em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current='page'],
.mobile-menu a:hover,
.mobile-menu a[aria-current='page'] {
  color: var(--white);
}

.nav-cta,
.button {
  border: 1px solid var(--gold) !important;
  background: var(--gold) !important;
  color: var(--black) !important;
  box-shadow: none;
}

.nav-cta:hover,
.button:hover {
  background: var(--gold-light) !important;
}

.menu-toggle {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span:not(.visually-hidden) {
  width: 1.25rem;
  height: 1px;
  display: block;
  margin: 0.32rem auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  transform: translateY(0.33rem) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(4) {
  transform: translateY(-0.33rem) rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  padding: 0.5rem 1rem 1.25rem;
  background: var(--black);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  width: 100%;
  min-height: 3.15rem;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .nav-cta {
  justify-content: center;
  margin-top: 1rem;
}

.hero,
.page-hero {
  position: relative;
  overflow: clip;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(183, 145, 78, 0.09), transparent 42%),
    var(--ink);
}

.hero-shell,
.page-hero-shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  align-items: center;
}

.hero-shell {
  min-height: min(50rem, calc(100svh - 5rem));
}

.hero-copy,
.page-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow,
.kicker {
  margin: 0 0 1rem;
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.21em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-wrap: balance;
}

.page-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.7rem, 6.3vw, 6.5rem);
}

.hero-deck,
.page-hero-deck {
  max-width: 43rem;
  margin: 1.6rem 0 0;
  color: #d5d2cb;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.65;
}

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

.button {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.button-secondary {
  border-color: var(--line) !important;
  background: transparent !important;
  color: var(--white) !important;
}

.button-secondary:hover {
  border-color: var(--gold) !important;
  background: rgba(183, 145, 78, 0.1) !important;
}

.trust-line {
  max-width: 45rem;
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-gold);
  color: var(--muted);
  font-size: 0.83rem;
  letter-spacing: 0.035em;
}

.hero-media,
.page-hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
}

.hero-media::before,
.page-hero-media::before {
  content: '';
  position: absolute;
  inset: -0.75rem 0.75rem 0.75rem -0.75rem;
  z-index: 0;
  border: 1px solid var(--line-gold);
}

.hero-media picture,
.page-hero-media picture {
  position: relative;
  z-index: 1;
}

.hero-media img,
.page-hero-media img {
  width: 100%;
  max-height: 40rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-media.is-graphic img,
.page-hero-media.is-graphic img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--ink);
}

.hero-media figcaption,
.page-hero-media figcaption,
.editorial-figure figcaption {
  position: relative;
  z-index: 1;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

.hero-number {
  position: absolute;
  right: -0.02em;
  bottom: -0.22em;
  z-index: 0;
  color: rgba(183, 145, 78, 0.075);
  font-family: var(--serif);
  font-size: clamp(11rem, 32vw, 31rem);
  line-height: 1;
  pointer-events: none;
}

.evidence-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.evidence-badge {
  display: inline-flex;
  min-height: 1.9rem;
  align-items: center;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line-gold);
  color: var(--gold-light);
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.review-date {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-rail {
  width: min(calc(100% - 2rem), var(--content));
  margin: clamp(3rem, 7vw, 6rem) auto 0;
  display: grid;
  gap: 1rem;
}

.media-rail .editorial-figure {
  margin: 0;
}

.editorial-figure {
  min-width: 0;
}

.editorial-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--ink);
}

.editorial-figure.is-graphic img {
  aspect-ratio: 1 / 1;
}

.article-shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  display: grid;
  gap: 3rem;
  padding: clamp(4rem, 9vw, 8rem) 0;
}

.article-toc {
  align-self: start;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--ink);
}

.article-toc p {
  margin: 0 0 0.8rem;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-toc ol {
  margin: 0;
  padding-left: 1.15rem;
}

.article-toc li + li {
  margin-top: 0.45rem;
}

.article-toc a {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  text-decoration: none;
}

.article-toc a:hover {
  color: var(--white);
}

.article-content {
  min-width: 0;
  max-width: var(--article);
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--white);
  text-wrap: balance;
}

.article-content h2 {
  margin: clamp(3.8rem, 8vw, 6.5rem) 0 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-gold);
  font-family: var(--serif);
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.article-content h3 {
  margin: 2.5rem 0 0.8rem;
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.article-content h4 {
  margin: 2rem 0 0.7rem;
  font-size: 1.08rem;
}

.article-content p,
.article-content li {
  color: #d3d0ca;
}

.article-content p {
  margin: 0 0 1.15rem;
}

.article-content strong {
  color: var(--white);
}

.article-content ul,
.article-content ol {
  margin: 0.9rem 0 1.7rem;
  padding-left: 1.35rem;
}

.article-content li {
  padding-left: 0.25rem;
}

.article-content li + li {
  margin-top: 0.5rem;
}

.article-content li::marker {
  color: var(--gold);
}

.article-content blockquote {
  margin: 2.4rem 0;
  padding: 1.5rem clamp(1.2rem, 4vw, 2rem);
  border-left: 0.28rem solid var(--gold);
  background: linear-gradient(110deg, rgba(183, 145, 78, 0.12), rgba(255, 255, 255, 0.025));
}

.article-content blockquote p {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2.05rem);
  line-height: 1.25;
}

.article-content hr {
  height: 1px;
  margin: 3rem 0;
  border: 0;
  background: var(--line);
}

.table-wrap {
  max-width: 100%;
  margin: 1.75rem 0 2.4rem;
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  background: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
}

th,
td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

td {
  color: #d3d0ca;
}

tr:last-child td {
  border-bottom: 0;
}

.article-content .cta-row {
  margin: 1.4rem 0 2rem;
}

.external-link::after {
  content: ' ↗';
  color: var(--gold-light);
  font-size: 0.78em;
}

.article-meta-bar {
  margin-top: 4rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer-shell {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0 2rem;
}

.footer-lead {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand .wordmark {
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 31rem;
  margin: 0;
  color: var(--muted);
}

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

.footer-group h2 {
  margin: 0 0 0.8rem;
  color: var(--gold-light);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-group a {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  color: #8d8c87;
  font-size: 0.76rem;
}

.footer-bottom p {
  margin: 0;
}

.not-found {
  min-height: calc(100svh - 5rem);
  display: grid;
  place-items: center;
  padding: 4rem 1rem;
  text-align: center;
}

.not-found-inner {
  max-width: 46rem;
}

.not-found-code {
  margin: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(7rem, 30vw, 18rem);
  line-height: 0.72;
}

.not-found h1 {
  margin: 1.5rem 0 1rem;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 500;
}

.not-found p {
  color: var(--muted);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 42rem) {
  .media-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-rail > :only-child {
    grid-column: 1 / -1;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 55rem) {
  .menu-toggle {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero-shell,
  .page-hero-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.72fr);
    gap: clamp(3rem, 7vw, 7rem);
  }

  .hero-shell.no-media,
  .page-hero-shell.no-media {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero-shell {
    min-height: 38rem;
  }

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

  .article-shell {
    grid-template-columns: 15rem minmax(0, 1fr);
    align-items: start;
  }

  .article-toc {
    position: sticky;
    top: 7rem;
  }

  .footer-lead {
    grid-template-columns: minmax(0, 1fr) minmax(30rem, 1.2fr);
  }
}

@media (max-width: 54.99rem) {
  body.menu-open {
    overflow: hidden;
  }

  .article-toc {
    display: none;
  }
}

@media (max-width: 28rem) {
  .header-shell,
  .hero-shell,
  .page-hero-shell,
  .article-shell,
  .media-rail,
  .footer-shell {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .wordmark {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.55rem, 14.5vw, 4rem);
  }

  .hero-actions .button,
  .cta-row .button {
    width: 100%;
  }

  .footer-groups {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .article-toc,
  .site-footer,
  .hero-actions,
  .cta-row {
    display: none !important;
  }

  body,
  .page-hero,
  .article-content,
  .article-content p,
  .article-content li {
    background: #fff !important;
    color: #111 !important;
  }

  .page-hero h1,
  .article-content h2,
  .article-content h3 {
    color: #000 !important;
  }
}


/* V2 founder, ownership, audit, and static-checklist controls */
.visually-hidden {
  inset: auto !important;
  clip-path: inset(50%) !important;
  contain: strict;
}

.static-checklist {
  list-style: none;
  padding-left: 0;
}

.static-checklist li {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.static-checklist .checkmark {
  display: inline-grid;
  width: 1.2rem;
  height: 1.2rem;
  place-items: center;
  margin-top: 0.16rem;
  border: 1px solid var(--line-gold);
  color: var(--gold-light);
  font-size: 0.78rem;
  line-height: 1;
}

.founder-hero-shell .page-hero-copy {
  align-self: center;
}

.founder-portrait {
  max-width: 34rem;
  justify-self: center;
}

.founder-portrait::before {
  border-color: rgba(255,255,255,0.12);
}

.founder-portrait img {
  aspect-ratio: 340 / 446;
  object-fit: cover;
  object-position: center;
  background: #000;
}

.founder-biography {
  margin-bottom: 4rem;
}

.founder-biography p {
  max-width: 46rem;
}

.founder-quote {
  border-left-color: var(--gold-light);
}

.founder-mission {
  color: var(--white);
  font-size: 1.1em;
}

.mj-owner-mark {
  width: 100%;
  padding: 2.25rem 1rem 2.5rem;
  background: #000000;
  text-align: center;
}

.mj-owner-mark p {
  margin: 0 0 1rem;
  color: #b9b6af;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mj-owner-mark a {
  display: inline-block;
  max-width: min(100%, 29.75rem);
  border-radius: 0.15rem;
}

.mj-owner-mark a:focus-visible {
  outline: 0.2rem solid var(--gold-light);
  outline-offset: 0.4rem;
}

.mj-owner-mark img {
  display: block;
  width: min(100%, 29.75rem);
  height: auto;
  margin-inline: auto;
}

@media (max-width: 28rem) {
  .mj-owner-mark img {
    width: min(100%, 22rem);
  }
}
