:root {
  --background: #18130f;
  --background-deep: #14100d;
  --surface: #211a15;
  --surface-2: #2a211b;
  --text: #fff7ec;
  --muted: #c8b9aa;
  --quiet: #9f8d7c;
  --line: rgba(255, 247, 236, 0.12);
  --line-strong: rgba(240, 179, 77, 0.34);
  --ember: #d55d30;
  --gold: #f0b34d;
  --gold-soft: #ffd98a;
  --leaf: #9f472a;
  --focus: #ffd98a;
  --shell: 73.75rem;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background: var(--background);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 7%, rgba(213, 93, 48, 0.12), transparent 27rem),
    linear-gradient(180deg, #1a1410 0%, var(--background) 44%, var(--background-deep) 100%);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.nowrap { white-space: nowrap; }
.i18n-lines { white-space: pre-line; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
h1, h2, h3, p, li { overflow-wrap: anywhere; }
::selection { color: #21140d; background: var(--gold-soft); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  color: #21140d;
  background: var(--gold-soft);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 2.5rem), var(--shell)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 247, 236, 0.08);
  background: rgba(24, 19, 15, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(20, 16, 13, 0.94);
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.14);
}

.header-inner {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.wordmark-mark, .footer-mark {
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.12em;
}

.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(0.45rem, 2vw, 1.7rem); }

.site-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a:hover { color: var(--gold-soft); }

.language-control {
  position: relative;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 247, 236, 0.025);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.language-control:hover {
  border-color: var(--line-strong);
  background: rgba(255, 247, 236, 0.045);
}

.language-control:focus-within {
  border-color: var(--gold);
  background: rgba(255, 247, 236, 0.05);
  box-shadow: 0 0 0 3px rgba(240, 179, 77, 0.16);
}

.language-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  inset-inline-start: 0.8rem;
  width: 1rem;
  height: 1rem;
  border: 1.25px solid currentColor;
  border-radius: 50%;
  color: var(--gold);
  pointer-events: none;
  transform: translateY(-50%);
}

.language-icon::before {
  content: "";
  position: absolute;
  inset: 2px 4px;
  border-inline: 1px solid currentColor;
  border-radius: 50%;
}

.language-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  left: 2px;
  border-top: 1px solid currentColor;
  transform: translateY(-50%);
}

.language-trigger {
  width: 11.7rem;
  min-height: 2.75rem;
  padding: 0.55rem 2rem 0.55rem 2.35rem;
  border: 0;
  border-radius: inherit;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: 650 0.72rem/1.3 var(--font-sans);
  text-align: start;
  cursor: pointer;
}

.language-trigger:focus,
.language-trigger:focus-visible { outline: 0; }

.language-control::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-end: 0.9rem;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 160ms ease;
}

.language-control[data-open]::after { transform: translateY(-25%) rotate(225deg); }

.language-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 0.5rem);
  inset-inline-end: 0;
  width: max(100%, 12.5rem);
  max-height: min(28rem, calc(100dvh - 6rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.85rem;
  background: #211a15;
  box-shadow: 0 1rem 2.75rem rgba(0, 0, 0, 0.34);
}

.language-menu[hidden] { display: none; }

.language-option {
  position: relative;
  width: 100%;
  min-height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 0.55rem;
  color: var(--muted);
  background: transparent;
  font: 600 0.76rem/1.35 var(--font-sans);
  text-align: start;
  cursor: pointer;
}

.language-option:hover,
.language-option:focus-visible {
  color: var(--text);
  background: rgba(255, 247, 236, 0.075);
}

.language-option:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }

.language-option[aria-selected="true"] {
  color: var(--gold-soft);
  background: rgba(240, 179, 77, 0.1);
}

.language-option[aria-selected="true"]::after {
  content: "✓";
  flex: 0 0 auto;
  color: var(--gold);
  font-weight: 800;
}

.language-control-centered { width: max-content; max-width: 100%; margin: 0 auto 2rem; }

.hero {
  min-height: calc(100svh - 4.75rem);
  display: grid;
  align-items: center;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  overflow: clip;
}

.hero-grid { display: grid; align-items: center; gap: clamp(3rem, 7vw, 5.5rem); }
.hero-copy { position: relative; z-index: 2; max-width: 42rem; }
.eyebrow, .section-code, .project-number, .project-type, .hero-note { font-family: var(--font-mono); }

.eyebrow {
  margin: 0 0 1.3rem;
  color: var(--gold);
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  font-weight: 650;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 4.9rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.16;
  text-wrap: balance;
}

.hero-lead {
  max-width: 38rem;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  line-height: 2;
}

.button-row { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.button {
  min-height: 3.2rem;
  padding: 0.75rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.62rem;
  font-size: 0.89rem;
  font-weight: 720;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: #26170e; background: var(--gold); box-shadow: 0 0.75rem 2rem rgba(213, 93, 48, 0.12); }
.button-primary:hover { background: var(--gold-soft); }
.button-secondary { border-color: var(--line); color: var(--text); background: rgba(255, 247, 236, 0.025); }
.button-secondary:hover { border-color: var(--line-strong); background: rgba(255, 247, 236, 0.05); }

.hero-note { margin: 2rem 0 0; color: var(--quiet); font-size: 0.72rem; letter-spacing: 0.03em; }
.hero-note span { color: var(--ember); }
.hero-note .hero-note-text { color: var(--quiet); }

.avatar-stage {
  position: relative;
  width: min(100%, 19rem);
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.ember-glow {
  position: absolute;
  z-index: 0;
  width: 128%;
  aspect-ratio: 1.08;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(240, 179, 77, 0.18) 0%, rgba(213, 93, 48, 0.1) 40%, transparent 69%);
  filter: blur(0.35rem);
  animation: ember-breathe 8s ease-in-out infinite alternate;
}

.avatar-frame {
  position: relative;
  z-index: 2;
  padding: 0.45rem;
  overflow: hidden;
  border: 1px solid rgba(255, 217, 138, 0.3);
  border-radius: clamp(1.15rem, 3vw, 2rem);
  background: rgba(255, 247, 236, 0.075);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotate(0.8deg);
}

.avatar-frame::after {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 1px solid rgba(88, 41, 19, 0.08);
  border-radius: calc(clamp(1.15rem, 3vw, 2rem) - 0.38rem);
  pointer-events: none;
}

.avatar-frame img {
  width: 100%;
  height: auto;
  border-radius: calc(clamp(1.15rem, 3vw, 2rem) - 0.38rem);
}

.avatar-stage figcaption {
  position: relative;
  z-index: 3;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-align: center;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.avatar-stage figcaption span:first-child {
  width: 0.42rem;
  height: 0.42rem;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0.8rem rgba(240, 179, 77, 0.7);
}

.avatar-stage figcaption span:last-child { min-width: 0; }

.leaf {
  position: absolute;
  z-index: 1;
  width: 0.72rem;
  height: 1.15rem;
  border-radius: 90% 10% 80% 20%;
  background: var(--leaf);
  opacity: 0.72;
  transform: rotate(35deg);
}

.leaf-one { top: 12%; left: -7%; animation: leaf-drift 14s ease-in-out infinite alternate; }
.leaf-two { top: 28%; right: -8%; width: 0.55rem; height: 0.9rem; background: #ba8b45; transform: rotate(-48deg); }
.leaf-three { bottom: 11%; right: -1%; width: 0.62rem; height: 1rem; opacity: 0.58; transform: rotate(74deg); }

.section { padding-block: clamp(5rem, 10vw, 8rem); }
.making-section { border-top: 1px solid var(--line); background: rgba(255, 247, 236, 0.018); }

.section-heading { display: grid; gap: 1.4rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-heading > p { max-width: 36rem; margin: 0; color: var(--muted); line-height: 1.95; }
.section-code { margin: 0 0 0.8rem; color: var(--ember); font-size: 0.76rem; letter-spacing: 0.04em; }

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  font-weight: 730;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.project-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.85rem; }

.project-card {
  min-width: 0;
  min-height: 19rem;
  padding: clamp(1.35rem, 3vw, 1.8rem);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: linear-gradient(150deg, rgba(255, 247, 236, 0.038), rgba(255, 247, 236, 0.012));
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-card:hover { transform: translateY(-3px); border-color: rgba(240, 179, 77, 0.27); background: linear-gradient(150deg, rgba(255, 247, 236, 0.052), rgba(255, 247, 236, 0.018)); }
.project-topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.project-number { color: var(--gold); font-size: 0.75rem; }

.project-status {
  max-width: 72%;
  padding: 0.18rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 99rem;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.project-status[data-status="comingSoon"] {
  border-color: rgba(240, 179, 77, 0.34);
  color: var(--gold-soft);
  background: rgba(240, 179, 77, 0.06);
}

.project-status[data-status="available"] {
  border-color: rgba(213, 93, 48, 0.42);
  color: #ffb394;
  background: rgba(213, 93, 48, 0.08);
}

.project-status[data-status="paused"] {
  border-color: var(--line);
  color: var(--quiet);
  background: rgba(255, 247, 236, 0.025);
}

.project-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-top: 1.55rem;
  border-radius: 0.75rem;
  background: transparent;
  box-shadow: 0 0.55rem 1.25rem rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.project-type { margin: 0.9rem 0 0.2rem; color: var(--ember); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.project-card h3 { margin: 0; font-size: clamp(1.65rem, 3vw, 2rem); letter-spacing: -0.035em; }
.project-description { margin: 1rem 0 1.5rem; color: var(--muted); line-height: 1.9; }

.project-link {
  min-height: 2.75rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.project-link span:last-child { color: var(--gold); transition: transform 180ms ease; }
.project-link:hover span:last-child { transform: translate(2px, -2px); }
.about-section { position: relative; overflow: clip; }
.about-section::before { content: ""; position: absolute; top: 18%; right: -7rem; width: 19rem; aspect-ratio: 1; border: 1px solid rgba(255, 247, 236, 0.035); transform: rotate(45deg); pointer-events: none; }
.about-grid { display: grid; gap: clamp(2.4rem, 7vw, 5rem); align-items: start; }
.about-copy { max-width: 41rem; }
.about-copy p { margin: 0; color: var(--muted); font-size: clamp(1rem, 1.8vw, 1.08rem); line-height: 2.1; }
.about-copy p + p { margin-top: 1.15rem; }

.quiet-code { margin-top: 2.4rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.65rem; color: var(--quiet); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.05em; }
.quiet-code i { width: clamp(1rem, 3vw, 2.5rem); height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
.links-section { border-top: 1px solid var(--line); background: rgba(255, 247, 236, 0.012); }
.links-grid { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.section-intro { max-width: 35rem; margin: 1.3rem 0 0; color: var(--muted); line-height: 1.95; }
.social-list {
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.social-link {
  position: relative;
  min-width: 0;
  min-height: 5rem;
  padding-inline: 0.8rem;
  display: grid;
  grid-template-columns: 2.15rem minmax(5rem, 0.75fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.social-link:hover {
  border-bottom-color: var(--line-strong);
  color: var(--gold-soft);
  background: linear-gradient(90deg, rgba(240, 179, 77, 0.055), transparent 78%);
}

.social-icon {
  width: 1.9rem;
  height: 1.9rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(240, 179, 77, 0.2);
  border-radius: 0.55rem;
  color: var(--gold-soft);
  background: rgba(240, 179, 77, 0.045);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.social-link:hover .social-icon { border-color: var(--line-strong); background: rgba(240, 179, 77, 0.09); }
.social-name { font-weight: 700; }
.social-handle { min-width: 0; color: var(--quiet); font-family: var(--font-mono); font-size: 0.76rem; overflow-wrap: anywhere; }
.social-arrow {
  color: var(--gold);
  transition: transform 180ms ease;
}
.social-link:hover .social-arrow { transform: translate(2px, -2px); }

.cellredan-card {
  align-self: start;
  padding: clamp(1.7rem, 5vw, 2.7rem);
  border: 1px solid var(--line-strong);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 179, 77, 0.1), transparent 15rem),
    var(--surface);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.16);
}

.cellredan-card h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cellredan-card > p:not(.section-code) { margin: 1.3rem 0 2rem; color: var(--muted); line-height: 1.95; }
.site-footer { border-top: 1px solid var(--line); }

.footer-inner {
  min-height: 8rem;
  padding-block: 1.5rem;
  display: grid;
  align-items: center;
  gap: 0.6rem;
  color: var(--quiet);
  font-family: var(--font-mono);
  font-size: 0.69rem;
}

.footer-inner p { margin: 0; }
.footer-mark { min-width: 2.75rem; min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

.not-found { min-height: 100svh; display: grid; place-items: center; padding: 2rem; }
.not-found-card { width: min(100%, 38rem); padding: clamp(2rem, 6vw, 4rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); text-align: center; }
.not-found-code { margin: 0 0 1rem; color: var(--ember); font-family: var(--font-mono); }
.not-found-card h1 { margin: 0; font-size: clamp(2rem, 7vw, 3.8rem); letter-spacing: -0.05em; }
.not-found-card > p:not(.not-found-code) { margin: 1.2rem auto 2rem; color: var(--muted); }

.reveal-enabled [data-reveal] { opacity: 0; transform: translateY(0.55rem); transition: opacity 520ms ease, transform 520ms ease; }
.reveal-enabled [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes ember-breathe {
  from { opacity: 0.62; transform: scale(0.98); }
  to { opacity: 0.9; transform: scale(1.035); }
}

@keyframes leaf-drift {
  from { transform: translate3d(0, 0, 0) rotate(32deg); }
  to { transform: translate3d(0.5rem, 0.35rem, 0) rotate(37deg); }
}

@media (min-width: 40rem) {
  .shell { width: min(calc(100% - 4rem), var(--shell)); }
  .avatar-stage { width: min(100%, 22rem); }
  .section-heading { grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr); align-items: end; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr auto 1fr; }
  .footer-inner p:nth-child(2) { text-align: center; }
  .footer-mark { justify-self: end; }
}

@media (min-width: 60rem) {
  .shell { width: min(calc(100% - 6rem), var(--shell)); }
  .hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr); }
  .avatar-stage { width: min(100%, 29rem); justify-self: end; }
  .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr); }
  .links-grid { grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr); align-items: start; }
}

@media (max-width: 39.99rem) {
  html { scroll-padding-top: 7.5rem; }
  .header-inner { min-height: auto; padding-block: 0.7rem; flex-wrap: wrap; gap: 0.2rem 1rem; }
  .wordmark { order: 1; width: auto; }
  .language-control { order: 2; margin-left: auto; }
  .language-trigger { width: 11.4rem; }
  .site-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; border-top: 1px solid var(--line); }
  .site-nav a { min-height: 2.65rem; }
  .hero { min-height: auto; padding-block: 4rem 4.75rem; }
  .hero h1 { font-size: clamp(2.35rem, 12.5vw, 3.25rem); }
  .desktop-break { display: none; }
  .button-row { display: grid; }
  .button { width: 100%; min-height: 3.25rem; }
  .hero-note { display: none; }
  .project-card { min-height: 18rem; }
  .social-link { grid-template-columns: 1.9rem minmax(4.6rem, 0.7fr) minmax(0, 1fr) auto; gap: 0.65rem; padding-inline: 0.55rem; }
}

@media (max-width: 22rem) {
  .shell { width: min(calc(100% - 2rem), var(--shell)); }
  .hero h1 { font-size: 2.25rem; }
  .avatar-stage { width: min(100%, 17rem); }
  .social-link { grid-template-columns: 1.9rem minmax(0, 1fr) auto; }
  .social-handle { grid-column: 2 / -1; padding-bottom: 0.75rem; }
  .social-arrow { grid-column: 3; grid-row: 1; }
  .header-inner { column-gap: 0.5rem; }
  .language-icon { display: none; }
  .language-trigger { width: 9.4rem; padding-inline-start: 0.8rem; }
}

@media (forced-colors: active) {
  .language-control { border-color: ButtonText; background: Canvas; }
  .language-control:focus-within { outline: 2px solid Highlight; outline-offset: 2px; box-shadow: none; }
  .language-icon, .language-control::after { color: ButtonText; }
  .language-menu { border-color: ButtonText; background: Canvas; box-shadow: none; }
  .language-option { color: ButtonText; }
  .language-option[aria-selected="true"] { color: HighlightText; background: Highlight; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal-enabled [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .button-row, .hero-note, .leaf, .ember-glow, .site-footer { display: none; }
  body { color: #211a15; background: #fff; }
  .hero, .section { min-height: 0; padding-block: 2rem; }
  .project-card, .cellredan-card { break-inside: avoid; border-color: #c8b9aa; color: #211a15; background: #fff; box-shadow: none; }
  .hero-lead, .section-heading > p, .project-description, .about-copy p, .section-intro, .cellredan-card > p:not(.section-code) { color: #4d4138; }
}
