:root {
  --background: #ffffff;
  --text: #061a3a;
  --secondary: #31415f;
  --line: rgba(6, 26, 58, 0.16);
  --hover: #061a3a;
  --column-hover: rgba(6, 26, 58, 0.035);
  --panel-hover-background: #061a3a;
  --panel-hover-text: #ffffff;
  --heading-weight: 300;
  --edge: clamp(1.25rem, 3.2vw, 3.75rem);
  --header-height: 6.75rem;
  --footer-height: 4.75rem;
}

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

html {
  height: 100%;
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before,
.page-surface {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  content: "";
  z-index: -2;
  background: var(--background);
}

.page-surface {
  z-index: -1;
  opacity: 0.8;
}

.page-surface::before,
.page-surface::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(6, 26, 58, 0.025);
  background: rgba(6, 26, 58, 0.012);
}

.page-surface::before {
  inset: 13vh 14vw 18vh;
}

.page-surface::after {
  inset: 25vh 28vw 26vh;
  background: rgba(6, 26, 58, 0.01);
}

::selection {
  background: rgba(6, 26, 58, 0.16);
}

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

a:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 0.35rem;
}

p,
h1,
h2 {
  margin: 0;
}

button {
  font: inherit;
}

button:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 0.35rem;
}

.disclaimer-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: var(--edge);
  isolation: isolate;
}

.disclaimer-gate[hidden] {
  display: none;
}

.disclaimer-gate::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: var(--background);
  opacity: 1;
  transition: opacity 900ms ease;
}

.disclaimer-gate.is-exiting::before {
  opacity: 0;
}

.disclaimer-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(52rem, 100%);
  max-height: calc(100svh - (var(--edge) * 2));
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.9rem, 2vh, 1.35rem);
  overflow-y: auto;
  padding-right: clamp(0.2rem, 1vw, 0.75rem);
  color: var(--text);
  transition: opacity 700ms ease, transform 900ms ease;
}

.disclaimer-gate.is-exiting .disclaimer-panel {
  opacity: 0;
  transform: translateY(0.75rem);
}

.disclaimer-label {
  color: var(--secondary);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.disclaimer-panel h1 {
  max-width: 18ch;
  font-size: clamp(1.85rem, 3.5vw, 3.7rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1;
}

.disclaimer-copy {
  display: flex;
  max-width: 48rem;
  flex-direction: column;
  gap: 0.85rem;
}

.disclaimer-panel p:not(.disclaimer-label),
.disclaimer-list {
  color: var(--secondary);
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  font-weight: 300;
  line-height: 1.7;
}

.disclaimer-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.1rem;
}

.disclaimer-list li::marker {
  color: var(--text);
}

.disclaimer-button {
  margin-top: clamp(0.35rem, 1vh, 0.75rem);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.8rem 1rem;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 300ms ease, opacity 300ms ease, border-color 300ms ease;
}

.disclaimer-button:hover,
.disclaimer-button:focus-visible {
  border-color: var(--hover);
  color: var(--hover);
}

.site-header,
.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-right: var(--edge);
  padding-left: var(--edge);
  color: var(--secondary);
  font-size: clamp(0.66rem, 0.74vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header {
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: var(--header-height);
  font-weight: 400;
}

.brand-wordmark {
  grid-column: 2;
  justify-self: center;
  color: var(--text);
  font-family: Didot, "Bodoni 72", "Bodoni 72 Smallcaps", "Times New Roman",
    serif;
  font-size: clamp(0.7rem, 1.24vw, 1.14rem);
  font-weight: 400;
  letter-spacing: 0.028em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 300ms ease, opacity 300ms ease, border-color 300ms ease;
}

.brand-wordmark:hover,
.brand-wordmark:focus-visible {
  color: var(--hover);
}

.site-nav {
  grid-column: 3;
  justify-self: end;
  display: flex;
  justify-content: flex-end;
}

.site-nav a,
.site-footer a {
  transition: color 300ms ease, opacity 300ms ease, border-color 300ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--hover);
}

.contact-button {
  border: 1px solid var(--line);
  padding: 0.62rem 0.86rem;
  color: var(--text);
  font-family: "Inter", sans-serif;
  letter-spacing: 0.18em;
}

.contact-button:hover,
.contact-button:focus-visible {
  border-color: var(--hover);
}

.landing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: 100vh;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: var(--footer-height);
}

.panel {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 0;
  align-items: center;
  cursor: pointer;
  padding: clamp(2rem, 5vw, 5.75rem);
  transition: color 300ms ease, opacity 300ms ease, border-color 300ms ease, background-color 300ms ease;
}

.panel::before {
  position: absolute;
  inset: calc(-1 * var(--header-height)) 0 calc(-1 * var(--footer-height));
  z-index: 0;
  content: "";
  background: var(--panel-hover-background);
  opacity: 0;
  pointer-events: none;
  transition: opacity 480ms ease;
}

.panel:hover::before,
.panel:focus-visible::before,
.panel:focus-within::before {
  opacity: 1;
}

.panel-copy {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 28rem;
  min-height: clamp(17rem, 31vh, 24rem);
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 520ms ease;
}

.panel:hover .panel-copy,
.panel:focus-visible .panel-copy,
.panel:focus-within .panel-copy {
  transform: translateY(-0.35rem);
}

h1,
h2 {
  color: var(--text);
  font-size: clamp(2.2rem, 3.85vw, 4.7rem);
  font-family: "Inter", sans-serif;
  font-weight: var(--heading-weight);
  letter-spacing: 0.01em;
  line-height: 1;
  transition: color 360ms ease 75ms, opacity 300ms ease, border-color 300ms ease;
}

.panel-description {
  max-width: 21rem;
  margin-top: clamp(1.2rem, 2.2vh, 1.9rem);
  color: var(--secondary);
  font-size: clamp(0.82rem, 0.9vw, 0.95rem);
  font-weight: 300;
  line-height: 1.75;
  transition: color 360ms ease 75ms, opacity 300ms ease, border-color 300ms ease;
}

.landing .panel-description {
  min-height: clamp(4.7rem, 8.5vh, 6.25rem);
}

.panel-description--compact {
  margin-top: 0.85rem;
}

.panel-link {
  position: relative;
  width: fit-content;
  margin-top: clamp(1.8rem, 3.5vh, 3rem);
  padding-bottom: 0.38rem;
  color: var(--text);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  transition: color 360ms ease 75ms, opacity 300ms ease, letter-spacing 420ms ease;
}

.panel-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.65;
  transform: scaleX(1);
  transform-origin: left;
  transition: opacity 360ms ease, transform 520ms ease;
}

.panel-link::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 180ms ease, transform 620ms ease;
}

.letter-list {
  display: grid;
  gap: 0.85rem;
  width: min(22rem, 100%);
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
}

.letter-link {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  transition: color 300ms ease, opacity 300ms ease, border-color 300ms ease;
}

.letter-link:hover,
.letter-link:focus-visible {
  border-color: var(--hover);
  color: var(--hover);
}

.letter-link span:last-child {
  color: var(--secondary);
}

.letter-list-empty {
  max-width: 18rem;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.65;
}

.panel:hover h1,
.panel:hover h2,
.panel:hover .panel-description,
.panel:hover .panel-link,
.panel:focus-visible h1,
.panel:focus-visible h2,
.panel:focus-visible .panel-description,
.panel:focus-visible .panel-link,
.panel:focus-within h1,
.panel:focus-within h2,
.panel:focus-within .panel-description,
.panel:focus-within .panel-link {
  color: var(--panel-hover-text);
}

.panel:hover .panel-link,
.panel:focus-visible .panel-link,
.panel:focus-within .panel-link {
  letter-spacing: 0.28em;
}

.panel:hover .panel-link::after,
.panel:focus-visible .panel-link::after,
.panel:focus-within .panel-link::after {
  opacity: 0.28;
}

.panel:hover .panel-link::before,
.panel:focus-visible .panel-link::before,
.panel:focus-within .panel-link::before {
  opacity: 1;
  transform: scaleX(1.12);
}

body:has(.panel:hover) .brand-wordmark,
body:has(.panel:focus-visible) .brand-wordmark,
body:has(.panel:focus-within) .brand-wordmark,
body:has(#insights:hover) .contact-button,
body:has(#insights:focus-visible) .contact-button,
body:has(#insights:focus-within) .contact-button {
  border-color: var(--panel-hover-text);
  color: var(--panel-hover-text);
}

body:has(.panel:hover) .site-footer,
body:has(.panel:focus-visible) .site-footer,
body:has(.panel:focus-within) .site-footer {
  color: var(--panel-hover-text);
}

.detail-page {
  overflow: hidden;
}

.detail-layout {
  display: grid;
  height: 100vh;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  column-gap: clamp(2rem, 8vw, 8rem);
  align-content: center;
  padding: var(--header-height) var(--edge) var(--footer-height);
}

.detail-kicker,
.detail-link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.detail-kicker {
  grid-column: 1 / -1;
  margin-bottom: clamp(1.5rem, 4vh, 3rem);
  color: var(--secondary);
}

.detail-layout h1 {
  max-width: 11ch;
  color: var(--text);
  font-size: clamp(2.45rem, 5.5vw, 6.25rem);
  font-family: "Inter", sans-serif;
  font-weight: var(--heading-weight);
  letter-spacing: 0.01em;
  line-height: 0.98;
}

.detail-layout h1.detail-title--wide {
  max-width: 100%;
}

.nowrap {
  white-space: nowrap;
}

.detail-copy {
  display: flex;
  max-width: 38rem;
  flex-direction: column;
  gap: 1rem;
  align-self: end;
  color: var(--secondary);
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  font-weight: 300;
  line-height: 1.85;
}

.detail-layout--top-align .detail-copy {
  align-self: start;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.55rem clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.55;
  white-space: nowrap;
  text-transform: uppercase;
}

.detail-link {
  grid-column: 2;
  width: fit-content;
  margin-top: clamp(2rem, 4vh, 3rem);
  padding-bottom: 0.38rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: color 300ms ease, opacity 300ms ease, border-color 300ms ease;
}

.detail-link:hover,
.detail-link:focus-visible {
  border-color: var(--hover);
  color: var(--hover);
}

.inline-link {
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color 300ms ease, opacity 300ms ease, border-color 300ms ease;
}

.inline-link:hover,
.inline-link:focus-visible {
  border-color: var(--hover);
  color: var(--hover);
}

.insights-landing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 100vh;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: var(--footer-height);
}

.insights-panel {
  display: flex;
  min-height: 0;
  align-items: start;
  padding: clamp(2rem, 5vw, 5.75rem);
  padding-top: clamp(6.75rem, 25vh, 11rem);
  transition: color 300ms ease, opacity 300ms ease, border-color 300ms ease, background-color 300ms ease;
}

.insights-panel:hover {
  background: var(--column-hover);
}

.insights-panel-copy {
  display: flex;
  width: 100%;
  max-width: 30rem;
  min-height: clamp(17rem, 31vh, 24rem);
  flex-direction: column;
  justify-content: flex-start;
}

.insights-panel h1,
.insights-panel h2 {
  color: var(--text);
  font-size: clamp(2.2rem, 3.85vw, 4.7rem);
  font-family: "Inter", sans-serif;
  font-weight: var(--heading-weight);
  letter-spacing: 0.01em;
  line-height: 1;
  transition: color 300ms ease, opacity 300ms ease, border-color 300ms ease;
}

.podcast-logo-link {
  position: relative;
  display: block;
  width: 9.5rem;
  max-width: 100%;
  opacity: 0.88;
  transform: translateY(-5.05rem);
  transition: color 300ms ease, opacity 300ms ease, border-color 300ms ease;
}

.podcast-logo-link::after {
  position: absolute;
  inset: 0 0 -4rem;
  content: "";
}

.podcast-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9.5rem;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  margin-top: clamp(1.2rem, 2.2vh, 1.9rem);
}

.podcast-content .panel-description {
  margin-top: 0;
}

.podcast-content .panel-description--compact {
  margin-top: 0.85rem;
}

.podcast-logo-link:hover,
.podcast-logo-link:focus-visible {
  opacity: 1;
}

.podcast-logo-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.site-footer {
  bottom: 0;
  min-height: var(--footer-height);
}

@media (max-width: 700px) {
  :root {
    --header-height: 6.5rem;
    --footer-height: 5.25rem;
    --edge: 1rem;
  }

  .site-header {
    grid-template-columns: minmax(4rem, 1fr) auto minmax(4rem, 1fr);
    align-items: center;
  }

  .brand-wordmark {
    font-size: clamp(0.61rem, 2.15vw, 0.9rem);
    letter-spacing: 0.022em;
  }

  .landing {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    height: 100svh;
    overflow: hidden;
  }

  .insights-landing {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100svh;
    overflow-y: auto;
  }

  .panel {
    align-items: center;
    min-height: 0;
    padding: 0.9rem clamp(1.15rem, 5vw, 2rem);
    border-top: 0;
  }

  .panel-copy {
    width: 100%;
    max-width: 24rem;
    min-height: 0;
  }

  .landing .panel-description {
    min-height: 0;
    max-width: 23rem;
    margin-top: 0.6rem;
  }

  .insights-panel {
    min-height: calc((100svh - var(--header-height) - var(--footer-height)) / 2);
    align-items: center;
    padding: 1.2rem 1rem;
  }

  .insights-panel-copy {
    min-height: 0;
  }

  .podcast-logo-link {
    margin-top: 1.25rem;
    transform: none;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
    align-content: center;
  }

  .detail-kicker {
    margin-bottom: 0;
  }

  .detail-layout h1 {
    max-width: 14ch;
    font-size: clamp(2rem, 8vw, 4rem);
  }

  .detail-copy {
    align-self: start;
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .detail-link {
    grid-column: 1;
    margin-top: 0.5rem;
  }

  h1,
  h2 {
    font-size: clamp(1.45rem, 6.8vw, 3.2rem);
    line-height: 1;
  }

  .panel-description {
    margin-top: 0.85rem;
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .panel-link {
    margin-top: 1rem;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 5.65rem;
    --footer-height: 4.35rem;
  }

  .site-footer {
    gap: 0.75rem;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }

  .site-header {
    grid-template-columns: minmax(3.5rem, 1fr) auto minmax(3.5rem, 1fr);
    font-size: 0.62rem;
    letter-spacing: 0.13em;
  }

  .brand-wordmark {
    font-size: clamp(0.52rem, 2.22vw, 0.66rem);
  }

  .contact-button {
    padding: 0.48rem 0.56rem;
  }

  .site-footer {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .site-footer p {
    max-width: 12.5rem;
    line-height: 1.45;
  }

  .landing {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, minmax(0, 1fr));
    height: 100svh;
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);
  }

  .panel {
    align-items: center;
    padding: 0.75rem clamp(1.1rem, 6vw, 2rem);
  }

  .panel-copy {
    width: 100%;
    max-width: 24rem;
    min-height: 0;
  }

  .landing .panel-description {
    min-height: 0;
    max-width: 23rem;
    margin-top: 0.55rem;
  }

  .insights-panel {
    padding: 1rem 0.85rem;
  }

  h1,
  h2,
  .insights-panel h1,
  .insights-panel h2 {
    font-size: clamp(1.55rem, 7.7vw, 3.25rem);
  }

  .panel-description {
    font-size: 0.76rem;
    line-height: 1.48;
  }

  .panel-link {
    margin-top: 0.7rem;
  }

  body.detail-page {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
  }

  .detail-page {
    overflow-y: auto;
  }

  .detail-layout {
    height: auto;
    min-height: 100svh;
    align-content: start;
    padding-top: calc(var(--header-height) + 1.75rem);
    padding-bottom: calc(var(--footer-height) + 1.75rem);
  }

  .detail-list {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .detail-list li {
    font-size: 0.66rem;
  }

  .insights-landing {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100svh;
    overflow-y: auto;
  }

  .insights-panel {
    min-height: calc((100svh - var(--header-height) - var(--footer-height)) / 2);
    align-items: center;
  }

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

  .podcast-logo-link {
    width: 7.5rem;
    margin-top: 0.9rem;
    transform: none;
  }
}

@media (max-width: 430px) {
  .panel {
    padding: 0.65rem 1rem;
  }

  .insights-panel {
    padding: 0.8rem 0.65rem;
  }

  h1,
  h2,
  .insights-panel h1,
  .insights-panel h2 {
    font-size: clamp(1.15rem, 6.5vw, 1.9rem);
  }

  .panel-description {
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .panel-link {
    margin-top: 0.6rem;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }

  .detail-layout h1 {
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }

  .detail-copy {
    font-size: 0.76rem;
  }
}

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

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