/* ============================================
   SITE TEMPLATE — STYLESHEET
   A reusable three-page site template.
   Static HTML + CSS. No JavaScript dependencies.
   License: CC0
   ============================================ */

/* --- Animated accent hue (enables scroll-driven colour shift) --- */

@property --accent-hue {
  syntax: "<number>";
  initial-value: 343;
  inherits: true;
}

/* --- Reset & Base --- */

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

:root {
  /* COLOURS — swap these to re-theme per project */
  --color-bg: #ffffff;
  --color-text: #000000;
  --accent-hue: 343;
  --color-accent: hsl(var(--accent-hue) 76% 52%);
  --color-accent-light: hsl(var(--accent-hue) 60% 95%);
  --color-muted: #6d6d6d;
  --color-border: #dbdbdb;
  --color-header-overlay: rgba(144, 85, 162, 0.45);
  --color-white: #fff;
  --color-purple: #9055a2;
  --pixel-fade-height: clamp(1.4rem, 3.8vw, 2.6rem);
  --pixel-unit: clamp(10px, 1.2vw, 18px);
  --pixel-gap: clamp(1.75rem, 4vw, 3rem);

  /* TYPOGRAPHY */
  --font-body: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-heading: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  /* SPACING */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;

  /* WIDTHS */
  --max-width: 52rem;

  /* SECTION RHYTHM — vertical padding for every layout section */
  --space-section: 2.5rem;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5' fill='none' stroke='%23e22658' stroke-width='1.5'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23e22658'/%3E%3C/svg%3E") 12 12, auto;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  hanging-punctuation: first;
  font-variant-numeric: oldstyle-nums;
}

/* --- Selection highlight --- */

::selection {
  background: var(--color-accent-light);
  color: var(--color-text);
}

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-skip-ink: auto;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--color-accent);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Skip Link (accessibility) --- */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-sm);
  z-index: 100;
  border-radius: 0 0 0.25rem 0.25rem;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   NAVIGATION
   Mobile-first: hamburger by default,
   horizontal bar on wider screens.
   ============================================ */

.site-nav {
  background: rgba(144, 85, 162, 0.95);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-sm);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid var(--color-accent);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-white);
  text-decoration: none;
}

/* Hamburger toggle — uses a hidden checkbox, no JS needed */

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.3s, opacity 0.3s;
}

/* Animate hamburger to X when open */
.nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}

.nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  list-style: none;
  display: none;
  flex-direction: column;
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(144, 85, 162, 0.98);
  padding: 0 var(--space-sm) var(--space-sm);
}

.nav-toggle:checked ~ .nav-links {
  display: flex;
}

.nav-links a {
  color: var(--color-white);
  text-decoration: none;
  padding: var(--space-xs) 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--color-accent-light);
}

.nav-links a[aria-current="page"] {
  font-weight: 700;
}

/* Desktop nav: 600px+ */
@media (min-width: 37.5em) {
  .nav-toggle-label {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    padding: 0;
    gap: var(--space-sm);
  }

  .nav-links a {
    border-bottom: none;
    padding: var(--space-xs);
    position: relative;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='8' viewBox='0 0 120 8'%3E%3Cpath d='M0 4 C 10 1, 20 7, 30 4 S 50 1, 60 4 S 80 7, 90 4 S 110 1, 120 4' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") left / 100% 100% no-repeat;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  }

  .nav-links a:hover::after,
  .nav-links a:focus-visible::after {
    transform: scaleX(1);
  }
}

/* ============================================
   SPLASH HEADER
   Full-width background image with headline
   text over a dark overlay. "Above the fold."
   ============================================ */

.splash {
  position: relative;
  overflow: visible;
  isolation: isolate;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
  color: var(--color-white);

  /* BACKGROUND IMAGE — replace per project.
     Use a high-res image; object-fit handles scaling.
     The ::before overlay ensures text readability. */
  background: var(--color-accent) url("img/splash.jpg") center / cover no-repeat;
  background-attachment: fixed;
}

.splash::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(144, 85, 162, 0.35), rgba(0, 0, 0, 0.55)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='3' cy='3' r='1.2' fill='%239055a2'/%3E%3C/svg%3E");
  backdrop-filter: contrast(1.1) brightness(0.85) saturate(0.7);
  opacity: 0.96;
  pointer-events: none;
}

.splash::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--pixel-fade-height);
  transform: translateY(100%);
  background:
    linear-gradient(to bottom, rgba(144, 85, 162, 0.88) 0%, rgba(144, 85, 162, 0.42) 32%, rgba(144, 85, 162, 0.08) 58%, transparent 78%),
    repeating-linear-gradient(90deg, rgba(144, 85, 162, 0.88) 0 calc(var(--pixel-unit) * 1), transparent calc(var(--pixel-unit) * 1) calc(var(--pixel-unit) * 2)),
    repeating-linear-gradient(90deg, transparent 0 calc(var(--pixel-unit) * 0.6), rgba(144, 85, 162, 0.6) calc(var(--pixel-unit) * 0.6) calc(var(--pixel-unit) * 1.5), transparent calc(var(--pixel-unit) * 1.5) calc(var(--pixel-unit) * 2.7)),
    repeating-linear-gradient(0deg, transparent 0 calc(var(--pixel-unit) * 0.7), rgba(144, 85, 162, 0.32) calc(var(--pixel-unit) * 0.7) calc(var(--pixel-unit) * 1.5), transparent calc(var(--pixel-unit) * 1.5) calc(var(--pixel-unit) * 2.2));
  background-size:
    100% 100%,
    100% 62%,
    100% 80%,
    100% 100%;
  background-position:
    0 0,
    0 0,
    0 calc(var(--pixel-unit) * 0.45),
    0 0;
  background-repeat: no-repeat;
  filter: saturate(1.05) contrast(1.08);
  pointer-events: none;
}

.splash-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
}

.splash h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: var(--space-xs);
  background: linear-gradient(
    135deg,
    #fff 0%,
    #faeaed 30%,
    #fff 50%,
    #f0c0d0 70%,
    #fff 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s ease-in-out infinite;
}

.splash p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.9;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--space-section) + var(--pixel-gap)) var(--space-sm) var(--space-section);
}

/* --- Context Paragraph --- */

.context {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  max-width: 42rem;
}

/* --- Detail Points (the 4–6 items on the home page) --- */

.details {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 37.5em) {
  .details {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 60em) {
  .details {
    grid-template-columns: repeat(3, 1fr);
  }
}

.detail-card {
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: 2px;
  padding: var(--space-sm);
  background: var(--color-white);
  position: relative;
  box-shadow:
    3px 3px 0 -1px var(--color-accent-light),
    3px 3px 0 0 var(--color-border),
    6px 6px 0 -1px var(--color-accent-light),
    6px 6px 0 0 var(--color-border);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.detail-card:hover {
  box-shadow:
    4px 5px 0 -1px var(--color-accent-light),
    4px 5px 0 0 var(--color-border),
    8px 10px 0 -1px var(--color-accent-light),
    8px 10px 0 0 var(--color-border);
  transform: translate(-1px, -2px);
}

.detail-card:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

@media (min-width: 37.5em) {
  .detail-card:not(:last-child) {
    border-bottom: none;
  }
}

.detail-card h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: var(--space-xs);
}

.detail-card p {
  color: var(--color-muted);
}

/* ============================================
   DETAILS PAGE — Embed Spots
   Clearly marked areas where third-party
   embeds (forms, tip jars, etc.) can go.
   ============================================ */

.embed-spot {
  border: 2px dashed var(--color-accent);
  border-radius: 2px;
  padding: var(--space-md);
  margin: var(--space-md) 0;
  text-align: center;
  background: var(--color-accent-light);
}

.embed-spot p {
  color: var(--color-muted);
  font-style: italic;
}

/* ============================================
   CONTEXT PAGE — flexible prose layout
   (bio, FAQ, about — adapts per project)
   ============================================ */

.prose h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.25;
  margin: var(--space-md) 0 var(--space-xs);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: var(--space-sm);
}

.prose ul,
.prose ol {
  margin: 0 0 var(--space-sm) var(--space-md);
}

.prose li {
  margin-bottom: var(--space-xs);
}

/* ============================================
   LAYOUT SECTIONS
   Reusable section types. Mix and match on
   any page. Remove sections you don't need.
   ============================================ */

/* --- Highlight Band: full-width accent strip --- */

.highlight-band {
  position: relative;
  overflow: visible;
  isolation: isolate;
  margin-top: var(--pixel-gap);
  margin-bottom: var(--pixel-gap);
  background: var(--color-purple);
  color: var(--color-white);
  padding: var(--space-section) var(--space-sm);
  text-align: center;
}

.highlight-band::before,
.highlight-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: var(--pixel-fade-height);
  background:
    linear-gradient(to bottom, rgba(144, 85, 162, 0.9) 0%, rgba(144, 85, 162, 0.44) 30%, rgba(144, 85, 162, 0.1) 56%, transparent 78%),
    repeating-linear-gradient(90deg, rgba(144, 85, 162, 0.9) 0 calc(var(--pixel-unit) * 1), transparent calc(var(--pixel-unit) * 1) calc(var(--pixel-unit) * 2)),
    repeating-linear-gradient(90deg, transparent 0 calc(var(--pixel-unit) * 0.7), rgba(144, 85, 162, 0.68) calc(var(--pixel-unit) * 0.7) calc(var(--pixel-unit) * 1.55), transparent calc(var(--pixel-unit) * 1.55) calc(var(--pixel-unit) * 2.65)),
    repeating-linear-gradient(0deg, transparent 0 calc(var(--pixel-unit) * 0.7), rgba(255, 255, 255, 0.08) calc(var(--pixel-unit) * 0.7) calc(var(--pixel-unit) * 1.45), transparent calc(var(--pixel-unit) * 1.45) calc(var(--pixel-unit) * 2.2));
  background-size:
    100% 100%,
    100% 64%,
    100% 82%,
    100% 100%;
  background-position:
    0 0,
    0 0,
    0 calc(var(--pixel-unit) * 0.35),
    0 0;
  background-repeat: no-repeat;
  pointer-events: none;
}

.highlight-band::before {
  top: 0;
  transform: translateY(-100%) scaleY(-1);
}

.highlight-band::after {
  bottom: 0;
  transform: translateY(100%);
}

.highlight-band-inner {
  display: block;
  max-width: var(--max-width);
  margin: 0 auto;
}

.highlight-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.3;
  margin-bottom: var(--space-xs);
}

.highlight-band p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-md);
}

.highlight-band .btn {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-purple);
  text-decoration: none;
  padding: var(--space-xs) var(--space-md);
  border-radius: 2px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.highlight-band .btn:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

/* --- Split: two-column text + image --- */

.split {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-section) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 37.5em) {
  .split {
    flex-direction: row;
    align-items: center;
  }

  .split-text,
  .split-media {
    flex: 1;
  }

  .split--reverse {
    flex-direction: row-reverse;
  }
}

.split-text h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: var(--space-xs);
}

.split-text p {
  color: var(--color-muted);
  margin-bottom: var(--space-sm);
}

.split-media {
  border-radius: 2px;
  overflow: hidden;
  background: var(--color-accent-light);
  border: 1px dashed var(--color-border);
  min-height: 14rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-style: italic;
  font-size: 0.875rem;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Stats: row of key numbers --- */

.stats {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-section) var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  text-align: center;
  list-style: none;
}

.stat {
  flex: 1;
  min-width: 8rem;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Pullquote: styled blockquote --- */

.pullquote {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-section) var(--space-sm);
}

.pullquote blockquote {
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-md);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.5;
  font-style: italic;
  color: var(--color-text);
  transform: rotate(-0.5deg);
}

.pullquote cite {
  display: block;
  margin-top: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: normal;
  color: var(--color-muted);
  transform: rotate(0.5deg);
}

/* --- Steps: numbered process --- */

.steps {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-section) var(--space-sm);
}

.steps h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.steps-list {
  list-style: none;
  counter-reset: step;
}

.steps-list li {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
  padding-bottom: var(--space-md);
  border-left: 2px solid var(--color-border);
  margin-left: 1rem;
}

.steps-list li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: -1.1rem;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.steps-list h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

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

/* --- Accordion: CSS-only FAQ with <details> --- */

.accordion {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-section) var(--space-sm);
}

.accordion h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.accordion details {
  border-bottom: 1px solid var(--color-border);
}

.accordion summary {
  padding: var(--space-sm) 0;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

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

.accordion summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.accordion details[open] summary::after {
  transform: rotate(45deg);
}

.accordion details p {
  padding: 0 0 var(--space-sm);
  color: var(--color-muted);
}

/* --- Gallery: responsive image grid --- */

.gallery {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-section) var(--space-sm);
}

.gallery h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.gallery-grid {
  display: grid;
  margin: 0;
  padding: 0;
  border: 0;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  gap: var(--space-xs);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.gallery-placeholder {
  background: var(--color-accent-light);
  border: 1px dashed var(--color-border);
  border-radius: 2px;
  aspect-ratio: 1;
}

/* ============================================
   FOOTER
   Social links + credits, consistent on
   every page.
   ============================================ */

.site-footer {
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, var(--color-border), transparent) 1;
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.social-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.social-links a {
  color: var(--color-muted);
}

.social-links a:hover {
  color: var(--color-accent);
}

.credits {
  margin-top: var(--space-xs);
  font-variant: small-caps;
  letter-spacing: 0.05em;
}

.land-acknowledgement {
  margin-top: var(--space-sm);
  font-style: italic;
}

/* ============================================
   VISUAL ENHANCEMENTS
   Progressive enhancements for modern browsers.
   All effects degrade gracefully.
   ============================================ */

/* --- Blend overlay on detail cards --- */

.detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: hsl(var(--accent-hue) 60% 50%);
  opacity: 0.04;
  mix-blend-mode: multiply;
  border-radius: 2px;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.detail-card:hover::before {
  opacity: 0;
}

/* --- Cursor: restore pointer on interactive elements --- */

a, button, [role="button"], label[for], summary {
  cursor: pointer;
}

/* --- Shimmer keyframes (text masking on splash headline) --- */

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Scroll-driven card entrance (Chromium 115+) --- */

@supports (animation-timeline: view()) {
  .detail-card {
    animation: card-enter linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }

  @keyframes card-enter {
    from {
      opacity: 0;
      translate: 0 2rem;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}

/* --- Scroll-driven accent hue shift (Chromium 115+) --- */

@supports (animation-timeline: scroll()) {
  body {
    animation: hue-shift linear both;
    animation-timeline: scroll();
  }

  @keyframes hue-shift {
    from { --accent-hue: 343; }
    to { --accent-hue: 270; }
  }
}

/* ============================================
   UTILITIES
   ============================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* --- Focus ring --- */

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Reduced motion --- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   PRINT
   ============================================ */

@media print {
  .site-nav,
  .skip-link {
    display: none;
  }

  .splash {
    min-height: auto;
    padding: var(--space-md) var(--space-sm);
    color: var(--color-text);
    background: none;
  }

  .splash::before,
  .splash::after {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .site-footer {
    border-image: none;
    border-top: 1px solid #999;
  }
}
