/* ==========================================================================
   Breath Wellness — breathwellness.life
   A quiet editorial system built on Bootstrap 5.3
   1. Tokens          6. Hero
   2. Base            7. Essays
   3. Typography      8. Practice / standards / newsletter
   4. Header          9. Article pages
   5. Buttons        10. Inner pages, footer, motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --paper: #f7f9f9;
  --paper-2: #eef3f3;
  --surface: #ffffff;
  --ink: #0b1d24;
  --ink-2: #1e3a43;
  --muted: #55707a;
  --muted-2: #7b9299;
  --line: #e1e9ea;
  --line-2: #cad8da;
  --air: #0f5f6c;
  --air-deep: #0a3f49;
  --mist: #b9dce0;
  --sun: #cf7b47;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --display: "Bricolage Grotesque", "Instrument Sans", -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(11, 29, 36, 0.04), 0 8px 24px rgba(11, 29, 36, 0.05);
  --shadow-md: 0 2px 6px rgba(11, 29, 36, 0.05), 0 24px 60px rgba(11, 29, 36, 0.08);

  --bs-body-font-family: var(--sans);
  --bs-body-color: var(--ink-2);
  --bs-body-bg: var(--paper);
  --bs-link-color: var(--air);
  --bs-link-hover-color: var(--air-deep);
}

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection {
  background: var(--mist);
  color: var(--ink);
}

.container,
.container-lg,
.container-xl {
  width: 100%;
  max-width: 1220px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: var(--air);
  text-decoration: none;
  transition: color 0.22s var(--ease);
}

a:hover {
  color: var(--air-deep);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--air);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.1rem;
  font-size: 0.85rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  color: #fff;
}

/* 3. Typography ------------------------------------------------------------ */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
}

h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.2;
}

h4 {
  font-size: 1.06rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1.15rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--air);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--air);
  opacity: 0.55;
}

.eyebrow--plain::before {
  display: none;
}

.eyebrow--light {
  color: var(--mist);
}

.eyebrow--light::before {
  background: var(--mist);
}

.lede {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.display-num {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--line-2);
  line-height: 1;
}

/* 4. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 249, 249, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(247, 249, 249, 0.94);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.52rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}

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

.nav-list a {
  position: relative;
  font-size: 0.86rem;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  padding: 0.35rem 0;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--air);
  transition: width 0.3s var(--ease);
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--air);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  background: transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.header-cta svg {
  transition: transform 0.25s var(--ease);
}

.header-cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.header-cta:hover svg {
  transform: translateX(3px);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 15px;
  height: 1.5px;
  margin: 0;
  background: var(--ink);
  transition: transform 0.32s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-4.5px);
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) translateY(4.5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-panel {
  display: none;
  position: fixed;
  inset: 76px 0 0;
  z-index: 80;
  background: var(--paper);
  padding: 2rem 0 3rem;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-panel.is-open {
  opacity: 1;
  transform: none;
}

.nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

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

.nav-panel ul a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.025em;
}

.nav-panel ul a span {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  font-weight: 600;
}

.nav-panel ul a:hover {
  color: var(--air);
}

.nav-panel .btn-air {
  margin-top: 1.8rem;
  width: 100%;
  justify-content: center;
}

/* 5. Buttons --------------------------------------------------------------- */
.btn-air,
.btn-line,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-air {
  background: var(--air);
  color: #fff;
}

.btn-air:hover {
  background: var(--air-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn-line {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(11, 29, 36, 0.03);
}

.btn-sm {
  padding: 0.6rem 1.15rem;
  font-size: 0.82rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--air);
}

.link-arrow svg {
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.text-link {
  color: var(--air);
  border-bottom: 1px solid rgba(15, 95, 108, 0.28);
}

.text-link:hover {
  border-bottom-color: var(--air);
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding: 4.4rem 0 3.6rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -34%;
  right: -12%;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(185, 220, 224, 0.55) 0%, rgba(185, 220, 224, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  margin: 1.1rem 0 1.2rem;
  font-size: clamp(2.5rem, 4.9vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.hero-title em {
  font-style: normal;
  color: var(--air);
}

.hero-lede {
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 1.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted-2);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-facts li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--air);
  opacity: 0.5;
}

/* Pacer card */
.pacer-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #ffffff 0%, #f2f8f8 46%, #e8f1f1 100%);
  border: 1px solid rgba(15, 95, 108, 0.1);
  box-shadow: var(--shadow-md);
  padding: 1.6rem 1.6rem 1.5rem;
  overflow: hidden;
}

.pacer-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(15, 95, 108, 0.12);
  pointer-events: none;
}

.pacer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.pacer-top .label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.pacer-top .pattern {
  font-size: 0.68rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.pacer-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 330px;
  margin: 0.4rem auto 0.2rem;
  display: grid;
  place-items: center;
}

.pacer-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(15, 95, 108, 0.16);
}

.pacer-ring--inner {
  inset: 19%;
  border-color: rgba(15, 95, 108, 0.1);
}

.pacer-orb {
  position: relative;
  width: 58%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #2f8494 0%, var(--air) 46%, var(--air-deep) 100%);
  box-shadow: 0 18px 45px rgba(10, 63, 73, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: scale(0.74);
  transition: transform 4s linear;
  will-change: transform;
}

.pacer-orb::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.pacer-readout {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.pacer-phase {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #fff;
}

.pacer-count {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  font-variant-numeric: tabular-nums;
}

.pacer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 95, 108, 0.14);
}

.pacer-note {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 27ch;
}

.pacer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.62rem 1.1rem;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s var(--ease);
  white-space: nowrap;
}

.pacer-btn:hover {
  background: var(--air-deep);
}

.pacer-btn .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mist);
}

/* Principles strip */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

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

.strip-item {
  padding: 1.9rem 2rem 1.9rem 0;
}

.strip-item + .strip-item {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.strip-item h4 {
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
}

.strip-item p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
}

.strip-num {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  margin-bottom: 0.7rem;
  font-weight: 600;
}

/* 7. Sections & essays ----------------------------------------------------- */
.section {
  padding: 5rem 0;
}

.section--tight {
  padding: 3.6rem 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.8rem;
}

.section-head h2 {
  margin: 0.55rem 0 0.55rem;
}

.section-head p {
  margin: 0;
  max-width: 54ch;
  font-size: 0.95rem;
  color: var(--muted);
}

.section-count {
  font-family: var(--display);
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  white-space: nowrap;
  padding-bottom: 0.35rem;
}

/* Feature essay */
.feature {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 3.2rem;
  align-items: center;
  padding-bottom: 3.4rem;
  border-bottom: 1px solid var(--line);
}

.feature-media {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.feature-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.feature:hover .feature-media img {
  transform: scale(1.025);
}

.feature-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--paper);
  padding: 0.5rem 1rem;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

.feature-body {
  padding-right: 0.5rem;
}

.feature-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.feature-kicker .idx {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--line-2);
  line-height: 1;
}

.feature-title {
  font-size: clamp(1.75rem, 2.7vw, 2.35rem);
  line-height: 1.1;
  margin-bottom: 0.9rem;
}

.feature-title a {
  color: var(--ink);
}

.feature:hover .feature-title a {
  color: var(--air);
}

.feature-dek {
  font-size: 0.97rem;
  line-height: 1.68;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 1.4rem;
}

.byline-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.73rem;
  color: var(--muted-2);
  margin-bottom: 1.5rem;
}

.byline-row .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-2);
}

/* Essay rows */
.essay-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.essay-row {
  border-bottom: 1px solid var(--line);
}

.essay-row > a {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 186px;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 0;
  color: inherit;
}

.essay-index {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--line-2);
  letter-spacing: -0.03em;
  align-self: start;
  margin-top: 0.1rem;
  transition: color 0.3s var(--ease);
}

.essay-title {
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.9vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 0.4rem;
  transition: color 0.25s var(--ease);
}

.essay-dek {
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 0.6rem;
  max-width: 62ch;
}

.essay-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--muted-2);
}

.essay-meta .tag {
  color: var(--air);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.6rem;
  font-weight: 600;
}

.essay-thumb {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
}

.essay-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.essay-row > a:hover .essay-thumb img {
  transform: scale(1.04);
}

.essay-row > a:hover .essay-title {
  color: var(--air);
}

.essay-row > a:hover .essay-index {
  color: var(--air);
}

/* 8. Practice, standards, newsletter --------------------------------------- */
.practice {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.practice-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.practice-card .num {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  margin-bottom: 1.1rem;
}

.practice-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.35rem;
}

.practice-card .pattern {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--air);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.practice-card p {
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.practice-wave {
  margin-top: auto;
  width: 100%;
  height: 42px;
}

.practice-card .link-arrow {
  margin-top: 1rem;
  font-size: 0.78rem;
}

/* Standards band */
.standards {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 3.6rem;
  align-items: center;
}

.standards-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.step-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1.2rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.step-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--air);
  padding-top: 0.15rem;
}

.step-row h4 {
  margin-bottom: 0.25rem;
}

.step-row p {
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Newsletter */
.newsletter {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 3.4rem 3.4rem 3rem;
  position: relative;
  overflow: hidden;
  color: #dfe9ea;
}

.newsletter::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(185, 220, 224, 0.18);
  box-shadow: 0 0 0 60px rgba(185, 220, 224, 0.05), 0 0 0 130px rgba(185, 220, 224, 0.03);
  pointer-events: none;
}

.newsletter h2 {
  color: #fff;
  max-width: 20ch;
  margin-bottom: 0.8rem;
}

.newsletter p {
  color: #a7c0c5;
  max-width: 46ch;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.6rem;
  max-width: 470px;
  position: relative;
  z-index: 1;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(185, 220, 224, 0.28);
  border-radius: 999px;
  padding: 0.78rem 1.15rem;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: #7e9aa0;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--mist);
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn-air {
  background: var(--mist);
  color: var(--ink);
  white-space: nowrap;
}

.newsletter-form .btn-air:hover {
  background: #fff;
  color: var(--ink);
}

.form-note {
  font-size: 0.72rem;
  color: #7e9aa0;
  margin: 0.9rem 0 0;
  min-height: 1.1em;
}

.form-note.is-error {
  color: #f0b39a;
}

.form-note.is-success {
  color: var(--mist);
}

/* 9. Article pages --------------------------------------------------------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--air);
  z-index: 120;
  transition: width 0.1s linear;
}

.article-hero {
  padding: 2.6rem 0 0;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  font-size: 0.72rem;
  color: var(--muted-2);
}

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

.crumb a:hover {
  color: var(--air);
}

.article-title {
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 20ch;
  margin: 0.9rem 0 1.1rem;
}

.article-dek {
  font-size: 1.08rem;
  line-height: 1.68;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 1.6rem;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.9rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted-2);
}

.byline strong {
  color: var(--ink);
  font-weight: 600;
}

.byline .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-2);
}

.byline .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--air);
  font-weight: 600;
}

.article-cover {
  margin: 2.4rem 0 3rem;
}

.article-cover .frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
}

.article-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.article-cover figcaption {
  padding: 0.85rem 0 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
  margin-top: 0.9rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 4rem;
  padding-bottom: 4rem;
}

.article-body {
  min-width: 0;
  font-size: 1.055rem;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 40rem;
}

.article-body > p:first-of-type {
  font-size: 1.12rem;
  line-height: 1.72;
  color: var(--ink);
}

.article-body p {
  margin-bottom: 1.35rem;
}

.article-body h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  margin: 3rem 0 1rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  letter-spacing: -0.03em;
}

.article-body h3 {
  font-size: 1.16rem;
  margin: 2rem 0 0.7rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.4rem;
  padding-left: 1.15rem;
}

.article-body li {
  margin-bottom: 0.55rem;
  padding-left: 0.2rem;
}

.article-body li::marker {
  color: var(--air);
}

.article-body strong {
  color: var(--ink);
  font-weight: 600;
}

.article-body a {
  border-bottom: 1px solid rgba(15, 95, 108, 0.3);
}

.article-body a:hover {
  border-bottom-color: var(--air);
}

.article-body blockquote {
  margin: 2rem 0;
  padding: 0.2rem 0 0.2rem 1.5rem;
  border-left: 2px solid var(--air);
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.article-body blockquote p {
  margin: 0;
}

.article-body blockquote cite {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

/* Key points */
.key-points {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem 1.35rem;
  margin-bottom: 2.4rem;
}

.key-points h4 {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--air);
  margin-bottom: 0.9rem;
  font-family: var(--sans);
  font-weight: 700;
}

.key-points ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.key-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9rem;
  line-height: 1.62;
  margin-bottom: 0.65rem;
  color: var(--ink-2);
}

.key-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 1px;
  background: var(--air);
}

/* Table */
.table-wrap {
  overflow-x: auto;
  margin: 1.6rem 0 2rem;
  border-top: 1px solid var(--ink);
}

@media (min-width: 992px) {
  .table-wrap {
    margin-right: -4rem;
  }
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  line-height: 1.5;
  min-width: 520px;
}

.data-table caption {
  caption-side: top;
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-bottom: 0.7rem;
}

.data-table th {
  text-align: left;
  font-size: 0.63rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding: 0.7rem 0.9rem 0.7rem 0;
  border-bottom: 1px solid var(--line-2);
  vertical-align: bottom;
  white-space: nowrap;
}

.data-table td {
  padding: 0.75rem 0.9rem 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: top;
}

.data-table td:first-child {
  color: var(--ink);
  font-weight: 600;
  padding-right: 1.1rem;
}

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

/* Callout */
.callout {
  border: 1px solid var(--line);
  border-left: 2px solid var(--sun);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.2rem 1.4rem;
  margin: 1.8rem 0;
  background: #fdfcfb;
}

.callout h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.callout p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* References */
.refs {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--ink);
}

.refs h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 700;
}

.refs ol {
  margin: 0;
  padding-left: 1.4rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
}

.refs li {
  margin-bottom: 0.6rem;
}

.refs a {
  color: var(--muted);
  border-bottom: 1px solid var(--line-2);
}

.refs a:hover {
  color: var(--air);
}

/* Author card */
.author-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 2.6rem;
  background: var(--surface);
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--air);
  flex-shrink: 0;
}

.author-card h5 {
  font-size: 0.95rem;
  margin: 0 0 0.15rem;
  font-family: var(--display);
}

.author-card .role {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.5rem;
  display: block;
}

.author-card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Aside */
.aside-stack {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.side-card {
  border-top: 1px solid var(--ink);
  padding-top: 1rem;
}

.side-card h4 {
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
  font-weight: 700;
}

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

.toc a {
  display: block;
  padding: 0.42rem 0 0.42rem 0.9rem;
  border-left: 1px solid var(--line);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.toc a:hover {
  color: var(--air);
  border-left-color: var(--line-2);
}

.toc a.is-active {
  color: var(--air);
  border-left-color: var(--air);
  font-weight: 500;
}

.side-fact {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

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

.side-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}

.side-list li:last-child {
  border-bottom: 0;
}

.side-list span {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.side-list a {
  color: var(--ink);
  text-align: right;
}

.side-list a:hover {
  color: var(--air);
}

/* Related */
.related {
  border-top: 1px solid var(--line);
  padding: 3.4rem 0 4rem;
}

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

.related-card a {
  display: block;
  color: inherit;
}

.related-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
  margin-bottom: 0.9rem;
  transition: transform 0.8s var(--ease);
}

.related-card .cat {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--air);
  font-weight: 600;
}

.related-card h4 {
  margin: 0.4rem 0 0.3rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.related-card a:hover h4 {
  color: var(--air);
}

.related-card .meta {
  font-size: 0.7rem;
  color: var(--muted-2);
}

/* 10. Inner pages ---------------------------------------------------------- */
.page-hero {
  padding: 3.2rem 0 2.4rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  max-width: 24ch;
  margin: 0.8rem 0 1rem;
}

.page-hero .lede {
  max-width: 56ch;
  margin-bottom: 0;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-top: 1.6rem;
  font-size: 0.72rem;
  color: var(--muted-2);
}

.legal-meta strong {
  color: var(--ink-2);
  font-weight: 500;
}

.legal-wrap {
  padding: 3.2rem 0 4.4rem;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 3.8rem;
}

.legal-body {
  min-width: 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.legal-body h2 {
  font-size: 1.42rem;
  margin: 2.6rem 0 0.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.legal-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-body h3 {
  font-size: 1.06rem;
  margin: 1.6rem 0 0.5rem;
}

.legal-body p,
.legal-body li {
  margin-bottom: 0.9rem;
  max-width: 40rem;
}

.legal-body ul,
.legal-body ol {
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}

.legal-body li::marker {
  color: var(--air);
}

.legal-body a {
  border-bottom: 1px solid rgba(15, 95, 108, 0.3);
}

/* About */
.about-media {
  margin: 2.6rem 0 0;
}

.about-media img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 42%;
  border-radius: var(--radius);
  display: block;
}

.about-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 4rem;
  padding: 3.4rem 0 1rem;
}

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

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

.team-card .avatar {
  margin-bottom: 0.7rem;
}

.team-card h4 {
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.team-card .role {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.6rem;
}

.team-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.58;
  color: var(--muted);
}

.pull-figure {
  border-left: 2px solid var(--mist);
  padding-left: 1.4rem;
  margin: 2rem 0;
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.42;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 4rem;
  padding: 3.2rem 0 4rem;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.form-control,
.form-select {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem;
  font-family: var(--sans);
  font-size: 0.94rem;
  background-color: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-control:hover,
.form-select:hover {
  border-color: #b0c3c6;
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--air);
  box-shadow: 0 0 0 3px rgba(15, 95, 108, 0.09);
  background-color: #fff;
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-control.is-invalid {
  border-color: #b8543f;
}

.contact-card {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.1rem;
}

.contact-card:first-child {
  border-top-color: var(--ink);
}

.contact-card .label {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-card a {
  font-size: 0.95rem;
  color: var(--ink);
}

.contact-card a:hover {
  color: var(--air);
}

.contact-card p {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

/* FAQ */
.faq {
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--air);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .answer {
  padding: 0 0 1.2rem;
  font-size: 0.89rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #a9c0c5;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.6rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(185, 220, 224, 0.14);
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand .brand:hover {
  color: #fff;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #8ba6ac;
  max-width: 34ch;
  margin-bottom: 1.2rem;
}

.footer-mark {
  display: block;
  width: 44px;
  height: 44px;
  opacity: 0.85;
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7e9aa0;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: #cadbde;
}

.footer-col a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(185, 220, 224, 0.14);
}

.footer-legal a {
  font-size: 0.78rem;
  color: #cadbde;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-legal .bar {
  color: #4d6a70;
  font-size: 0.7rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  padding-top: 1.4rem;
  font-size: 0.74rem;
  color: #7e9aa0;
}

.footer-note {
  padding-top: 0;
  margin: 0.85rem 0 0;
  font-size: 0.73rem;
  line-height: 1.62;
  color: #79949a;
  max-width: 96ch;
}

/* Reveal & motion ---------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal:nth-child(2) {
  transition-delay: 0.06s;
}

.js .reveal:nth-child(3) {
  transition-delay: 0.12s;
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero-grid {
    gap: 2.6rem;
  }

  .article-layout,
  .legal-layout {
    gap: 2.6rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  .nav-list,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-panel {
    display: block;
  }

  .header-inner {
    height: 68px;
  }

  .nav-panel {
    inset: 68px 0 0;
  }

  .hero {
    padding: 3rem 0 2.6rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.6rem;
  }

  .hero-title {
    max-width: 18ch;
  }

  .pacer-card {
    max-width: 420px;
  }

  .pacer-stage {
    max-width: 300px;
  }

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

  .strip-item,
  .strip-item + .strip-item {
    padding: 1.4rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .strip-item:first-child {
    border-top: 0;
  }

  .feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .feature-media img {
    aspect-ratio: 16 / 10;
  }

  .essay-row > a {
    grid-template-columns: 44px minmax(0, 1fr) 140px;
    gap: 1.2rem;
  }

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

  .practice-card {
    min-height: 0;
  }

  .standards {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }

  .standards-media img {
    aspect-ratio: 16 / 9;
  }

  .newsletter {
    padding: 2.4rem 1.8rem 2rem;
  }

  .article-layout,
  .legal-layout,
  .about-body,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .aside-stack {
    position: static;
    top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    align-items: start;
  }

  .aside-stack > * {
    min-width: 0;
  }

  .article-cover {
    margin: 2rem 0 2.2rem;
  }

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

  .related-grid .related-card:last-child {
    display: none;
  }

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

@media (max-width: 767.98px) {
  .container,
  .container-lg,
  .container-xl {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2.15rem, 8.6vw, 2.9rem);
    max-width: 16ch;
  }

  .section {
    padding: 3.4rem 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 2rem;
  }

  .section-count {
    padding-bottom: 0;
  }

  .essay-row > a {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.4rem 0;
  }

  .essay-thumb {
    display: none;
  }

  .essay-index {
    font-size: 1.05rem;
    padding-top: 0.2rem;
  }

  .feature-title {
    font-size: 1.6rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn-air {
    width: 100%;
  }

  .aside-stack {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .related-grid .related-card:last-child {
    display: block;
  }

  .article-title {
    font-size: clamp(1.9rem, 7.4vw, 2.5rem);
  }

  .article-body {
    font-size: 1rem;
  }

  .article-body blockquote {
    font-size: 1.12rem;
  }

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

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .footer-legal {
    gap: 0.5rem 0.7rem;
  }

  .footer-legal a {
    font-size: 0.74rem;
  }

  .byline {
    gap: 0.35rem 0.7rem;
  }

  .byline .sep {
    display: none;
  }

  .pacer-card {
    padding: 1.3rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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