/*
Theme Name: KALYT
Theme URI: https://kalyt.dk
Author: KALYT
Description: Et enkelt, redigerbart WordPress-tema til KALYT tegnestue.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: kalyt
*/

:root {
  --ink: #11110f;
  --paper: #f5f3ef;
  --white: #ffffff;
  --accent: #c2b29e;
  --muted: #77736d;
  --line: rgba(17, 17, 15, .22);
  --pad: clamp(1.2rem, 3vw, 3.4rem);
  --radius: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  color: var(--white);
  mix-blend-mode: difference;
}
.admin-bar .site-header { top: 32px; }
.brand { display: block; width: clamp(8rem, 12vw, 11rem); }
.brand img { width: 100%; max-height: 2.2rem; object-fit: contain; object-position: left center; }
.site-nav { display: flex; gap: clamp(1rem, 2.5vw, 2.8rem); align-items: center; font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -.35rem; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; border: 0; background: none; color: inherit; text-transform: uppercase; letter-spacing: .08em; padding: .5rem 0; }

.hero { min-height: 100svh; position: relative; display: grid; align-items: end; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-media { position: absolute; inset: 0; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.62)); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.025); animation: heroIn 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero-content { position: relative; z-index: 1; padding: 7rem var(--pad) var(--pad); }
.hero-kicker { margin: 0 0 1rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; }
.hero h1 { max-width: 13ch; margin: 0; font-size: clamp(3.2rem, 8.8vw, 9rem); line-height: .88; letter-spacing: -.065em; font-weight: 500; text-wrap: balance; }
.hero-bottom { margin-top: clamp(2.2rem, 5vw, 5rem); display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.hero-bottom p { max-width: 38rem; margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.4rem); }
.scroll-mark { display: inline-grid; place-items: center; width: 4rem; height: 4rem; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; font-size: 1.5rem; transition: background .25s, color .25s; }
.scroll-mark:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }

.section { padding: clamp(5rem, 10vw, 10rem) var(--pad); }
.section-label { margin: 0 0 2.5rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: minmax(8rem, .6fr) minmax(0, 2fr); gap: 2rem; }
.statement { max-width: 26ch; margin: 0; font-size: clamp(2.2rem, 5.8vw, 6rem); line-height: .99; letter-spacing: -.055em; font-weight: 500; text-wrap: balance; }

.services { background: var(--white); padding: 0 var(--pad); }
.service-row { display: grid; grid-template-columns: 4rem 1fr auto; gap: 1rem; align-items: center; min-height: clamp(6rem, 10vw, 9rem); border-top: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform .45s cubic-bezier(.25,.8,.25,1); }
.service-row:hover::before, .service-row:focus-visible::before { transform: translateY(0); }
.service-number { font-size: .76rem; color: var(--muted); }
.service-title { margin: 0; font-size: clamp(2rem, 5vw, 5.4rem); font-weight: 500; letter-spacing: -.05em; line-height: .95; }
.service-arrow { font-size: clamp(2rem, 4vw, 4rem); transition: transform .4s ease; }
.service-row:hover .service-arrow { transform: translate(15%, -15%); }

.project-feature { background: var(--ink); color: var(--white); }
.project-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.2rem; }
.project-head h2 { margin: 0; font-size: clamp(2.6rem, 6.6vw, 7rem); line-height: .92; letter-spacing: -.06em; font-weight: 500; }
.project-link { white-space: nowrap; border-bottom: 1px solid currentColor; padding-bottom: .25rem; }
.project-image { aspect-ratio: 16 / 9; overflow: hidden; background: #262622; }
.project-image img { height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.project-image:hover img { transform: scale(1.025); }
.project-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.25rem; font-size: .88rem; }
.project-meta strong { display: block; margin-bottom: .25rem; color: var(--accent); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.process-step { min-height: 14rem; padding: 1.2rem 1rem 1.2rem 0; border-bottom: 1px solid var(--line); }
.process-step + .process-step { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.process-step span { color: var(--muted); font-size: .78rem; }
.process-step h3 { margin: 4rem 0 0; font-size: 1.15rem; font-weight: 500; }

.cta { background: var(--accent); padding: clamp(5rem, 10vw, 10rem) var(--pad); }
.cta h2 { max-width: 12ch; margin: 0 0 3rem; font-size: clamp(3rem, 8vw, 8rem); line-height: .9; letter-spacing: -.06em; font-weight: 500; }
.cta-link { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: clamp(1.2rem, 2.5vw, 2rem); text-transform: uppercase; letter-spacing: .04em; }

.site-footer { background: var(--ink); color: var(--white); padding: 4rem var(--pad) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-brand { color: var(--accent); font-size: clamp(2.8rem, 7vw, 7rem); line-height: 1; letter-spacing: -.05em; font-weight: 700; }
.footer-title { margin: 0 0 1rem; color: var(--accent); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li { margin: .25rem 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.62); font-size: .75rem; }

.page-hero { padding: clamp(9rem, 15vw, 13rem) var(--pad) clamp(4rem, 8vw, 7rem); background: var(--accent); }
.page-hero h1 { max-width: 14ch; margin: 0; font-size: clamp(3.2rem, 8vw, 8rem); line-height: .9; letter-spacing: -.06em; font-weight: 500; }
.page-hero .lead { max-width: 48rem; margin: 2rem 0 0; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.archive-grid { padding: var(--pad); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 6rem) 1.25rem; }
.project-card-image { aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.project-card-image img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.project-card:hover img { transform: scale(1.025); }
.project-card h2 { margin: 1rem 0 .15rem; font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.project-card p { margin: 0; color: var(--muted); }

.single-project-hero { min-height: 88svh; position: relative; display: grid; align-items: end; color: var(--white); background: var(--ink); }
.single-project-hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: .72; }
.single-project-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.68)); }
.single-project-title { position: relative; z-index: 1; padding: 8rem var(--pad) var(--pad); }
.single-project-title h1 { max-width: 14ch; margin: 0; font-size: clamp(3rem, 8vw, 8rem); line-height: .9; letter-spacing: -.06em; font-weight: 500; }
.project-body { display: grid; grid-template-columns: .75fr 1.5fr; gap: clamp(2rem, 8vw, 10rem); }
.project-facts { margin: 0; }
.project-facts div { padding: .8rem 0; border-top: 1px solid var(--line); }
.project-facts dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.project-facts dd { margin: .2rem 0 0; }
.project-copy { max-width: 48rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.project-copy > *:first-child { margin-top: 0; }
.gallery { padding: 0 var(--pad) clamp(5rem, 10vw, 10rem); display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.gallery figure { margin: 0; grid-column: span 8; }
.gallery figure:nth-child(3n+2) { grid-column: 5 / span 8; }
.gallery figure:nth-child(3n) { grid-column: 2 / span 7; }
.gallery img { aspect-ratio: 16 / 10; object-fit: cover; }
.content-wrap { max-width: 52rem; min-height: 55vh; padding: 10rem var(--pad) 6rem; margin: auto; }

.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(2rem); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.025); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .admin-bar .site-header { top: 46px; }
  .menu-toggle { display: block; z-index: 2; }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem; padding: var(--pad); background: var(--ink); color: var(--white); font-size: clamp(2rem, 8vw, 4rem); transform: translateY(-102%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
  .site-nav.is-open { transform: none; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 6.5rem); }
  .hero-bottom { align-items: start; }
  .scroll-mark { width: 3.3rem; height: 3.3rem; flex: 0 0 auto; }
  .intro-grid, .project-body { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 2.4rem 1fr auto; min-height: 6rem; }
  .project-head { align-items: start; flex-direction: column; }
  .project-meta { grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { min-height: auto; padding: 1.2rem 0; border-left: 0; }
  .process-step h3 { margin: 1rem 0 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }
  .gallery { display: block; }
  .gallery figure { margin-bottom: 1rem; }
  .gallery img { aspect-ratio: 4 / 3; }
}

@media (max-width: 520px) {
  .hero-bottom { flex-direction: column; }
  .project-meta { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Version 1.1: readable project phases and an independent green identity. */
:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
[id] { scroll-margin-top: 6rem; }
.skip-link { position: fixed; z-index: 101; left: var(--pad); top: .6rem; padding: .6rem 1rem; background: var(--paper); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { mix-blend-mode: normal; transition: background .3s ease, color .3s ease; }
.site-header.is-scrolled, .kalyt-content-page .site-header, .archive .site-header, .page .site-header, .single-post .site-header, .error404 .site-header { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled .brand img, .kalyt-content-page .brand img, .archive .brand img, .page .brand img, .single-post .brand img, .error404 .brand img { filter: brightness(0); }
.nav-sustainability { border: 1px solid currentColor; padding: .5rem .65rem; }
.nav-sustainability::after { display: none; }
.nav-sustainability:hover { background: #263e30; border-color: #263e30; color: #fff; }
.service-title { display: block; }
.service-description { display: block; margin-top: .8rem; font-size: .875rem; font-weight: 400; color: #5e5a54; }
.service-row { padding: 1.5rem 0; }
.service-row:hover .service-description { color: var(--ink); }
.process-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; margin-bottom: 3rem; }
.process-intro h2 { max-width: 10ch; margin: 0; font-size: clamp(2.2rem, 5vw, 5rem); line-height: .98; letter-spacing: -.05em; font-weight: 500; }
.process-intro p { max-width: 29rem; margin: 0; font-size: 1.2rem; }
.process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-step, .process-step + .process-step { display: block; min-height: 16rem; padding: 1.5rem; border-left: 0; transition: background .3s; }
.process-step:nth-child(3n + 1) { padding-left: 0; }
.process-step:hover, .process-step:focus-visible { background: var(--accent); }
.process-step h3 { margin-top: 2.8rem; font-size: clamp(1.2rem, 2vw, 1.6rem); }
.process-step p { max-width: 25ch; margin: .8rem 0 1.3rem; font-size: 1rem; }
.process-step .phase-more { color: var(--ink); font-size: .875rem; }
.text-link { display: inline-block; margin-top: 2rem; padding: .6rem 0; border-bottom: 1px solid currentColor; }
.back-link { display: inline-block; padding: 1rem 0; margin-top: 1.5rem; border-bottom: 1px solid currentColor; font-size: .95rem; }
.sustainability-gateway { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; padding: clamp(3rem, 6vw, 6rem) var(--pad); background: #263e30; color: #eff5eb; overflow: hidden; }
.gateway-label { font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; }
.gateway-title { grid-row: 2; font-size: clamp(2.1rem, 6.7vw, 7.2rem); line-height: 1; letter-spacing: -.055em; }
.gateway-copy { grid-column: 1; font-size: clamp(1rem, 1.6vw, 1.3rem); max-width: 40ch; }
.gateway-arrow { grid-column: 2; grid-row: 1 / 4; align-self: center; font-size: clamp(2rem, 5vw, 5rem); transition: transform .4s; }
.sustainability-gateway:hover .gateway-arrow { transform: translate(.3rem, -.3rem); }
.sustainability-gateway:hover { background: #30513e; }
.content-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.content-hero h1 { max-width: 14ch; font-size: clamp(3rem, 8vw, 8rem); }
.phase-navigation { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 3rem; }
.phase-navigation a { display: flex; align-items: center; gap: .8rem; padding: .75rem 1rem; border: 1px solid var(--line); font-size: .875rem; transition: background .25s; }
.phase-navigation a:hover { background: var(--accent); }
.phase-navigation span { color: var(--muted); }
.editor-content { padding: 0 var(--pad); }
.editor-content h2 { margin: 0 0 1.5rem; font-size: clamp(1.9rem, 4vw, 4rem); font-weight: 500; line-height: 1.03; letter-spacing: -.045em; }
.editor-content h3 { margin: 2rem 0 .8rem; font-size: 1.5rem; font-weight: 500; }
.editor-content p { max-width: 46rem; margin: 0 0 1.5rem; font-size: 1.125rem; line-height: 1.65; }
.editor-content a { text-decoration: underline; text-underline-offset: .3rem; }
.editor-intro { max-width: 58rem; margin-left: auto; padding: clamp(3rem, 7vw, 7rem) 0; }
.editor-content .editor-lead { max-width: 40rem; font-size: clamp(1.4rem, 2.5vw, 2.25rem); line-height: 1.35; letter-spacing: -.025em; }
.editor-content .editor-kicker { font-size: .875rem; color: var(--muted); letter-spacing: .04em; margin-bottom: 1rem; }
.phase-detail, .principle-detail { display: grid; grid-template-columns: minmax(4rem, .65fr) minmax(0, 1.8fr); column-gap: 2rem; padding: clamp(3rem, 6vw, 6rem) 0; border-top: 1px solid var(--line); }
.phase-detail > h2, .phase-detail > p:not(.phase-index), .principle-detail > h2, .principle-detail > p:not(.phase-index) { grid-column: 2; }
.phase-detail .phase-index, .principle-detail .phase-index { grid-row: 1 / 4; margin: 0; font-size: clamp(2.8rem, 6vw, 6rem); line-height: 1; letter-spacing: -.05em; color: var(--muted); }
.phase-delivery { padding: 1.5rem; border-left: 2px solid var(--accent); background: rgba(194, 178, 158, .13); }
.phase-delivery strong { display: inline-block; margin-bottom: .5rem; font-size: .875rem; text-transform: uppercase; letter-spacing: .05em; }
.editor-callout { padding: clamp(2rem, 5vw, 5rem); margin: 2rem 0 clamp(3rem, 6vw, 6rem); background: var(--accent); }
.editor-content .source-note { max-width: 48rem; font-size: .875rem; line-height: 1.7; margin-top: 1.5rem; }
.climate-panel { padding: clamp(2rem, 5vw, 5rem); margin: 2rem 0; border: 1px solid var(--line); }
.editor-content .wp-block-group > :last-child { margin-bottom: 0; }
.theme-green { --paper: #edf2e9; --ink: #193227; --accent: #a8bc93; --muted: #4a6252; --line: rgba(25,50,39,.24); background: var(--paper); }
.theme-green .content-hero { background: #263e30; color: #f0f5eb; }
.theme-green .content-hero .section-label { color: #c7d7bc; }
.theme-green .site-header, .theme-green .site-header.is-scrolled { background: #263e30; color: #f0f5eb; border-color: rgba(240,245,235,.25); }
.theme-green .brand img, .theme-green .site-header.is-scrolled .brand img { filter: none; }
.theme-green .nav-sustainability { background: #a8bc93; color: #193227; border-color: #a8bc93; }
.theme-green .editor-callout { background: #d6e1ca; }
.theme-green .climate-panel { background: #263e30; color: #f0f5eb; border-color: #263e30; }
.theme-green .climate-panel .editor-kicker { color: #c7d7bc; }
.theme-green .cta-link:hover { background: #193227; color: #edf2e9; }
.theme-green .site-footer { background: #193227; }
.theme-green .footer-brand, .theme-green .footer-title { color: #a8bc93; }
.theme-transition { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #263e30; color: #f0f5eb; transform: translateY(102%); pointer-events: none; transition: transform .27s cubic-bezier(.45,0,.2,1); }
.theme-transition span { font-size: clamp(2rem, 6vw, 5rem); letter-spacing: .17em; }
.theme-transition.to-standard { background: #c2b29e; color: #11110f; }
.is-leaving .theme-transition { transform: translateY(0); }
.theme-enter .theme-transition { transform: translateY(0); transition: none; }
.theme-enter-active .theme-transition { transform: translateY(-102%); transition: transform .38s cubic-bezier(.45,0,.2,1); }

@media (max-width: 1000px) {
  .site-nav { gap: 1rem; font-size: .875rem; }
  .brand { width: 8rem; }
}
@media (max-width: 820px) {
  .site-header { min-height: 4.5rem; }
  .site-header .brand { position: relative; z-index: 2; }
  .site-nav { font-size: clamp(1.8rem, 7vw, 3rem); }
  .menu-toggle { position: relative; }
  .site-header .site-nav { background: var(--paper); color: var(--ink); padding-top: 5rem; }
  .interactive-ready .site-nav:not(.is-open) { visibility: hidden; }
  html:not(.interactive-ready) .site-nav { position: static; inset: auto; transform: none; flex-direction: row; flex-wrap: wrap; gap: .6rem; font-size: .875rem; padding: .5rem; }
  html:not(.interactive-ready) .menu-toggle { display: none; }
  html:not(.interactive-ready) .site-header { flex-wrap: wrap; gap: .5rem; background: var(--paper); color: var(--ink); }
  html:not(.interactive-ready) .site-header .brand img { filter: brightness(0); }
  html:not(.interactive-ready) .theme-green .site-header { background: #263e30; color: #f0f5eb; }
  html:not(.interactive-ready) .theme-green .site-header .brand img { filter: none; }
  .theme-green .site-header .site-nav { background: #263e30; color: #f0f5eb; }
  .site-header.menu-visible { background: var(--paper); color: var(--ink); }
  .site-header.menu-visible .brand img { filter: brightness(0); }
  .theme-green .site-header.menu-visible { background: #263e30; color: #f0f5eb; }
  .theme-green .site-header.menu-visible .brand img { filter: none; }
  .process-intro { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-step, .process-step + .process-step, .process-step:nth-child(3n + 1) { padding: 1.2rem; }
  .phase-detail, .principle-detail { grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; }
  .editor-content p { font-size: 1.0625rem; }
  .gateway-copy { max-width: 28ch; }
  .gateway-title { font-size: clamp(2rem, 7vw, 3.5rem); }
}
@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { min-height: 0; padding: 1.5rem 0; }
  .process-step h3 { margin-top: 1rem; }
  .phase-detail, .principle-detail { display: block; }
  .phase-detail .phase-index, .principle-detail .phase-index { margin-bottom: 1.8rem; font-size: 2.8rem; }
  .phase-delivery { padding: 1rem; }
  .gateway-title { font-size: 7vw; letter-spacing: -.04em; }
  .gateway-arrow { font-size: 1.8rem; }
  .phase-navigation { gap: .5rem; }
  .phase-navigation a { padding: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal { opacity: 1; transform: none; }
  .theme-transition { display: none; }
}
