:root {
  --fcl-paper: #e9eee8;
  --fcl-paper-warm: #eee6d7;
  --fcl-aqua: #9fdcd8;
  --fcl-aqua-deep: #318f91;
  --fcl-coral: #e48773;
  --fcl-violet: #8174a7;
  --fcl-ink: #162a2d;
  --fcl-ink-soft: #496467;
}

.fcl-page {
  background: var(--fcl-paper);
  color: var(--fcl-ink);
}

html[data-theme] body.fcl-page:not(.menu-open) .edition-masthead {
  color: var(--fcl-ink);
}

html[data-theme] body.fcl-page:not(.menu-open) .edition-masthead::after {
  background: linear-gradient(180deg, rgba(235, 239, 230, .9), rgba(235, 239, 230, .58) 46%, transparent);
}

html[data-theme="light"] body.fcl-page:not(.menu-open) .edition-masthead .masthead-brand__dark { opacity: 1; }
html[data-theme="light"] body.fcl-page:not(.menu-open) .edition-masthead .masthead-brand__light { opacity: 0; }

html[data-theme="dark"] {
  --fcl-paper: #091416;
  --fcl-paper-warm: #122021;
  --fcl-aqua: #75c9c8;
  --fcl-aqua-deep: #8bdad7;
  --fcl-coral: #e18b79;
  --fcl-violet: #a99bd1;
  --fcl-ink: #f1eee6;
  --fcl-ink-soft: #b9cdca;
}

html[data-theme="dark"] body.fcl-page:not(.menu-open) .edition-masthead::after {
  background: linear-gradient(180deg, rgba(9, 20, 22, .94), rgba(9, 20, 22, .62) 46%, transparent);
}
html[data-theme="dark"] body.fcl-page:not(.menu-open) .edition-masthead .masthead-brand__dark { opacity: 0; }
html[data-theme="dark"] body.fcl-page:not(.menu-open) .edition-masthead .masthead-brand__light { opacity: 1; }

.fcl-page::selection {
  color: var(--fcl-ink);
  background: var(--fcl-coral);
}

.fcl-cinematic {
  position: relative;
  color: var(--fcl-ink);
  background: var(--fcl-paper);
}

.fcl-cinematic__stage {
  isolation: isolate;
  min-height: 100svh;
  overflow: clip;
  background: linear-gradient(135deg, #e7eee7, #d9ece7 54%, #eadfd0);
}

.fcl-cinematic__stage::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(237, 239, 230, .88) 0%, rgba(237, 239, 230, .36) 27%, transparent 44%),
    linear-gradient(270deg, rgba(231, 239, 232, .72) 0%, transparent 34%),
    linear-gradient(180deg, rgba(231, 239, 232, .8) 0%, transparent 22%, transparent 75%, rgba(233, 230, 218, .72) 100%);
  pointer-events: none;
}

.fcl-cinematic__stage[data-sc-spotlight]::after {
  z-index: 4;
  background: radial-gradient(
    24rem 24rem at calc(var(--sc-mx, .5) * 100%) calc(var(--sc-my, .5) * 100%),
    rgba(159, 220, 216, .34),
    rgba(228, 135, 115, .12) 38%,
    transparent 72%
  );
  mix-blend-mode: soft-light;
}

.fcl-cinematic__media,
.fcl-cinematic__media .sc-stage__poster,
.fcl-cinematic__media .sc-stage__poster img,
.fcl-cinematic__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fcl-cinematic__media {
  z-index: 0;
  margin: 0;
  overflow: hidden;
}

.fcl-cinematic__media .sc-stage__poster img,
.fcl-cinematic__media video {
  max-width: none;
  object-fit: cover;
  object-position: 50% 52%;
}

.fcl-cinematic__media figcaption {
  position: absolute;
  z-index: 7;
  top: calc(var(--header-h) + 1rem);
  right: var(--gutter);
  display: flex;
  gap: 1.25rem;
  margin: 0;
  color: rgba(22, 42, 45, .76);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fcl-split {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.fcl-split__field {
  position: absolute;
  inset: 0 50% 0 0;
  background: linear-gradient(90deg, rgba(230, 229, 215, .28), rgba(224, 235, 228, .08));
  opacity: calc(1 - var(--sc-p, 0));
}

.fcl-split__line {
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: calc(50% - (var(--sc-p, 0) * 38%));
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(49, 143, 145, .64) 25%, rgba(228, 135, 115, .72) 68%, transparent);
  box-shadow: 0 0 2rem rgba(159, 220, 216, .4);
}

.fcl-refraction {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.fcl-refraction__beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(42vw, 42rem);
  height: 1px;
  transform: translateY(-50%) rotate(calc((var(--sc-mx, .5) - .5) * 5deg));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(255, 255, 255, .15), rgba(49, 143, 145, .74), rgba(228, 135, 115, .5), transparent);
}

.fcl-refraction__term {
  position: absolute;
  color: rgba(22, 42, 45, .74);
  font-size: clamp(.72rem, .8vw, .9rem);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.fcl-refraction__term--one { top: 27%; right: 9%; }
.fcl-refraction__term--two { top: 40%; right: 16%; }
.fcl-refraction__term--three { top: 57%; right: 10%; }
.fcl-refraction__term--four { top: 71%; right: 18%; }

.fcl-beat {
  position: absolute;
  z-index: 8;
  width: min(38rem, calc(50vw - (2 * var(--gutter))));
  text-wrap: pretty;
}

.fcl-beat::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -3.5rem -4rem;
  background: radial-gradient(ellipse at center, rgba(239, 240, 230, .9), rgba(239, 240, 230, .5) 46%, transparent 74%);
  pointer-events: none;
}

.fcl-beat h1,
.fcl-beat h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.fcl-beat h1 {
  font-size: clamp(5rem, 9.2vw, 11.5rem);
  line-height: .78;
}

.fcl-beat h2 {
  font-size: clamp(3.6rem, 6.6vw, 8.4rem);
  line-height: .84;
}

.fcl-beat > p:not(.fcl-edition, .fcl-beat__index) {
  max-width: 34rem;
  margin: 1.3rem 0 0;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.62;
}

.fcl-edition,
.fcl-beat__index,
.fcl-threshold__label {
  margin: 0 0 1rem;
  color: var(--fcl-ink-soft);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fcl-beat--opening {
  top: calc(var(--header-h) + clamp(3.5rem, 10vh, 8rem));
  left: var(--gutter);
  width: min(46rem, calc(52vw - var(--gutter)));
}

.fcl-beat--opening .fcl-dek {
  max-width: 32rem;
  margin-top: 1.7rem;
}

.fcl-beat--opening .article-meta {
  margin-top: 1.6rem;
  color: var(--fcl-ink-soft);
}

.fcl-beat--opening .article-taxonomy {
  margin-top: .8rem;
}

.fcl-beat--opening .article-taxonomy a {
  color: var(--fcl-ink);
}

.fcl-beat--question { right: var(--gutter); bottom: clamp(5rem, 12vh, 9rem); }
.fcl-beat--friction { top: 25%; left: var(--gutter); }
.fcl-beat--clarity { right: var(--gutter); bottom: clamp(5rem, 11vh, 8rem); }
.fcl-beat--resolve { top: 24%; left: var(--gutter); width: min(49rem, calc(55vw - var(--gutter))); }
.fcl-beat--resolve h2 span { display: block; }
.fcl-beat--resolve h2 span:nth-child(2) { color: var(--fcl-aqua-deep); }
.fcl-beat--resolve h2 span:nth-child(3) { color: #a74f43; }

.fcl-progress {
  position: absolute;
  z-index: 9;
  right: var(--gutter);
  bottom: 1.2rem;
  left: var(--gutter);
  height: 1px;
  background: rgba(22, 42, 45, .16);
  pointer-events: none;
}

.fcl-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--sc-p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--fcl-aqua-deep), var(--fcl-coral));
}

.fcl-disclosure {
  position: relative;
  z-index: 2;
  color: var(--fcl-ink);
  border-color: rgba(22, 42, 45, .16);
  background: #dbe8df;
}

.fcl-threshold {
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(10rem, .28fr) minmax(0, 1fr);
  gap: 2rem clamp(3rem, 8vw, 9rem);
  align-items: start;
  padding: clamp(7rem, 12vw, 12rem) var(--gutter);
  color: var(--fcl-ink);
  background:
    radial-gradient(circle at 82% 24%, rgba(228, 135, 115, .32), transparent 27%),
    radial-gradient(circle at 20% 80%, rgba(159, 220, 216, .52), transparent 34%),
    var(--fcl-paper-warm);
}

.fcl-threshold > div { max-width: 72rem; }
.fcl-threshold h2 { margin: 0; font-family: var(--font-display); font-size: clamp(4.8rem, 10vw, 12rem); font-weight: 400; line-height: .78; letter-spacing: -.075em; }
.fcl-threshold > div > p { max-width: 42rem; margin: 2.5rem 0 0; font-size: clamp(1.08rem, 1.45vw, 1.35rem); line-height: 1.65; }
.fcl-threshold a { min-height: 3.2rem; display: inline-flex; align-items: center; gap: 2rem; margin-top: 3rem; padding: .8rem 0; border-bottom: 1px solid currentColor; font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.fcl-threshold a:hover,
.fcl-threshold a:focus-visible { color: #884035; }

.fcl-related {
  color: var(--fcl-ink);
  background: #c9dfd9;
}

.fcl-related article img {
  background: #dfeae4;
}

html[data-theme="dark"] .fcl-cinematic__stage {
  background: linear-gradient(135deg, #0a1718, #112424 54%, #211c1a);
}
html[data-theme="dark"] .fcl-cinematic__media .sc-stage__poster img,
html[data-theme="dark"] .fcl-cinematic__media video {
  filter: brightness(.76) saturate(1.08) contrast(1.04);
}
html[data-theme="dark"] .fcl-cinematic__stage::before {
  background:
    linear-gradient(90deg, rgba(7, 18, 20, .9) 0%, rgba(7, 18, 20, .46) 27%, transparent 46%),
    linear-gradient(270deg, rgba(8, 21, 22, .76) 0%, transparent 35%),
    linear-gradient(180deg, rgba(7, 18, 20, .88) 0%, transparent 24%, transparent 70%, rgba(15, 22, 20, .82) 100%);
}
html[data-theme="dark"] .fcl-beat::before {
  background: radial-gradient(ellipse at center, rgba(8, 20, 21, .92), rgba(8, 20, 21, .56) 48%, transparent 75%);
}
html[data-theme="dark"] .fcl-cinematic__media figcaption,
html[data-theme="dark"] .fcl-refraction__term { color: rgba(241, 238, 230, .78); }
html[data-theme="dark"] .fcl-split__field { background: linear-gradient(90deg, rgba(12, 29, 29, .34), rgba(12, 29, 29, .08)); }
html[data-theme="dark"] .fcl-progress { background: rgba(241, 238, 230, .2); }
html[data-theme="dark"] .fcl-disclosure {
  color: var(--fcl-ink);
  border-color: rgba(139, 218, 215, .2);
  background: #102322;
}
html[data-theme="dark"] .fcl-threshold {
  color: var(--fcl-ink);
  background:
    radial-gradient(circle at 82% 24%, rgba(225, 139, 121, .2), transparent 27%),
    radial-gradient(circle at 20% 80%, rgba(117, 201, 200, .24), transparent 34%),
    var(--fcl-paper-warm);
}
html[data-theme="dark"] .fcl-threshold a:hover,
html[data-theme="dark"] .fcl-threshold a:focus-visible { color: #f3a896; }
html[data-theme="dark"] .fcl-related { color: var(--fcl-ink); background: #102725; }
html[data-theme="dark"] .fcl-related article img { background: #132e2b; }

.fcl-page,
.fcl-cinematic,
.fcl-cinematic__stage,
.fcl-cinematic__media .sc-stage__poster img,
.fcl-cinematic__media video,
.fcl-disclosure,
.fcl-threshold,
.fcl-related {
  transition: color 260ms var(--motion-fluid), background-color 260ms var(--motion-fluid), border-color 260ms var(--motion-fluid), filter 260ms var(--motion-fluid);
}

html:not(.fcl-enhanced) .fcl-cinematic {
  height: auto !important;
}

html:not(.fcl-enhanced) .fcl-cinematic__stage {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: visible;
}

html:not(.fcl-enhanced) .fcl-cinematic__media {
  position: relative;
  height: min(78svh, 54rem);
}

html:not(.fcl-enhanced) .fcl-cinematic__media video,
html:not(.fcl-enhanced) .fcl-split,
html:not(.fcl-enhanced) .fcl-refraction,
html:not(.fcl-enhanced) .fcl-progress {
  display: none;
}

html:not(.fcl-enhanced) .fcl-beat {
  position: relative;
  inset: auto;
  width: min(100% - (2 * var(--gutter)), 62rem);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) 0;
  opacity: 1 !important;
  transform: none !important;
}

html:not(.fcl-enhanced) .fcl-beat + .fcl-beat {
  border-top: 1px solid rgba(22, 42, 45, .14);
}

html:not(.fcl-enhanced) .fcl-beat::before { content: none; }
html:not(.fcl-enhanced) .fcl-beat--opening { padding-top: 4rem; }
html:not(.fcl-enhanced) .fcl-beat h1,
html:not(.fcl-enhanced) .fcl-beat h2 { max-width: 12ch; }

@media (max-width: 900px) {
  .fcl-cinematic__stage::before {
    background:
      linear-gradient(180deg, rgba(235, 239, 230, .92) 0%, rgba(235, 239, 230, .42) 28%, transparent 43%, transparent 65%, rgba(235, 232, 219, .84) 100%),
      linear-gradient(90deg, rgba(232, 239, 231, .4), transparent 32%, transparent 70%, rgba(232, 239, 231, .3));
  }

  .fcl-cinematic__media figcaption {
    top: auto;
    right: var(--gutter);
    bottom: 1rem;
    left: var(--gutter);
    justify-content: space-between;
    font-size: .62rem;
  }

  .fcl-beat,
  .fcl-beat--opening,
  .fcl-beat--resolve {
    right: var(--gutter);
    left: var(--gutter);
    width: auto;
  }

  .fcl-beat h1 { font-size: clamp(4rem, 16vw, 7rem); }
  .fcl-beat h2 { font-size: clamp(3rem, 13vw, 5.5rem); }
  .fcl-beat > p:not(.fcl-edition, .fcl-beat__index) { max-width: 31rem; font-size: 1rem; line-height: 1.55; }
  .fcl-beat--opening { top: calc(var(--header-h) + 2.6rem); bottom: auto; }
  .fcl-beat--opening .fcl-dek { max-width: 28rem; }
  .fcl-beat--question { top: auto; bottom: 5rem; }
  .fcl-beat--friction { top: calc(var(--header-h) + 18vh); bottom: auto; }
  .fcl-beat--clarity { top: auto; bottom: 5rem; }
  .fcl-beat--resolve { top: calc(var(--header-h) + 15vh); bottom: auto; }
  .fcl-beat--resolve h2 { max-width: 9ch; }
  .fcl-refraction__term--one { top: 36%; right: 8%; }
  .fcl-refraction__term--two { top: 44%; right: auto; left: 8%; }
  .fcl-refraction__term--three { top: 55%; right: 8%; }
  .fcl-refraction__term--four { top: 63%; right: auto; left: 8%; }
  .fcl-split__line { top: 16%; bottom: 16%; }

  .fcl-threshold { min-height: auto; grid-template-columns: 1fr; padding-block: 6rem; }
  .fcl-threshold h2 { font-size: clamp(4.3rem, 17vw, 7.5rem); }
}

@media (max-width: 560px) {
  .fcl-cinematic__media .sc-stage__poster img,
  .fcl-cinematic__media video { object-position: 50% 52%; }
  .fcl-cinematic__media figcaption span:last-child { display: none; }
  .fcl-beat::before { inset: -2rem -1rem; }
  .fcl-beat--opening .article-meta { gap: .45rem .85rem; font-size: .72rem; }
  .fcl-beat--opening .article-taxonomy { gap: .45rem; }
  .fcl-edition,
  .fcl-beat__index { font-size: .68rem; }
  .fcl-threshold a { width: 100%; justify-content: space-between; }
  html:not(.fcl-enhanced) .fcl-cinematic__media { height: 68svh; }
}

@media (max-width: 360px) {
  .fcl-refraction__term { display: none; }
  .fcl-beat h1 { font-size: 3.45rem; }
  .fcl-beat h2 { font-size: 2.75rem; }
  .fcl-beat > p:not(.fcl-edition, .fcl-beat__index) { font-size: 1rem; }
  .fcl-beat--opening { top: calc(var(--header-h) + 1.6rem); }
  .fcl-beat--opening .fcl-dek { margin-top: 1rem; line-height: 1.45; }
  .fcl-beat--opening .article-meta { margin-top: 1rem; }
  .fcl-beat--question,
  .fcl-beat--clarity { bottom: 4rem; }
}

@media (orientation: landscape) and (max-height: 520px) {
  .fcl-cinematic__media figcaption,
  .fcl-refraction__term { display: none; }
  .fcl-beat,
  .fcl-beat--opening,
  .fcl-beat--resolve { top: calc(var(--header-h) + 1rem); right: var(--gutter); bottom: auto; left: auto; width: min(43vw, 30rem); }
  .fcl-beat--question,
  .fcl-beat--clarity { top: auto; bottom: 1.6rem; }
  .fcl-beat h1 { font-size: clamp(3rem, 8vw, 5rem); }
  .fcl-beat h2 { font-size: clamp(2.5rem, 7vw, 4.2rem); }
  .fcl-beat > p:not(.fcl-edition, .fcl-beat__index) { margin-top: .7rem; font-size: .9rem; line-height: 1.4; }
  .fcl-beat--opening .fcl-dek { max-width: 30rem; margin-top: .7rem; }
  .fcl-beat--opening .article-meta,
  .fcl-beat--opening .article-taxonomy { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fcl-cinematic__stage[data-sc-spotlight]::after { display: none; }
  .fcl-cinematic__media .sc-stage__poster { transition: none; }
}

/* Reserve the first cinematic composition before its controller arrives. */
html.fcl-preparing .fcl-cinematic { height: 880vh; }
html.fcl-preparing .fcl-beat:not(.fcl-beat--opening) { opacity: 0; pointer-events: none; }
