.tesla-page {
  background: var(--paper);
}

.tesla-hero {
  min-height: 780px;
  padding: clamp(4.8rem, 8vw, 8rem) clamp(1.5rem, 7vw, 8rem);
  display: grid;
  grid-template-columns: minmax(520px, 1.08fr) minmax(420px, .92fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  color: white;
  background:
    radial-gradient(circle at 82% 46%, rgba(134,115,255,.16), transparent 28%),
    radial-gradient(circle at 80% 48%, transparent 0 22%, rgba(229,182,68,.15) 22.2% 22.4%, transparent 22.6% 35%, rgba(229,182,68,.08) 35.2% 35.4%, transparent 35.6%),
    linear-gradient(135deg, #041625 0%, #061d32 60%, #102c50 100%);
  overflow: hidden;
}

.tesla-hero-copy {
  position: relative;
  z-index: 3;
}

.tesla-hero .eyebrow,
.ag-role .eyebrow,
.tesla-closing .eyebrow,
.records-plan .eyebrow {
  color: var(--gold);
}

.tesla-hero h1 {
  max-width: 860px;
  font-size: clamp(3.8rem, 6vw, 6.5rem);
}

.tesla-hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.tesla-hero .hero-lead {
  max-width: 770px;
}

.hero-clarifier {
  max-width: 720px;
  margin-top: 1.6rem;
  padding: 1.05rem 1.2rem;
  color: #f1e4bd;
  background: rgba(229,182,68,.08);
  border-left: 4px solid var(--gold);
  font-size: .84rem;
}

.document-stage {
  min-height: 640px;
  position: relative;
}

.document-stage::before {
  content: "";
  width: 500px;
  height: 500px;
  position: absolute;
  left: 50%;
  top: 49%;
  border: 1px solid rgba(229,182,68,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(229,182,68,.025), 0 0 0 140px rgba(255,255,255,.018);
  transform: translate(-50%, -50%);
}

.document {
  width: min(66%, 360px);
  position: absolute;
  left: 50%;
  top: 44%;
  background: white;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 30px 65px rgba(0,0,0,.38);
  transition: transform .25s ease;
}

.document img {
  width: 100%;
}

.document-back {
  transform: translate(-78%, -50%) rotate(-8deg);
}

.document-middle {
  transform: translate(-25%, -47%) rotate(7deg);
}

.document-front {
  z-index: 2;
  transform: translate(-51%, -49%) rotate(-1deg);
}

.document-back:hover,
.document-back:focus {
  z-index: 5;
  transform: translate(-82%, -52%) rotate(-4deg) scale(1.03);
}

.document-middle:hover,
.document-middle:focus {
  z-index: 5;
  transform: translate(-21%, -50%) rotate(3deg) scale(1.03);
}

.document-front:hover,
.document-front:focus {
  transform: translate(-51%, -51%) rotate(0) scale(1.03);
}

.document-caption {
  padding: .65rem .85rem;
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 1.2rem;
  color: #e7edf1;
  background: rgba(4,22,37,.86);
  border: 1px solid rgba(255,255,255,.14);
  font-size: .63rem;
  letter-spacing: .05em;
  transform: translateX(-50%);
  white-space: nowrap;
}

.truth-band {
  padding: 1.85rem clamp(1.5rem, 7vw, 8rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  color: var(--navy-950);
  background: var(--gold);
  text-align: center;
}

.truth-band p,
.truth-band strong {
  margin: 0;
}

.truth-band p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 700;
}

.truth-band strong {
  max-width: 640px;
  padding-left: clamp(1.5rem, 4vw, 4rem);
  border-left: 1px solid rgba(4,22,37,.3);
  font-size: .78rem;
  line-height: 1.65;
}

.record-section,
.comparison-section,
.correction-section,
.records-plan,
.ag-role,
.correspondence-section,
.source-section {
  padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 7vw, 8rem);
}

.tesla-heading {
  max-width: 1220px;
}

.tesla-heading > p {
  font-size: 1rem;
  line-height: 1.75;
}

.record-timeline {
  max-width: 1220px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #c9c9c3;
  border: 1px solid #c9c9c3;
  gap: 1px;
}

.record-timeline article {
  min-height: 420px;
  padding: clamp(2rem, 3.2vw, 3rem);
  background: white;
}

.record-timeline article > span {
  color: #926309;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.record-timeline h3 {
  margin: 4.2rem 0 1.2rem;
  color: var(--navy-950);
  font-size: clamp(1.8rem, 2.5vw, 2.55rem);
}

.record-timeline p {
  color: var(--muted);
  font-size: .85rem;
}

.comparison-section {
  color: white;
  background: var(--navy-900);
}

.comparison-intro {
  max-width: 980px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.comparison-intro .eyebrow {
  color: var(--gold);
}

.comparison-intro h2 {
  color: white;
}

.record-comparison {
  max-width: 1220px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 30px 70px rgba(0,0,0,.23);
}

.record-comparison article {
  padding: clamp(2.4rem, 4.5vw, 4.2rem);
}

.record-supports {
  background: var(--navy-700);
}

.record-supports .eyebrow {
  color: var(--gold-light);
}

.record-does-not {
  color: var(--ink);
  background: var(--cream);
}

.record-comparison ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.record-comparison li {
  padding: .95rem 0 .95rem 1.55rem;
  position: relative;
  border-bottom: 1px solid rgba(86,103,118,.23);
  font-size: .88rem;
}

.record-supports li {
  color: #dce6ec;
  border-bottom-color: rgba(255,255,255,.14);
}

.record-comparison li:last-child {
  border-bottom: 0;
}

.record-comparison li::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  left: 0;
  top: 1.45rem;
  background: var(--gold);
  transform: rotate(45deg);
}

.correction-section {
  display: grid;
  grid-template-columns: 130px minmax(0, 900px);
  justify-content: center;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  background: var(--cream);
}

.correction-mark {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 4.7rem;
  font-weight: 700;
  line-height: 1;
}

.correction-section h2 {
  max-width: 900px;
}

.correction-section p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
}

.source-link {
  padding-bottom: .35rem;
  display: inline-block;
  color: var(--navy-800);
  border-bottom: 2px solid var(--gold);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}

.source-link span {
  color: #96670a;
}

.records-plan {
  color: white;
  background:
    linear-gradient(rgba(4,22,37,.93), rgba(4,22,37,.97)),
    radial-gradient(circle at 86% 32%, #433b80, transparent 31%),
    var(--navy-950);
}

.records-plan .light-heading > p {
  color: #ccd8e0;
}

.records-steps {
  max-width: 1220px;
  margin: auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.18);
  border-left: 1px solid rgba(255,255,255,.18);
}

.records-steps li {
  min-height: 390px;
  padding: clamp(1.6rem, 2.7vw, 2.5rem);
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.records-steps li > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.records-steps h3 {
  margin: 4rem 0 1.1rem;
  color: white;
  font-size: clamp(1.65rem, 2.3vw, 2.25rem);
}

.records-steps p {
  color: #cbd7df;
  font-size: .82rem;
}

.ag-role {
  color: white;
  background: var(--navy-800);
  text-align: center;
}

.ag-role h2,
.ag-role > p:not(.eyebrow) {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.ag-role h2 {
  color: white;
}

.ag-role > p:not(.eyebrow) {
  color: #d0dbe2;
  font-size: 1rem;
}

.ag-role > p:last-child {
  max-width: 870px;
  margin-top: 2rem;
  padding-top: 2rem;
  color: var(--gold-light);
  border-top: 1px solid rgba(255,255,255,.16);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.correspondence-section {
  background: var(--paper);
}

.letter-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items: start;
}

.letter-grid > a {
  display: block;
  color: inherit;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(4,22,37,.1);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.letter-grid > a:hover,
.letter-grid > a:focus {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(4,22,37,.16);
}

.letter-grid img {
  width: 100%;
}

.letter-grid span {
  padding: 1.25rem 1.4rem;
  display: grid;
}

.letter-grid b {
  color: var(--navy-950);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.letter-grid small {
  margin-top: .35rem;
  color: var(--muted);
  font-size: .64rem;
}

.correspondence-section .button-row {
  margin-top: 3rem;
}

.correspondence-section .button-outline {
  color: var(--navy-900);
  border-color: var(--navy-900);
}

.source-section {
  background: var(--cream);
}

.source-section > h2,
.source-section > .eyebrow {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.source-section > h2 {
  max-width: 880px;
  margin-left: calc((100% - min(1220px, 100%)) / 2);
}

.source-grid {
  max-width: 1220px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #c9c9c3;
  border: 1px solid #c9c9c3;
}

.source-grid a {
  min-height: 145px;
  padding: 1.7rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: white;
  text-decoration: none;
}

.source-grid a:hover,
.source-grid a:focus {
  background: #fffdf8;
}

.source-grid strong {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.source-grid span {
  color: #7e5a10;
  font-size: .72rem;
  font-weight: 800;
}

.tesla-closing {
  background:
    radial-gradient(circle at 50% 115%, rgba(134,115,255,.16), transparent 42%),
    var(--navy-950);
}

@media (max-width: 1120px) {
  .tesla-hero {
    grid-template-columns: 1fr;
  }

  .document-stage {
    width: min(100%, 720px);
    margin: auto;
  }

  .record-timeline,
  .records-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .records-steps li:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .tesla-hero {
    min-height: 0;
    padding-top: 4.5rem;
    gap: 2.5rem;
  }

  .tesla-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .document-stage {
    min-height: 530px;
  }

  .document-stage::before {
    width: 370px;
    height: 370px;
  }

  .document {
    width: min(65%, 290px);
  }

  .document-caption {
    bottom: .2rem;
  }

  .truth-band {
    padding-top: 2.1rem;
    padding-bottom: 2.1rem;
    display: block;
    text-align: left;
  }

  .truth-band strong {
    margin-top: 1.1rem;
    padding: 1.1rem 0 0;
    display: block;
    border-top: 1px solid rgba(4,22,37,.3);
    border-left: 0;
  }

  .record-timeline,
  .record-comparison,
  .records-steps,
  .letter-grid,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .record-timeline article,
  .records-steps li,
  .records-steps li:last-child {
    min-height: 0;
    grid-column: auto;
  }

  .record-timeline h3,
  .records-steps h3 {
    margin-top: 2.2rem;
  }

  .comparison-intro,
  .ag-role,
  .tesla-closing {
    text-align: left;
  }

  .correction-section {
    grid-template-columns: 1fr;
  }

  .correction-mark {
    width: 72px;
    height: 72px;
    font-size: 3.2rem;
  }

  .source-section > h2 {
    margin-left: 0;
  }

  .centered {
    justify-content: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .document,
  .letter-grid > a {
    transition: none;
  }
}
