/* ABOUTME: Site-wide styles: design tokens, fonts, typography, header and menus, footer, buttons and book cards. */
/* ABOUTME: Page-specific stylesheets (home, tutorial, book, …) build on the tokens defined here. */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --plum-950: #220a20;
  --plum-900: #2f0f2c;
  --plum-800: #3e1439;
  --plum: #4e194a;
  --plum-600: #6b2c65;
  --plum-300: #b98fb2;
  --plum-100: #f1e6ee;
  --blue: #2274a5;
  --blue-700: #1b5f88;
  --blue-100: #e2eef6;
  --rose: #c2948a;
  --rose-300: #dab7af;
  --rose-100: #f5e9e5;
  --cream: #f6f0ed;
  --paper: #fcfaf8;
  --sand: #bbb193;
  --sand-200: #e6e1d2;
  --ink: #261725;
  --ink-soft: #5d4c5a;
  --line: #e7dcd6;
  --white: #fff;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.4vw, 2.5rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.4vw, 3.6rem);

  --wrap: 1200px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgb(38 23 37 / 0.06), 0 2px 6px rgb(38 23 37 / 0.06);
  --shadow-md: 0 2px 4px rgb(38 23 37 / 0.06), 0 10px 24px -6px rgb(38 23 37 / 0.18);
  --shadow-book: 0 1px 1px rgb(38 23 37 / 0.08), 0 6px 12px -2px rgb(38 23 37 / 0.18), 0 18px 32px -12px rgb(38 23 37 / 0.28);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --header-height: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
  font-variation-settings: "SOFT" 30;
}

h1 {
  font-size: var(--step-4);
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-2);
}
h4 {
  font-size: var(--step-1);
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

a {
  color: var(--blue-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s;
}

a:hover {
  color: var(--plum);
}

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

::selection {
  background: var(--rose-300);
  color: var(--ink);
}

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--white);
  color: var(--plum);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum-600);
}

.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 2px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow--light {
  color: var(--rose-300);
}

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--plum);
  color: var(--white);
  font: 600 var(--step-0) / 1.2 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.button:hover {
  background: var(--plum-800);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.button--blue {
  background: var(--blue);
}
.button--blue:hover {
  background: var(--blue-700);
}

.button--light {
  background: var(--cream);
  color: var(--plum);
}
.button--light:hover {
  background: var(--white);
  color: var(--plum-800);
}

.button--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--plum);
}
.button--ghost:hover {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--white);
}

.button--ghost-light {
  background: transparent;
  border-color: rgb(255 255 255 / 0.55);
  color: var(--white);
}
.button--ghost-light:hover {
  background: rgb(255 255 255 / 0.12);
  border-color: var(--white);
}

.button .arrow {
  transition: transform 0.25s var(--ease);
}
.button:hover .arrow {
  transform: translateX(3px);
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--plum);
  border-bottom: 1.5px solid var(--rose);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.text-link:hover {
  border-color: var(--plum);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--plum);
  color: var(--white);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.06), 0 6px 20px -12px rgb(0 0 0 / 0.5);
}

.site-header__inner {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.brand:hover {
  color: var(--white);
}

.brand__logo {
  width: 30px;
  height: auto;
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__logo {
  transform: rotate(-6deg);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: rgb(255 255 255 / 0.88);
  font-weight: 500;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s, color 0.2s;
}

.site-nav__link::-webkit-details-marker {
  display: none;
}

.site-nav__link:hover,
.menu[open] > .site-nav__link {
  background: rgb(255 255 255 / 0.1);
  color: var(--white);
}

.site-nav__link[aria-current="page"],
.site-nav__link.is-current {
  color: var(--white);
  box-shadow: inset 0 -2px 0 var(--rose);
  border-radius: 0;
}

.icon--chevron {
  transition: transform 0.25s var(--ease);
}

.menu[open] .icon--chevron {
  transform: rotate(180deg);
}

.speedoku-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--plum);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}

.speedoku-pill:hover {
  background: var(--white);
  color: var(--plum);
  transform: translateY(-1px);
}

.speedoku-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgb(34 116 165 / 0.5);
}

@media (prefers-reduced-motion: no-preference) {
  .speedoku-pill__dot {
    animation: pulse 2.4s infinite;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(34 116 165 / 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgb(34 116 165 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(34 116 165 / 0);
  }
}

/* Dropdown menus */

.site-nav__menu {
  position: relative;
}

.menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  translate: -50% 0;
  z-index: 60;
  width: max-content;
  max-width: min(92vw, 380px);
  padding: 1.25rem;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -12px rgb(34 10 32 / 0.4), 0 0 0 1px rgb(78 25 74 / 0.06);
}

.menu[open] .menu__panel {
  animation: menu-in 0.22s var(--ease);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.menu__panel--wide {
  max-width: min(94vw, 900px);
  width: 900px;
  translate: -36% 0;
  padding: 1.5rem 1.75rem;
}

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

.menu__heading {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum-600);
}

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

.menu__group a {
  display: block;
  padding: 0.28rem 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.35;
  text-decoration: none;
}

.menu__group a:hover {
  color: var(--blue-700);
}

.menu__group--other {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.menu__grid {
  columns: 5;
  column-gap: 2rem;
}

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

.menu__cards a {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s;
}

.menu__cards a:hover {
  background: var(--cream);
}

.menu__cards span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.menu__footer-link {
  display: inline-block;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  width: 100%;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--plum);
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.08);
    color: var(--white);
    cursor: pointer;
  }

  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease), background-color 0.2s;
  }

  .nav-toggle__bars {
    position: relative;
  }

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

  .nav-toggle__bars::before {
    top: -6px;
  }
  .nav-toggle__bars::after {
    top: 6px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    overflow-y: auto;
    padding: 1rem var(--gutter) 3rem;
    background: var(--plum-900);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
  }

  .js .site-nav.is-open,
  .site-nav:target {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  html:not(.js) .site-nav {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    padding: 0 0 1rem;
    background: none;
  }

  html:not(.js) .site-header__inner {
    flex-wrap: wrap;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list > li {
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
  }

  .site-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 0.25rem;
    border-radius: 0;
    font-size: 1.15rem;
  }

  .site-nav__link:hover,
  .menu[open] > .site-nav__link {
    background: none;
  }

  .site-nav__link[aria-current="page"],
  .site-nav__link.is-current {
    box-shadow: none;
    color: var(--rose-300);
  }

  .menu__panel,
  .menu__panel--wide {
    position: static;
    translate: none;
    width: auto;
    max-width: none;
    padding: 0 0.25rem 1.25rem;
    background: none;
    color: var(--white);
    box-shadow: none;
    animation: none;
  }

  .menu__columns {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .menu__group--other {
    padding-top: 0;
    border-top: 0;
  }

  .menu__grid {
    columns: 2;
  }

  .menu__heading {
    color: var(--rose-300);
  }

  .menu__group a,
  .menu__cards a {
    color: rgb(255 255 255 / 0.85);
  }

  .menu__cards a:hover {
    background: rgb(255 255 255 / 0.06);
  }

  .menu__cards span {
    color: rgb(255 255 255 / 0.6);
  }

  .menu__footer-link {
    color: var(--rose-300);
    border-color: rgb(255 255 255 / 0.1);
  }

  .site-nav__cta {
    border-bottom: 0 !important;
    padding-top: 1.5rem;
  }

  .speedoku-pill {
    margin: 0;
    justify-content: center;
    width: 100%;
    padding: 0.9rem;
    font-size: 1.05rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 420px) {
  .brand__name {
    font-size: 1.15rem;
  }
}

/* Section headings */

.section {
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem);
}

.section-head h2 {
  margin: 0;
}

.section-head p {
  margin: 0.5rem 0 0;
  max-width: 56ch;
  color: var(--ink-soft);
}

/* Book cards */

.book-grid,
.book-row {
  margin: 0;
  padding: 0;
  list-style: none;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 42vw), 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(1rem, 0.6rem + 1.5vw, 2rem);
}

.book-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(140px, 30vw, 190px);
  gap: clamp(1rem, 0.6rem + 1.5vw, 1.75rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  padding: 0.5rem 4px 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--rose-300) transparent;
}

.book-row > li {
  scroll-snap-align: start;
}

.book-card__link {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--ink);
  text-decoration: none;
}

.book-card__cover {
  display: block;
  margin-bottom: 0.65rem;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-book);
  background: var(--cream);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.book-card__cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.book-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.25;
  transition: color 0.2s;
}

.book-card__meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (hover: hover) {
  .book-card__link:hover .book-card__cover {
    transform: translateY(-4px);
    box-shadow: 0 2px 4px rgb(38 23 37 / 0.08), 0 14px 24px -6px rgb(38 23 37 / 0.25), 0 30px 50px -20px rgb(38 23 37 / 0.35);
  }

  .book-card__link:hover .book-card__cover img {
    transform: scale(1.04);
  }

  .book-card__link:hover .book-card__title {
    color: var(--plum);
  }
}

/* Prose (rendered Markdown) */

.prose {
  font-size: 1.075rem;
  line-height: 1.75;
}

.prose > * + * {
  margin-top: 0;
}

.prose h2 {
  margin-top: 2.5em;
}

.prose h3 {
  margin-top: 1.8em;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1.25em;
}

.prose li {
  margin-bottom: 0.5em;
  padding-left: 0.25em;
}

.prose li::marker {
  color: var(--rose);
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 0.25em 0 0.25em 1.25em;
  border-left: 3px solid var(--rose);
  font-family: var(--font-display);
  font-size: 1.15em;
  font-style: italic;
  color: var(--ink-soft);
}

.prose hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.5em 0;
}

.prose strong {
  font-weight: 650;
}

/* Scroll reveal: elements fade up once as they enter the viewport (js/site.js). */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    transition-delay: calc(var(--reveal-order, 0) * 90ms);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Footer */

.site-footer {
  background: var(--plum-900);
  color: rgb(255 255 255 / 0.78);
  font-size: 0.95rem;
}

.site-footer a {
  color: rgb(255 255 255 / 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer__inner {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 3rem;
  padding-block: 4rem 3rem;
}

.site-footer__brand img {
  width: 52px;
  margin-bottom: 1.25rem;
}

.site-footer__brand p {
  max-width: 30ch;
}

.social {
  display: flex;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.07);
  transition: background-color 0.2s;
}

.social a:hover {
  background: rgb(255 255 255 / 0.16);
}

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

.site-footer__heading {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rose-300);
}

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

.site-footer__nav li {
  margin-bottom: 0.55rem;
}

.site-footer__legal {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-block: 1.75rem 2.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.85rem;
  color: rgb(255 255 255 / 0.6);
}

.site-footer__legal p {
  margin: 0 0 0.5rem;
  max-width: 90ch;
}

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

/* Page header band shared by inner pages */

.page-hero {
  position: relative;
  background: var(--cream);
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) clamp(2rem, 1.25rem + 3vw, 3.5rem);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 60% 90% at 100% 0%, #000 0%, transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--rose);
}

.breadcrumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--plum);
  text-decoration: underline;
}
