@import "tailwindcss";

@font-face {
  font-family: "Permian Sans";
  src: url("/fonts/PermianSansTypeface.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Permian Sans";
  src: url("/fonts/PermianSansTypeface-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Permian Slab";
  src: url("/fonts/PermianSlabSerifTypeface-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #20252b;
  --muted: #616973;
  --paper: #f5f1e8;
  --paper-deep: #e9e2d4;
  --white: #fffdf8;
  --line: #d7d0c2;
  --blue: #17366f;
  --blue-dark: #0d2754;
  --blue-soft: #e6ebf4;
  --brick: #a93b30;
  --brick-dark: #7f2a23;
  --brick-soft: #f2dfda;
  --orange: #eab066;
  --orange-ink: #3b250d;
  --green: #365e4a;
  --shadow: 0 20px 55px rgb(32 37 43 / 9%);
  --font-title: "Permian Sans", system-ui, sans-serif;
  --font-slab: "Permian Slab", Georgia, serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgb(23 54 111 / 2.6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(23 54 111 / 2.6%) 1px, transparent 1px),
    var(--paper);
  background-size: 52px 52px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--brick-dark);
}

:focus-visible {
  outline: 3px solid #e29100;
  outline-offset: 4px;
  border-radius: 5px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5.75rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -100px;
  left: 20px;
  padding: 12px 18px;
  background: var(--ink);
  color: white;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.status-strip {
  position: relative;
  z-index: 40;
  background: var(--orange);
  color: var(--orange-ink);
}

.status-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.94rem;
}

.status-inner strong {
  font-family: var(--font-title);
}

.status-inner a {
  margin-left: auto;
  color: var(--orange-ink);
  font-weight: 750;
}

.status-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border: 2px solid rgb(59 37 13 / 25%);
  border-radius: 50%;
  background: #8d4b0b;
  box-shadow: 0 0 0 4px rgb(141 75 11 / 13%);
}

.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgb(245 241 232 / 96%);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark,
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover,
.footer-wordmark:hover {
  color: inherit;
}

.wordmark-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 4px 12px;
  background: var(--brick);
  color: white;
  font-family: var(--font-slab);
  font-size: 1.75rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(11px, 1.55vw, 23px);
}

.desktop-nav a {
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--brick);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 7px 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 700;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(310px, calc(100vw - 30px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-nav nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--ink);
  font-family: var(--font-title);
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav nav a:hover,
.mobile-nav nav a[aria-current="page"] {
  background: var(--brick-soft);
  color: var(--brick-dark);
}

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: 64px;
  padding-block: 68px 88px;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.eyebrow,
.card-label,
.fact-stamp {
  color: var(--brick);
  font-family: var(--font-title);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 26px;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 32px;
  color: #404750;
  font-size: clamp(1.1rem, 2vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 9px;
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.button-primary {
  background: var(--blue);
  color: white;
}

.button-primary:hover {
  background: var(--blue-dark);
  color: white;
}

.button-secondary {
  border-color: var(--blue);
  color: var(--blue);
}

.button-secondary:hover {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.hero-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.hero-letter {
  position: absolute;
  z-index: -1;
  top: -52px;
  right: -22px;
  color: var(--paper-deep);
  font-family: var(--font-slab);
  font-size: clamp(11rem, 22vw, 18rem);
  line-height: 0.8;
  user-select: none;
}

.hero-visual picture {
  position: relative;
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 20px 20px 7px 20px;
  box-shadow: var(--shadow);
}

.section {
  padding-block: 88px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading.compact {
  margin-bottom: 32px;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.08rem;
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 18px;
  margin-top: 30px;
}

.content-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 15px 15px 5px 15px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.content-card:nth-child(2n) {
  border-radius: 5px 15px 15px 15px;
}

a.content-card {
  transition: transform 160ms ease, border-color 160ms ease;
}

a.content-card:hover {
  border-color: var(--blue);
  color: var(--ink);
  transform: translateY(-3px);
}

.content-card .card-label {
  display: block;
  margin-bottom: 28px;
}

.content-card h3 {
  margin-bottom: 13px;
}

.content-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.text-link {
  margin-top: auto;
  color: var(--blue);
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
}

.steps-section {
  border-block: 1px solid var(--line);
  background: rgb(255 253 248 / 72%);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 15px 15px 5px 15px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.info-card:nth-child(2n) {
  border-radius: 5px 15px 15px 15px;
}

.info-card:hover {
  border-color: var(--brick);
  color: var(--ink);
  transform: translateY(-3px);
}

.card-number {
  width: 46px;
  margin-bottom: auto;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--brick);
  color: var(--brick);
  font-family: var(--font-title);
  font-weight: 700;
}

.info-card h3 {
  margin: 30px 0 12px;
}

.info-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.editorial-band {
  background: var(--blue);
  color: white;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 76px;
}

.editorial-grid h2 {
  color: white;
}

.editorial-grid .eyebrow {
  color: #f3a99e;
}

.editorial-grid .prose {
  font-size: 1.07rem;
}

.editorial-grid .prose p {
  color: #e4e9f2;
}

.inline-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: white;
  font-family: var(--font-title);
  font-weight: 700;
}

.inline-link:hover {
  color: white;
}

.notes-band {
  border-block: 1px solid var(--line);
  background: #e7e0d2;
}

.notes-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 70px;
}

.notes-links {
  border-top: 1px solid #bfb6a6;
}

.notes-links a {
  min-height: 72px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #bfb6a6;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.notes-links a:hover {
  color: var(--brick-dark);
}

.notes-links span {
  color: var(--brick);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 4px;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--brick);
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  max-width: 850px;
  padding: 0 4px 24px;
  color: var(--muted);
}

.breadcrumbs {
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.breadcrumbs span {
  display: inline-flex;
  gap: 8px;
}

.breadcrumbs a {
  color: var(--muted);
}

.page-intro {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 850px) 190px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-block: 58px 72px;
}

.page-intro > div:first-child {
  min-width: 0;
}

.page-intro h1 {
  margin-bottom: 23px;
  overflow-wrap: break-word;
}

.page-lead {
  max-width: 800px;
  margin-bottom: 0;
  color: #404750;
  font-size: clamp(1.12rem, 2vw, 1.33rem);
}

.page-motif {
  color: var(--paper-deep);
  font-family: var(--font-slab);
  font-size: 12rem;
  line-height: 0.8;
  text-align: right;
  user-select: none;
}

.fact-stamp {
  width: fit-content;
  margin: 24px 0 0;
  padding: 8px 11px;
  border: 1px solid #c8bdab;
  border-radius: 6px;
  color: #5f543f;
  letter-spacing: 0.04em;
  text-transform: none;
}

.content-single {
  padding-bottom: 108px;
}

.article-wide {
  max-width: 940px;
  margin-inline: auto;
}

.callout {
  margin-bottom: 42px;
  padding: 22px 24px;
  border-left: 5px solid var(--blue);
  border-radius: 10px;
  background: var(--blue-soft);
  font-weight: 650;
}

.content-visual {
  margin: 0 0 60px;
}

.content-visual img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 18px 18px 6px 18px;
  box-shadow: var(--shadow);
}

.culture-visuals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 58px;
}

.culture-visuals img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 16px 16px 5px 16px;
}

.culture-visuals img:nth-child(2) {
  border-radius: 5px 16px 16px 16px;
}

.article-section {
  padding-block: 12px 46px;
}

.article-section + .article-section {
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.article-section h2,
.related h2 {
  margin-bottom: 24px;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

.article-section > p {
  color: #39414a;
}

.article-section > p:last-of-type {
  margin-bottom: 0;
}

.article-section ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.article-section li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-top: 1px solid var(--line);
}

.article-section li:last-child {
  border-bottom: 1px solid var(--line);
}

.article-section li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 3px;
  width: 11px;
  height: 3px;
  background: var(--brick);
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.source-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid #bec8d8;
  border-radius: 7px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.source-links a:hover {
  border-color: var(--blue);
}

.related {
  margin-top: 25px;
  padding-top: 46px;
  border-top: 3px solid var(--ink);
}

.related > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--blue);
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.related a:hover {
  border-color: var(--blue);
}

.not-found {
  min-height: 620px;
  padding-block: 105px;
}

.not-found h1 {
  margin-bottom: 24px;
}

.not-found > p:not(.eyebrow) {
  max-width: 700px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.18rem;
}

.site-footer {
  padding-block: 68px;
  background: var(--ink);
  color: #cdd1d6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 0.85fr);
  gap: 46px;
}

.footer-grid h2 {
  margin-bottom: 17px;
  color: white;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.footer-grid p,
.footer-grid a {
  color: #cdd1d6;
  font-size: 0.9rem;
}

.footer-grid a:not(.footer-wordmark) {
  min-height: 36px;
  display: block;
}

.footer-wordmark {
  margin-bottom: 20px;
  color: white;
  font-size: 1.5rem;
}

.footer-updated {
  margin-top: 11px;
  font-size: 0.78rem !important;
}

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }
}

@media (max-width: 1023px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 62px 78px;
  }

  .hero-copy {
    max-width: 830px;
  }

  .hero-visual {
    max-width: 870px;
  }

  .card-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 28px;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 34px, 1180px);
  }

  .status-inner {
    min-height: 58px;
    flex-wrap: wrap;
    gap: 5px 9px;
    padding-block: 8px;
  }

  .status-inner a {
    margin-left: 19px;
  }

  .section {
    padding-block: 70px;
  }

  .editorial-grid,
  .notes-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-intro {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 52px 62px;
  }

  .page-motif {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 26px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 72px;
  }

  .wordmark-mark {
    width: 42px;
    height: 42px;
  }

  .hero {
    gap: 38px;
    padding-block: 50px 64px;
  }

  .hero-letter {
    display: none;
  }

  .hero-visual {
    min-height: 0;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card-grid.four,
  .culture-visuals {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 230px;
  }

  .status-inner a {
    width: 100%;
    margin-left: 19px;
  }

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

  .content-card {
    min-height: 190px;
  }

  .article-section {
    padding-bottom: 38px;
  }

  .article-section + .article-section {
    padding-top: 38px;
  }

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

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

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

@media print {
  .status-strip,
  .site-header,
  .site-footer,
  .hero-actions,
  .related {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .shell {
    width: 100%;
  }
}
