/* Digital Routine — digitalroutinedaily.com */

:root {
  --paper: #F4F1EA;
  --paper-2: #EAE6DB;
  --card: #FFFFFF;
  --ink: #14151A;
  --ink-2: #363946;
  --muted: #626675;
  --line: #D8D3C6;

  --blue: #2B4BFF;
  --sun: #FFD23F;
  --mint: #BDEBD4;
  --lilac: #D9D2FF;
  --peach: #FFCFBA;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1180px;
  --shadow: 6px 6px 0 var(--ink);
  --section-y: clamp(4rem, 9vw, 7.5rem);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] { display: none !important; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition: top .15s;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.4rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn .icon { flex: none; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

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

.btn-small { padding: .7rem 1.1rem; font-size: .95rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-small:hover { box-shadow: 5px 5px 0 var(--ink); }

.btn-light {
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-light:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }

.btn-sun {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--ink);
}
.btn-sun:hover { background: #fff; border-color: #fff; }

.btn-outline-light {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.text-link:hover { color: var(--blue); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 234, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark { flex: none; }
.brand-light { color: #fff; }

.nav { display: flex; gap: .15rem; }
.nav a {
  padding: .5rem .9rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before {
  display: block;
  width: 18px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease;
}
.nav-toggle-bars { transform: translateY(-3px); }
.nav-toggle-bars::before { content: ""; transform: translateY(6px); }
.nav-open .nav-toggle-bars { transform: rotate(45deg); }
.nav-open .nav-toggle-bars::before { transform: rotate(-90deg); }

/* ---------- Hero ---------- */

.hero {
  padding: clamp(2.25rem, 5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem .9rem .45rem .7rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-mono);
  font-size: .86rem;
  font-weight: 500;
}
.eyebrow-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(43, 75, 255, .2);
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.9rem, 7.4vw, 5.9rem);
  line-height: .93;
  letter-spacing: -0.045em;
}

.hl {
  position: relative;
  display: inline-block;
  color: var(--blue);
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  left: -1%; right: -1%;
  bottom: -.2em;
  height: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 50 3, 95 17, 150 9 S 250 4, 297 12' fill='none' stroke='%23FFD23F' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  z-index: -1;
}

.lead {
  margin-top: 1.9rem;
  max-width: 34rem;
  color: var(--ink-2);
  font-size: clamp(1.1rem, 1.55vw, 1.28rem);
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.1rem;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.75rem;
  padding-top: 1.6rem;
  border-top: 2px solid var(--ink);
}
.stat { display: flex; flex-direction: column-reverse; gap: .2rem; }
.stat dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stat dd {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat dd.stat-text {
  display: flex;
  align-items: flex-end;
  min-height: 2.1rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Hero stage: sun, orbit, phone */

.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
  isolation: isolate;
}
.stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: min(100%, 430px);
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
}
.orbit {
  position: absolute;
  z-index: -1;
  width: min(124%, 540px);
  aspect-ratio: 1;
  border: 2px dashed rgba(20, 21, 26, .3);
  border-radius: 50%;
  animation: spin 80s linear infinite;
}

.chip {
  position: absolute;
  z-index: 2;
  padding: .5rem .95rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.chip-a { top: 9%; left: 0; background: var(--mint); rotate: -7deg; }
.chip-b { top: 34%; right: -2%; background: var(--lilac); rotate: 6deg; animation-delay: -2s; }
.chip-c { bottom: 8%; left: 2%; background: var(--card); rotate: 4deg; animation-delay: -4s; }

.phone {
  position: relative;
  width: 296px;
  padding: 9px;
  border-radius: 44px;
  background: var(--ink);
  box-shadow: 14px 16px 0 rgba(20, 21, 26, .16);
  rotate: -4deg;
}
.screen {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: .85rem .8rem 1rem;
  border-radius: 36px;
  background: var(--paper);
  overflow: hidden;
}

.status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 .55rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
}
.status-pill { width: 78px; height: 22px; border-radius: 999px; background: var(--ink); }
.status-icons { display: flex; justify-content: flex-end; align-items: flex-end; gap: 3px; }
.status-icons i { display: block; width: 4px; border-radius: 1px; background: var(--ink); }
.status-icons i:nth-child(1) { height: 5px; }
.status-icons i:nth-child(2) { height: 8px; }
.status-icons i:nth-child(3) { height: 11px; }

.screen-head { padding: 1.25rem .45rem .9rem; }
.screen-kicker {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.screen-title {
  margin-top: .2rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.routine { display: grid; gap: .45rem; }

.slot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .65rem;
  padding: .6rem .65rem;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
.slot-time {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 500;
}
.slot-body { display: grid; gap: .3rem; justify-items: start; }
.slot-title { font-size: .8rem; font-weight: 600; line-height: 1.2; }
.slot-tag {
  padding: .12rem .45rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.slot-sun .slot-tag { background: var(--sun); }
.slot-mint .slot-tag { background: var(--mint); }
.slot-lilac .slot-tag { background: var(--lilac); }
.slot-peach .slot-tag { background: var(--peach); }

.slot-state {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
}
.slot.is-done .slot-title { color: var(--muted); }
.slot.is-done .slot-state {
  border-color: var(--ink);
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.3 3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.slot.is-now {
  border-color: var(--ink);
  background: var(--blue);
  color: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}
.slot.is-now .slot-time { color: rgba(255, 255, 255, .8); }
.slot.is-now .slot-tag { background: #fff; color: var(--ink); }
.slot.is-now .slot-state {
  width: auto; height: auto;
  padding: .2rem .45rem;
  border: 0;
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.slot.is-now .slot-state::before { content: "Now"; }

.screen-foot {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: auto;
  padding: 1rem .45rem 0;
}
.progress {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.progress-bar {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: 999px;
  background: var(--ink);
  transition: width .6s ease;
}
.progress-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .64rem;
  white-space: nowrap;
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: .5em; height: .5em;
  margin: 0 1.3em;
  border-radius: 50%;
  background: var(--sun);
}

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

.section { padding: var(--section-y) 0; }
.section-tint { background: var(--paper-2); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem); }
.section-head h2 { font-size: clamp(2.1rem, 4.8vw, 3.7rem); }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  max-width: none;
}

.kicker {
  margin-bottom: 1rem;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.kicker-light { color: var(--sun); }

.section-sub {
  margin-top: 1.25rem;
  max-width: 38rem;
  color: var(--ink-2);
  font-size: 1.14rem;
}

/* ---------- Topics ---------- */

.topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.topic {
  padding: 1rem 1rem 1.75rem;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.topic:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }

.topic-art {
  display: grid;
  place-content: center;
  height: 172px;
  border: 2px solid var(--ink);
  border-radius: 16px;
}
.topic-mint .topic-art { background: var(--mint); }
.topic-lilac .topic-art { background: var(--lilac); }
.topic-sun .topic-art { background: var(--sun); }

.topic-num {
  margin: 1.4rem .6rem 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .8rem;
}
.topic h3 { margin: .35rem .6rem 0; font-size: 1.85rem; }
.topic > p:last-child { margin: .8rem .6rem 0; color: var(--ink-2); }

.art-apps { grid-template-columns: repeat(3, 46px); gap: 10px; }
.art-apps i {
  display: block;
  width: 46px; height: 46px;
  border: 2px solid var(--ink);
  border-radius: 13px;
  background: #fff;
}
.art-apps i.is-on {
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.4 3.6 3.6 7.4-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
  box-shadow: 3px 3px 0 var(--ink);
  translate: -2px -2px;
}

.art-tools { gap: 10px; justify-items: start; width: 100%; padding: 0 1.5rem; place-content: center stretch; }
.art-tools .prompt {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  padding: .6rem .8rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  box-shadow: 3px 3px 0 var(--ink);
}
.art-tools .prompt b { display: block; width: 55%; height: 8px; border-radius: 4px; background: var(--ink); }
.art-tools .answer {
  display: grid;
  gap: 7px;
  width: 78%;
  padding: .75rem .8rem;
  border: 2px solid var(--ink);
  border-radius: 4px 16px 16px 16px;
  background: var(--ink);
}
.art-tools .answer b { display: block; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .85); }
.art-tools .answer b:nth-child(2) { width: 82%; }
.art-tools .answer b:nth-child(3) { width: 48%; background: var(--sun); }

.art-routines { gap: 9px; width: 100%; padding: 0 1.5rem; place-content: center stretch; }
.art-routines .tick {
  display: grid;
  grid-template-columns: auto 1fr 20px;
  align-items: center;
  gap: .7rem;
  padding: .45rem .7rem;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
}
.art-routines .tick b { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; }
.art-routines .tick::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  height: 7px;
  border-radius: 4px;
  background: var(--paper-2);
}
.art-routines .tick b { grid-column: 1; grid-row: 1; }
.art-routines .tick i {
  grid-column: 3;
  grid-row: 1;
  display: block;
  width: 20px; height: 20px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.art-routines .tick.is-done::before { background: var(--ink); }
.art-routines .tick.is-done i {
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.5 10.3 3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- Instagram ---------- */

.ig { display: grid; gap: 1.75rem; margin-bottom: 2rem; }

/* Frames around Instagram's own embeds. The embed script sizes the iframes; these rules only fit them to the layout. */
.reel {
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}

.reels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1.25rem;
}

.ig .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.ig-more { justify-self: center; }

/* Shown until Instagram's script swaps the link for the embed (or if a content blocker stops it). */
.ig blockquote.instagram-media {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 2rem;
  text-align: center;
}
.ig blockquote.instagram-media a {
  color: var(--blue);
  font-weight: 600;
  text-underline-offset: 5px;
}

.follow-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}
.follow-id { display: flex; align-items: center; gap: 1rem; }
.avatar { flex: none; border-radius: 50%; }
.follow-handle {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.follow-meta {
  margin-top: .3rem;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: rgba(255, 255, 255, .88);
}
.follow-line { max-width: 30rem; font-size: 1.1rem; line-height: 1.45; }

/* ---------- News ---------- */

/* With a news block between them, Instagram and Topics would both sit on the same tint; shift Topics instead. */
.has-news #topics { background: var(--paper-2); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.news-card a {
  display: grid;
  align-content: start;
  gap: .55rem;
  height: 100%;
  padding: .85rem .85rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card a:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }

.news-cover {
  display: block;
  aspect-ratio: 16 / 10;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--paper-2);
  overflow: hidden;
}
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-cover.is-empty { display: grid; place-items: center; }
.news-cover.is-empty .brand-mark { width: 60px; height: 60px; }
.news-cover.tint-0 { background: var(--mint); }
.news-cover.tint-1 { background: var(--lilac); }
.news-cover.tint-2 { background: var(--sun); }

.news-date {
  margin: .7rem .4rem 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.news-title {
  margin: 0 .4rem;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.news-card a:hover .news-title { color: var(--blue); }
.news-summary {
  display: -webkit-box;
  margin: 0 .4rem;
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-empty {
  padding: 2.5rem 2rem;
  border: 2px dashed var(--line);
  border-radius: 22px;
  color: var(--muted);
}

.pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 2.75rem;
}
.pager > :first-child { justify-self: start; }
.pager > :last-child { justify-self: end; }
.pager-count { color: var(--muted); font-family: var(--font-mono); font-size: .82rem; }

.page-title { font-size: clamp(2.4rem, 6vw, 4.2rem); }

/* ---------- News article ---------- */

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

.back-link {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
}
.back-link:hover { color: var(--blue); }

.article-date {
  margin-top: 2.25rem;
  color: var(--blue);
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.article h1 {
  margin-top: .8rem;
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}
.article-lead {
  margin-top: 1.3rem;
  color: var(--ink-2);
  font-size: clamp(1.12rem, 1.8vw, 1.3rem);
  line-height: 1.5;
}
.article-cover {
  margin-top: 2.25rem;
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.article-cover img { width: 100%; height: auto; }

.article-body {
  max-width: none;
  margin-top: 2.5rem;
  font-size: 1.12rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.article-body > :first-child { margin-top: 0; }
.article-source { margin-top: 2.5rem; }
.article-more { margin-top: clamp(3.5rem, 8vw, 5.5rem); }

.preview-banner {
  padding: .75rem 1rem;
  border-bottom: 2px solid var(--ink);
  background: var(--sun);
  font-weight: 600;
  text-align: center;
}

/* ---------- Collab ---------- */

.collab { background: var(--ink); color: var(--paper); }
.collab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.collab h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.collab-lead {
  margin-top: 1.4rem;
  max-width: 36rem;
  color: rgba(244, 241, 234, .82);
  font-size: 1.14rem;
}

.collab-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.collab-facts li {
  display: grid;
  gap: .5rem;
  align-content: end;
  min-height: 150px;
  padding: 1.25rem;
  border: 2px solid rgba(244, 241, 234, .28);
  border-radius: 22px;
}
.collab-facts .fact-wide { grid-column: 1 / -1; min-height: 0; }
.fact-num {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--sun);
}
.fact-label {
  color: rgba(244, 241, 234, .75);
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.fact-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.fact-tags b {
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 2.75rem 0 2.25rem;
  background: var(--ink);
  color: rgba(244, 241, 234, .78);
  border-top: 1px solid rgba(244, 241, 234, .16);
}
.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
}
.footer-brand p { margin-top: .6rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer-nav a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.footer-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .4rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(244, 241, 234, .16);
  font-size: .9rem;
}

/* ---------- Text pages (privacy, 404) ---------- */

.page { padding: clamp(3rem, 7vw, 5.5rem) 0 var(--section-y); }
.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.prose h2 { margin-top: 2.6rem; font-size: 1.55rem; letter-spacing: -0.02em; }
.prose p, .prose ul { margin-top: 1rem; color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; list-style: disc; }
.prose li + li { margin-top: .4rem; }
.prose a:not(.btn) { color: var(--blue); font-weight: 600; text-underline-offset: 4px; }
.prose h3 { margin-top: 2rem; font-size: 1.25rem; letter-spacing: -0.02em; }
.prose h4 { margin-top: 1.6rem; font-size: 1.05rem; letter-spacing: -0.01em; }
.prose ol { margin-top: 1rem; padding-left: 1.4rem; color: var(--ink-2); list-style: decimal; }
.prose strong { color: var(--ink); }
.prose hr { margin: 2.5rem 0; border: 0; border-top: 2px solid var(--ink); }
.prose blockquote:not(.instagram-media) {
  margin: 1.5rem 0 0;
  padding: .2rem 0 .2rem 1.2rem;
  border-left: 4px solid var(--sun);
  font-size: 1.1em;
}
.prose blockquote:not(.instagram-media) p { margin-top: 0; color: var(--ink); }
.prose code {
  padding: .12em .4em;
  border-radius: 6px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: .88em;
}
.prose pre {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  overflow-x: auto;
}
.prose pre code { padding: 0; background: none; color: inherit; font-size: .88rem; line-height: 1.6; }
.prose figure { margin: 2rem 0 0; }
.prose figure img { width: 100%; height: auto; border: 2px solid var(--ink); border-radius: 16px; }
.prose figcaption { margin-top: .6rem; color: var(--muted); font-size: .9rem; text-align: center; }
/* An Instagram post dropped into an article: same frame as on the home page, sized like a phone. */
.article-body .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 420px !important;
  margin: 2rem auto 0 !important;
  border: 2px solid var(--ink) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  overflow: hidden;
}
.article-body blockquote.instagram-media { padding: 2rem; background: #fff; text-align: center; }
.prose .updated {
  margin-top: 1rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .82rem;
}

.lost { display: grid; justify-items: start; gap: 1.4rem; }
.lost-code {
  font-family: var(--font-mono);
  font-size: .86rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Motion ---------- */

@keyframes marquee { to { transform: translateX(-25%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { translate: 0 -8px; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero-copy > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }
.stage { animation: rise .9s .15s cubic-bezier(.2, .7, .2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Responsive ---------- */

.br-wide { display: none; }

@media (min-width: 1000px) {
  .br-wide { display: inline; }
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 42rem; }
  .stage { min-height: 620px; max-width: 520px; width: 100%; margin-inline: auto; }

  .topics { grid-template-columns: 1fr; max-width: 34rem; }

  /* Reels become a swipeable row below desktop width: Instagram's player needs about 330px, more than a third of a tablet. */
  .reels {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(330px, 86vw);
    gap: .9rem;
    margin-inline: -1rem;
    padding: 0 1rem .75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .reel { scroll-snap-align: center; }

  .news-grid { gap: 1rem; }
  .news-title { font-size: 1.2rem; }
  .follow-band { grid-template-columns: 1fr; }
  .collab-grid { grid-template-columns: 1fr; }
  .collab-facts { max-width: 34rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: .5rem 1.25rem 1.25rem;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
  }
  .nav-open .nav { display: flex; }
  .nav a {
    padding: 1rem .25rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ink);
  }
  .nav a:last-child { border-bottom: 0; }

  .section-head-row { flex-direction: column; align-items: flex-start; }
  .news-grid { grid-template-columns: 1fr; max-width: 30rem; }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .wrap.article { width: min(100% - 2rem, 46rem); }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager-count { display: none; }
  .brand { font-size: 1.12rem; }
  .header-row { height: 68px; }

  .cta-row .btn { width: 100%; }
  .stats { gap: 1.25rem 2rem; }
  .stat-wide { flex-basis: 100%; }
  .stat dd.stat-text { min-height: 0; }

  .stage { min-height: 560px; }
  .stage::before { width: 92%; }
  .orbit { width: 118%; }
  .phone { width: 270px; }
  .screen { min-height: 520px; }
  .chip { font-size: .88rem; padding: .4rem .75rem; }
  .chip-a { top: -1%; }
  .chip-b { right: -1%; }

  .collab-facts li { min-height: 124px; padding: 1rem; }
  .footer-base { flex-direction: column; }
}
