/* Abud Bakri MD — built on Dr. Amanda Kahn's system, in Abud's own palette.
   Serif for voice (Marcellus, 400 only), light sans for facts (Hanken Grotesk 300),
   small tracked uppercase sans for nav, labels and buttons. Hierarchy by typeface, never bold.
   Palette sampled from his portrait backdrop: midnight #161E26 to cream #F4EBE2. */

:root {
  color-scheme: light;
  --bone: #fbfaf7;
  --cream: #f4ebe2;
  --sand: #e6dccf;
  --white: #ffffff;
  --midnight: #161e26;
  --slate: #56636f;
  --slate-2: #8b949c;
  --ink: #111315;
  --muted: #4f5257;
  --rule: rgba(26, 29, 34, 0.55);
  --rule-soft: rgba(17, 19, 21, 0.12);
  --on-dark: #fbfaf7;
  --on-dark-muted: rgba(251, 250, 247, 0.72);
  --gold: #b09b6f;

  --serif: "Marcellus", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --pad: 4vw;
  --max: 1440px;
  --section: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0.018em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
  font-weight: 400;
}
:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}
::selection {
  background: var(--midnight);
  color: var(--cream);
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-200%);
  padding: 10px 18px;
  border-radius: 300px;
  background: var(--midnight);
  color: var(--cream);
}
.skip-link:focus {
  transform: none;
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* type roles */
.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.cap {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.u-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: opacity 0.1s linear;
}
.u-link:hover {
  opacity: 0.7;
}

/* pills — the only button shape */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.75em 2.75em;
  border: 0;
  border-radius: 300px;
  background: var(--midnight);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.1s linear;
}
.pill:hover {
  opacity: 0.8;
}
.pill.is-light {
  background: var(--white);
  color: var(--midnight);
}
.pill.is-sm {
  min-height: 34px;
  padding: 0 28px;
  font-size: 13px;
}

/* crest */
.crest {
  display: block;
  color: currentColor;
}
.crest text {
  font-family: var(--serif);
  fill: currentColor;
}
.crest .md {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.08em;
}
.crest .line {
  stroke: currentColor;
  fill: none;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 72px;
  background: var(--bone);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s linear;
}
.site-header.is-scrolled {
  border-bottom-color: var(--rule-soft);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--midnight);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-weight: 500;
  font-size: 12.8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 0;
  text-underline-offset: 5px;
}
.nav-links a:hover,
.nav-links a[aria-current="true"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 49;
  padding: 24px 6vw 40px;
  background: var(--bone);
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu nav {
  display: grid;
}
.mobile-menu nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0.02em;
  color: var(--midnight);
}
body.menu-open {
  overflow: hidden;
}

/* ------------------------------------------------------------------ hero */

.hero {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(600px, calc(100svh - 72px), 780px);
}
.hero-panel {
  background: var(--midnight);
  color: var(--on-dark);
  display: grid;
  place-items: center;
  padding: 72px var(--pad);
  text-align: center;
}
.hero-stack {
  display: grid;
  justify-items: center;
  gap: 0;
  max-width: 520px;
}
.hero-stack .crest {
  width: 104px;
  height: 104px;
  margin-bottom: 36px;
  opacity: 0.92;
}
.hero-eyebrow {
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero-lines {
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  font-size: 17px;
  line-height: 41px;
  color: var(--on-dark-muted);
}
.hero-actions {
  display: grid;
  justify-items: center;
  gap: 18px;
}
.hero-actions .u-link {
  font-size: 15px;
  color: var(--on-dark-muted);
}
.hero-photo {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 28%;
}

/* ------------------------------------------------------------- press bar */

.press {
  background: var(--white);
  padding: 44px 0 46px;
}
.press .wrap {
  display: grid;
  gap: 22px;
  justify-items: center;
}
.press .label {
  color: var(--muted);
}
.press ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
}
.press li {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7f858b;
  white-space: nowrap;
}

/* ------------------------------------------------------------ philosophy */

.approach {
  background: var(--slate);
  color: var(--on-dark);
  padding: 120px 0 128px;
  text-align: center;
}
.approach .wrap {
  display: grid;
  justify-items: center;
}
.approach .crest {
  width: 132px;
  height: 132px;
  margin-bottom: 40px;
}
.approach .cap {
  margin-bottom: 40px;
}
.approach p.statement {
  max-width: 1060px;
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.32;
  letter-spacing: 0.02em;
  text-wrap: balance;
  margin-bottom: 48px;
}

/* ----------------------------------------------------------------- tiles */

.topics {
  padding: var(--section) 0;
}
.topics-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
}
.topics-head p {
  max-width: 420px;
  font-size: 16px;
  color: var(--muted);
}
.tiles {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.tile a {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  text-align: center;
  color: var(--white);
  background: var(--midnight);
  isolation: isolate;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tile.has-img a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 30, 38, 0.18);
  transition: background-color 0.4s ease;
}
.tile a:hover img {
  transform: scale(1.04);
}
.tile.is-cream a {
  background: var(--cream);
  color: var(--midnight);
}
.tile.is-sand a {
  background: var(--sand);
  color: var(--midnight);
}
.tile.is-slate a {
  background: var(--slate);
}
.tile.is-white a {
  background: var(--white);
  color: var(--midnight);
}
.tile-inner {
  display: grid;
  gap: 16px;
  justify-items: center;
  max-width: 78%;
}
.tile-name {
  font-weight: 500;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tile-desc {
  font-size: 15px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.tile a:hover .tile-desc,
.tile a:focus-visible .tile-desc {
  opacity: 1;
  transform: none;
}
.tile.has-img a:hover::before,
.tile.has-img a:focus-visible::before {
  background: rgba(22, 30, 38, 0.58);
}
.tile a:focus-visible {
  outline-offset: -8px;
}

/* ----------------------------------------------------------- get started */

.start {
  background: var(--white);
}
.start-intro {
  padding: var(--section) 0 56px;
  text-align: center;
}
.start-intro .label {
  font-size: 16px;
  line-height: 1.35;
}
.module {
  border-top: 1px solid var(--rule);
  scroll-margin-top: 72px;
}
.module:last-child {
  border-bottom: 1px solid var(--rule);
}
.module .wrap {
  display: grid;
  grid-template-columns: 323px minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding-block: 88px;
  padding-inline: calc(var(--pad) + 55px);
}
.module-tile {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--midnight);
  color: var(--white);
  text-align: center;
  isolation: isolate;
}
.module-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.module-tile.is-sand {
  background: var(--sand);
  color: var(--midnight);
}
.module-tile span {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 70%;
}
.module-body {
  display: grid;
  justify-items: start;
  gap: 28px;
  max-width: 760px;
}
.module-body h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.module-body p {
  font-size: 20px;
  line-height: 1.45;
}
.module-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.module-cta small {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

/* -------------------------------------------------------------- podcasts */

.feature {
  background: var(--sand);
  padding: 112px 0;
  scroll-margin-top: 72px;
}
.feature .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 72px;
  align-items: center;
}
.feature-copy {
  display: grid;
  justify-items: start;
  gap: 22px;
}
.feature-copy .label {
  color: var(--muted);
}
.feature-copy h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--midnight);
  text-wrap: balance;
}
.feature-copy p {
  max-width: 34em;
}
.feature-copy .meta {
  font-size: 15px;
  color: var(--muted);
}
.feature-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.feature-object {
  display: block;
  box-shadow: 0 42px 42px rgba(22, 30, 38, 0.09), 0 94px 56px rgba(22, 30, 38, 0.05),
    20px 24px 50px rgba(22, 30, 38, 0.28);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.feature-object:hover {
  transform: translateY(-4px);
}
.feature-object img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.more {
  padding: var(--section) 0;
}
.more-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}
.more-head .left {
  display: grid;
  gap: 22px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.filters button {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 500;
  font-size: 12.8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  text-underline-offset: 6px;
}
.filters button:hover {
  color: var(--ink);
}
.filters button[aria-pressed="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.arrows {
  display: flex;
  gap: 10px;
}
.arrows button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: opacity 0.1s linear;
}
.arrows button:disabled {
  opacity: 0.3;
  cursor: default;
}
.arrows svg {
  width: 14px;
  height: 14px;
}
.episodes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 64px) / 3);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.episodes::-webkit-scrollbar {
  display: none;
}
.ep {
  scroll-snap-align: start;
}
.ep[hidden] {
  display: none;
}
.ep a {
  display: grid;
  gap: 14px;
}
.ep img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: opacity 0.2s linear;
}
.ep a:hover img {
  opacity: 0.88;
}
.ep-meta {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.ep-title {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0.015em;
  color: var(--midnight);
  text-wrap: pretty;
}
.progress {
  margin-top: 32px;
  height: 1px;
  background: var(--rule-soft);
}
.progress span {
  display: block;
  height: 1px;
  width: 30%;
  background: var(--ink);
}

/* ----------------------------------------------------------------- about */

.about {
  background: var(--white);
  padding: var(--section) 0;
  scroll-margin-top: 72px;
}
.about .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 11px 72px;
}
.about .cap {
  grid-column: 1 / -1;
  margin-bottom: 40px;
}
.about p.statement {
  font-family: var(--serif);
  font-size: clamp(22px, 1.9vw, 27px);
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--midnight);
}
.facts {
  margin: 0;
  border-top: 1px solid var(--ink);
  align-self: start;
}
.facts div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 56px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
}
.facts dt {
  font-weight: 500;
  font-size: 12.8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.facts dd {
  margin: 0;
  font-size: 18px;
}

/* ------------------------------------------------------------ newsletter */

.letter {
  background: var(--midnight);
  color: var(--on-dark);
  padding: 112px 0;
  text-align: center;
}
.letter .wrap {
  display: grid;
  justify-items: center;
  gap: 24px;
}
.letter .label {
  color: var(--on-dark-muted);
}
.letter h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  max-width: 24em;
  text-wrap: balance;
}
.letter-form {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  width: min(100%, 560px);
  margin-top: 16px;
}
.letter-form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid var(--on-dark-muted);
  border-radius: 0;
  background: transparent;
  color: var(--on-dark);
  font-size: 18px;
}
.letter-form input::placeholder {
  color: var(--on-dark-muted);
}
.letter-form input:focus {
  outline: none;
  border-bottom-color: var(--on-dark);
}
.letter .fine {
  font-size: 14px;
  color: var(--on-dark-muted);
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--midnight);
  color: var(--on-dark);
  padding: 0 0 36px;
}
.footer-seal {
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: 88px 0 72px;
  border-top: 1px solid rgba(244, 235, 226, 0.14);
}
.footer-seal .crest {
  width: 220px;
  height: 220px;
  color: rgba(244, 235, 226, 0.5);
}
.footer-seal .wordmark {
  color: var(--on-dark);
  font-size: 30px;
}
.footer-seal p {
  font-size: 15px;
  color: var(--on-dark-muted);
}
.footer-cols {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 40px;
  padding-bottom: 48px;
}
.footer-cols a {
  font-weight: 500;
  font-size: 12.8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  text-underline-offset: 5px;
}
.footer-cols a:hover {
  text-decoration: underline;
}
.footer-legal {
  border-top: 1px solid rgba(244, 235, 226, 0.14);
}
.footer-legal > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  list-style: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 12.8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-legal > summary::-webkit-details-marker,
.legal-detail > summary::-webkit-details-marker {
  display: none;
}
.footer-legal > summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 300;
}
.footer-legal[open] > summary::after {
  content: "\2212";
}
.footer-legal-body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
  padding: 8px 0 40px;
}
.footer-legal-body section {
  scroll-margin-top: 88px;
}
.footer-legal-body h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.02em;
}
.footer-legal-body p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--on-dark-muted);
}
.legal-detail > summary {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 235, 226, 0.14);
  font-size: 13px;
  color: var(--on-dark-muted);
}
.footer-meta p {
  display: flex;
  align-items: center;
}
.footer-meta nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.footer-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.footer-meta a:hover {
  color: var(--on-dark);
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: no-preference) {
  .js .fade {
    opacity: 0;
    transition: opacity 0.9s ease;
  }
  .js .fade.is-in {
    opacity: 1;
  }
  .episodes {
    scroll-behavior: smooth;
  }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }
  .episodes {
    grid-auto-columns: calc((100% - 32px) / 2);
  }
}

@media (max-width: 900px) {
  :root {
    --section: 64px;
    --pad: 6vw;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    order: -1;
    aspect-ratio: 4 / 4.2;
  }
  .hero-panel {
    padding: 56px var(--pad) 64px;
  }
  .press ul {
    justify-content: center;
    gap: 14px 28px;
  }
  .press li {
    font-size: 18px;
  }
  .approach {
    padding: 80px 0 88px;
  }
  .topics-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile-desc {
    display: none;
  }
  .module .wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 56px;
    padding-inline: var(--pad);
  }
  .module-tile {
    width: min(100%, 320px);
  }
  .feature {
    padding: 72px 0;
  }
  .feature .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-object {
    order: -1;
  }
  .more-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .arrows {
    display: none;
  }
  .episodes {
    grid-auto-columns: 82%;
    gap: 16px;
  }
  .about .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about .cap {
    margin-bottom: 0;
  }
  .facts div {
    grid-template-columns: 110px minmax(0, 1fr);
  }
  .facts dd {
    font-size: 16px;
  }
  .letter {
    padding: 80px 0;
  }
  .letter-form {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-seal .crest {
    width: 160px;
    height: 160px;
  }
  .footer-legal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .wordmark {
    font-size: 22px;
  }
  .hero-eyebrow {
    font-size: 15px;
  }
  .hero-lines {
    font-size: 15px;
    line-height: 34px;
  }
  .tile-name {
    font-size: 14px;
  }
  .module-body p {
    font-size: 18px;
  }
}

/* legibility: labels over photography */
.module-tile:has(img)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(22, 30, 38, 0.46);
}
.module-tile:has(img) span,
.tile.has-img .tile-name {
  text-shadow: 0 1px 12px rgba(22, 30, 38, 0.45);
}
.tile.has-img a::before {
  background: rgba(22, 30, 38, 0.3);
}
@media (min-width: 1200px) {
  .press ul {
    flex-wrap: nowrap;
  }
  .press li {
    font-size: clamp(16px, 1.45vw, 22px);
  }
}

.hero-sub {
  margin: 0 0 36px;
  max-width: 400px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-dark-muted);
}

/* ---------------------------------------------------------- v7 overrides */

/* hero: one full-bleed composition, text on the dark side of his portrait */
.hero {
  position: relative;
  display: block;
  min-height: clamp(620px, calc(100svh - 72px), 820px);
  background: #1b1d22;
  color: var(--on-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 30%;
}
.hero-inner {
  position: relative;
  min-height: inherit;
  display: flex;
  align-items: center;
}
.hero-stack {
  width: min(46%, 560px);
  text-align: center;
  padding-block: 72px;
}
.hero h1 {
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.14;
  margin-bottom: 18px;
}
.hero-sub {
  margin: 0 0 40px;
  font-size: 18px;
  color: var(--on-dark-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.pill.is-outline {
  background: transparent;
  color: var(--on-dark);
  border: 1px solid rgba(251, 250, 247, 0.5);
}
.pill.is-outline:hover {
  border-color: var(--on-dark);
}

/* topics: quiet text grid, hairline rules, sleep carries the weight */
.topic-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule-soft);
  border-left: 1px solid var(--rule-soft);
}
.topic a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  min-height: 280px;
  height: 100%;
  padding: 36px 36px 40px;
  border-right: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  transition: background-color 0.3s ease;
}
.topic a:hover {
  background: var(--cream);
}
.topic-name {
  font-family: var(--serif);
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 1.15;
}
.topic-desc {
  max-width: 32ch;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}
.topic.is-dark a {
  background: var(--midnight);
  color: var(--on-dark);
  border-color: var(--midnight);
}
.topic.is-dark .topic-desc {
  color: var(--on-dark-muted);
}
.topic.is-dark a:hover {
  background: #1d2731;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    display: grid;
  }
  .hero-bg {
    position: relative;
    height: auto;
    aspect-ratio: 4 / 3.4;
    object-position: 82% 20%;
  }
  .hero-inner {
    background: #1b1d22;
    min-height: 0;
  }
  .hero-stack {
    width: 100%;
    padding-block: 44px 60px;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .topic a {
    min-height: 0;
    padding: 28px 24px 30px;
  }
}

/* topics: Hundred-style drifting pill rows, sleep row first and dark */
.topics {
  padding-bottom: var(--section);
}
.topics-rows {
  display: grid;
  gap: 12px;
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--dur, 60s) linear infinite;
}
.marquee-track.is-reverse {
  animation-direction: reverse;
}
.topics-rows:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  flex: none;
  gap: 12px;
  padding-right: 12px;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.pill-row span {
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.pill-row.is-dark span {
  background: var(--midnight);
  color: var(--on-dark);
}
@media (max-width: 900px) {
  .pill-row span {
    height: 46px;
    padding: 0 20px;
    font-size: 18px;
  }
  .topics-rows,
  .marquee-group {
    gap: 8px;
  }
  .marquee-group {
    padding-right: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  .marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* marquee speeds live here (inline styles are blocked by the CSP) */
.pill-row:nth-child(1) .marquee-track { --dur: 60s; }
.pill-row:nth-child(2) .marquee-track { --dur: 72s; }
.pill-row:nth-child(3) .marquee-track { --dur: 66s; }

/* calibrate: the first step gets its own band */
.calibrate {
  background: var(--midnight);
  color: var(--on-dark);
  scroll-margin-top: 72px;
}
.calibrate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: end;
  padding-block: clamp(80px, 9vw, 128px);
}
.calibrate .label {
  color: var(--gold);
  margin-bottom: 24px;
}
.calibrate h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  max-width: 12ch;
}
.calibrate-body {
  display: grid;
  gap: 32px;
  max-width: 520px;
}
.calibrate-body p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--on-dark-muted);
}
.calibrate .module-cta small {
  color: var(--on-dark-muted);
}
.start-intro h3.label {
  font-size: 16px;
}
.letter-sub {
  max-width: 34em;
  margin: -12px auto 32px;
  color: var(--on-dark-muted);
}

/* newsletter pop-up */
.nl-pop {
  width: min(480px, calc(100vw - 32px));
  padding: 56px 44px 36px;
  border: 0;
  border-radius: 4px;
  background: var(--bone);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(17, 19, 21, 0.45);
}
.nl-pop::backdrop {
  background: rgba(17, 19, 21, 0.5);
  backdrop-filter: blur(3px);
}
.nl-pop[open] {
  animation: nl-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes nl-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.nl-pop .crest {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--midnight);
}
.nl-pop h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.2;
  text-wrap: balance;
}
.nl-pop p {
  margin: 14px auto 28px;
  max-width: 30em;
  color: var(--muted);
}
.nl-pop .letter-form {
  display: grid;
  gap: 12px;
  margin: 0;
}
.nl-pop .letter-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 4px;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font: 300 16px var(--sans);
  text-align: center;
}
.nl-pop .letter-form input::placeholder {
  color: var(--muted);
}
.nl-pop .letter-form input:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.nl-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.nl-close svg {
  width: 16px;
  height: 16px;
}
.nl-skip {
  min-height: 44px;
  margin-top: 8px;
  border: 0;
  background: none;
  color: var(--muted);
  font: 400 14px var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .nl-pop[open] {
    animation: none;
  }
}

@media (max-width: 900px) {
  .calibrate-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .nl-pop {
    padding: 48px 24px 28px;
  }
}

/* brand art: real imagery + real marks for Calibrate, Hundred and The Systems */
.brand-art {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--sand);
}
.brand-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.module-tile.brand-art::after {
  content: none;
}
.calibrate-grid {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.calibrate-art {
  background: #1d4f9c;
}
.calibrate-lockup {
  position: absolute;
  left: 28px;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #f3f2ee;
}
.calibrate-lockup img {
  width: 30px;
  height: 30px;
}
.calibrate-body {
  max-width: 540px;
}
.calibrate-body .label {
  color: var(--gold);
  margin-bottom: -12px;
}
.brand-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px;
}
.brand-title img {
  height: 36px;
  width: auto;
}
.brand-title .logo-hundred {
  height: 40px;
}
.systems-word {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.module-body .label {
  margin-bottom: -14px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .calibrate-grid {
    grid-template-columns: 1fr;
  }
}

/* partner marks set exactly as their live sites do */
.calibrate-lockup {
  font-family: "Plus Jakarta Sans", var(--sans);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.04em;
  gap: 8px;
}
.calibrate-lockup img {
  width: 29px;
  height: 29px;
}
.systems-word {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.calibrate-lockup {
  top: 26px;
  bottom: auto;
}

/* calibrate: product scene left, lockup sits with the copy */
.calibrate-grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.calibrate-art {
  aspect-ratio: 1672 / 941;
  background: #2a2520;
}
.calibrate-body .calibrate-lockup {
  position: static;
  margin: 4px 0 -8px;
}
.calibrate-body .label {
  margin-bottom: -18px;
}

.calibrate-art {
  aspect-ratio: 1600 / 698;
  background: #9cc3e6;
}
.module-tile.is-film {
  aspect-ratio: 1400 / 1013;
  background: #16120f;
}

.calibrate-art {
  aspect-ratio: 1600 / 556;
}
.module-tile.is-film {
  aspect-ratio: 8 / 11;
  max-height: 440px;
  justify-self: start;
}
.module-tile.is-film > img {
  object-fit: contain;
}
@media (min-width: 901px) {
  .calibrate-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .calibrate-body {
    max-width: 760px;
  }
}
.module-tile.is-film {
  width: 100%;
  max-height: none;
  justify-self: stretch;
  aspect-ratio: 8 / 11;
}
@media (max-width: 900px) {
  .module-tile.is-film {
    width: min(100%, 360px);
  }
}
@media (max-width: 900px) {
  .calibrate-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* calibrate: product card left, copy right (per client mock) */
@media (min-width: 901px) {
  .calibrate-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 96px);
    align-items: center;
  }
  .calibrate-body {
    max-width: 560px;
  }
}
.calibrate-card {
  margin: 0;
}
.calibrate-card img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}
.calibrate-body .label {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .calibrate-card {
    max-width: 420px;
    margin-inline: auto;
  }
}
.module-tile.is-film {
  aspect-ratio: 1200 / 1646;
}
.module-tile.is-film > img {
  object-fit: cover;
}
.module-body p.brand-title {
  margin: -8px 0 0;
}
.module-body p.brand-title .logo-hundred {
  height: 30px;
}

/* tap targets: 44px minimum everywhere */
.filters button {
  min-height: 44px;
}
.feature-actions .u-link,
.letter .u-link,
.facts .u-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav-links a,
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (min-width: 901px) and (max-width: 1199px) {
  .press ul {
    justify-content: center;
    gap: 14px 36px;
  }
}
.footer-cols a,
.footer-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.pill.is-sm {
  min-height: 40px;
}
@media (min-width: 901px) and (max-width: 1199px) {
  .hero-bg {
    object-position: 86% 30%;
  }
  .hero-stack {
    width: min(42%, 420px);
  }
  .hero-sub {
    font-size: 16px;
  }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .hero-bg {
    object-position: 92% 28%;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(27, 29, 34, 0.94) 0%, rgba(27, 29, 34, 0.86) 34%, rgba(27, 29, 34, 0) 58%);
    pointer-events: none;
  }
  .hero-inner {
    z-index: 1;
  }
  .hero-stack {
    width: min(40%, 400px);
  }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .hero-bg {
    z-index: 0;
  }
  .hero::before {
    z-index: 1;
  }
  .hero-inner {
    position: relative;
    z-index: 2;
  }
}
@media (min-width: 901px) and (max-width: 1199px) {
  .hero::before {
    background: linear-gradient(90deg, rgba(27, 29, 34, 0.94) 0%, rgba(27, 29, 34, 0.8) 32%, rgba(27, 29, 34, 0.35) 52%, rgba(27, 29, 34, 0) 72%);
  }
}

/* newsletter: Substack's official embed (direct form posts are rejected by Substack) */
.letter-embed {
  width: 100%;
  max-width: 480px;
  margin: 8px auto 0;
}
.letter-embed iframe {
  display: block;
  width: 100%;
  height: 150px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}
.letter-embed.is-pop {
  max-width: 400px;
  margin-top: 4px;
}
.nl-pop h2:focus {
  outline: none;
}

/* ---------------------------------------------------- ultrawide + polish */

/* header spans the full width like the hero */
.site-header .wrap {
  max-width: none;
}

/* very wide screens: show the whole portrait on the right, never crop his head */
@media (min-width: 1600px) and (min-aspect-ratio: 23/10) {
  .hero {
    background: #1f1d20;
  }
  .hero-bg {
    left: auto;
    right: 0;
    width: auto;
    max-width: none;
    height: 100%;
    aspect-ratio: 2400 / 1108;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  }
}
@media (min-width: 1600px) {
  .hero-bg {
    object-position: 72% 12%;
  }
}

/* calibrate: give the product card the room */
@media (min-width: 901px) {
  .calibrate-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: clamp(48px, 5vw, 88px);
  }
}

/* go further: two equal cards */
.further {
  padding: clamp(72px, 8vw, 112px) 0 clamp(80px, 9vw, 120px);
  background: var(--bone);
}
.further-title {
  margin: 0 0 40px;
  text-align: center;
}
.further-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
}
.further-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule-soft);
  scroll-margin-top: 90px;
}
.further-media {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
}
.further-media > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.further-media.is-systems {
  background: #0a0806;
}
.further-media.is-systems > img:first-child {
  object-fit: contain;
}
.further-mark {
  position: absolute;
  left: 24px;
  bottom: 22px;
  height: 34px;
  width: auto;
}
.further-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  padding: clamp(28px, 3vw, 44px);
}
.further-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.15;
}
.further-body p {
  margin: 0 0 8px;
  max-width: 34em;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}
.further-body .pill {
  margin-top: auto;
}
@media (max-width: 900px) {
  .further-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1800px) {
  :root {
    --max: 1680px;
  }
}
.further-media {
  aspect-ratio: 4 / 5;
}
.further-media.is-systems > img:first-child {
  object-fit: cover;
  object-position: center;
}
@media (min-width: 901px) {
  .further-media {
    aspect-ratio: 1 / 1;
  }
  .further-media.is-systems > img:first-child {
    object-fit: cover;
    object-position: center 50%;
    transform: scale(1);
  }
}
@media (min-width: 901px) {
  .further-media {
    aspect-ratio: 4 / 5;
  }
}
@media (min-width: 901px) {
  .further-grid {
    max-width: 1180px;
    margin-inline: auto;
  }
  .further-media {
    aspect-ratio: 1 / 1;
  }
  .further-media.is-systems > img:first-child {
    object-fit: contain;
    -webkit-mask-image: radial-gradient(ellipse 50% 58% at 50% 50%, #000 62%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 58% at 50% 50%, #000 62%, transparent 100%);
  }
}

/* card images click through like the buttons beneath them */
.media-link {
  display: block;
  color: inherit;
}
.media-link img {
  transition: transform 0.6s ease;
}
@media (hover: hover) {
  .media-link:hover img:not(.further-mark) {
    transform: scale(1.015);
  }
}

/* mobile hero: portrait crop on bone, type below in ink, no dark band */
@media (max-width: 900px) {
  .hero {
    background: var(--bone);
    color: var(--ink);
  }
  .hero picture {
    display: block;
    position: relative;
  }
  .hero picture::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 22%;
    background: linear-gradient(180deg, rgba(251, 250, 247, 0), var(--bone));
    pointer-events: none;
  }
  .hero-bg {
    display: block;
    width: 100%;
    aspect-ratio: 10 / 9;
    object-position: 50% 70%;
  }
  .hero-inner {
    background: var(--bone);
  }
  .hero-stack {
    padding-block: 8px 48px;
  }
  .hero-stack .crest {
    display: none;
  }
  .hero h1 {
    color: var(--ink);
    font-size: clamp(32px, 8.6vw, 44px);
    margin-bottom: 14px;
  }
  .hero-sub {
    max-width: 34ch;
    margin: 0 auto 28px;
    font-size: 16.5px;
    color: var(--muted);
  }
  .hero .pill.is-light {
    background: var(--midnight);
    color: var(--on-dark);
  }
  .hero .pill.is-outline {
    color: var(--ink);
    border-color: rgba(17, 19, 21, 0.35);
  }
  .hero .pill.is-outline:hover {
    border-color: var(--ink);
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .pill {
    padding-inline: 24px;
  }
}
@media (min-width: 600px) and (max-width: 900px) {
  .hero-bg {
    aspect-ratio: 5 / 4;
    object-position: 50% 30%;
  }
  .hero-stack {
    max-width: 560px;
    margin-inline: auto;
  }
}

/* guides row in the footer: internal links to the reference pages */
.footer-pages {
  margin-top: -24px;
  gap: 8px 32px;
}
.footer-pages a {
  color: var(--on-dark-muted);
}
.about-more {
  margin-top: 20px;
}
.further-body .module-cta {
  margin-top: auto;
}
