/* ============================================
   Tomas Handwerk — editorial magazine redesign
   ============================================ */

:root {
  --bg: #f5efe5;
  --bg-deep: #ede4d4;
  --surface: #ffffff;
  --ink: #1c160f;
  --ink-soft: #5e524a;
  --ink-muted: #8a7d72;
  --line: rgba(28, 22, 15, 0.12);
  --line-soft: rgba(28, 22, 15, 0.06);
  --accent: #a86f3d;
  --accent-deep: #6b4424;
  --accent-glow: #d49b65;
  --paper: #f0e8d8;

  --font-serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1400px;
  --gutter: 48px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

p {
  margin: 0 0 1.2em 0;
  color: var(--ink-soft);
}

/* ============= GRAIN OVERLAY ============= */

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.09 0 0 0 0 0.06 0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
}

/* ============= CUSTOM CURSOR ============= */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: opacity 0.3s var(--ease);
  opacity: 0;
}

.cursor.is-active { opacity: 1; }

.cursor__dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.cursor__ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.4s var(--ease-smooth);
}

.cursor__label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-smooth);
}

.cursor.is-zoom .cursor__ring {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.9);
}

.cursor.is-zoom .cursor__dot { opacity: 0; }
.cursor.is-zoom .cursor__label { transform: translate(-50%, -50%) scale(1); }

@media (hover: none), (max-width: 960px) {
  .cursor { display: none; }
}

/* ============= SHARED TYPOGRAPHY ============= */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 32px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow--centered {
  justify-content: center;
}

.eyebrow__num {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 1px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.chapter__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 48px 0;
  color: var(--ink);
}

.chapter__title em,
.hero__line em,
.manifest__quote em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
  font-feature-settings: "ss01" on;
}

/* ============= TOP NAV ============= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 22px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.nav.is-scrolled {
  background: rgba(245, 239, 229, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.nav__logo img {
  height: 38px;
  width: auto;
  transition: height 0.4s var(--ease), filter 0.4s var(--ease);
}

.nav.is-scrolled .nav__logo img { height: 30px; }

.nav:not(.is-scrolled) .nav__logo img {
  filter: invert(1) brightness(1.6);
}

.nav__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav:not(.is-scrolled) .nav__meta { color: rgba(255, 255, 255, 0.7); }

.nav__meta-line {
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.nav:not(.is-scrolled) .nav__links a { color: rgba(255, 255, 255, 0.92); }

.nav__links a:not(.nav__cta):hover { color: var(--accent); }

.nav__cta {
  padding: 9px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
}

.nav__cta:hover {
  background: var(--ink);
  color: var(--bg) !important;
  border-color: var(--ink);
}

.nav:not(.is-scrolled) .nav__cta:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink) !important;
  border-color: rgba(255, 255, 255, 0.95);
}

.nav__burger {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 28px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav:not(.is-scrolled) .nav__burger span { background: #fff; }

.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 24px var(--gutter) 32px;
  flex-direction: column;
  gap: 0;
}

.nav__mobile a {
  padding: 16px 0;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.nav__mobile a span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  font-weight: 500;
}

.nav__mobile a:last-child { border-bottom: none; }

.nav__mobile.is-open { display: flex; }

/* ============= SIDE NAV ============= */

.sidenav {
  position: fixed;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.sidenav.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.sidenav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidenav a {
  position: relative;
  display: flex;
  align-items: center;
  width: 36px;
  height: 36px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  text-decoration: none;
}

.sidenav a span {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink-muted);
  border-radius: 50%;
  background: transparent;
  transition: all 0.3s var(--ease);
  font-size: 9px;
}

.sidenav a::after {
  content: attr(data-label);
  position: absolute;
  right: 38px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: all 0.3s var(--ease);
  pointer-events: none;
}

.sidenav a:hover::after,
.sidenav li.is-active a::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.sidenav a:hover span,
.sidenav li.is-active a span {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.sidenav li.is-active a span { transform: translateY(-50%) scale(1.05); }

/* dark contrast (over dark sections) */
.sidenav.is-on-dark a span {
  border-color: rgba(245, 239, 229, 0.5);
  color: rgba(245, 239, 229, 0.9);
}

.sidenav.is-on-dark a::after { color: var(--bg); }

.sidenav.is-on-dark a:hover span,
.sidenav.is-on-dark li.is-active a span {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

@media (max-width: 960px) {
  .sidenav { display: none; }
}

/* ============= BUTTONS ============= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--bg);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--accent-deep);
  color: var(--bg);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  transition: gap 0.3s var(--ease), padding 0.3s var(--ease);
  width: fit-content;
}

.link-cta__arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.link-cta:hover {
  gap: 28px;
  color: var(--accent-deep);
}

.link-cta:hover .link-cta__arrow {
  transform: translateX(6px);
}

/* ============= HERO ============= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 100px 0 40px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,12,8,0.5) 0%, rgba(15,12,8,0.3) 30%, rgba(15,12,8,0.85) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(168, 111, 61, 0.18), transparent 60%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 18s var(--ease-smooth) forwards;
  filter: contrast(1.05) saturate(0.95);
}

@keyframes heroZoom { to { transform: scale(1); } }

.hero__chrome {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.hero__tag {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__tag-id {
  letter-spacing: 0.32em;
  color: var(--accent-glow);
}

.hero__tag-divider {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.hero__coords {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  font-size: 10px;
  letter-spacing: 0.2em;
}

.hero__content {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(4rem, 16vw, 13rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
  margin: 0 0 56px 0;
  color: #fff;
}

.hero__line { display: block; }

.hero__line--1 {
  transform: translateX(-0.04em);
}

.hero__line--2 {
  margin-left: 18%;
  margin-top: -0.12em;
}

.hero__amp {
  display: inline-block;
  font-size: 0.5em;
  vertical-align: 0.3em;
  color: var(--accent-glow);
  margin: 0 0.04em;
  font-weight: 400;
}

.hero__line em {
  color: var(--accent-glow);
  font-weight: 300;
}

.hero__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  max-width: 1100px;
}

.hero__lead {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 50ch;
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 22px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__scroll {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 var(--gutter);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero__scroll-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
  width: 30%;
  animation: scrollShine 2.6s var(--ease-smooth) infinite;
}

@keyframes scrollShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* ============= MARQUEE ============= */

.marquee {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid rgba(245, 239, 229, 0.1);
  border-bottom: 1px solid rgba(245, 239, 229, 0.1);
  padding: 26px 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2.4rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.marquee__star {
  font-style: normal;
  color: var(--accent-glow);
  font-size: 0.7em;
  align-self: center;
  font-weight: 400;
}

@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* ============= MANIFEST ============= */

.manifest {
  padding: 200px var(--gutter) 200px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.manifest__inner { max-width: 1200px; margin: 0 auto; }

.manifest__quote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 36px 0 60px 0;
  color: var(--ink);
}

.manifest__quote em {
  font-style: italic;
  color: var(--accent-deep);
  font-weight: 400;
}

.manifest__cite {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto;
}

/* ============= CHAPTER (shared) ============= */

.chapter {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  z-index: 2;
}

.chapter--moebel {
  background: var(--bg-deep);
}

.chapter__bg {
  position: absolute;
  top: 50%;
  right: -3vw;
  transform: translateY(-50%);
  z-index: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20rem, 42vw, 50rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: var(--ink);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}

.chapter__bg--dark {
  color: var(--bg);
  opacity: 0.05;
}

.chapter--moebel .chapter__bg { right: auto; left: -3vw; }

.chapter__header,
.chapter__body {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.chapter__header { margin-bottom: 80px; }

.chapter__body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: start;
}

.chapter__lede {
  grid-column: 2 / span 5;
  font-size: 18px;
  line-height: 1.55;
}

.chapter__lede p {
  color: var(--ink-soft);
  font-size: 18px;
}

.chapter__tags-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 18px 0;
}

.chapter__tags {
  list-style: none;
  margin: 0 0 28px 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
}

.chapter__tags li {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.25s var(--ease);
}

.chapter__tags li:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.chapter__tags li:last-child {
  background: transparent;
  border-style: dashed;
  color: var(--ink-muted);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 400;
}

.chapter__tags li:last-child:hover {
  background: transparent;
  color: var(--accent-deep);
  border-color: var(--accent-deep);
}

.chapter__tags-note {
  font-size: 14px !important;
  line-height: 1.55;
  color: var(--ink-muted) !important;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin: 0 !important;
  max-width: 42ch;
}

.chapter__hero-img {
  grid-column: 8 / span 5;
  margin: 0;
  margin-top: -80px;
  position: relative;
}

.chapter--moebel .chapter__hero-img {
  grid-column: 1 / span 5;
  grid-row: 1 / span 2;
}

.chapter--moebel .chapter__lede {
  grid-column: 7 / span 5;
}

.chapter__hero-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(28, 22, 15, 0.18);
}

.chapter__hero-img figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.chapter__split {
  grid-column: 2 / span 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 80px;
}

.chapter__split-img {
  margin: 0;
  position: relative;
}

.chapter__split-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(28, 22, 15, 0.14);
}

.chapter__split-img figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

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

.chapter__list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: baseline;
  gap: 10px;
  font-size: 16px;
  color: var(--ink);
  transition: padding 0.3s var(--ease), color 0.3s var(--ease);
}

.chapter__list li span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: lowercase;
}

.chapter__list li:hover {
  padding-left: 8px;
  color: var(--accent-deep);
}

.chapter__list li:first-child { border-top: 1px solid var(--line); }

.chapter__body .link-cta {
  grid-column: 2 / span 10;
  margin-top: 60px;
}

/* ============= PROCESS ============= */

.process {
  background: var(--ink);
  color: var(--bg);
  padding: 180px 0;
  position: relative;
  overflow: hidden;
}

.process .chapter__bg { color: var(--bg); opacity: 0.04; }

.process__sticky {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 100px;
  position: relative;
  z-index: 1;
}

.process__header {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process__header .eyebrow { color: rgba(245, 239, 229, 0.55); }

.process__header .chapter__title { color: var(--bg); }

.process__header .chapter__title em { color: var(--accent-glow); }

.process__lede {
  font-size: 17px;
  color: rgba(245, 239, 229, 0.65);
  max-width: 38ch;
  margin-top: 24px;
}

.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.process__step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 60px 0;
  border-top: 1px solid rgba(245, 239, 229, 0.15);
  align-items: start;
}

.process__step:last-child { border-bottom: 1px solid rgba(245, 239, 229, 0.15); }

.process__step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 64px;
  color: var(--accent-glow);
  line-height: 1;
  letter-spacing: -0.03em;
}

.process__step h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  margin: 0 0 16px 0;
  color: var(--bg);
  letter-spacing: -0.02em;
}

.process__step p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(245, 239, 229, 0.7);
  margin: 0;
  max-width: 50ch;
}

/* ============= ABOUT ============= */

.about {
  padding: 180px 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.about__grid {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about__media {
  position: relative;
  aspect-ratio: 4 / 5;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(28, 22, 15, 0.2);
}

.about__caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 8px 14px;
  background: rgba(28, 22, 15, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 56px 0 0 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.stats div { display: flex; flex-direction: column; }

.stats dt {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 48px;
  font-weight: 300;
  color: var(--accent-deep);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ============= GALLERY ============= */

.gallery {
  padding: 160px 0 200px;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.gallery__header {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto 80px;
  padding: 0 var(--gutter);
}

.gallery__mosaic {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: 16px;
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: none;
  position: relative;
  background: var(--ink);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-smooth), filter 0.5s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

/* mosaic sizing */
.gallery__item--xl { grid-column: span 6; grid-row: span 6; }
.gallery__item--l  { grid-column: span 5; grid-row: span 5; }
.gallery__item--m  { grid-column: span 3; grid-row: span 4; }
.gallery__item--s  { grid-column: span 3; grid-row: span 3; }

/* explicit, balanced layout */
.gallery__item:nth-child(1) { grid-column: 1 / span 6; grid-row: 1 / span 6; }
.gallery__item:nth-child(2) { grid-column: 7 / span 3; grid-row: 1 / span 3; }
.gallery__item:nth-child(3) { grid-column: 10 / span 3; grid-row: 1 / span 4; }
.gallery__item:nth-child(4) { grid-column: 7 / span 3; grid-row: 4 / span 3; }
.gallery__item:nth-child(5) { grid-column: 10 / span 3; grid-row: 5 / span 3; }
.gallery__item:nth-child(6) { grid-column: 1 / span 4; grid-row: 7 / span 4; }
.gallery__item:nth-child(7) { grid-column: 5 / span 5; grid-row: 7 / span 5; }
.gallery__item:nth-child(8) { grid-column: 10 / span 3; grid-row: 8 / span 3; }
.gallery__item:nth-child(9) { grid-column: 5 / span 3; grid-row: 12 / span 3; }
.gallery__item:nth-child(10) { grid-column: 8 / span 5; grid-row: 11 / span 5; }
.gallery__item:nth-child(11) { grid-column: 1 / span 4; grid-row: 11 / span 3; }
.gallery__item:nth-child(12) { grid-column: 1 / span 4; grid-row: 14 / span 3; }

/* ============= TESTIMONIALS ============= */

.testimonials {
  padding: 180px var(--gutter);
  position: relative;
  z-index: 2;
}

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

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 60px;
}

.testimonial {
  margin: 0;
  padding: 0;
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}

.testimonial__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: 0 0 28px 0;
  text-transform: uppercase;
}

.testimonial blockquote {
  margin: 0 0 32px 0;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.testimonial figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ============= CONTACT ============= */

.contact {
  padding: 200px 0;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.contact .chapter__bg { color: var(--bg); opacity: 0.05; }

.contact__grid {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contact .eyebrow { color: rgba(245, 239, 229, 0.5); }

.contact .chapter__title {
  color: var(--bg);
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
}

.contact .chapter__title em { color: var(--accent-glow); }

.contact p { color: rgba(245, 239, 229, 0.72); }

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(245, 239, 229, 0.18);
}

.contact__list li {
  padding: 32px 0;
  border-bottom: 1px solid rgba(245, 239, 229, 0.18);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: baseline;
}

.contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 239, 229, 0.5);
}

.contact__list a,
.contact__list span:not(.contact__label):not(.contact__sep) {
  color: var(--bg);
  font-size: 22px;
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.4;
}

.contact__list a:hover { color: var(--accent-glow); }

.contact__sep {
  margin: 0 8px;
  color: rgba(245, 239, 229, 0.35);
}

/* ============= FOOTER ============= */

.footer {
  background: #110d08;
  color: rgba(245, 239, 229, 0.55);
  padding: 60px 0 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 2;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.footer__brand { display: flex; align-items: center; gap: 16px; }

.footer__brand img {
  height: 26px;
  filter: invert(1) brightness(1.4);
  opacity: 0.7;
}

.footer__brand p {
  margin: 0;
  color: inherit;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__nav {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.footer__nav a {
  color: rgba(245, 239, 229, 0.65);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__nav a:hover { color: var(--accent-glow); }

.footer__legal {
  margin: 0;
  text-align: right;
  color: inherit;
}

.footer__legal a {
  color: inherit;
  border-bottom: 1px solid rgba(245, 239, 229, 0.2);
}

.footer__legal a:hover { color: var(--accent-glow); }

/* ============= REVEAL ============= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-smooth), transform 1.1s var(--ease-smooth);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============= LIGHTBOX ============= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 12, 8, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.lightbox.is-open { display: flex; opacity: 1; }

.lightbox img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}

.lightbox__close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: rotate(90deg);
}

/* ============= RESPONSIVE ============= */

@media (max-width: 1100px) {
  :root { --gutter: 32px; }

  .chapter__lede,
  .chapter--moebel .chapter__lede { grid-column: 1 / span 6; }
  .chapter__hero-img { grid-column: 7 / span 6; margin-top: 0; }
  .chapter--moebel .chapter__hero-img { grid-column: 1 / span 6; grid-row: auto; }
  .chapter__split { grid-column: 1 / span 12; }
  .chapter__body .link-cta { grid-column: 1 / span 12; }

  .process__sticky { grid-template-columns: 1fr; gap: 60px; }
  .process__header { position: static; }

  .about__grid { gap: 60px; }
  .hero__line--2 { margin-left: 0; }
}

@media (max-width: 960px) {
  .nav__links, .nav__meta { display: none; }
  .nav__inner { grid-template-columns: auto 1fr auto; }
  .nav__burger { display: flex; }

  .hero { padding: 90px 0 32px; }
  .hero__chrome { display: none; }
  .hero__title { font-size: clamp(3.2rem, 13vw, 7rem); }
  .hero__line--2 { margin-left: 0; }
  .hero__meta { grid-template-columns: 1fr; gap: 32px; }

  .chapter, .process, .about, .testimonials, .contact { padding: 100px 0; }
  .manifest { padding: 120px var(--gutter); }
  .gallery { padding: 100px 0 120px; }

  .chapter__body { gap: 24px; }
  .chapter__lede,
  .chapter--moebel .chapter__lede { grid-column: 1 / span 12; }
  .chapter__hero-img,
  .chapter--moebel .chapter__hero-img { grid-column: 1 / span 12; margin-top: 24px; }
  .chapter__split { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .chapter--moebel .chapter__split { display: flex; flex-direction: column-reverse; }

  .about__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; gap: 60px; }
  .contact__list a, .contact__list span:not(.contact__label):not(.contact__sep) { font-size: 18px; }
  .contact .chapter__title { font-size: clamp(2.2rem, 8vw, 4rem); }

  .gallery__mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 60px;
  }

  .gallery__item:nth-child(1) { grid-column: 1 / span 6; grid-row: span 5; }
  .gallery__item:nth-child(2) { grid-column: 1 / span 3; grid-row: span 3; }
  .gallery__item:nth-child(3) { grid-column: 4 / span 3; grid-row: span 3; }
  .gallery__item:nth-child(4) { grid-column: 1 / span 3; grid-row: span 3; }
  .gallery__item:nth-child(5) { grid-column: 4 / span 3; grid-row: span 3; }
  .gallery__item:nth-child(6) { grid-column: 1 / span 6; grid-row: span 5; }
  .gallery__item:nth-child(7) { grid-column: 1 / span 3; grid-row: span 3; }
  .gallery__item:nth-child(8) { grid-column: 4 / span 3; grid-row: span 3; }
  .gallery__item:nth-child(9) { grid-column: 1 / span 3; grid-row: span 3; }
  .gallery__item:nth-child(10) { grid-column: 4 / span 3; grid-row: span 3; }
  .gallery__item:nth-child(11) { grid-column: 1 / span 6; grid-row: span 5; }
  .gallery__item:nth-child(12) { grid-column: 1 / span 6; grid-row: span 5; }

  .footer__inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .footer__brand, .footer__nav { justify-content: center; }
  .footer__legal { text-align: center; }

  .contact__list li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }

  .process__step { grid-template-columns: 56px 1fr; gap: 24px; padding: 36px 0; }
  .process__step-num { font-size: 40px; }
  .process__step h3 { font-size: 26px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .chapter__title { font-size: clamp(2.4rem, 11vw, 4rem); }
  .manifest__quote { font-size: clamp(2.4rem, 11vw, 4.5rem); }
  .testimonial blockquote { font-size: 22px; }
  .stats { grid-template-columns: 1fr; gap: 16px; }
  .stats dt { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .hero__media img { animation: none; transform: none; }
}

/* ============= SHOP ============= */

.chapter--shop {
  background: var(--bg-deep);
  padding-bottom: 180px;
}

.chapter--shop .chapter__bg {
  right: -3vw;
  left: auto;
}

.shop__intro {
  max-width: 50ch;
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0;
}

.shop__intro a {
  color: var(--accent-deep);
  border-bottom: 1px solid currentColor;
}

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

.shop__container {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.shop__skeleton {
  aspect-ratio: 3 / 4;
  background: linear-gradient(
    100deg,
    rgba(28, 22, 15, 0.05) 30%,
    rgba(28, 22, 15, 0.10) 50%,
    rgba(28, 22, 15, 0.05) 70%
  );
  background-size: 200% 100%;
  border-radius: var(--radius);
  animation: shopSkeleton 1.6s linear infinite;
}

@keyframes shopSkeleton {
  to { background-position: -200% 0; }
}

.shop__card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(28, 22, 15, 0.06);
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
  position: relative;
}

.shop__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(28, 22, 15, 0.12);
}

.shop__media {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-deep);
  overflow: hidden;
}

.shop__media img,
.shop__media-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-smooth);
}

.shop__media-placeholder {
  background: linear-gradient(135deg, rgba(168, 111, 61, 0.1), rgba(28, 22, 15, 0.06));
}

.shop__card:hover .shop__media img {
  transform: scale(1.05);
}

.shop__num {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(245, 239, 229, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: 999px;
}

.shop__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 28px;
  gap: 12px;
}

.shop__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

.shop__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shop__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.shop__price {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.shop__stock {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.shop__stock--urgent {
  color: var(--accent-deep);
}

.shop__stock--soldout {
  color: var(--ink-muted);
  text-decoration: line-through;
}

.shop__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  margin-top: 6px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.shop__cta:hover {
  background: var(--accent-deep);
  color: var(--bg);
}

.shop__cta-arrow {
  transition: transform 0.3s var(--ease);
}

.shop__cta:hover .shop__cta-arrow {
  transform: translateX(4px);
}

.shop__cta--disabled {
  background: transparent;
  color: var(--ink-muted);
  border: 1px solid var(--line);
  cursor: not-allowed;
  pointer-events: none;
  justify-content: center;
}

.shop__empty,
.shop__error {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink-muted);
  padding: 60px 20px;
  margin: 0;
}

.shop__error {
  color: var(--accent-deep);
}

@media (max-width: 1100px) {
  .shop__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 640px) {
  .shop__grid { grid-template-columns: 1fr; gap: 20px; }
  .shop__body { padding: 20px 20px 24px; }
  .shop__name { font-size: 22px; }
  .shop__price { font-size: 20px; }
}

/* ============================================================
   LEGAL PAGES (Impressum, Datenschutz, Widerruf)
   ============================================================ */
.legal-page {
  padding: 140px 32px 96px;
  max-width: 880px;
  margin: 0 auto;
}
.legal-page .legal__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 24px;
}
.legal-page h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.legal-page h1 em {
  font-style: italic;
  color: var(--accent);
}
.legal-page .legal__updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 64px;
}
.legal-page h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  color: var(--ink);
  margin: 56px 0 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(28, 22, 15, 0.12);
}
.legal-page h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 28px 0 10px;
}
.legal-page p,
.legal-page li,
.legal-page address {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.legal-page address { white-space: pre-line; }
.legal-page ul {
  padding-left: 22px;
  margin: 0 0 18px;
}
.legal-page ul li { margin-bottom: 6px; }
.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.legal-page a:hover { color: var(--accent-deep); }
.legal-page .legal__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  margin-bottom: 48px;
}
.legal-page .legal__back:hover { color: var(--accent); }
.legal-page .legal__note {
  background: rgba(168, 111, 61, 0.08);
  border-left: 2px solid var(--accent);
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 15px;
}
.legal-page .legal__note p { margin: 0; }

@media (max-width: 640px) {
  .legal-page { padding: 110px 22px 72px; }
  .legal-page .legal__updated { margin-bottom: 40px; }
}

