/* Missed Headline — one stylesheet for every page.
   Brand colours live in :root. Change them here and the whole site follows.

   The look: a night news desk. Tall newspaper-headline type, navy ink, paper white.
   Orange means one thing only: the story we follow. The orange bar that sits a little
   crooked under headings is the slipped crossbar from the logo. */

@font-face {
  font-family: "League Gothic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/leaguegothic-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/newsreader-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/newsreader-latin-600.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --navy: #0f172a;
  --night: #070b16;
  --paper: #f8fafc;
  --orange: #ff5a1f;
  --on-navy: #cbd5e1;
  /* Day look */
  --bg: #f8fafc;
  --tint: #e8edf4;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #cbd5e1;
  --accent-ink: #b5390a;
  --focus: #0f172a;
  --good: #0f6b3f;
  --wrap: 76rem;
  --font-head: "League Gothic", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;
}

/* Night look: follows the device unless the visitor picked one (head.js sets data-theme). */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0b1120;
    --tint: #121b30;
    --card: #17233d;
    --text: #e2e8f0;
    --muted: #a8b5c8;
    --line: #334155;
    --accent-ink: #ff8f61;
    --focus: #f8fafc;
    --good: #6ee7a8;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1120;
  --tint: #121b30;
  --card: #17233d;
  --text: #e2e8f0;
  --muted: #a8b5c8;
  --line: #334155;
  --accent-ink: #ff8f61;
  --focus: #f8fafc;
  --good: #6ee7a8;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.19rem;
  line-height: 1.58;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent-ink);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.util,
.site-header,
.strip,
.hero,
.page-head,
.section--navy,
.contact,
.add,
.site-footer {
  --focus: #ffb693;
}

.ai {
  --focus: var(--text);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.45em;
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: 0.012em;
  color: var(--text);
  text-wrap: balance;
}

h1,
h2 {
  line-height: 0.98;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.6rem, 9vw, 4.1rem);
}

h3 {
  font-size: 1.75rem;
  line-height: 1.08;
}

p {
  margin: 0 0 1em;
}

strong,
b {
  font-weight: 600;
}

button,
input {
  font: inherit;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.wrap--read {
  width: min(100% - 2.5rem, 46rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 40;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.icn {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.mark {
  display: block;
  flex: none;
}

.dot {
  display: inline-block;
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--orange);
}

.tagline {
  display: inline-block;
  margin-right: 0.45rem;
  padding: 0.24rem 0.55rem 0.08rem;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

/* ---------- Top bar: today's date, the brand line, and the day or night switch ---------- */

.util {
  background: var(--night);
  color: #a8b5c8;
  font-size: 0.98rem;
  line-height: 1.2;
}

.util .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.9rem;
}

.util__line {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  min-width: 0;
  margin: 0;
}

.util__date {
  padding-top: 0.12em;
  font-family: var(--font-head);
  font-size: 1.18rem;
  letter-spacing: 0.035em;
  color: #f1f5f9;
  white-space: nowrap;
}

.util__date:empty {
  display: none;
}

.util__tag {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.theme {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  min-height: 38px;
  padding: 0 0.8rem 0 0.65rem;
  border: 1.5px solid #475569;
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  line-height: 1;
  cursor: pointer;
}

.theme[hidden] {
  display: none;
}

.theme:hover {
  border-color: var(--paper);
}

.theme .icn {
  width: 18px;
  height: 18px;
}

.theme__text {
  padding-top: 0.14em;
}

.theme__sun,
.theme[data-dark="true"] .theme__moon {
  display: none;
}

.theme[data-dark="true"] .theme__sun {
  display: block;
}

/* The welcome garland: the entrance's flowers, hung across the top of every page. */

.toran {
  height: 2.4rem;
  background:
    url("/toran.svg") center -0.95rem / 5.4rem 2.7rem repeat-x,
    linear-gradient(var(--orange), var(--orange)) top / 100% 3px no-repeat,
    var(--navy);
}

/* ---------- Header: name plate, one button, and the menu row. Sticks while you scroll. ---------- */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--navy);
  transition: box-shadow 0.2s ease;
}

.js .site-header {
  position: sticky;
  top: 0;
}

.site-header.is-stuck {
  box-shadow: 0 0.5rem 1.2rem rgba(2, 6, 23, 0.5);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  padding-block: 0.55rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
  color: var(--paper);
  text-decoration: none;
}

.logo .mark {
  width: 2.6rem;
  height: 2.6rem;
  border: 1.5px solid #334155;
  border-radius: 7px;
}

.logo-word {
  padding-top: 0.12em;
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  flex-basis: 100%;
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.15rem;
  margin: 0.45rem 0 0;
  padding: 0;
  border-top: 1px solid #1e293b;
  list-style: none;
}

.main-nav a:not(.btn) {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0.16rem 0.8rem 0;
  color: #e2e8f0;
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.035em;
  line-height: 1;
  text-decoration: none;
}

.main-nav li:first-child a {
  padding-left: 0;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.4rem;
  height: 0.26rem;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.18s ease;
}

.main-nav li:first-child a::after {
  left: 0;
}

.main-nav a:not(.btn):hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1) rotate(-2deg);
}

.main-nav a[aria-current="page"] {
  color: #ffffff;
}

.main-nav__cta {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.12rem 0.9rem 0;
  border: 2px solid var(--paper);
  border-radius: 4px;
  background: none;
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: 0.035em;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.2rem;
  height: 3px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.nav-toggle__bars {
  position: relative;
  margin-bottom: 0.12rem;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

.nav-open .nav-toggle__bars {
  background: transparent;
}

.nav-open .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Strip: the top hashtags, on every page ---------- */

.strip {
  background: var(--night);
  color: #e2e8f0;
  border-bottom: 1px solid #1e293b;
}

.strip[hidden] {
  display: none;
}

.strip .wrap {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.1rem;
  min-height: 2.8rem;
}

.strip__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
  margin: 0;
  padding-top: 0.12em;
  font-family: var(--font-head);
  font-size: 1.22rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--orange);
}

.strip__tags {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 0 1.1rem;
  min-width: 0;
  height: 2.8rem;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  white-space: nowrap;
}

.strip__tags a,
.strip__all {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  color: #f1f5f9;
  text-decoration: none;
}

.strip__tags a:hover,
.strip__all:hover {
  text-decoration: underline;
  text-decoration-color: var(--orange);
}

.strip__none {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  color: #a8b5c8;
}

.strip__all {
  flex: none;
  font-weight: 600;
}

/* ---------- Buttons: set in the headline face, like a line on a news bill ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 0.5rem 1.25rem 0.36rem;
  border: 2px solid var(--orange);
  border-radius: 4px;
  background: var(--orange);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.025em;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.08s ease, background-color 0.12s ease;
}

.btn:hover {
  border-color: #ff7d4d;
  background: #ff7d4d;
}

.btn:active {
  transform: translateY(2px);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.btn .icn {
  width: 20px;
  height: 20px;
  margin-top: -0.15em;
}

.btn--sm {
  min-height: 44px;
  padding: 0.34rem 0.95rem 0.2rem;
  font-size: 1.3rem;
}

.btn--ghost {
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--navy);
}

.btn--dark {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.btn--dark:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--navy);
}

.btn--line {
  min-height: 46px;
  border-color: #64748b;
  background: transparent;
  color: var(--paper);
  font-size: 1.3rem;
}

.btn--line:hover {
  border-color: var(--paper);
  background: transparent;
}

.btn[hidden] {
  display: none;
}

/* Small pill switches and chips */

.switch,
.chip,
.mini {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.22rem 0.85rem 0.12rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.switch[hidden],
.mini[hidden] {
  display: none;
}

.switch .icn,
.mini .icn {
  width: 18px;
  height: 18px;
}

.switch[aria-pressed="true"] {
  border-color: var(--text);
}

.switch__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--muted);
}

.switch[aria-pressed="true"] .switch__dot {
  background: #16a34a;
}

.chip {
  border-color: var(--text);
}

.chip:hover,
.mini:hover {
  background: var(--text);
  color: var(--card);
}

.mini {
  min-height: 36px;
  font-size: 0.95rem;
}

/* ---------- Hero: the night desk ---------- */

.hero {
  padding-block: 1.5rem 3.4rem;
  background: var(--navy);
  color: var(--paper);
}

.hero__grid {
  display: grid;
  gap: 1.5rem;
  reading-flow: grid-order;
}

.hero h1 {
  order: 1;
  margin: 0;
  font-size: clamp(3.9rem, 20.6vw, 6.2rem);
  line-height: 0.9;
  color: var(--paper);
}

.hero .fp {
  order: 2;
}

.hero__more {
  order: 3;
  margin-top: 0.6rem;
}

.hero h1 .l {
  display: block;
  white-space: nowrap;
}

.hero h1 .h1-b {
  color: var(--orange);
}

.lead {
  max-width: 32rem;
  margin: 0 0 1.4rem;
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--on-navy);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0;
}

/* The front page: watch one line sink and fall off as newer ones arrive. */

.fp {
  container-type: inline-size;
  width: min(100%, 28rem);
  margin: 0;
}

.fp__sheet {
  padding: 0.9rem 1.1rem 1rem;
  border-radius: 5px;
  background: #f8fafc;
  color: #0f172a;
  box-shadow: 0 1.2rem 2.4rem rgba(2, 6, 23, 0.55);
  overflow: hidden;
}

.fp__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 4px double #0f172a;
  font-family: var(--font-head);
  line-height: 1;
}

.fp__name {
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fp__day {
  padding: 0.3rem 0.6rem 0.16rem;
  border-radius: 3px;
  background: #0f172a;
  color: #f8fafc;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.fp__rows {
  position: relative;
  height: 16.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fp__row {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid #dbe3ec;
  font-family: var(--font-head);
  letter-spacing: 0.012em;
  line-height: 1;
  text-transform: uppercase;
  color: #64748b;
  transition:
    top 0.7s cubic-bezier(0.3, 0.7, 0.2, 1),
    height 0.7s cubic-bezier(0.3, 0.7, 0.2, 1),
    font-size 0.7s cubic-bezier(0.3, 0.7, 0.2, 1),
    color 0.7s ease,
    opacity 0.5s ease,
    transform 0.7s ease;
}

.fp__row span {
  text-wrap: balance;
}

.fp__row.is-s0,
.fp__row.is-above {
  height: 6.3rem;
  font-size: 2.3rem;
  font-size: min(2.6rem, 11.2cqw);
}

.fp__row.is-s0 {
  top: 0;
  border-top-color: transparent;
  color: #0f172a;
}

.fp__row.is-s1 {
  top: 6.3rem;
  height: 3.7rem;
  font-size: 1.5rem;
  font-size: min(1.72rem, 7.4cqw);
  color: #1e293b;
}

.fp__row.is-s2 {
  top: 10rem;
  height: 2.2rem;
  font-size: 1.2rem;
  font-size: min(1.32rem, 6.5cqw);
  color: #475569;
}

.fp__row.is-s3 {
  top: 12.2rem;
  height: 2.2rem;
  font-size: 1.1rem;
  font-size: min(1.16rem, 6.2cqw);
}

.fp__row.is-s4,
.fp__row.is-below {
  height: 2.2rem;
  font-size: 1rem;
  font-size: min(1.06rem, 5.9cqw);
}

.fp__row.is-s4 {
  top: 14.4rem;
}

.fp__row.is-s2 span,
.fp__row.is-s3 span,
.fp__row.is-s4 span,
.fp__row.is-below span {
  white-space: nowrap;
}

.fp__row.is-above {
  top: -7rem;
  opacity: 0;
}

.fp__row.is-below {
  top: 17.2rem;
  opacity: 0;
}

/* The one we follow keeps its orange bar all the way down. */

.fp__row--ours {
  padding-left: 0.95rem;
}

.fp__row--ours::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 0.5rem;
  background: var(--orange);
}

.fp__row--ours.is-below {
  transform: rotate(6deg);
}

/* The tray under the page: what falls off lands here. On day 7 it is ours. */

.fp__tray {
  position: relative;
  display: flex;
  align-items: center;
  height: 3.5rem;
  margin-top: 1.15rem;
  padding: 0 0.6rem;
  border: 2px dashed #64748b;
  border-radius: 5px;
  transition: border-color 0.5s ease;
}

.fp__legend {
  position: absolute;
  left: 0.7rem;
  top: -0.72rem;
  padding: 0.12rem 0.45rem 0;
  background: var(--navy);
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #94a3b8;
}

.fp__legend-b {
  display: none;
  color: var(--orange);
}

.fp[data-at="7"] .fp__legend-a {
  display: none;
}

.fp[data-at="7"] .fp__legend-b {
  display: inline;
}

.fp[data-at="7"] .fp__tray {
  border-style: solid;
  border-color: var(--orange);
}

.fp__slip {
  position: relative;
  display: block;
  visibility: hidden;
  width: 100%;
  padding: 0.55rem 0.7rem 0.38rem 1.25rem;
  overflow: hidden;
  background: #f8fafc;
  color: #0f172a;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-size: min(1.3rem, 6.4cqw);
  letter-spacing: 0.012em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0.4rem 0.9rem rgba(2, 6, 23, 0.5);
  transform: rotate(-1.8deg);
  transition: background-color 0.5s ease;
}

.fp__slip::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 22%;
  bottom: 22%;
  width: 0.4rem;
  background: var(--orange);
  transition: background-color 0.5s ease;
}

.fp.is-dropped .fp__slip {
  visibility: visible;
  animation: drop 0.65s cubic-bezier(0.3, 1.3, 0.5, 1) 0.3s both;
}

.fp[data-at="7"] .fp__slip {
  background: var(--orange);
}

.fp[data-at="7"] .fp__slip::before {
  background: var(--navy);
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-2.4rem) rotate(7deg);
  }

  to {
    opacity: 1;
    transform: rotate(-1.8deg);
  }
}

/* The slider needs the script, so it stays away until the script has loaded (head.js sets .js). */

.fp__ctrl {
  display: none;
  margin-top: 1.2rem;
}

.js .fp__ctrl {
  display: block;
}

.fp__nojs {
  margin: 1.1rem 0 0;
  font-size: 1.12rem;
  color: #e2e8f0;
}

.js .fp__nojs {
  display: none;
}

.fp__ctrl label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.025em;
  line-height: 1.1;
}

.fp__ctrl input[type="range"] {
  display: block;
  width: 100%;
  height: 2.75rem;
  margin: 0;
  background: transparent;
  accent-color: var(--orange);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.fp__ctrl input[type="range"]::-webkit-slider-runnable-track {
  height: 0.5rem;
  border-radius: 999px;
  background: #334155;
}

.fp__ctrl input[type="range"]::-moz-range-track {
  height: 0.5rem;
  border-radius: 999px;
  background: #334155;
}

.fp__ctrl input[type="range"]::-webkit-slider-thumb {
  width: 1.9rem;
  height: 1.9rem;
  margin-top: -0.7rem;
  border: 3px solid #f8fafc;
  border-radius: 50%;
  background: var(--orange);
  -webkit-appearance: none;
  appearance: none;
}

.fp__ctrl input[type="range"]::-moz-range-thumb {
  width: 1.55rem;
  height: 1.55rem;
  border: 3px solid #f8fafc;
  border-radius: 50%;
  background: var(--orange);
}

.fp__ticks {
  display: flex;
  justify-content: space-between;
  margin: -0.15rem 0 0.7rem;
  padding: 0 0.62rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  line-height: 1;
  color: #94a3b8;
}

.fp__status {
  min-height: 3em;
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  line-height: 1.45;
  color: #e2e8f0;
}

.fp__play {
  min-width: 10.5rem;
  justify-content: flex-start;
}

.fp__play-stop,
.fp__play[data-state="playing"] .fp__play-go {
  display: none;
}

.fp__play[data-state="playing"] .fp__play-stop {
  display: block;
}

.fp figcaption {
  margin-top: 1rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #94a3b8;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: 3.4rem;
  background: var(--bg);
}

.section--tint {
  background: var(--tint);
}

.section--navy,
.contact {
  background: var(--navy);
  color: var(--on-navy);
}

.sec-head {
  margin-bottom: 1.9rem;
}

.sec-head h2 {
  margin: 0;
}

/* The slipped crossbar, under every section heading. */

.sec-head h2::after,
.contact h2::after {
  content: "";
  display: block;
  width: 3.6rem;
  height: 0.55rem;
  margin-top: 0.75rem;
  background: var(--orange);
  transform: rotate(5deg);
  transform-origin: 0 50%;
}

.sec-lead {
  max-width: 40rem;
  margin: 1.2rem 0 0;
  font-size: 1.22rem;
  color: var(--muted);
}

.after {
  margin: 1.8rem 0 0;
}

/* ---------- Trending: the readers' board ---------- */

.trend-grid {
  display: grid;
  gap: 2.2rem;
}

.board {
  margin: 0 0.6rem 0.6rem 0;
  padding: 0.3rem 1.1rem 0.9rem;
  border: 2px solid var(--text);
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0.6rem 0.6rem 0 var(--orange);
}

.board__note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.75rem 0 0.6rem;
  border-bottom: 4px double var(--text);
  font-family: var(--font-head);
  font-size: 1.15rem;
  letter-spacing: 0.035em;
  line-height: 1.15;
  color: var(--muted);
}

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

.trend {
  display: grid;
  grid-template-columns: 2.3rem minmax(0, 1fr) auto;
  gap: 0.1rem 0.7rem;
  align-items: center;
  padding: 0.8rem 0 0.7rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 8rem;
}

.trend__rank {
  font-family: var(--font-head);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--accent-ink);
}

.trend__tag {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.75rem;
  letter-spacing: 0.012em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.trend__meta {
  margin: 0.1rem 0 0;
  font-size: 0.98rem;
  line-height: 1.3;
  color: var(--muted);
}

.trend__acts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.boost {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0.32rem 0.9rem 0.18rem 0.7rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  line-height: 1;
  cursor: pointer;
}

.boost .icn {
  width: 18px;
  height: 18px;
  margin-top: -0.2em;
}

.boost:hover,
.boost[aria-pressed="true"] {
  background: var(--orange);
  color: var(--navy);
}

.boost[aria-pressed="true"] {
  cursor: default;
}

.report {
  min-height: 28px;
  padding: 0.15rem 0.1rem;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
}

.report:hover {
  color: var(--text);
}

.trend__ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.7rem;
  grid-column: 1 / -1;
  margin: 0.5rem 0 0.1rem;
  padding: 0.6rem 0.8rem;
  border-left: 0.4rem solid var(--orange);
  background: var(--tint);
  font-size: 1rem;
}

.trend__ask p {
  flex: 1 1 12rem;
  margin: 0;
}

.trend.is-new {
  animation: flash 1.8s ease;
}

@keyframes flash {
  from {
    background: rgba(255, 90, 31, 0.28);
  }

  to {
    background: transparent;
  }
}

.board__state {
  margin: 0;
  padding: 1.1rem 0 0.4rem;
  color: var(--muted);
}

.board__state:empty {
  display: none;
}

.board__more {
  margin: 0.9rem 0 0;
  font-weight: 600;
}

/* The add box */

.add {
  padding: 1.3rem 1.3rem 1.2rem;
  border-radius: 6px;
  background: var(--navy);
  color: var(--on-navy);
  scroll-margin-top: 8rem;
}

.add__h {
  margin: 0 0 0.3rem;
  font-size: 2.1rem;
  color: var(--paper);
}

.add__hint {
  margin: 0 0 0.9rem;
  font-size: 1.04rem;
  line-height: 1.45;
}

.add__row,
.ai__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.add input[type="text"],
.ai__row input {
  flex: 1 1 15rem;
  min-width: 0;
  min-height: 52px;
  padding: 0.3rem 0.8rem;
  border: 2px solid #64748b;
  border-radius: 4px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 1.1rem;
}

.add__row .btn,
.ai__row .btn {
  flex: 0 0 auto;
}

.add__out {
  margin-top: 0.9rem;
}

.add__out:empty {
  display: none;
}

.msg {
  margin: 0 0 0.6rem;
  padding: 0.7rem 0.85rem 0.65rem;
  border-left: 0.4rem solid var(--orange);
  border-radius: 0 4px 4px 0;
  background: #1e293b;
  color: #f1f5f9;
  line-height: 1.45;
}

.msg--ok {
  border-color: #34d399;
}

.msg--bad {
  border-color: #f87171;
}

.msg b {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.3em;
  letter-spacing: 0.012em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.picks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.2rem 0 0.7rem;
}

.picks .btn--ghost {
  font-size: 1.3rem;
  min-height: 46px;
}

.add__rules {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
  color: #a8b5c8;
}

.add__rules a,
.side-note a {
  color: #ffb693;
}

.trend-side {
  display: grid;
  gap: 1.4rem;
}

.side-note {
  padding: 1.1rem 1.3rem 1rem;
  border-radius: 6px;
  background: var(--navy);
  color: var(--on-navy);
  font-size: 1.04rem;
}

.side-note h3 {
  margin: 0 0 0.5rem;
  color: var(--paper);
}

.side-note ul {
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
}

.side-note li {
  margin-bottom: 0.3rem;
}

.side-note p {
  margin: 0;
}

/* ---------- How it works: a real sequence, so it is numbered ---------- */

.steps {
  display: grid;
  gap: 1.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 3.6rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.35rem;
  font-family: var(--font-head);
  font-size: 4.2rem;
  line-height: 1;
  color: var(--accent-ink);
}

.steps h3 {
  margin: 0 0 0.15rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* ---------- What we cover, and what we do not ---------- */

.cover {
  display: grid;
  gap: 1.8rem;
}

.cover__yes {
  padding: 1.3rem 1.3rem 1.5rem;
  border-radius: 6px;
  background: var(--navy);
  color: var(--paper);
}

.cover__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.025em;
  line-height: 1;
  color: var(--muted);
}

.cover__yes .cover__label {
  color: var(--orange);
}

.cover__big {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2rem, 8.4vw, 2.9rem);
  letter-spacing: 0.012em;
  line-height: 1.02;
  text-transform: uppercase;
}

.ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}

.ic--yes {
  background: var(--orange);
  color: var(--navy);
}

.ic--no {
  margin-top: 0.1rem;
  border: 2px solid var(--muted);
  color: var(--muted);
}

.ic .icn {
  width: 18px;
  height: 18px;
}

.nots {
  display: grid;
  gap: 1.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nots li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.nots h3 {
  margin: 0 0 0.2rem;
}

.nots p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Stories ---------- */

.teasers {
  display: grid;
  gap: 1.4rem;
}

.teaser {
  max-width: 50rem;
  padding: 1.2rem 1.3rem 1.2rem;
  border: 2px solid var(--text);
  border-radius: 6px;
  background: var(--card);
}

.teaser__kind,
.art__kind {
  margin: 0 0 0.6rem;
  font-size: 0.98rem;
  color: var(--muted);
}

.teaser h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, 6.4vw, 2.9rem);
  line-height: 1;
  text-transform: uppercase;
}

.teaser h3 a {
  color: inherit;
  text-decoration: none;
}

.teaser h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 0.1em;
}

.teaser p:last-child {
  margin: 0;
}

.format {
  display: grid;
  gap: 2rem;
  margin-top: 2.8rem;
}

.h3--big {
  margin: 1.8rem 0 0.5rem;
  font-size: 2.3rem;
  line-height: 1.02;
  text-transform: none;
}

.format__text > .h3--big:first-child {
  margin-top: 0;
}

.format__text p {
  max-width: 34rem;
}

.helps {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.helps h4 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--accent-ink);
}

.helps p {
  max-width: 34rem;
  margin: 0;
}

/* The story layout: one card, five parts. The orange sheet behind it has slipped. */

.story {
  align-self: start;
  margin: 0 0.6rem 0.6rem 0;
  padding: 0.4rem 1.2rem 0.6rem;
  border: 2px solid var(--text);
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0.6rem 0.6rem 0 var(--orange);
}

.story__part {
  padding: 0.85rem 0 0.8rem;
  border-bottom: 1px dashed var(--line);
}

.story__part:last-child {
  border-bottom: 0;
}

.story dt {
  margin: 0 0 0.1rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--accent-ink);
}

.story dd {
  margin: 0;
}

.story__part:first-child dd {
  font-family: var(--font-head);
  font-size: 2.1rem;
  letter-spacing: 0.012em;
  line-height: 1.02;
  text-transform: uppercase;
}

/* ---------- The AI box ---------- */

.ask-grid {
  display: grid;
  gap: 2rem;
}

.kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--orange);
}

.ask-big {
  margin: 0 0 0.9rem;
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 8.6vw, 3.9rem);
  letter-spacing: 0.012em;
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--paper);
  text-wrap: balance;
}

.ask-intro p:last-child {
  max-width: 30rem;
  margin: 0;
}

.ai {
  margin: 0 0.6rem 0.6rem 0;
  padding: 0.9rem 1.2rem 1.2rem;
  border: 2px solid var(--text);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0.6rem 0.6rem 0 var(--orange);
}

.ai__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 4px double var(--text);
}

.ai__h {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.05;
  text-transform: none;
  color: var(--text);
}

.ai__h .icn {
  color: var(--accent-ink);
}

.ai__note,
.ai__off {
  margin: 0.8rem 0 0.75rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--muted);
}

.ai__off {
  margin-bottom: 0;
}

.ai__off[hidden],
.ai__body[hidden] {
  display: none;
}

.ai__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.ai__form label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.ai__row input {
  border-color: var(--text);
  background: var(--bg);
  color: var(--text);
}

.ai__opts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.2rem;
  margin-top: 0.9rem;
}

.ai__lang {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.ai__lang legend {
  float: left;
  margin-right: 0.3rem;
  padding: 0;
  font-size: 1rem;
  color: var(--muted);
}

.ai__lang label {
  position: relative;
  display: inline-flex;
}

.ai__lang input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.ai__lang label span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.22rem 0.85rem 0.12rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
}

.ai__lang input:checked + span {
  border-color: var(--text);
  background: var(--text);
  color: var(--card);
}

.ai__lang input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.ai__log {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

.ai__log:empty {
  display: none;
}

.turn__q {
  margin: 0 0 0.35rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.turn__a {
  margin: 0;
  padding: 0.75rem 0.9rem 0.7rem;
  border-left: 0.4rem solid var(--orange);
  border-radius: 0 4px 4px 0;
  background: var(--tint);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.turn--wait .turn__a {
  color: var(--muted);
}

.turn--bad .turn__a {
  border-color: var(--muted);
}

.turn__tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.8rem;
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.art__tools {
  margin: 0 0 1.2rem;
}

/* ---------- Our rules: a ledger ---------- */

.rules {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--text);
  list-style: none;
}

.rules li {
  padding: 1.05rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.rules h3 {
  margin: 0 0 0.2rem;
  font-size: 1.95rem;
}

.rules p {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
}

.rule-groups {
  display: grid;
  gap: 1.4rem;
}

.rule-group {
  padding: 1.1rem 1.3rem 1rem;
  border: 2px solid var(--text);
  border-radius: 6px;
  background: var(--card);
}

.rule-group h3 {
  margin: 0 0 0.5rem;
  font-size: 1.9rem;
}

.rule-group ul {
  margin: 0;
  padding-left: 1.15rem;
}

.rule-group li {
  margin-bottom: 0.35rem;
}

.rule-group li::marker {
  color: var(--accent-ink);
}

/* ---------- Questions: each one opens on tap ---------- */

.qa-list {
  max-width: 46rem;
  border-top: 2px solid var(--text);
}

.qa {
  border-bottom: 2px solid var(--text);
}

.qa summary {
  position: relative;
  display: block;
  padding: 1rem 3.2rem 0.95rem 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

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

.qa summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.2rem;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  border: 2px solid var(--text);
  border-radius: 50%;
  background:
    linear-gradient(var(--text), var(--text)) center / 46% 2.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 2.5px 46% no-repeat;
}

.qa[open] summary::after {
  border-color: var(--orange);
  background:
    linear-gradient(#0f172a, #0f172a) center / 46% 2.5px no-repeat,
    var(--orange);
}

.qa p {
  max-width: 40rem;
  margin: 0 0 1.15rem;
  color: var(--muted);
}

/* ---------- Find us and write to us: the page closes under the garland, as it opened ---------- */

.contact {
  padding-top: 0;
}

.contact .toran {
  margin-bottom: 3rem;
}

.contact__grid {
  display: grid;
  gap: 2.6rem;
}

.contact h2 {
  color: var(--paper);
}

.contact p {
  max-width: 30rem;
}

.contact .h2--small {
  font-size: clamp(2rem, 7vw, 2.7rem);
}

.follow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact .btn {
  overflow-wrap: anywhere;
}

/* ---------- Footer: a full site footer with columns ---------- */

.site-footer {
  padding-block: 3rem 1.5rem;
  background: var(--night);
  color: #a8b5c8;
  font-size: 1.02rem;
}

.foot-grid {
  display: grid;
  gap: 2.2rem;
}

.site-footer p {
  margin: 0 0 0.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--paper);
}

.footer-brand .mark {
  width: 2.6rem;
  height: 2.6rem;
  border: 1.5px solid #334155;
  border-radius: 7px;
}

.site-footer .footer-line {
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.025em;
  line-height: 1.1;
  color: var(--orange);
}

.foot-note {
  max-width: 26rem;
  font-size: 0.96rem;
}

.foot-h {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--paper);
}

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

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  color: #e2e8f0;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem 2rem;
  margin-top: 2.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid #1e293b;
}

.foot-base p {
  margin: 0;
}

.foot-base ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.4rem;
}

.to-top .icn {
  width: 18px;
  height: 18px;
}

/* ---------- Inside pages: the page head, a story, and plain documents ---------- */

.page-head {
  padding-block: 1.5rem 2.4rem;
  background: var(--navy);
  color: var(--on-navy);
}

.page-head h1 {
  margin: 0 0 0.7rem;
  font-size: clamp(3rem, 11vw, 5.4rem);
  line-height: 0.94;
  color: var(--paper);
}

.page-head--art h1 {
  font-size: clamp(2.7rem, 9vw, 4.4rem);
}

.crumb {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #a8b5c8;
}

.crumb a {
  color: #e2e8f0;
}

.page-lead {
  max-width: 40rem;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.page-head .actions {
  margin-top: 1.5rem;
}

.page-head .art__kind,
.page-head .updated,
.art__note {
  color: #a8b5c8;
}

.page-head .tagline {
  background: var(--orange);
  color: var(--navy);
}

.art__note,
.page-head .updated {
  margin: 0;
  font-size: 1.02rem;
}

.art__part {
  padding: 1.1rem 0 1.15rem;
  border-bottom: 1px dashed var(--line);
}

.art__part:first-child {
  padding-top: 0;
}

.art__part h2 {
  margin: 0 0 0.3rem;
  font-size: 1.9rem;
  line-height: 1.08;
  text-transform: none;
  color: var(--accent-ink);
}

.art__part p {
  margin: 0;
  font-size: 1.27rem;
  line-height: 1.55;
}

.art__part ul {
  margin: 0;
  padding-left: 1.15rem;
}

.art .ai {
  margin-top: 2.4rem;
}

.doc h2 {
  margin: 2rem 0 0.3rem;
  font-size: 1.9rem;
  line-height: 1.08;
  text-transform: none;
}

.doc p {
  margin: 0 0 0.6rem;
}

.doc--plain {
  max-width: 44rem;
}

.doc--plain p {
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
}

.doc-intro {
  font-size: 1.28rem;
}

.doc-back {
  margin: 2.4rem 0 0;
}

/* ---------- Signature entrance: the site opens like a show, with curtains, a garland and falling petals.
   Pure CSS, so the page never waits on a script to become usable. ---------- */

.entrance {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  cursor: pointer;
  animation: ent-out 0.45s ease 2.15s forwards;
}

.no-ent .entrance {
  display: none;
}

.entrance__cur {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0) 24%, rgba(0, 0, 0, 0) 68%, rgba(0, 0, 0, 0.45)),
    repeating-linear-gradient(90deg, #0b1120 0, #1b2740 5%, #33456a 9%, #1b2740 13%, #0b1120 18%);
  animation: cur-open 1.35s cubic-bezier(0.65, 0, 0.2, 1) 0.8s forwards;
}

.entrance__cur--l {
  left: 0;
  transform-origin: 0 50%;
}

.entrance__cur--r {
  right: 0;
  transform-origin: 100% 50%;
}

.entrance__name {
  position: absolute;
  left: 0;
  right: 0;
  top: 39%;
  z-index: 1;
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(3.4rem, 17vw, 7rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #f8fafc;
  animation: ent-name 1.1s ease 0.05s both;
}

.entrance__name::after {
  content: "";
  display: block;
  width: 28%;
  height: 0.12em;
  margin: 0.14em auto 0;
  background: var(--orange);
  transform: rotate(4deg);
}

.entrance__top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  height: clamp(54px, 10vh, 96px);
  border-bottom: 5px solid var(--orange);
  background: linear-gradient(180deg, #03050b, #0b1120);
}

.entrance__top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  height: 26px;
  background: radial-gradient(circle at 26px 0, #0b1120 25px, transparent 26px) 0 0 / 52px 26px repeat-x;
}

.entrance__flowers {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: -10px;
  overflow: hidden;
}

.entrance__flowers svg {
  flex: none;
  width: clamp(44px, 12.4vw, 64px);
  height: auto;
}

.petal {
  position: absolute;
  top: -8vh;
  left: var(--x, 50%);
  z-index: 3;
  width: var(--s, 14px);
  height: var(--s, 14px);
  border-radius: 85% 0 85% 0;
  background: linear-gradient(135deg, #ffffff, #cbd5e1);
  animation: petal-fall var(--t, 2s) linear var(--d, 0s) both;
}

.petal:nth-of-type(2n) {
  background: linear-gradient(135deg, #ffb08f, #ff5a1f);
}

.petal:nth-of-type(1) {
  --x: 60%;
  --s: 19px;
  --t: 2.20s;
  --d: 0.62s;
  --r: 400deg;
}

.petal:nth-of-type(2) {
  --x: 78%;
  --s: 14px;
  --t: 1.73s;
  --d: 0.41s;
  --r: -188deg;
}

.petal:nth-of-type(3) {
  --x: 60%;
  --s: 15px;
  --t: 1.70s;
  --d: 0.43s;
  --r: -342deg;
}

.petal:nth-of-type(4) {
  --x: 60%;
  --s: 13px;
  --t: 2.04s;
  --d: 0.67s;
  --r: -170deg;
}

.petal:nth-of-type(5) {
  --x: 7%;
  --s: 14px;
  --t: 2.22s;
  --d: 0.48s;
  --r: 307deg;
}

.petal:nth-of-type(6) {
  --x: 59%;
  --s: 14px;
  --t: 1.96s;
  --d: 0.51s;
  --r: 142deg;
}

.petal:nth-of-type(7) {
  --x: 87%;
  --s: 12px;
  --t: 1.92s;
  --d: 0.22s;
  --r: -270deg;
}

.petal:nth-of-type(8) {
  --x: 43%;
  --s: 14px;
  --t: 1.96s;
  --d: 0.02s;
  --r: -345deg;
}

.petal:nth-of-type(9) {
  --x: 16%;
  --s: 15px;
  --t: 1.87s;
  --d: 0.77s;
  --r: -249deg;
}

.petal:nth-of-type(10) {
  --x: 29%;
  --s: 11px;
  --t: 1.93s;
  --d: 0.78s;
  --r: 354deg;
}

.petal:nth-of-type(11) {
  --x: 12%;
  --s: 14px;
  --t: 2.14s;
  --d: 0.22s;
  --r: -299deg;
}

.petal:nth-of-type(12) {
  --x: 45%;
  --s: 11px;
  --t: 2.27s;
  --d: 0.61s;
  --r: -208deg;
}

.petal:nth-of-type(13) {
  --x: 34%;
  --s: 12px;
  --t: 1.61s;
  --d: 0.37s;
  --r: 230deg;
}

.petal:nth-of-type(14) {
  --x: 90%;
  --s: 19px;
  --t: 1.73s;
  --d: 0.41s;
  --r: -354deg;
}

@keyframes cur-open {
  to {
    transform: scaleX(0);
  }
}

@keyframes ent-name {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  30%,
  78% {
    opacity: 1;
    transform: none;
  }

  100% {
    opacity: 0;
    transform: none;
  }
}

@keyframes petal-fall {
  from {
    transform: translateY(0) rotate(0deg);
  }

  to {
    transform: translateY(118vh) rotate(var(--r));
  }
}

@keyframes ent-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entrance {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }

  .btn,
  .fp__row,
  .fp__slip,
  .main-nav a::after {
    transition: none;
  }

  .fp.is-dropped .fp__slip,
  .trend.is-new {
    animation: none;
  }
}

@media print {
  .entrance,
  .util,
  .toran,
  .strip,
  .nav-toggle,
  .head-cta,
  .ai,
  .add {
    display: none;
  }
}

/* ---------- Phones: the menu folds into one button ---------- */

@media (max-width: 34.99rem) {
  .util__tag {
    display: none;
  }

  .util__date:empty + .util__tag {
    display: block;
  }

  .logo-word {
    font-size: 1.75rem;
  }

  .head-cta {
    display: none;
  }

  .js .nav-toggle:not([hidden]) {
    display: inline-flex;
  }

  .js .site-header .wrap {
    padding-bottom: 0.55rem;
  }

  .js .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    max-height: calc(100vh - 4.5rem);
    padding: 0.2rem 1.25rem 1.3rem;
    overflow-y: auto;
    border-bottom: 3px solid var(--orange);
    background: var(--navy);
    box-shadow: 0 1rem 1.6rem rgba(2, 6, 23, 0.55);
  }

  .js .nav-open .main-nav {
    display: block;
  }

  .js .main-nav ul {
    flex-direction: column;
    flex-wrap: nowrap;
    margin: 0;
    border-top: 0;
  }

  .js .main-nav a:not(.btn) {
    min-height: 54px;
    padding-left: 0;
    border-bottom: 1px solid #1e293b;
    font-size: 1.6rem;
  }

  .js .main-nav a:not(.btn)::after {
    display: none;
  }

  .js .main-nav a[aria-current="page"] {
    color: var(--orange);
  }

  .js .main-nav__cta {
    display: block;
    margin-top: 1rem;
  }

  .js .main-nav__cta .btn {
    width: 100%;
    min-height: 52px;
  }

  .strip__all {
    display: none;
  }
}

@media (max-width: 23.5rem) {
  .theme__text {
    display: none;
  }

  .theme {
    padding: 0 0.65rem;
  }

  .logo-word {
    font-size: 1.55rem;
  }

  .trend {
    grid-template-columns: 1.9rem minmax(0, 1fr) auto;
  }

  .trend__tag {
    font-size: 1.5rem;
  }
}

/* ---------- The Claude side browser, tablets and up ---------- */

@media (min-width: 35rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      "head fp"
      "more fp";
    align-content: center;
    gap: 1rem 1.5rem;
    reading-flow: normal;
  }

  .hero h1 {
    grid-area: head;
    align-self: end;
    order: 0;
    font-size: clamp(3.6rem, 12.4vw, 6.4rem);
  }

  .hero__more {
    grid-area: more;
    align-self: start;
    order: 0;
    margin-top: 0;
  }

  .hero .fp {
    grid-area: fp;
    align-self: center;
    justify-self: end;
    order: 0;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem 2.6rem;
  }

  .rule-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.4rem 2.6rem;
  }

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

  .cover {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.4rem;
    align-items: start;
  }

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

  .rules li {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 1.6rem;
    align-items: baseline;
  }

  .rules h3 {
    margin: 0;
  }
}

@media (min-width: 44rem) {
  .section {
    padding-block: 4.4rem;
  }

  .contact {
    padding-top: 0;
  }

  .cover__yes {
    padding: 1.8rem 1.8rem 2.1rem;
  }

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

/* ---------- Computers ---------- */

@media (min-width: 60rem) {
  .hero {
    padding-block: 2.4rem 4.6rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.2rem 3.4rem;
  }

  .hero h1 {
    font-size: clamp(5.6rem, 9.6vw, 9rem);
  }

  .hero .fp {
    width: min(100%, 29rem);
  }

  .lead {
    font-size: 1.4rem;
  }

  .trend-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 3rem;
    align-items: start;
  }

  .trending .add,
  .trend-side {
    position: sticky;
    top: 8.5rem;
  }

  .trend-side .add {
    position: static;
  }

  .trend__tag {
    font-size: 2rem;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }

  .steps li {
    padding: 4.4rem 0 0;
  }

  .steps li::before {
    top: 0;
  }

  .steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 3.2rem;
    right: 0;
    top: 2rem;
    height: 2px;
    background: var(--line);
  }

  .ask-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 3.6rem;
    align-items: center;
  }

  .qa-list {
    max-width: none;
    column-count: 2;
    column-gap: 3rem;
    border-top: 0;
  }

  .qa {
    break-inside: avoid;
    border-top: 2px solid var(--text);
    border-bottom: 0;
  }

  .foot-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 3rem;
  }

  .foot-brand {
    grid-column: auto;
  }
}

@media (min-width: 66rem) {
  .site-header .wrap {
    flex-wrap: nowrap;
    padding-block: 0.6rem;
  }

  .logo {
    margin-right: 0;
  }

  .logo .mark {
    width: 2.9rem;
    height: 2.9rem;
  }

  .logo-word {
    font-size: 2.3rem;
  }

  .main-nav {
    flex: 1;
    order: 2;
  }

  .main-nav ul {
    justify-content: flex-end;
    margin: 0;
    border-top: 0;
  }

  .main-nav li:first-child a {
    padding-left: 0.8rem;
  }

  .main-nav li:first-child a::after {
    left: 0.8rem;
  }

  .head-cta {
    order: 3;
  }
}
