@charset "UTF-8";

/* ==========================================================================
   SCROLLYTELLING STYLE GUIDE (CLEAN)
   - White page + black body text
   - NYT split hero with Børsen magenta left + hero caption under photo (right aligned)
   - Inline images breakout wider than text, centered, no effects
   - Captions dark grey
   ========================================================================== */

:root{
  --borsen-magenta:#ff5073;

  --bg:#f7f6f6;
  --text:#282828;
  --muted: rgba(252, 252, 252, 0.7);
  --caption: rgba(36, 35, 35, 0.58);
  --line: rgba(255, 255, 255, 0.775);
}

/* ==========================================================================
   BØRSEN BRAND FONTS
   ========================================================================== */

@font-face{
  font-family: "TiemposHeadline";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/tiempos/headline/tiempos-headline-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "TiemposFine";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/tiempos/fine/tiempos-fine-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "TiemposText";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/tiempos/text/tiempos-text-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "TiemposText";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/tiempos/text/tiempos-text-regular-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face{
  font-family: "TiemposText";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/tiempos/text/tiempos-text-semibold.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "TiemposText";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/tiempos/text/tiempos-text-semibold-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face{
  font-family: "GTAmerica";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/gt-america/gt-america-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "GTAmerica";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/gt-america/gt-america-regular-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face{
  font-family: "GTAmerica";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/gt-america/gt-america-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "GTAmerica";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/gt-america/gt-america-medium-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face{
  font-family: "GTAmericaCondensed";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/gt-america/condensed/gt-america-condensed-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "GTAmericaCondensed";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/gt-america/condensed/gt-america-condensed-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Gazpacho";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/gazpacho/gazpacho-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Gazpacho";
  src: url("https://cdn.borsen.cloud/sites/borsendk/fonts/borsen-fonts/gazpacho/gazpacho-black.woff2") format("woff2");
    font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* Base */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: transparent;
  color: inherit;
}

/* ===== NYT SPLIT HERO (caption under hele hero) ===== */
.nyt-hero{
  min-height: 100vh;
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: 1fr auto;
  background:#fff;
}

/* Masthead / logo */
.nyt-hero__masthead{
  position: absolute;
  top: clamp(18px, 2vw, 32px);
  left: 50%;
  transform: translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
}

.nyt-hero__logo{
  height: 20px;
  width: auto;
  display:block;
}

/* LEFT */
.nyt-hero__left{
  grid-column: 1;
  grid-row: 1;

  position: relative;

  display:flex;
  align-items:center;
  justify-content:center;

  padding: clamp(28px, 5vw, 72px);
  background: #fff;
}

.nyt-hero__copy{
  /* EDIT THESE TWO */
  --hed-width: 32rem;  /* fx 600px / 36rem / 42ch */
  --dek-width: 40rem;  /* fx 460px / 30rem / 50ch */
  width: min(760px, 92%);
  text-align: center;
  color:#474747;
}

.nyt-hero__kicker{
  font: 700 12px/1 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #3b3b3b;
  margin-bottom: 16px;
  text-align: center;
}

.nyt-hero__headline{
  font-family: "TiemposText", Georgia, serif;
  font-weight: 300;        /* MUST match Gazpacho bold */
  font-size: clamp(44px, 5.3vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 18px 0 14px 0;

  width: var(--hed-width, 34rem);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.nyt-hero__dek{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.55;
  color: #111;
  margin:0;

  width: var(--dek-width, 32rem);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* RIGHT */
.nyt-hero__right{
  grid-column: 2;
  grid-row: 1;
  background:#fff;
  min-height: 100%;
}

.nyt-hero__image{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position:center;
  display:block;
}

/* CAPTION ROW */
.nyt-hero__caption-row{
  grid-column: 1 / -1;
  grid-row: 2;

  background:#fff;
  padding: 8px 0 10px 0;
  border-top: 1px solid rgba(0,0,0,.10);
}

.nyt-hero__caption{
  margin: 0;
  width: min(520px, 92%);
  margin-left: auto;
  padding: 0 14px;

  font: 12px/1.3 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(0,0,0,.58);
  text-align: right;
}

/* Responsive */
@media (max-width: 900px){
  .nyt-hero{
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .nyt-hero__left{
    grid-column: 1;
    grid-row: 1;
    padding: 26px 20px;
  }

  .nyt-hero__right{
    grid-column: 1;
    grid-row: 2;
    min-height: 56vh;
  }

  .nyt-hero__caption-row{
    grid-column: 1;
    grid-row: 3;
  }

  .nyt-hero__caption{
    width: 100%;
    padding: 0 12px;
  }
}

/* ==========================================================================
   HERO KILDE
   ========================================================================== */

.hero-kilde{
  background: #f7f6f6;
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.hero-kilde__inner{
  width: min(600px, 92vw);
  margin: 0 auto;
  padding: 14px 0 18px 0;
}

.hero-kilde p{
  margin: 0 0 6px 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #282828;
}

.hero-kilde p:last-child{
  margin-bottom: 0;
}

.hero-kilde strong{
  font-weight: 600;
  color: #282828;
}


/* ==========================================================================
   STORY / PROSE (centered)
   ========================================================================== */
.story{
  background: var(--bg);
  color: var(--text);
  padding: 56px 0 90px 0;
}

.prose{
  width: min(600px, 92vw);
  margin: 0 auto;
}

.prose p{
  font-family: "TiemposText", Georgia, "Times New Roman", Times, serif;
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 .65em 0;
  color: var(--text);
}

.prose a{
  color: var(--borsen-magenta);
  text-decoration: none;
}

.prose a:hover,
.prose a:focus{
  text-decoration: none;
}

.prose h2{
  font-family: "TiemposHeadline", Georgia, serif;
  font-weight: 500;
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 2.2em 0 0.6em 0;
  color: #282828;
}

/* ===== META (byline) ===== */
.meta{
  width: 100%;
  margin: 0 auto 28px auto;
  padding: 0 0 14px 0;
  position: relative;
}

@media (min-width: 640px){
  .meta{
    max-width: 600px;
    margin: 0 auto;
  }
}

.meta__byline{
  font: 700 13px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(0,0,0,.70);
  margin: 0 0 8px 0;
}

.meta__date{
  font: 400 13px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(0,0,0,.55);
  margin: 0;
}

.meta::after{
  content:"";
  display:block;
  height: 1px;
  background: rgba(0,0,0,.14);
  margin-top: 12px;
}

/* Divider */
.section-divider{
  border:0;
  height:1px;
  background: var(--line);
  margin: 52px 0;
}

/* ==========================================================================
   INLINE IMAGES BETWEEN TEXT (breakout, centered, no effects)
   ========================================================================== */
figure{ margin: 0; }

.inline-image{
  width: min(960px, 98vw);
  margin: 52px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;

  /* center relative to viewport */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.inline-image picture,
.inline-image img,
.inline-image video{
  width:100%;
  height:auto;
  display:block;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:transparent;
  filter:none;
}

/* Full-bleed inline video */
.inline-video{
  width: 100vw;
  max-width: none;
}

.inline-video video{
  width: 100%;
  height: auto;
  display: block;

}

/* Video der følger tekstspalten */
.inline-video--text{
  width: min(600px, 92vw);
  margin: 52px auto;

  position: static;
  left: auto;
  transform: none;
}

.inline-video--text video{
  width: 100%;
  height: auto;
  display: block;
}

.inline-video--text figcaption{
  width: 100%;
  margin-top: 10px;
  text-align: right;
}
/* Shared caption style (inline-image + duo-portrait) */
.inline-image figcaption,
.duo-portrait figcaption{
  margin-top: 10px;
  font: 12px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--caption);
  text-align: center;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

/* Fix caption width for full-bleed inline video */
.inline-video figcaption{
  width: min(600px, 92vw);
  margin-left: auto;
  margin-right: auto;
  padding-right: 0;
}


/* ==========================================================================
   DUO PORTRAIT MODULE (clean)
   ========================================================================== */

.duo-portrait{
  /* Layout */
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;

  /* Spacing */
  margin: 64px 0;

  /* Breakout centering */
  position: relative;
  left: 50%;
  transform: translateX(-50%);

  /* Mobile-first width */
  width: 100%;
}

/* Desktop enhancement */
@media (min-width: 900px){
  .duo-portrait{
    grid-template-columns: 1fr 1fr;
    gap: 20px;                 /* tighter gap */
    width: min(1400px, 98vw);  /* larger presence */
    align-items: start;
  }
}

/* Images */
.duo-portrait__item img{
  width: 100%;
  height: auto;
  display: block;
}

/* Optional editorial offset (desktop only) */
@media (min-width: 900px){
  .duo-portrait--offset .duo-portrait__item:first-child{
    transform: translateX(-14px);
  }
  .duo-portrait--offset .duo-portrait__item:last-child{
    transform: translateX(14px);
  }
}


/* ==========================================================================
   FACTBOXES (clean, sans, uppercase headings)
   ========================================================================== */
.factboxes{
  margin: 64px 0;
}

.factbox-wrap{
  margin: 1.5rem 0;
  position: relative;
}

.factbox-toggle__input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.factbox{
  background: rgba(0,0,0,.035);
  padding: 24px 26px 22px 26px;
  margin: 0 0 22px 0;
}

.factbox__kicker{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #ff5073;
  margin: 0 0 10px 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.factbox h3{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.15;
  margin: 0 0 14px 0;
  color: #111;
}

.factbox__body{
  position: relative;
}

.factbox__body p{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 .8em 0;
  color: rgba(0,0,0,.86);
}

.factbox__body ul{
  margin: 0 0 .9em 1.1em;
  padding: 0;
}

.factbox__body li{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 .35em 0;
  color: rgba(0,0,0,.86);
}

.factbox__body p.factbox__sources{
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  color: rgba(0,0,0,.55);
}

.factbox-toggle__input:not(:checked) + .factbox .factbox__body{
  max-height: 120px;
  overflow: hidden;
}

.factbox-toggle__input:not(:checked) + .factbox .factbox__body::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(245,245,245,0), #eeeded);
  pointer-events:none;
}

.factbox-toggle{
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  height: 46px;
  margin-top: 6px;
  background: linear-gradient(to bottom, rgba(245,245,245,0), #eeeded);
}

.factbox-toggle__chevron{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:grid;
  place-items:center;
}

.factbox-toggle__chevron::before{
  content:"";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(0,0,0,.28);
  border-bottom: 2px solid rgba(0,0,0,.28);
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.factbox-toggle__input:checked + .factbox .factbox-toggle{
  background: transparent;
}

.factbox-toggle__input:checked + .factbox .factbox-toggle__chevron::before{
  transform: rotate(-135deg);
}

/* ==========================================================================
   PHONE
   ========================================================================== */

/* PHONE WRAPPER */
.phone {
  width: min(360px, 92vw);
  height: min(720px, 88vh);
  margin: 0 auto;

  background: #0f0f10;
  border-radius: 44px;
  padding: 14px;
  position: relative;

  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
  overflow: hidden;
}

/* NOTCH */
.phone::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 20px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}

/* SCREEN = scroll container */
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  background: #fff;

  overflow-y: auto;
  overflow-x: hidden;

  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  scrollbar-width: none;
  -ms-overflow-style: none;

  position: relative;
}

.phone__screen::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

/* CONTENT IMAGE */
.phone__content {
  width: 100%;
  height: auto;
  display: block;
}

/* --- SCROLL HINT: fade overlay --- */
.phone__screen::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 76px;
  pointer-events: none;
  z-index: 4;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.55) 55%,
    rgba(255,255,255,1) 100%
  );

  transition: opacity .75s cubic-bezier(.2,.8,.2,1) .12s;
}

/* --- SCROLL HINT: chevron --- */
.phone__screen::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(0,0,0,0.35);
  border-bottom: 2px solid rgba(0,0,0,0.35);
  pointer-events: none;
  z-index: 6;

  animation: phoneScrollHint 1.6s ease-in-out infinite;
  transition: opacity .75s cubic-bezier(.2,.8,.2,1) .25s;
}

@keyframes phoneScrollHint {
  0%   { transform: translateX(-50%) translateY(0) rotate(45deg); opacity: 0.25; }
  50%  { transform: translateX(-50%) translateY(6px) rotate(45deg); opacity: 0.65; }
  100% { transform: translateX(-50%) translateY(0) rotate(45deg); opacity: 0.25; }
}

.phone__screen.is-scrolled::before,
.phone__screen.is-scrolled::after {
  opacity: 0;
}

.phone__screen.hint-off::before {
  animation: none;
}

/* ==========================================================================
   STICKER FACTBOX (clean label look + vertical kicker)
   ========================================================================== */

.prose .sticker-label{
  position: relative;
  max-width: 820px;
  margin: 28px auto;

  padding: 28px 54px 40px 74px;

  background: #fff;
  color: #111;

  border: 1px solid rgba(0,0,0,0.70);
  border-radius: 18px;

  box-shadow:
    0 14px 26px rgba(0,0,0,0.14),
    0 2px 0 rgba(0,0,0,0.08);

  overflow: hidden;
}

.prose .sticker-label::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 24px;

  background: linear-gradient(180deg, #ff46c7, #b85bff);
  box-shadow: inset -0px 0 0 rgba(255,255,255,0.35);
}

.prose .sticker-label__kicker{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  writing-mode: vertical-rl;
  transform: rotate(180deg);

  user-select: none;
  pointer-events: none;
}

.prose .sticker-label,
.prose .sticker-label *{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
}

.prose .sticker-label__barcode{
  display: block;
  height: 54px;

  width: 75%;
  max-width: 650px;
  min-width: 0;

  margin: 0 0 28px;

  background: repeating-linear-gradient(
    90deg,
    #111 0px,  #111 1px,
    transparent 1px, transparent 2px,

    #111 2px,  #111 4px,
    transparent 4px, transparent 5px,

    #111 5px,  #111 6px,
    transparent 6px, transparent 8px,

    #111 8px,  #111 9px,
    transparent 9px, transparent 10px,

    #111 10px, #111 13px,
    transparent 13px, transparent 14px,

    #111 14px, #111 15px,
    transparent 15px, transparent 17px,

    #111 17px, #111 20px,
    transparent 20px, transparent 21px,

    #111 21px, #111 22px,
    transparent 22px, transparent 24px,

    #111 24px, #111 28px,
    transparent 28px, transparent 29px,

    #111 29px, #111 30px,
    transparent 30px, transparent 32px,

    #111 32px, #111 34px,
    transparent 34px, transparent 36px
  );

  background-size: 140px 100%;
  background-repeat: repeat-x;

  padding: 0 8px;
  background-clip: content-box;

  border-radius: 0;
  filter: contrast(1.15);
}

@media (max-width: 639px){
  .prose .sticker-label{
    /* top | right | bottom | left */
    padding: 22px 18px 28px 46px; /* 24px strip + ~22px breathing room */
  }

  .prose .sticker-label__barcode{
    width: 100%;
    max-width: none;
  }
}

.prose .sticker-label__title{
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.prose .sticker-label__text p{
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
}

.prose .sticker-label__text p:last-child{
  margin-bottom: 0;
}

.prose .sticker-label__source{
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 400;
  color: rgba(0,0,0,0.72);
}

/* ==========================================================================
   MOBILE OVERFLOW FIXES (MOST IMPORTANT)
   ========================================================================== */

/* Stop accidental horizontal scrolling from breakout transforms */
html, body{
  max-width: 100%;
  overflow-x: clip; /* modern */
}
@supports not (overflow-x: clip){
  html, body{ overflow-x: hidden; }
}

/* Media safety */
img, svg, video{
  max-width: 100%;
  height: auto;
}

/* Disable breakout centering on small screens (prevents viewport break) */
@media (max-width: 700px){
  .inline-image,
  .duo-portrait{
    width: 100%;
    position: static;
    left: auto;
    transform: none;
    margin: 32px 0;
  }

  .duo-portrait{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .duo-portrait--offset .duo-portrait__item{
    transform: none !important;
  }

  
}


.nyt-hero{
  width: 100%;
  overflow-x: clip;
}
@supports not (overflow-x: clip){
  .nyt-hero{ overflow-x: hidden; }
}

/* iOS/modern mobile: avoid 100vh bugs caused by browser UI bars */
@media (max-width: 900px){
  .nyt-hero{
    min-height: 100svh; /* better than 100vh on mobile */
  }

  /* Prevent subpixel overflow from centered absolute masthead */
  .nyt-hero__left{
    overflow: hidden;
  }

  /* Ensure right side behaves as a normal block in stacked layout */
  .nyt-hero__right{
    width: 100%;
  }

  .nyt-hero__image{
    width: 100%;
    height: auto;       /* avoid weird stretching on some devices */
    aspect-ratio: 4 / 3;/* keeps a stable hero frame; adjust if you want */
    object-fit: cover;
  }
}

@media (max-width: 900px){

  /* Let the hero shrink-wrap its content (prevents “big blank area”) */
  .nyt-hero{
    min-height: auto !important;  /* overrides min-height: 100vh */
  }

  /* Don’t force a tall right panel on mobile */
  .nyt-hero__right{
    min-height: auto !important;  /* overrides min-height: 56vh in your current CSS */
  }

  /* Give the image a stable frame and make it COVER that frame */
  .nyt-hero__image{
    width: 100%;
    height: 52vh;                 /* adjust: 46–60vh depending on taste */
    object-fit: cover;
    display: block;

    /* IMPORTANT: if you previously added aspect-ratio somewhere, this neutralizes it */
    aspect-ratio: auto !important;
  }
}


@media (max-width: 900px){
  .nyt-hero__left{
    padding-top: 96px; /* creates space for BØRSEN logo */
  }
}


@media (min-width: 901px){
  .nyt-hero__left{
    display: flex;
    align-items: center;   /* vertical centering */
    justify-content: center;
  }

  .nyt-hero__copy{
    margin-top: 0;         /* ensure no offset creep */
    transform: none;
  }
}


@media (min-width: 901px){
  .nyt-hero__left{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Optical correction: bias upward */
  .nyt-hero__copy{
    transform: translateY(-35%);
  }
}


.read-progress{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}

.read-progress__bar{
  height: 100%;
  width: 0%;
  background: linear-gradient(180deg, #ff46c7, #b85bff); /* matches faktaboks */
  transform-origin: left center;
  will-change: width;
}

/* Optional: if you want it slightly thicker on desktop */
@media (min-width: 901px){
  .read-progress{ height: 5px; }
}
/* ==========================================================================
   FACTBOX – STICKER VARIANT (MED FOLD)
   ========================================================================== */

.prose .factbox.factbox--sticker{
  position: relative;
  background: #fff;
  color: #111;

  border: 1px solid rgba(0,0,0,.7);
  border-radius: 18px;

  box-shadow:
    0 14px 26px rgba(0,0,0,.14),
    0 2px 0 rgba(0,0,0,.08);

  padding: 28px 54px 40px 74px;
  overflow: hidden;
}

/* Venstre farvestribe */
.prose .factbox.factbox--sticker::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 100%;
  background: linear-gradient(180deg, #ff46c7, #b85bff);
}

/* --------------------------------------------------------------------------
   KICKER – SAN SERIF (VIGTIG DEL)
   -------------------------------------------------------------------------- */

.prose .factbox.factbox--sticker .factbox__kicker{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 24px;

  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20px;

  /* 👇 DETTE ER FIXET */
  font-family: ui-sans-serif, system-ui, -apple-system,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;

  color: #fff;

  writing-mode: vertical-rl;
  transform: rotate(180deg);

  margin: 0;
  background: none;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   TITEL + TEKST
   -------------------------------------------------------------------------- */

.prose .factbox.factbox--sticker h3{
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 700;
}

.prose .factbox.factbox--sticker .factbox__body p,
.prose .factbox.factbox--sticker .factbox__body li{
  font-size: 15px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   FOLD – GENBRUGER DIN EKSISTERENDE CHECKBOX-LOGIK
   -------------------------------------------------------------------------- */

.factbox-toggle__input:not(:checked)
+ .factbox.factbox--sticker
.factbox__body::after{
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,1)
  );
}

.factbox-toggle__input:not(:checked)
+ .factbox.factbox--sticker
.factbox-toggle{
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255,1)
  );
}

/* --------------------------------------------------------------------------
   MOBIL
   -------------------------------------------------------------------------- */

@media (max-width: 640px){
  .prose .factbox.factbox--sticker{
    padding: 22px 18px 36px 46px;
  }
}

/* ==========================================================================
   OVERRIDES – HERO SAFETY (prevents headline colliding with masthead logo)
   ========================================================================== */

/* Reserve space for the absolutely-positioned masthead */
.nyt-hero__left{
  padding-top: clamp(72px, 10vh, 120px);
}

/* Reduce aggressive optical lift that can cause collisions at some sizes */
@media (min-width: 901px){
  .nyt-hero__copy{
    transform: translateY(-10%);
  }
}

/* ==========================================================================
   FULL-BLEED PORTRAIT HERO (headline across image)
   ========================================================================== */

.hero-portrait{
  position: relative;
  width: 100%;
  background: #000;
  overflow: clip;
}
@supports not (overflow: clip){
  .hero-portrait{ overflow: hidden; }
}

/* Full-bleed media area */
.hero-portrait__media{
  position: relative;
  width: 100%;
  height: 100svh;     /* stable on mobile browsers */
  min-height: 100vh;  /* fallback */
}

/* Portrait-friendly: keep a strong portrait feel on phones */
@media (max-width: 700px){
  .hero-portrait__media{
    height: 100svh;
  }
}

/* Wider screens: still full-bleed, but not absurdly tall */
@media (min-width: 701px){
  .hero-portrait__media{
    height: min(92vh, 860px);
  }
}

.hero-portrait__image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translateZ(0);
}

/* Readability overlay (darkens bottom area so text can sit “across” the image) */
.hero-portrait__overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.10) 0%,
      rgba(0,0,0,0.20) 35%,
      rgba(0,0,0,0.55) 70%,
      rgba(0,0,0,0.70) 100%
    );
}

/* Masthead */
.hero-portrait__masthead{
  position: absolute;
  top: clamp(18px, 2vw, 32px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-portrait__logo{
  height: 20px;
  width: auto;
  display: block;
}

.hero-portrait__content{
  position: absolute;
  left: 50%;
  bottom: clamp(200px, 12vh, 150px);
  transform: translateX(-50%);
  z-index: 6;

  width: min(980px, 92vw);
  text-align: center;
  color: #fff;
  padding: 0 8px;
}

.hero-portrait__kicker{
  font: 700 12px/1 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .95;
  color: #ff5073;
  margin-bottom: 14px;
}

.hero-portrait__headline{
  font-family: "TiemposFine", Georgia, serif;
  font-weight: 300; /* Semibold looks better than bold at big sizes */
  font-size: clamp(28px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: 0.015em;
  margin: 0 0 14px 0;
  text-wrap: balance;
}

.hero-portrait__dek{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.5;
  margin: 0;
  opacity: .98;
}

/* Caption pinned at bottom edge, still on top of image */
.hero-portrait__caption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  padding: 10px 0 12px 0;
}

.hero-portrait__caption-text{
  margin: 0;
  width: min(520px, 92%);
  margin-left: auto;
  padding: 0 14px;

  font: 12px/1.3 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(255,255,255,.80);
  text-align: right;
}

/* Small phones: avoid crowding with the logo */
@media (max-width: 420px){
  .hero-portrait__content{
    bottom: 76px;
  }
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce){
  .hero-portrait__image{ transform: none; }
}
.hero-portrait__media{
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 100vh;
  overflow: hidden;
}

@media (min-width: 701px){
  .hero-portrait__media{
    height: min(92vh, 860px);
  }
}

.hero-portrait__video,
.hero-portrait__fallback,
.hero-portrait__image{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-portrait__video{
  z-index: 1;
  background: #000;
}

.hero-portrait__fallback{
  z-index: 0;
}

/* Default: vis desktopvideo */
.hero-portrait__video--desktop{
  display: block;
}

.hero-portrait__video--mobile{
  display: none;
}

/* På mobil: vis mobilvideo i stedet */
@media (max-width: 700px){
  .hero-portrait__video--desktop{
    display: none;
  }

  .hero-portrait__video--mobile{
    display: block;
  }
}

/* ==========================================================================
   STICKY PHOTO + SCROLLING TEXT (WIP: functionality first)
   ========================================================================== */

.sticky-reveal{
  width: min(1100px, 96vw);
  margin: 72px auto;
}

.sticky-reveal__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px){
  .sticky-reveal__grid{
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Sticky media */
.sticky-reveal__media{
  position: sticky;
  top: 10vh;
  height: 80vh;
  margin: 0;
  overflow: hidden;
}

.sticky-reveal__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Scroll steps (each block creates scroll distance) */
.sticky-reveal__block{
  margin: 0;
  min-height: 90vh;
  display: flex;
  align-items: center;

  /* “big bold wall of text” baseline (we’ll refine styling later) */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.05;

  opacity: 0.12;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.sticky-reveal__block.is-active{
  opacity: 1;
  transform: translateY(0);
}


/* Stronger readability overlay */
.hero-portrait__overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.06) 0%,
      rgba(0,0,0,0.10) 28%,
      rgba(0,0,0,0.22) 52%,
      rgba(0,0,0,0.52) 74%,
      rgba(0,0,0,0.78) 100%
    );
}

/* Keep text above overlay */
.hero-portrait__content{
  z-index: 6;
}

/* Slightly larger default headline */
.hero-portrait__headline{
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* Mobile: bigger title + better placement */
@media (max-width: 700px){
  .hero-portrait__content{
    width: min(94vw, 680px);
    bottom: 92px;
    padding: 0 14px;
  }

  .hero-portrait__headline{
    font-size: clamp(40px, 9vw, 54px);
    line-height: 1.02;
    margin: 0 0 10px 0;
  }

  .hero-portrait__kicker{
    margin-bottom: 10px;
  }

  .hero-portrait__dek{
    font-size: 18px;
    line-height: 1.4;
  }
}

/* Very small phones */
@media (max-width: 420px){
  .hero-portrait__content{
    bottom: 84px;
  }

  .hero-portrait__headline{
    font-size: clamp(36px, 10vw, 46px);
  }
}

/* ==========================================================================
   HERO TEXT POSITION – LOWER
   ========================================================================== */

/* Desktop: lidt lavere (men stadig elegant) */
.hero-portrait__content{
  bottom: clamp(80px, 10vh, 120px);
}

/* Mobil: tydeligt lavere (mere klassisk hero-look) */
@media (max-width: 700px){
  .hero-portrait__content{
    bottom: 64px;
  }
}

/* Små phones: lidt ekstra luft */
@media (max-width: 420px){
  .hero-portrait__content{
    bottom: 56px;
  }
}

/* ===========================================================================
   AMERICANA H2 - CSS-only animated USA colour cloud + five-point stars
   Works on existing .prose h2 markup. No HTML changes needed.
   v9: removes failed text gradient-wipe; text is real white + subtle shadow.
   The motion now lives in the blob/stars instead.
   ========================================================================== */

.prose h2{
  --usa-red: 178 34 52;   /* #B22234 */
  --usa-blue: 60 59 110;  /* #3C3B6E */
  --usa-white: 253 251 247;

  position: relative;
  isolation: isolate;

  width: min(1080px, 96vw);
  min-height: clamp(200px, 23vw, 325px);
  margin: clamp(72px, 10vw, 124px) 0 clamp(32px, 5.5vw, 62px) 50%;
  padding: clamp(54px, 7.2vw, 96px) clamp(22px, 5vw, 76px);

  display: grid;
  place-items: center;

  transform: translateX(-50%);

  font-family: "TiemposFine", "TiemposHeadline", Georgia, serif;
  font-weight: 300;
  font-size: clamp(38px, 5.7vw, 86px);
  line-height: .94;
  letter-spacing: -0.034em;
  text-align: center;
  text-wrap: balance;

  color: #fff;
  -webkit-text-fill-color: #fff;
  background: none;

  text-shadow:
    0 1px 2px rgba(0,0,0,.28),
    0 6px 20px rgba(0,0,0,.20),
    0 18px 54px rgba(60,59,110,.12);

  animation: americanaH2TextIn .72s cubic-bezier(.22,1,.36,1) both;
  will-change: opacity, filter, transform;
}

/*
  The cloud is only fading radial-gradients on a huge pseudo-element.
  No visible background rectangle, no clipping box, no SVG/canvas.
  The wipe now happens here instead of in the text.
*/
.prose h2::before{
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 50%;
  width: min(1460px, 148vw);
  height: clamp(300px, 33vw, 470px);
  transform: translate(-50%, -50%) scale(.76, .34);
  pointer-events: none;

  background:
    radial-gradient(ellipse at 8% 50%,
      rgba(var(--usa-white) / .98) 0%,
      rgba(var(--usa-white) / .88) 15%,
      rgba(var(--usa-white) / .40) 32%,
      rgba(var(--usa-white) / 0) 62%),
    radial-gradient(ellipse at 21% 52%,
      rgba(255,236,241,.90) 0%,
      rgba(255,236,241,.54) 30%,
      rgba(255,236,241,.16) 54%,
      rgba(255,236,241,0) 78%),
    radial-gradient(ellipse at 38% 50%,
      rgba(var(--usa-red) / 1) 0%,
      rgba(var(--usa-red) / .82) 21%,
      rgba(var(--usa-red) / .36) 45%,
      rgba(var(--usa-red) / 0) 76%),
    radial-gradient(ellipse at 51% 50%,
      rgba(126,44,88,.78) 0%,
      rgba(126,44,88,.42) 34%,
      rgba(126,44,88,.12) 58%,
      rgba(126,44,88,0) 82%),
    radial-gradient(ellipse at 67% 49%,
      rgba(var(--usa-blue) / 1) 0%,
      rgba(var(--usa-blue) / .86) 26%,
      rgba(var(--usa-blue) / .34) 54%,
      rgba(var(--usa-blue) / 0) 84%),
    radial-gradient(ellipse at 89% 50%,
      rgba(var(--usa-blue) / .92) 0%,
      rgba(var(--usa-blue) / .56) 31%,
      rgba(var(--usa-blue) / .18) 56%,
      rgba(var(--usa-blue) / 0) 82%),
    radial-gradient(ellipse at 50% 50%,
      rgba(255,255,255,.14) 0%,
      rgba(255,255,255,.08) 54%,
      rgba(255,255,255,0) 78%);

  background-repeat: no-repeat;
  filter: blur(64px) saturate(1.46) contrast(1.14);
  opacity: 0;

  animation:
    americanaCloudReveal 1.05s cubic-bezier(.16,1,.3,1) .02s both,
    americanaCloud 16s ease-in-out 1.05s infinite alternate;
}

/* Five-point stars. The glyph is cloned with text-shadow, so there is no box. */
.prose h2::after{
  content: "★";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.92);
  pointer-events: none;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.55vw, 29px);
  line-height: 1;
  color: rgba(255,255,255,.92);

  text-shadow:
    -455px -88px 0 rgba(255,255,255,.82),
    -330px  104px 0 rgba(255,255,255,.68),
    -170px -116px 0 rgba(255,255,255,.58),
      160px  94px 0 rgba(255,255,255,.78),
      258px -98px 0 rgba(255,255,255,.88),
      415px  22px 0 rgba(255,255,255,.74),
      535px -32px 0 rgba(255,255,255,.82),
      -76px  20px 0 rgba(255,255,255,.54),
      330px  112px 0 rgba(255,255,255,.58),
      -560px  12px 0 rgba(255,255,255,.62),
       520px  94px 0 rgba(255,255,255,.44),
       -20px -92px 0 rgba(255,255,255,.50);

  filter:
    drop-shadow(0 0 8px rgba(255,255,255,.68))
    drop-shadow(0 0 18px rgba(255,255,255,.24));

  opacity: 0;
  animation:
    americanaStarsReveal .75s cubic-bezier(.22,1,.36,1) .34s both,
    americanaStars 18s ease-in-out 1.1s infinite alternate;
}

@keyframes americanaH2TextIn{
  0%{
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
    filter: blur(5px);
  }
  100%{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    filter: blur(0);
  }
}

@keyframes americanaCloudReveal{
  0%{
    opacity: 0;
    transform: translate(-50%, -50%) translate3d(-26px, 4px, 0) scale(.62, .24);
    filter: blur(86px) saturate(1.28) contrast(1.05);
  }
  62%{
    opacity: 1;
  }
  100%{
    opacity: 1;
    transform: translate(-50%, -50%) translate3d(-12px, 7px, 0) scale(1.02, .42) rotate(-.14deg);
    filter: blur(64px) saturate(1.46) contrast(1.14);
  }
}

@keyframes americanaStarsReveal{
  0%{
    opacity: 0;
    transform: translate(-50%, -50%) translateY(8px) scale(.82) rotate(-1deg);
  }
  100%{
    opacity: .92;
    transform: translate(-50%, -50%) translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes americanaCloud{
  0%{
    transform: translate(-50%, -50%) translate3d(-12px, 7px, 0) scale(1.02, .42) rotate(-.14deg);
    background-position: 0 0, -6px 2px, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  50%{
    transform: translate(-50%, -50%) translate3d(12px, -8px, 0) scale(1.07, .47) rotate(.12deg);
    background-position: -18px 4px, 18px -8px, 34px 8px, -22px -8px, -36px 10px, 24px 6px, 0 0;
  }
  100%{
    transform: translate(-50%, -50%) translate3d(-4px, 8px, 0) scale(1.04, .44) rotate(-.10deg);
    background-position: 16px -6px, -12px 8px, 38px -6px, 12px 10px, -26px -8px, 12px -4px, 0 0;
  }
}

@keyframes americanaStars{
  0%{
    transform: translate(-50%, -50%) translate3d(-8px, 6px, 0) rotate(-1.2deg) scale(1);
    opacity: .78;
  }
  50%{
    transform: translate(-50%, -50%) translate3d(9px, -8px, 0) rotate(1.2deg) scale(1.06);
    opacity: .98;
  }
  100%{
    transform: translate(-50%, -50%) translate3d(-3px, 7px, 0) rotate(-.8deg) scale(1.02);
    opacity: .88;
  }
}

@media (max-width: 700px){
  .prose h2{
    width: 100vw;
    min-height: 176px;
    margin-top: 60px;
    margin-bottom: 28px;
    padding: 46px 18px;
    font-size: clamp(34px, 10vw, 54px);
  }

  .prose h2::before{
    width: 158vw;
    height: 330px;
    filter: blur(46px) saturate(1.42) contrast(1.12);
  }

  .prose h2::after{
    font-size: 20px;
    text-shadow:
      -43vw -44px 0 rgba(255,255,255,.82),
      -31vw  54px 0 rgba(255,255,255,.68),
      -11vw -62px 0 rgba(255,255,255,.58),
       19vw  52px 0 rgba(255,255,255,.78),
       31vw -54px 0 rgba(255,255,255,.88),
       43vw  16px 0 rgba(255,255,255,.74),
      -52vw  10px 0 rgba(255,255,255,.62),
       48vw  58px 0 rgba(255,255,255,.44);
  }
}

@media (prefers-reduced-motion: reduce){
  .prose h2,
  .prose h2::before,
  .prose h2::after{
    animation: none;
    opacity: 1;
    filter: none;
  }

  .prose h2::before{
    filter: blur(64px) saturate(1.46) contrast(1.14);
    transform: translate(-50%, -50%) scale(1.02, .42);
  }
}

/* ========================================================================== 
   AMERICANA HERO TITLE GLOW - subtle mini version behind H1/title text
   CSS-only. No HTML changes needed.
   Targets both current hero naming patterns used in these longreads.
   ========================================================================== */

.hero-portrait__headline,
.longread-header__headline{
  --usa-red: 178 34 52;   /* #B22234 */
  --usa-blue: 60 59 110;  /* #3C3B6E */
  --usa-white: 253 251 247;

  position: relative;
  isolation: isolate;
  z-index: 0;
}

.hero-portrait__headline::before,
.longread-header__headline::before{
  content: "";
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 52%;
  width: min(900px, 108vw);
  height: clamp(150px, 20vw, 260px);
  transform: translate(-50%, -50%) scaleY(.44);
  pointer-events: none;

  background:
    radial-gradient(ellipse at 10% 50%,
      rgba(var(--usa-white) / .70) 0%,
      rgba(var(--usa-white) / .46) 22%,
      rgba(var(--usa-white) / .14) 48%,
      rgba(var(--usa-white) / 0) 76%),
    radial-gradient(ellipse at 25% 50%,
      rgba(255,235,241,.50) 0%,
      rgba(255,235,241,.28) 34%,
      rgba(255,235,241,.08) 58%,
      rgba(255,235,241,0) 84%),
    radial-gradient(ellipse at 42% 50%,
      rgba(var(--usa-red) / .58) 0%,
      rgba(var(--usa-red) / .36) 30%,
      rgba(var(--usa-red) / .12) 58%,
      rgba(var(--usa-red) / 0) 84%),
    radial-gradient(ellipse at 58% 50%,
      rgba(126,44,88,.36) 0%,
      rgba(126,44,88,.20) 36%,
      rgba(126,44,88,.06) 62%,
      rgba(126,44,88,0) 86%),
    radial-gradient(ellipse at 74% 50%,
      rgba(var(--usa-blue) / .58) 0%,
      rgba(var(--usa-blue) / .34) 34%,
      rgba(var(--usa-blue) / .12) 62%,
      rgba(var(--usa-blue) / 0) 86%),
    radial-gradient(ellipse at 92% 50%,
      rgba(var(--usa-blue) / .48) 0%,
      rgba(var(--usa-blue) / .24) 36%,
      rgba(var(--usa-blue) / .08) 64%,
      rgba(var(--usa-blue) / 0) 88%);

  filter: blur(42px) saturate(1.45) contrast(1.08);
  opacity: .72;
  animation: americanaHeroCloud 18s ease-in-out infinite alternate;
}

.hero-portrait__headline::after,
.longread-header__headline::after{
  content: "★";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  pointer-events: none;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12px, 1.15vw, 18px);
  line-height: 1;
  color: rgba(255,255,255,.74);

  text-shadow:
    -310px -42px 0 rgba(255,255,255,.46),
    -190px  48px 0 rgba(255,255,255,.36),
     -54px -58px 0 rgba(255,255,255,.38),
      88px  46px 0 rgba(255,255,255,.44),
     210px -38px 0 rgba(255,255,255,.50),
     330px  16px 0 rgba(255,255,255,.38);

  filter:
    drop-shadow(0 0 6px rgba(255,255,255,.35))
    drop-shadow(0 0 16px rgba(255,255,255,.16));
  opacity: .72;
  animation: americanaHeroStars 20s ease-in-out infinite alternate;
}

@keyframes americanaHeroCloud{
  0%{
    transform: translate(-50%, -50%) translate3d(-6px, 4px, 0) scale(1.00, .42) rotate(-.12deg);
    background-position: 0 0, -4px 2px, 0 0, 0 0, 0 0, 0 0;
  }
  50%{
    transform: translate(-50%, -50%) translate3d(8px, -5px, 0) scale(1.04, .46) rotate(.10deg);
    background-position: -12px 2px, 10px -5px, 18px 4px, -14px -4px, -20px 6px, 16px 3px;
  }
  100%{
    transform: translate(-50%, -50%) translate3d(-3px, 5px, 0) scale(1.02, .43) rotate(-.08deg);
    background-position: 10px -3px, -8px 5px, 22px -3px, 8px 6px, -16px -4px, 8px -2px;
  }
}

@keyframes americanaHeroStars{
  0%{
    transform: translate(-50%, -50%) translate3d(-5px, 3px, 0) rotate(-1deg) scale(1);
    opacity: .56;
  }
  50%{
    transform: translate(-50%, -50%) translate3d(6px, -5px, 0) rotate(1deg) scale(1.04);
    opacity: .78;
  }
  100%{
    transform: translate(-50%, -50%) translate3d(-2px, 4px, 0) rotate(-.6deg) scale(1.02);
    opacity: .64;
  }
}

@media (max-width: 700px){
  .hero-portrait__headline::before,
  .longread-header__headline::before{
    width: 124vw;
    height: 190px;
    filter: blur(34px) saturate(1.38) contrast(1.06);
    opacity: .62;
  }

  .hero-portrait__headline::after,
  .longread-header__headline::after{
    font-size: 13px;
    text-shadow:
      -39vw -30px 0 rgba(255,255,255,.42),
      -23vw  34px 0 rgba(255,255,255,.34),
       -7vw -42px 0 rgba(255,255,255,.36),
       15vw  32px 0 rgba(255,255,255,.42),
       30vw -28px 0 rgba(255,255,255,.46),
       40vw  12px 0 rgba(255,255,255,.34);
  }
}

@media (prefers-reduced-motion: reduce){
  .hero-portrait__headline::before,
  .hero-portrait__headline::after,
  .longread-header__headline::before,
  .longread-header__headline::after{
    animation: none;
  }
}

/* ==========================================================================
   CLEANUP v10
   - Removes failed text/shape wipe from H2
   - Keeps H2 text as real white text
   - Removes blur/glow layer from H1/title
   ========================================================================== */

.prose h2{
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;

  font-size: clamp(36px, 5.1vw, 76px);
  line-height: .96;

  text-shadow:
    0 1px 2px rgba(0,0,0,.32),
    0 6px 18px rgba(0,0,0,.22),
    0 16px 42px rgba(0,0,0,.14);

  filter: none !important;
  opacity: 1 !important;
  animation: americanaH2FadeIn .62s cubic-bezier(.22,1,.36,1) both !important;
  will-change: opacity, transform;
  overflow: visible !important;
}

.prose h2::before{
  opacity: 1 !important;
  width: min(1560px, 158vw);
  height: clamp(330px, 36vw, 520px);
  transform: translate(-50%, -50%) scale(1.04, .44) rotate(-.1deg);
  filter: blur(64px) saturate(1.46) contrast(1.14) !important;
  animation: americanaCloud 16s ease-in-out infinite alternate !important;
  clip-path: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.prose h2::after{
  opacity: .9 !important;
  animation: americanaStars 18s ease-in-out infinite alternate !important;
}

@keyframes americanaH2FadeIn{
  from{
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to{
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Remove the experimental mini-blob/blur behind the hero title completely. */
.hero-portrait__headline,
.longread-header__headline{
  filter: none !important;
}

.hero-portrait__headline::before,
.hero-portrait__headline::after,
.longread-header__headline::before,
.longread-header__headline::after{
  content: none !important;
  display: none !important;
  animation: none !important;
  filter: none !important;
}

@media (max-width: 700px){
  .prose h2{
    font-size: clamp(32px, 9.2vw, 50px);
  }

  .prose h2::before{
    width: 166vw;
    height: 360px;
    filter: blur(48px) saturate(1.42) contrast(1.12) !important;
  }
}

@media (prefers-reduced-motion: reduce){
  .prose h2{
    animation: none !important;
  }

  .prose h2::before,
  .prose h2::after{
    animation: none !important;
  }
}

/* ==========================================================================
   AMERICANA SIDE AMBIENCE v15
   Fixed side-only colour clouds + five-point stars.
   Important: these sit ABOVE the full-width .story background, otherwise the
   story background hides them. The gradients are kept at the viewport edges
   and fade before the text column.
   ========================================================================== */

:root{
  --usa-red-rgb: 178 34 52;
  --usa-blue-rgb: 60 59 110;
}

body::before,
body::after{
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 40;
  width: clamp(170px, 18vw, 340px);
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: .72;
  mix-blend-mode: multiply;
  transform: translateZ(0);
}

body::before{
  left: 0;
  background-image:
    radial-gradient(ellipse 82% 32% at -10% 18%, rgba(var(--usa-blue-rgb) / .34) 0%, rgba(var(--usa-blue-rgb) / .18) 38%, rgba(var(--usa-blue-rgb) / .055) 62%, rgba(var(--usa-blue-rgb) / 0) 84%),
    radial-gradient(ellipse 92% 36% at -18% 52%, rgba(var(--usa-red-rgb) / .34) 0%, rgba(var(--usa-red-rgb) / .17) 38%, rgba(var(--usa-red-rgb) / .052) 62%, rgba(var(--usa-red-rgb) / 0) 84%),
    radial-gradient(ellipse 74% 30% at -10% 84%, rgba(var(--usa-blue-rgb) / .22) 0%, rgba(var(--usa-blue-rgb) / .10) 42%, rgba(var(--usa-blue-rgb) / 0) 82%);
  animation: americanaSideCloudLeft 30s ease-in-out infinite alternate;
}

body::after{
  right: 0;
  background-image:
    radial-gradient(ellipse 82% 32% at 110% 16%, rgba(var(--usa-red-rgb) / .34) 0%, rgba(var(--usa-red-rgb) / .17) 38%, rgba(var(--usa-red-rgb) / .052) 62%, rgba(var(--usa-red-rgb) / 0) 84%),
    radial-gradient(ellipse 92% 38% at 118% 52%, rgba(var(--usa-blue-rgb) / .40) 0%, rgba(var(--usa-blue-rgb) / .20) 38%, rgba(var(--usa-blue-rgb) / .06) 62%, rgba(var(--usa-blue-rgb) / 0) 84%),
    radial-gradient(ellipse 74% 30% at 110% 84%, rgba(var(--usa-red-rgb) / .22) 0%, rgba(var(--usa-red-rgb) / .10) 42%, rgba(var(--usa-red-rgb) / 0) 82%);
  animation: americanaSideCloudRight 32s ease-in-out infinite alternate;
}

/* Separate star layers, so star opacity is not tied to the colour clouds. */
.story::before,
.story::after{
  content: "★";
  position: fixed;
  top: 11vh;
  z-index: 41;
  pointer-events: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(11px, .78vw, 16px);
  line-height: 1;
  color: rgba(255,255,255,.60);
  opacity: .72;
  text-shadow:
    0 0 7px rgba(255,255,255,.45),
    0 0 18px rgba(60,59,110,.12);
}

.story::before{
  left: clamp(18px, 2vw, 34px);
  text-shadow:
     42px   78px 0 rgba(255,255,255,.42),
     14px  186px 0 rgba(255,255,255,.34),
     58px  314px 0 rgba(255,255,255,.32),
     26px  474px 0 rgba(255,255,255,.28),
     72px  590px 0 rgba(255,255,255,.22),
      0 0 7px rgba(255,255,255,.45),
      0 0 18px rgba(60,59,110,.12);
  animation: americanaSideStarsLeft 26s ease-in-out infinite alternate;
}

.story::after{
  right: clamp(18px, 2vw, 34px);
  text-shadow:
    -42px   76px 0 rgba(255,255,255,.42),
    -14px  188px 0 rgba(255,255,255,.34),
    -58px  316px 0 rgba(255,255,255,.32),
    -26px  476px 0 rgba(255,255,255,.28),
    -72px  592px 0 rgba(255,255,255,.22),
      0 0 7px rgba(255,255,255,.45),
      0 0 18px rgba(60,59,110,.12);
  animation: americanaSideStarsRight 28s ease-in-out infinite alternate;
}

@keyframes americanaSideCloudLeft{
  0%,100%{ opacity: .66; transform: translate3d(0,0,0) scale(1,1.02); }
  50%{ opacity: .82; transform: translate3d(10px,-14px,0) scale(1.04,.99); }
}

@keyframes americanaSideCloudRight{
  0%,100%{ opacity: .66; transform: translate3d(0,0,0) scale(1,1.02); }
  50%{ opacity: .82; transform: translate3d(-10px,14px,0) scale(1.04,.99); }
}

@keyframes americanaSideStarsLeft{
  0%,100%{ transform: translate3d(0,0,0) rotate(-1deg); }
  50%{ transform: translate3d(7px,-13px,0) rotate(2deg); }
}

@keyframes americanaSideStarsRight{
  0%,100%{ transform: translate3d(0,0,0) rotate(1deg); }
  50%{ transform: translate3d(-7px,13px,0) rotate(-2deg); }
}

@media (max-width: 1200px){
  body::before,
  body::after{
    width: clamp(120px, 13vw, 210px);
    opacity: .55;
  }

  .story::before,
  .story::after{
    opacity: .46;
  }
}

@media (max-width: 900px){
  body::before,
  body::after,
  .story::before,
  .story::after{
    display: none;
  }
}

@media (prefers-reduced-motion: reduce){
  body::before,
  body::after,
  .story::before,
  .story::after{
    animation: none;
  }
}


.inline-image--full{
  width: 100vw;
  max-width: none;

  position: relative;
  left: 50%;
  transform: translateX(-50%);

  margin: 64px 0;
}

.inline-image--full picture,
.inline-image--full img{
  width:100%;
  display:block;
}

.image-grid{
  display:grid;
  gap:20px;

  width:min(1400px,98vw);

  position:relative;
  left:50%;
  transform:translateX(-50%);

  margin:64px 0;
}

.image-grid--2{
  grid-template-columns:1fr 1fr;
}

.image-grid figure{
  margin:0;
}

.image-grid picture,
.image-grid img{
  width:100%;
  display:block;
}

.image-grid figcaption{
  margin-top:10px;
  text-align:center;
  font-size:12px;
  color:var(--caption);
  max-width:65ch;
  margin-left:auto;
  margin-right:auto;
}


/* ==========================================================================
   RESPONSIVE IMAGE SOURCES
   Use <picture> inside .inline-image / .inline-image--full / .image-grid
   to swap to mobile-specific crops without changing layout classes.
   ========================================================================== */

.inline-image picture,
.image-grid picture{
  width: 100%;
  display: block;
}

.inline-image picture > img,
.image-grid picture > img{
  width: 100%;
  height: auto;
  display: block;
}

/* Optional helper: use on full-bleed images when the desktop image is too wide on mobile.
   Example: <figure class="inline-image inline-image--full inline-image--mobile-cover"> */
@media (max-width:700px){
  .inline-image--mobile-cover img{
    width: 100%;
    height: min(82vh, 760px);
    object-fit: cover;
    object-position: center;
  }

  .inline-image--mobile-cover figcaption{
    width: min(65ch, 92vw);
  }
}

@media (max-width:700px){
  .image-grid{
      width:100%;
      left:auto;
      transform:none;
      grid-template-columns:1fr;
      gap:18px;
  }
}