:root {
  --bg: #020304;
  --panel: rgba(217, 235, 230, 0.04);
  --panel-2: rgba(217, 235, 230, 0.018);
  --text: #f6f1e7;
  --muted-text: rgba(237, 244, 242, 0.78);
  --muted-sub: rgba(237, 244, 242, 0.55);
  --accent: #d6b36a;
  --accent-2: #a97a2d;
  --accent-rgb: 214, 179, 106;
  --glow-primary: 214, 179, 106;
  --glow-secondary: 122, 88, 41;
  --metal: #d3bc86;
 
  --radius: 10px;
  --max-width: 1040px;
  --container-width: 980px;
  --container-width-narrow: 960px;
  --section-space: 3.4rem;

  --transition-fast: 180ms ease;
  --transition-medium: 260ms cubic-bezier(.2, .9, .2, 1);
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --article-detail-width: min(104ch, 96vw);
  --nav-height: 112px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: var(--nav-height) 0 0;
  font-family: var(--font-body);
  background-color: var(--bg);
  background-image: none;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before,
body::after {
  content: none;
}

body::before {
  width: 560px;
  height: 560px;
  left: -200px;
  top: -18%;
  background: radial-gradient(circle at center, rgba(var(--glow-primary), 0.12), rgba(var(--glow-primary), 0.02));
}

body::after {
  width: 760px;
  height: 760px;
  right: -260px;
  bottom: -12%;
  background: radial-gradient(circle at center, rgba(var(--glow-secondary), 0.1), rgba(var(--glow-secondary), 0.02));
}

/* ------------------------------
   Layout primitives
------------------------------ */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container.section-narrow {
  max-width: var(--container-width-narrow);
}

.section-shell {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

section {
  padding: var(--section-space) 0;
}

.section-header {
  max-width: 780px;
  margin: 0 auto 2.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: center;
}

.section-header.centered {
  align-items: center;
  text-align: center;
}

.section-kicker {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgba(var(--accent-rgb), 0.78);
  font-weight: 600;
}

.section-title {
  font-size: 2.25rem;
  margin: 0 0 0.9rem 0;
  font-weight: 600;
  font-family: var(--font-display);
  text-align: center;
  letter-spacing: 0.02em;
}

.section-sub {
  color: var(--muted-text);
  margin: 0 auto 1.6rem;
  max-width: 920px;
  text-align: center;
  font-size: 1.18rem;
  opacity: 0.95;
  line-height: 1.75;
}

.lead {
  color: var(--text);
}

/* ------------------------------
   Links and CTAs
------------------------------ */

.ghost-link {
  color: var(--text);
  text-decoration: none;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ghost-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.ghost-link:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.6);
  outline-offset: 3px;
}

.cta-primary {
  display: inline-block;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  padding: 0.7rem 1.15rem;
  border-radius: calc(var(--radius) - 2px);
  color: var(--text);
  font-weight: 700;
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(var(--accent-rgb), 0.16);
  min-width: 220px;
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cta-primary.cta-wide {
  min-width: 264px;
  background: linear-gradient(180deg, #e6ca86, #b78431);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 10px 26px rgba(var(--accent-rgb), 0.2);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4), 0 14px 30px rgba(var(--accent-rgb), 0.26);
}

.cta-primary:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.6);
  outline-offset: 4px;
}

/* ------------------------------
   Shared surfaces
------------------------------ */

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

.nav-wrap {
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 0.4rem 0;
  overflow: visible;
}

.nav-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.nav-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  opacity: 1;
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  opacity: 0.98;
  font-family: var(--font-body);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.brand-logo {
  height: 100px;
  width: auto;
  display: block;
}

.brand:hover {
  opacity: 0.9;
}

.brand:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.6);
  outline-offset: 4px;
}

.nav-links {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted-text);
  text-decoration: none;
  padding: 0.2rem 0;
  border-radius: 0;
  font-weight: 600;
  font-family: var(--font-body);
  background: transparent;
  border: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.nav-links a:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.6);
  outline-offset: 3px;
}

.nav-dropdown {
  display: none;
  position: relative;
}

.nav-toggle {
  list-style: none;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-body);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle::-webkit-details-marker {
  display: none;
}

.nav-toggle::marker {
  content: "";
}

.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle-icon {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
  box-shadow: 0 7px 0 0 currentColor, 0 14px 0 0 currentColor;
}

.nav-dropdown[open] .nav-toggle {
  color: rgba(255, 255, 255, 0.9);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.6);
  outline-offset: 4px;
}

.nav-dropdown-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 10, 8, 0.98);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  z-index: 20;
}

.nav-dropdown-panel a {
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  font-weight: 600;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus-visible {
  background: rgba(var(--accent-rgb), 0.12);
  outline: none;
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #010101 0%, #040506 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.18;
  filter: contrast(1.22) saturate(1.28) brightness(0.8);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.35) 78%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.35) 78%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  width: 100%;
  max-width: 980px;
  text-align: center;
  position: relative;
  animation: hero-swell 9s ease-in-out infinite;
  z-index: 3;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  line-height: 1;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

.hero .hero-main {
  font-weight: 700;
  letter-spacing: 0.015em;
}

.hero .hero-large {
  display: block;
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 auto;
  max-width: 24ch;
}

.hero p.lead {
  color: rgba(245, 245, 247, 0.92);
  margin-top: 0.9rem;
  font-size: 1.12rem;
  line-height: 1.78;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.cta-row {
  margin-top: 1.7rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.eyebrow {
  padding: 0.25rem 0.65rem;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.herosigil {
  position: absolute;
  left: 68%;
  top: 36%;
  transform: translate(-50%, -50%) rotate(-8deg);
  width: 520px;
  height: 520px;
  opacity: 0.12;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 40px 80px rgba(var(--accent-rgb), 0.04));
}

.herosigil svg {
  width: 100%;
  height: 100%;
  transform: translateX(6%);
  filter: blur(0.6px);
}

.ring {
  stroke: var(--metal);
  stroke-opacity: 0.12;
  fill: none;
}

.glyph {
  stroke: var(--accent);
  stroke-opacity: 0.14;
  fill: none;
}

.hero::before {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  top: -8%;
  height: 60%;
  background:
    radial-gradient(55% 45% at 12% 12%, rgba(var(--glow-primary), 0.08), transparent 55%),
    radial-gradient(45% 40% at 88% 22%, rgba(var(--glow-secondary), 0.07), transparent 58%),
    radial-gradient(35% 40% at 50% 80%, rgba(217, 235, 230, 0.06), transparent 62%);
  filter: blur(50px);
  pointer-events: none;
  transform: scaleX(1.12);
  opacity: 0.38;
}

.hero::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 12%;
  width: 52%;
  height: 58%;
  background: radial-gradient(circle at 30% 30%, rgba(213, 202, 178, 0.28), rgba(213, 202, 178, 0.08) 36%, rgba(255, 255, 255, 0) 72%);
  filter: blur(54px);
  opacity: 0.08;
  pointer-events: none;
  transform: translateZ(0);
  mix-blend-mode: normal;
}

@keyframes hero-swell {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-3px) scale(1.004);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* ------------------------------
   Home: Help
------------------------------ */

.home-help-inner {
  max-width: 62ch;
  text-align: left;
}

.home-help .section-kicker {
  text-align: left;
}

.home-help .section-title {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.home-help-text {
  margin: 0 0 1rem 0;
  color: rgba(245, 245, 247, 0.9);
  line-height: 1.8;
  font-size: 1.06rem;
}

.home-help-intro {
  margin-bottom: 1.6rem;
}

.home-help-list {
  display: grid;
  gap: 0;
  margin: 0 0 1.6rem;
  border-top: 1px solid rgba(var(--accent-rgb), 0.18);
}

.home-help-cta {
  justify-content: center;
  margin: 1.4rem 0 1.6rem;
  flex-wrap: wrap;
}

.home-help-item {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.18);
}

.home-help-icon {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.18);
  margin-top: 0.5rem;
  opacity: 0.75;
}

.home-help-item-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.home-help-item-text {
  margin: 0;
  color: rgba(245, 245, 247, 0.88);
  line-height: 1.7;
  font-size: 1rem;
}

.home-help-outro {
  margin-bottom: 0;
}

.home-help-text:last-child {
  margin-bottom: 0;
}

/* ------------------------------
   Home: Timeline
------------------------------ */

.home-timeline {
  padding-bottom: calc(var(--section-space) + 0.6rem);
}

.home-timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.6rem;
  align-items: stretch;
}

.home-timeline-copy {
  text-align: left;
  max-width: none;
  align-self: center;
}

.home-timeline-copy .section-kicker,
.home-timeline-copy .section-title,
.home-timeline-copy .section-sub {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.home-timeline-sub {
  max-width: none;
}

.home-timeline-note {
  margin: 1.5rem 0 0;
  color: rgba(245, 245, 247, 0.9);
  line-height: 1.75;
  font-size: 1.1rem;
  max-width: none;
  padding-left: 0;
  border-left: none;
}

.home-timeline-panel {
  position: relative;
  padding: 2.6rem 2.8rem;
  border-radius: 22px;
  border: none;
  background: transparent;
  box-shadow: none;
  width: 100%;
  height: 100%;
}

.home-timeline-card {
  position: relative;
  padding: 2.85rem 3.1rem;
  border-radius: 22px;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.home-timeline-card::after {
  content: none;
}

.home-timeline-list {
  --timeline-gutter: 26px;
  --timeline-line: 13px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.6rem;
  grid-auto-rows: minmax(88px, auto);
}

.home-timeline-list::before {
  content: "";
  position: absolute;
  left: var(--timeline-line);
  top: 0.35rem;
  bottom: 0.35rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.7), rgba(var(--accent-rgb), 0.12));
  opacity: 0.85;
}

.home-timeline-item {
  display: grid;
  grid-template-columns: var(--timeline-gutter) 1fr;
  gap: 1.2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-timeline-marker {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.95) 0%, rgba(var(--accent-rgb), 0.4) 60%, rgba(var(--accent-rgb), 0.18) 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.7);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.08);
  margin-top: 0;
  justify-self: center;
}

.home-timeline-stage {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.home-timeline-text {
  margin: 0;
  color: rgba(245, 245, 247, 0.88);
  line-height: 1.7;
  font-size: 1.08rem;
  max-width: 38ch;
}

.home-timeline-item {
  opacity: 0.55;
}

.home-timeline-item:nth-child(2) {
  opacity: 0.68;
}

.home-timeline-item:nth-child(3) {
  opacity: 0.78;
}

.home-timeline-item:nth-child(4) {
  opacity: 0.9;
}

.home-timeline-item:nth-child(5) {
  opacity: 1;
}

.home-timeline-item:nth-child(5) .home-timeline-stage {
  font-size: 1.18rem;
}

.home-timeline-item:nth-child(5) .home-timeline-marker {
  box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0.16);
}

/* ------------------------------
   Home: About
------------------------------ */

.home-about-simple {
  padding-bottom: calc(var(--section-space) + 1.6rem);
}

.home-about-simple-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2.4rem;
  align-items: center;
}

.home-about-simple-copy {
  max-width: 62ch;
}

.home-about-simple-title {
  text-align: left;
  margin: 0.25rem 0 0.6rem;
}

.home-about-simple-text {
  margin: 0;
  color: rgba(245, 245, 247, 0.88);
  line-height: 1.8;
  font-size: 1.08rem;
}

.home-about-simple-text + .home-about-simple-text {
  margin-top: 1.25rem;
}

.home-about-simple-media {
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  background: rgba(217, 235, 230, 0.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  justify-self: end;
  width: min(340px, 70vw);
  aspect-ratio: 1 / 1;
  display: block;
}

.home-about-simple-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.social-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.social-link polygon {
  fill: currentColor;
  stroke: none;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.12);
  outline: none;
}

.profile-socials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid rgba(var(--accent-rgb), 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.profile-cta {
  min-width: 0;
  padding: 0.55rem 0.95rem;
  font-size: 0.85rem;
  line-height: 1.1;
}

.profile-cta:hover,
.profile-cta:focus-visible {
  outline: none;
}

/* ------------------------------
   Home: Slides
------------------------------ */

.home-slides {
  padding-top: calc(var(--section-space) + 0.6rem);
  padding-bottom: calc(var(--section-space) + 0.3rem);
}

.home-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.6rem;
  align-items: center;
  padding: 2.6rem 0;
}

.home-slide:first-child {
  border-top: 0;
  padding-top: 0.7rem;
}

.home-slide-title {
  margin: 0.25rem 0 0 0;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.home-slide-sub {
  margin: 0.9rem 0 1.25rem 0;
  color: rgba(245, 245, 247, 0.9);
  line-height: 1.8;
  max-width: 52ch;
  font-size: 1.06rem;
}

.home-slide-invert {
  grid-template-columns: 420px minmax(0, 1fr);
}

.home-slide-visual {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(var(--accent-rgb), 0.14);
  background: linear-gradient(135deg, rgba(217, 235, 230, 0.02), rgba(var(--accent-rgb), 0.12), rgba(6, 8, 10, 0.92));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  min-height: 320px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.home-slide-visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb), 0.16), transparent 48%),
    radial-gradient(circle at 70% 60%, rgba(var(--accent-rgb), 0.12), transparent 52%);
  filter: blur(16px);
  opacity: 0.9;
  pointer-events: none;
}

.home-slide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.home-slide-visual-carousel {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 1.5rem;
}

.home-slide-carousel.artifact-carousel {
  width: 100%;
  padding: 0;
}

.home-slide-carousel .carousel-head {
  margin-bottom: 0.85rem;
}

.home-slide-carousel .artifact-track {
  --visible: 1;
}

.home-slide-glass .home-slide-visual {
  border-color: rgba(var(--accent-rgb), 0.2);
  background: linear-gradient(140deg, rgba(217, 235, 230, 0.08), rgba(var(--accent-rgb), 0.16), rgba(6, 8, 10, 0.92));
}

.home-slide-glass .home-slide-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, transparent 32%, rgba(255, 255, 255, 0.28) 50%, transparent 68%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.22), transparent 48%);
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
}

.home-slide-glass .home-slide-visual img {
  opacity: 0.95;
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.02);
}

.home-slide-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.7rem 0 1.4rem;
}

.home-slide-chip {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(9, 12, 16, 0.6);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

/* ------------------------------
   Artifacts: tiles + carousel
------------------------------ */

.artifact-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
  text-decoration: none;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  min-height: 240px;
}

.artifact-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(var(--accent-rgb), 0.2);
}

.artifact-tile:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.6);
  outline-offset: 4px;
}

.tile-media {
  position: relative;
  flex: 1;
  background-size: cover;
  background-position: center;
  filter: saturate(1.02);
  min-height: 180px;
  transition: transform 320ms cubic-bezier(.2, .9, .2, 1);
}

.tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.55) 100%);
  opacity: 0.9;
}

.artifact-tile:hover .tile-media {
  transform: scale(1.03);
}

.tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.65) 100%);
  backdrop-filter: blur(2px);
}

.tile-tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  width: max-content;
}

.tile-title {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.35;
}

.tile-date {
  margin: 0;
  color: var(--muted-text);
  font-size: 0.9rem;
}

.artifact-carousel {
  padding-top: 3.2rem;
  padding-bottom: 4.2rem;
}

.carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.carousel-head .section-title {
  text-align: left;
  margin: 0;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent-rgb), 0.08));
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.carousel-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.6);
}

.carousel-btn:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.6);
  outline-offset: 4px;
}

.carousel-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.artifact-slider {
  position: relative;
  overflow: hidden;
}

.artifact-track {
  --visible: 3;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - ((var(--visible) - 1) * 1rem)) / var(--visible));
  gap: 1rem;
  transition: transform var(--transition-medium);
  will-change: transform;
  padding: 0.2rem 0.1rem;
}

.artifact-slider .artifact-tile {
  height: 100%;
}

.artifact-slider .tile-media {
  min-height: 200px;
}

@media (min-width: 769px) {
  .artifact-carousel .artifact-tile {
    min-height: 260px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  }

  .artifact-carousel .tile-media {
    min-height: 220px;
  }
}

.artifact-carousel .artifact-tile:hover {
  box-shadow: 0 20px 46px rgba(var(--accent-rgb), 0.16);
}

/* ------------------------------
   Artifacts: index page
------------------------------ */

.artifacts-simplified {
  --artifact-sidebar-min: 240px;
  --artifact-sidebar-max: 280px;
  --artifact-log-width: 900px;
  --artifact-row-image: clamp(210px, 26vw, 280px);
  --container-width: 980px;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.artifacts-simplified::before,
.artifacts-simplified::after {
  content: none;
}

.artifacts-simplified::before {
  display: none;
}

.artifacts-simplified::after {
  display: none;
}

.artifact-header {
  padding: 0 0 1.2rem;
  max-width: var(--artifact-log-width);
  margin: 1.6rem auto 0;
}

.artifact-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: 720px;
  text-align: center;
  align-items: center;
  margin: 0 auto;
}

.artifact-page-title {
  margin: 0;
  font-size: 3rem;
  letter-spacing: 0.01em;
  line-height: 1;
  font-family: var(--font-display);
  font-weight: 600;
}

.artifact-lead {
  margin: 0;
  color: var(--muted-text);
  line-height: 1.6;
  font-size: 0.98rem;
  max-width: 620px;
}

.artifact-controls {
  margin: 0.7rem 0 1.4rem;
  max-width: var(--artifact-log-width);
  margin-left: auto;
  margin-right: auto;
}

.artifact-pinned {
  margin: 1.2rem auto 0.55rem;
  max-width: var(--artifact-log-width);
  display: grid;
  gap: 0.8rem;
  padding: 0 0 1rem;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.artifact-pinned .pinned-header {
  padding-bottom: 0.35rem;
  border-bottom: none;
  justify-content: center;
}

.artifact-pinned .pinned-heading {
  color: #ffffff;
  text-align: center;
}

.pinned-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

.pinned-tile {
  min-height: 0;
  aspect-ratio: 5 / 4;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.pinned-tile .tile-media {
  min-height: 0;
}

.pinned-tile .tile-body {
  padding: 0.75rem 0.85rem;
  gap: 0.2rem;
}

.pinned-tile .tile-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
}

.pinned-tile .tile-title {
  font-size: 0.92rem;
}

.pinned-tile .tile-date {
  font-size: 0.72rem;
}

@media (max-width: 1100px) {
  .pinned-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }
}

.control-inner {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.controls-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(var(--artifact-sidebar-min), var(--artifact-sidebar-max));
  gap: 1rem;
  align-items: end;
}

.filters-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-block label {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  display: block;
  color: var(--text);
}

.search-input-wrap {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.search-input:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
}

.search-input:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26), 0 0 0 2px rgba(var(--accent-rgb), 0.14);
}

.search-input::placeholder {
  color: var(--muted-text);
}

.search-input-bold {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.sort-control,
.category-control {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--text);
  font-weight: 600;
  position: relative;
  width: 100%;
}

.sort-control label,
.category-control label {
  font-size: 0.95rem;
}

.sort-select,
.category-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(20, 16, 12, 0.92), rgba(45, 33, 20, 0.65));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 600;
  padding-right: 2.6rem;
}

.sort-select:hover,
.category-select:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 2px rgba(var(--accent-rgb), 0.14);
}

.sort-select option,
.category-select option {
  background: #0f0c08;
  color: var(--text);
}

.sort-select:focus,
.category-select:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.22), 0 18px 42px rgba(0, 0, 0, 0.38);
}

.sort-control::after,
.category-control::after {
  content: "";
  position: absolute;
  right: 0.95rem;
  top: 55%;
  width: 8px;
  height: 8px;
  pointer-events: none;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0.85;
}

.category-control {
  display: none;
}

.category-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-btn {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.category-btn:hover {
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.12);
}

.category-btn.active {
  border-color: rgba(var(--accent-rgb), 0.75);
  background: rgba(var(--accent-rgb), 0.22);
  color: var(--text);
}

.category-btn:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.6);
  outline-offset: 3px;
}

.artifact-layout {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(var(--artifact-sidebar-min), var(--artifact-sidebar-max));
  gap: 1.5rem;
  align-items: start;
  grid-template-areas: "main sidebar";
}

.artifact-main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  grid-area: main;
}

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

.artifact-listing {
  margin-top: 1.2rem;
}

.artifact-log {
  max-width: var(--artifact-log-width);
  margin: 0 auto;
  padding: 0 clamp(0.8rem, 2vw, 1.4rem);
}

.artifact-listing .artifact-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.artifact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--artifact-row-image);
  gap: 1.6rem;
  align-items: center;
  padding: 1.6rem clamp(1rem, 2vw, 1.6rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  overflow: visible;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  transition: background var(--transition-fast);
  box-shadow: none;
  min-height: 0;
  transform: none;
}

.artifact-row:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: none;
  box-shadow: none;
}

.artifact-row-content {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.artifact-row-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.artifact-row-subtitle {
  margin: 0;
  color: rgba(245, 245, 247, 0.82);
  line-height: 1.7;
  font-size: 0.98rem;
}

.artifact-row-date {
  margin: 0;
  color: rgba(245, 245, 247, 0.65);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.artifact-row-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.artifact-row-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.artifact-catalog .tile-media {
  min-height: 200px;
}

@media (min-width: 769px) {
  .artifact-catalog .artifact-tile {
    min-height: 0;
    aspect-ratio: 6 / 5;
  }

  .artifact-catalog .tile-media {
    min-height: 0;
  }
}

/* ------------------------------
   Pinned sidebar
------------------------------ */

.pinned-sidebar {
  position: sticky;
  top: 120px;
  grid-area: sidebar;
}

.pinned-panel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  background: rgba(6, 8, 10, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pinned-panel::before {
  content: none;
}

.pinned-panel::after {
  content: none;
}

.pinned-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.2);
}

.pinned-heading {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(var(--accent-rgb), 0.75);
  font-weight: 700;
}

.pinned-stack {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pinned-mini {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  position: relative;
  z-index: 1;
  min-height: 92px;
}

.pinned-mini:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.pinned-mini:focus-visible {
  outline: 2px solid rgba(var(--accent-rgb), 0.6);
  outline-offset: 4px;
}

.pinned-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.pinned-mini-body {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.pinned-mini .tile-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
}

.pinned-date {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted-text);
  letter-spacing: 0.01em;
  font-weight: 600;
}

.pinned-title {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text);
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pinned-empty {
  color: var(--muted-text);
  margin: 0.25rem 0 0 0;
}

.no-results {
  padding: 2.4rem 0;
  text-align: center;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

/* ------------------------------
   Article detail
------------------------------ */

.article-detail {
  position: relative;
  padding: 6.5rem 0 4.5rem;
  overflow: hidden;
  --article-detail-width: min(125ch, 96vw);
  background: var(--bg);
}

.article-detail-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--article-detail-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.article-detail-card {
  background: transparent;
  color: var(--text);
  border-radius: 0;
  padding: 3rem 3.2rem 2.8rem;
  border: none;
  box-shadow: none;
}

.article-detail-top {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.8rem;
}

.article-detail-header {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
  padding-bottom: 1.6rem;
  border-bottom: none;
}

.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 244, 242, 0.68);
  font-weight: 700;
}

.article-detail-kicker {
  padding: 0.25rem 0.6rem;
}

.article-detail-date {
  margin: 0;
  color: rgba(237, 244, 242, 0.68);
}

.article-detail-title {
  margin: 0;
  font-size: clamp(2.4rem, 3.2vw, 3.15rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
  font-family: var(--font-display);
}

.article-detail-body {
  color: rgba(237, 244, 242, 0.98);
  font-size: 1.2rem;
  line-height: 1.9;
  font-family: inherit;
  text-rendering: optimizeLegibility;
}

.article-detail-body > *:first-child {
  margin-top: 0;
}

.article-detail-body img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.article-detail-body figure {
  margin: 2.2rem 0;
}

.article-detail-body figcaption {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: rgba(237, 244, 242, 0.6);
  text-align: center;
}

.article-detail-footer {
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  display: flex;
  justify-content: flex-start;
  border-top: none;
}

.article-back-button {
  padding: 0.65rem 1.3rem;
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.article-back-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.article-back-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 4px;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: var(--text);
  margin-top: 2.4rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-family: var(--font-display);
}

.prose h1 {
  font-size: 2.05rem;
  margin-top: 2.8rem;
}

.prose h2 {
  font-size: 1.55rem;
}

.prose h3 {
  font-size: 1.25rem;
}

.prose h4 {
  font-size: 1.1rem;
}

.prose p {
  margin: 0 0 1.6rem;
  color: rgba(237, 244, 242, 0.96);
}

.prose a {
  color: #e4c07a;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: #f0d9a2;
}

.prose ul,
.prose ol {
  margin: 0 0 1.6rem;
  padding-left: 1.6rem;
  font-size: 1.08rem;
  list-style-position: outside;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.6rem;
  color: rgba(237, 244, 242, 0.92);
  line-height: 1.7;
}

.prose li::marker {
  color: rgba(237, 244, 242, 0.8);
}

.prose blockquote {
  border-left: 2px solid rgba(var(--accent-rgb), 0.6);
  padding-left: 1.35rem;
  color: rgba(237, 244, 242, 0.92);
  font-style: italic;
  margin: 2rem 0;
  font-size: 1.1rem;
}

.prose blockquote p {
  margin: 0.7rem 0;
}

.prose code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
}

.prose pre {
  background: rgba(0, 0, 0, 0.6);
  padding: 1.3rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.prose pre code {
  background: none;
  color: var(--text);
  padding: 0;
  border-radius: 0;
  font-size: 1rem;
}

.prose hr {
  border: none;
  height: 1px;
  margin: 2.2rem 0;
  background: rgba(255, 255, 255, 0.12);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
}

.prose th,
.prose td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.prose th {
  text-align: left;
  color: rgba(237, 244, 242, 0.82);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose em {
  font-style: italic;
  color: rgba(237, 244, 242, 0.9);
}

/* ------------------------------
   Artifact editor
------------------------------ */

.dashboard-page {
  background: var(--bg);
}

.dashboard-hero {
  padding: calc(var(--section-space) + 1.6rem) 0 2.4rem;
}

.dashboard-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.dashboard-title-block {
  max-width: 520px;
}

.dashboard-kicker {
  margin: 0 0 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(var(--accent-rgb), 0.75);
  font-weight: 700;
}

.dashboard-title {
  margin: 0;
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.dashboard-sub {
  margin: 0.8rem 0 0;
  color: rgba(237, 244, 242, 0.7);
  line-height: 1.7;
  font-size: 1.05rem;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.dashboard-action {
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.dashboard-action:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.16);
}

.dashboard-action-strong {
  border-color: rgba(var(--accent-rgb), 0.4);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.2), rgba(10, 12, 16, 0.6));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.dashboard-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.dashboard-stat {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 10, 14, 0.7);
  display: grid;
  gap: 0.35rem;
}

.dashboard-stat-wide {
  grid-column: span 2;
}

.dashboard-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.7);
  font-weight: 700;
}

.dashboard-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dashboard-stat-meta {
  font-size: 0.9rem;
  color: rgba(237, 244, 242, 0.6);
}

.editor-page {
  position: relative;
  padding: 2rem 0 4.8rem;
  --article-detail-width: min(125ch, 100%);
}

.editor-shell {
  max-width: min(1900px, 96vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 2.6rem;
  padding: 0 2rem;
  align-items: start;
}

.editor-shell-wide {
  max-width: min(1900px, 96vw);
}

.editor-pane {
  display: grid;
  gap: 1.6rem;
}

.editor-topbar {
  max-width: min(1900px, 96vw);
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 8, 10, 0.8);
  backdrop-filter: blur(10px) saturate(120%);
}

.editor-topbar-left {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.editor-topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.editor-topbar-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.editor-doc-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.editor-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.editor-card {
  background: rgba(9, 9, 12, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}

.editor-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.editor-heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.editor-kicker {
  margin: 0 0 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(var(--accent-rgb), 0.7);
  font-weight: 700;
}

.editor-title {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  font-family: var(--font-display);
  color: var(--text);
}

.editor-sub {
  margin: 0.6rem 0 0;
  color: rgba(237, 244, 242, 0.72);
  max-width: 420px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.editor-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.85rem;
}

.editor-status-pill {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.12);
  font-weight: 700;
}

.editor-status-pill.is-published {
  border-color: rgba(92, 201, 140, 0.55);
  background: rgba(92, 201, 140, 0.16);
  color: #c7f6dc;
}

.editor-status-pill.is-draft {
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--text);
}

.editor-status-meta {
  font-size: 0.92rem;
  color: rgba(237, 244, 242, 0.65);
}

.editor-back {
  align-self: flex-start;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  color: var(--text);
  font-weight: 600;
  background: rgba(var(--accent-rgb), 0.1);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.editor-back:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), 0.55);
  background: rgba(var(--accent-rgb), 0.18);
}

.editor-back-ghost {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(237, 244, 242, 0.82);
}

.editor-back-ghost:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.14);
}

.editor-messages,
.editor-errors {
  max-width: min(1900px, 96vw);
  margin: 0 auto 1.4rem;
  padding: 0 2rem;
  display: grid;
  gap: 0.6rem;
}

.editor-message,
.editor-error {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.editor-message {
  background: rgba(var(--accent-rgb), 0.18);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  color: #f7ecd2;
}

.editor-error {
  background: rgba(255, 72, 72, 0.12);
  border: 1px solid rgba(255, 92, 92, 0.35);
  color: #ffdada;
}

.editor-form {
  display: grid;
  gap: 1.2rem;
}

.editor-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 16, 0.72);
  backdrop-filter: blur(10px) saturate(120%);
}

.editor-toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.editor-toolbar-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.12);
}

.editor-tool {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  min-height: 32px;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

.editor-tool:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.16);
}

.editor-field input,
.editor-field select,
.editor-field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.editor-field textarea {
  resize: vertical;
  min-height: 320px;
  line-height: 1.65;
  font-size: 1.02rem;
}

.editor-field input:focus,
.editor-field select:focus,
.editor-field textarea:focus {
  outline: none;
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18);
}

.editor-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.7) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.7) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1.1rem), calc(100% - 13px) calc(1.1rem);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.editor-title-input {
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1rem;
}

.editor-title-input::placeholder {
  color: rgba(237, 244, 242, 0.45);
}

.editor-content-input {
  min-height: 55vh;
  font-size: 1.05rem;
  line-height: 1.8;
  font-family: var(--font-body);
}

.editor-field input[type="file"] {
  padding: 0.75rem 0.6rem;
}

.editor-helper {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: rgba(245, 245, 247, 0.55);
}

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.editor-button {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.editor-button-primary {
  background: linear-gradient(135deg, rgba(230, 202, 134, 0.95), rgba(183, 132, 49, 0.95));
  color: var(--text);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 10px 22px rgba(var(--accent-rgb), 0.2);
}

.editor-button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4), 0 12px 26px rgba(var(--accent-rgb), 0.26);
}

.editor-button-ghost {
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  color: var(--text);
}

.editor-button-ghost:hover {
  transform: translateY(-1px);
  background: rgba(var(--accent-rgb), 0.18);
}

.editor-button-link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(237, 244, 242, 0.8);
  padding: 0.7rem 1.1rem;
}

.editor-preview-pane {
  position: sticky;
  top: 6.6rem;
  align-self: start;
}

.editor-preview-card {
  background: rgba(8, 9, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.4rem;
  width: 100%;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.editor-preview-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.editor-preview-tab {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.editor-preview-sub {
  margin: 0;
  color: rgba(237, 244, 242, 0.6);
  font-size: 0.95rem;
}

.editor-preview-scroll {
  max-height: calc(100vh - 12rem);
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-gutter: stable;
}

.editor-preview-shell {
  padding: 0;
  max-width: 100%;
}

.editor-preview-detail {
  width: 100%;
}

.editor-list-title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: var(--text);
}

.editor-list-header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.4rem;
}

.editor-list-header .editor-list-title {
  margin-bottom: 0;
}

.editor-list-sub {
  margin: 0;
  color: rgba(237, 244, 242, 0.6);
  font-size: 0.95rem;
}

.editor-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.editor-library .editor-library-grid {
  grid-template-columns: 1fr;
}

.editor-list-group {
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  min-height: 280px;
}

.editor-list-group + .editor-list-group {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.editor-list-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.editor-list-group-title {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.7);
  font-weight: 700;
}

.editor-list-count {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  color: var(--text);
  background: rgba(var(--accent-rgb), 0.1);
}

.editor-list-items {
  display: grid;
  gap: 0.75rem;
}

.editor-list-scroll {
  max-height: min(52vh, 620px);
  overflow-y: auto;
  padding-right: 0.35rem;
}

.editor-list-item {
  text-decoration: none;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  background: rgba(var(--accent-rgb), 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  color: var(--text);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  min-width: 0;
}

.editor-list-item:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.16);
}

.editor-list-item-body {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
}

.editor-list-name {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editor-list-meta {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
  color: rgba(245, 245, 247, 0.6);
  overflow-wrap: anywhere;
}

.editor-list-status {
  font-size: 1.2rem;
  opacity: 0.65;
  flex-shrink: 0;
}

.editor-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 320px);
  gap: 1rem;
}

.editor-preview-tile {
  width: 100%;
}

.editor-preview-tile .tile-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editor-preview-body {
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}

footer h3 {
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.22em;
  font-weight: 600;
}

footer p {
  color: rgba(255, 255, 255, 0.78);
}

.footer-socials {
  margin: 0.6rem auto 0.9rem;
}

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

@media (max-width: 1200px) {
  :root {
    --container-width: 920px;
    --container-width-narrow: 900px;
    --section-space: 3.1rem;
    --article-detail-width: min(96ch, 94vw);
    --nav-height: 102px;
  }

  .brand-logo {
    height: 88px;
  }

  .hero-inner {
    max-width: 900px;
  }

  .hero .hero-large {
    font-size: 3rem;
  }

  .artifact-track {
    --visible: 2;
  }

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

  .editor-shell {
    grid-template-columns: 1fr;
  }

  .editor-preview-pane {
    position: static;
  }

  .editor-library-grid {
    grid-template-columns: 1fr;
  }

  .editor-list-scroll {
    max-height: none;
    padding-right: 0;
  }
}

@media (max-width: 992px) {
  :root {
    --container-width: 880px;
    --container-width-narrow: 840px;
    --section-space: 2.9rem;
    --article-detail-width: min(88ch, 94vw);
    --nav-height: 96px;
  }

  .dashboard-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-actions {
    width: 100%;
  }

  .dashboard-stat-wide {
    grid-column: span 1;
  }

  .brand-logo {
    height: 80px;
  }

  .hero-inner {
    max-width: 820px;
  }

  .hero .hero-large {
    font-size: 2.6rem;
  }

  .hero p.lead {
    max-width: 90%;
    font-size: 1.05rem;
  }

  .cta-primary {
    min-width: 200px;
  }

  .controls-row {
    grid-template-columns: 1fr;
  }

  .artifact-layout {
    padding: 0;
    grid-template-columns: 1fr;
    grid-template-areas:
      "pinned"
      "main";
  }

  .pinned-sidebar {
    position: static;
    grid-area: pinned;
  }

  .article-detail-card {
    padding: 2.5rem 2.2rem 2.3rem;
  }

  .home-about-simple-inner {
    grid-template-columns: 1fr;
  }

  .home-about-simple-media {
    justify-self: start;
    max-width: 420px;
    width: 100%;
  }

  .home-timeline-grid {
    grid-template-columns: 1fr;
  }

  .home-timeline-panel {
    justify-self: stretch;
    max-width: none;
  }

  .home-timeline-card {
    justify-self: stretch;
    max-width: none;
  }

  .home-slide {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .home-slide-invert {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 88px;
  }
  .nav-links {
    display: none;
  }

  .nav-dropdown {
    display: inline-flex;
  }

  .dashboard-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-action {
    text-align: center;
  }

  .article-detail {
    padding: 5.5rem 0 3.8rem;
  }

  .article-detail-shell {
    max-width: 100%;
    padding: 0 1.25rem;
  }

  .article-detail-card {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .article-detail-title {
    font-size: clamp(2.05rem, 7vw, 2.55rem);
  }

  .article-detail-body {
    font-size: 1.12rem;
    line-height: 1.82;
  }

  .article-detail-body img {
    padding: 0.25rem;
    border-radius: 14px;
  }

  .hero p.lead {
    max-width: 100%;
  }

  .artifact-tile {
    min-height: 220px;
  }

  .artifact-track {
    --visible: 1;
  }

  .artifacts-simplified {
    padding: 2.8rem 0 3rem;
  }

  .artifact-pinned {
    display: none;
  }

  .artifact-page-title {
    font-size: 2.2rem;
  }

  .artifact-lead {
    font-size: 1rem;
  }

  .artifact-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .artifact-row-media {
    order: -1;
  }

  .filters-row {
    flex-direction: column;
    align-items: stretch;
  }

  .category-control {
    display: flex;
  }

  .category-filters {
    display: none;
  }

  .editor-page {
    padding: 1.4rem 0 3.6rem;
  }

  .editor-shell {
    padding: 0 1.2rem;
  }

  .editor-topbar {
    padding: 1rem 1.2rem;
  }

  .editor-card {
    padding: 1.4rem;
  }

  .editor-title-input {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .editor-preview-scroll {
    max-height: none;
    padding-right: 0;
  }

  .artifact-grid {
    grid-template-columns: 1fr;
  }

  .pinned-panel {
    padding: 1.2rem;
  }

  .pinned-header {
    justify-content: center;
    text-align: center;
  }

  .pinned-heading {
    text-align: center;
  }

  .pinned-stack {
    gap: 0.9rem;
  }

  .pinned-mini {
    grid-template-columns: 1fr;
    padding: 0.95rem;
    text-align: center;
  }

  .pinned-mini-body {
    align-items: center;
  }

  .pinned-mini .tile-tag {
    align-self: center;
  }

  .pinned-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    order: -1;
  }

  .pinned-title {
    text-align: center;
  }

  .home-about-simple-copy {
    text-align: center;
    margin: 0 auto;
  }

  .home-about-simple-title {
    font-size: 2.1rem;
    text-align: center;
  }

  .home-about-simple-text {
    text-align: left;
  }

  .home-about-simple-media {
    justify-self: center;
  }

  .home-slide {
    gap: 2.2rem;
  }

  .home-slide-copy {
    text-align: center;
  }

  .home-slide-title {
    font-size: 2rem;
  }

  .home-slide-sub {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    text-align: center;
  }

  .home-slide-chips {
    justify-content: center;
  }

  .home-timeline-copy {
    text-align: center;
  }

  .home-timeline-copy .section-kicker,
  .home-timeline-copy .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .home-timeline-copy .section-sub {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .home-timeline-note {
    text-align: left;
  }

  .home-timeline-card {
    padding: 1.8rem 1.6rem;
  }

  .home-timeline-panel {
    padding: 1.8rem 1.6rem;
  }

  .home-timeline-list {
    --timeline-gutter: 22px;
    --timeline-line: 11px;
    grid-auto-rows: minmax(72px, auto);
  }

  .home-timeline-item {
    grid-template-columns: var(--timeline-gutter) 1fr;
    gap: 0.9rem;
  }

  .home-timeline-list::before {
    left: var(--timeline-line);
  }

  .home-timeline-stage {
    font-size: 1.05rem;
  }

}
