@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,500;6..72,600;6..72,700&display=swap');

:root {
  --paper: #faf8f3;
  --paper-deep: #f1ede4;
  --white: #ffffff;
  --ink: #24303d;
  --muted: #66717b;
  --navy: #203a52;
  --navy-deep: #172b3d;
  --copper: #a65538;
  --copper-light: #d9a38d;
  --sage: #778873;
  --sage-light: #dce5d8;
  --butter: #f2dfad;
  --sky: #dbe8ee;
  --line: #d9d4ca;
  --shadow: 0 18px 50px rgba(32, 58, 82, 0.1);
  --shadow-small: 0 8px 24px rgba(32, 58, 82, 0.08);
  --radius: 1.5rem;
  --radius-small: 0.8rem;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --content: 1180px;
  --reading: 760px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

a {
  color: var(--navy);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--copper);
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

::selection {
  color: var(--navy-deep);
  background: var(--butter);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  color: var(--navy-deep);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

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

h2 {
  font-size: clamp(2rem, 4.2vw, 3.75rem);
}

h3 {
  font-size: clamp(1.38rem, 2.3vw, 2rem);
}

p {
  margin: 0 0 1.15rem;
}

ul,
ol {
  padding-left: 1.35rem;
}

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 2rem), var(--reading));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section-rule {
  border-top: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  color: var(--copper);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(32, 58, 82, 0.12);
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-deep);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 2.55rem;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--navy);
  border-radius: 52% 48% 46% 54%;
  background: var(--butter);
  transform: rotate(-7deg);
}

.brand-mark::before {
  position: absolute;
  width: 0.58rem;
  height: 0.58rem;
  border: 2px solid var(--copper);
  border-radius: 50%;
  content: "";
}

.brand-mark::after {
  position: absolute;
  bottom: 0.3rem;
  width: 0.85rem;
  height: 2px;
  background: var(--navy);
  box-shadow: 0 -1.55rem 0 var(--navy);
  content: "";
}

.brand-text {
  display: grid;
  gap: 0.15rem;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-link,
.nav-button {
  display: inline-flex;
  padding: 0.7rem 0.85rem;
  border: 0;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-button:hover,
.nav-button[aria-expanded="true"] {
  color: var(--copper);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
}

.nav-cta:hover {
  color: var(--white);
  background: var(--copper);
}

.nav-item-dropdown {
  position: relative;
}

.nav-button .fa-chevron-down {
  font-size: 0.68rem;
  transition: transform 180ms ease;
}

.nav-button[aria-expanded="true"] .fa-chevron-down {
  transform: rotate(180deg);
}

.topic-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 50%;
  width: min(620px, 82vw);
  margin: 0;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow);
  list-style: none;
  transform: translateX(-50%);
}

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

.topic-menu a {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.7rem;
  padding: 0.75rem;
  border-radius: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.topic-menu a:hover {
  color: var(--navy);
  background: var(--paper);
}

.topic-menu i {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 50%;
  color: var(--copper);
  background: var(--paper-deep);
}

.topic-menu strong,
.topic-menu small {
  display: block;
}

.topic-menu small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  overflow: hidden;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(circle, rgba(32, 58, 82, 0.3) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to right, transparent 10%, #000 75%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.hero-copy h1 {
  max-width: 840px;
}

.hero-copy .lede {
  max-width: 650px;
  margin-top: 1.5rem;
}

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

.button {
  display: inline-flex;
  min-height: 3.15rem;
  padding: 0.78rem 1.25rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--white);
  background: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  color: var(--white);
  background: var(--copper);
  border-color: var(--copper);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--navy);
  background: transparent;
}

.button-secondary:hover {
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link i {
  transition: transform 180ms ease;
}

.text-link:hover i {
  transform: translateX(0.25rem);
}

.hero-note {
  display: flex;
  margin-top: 2.3rem;
  align-items: center;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-note span {
  display: block;
  max-width: 430px;
}

.note-stamp {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper);
  transform: rotate(-8deg);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-photo-shell {
  position: absolute;
  inset: 3rem 1rem 1.5rem 2.5rem;
  overflow: hidden;
  border-radius: 47% 53% 42% 58% / 56% 43% 57% 44%;
  background: var(--sage-light);
  box-shadow: var(--shadow);
  animation: shape-shift 12s ease-in-out infinite alternate;
}

.hero-photo-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-ring {
  position: absolute;
  inset: 0.6rem 2.6rem 0 0;
  border: 1px solid rgba(166, 85, 56, 0.52);
  border-radius: 50%;
  animation: orbit-breathe 7s ease-in-out infinite;
}

.hero-ring::before,
.hero-ring::after {
  position: absolute;
  border: 1px solid rgba(32, 58, 82, 0.3);
  border-radius: 50%;
  content: "";
}

.hero-ring::before {
  inset: 2rem -1.2rem -1rem 2rem;
}

.hero-ring::after {
  width: 0.8rem;
  height: 0.8rem;
  top: 18%;
  right: -0.42rem;
  border: 0;
  background: var(--copper);
  box-shadow: 0 0 0 8px var(--paper);
}

.hero-label {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 150px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-small);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: float-label 5s ease-in-out infinite;
}

.hero-label small {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.hero-label-one {
  top: 7%;
  right: -2%;
}

.hero-label-two {
  bottom: 7%;
  left: -2%;
  animation-delay: -2.4s;
}

.hero-ticks {
  position: absolute;
  z-index: 3;
  top: 15%;
  left: 0;
  width: 1.6rem;
  height: 68%;
  border-left: 2px solid var(--navy);
  background: repeating-linear-gradient(to bottom, var(--navy) 0 1px, transparent 1px 14px);
  opacity: 0.48;
}

@keyframes shape-shift {
  0% { border-radius: 47% 53% 42% 58% / 56% 43% 57% 44%; transform: rotate(-1deg); }
  100% { border-radius: 55% 45% 53% 47% / 46% 58% 42% 54%; transform: rotate(1.5deg); }
}

@keyframes orbit-breathe {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  50% { transform: rotate(2deg) scale(1.025); }
}

@keyframes float-label {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(220px, 0.55fr));
  gap: 1rem;
}

.feature-card,
.story-card,
.guide-card,
.question-card,
.topic-card,
.info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(32, 58, 82, 0.02);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover,
.story-card:hover,
.guide-card:hover,
.question-card:hover,
.topic-card:hover {
  border-color: rgba(166, 85, 56, 0.45);
  box-shadow: var(--shadow-small);
  transform: translateY(-4px);
}

.feature-card {
  min-height: 510px;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: linear-gradient(to top, rgba(15, 36, 50, 0.9), rgba(15, 36, 50, 0.05) 75%);
}

.feature-overlay h3,
.feature-overlay a,
.feature-overlay .card-kicker {
  color: var(--white);
}

.feature-overlay h3 {
  max-width: 680px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.feature-overlay p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.story-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.story-card-content {
  display: flex;
  height: 100%;
  padding: 1.3rem;
  flex-direction: column;
}

.story-card-content h3 {
  font-size: 1.45rem;
}

.story-card-content p {
  color: var(--muted);
  font-size: 0.92rem;
}

.story-card-content .text-link {
  margin-top: auto;
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 0.75rem;
  align-items: center;
  gap: 0.45rem;
  color: var(--copper);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-kicker::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.question-card {
  min-height: 250px;
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.question-card:nth-child(1) { background: #eef0e7; }
.question-card:nth-child(2) { background: #f3e8dc; }
.question-card:nth-child(3) { background: #e6edf0; }
.question-card:nth-child(4) { background: #e5ece2; }
.question-card:nth-child(5) { background: #eee7e2; }

.question-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--copper);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.question-card h3 {
  margin-top: auto;
  font-size: 1.55rem;
}

.question-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.guide-grid,
.article-grid,
.topic-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.guide-card,
.story-card.article-card {
  height: 100%;
}

.guide-image,
.article-card-image {
  position: relative;
  overflow: hidden;
}

.guide-image img,
.article-card-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 500ms ease;
}

.guide-card:hover img,
.article-card:hover img {
  transform: scale(1.035);
}

.guide-index {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--butter);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.guide-card-content {
  padding: 1.35rem;
}

.guide-card h3 {
  font-size: 1.6rem;
}

.guide-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.article-card-meta {
  display: flex;
  margin-top: auto;
  padding-top: 0.8rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.75rem;
}

.editorial-principles {
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.5rem);
  color: var(--white);
  background: var(--navy-deep);
}

.principles-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.principles-inner h2,
.principles-inner a {
  color: var(--white);
}

.principles-inner p {
  color: rgba(255, 255, 255, 0.72);
}

.principle-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 1rem;
  list-style: none;
  counter-reset: principles;
}

.principle-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  counter-increment: principles;
}

.principle-list li::before {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--butter);
  content: counter(principles, decimal-leading-zero);
  font-size: 0.7rem;
}

.principle-list strong {
  display: block;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.principle-list span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7.5rem);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  width: 430px;
  height: 430px;
  right: -170px;
  bottom: -270px;
  border: 1px solid rgba(166, 85, 56, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(166, 85, 56, 0.05), 0 0 0 100px rgba(32, 58, 82, 0.04);
  content: "";
}

.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.55fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 5.6vw, 5rem);
}

.page-hero-side {
  padding-left: 1.5rem;
  border-left: 2px solid var(--copper);
  color: var(--muted);
}

.breadcrumbs {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.breadcrumbs ol {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 0.45rem;
  color: var(--copper);
  content: "/";
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.topic-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
}

.topic-intro-copy p:first-of-type {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.5;
}

.topic-checklist {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  list-style: none;
}

.topic-checklist li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.8rem;
  border-bottom: 1px solid var(--line);
}

.topic-checklist li:last-child {
  border: 0;
}

.topic-checklist i {
  position: absolute;
  top: 1.05rem;
  left: 0;
  color: var(--copper);
}

.topic-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.4rem);
  background: var(--navy-deep);
}

.topic-feature-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.topic-feature-copy {
  display: flex;
  padding: clamp(2rem, 6vw, 4.5rem);
  flex-direction: column;
  justify-content: center;
}

.topic-feature-copy h2,
.topic-feature-copy a {
  color: var(--white);
}

.topic-feature-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.filter-bar {
  display: flex;
  margin-bottom: 2.5rem;
  padding-bottom: 0.5rem;
  overflow-x: auto;
  gap: 0.5rem;
  scrollbar-width: thin;
}

.filter-button {
  flex: 0 0 auto;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-button:hover,
.filter-button[aria-pressed="true"] {
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

[hidden] {
  display: none !important;
}

.article-hero {
  padding-block: clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.article-hero h1 {
  font-size: clamp(2.65rem, 5.5vw, 5.15rem);
}

.article-deck {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.article-meta {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.article-hero-image {
  position: relative;
}

.article-hero-image::before {
  position: absolute;
  inset: -0.8rem 0.8rem 0.8rem -0.8rem;
  z-index: -1;
  border: 1px solid var(--copper-light);
  border-radius: 46% 54% 52% 48%;
  content: "";
  transform: rotate(-3deg);
}

.article-hero-image img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  border-radius: 46% 54% 52% 48% / 44% 46% 54% 56%;
}

.reading-progress {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--copper);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, var(--reading)) minmax(180px, 0.35fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.article-rail {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  color: var(--muted);
  font-size: 0.78rem;
}

.article-rail-title {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-rail ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-rail li {
  margin-bottom: 0.65rem;
}

.article-rail a {
  color: inherit;
  text-decoration: none;
}

.article-body {
  min-width: 0;
  font-size: 1.08rem;
  line-height: 1.82;
}

.article-body > p:first-child {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.38rem;
  line-height: 1.56;
}

.article-body h2 {
  margin-top: 2.3em;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.article-body h3 {
  margin-top: 1.8em;
}

.article-body a {
  font-weight: 600;
}

.article-body ul,
.article-body ol {
  margin-block: 1.5rem;
}

.article-body li {
  margin-bottom: 0.7rem;
  padding-left: 0.35rem;
}

.answer-box,
.tip-box,
.disclaimer-box,
.source-box {
  margin-block: 2rem;
  padding: 1.4rem 1.5rem;
  border-radius: 1rem;
}

.answer-box {
  border-left: 4px solid var(--copper);
  background: #f3e8dc;
}

.tip-box {
  border: 1px solid var(--sage);
  background: #eef2eb;
}

.disclaimer-box {
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  font-size: 0.88rem;
}

.source-box {
  border-top: 2px solid var(--navy);
  border-radius: 0;
  background: transparent;
}

.answer-box strong,
.tip-box strong,
.disclaimer-box strong,
.source-box strong {
  color: var(--navy);
}

.article-table-wrap {
  width: 100%;
  margin-block: 2rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.92rem;
}

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

th {
  color: var(--white);
  background: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.58);
}

.source-list {
  padding-left: 1.2rem;
  font-size: 0.9rem;
}

.source-list li {
  margin-bottom: 0.8rem;
}

.share-note {
  padding: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-toc {
  margin-block: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
}

.guide-toc ol {
  margin-bottom: 0;
  columns: 2;
  column-gap: 2rem;
}

.guide-toc li {
  break-inside: avoid;
}

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

.related-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
}

.related-card h3 {
  font-size: 1.35rem;
}

.related-card p {
  color: var(--muted);
  font-size: 0.85rem;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, var(--reading));
  gap: clamp(2rem, 8vw, 7rem);
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.policy-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-nav li {
  border-bottom: 1px solid var(--line);
}

.policy-nav a {
  display: block;
  padding: 0.65rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.policy-copy {
  font-size: 1.04rem;
}

.policy-copy h2 {
  margin-top: 2em;
  font-size: 2.2rem;
}

.policy-copy h2:first-child {
  margin-top: 0;
}

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

.contact-card {
  min-height: 180px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-card i {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  color: var(--copper);
  background: var(--paper-deep);
}

.contact-card h2 {
  font-size: 1.5rem;
}

.sitemap-group {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.sitemap-group h2 {
  font-size: 1.7rem;
}

.sitemap-group ul {
  margin-bottom: 0;
}

.sitemap-group li {
  margin-bottom: 0.5rem;
}

.empty-state {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  place-items: center;
  text-align: center;
}

.error-code {
  color: var(--copper);
  font-family: var(--serif);
  font-size: clamp(6rem, 22vw, 15rem);
  font-weight: 700;
  line-height: 0.8;
  opacity: 0.2;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 0.75fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.site-footer .brand {
  margin-bottom: 1.25rem;
  color: var(--white);
}

.site-footer .brand-mark {
  border-color: var(--white);
}

.site-footer .brand-mark::after {
  background: var(--white);
  box-shadow: 0 -1.55rem 0 var(--white);
}

.footer-intro p {
  max-width: 330px;
  font-size: 0.88rem;
}

.footer-heading {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--butter);
}

.footer-contact address {
  font-style: normal;
  font-size: 0.82rem;
}

.footer-contact span {
  display: block;
  margin-bottom: 0.4rem;
}

.footer-disclaimer {
  padding-block: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.79rem;
}

.footer-bottom {
  display: flex;
  padding-block: 1.25rem;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.74rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  z-index: 90;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow-small);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.75fr);
  }

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

  .question-card:nth-child(4),
  .question-card:nth-child(5) {
    grid-column: span 1;
  }

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

  .article-layout {
    grid-template-columns: minmax(150px, 0.3fr) minmax(0, var(--reading));
  }

  .article-layout > .article-rail:last-child {
    display: none;
  }

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

@media (max-width: 1050px) {
  :root {
    --header-height: 70px;
  }

  .brand-tagline {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: block;
    padding: 1.25rem 1rem 2rem;
    overflow-y: auto;
    background: var(--paper);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list {
    display: block;
  }

  .nav-list > li {
    border-bottom: 1px solid var(--line);
  }

  .nav-link,
  .nav-button {
    width: 100%;
    padding: 1rem 0.25rem;
    justify-content: space-between;
    font-size: 1rem;
  }

  .nav-cta {
    width: fit-content;
    margin: 1rem 0 0;
    padding-inline: 1rem;
  }

  .topic-menu {
    position: static;
    width: auto;
    padding: 0 0 1rem;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .topic-menu a {
    background: var(--white);
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .page-hero-grid,
  .article-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 490px;
  }

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

  .feature-card {
    grid-column: 1 / -1;
  }

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

  .principles-inner,
  .topic-intro-grid,
  .topic-feature {
    grid-template-columns: 1fr;
  }

  .topic-feature-image img {
    min-height: 320px;
  }

  .article-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .article-rail,
  .policy-nav {
    position: static;
  }

  .article-rail:first-child {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--white);
  }

  .article-rail:first-child ul {
    columns: 2;
  }

  .policy-nav {
    display: none;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1.0625rem;
  }

  .container,
  .narrow {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-inner {
    padding-block: 3.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 13.5vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-photo-shell {
    inset: 2.5rem 0.5rem 1.5rem 1.5rem;
  }

  .hero-ring {
    right: 1rem;
  }

  .hero-label {
    min-width: 125px;
    padding: 0.65rem 0.75rem;
    font-size: 0.65rem;
  }

  .hero-label-one {
    right: 0;
  }

  .hero-label-two {
    left: 0;
  }

  .editorial-grid,
  .article-grid,
  .guide-grid,
  .question-grid,
  .related-grid,
  .contact-grid,
  .info-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 440px;
  }

  .question-card {
    min-height: 210px;
  }

  .principles-inner {
    padding: 2rem 1.25rem;
  }

  .page-hero {
    padding-block: 3.5rem;
  }

  .article-hero-image {
    width: min(88%, 420px);
    margin-inline: auto;
  }

  .article-body {
    font-size: 1.0625rem;
    line-height: 1.78;
  }

  .article-rail:first-child ul,
  .guide-toc ol {
    columns: 1;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .brand-name {
    font-size: 1.02rem;
  }

  .brand-mark {
    width: 2.25rem;
  }

  .hero-visual {
    min-height: 350px;
  }

  .hero-ticks {
    display: none;
  }

  .hero-label-two {
    bottom: 2%;
  }

  .feature-overlay {
    padding: 1.2rem;
  }

  th,
  td {
    min-width: 140px;
  }
}

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

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

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .article-rail,
  .back-to-top,
  .reading-progress {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .article-layout {
    display: block;
  }

  a {
    color: #000;
  }
}

.nav-link, .nav-button { white-space: nowrap; }
.footer-main > *, .contact-card { min-width: 0; }
.footer-contact address, .contact-card p, .policy-copy { overflow-wrap: anywhere; }
.footer-contact address a { color: inherit; }
@media (min-width: 1051px) and (max-width: 1150px) {
  .header-inner { gap: 1rem; }
  .nav-link, .nav-button { padding-inline: .65rem; }
}
