/* ============================================================
   LICHTSTIFTER — STYLES
   Warm, editorial, ruhig. Handgemacht statt generiert.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #f4f0e8;
  --bg-2: #ece5d8;
  --bg-3: #e2d9c7;
  --cream: #f8f5ee;
  --ink: #1b1a17;
  --ink-2: #3d3a33;
  --muted: #7b7568;
  --line: #d7cfbf;
  --line-soft: #e5ded1;
  --accent: #a9763f;
  --accent-2: #c79a5c;
  --dark: #1b1d17;
  --dark-2: #24271e;
  --dark-3: #2e3226;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section: clamp(4.5rem, 10vw, 10rem);
  --radius: 2px;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
::selection {
  background: var(--accent);
  color: var(--cream);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Typography ---------- */
.display,
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.display {
  font-size: clamp(2.9rem, 8.5vw, 7.5rem);
  line-height: 0.98;
}
h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.04;
}
h2 {
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  line-height: 1.08;
}
h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.2;
}
.lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  line-height: 1.45;
  color: var(--ink);
}
.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.text-muted {
  color: var(--muted);
}
.serif {
  font-family: var(--serif);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow {
  max-width: 860px;
}
.wrap--text {
  max-width: 660px;
}
.section {
  padding-block: var(--section);
  position: relative;
}
.section--tint {
  background: var(--bg-2);
}
.section--dark {
  background: var(--dark);
  color: var(--cream);
}
.section--dark .kicker,
.section--dark .text-muted {
  color: rgba(248, 245, 238, 0.55);
}
.section--flush-top {
  padding-top: 0;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 780px;
}
.section-head--split {
  max-width: none;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .section-head--split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 4rem;
  }
}
.section-head__intro {
  color: var(--ink-2);
  max-width: 52ch;
}
.section--dark .section-head__intro {
  color: rgba(248, 245, 238, 0.78);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), transform 0.4s var(--ease);
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--ink);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--accent);
  color: var(--cream);
}
.btn--ghost {
  border-color: currentColor;
  color: inherit;
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn--light {
  background: var(--cream);
  color: var(--ink);
}
.btn--light:hover {
  background: var(--accent);
  color: var(--cream);
}
.btn--block {
  width: 100%;
  justify-content: center;
}
.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.2em;
  transition: border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover {
  border-color: var(--ink);
  gap: 0.85em;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease),
    transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 76px;
}
.header__logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.header__logo span {
  color: var(--accent);
}
.header__nav {
  display: none;
}
.header__nav ul {
  display: flex;
  gap: 2.1rem;
  font-size: 0.9rem;
}
.header__nav a {
  position: relative;
  padding-bottom: 0.2em;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.header__nav a:hover::after,
.header__nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header__cta {
  display: none;
}
.header__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}
.header__burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
/* Header über dem Hero: hell */
.header--over {
  color: var(--cream);
}
.header.is-scrolled {
  background: rgba(244, 240, 232, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line-soft);
  color: var(--ink);
}
@media (min-width: 900px) {
  .header__nav {
    display: block;
  }
  .header__cta {
    display: inline-flex;
  }
  .header__burger {
    display: none;
  }
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--dark);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2%);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
    visibility 0.5s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.menu__nav a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  line-height: 1.25;
}
.menu__secondary {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  color: rgba(248, 245, 238, 0.6);
  font-size: 0.9rem;
}
.menu__cta {
  margin-top: 2.5rem;
  align-self: flex-start;
}
body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 18s var(--ease) forwards;
}
@keyframes heroDrift {
  to {
    transform: scale(1);
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(18, 16, 12, 0.72) 0%,
    rgba(18, 16, 12, 0.35) 42%,
    rgba(18, 16, 12, 0.15) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3.5rem, 9vh, 7rem);
  padding-top: 8rem;
}
.hero__kicker {
  color: rgba(248, 245, 238, 0.7);
  margin-bottom: 1.4rem;
}
.hero__title {
  max-width: 15ch;
}
.hero__text {
  margin-top: 1.8rem;
  max-width: 46ch;
  color: rgba(248, 245, 238, 0.88);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}
.hero__actions {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.5rem, 9vh, 7rem);
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(248, 245, 238, 0.6);
  display: none;
}
@media (min-width: 900px) {
  .hero__scroll {
    display: block;
  }
}

/* ---------- Idea ---------- */
.idea {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .idea {
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
  }
}
.idea__figure {
  position: relative;
}
.idea__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.idea__body p + p {
  margin-top: 1.4rem;
}
.idea__body .lead {
  margin-bottom: 1.6rem;
}

/* ---------- Disciplines ---------- */
.disciplines {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .disciplines {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .disciplines {
    grid-template-columns: repeat(3, 1fr);
  }
}
.discipline-card__media {
  overflow: hidden;
  margin-bottom: 1.3rem;
}
.discipline-card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.discipline-card:hover .discipline-card__media img {
  transform: scale(1.04);
}
.discipline-card__title {
  margin-bottom: 0.5rem;
}
.discipline-card__text {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 38ch;
}

/* ---------- Vision ---------- */
.vision {
  display: grid;
  gap: 3rem;
}
@media (min-width: 900px) {
  .vision {
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
  }
}
.vision__media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.vision__list {
  border-top: 1px solid rgba(248, 245, 238, 0.18);
}
.vision-item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(248, 245, 238, 0.18);
}
.vision-item__index {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(248, 245, 238, 0.45);
  min-width: 2rem;
}
.vision-item__label {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}
.vision-item:hover .vision-item__label {
  color: var(--accent-2);
  transform: translateX(6px);
}
.vision__note {
  margin-top: 1.6rem;
  color: rgba(248, 245, 238, 0.6);
  font-size: 0.95rem;
  max-width: 44ch;
}

/* ---------- Projects ---------- */
.projects-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.project-card__link {
  display: block;
}
.project-card__media {
  overflow: hidden;
  margin-bottom: 1.4rem;
  background: var(--bg-3);
}
.project-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.project-card:hover .project-card__media img {
  transform: scale(1.045);
}
.project-card__meta {
  display: flex;
  gap: 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.project-card__title {
  margin-bottom: 0.6rem;
}
.project-card__text {
  color: var(--muted);
  max-width: 46ch;
}
.project-card__status {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 0.3em 0.8em;
  border-radius: 999px;
}
/* Projekt-Detailartikel */
.project-article {
  padding-top: clamp(3rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.project-article + .project-article {
  margin-top: clamp(4rem, 9vw, 9rem);
}
.project-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.project-article__title {
  margin-bottom: 2rem;
}
.project-article__cover {
  overflow: hidden;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.project-article__cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.project-article__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .project-article__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
  }
}
.project-article__story .lead {
  margin-bottom: 1.4rem;
}
.project-article__story p + p {
  margin-top: 1.2rem;
}
.project-article__story .link-arrow {
  margin-top: 1.8rem;
}
.project-article__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.project-article__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.project-article__videos {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .project-article__videos {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Filter ---------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.filter button {
  padding: 0.5em 1.05em;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--ink-2);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.filter button:hover {
  border-color: var(--ink);
}
.filter button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.is-hidden {
  display: none !important;
}

/* ---------- Videos ---------- */
.video-card__button {
  display: block;
  width: 100%;
  text-align: left;
}
.video-card__media {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.1rem;
  background: var(--bg-3);
}
.video-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.video-card:hover .video-card__media img {
  transform: scale(1.045);
}
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card__play::before {
  content: "";
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(248, 245, 238, 0.85);
  background: rgba(20, 18, 14, 0.22);
  backdrop-filter: blur(3px);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.video-card__play::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 12px solid rgba(248, 245, 238, 0.95);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.video-card:hover .video-card__play::before {
  transform: scale(1.08);
  background: rgba(169, 118, 63, 0.55);
}
.video-card__meta {
  display: flex;
  gap: 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.video-card__title {
  margin-bottom: 0.45rem;
}
.video-card__text {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 48ch;
}
.video-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.video-card--featured {
  grid-column: 1 / -1;
  max-width: 1000px;
}
.video-card--featured .video-card__title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(14, 13, 10, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__inner {
  width: 100%;
  max-width: 1100px;
}
.lightbox__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.lightbox__frame iframe,
.lightbox__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
  padding: 2rem;
  color: rgba(248, 245, 238, 0.75);
}
.lightbox__placeholder strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--cream);
}
.lightbox__caption {
  margin-top: 1.2rem;
  color: rgba(248, 245, 238, 0.7);
  font-size: 0.95rem;
}
.lightbox__close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translateY(-130%);
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Support / membership ---------- */
.support {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .support {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
  }
}
.support__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.support__body p + p {
  margin-top: 1.2rem;
}
.support__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.support__points {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.support__points li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.8rem;
  color: var(--ink-2);
  font-size: 0.97rem;
}
.support__points li::before {
  content: "→";
  color: var(--accent);
}

/* ---------- Rewards ---------- */
.rewards-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .rewards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.reward-card {
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.reward-card__from {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.reward-card__title {
  font-size: 1.25rem;
}
.reward-card__text {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.reward-card__level {
  font-size: 0.78rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 0.8rem;
}
.rewards-note {
  margin-top: 1.8rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Products / shop ---------- */
.products-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.product-card__media {
  overflow: hidden;
  margin-bottom: 1.1rem;
  background: var(--bg-3);
}
.product-card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 1.3s var(--ease);
}
.product-card:hover .product-card__media img {
  transform: scale(1.04);
}
.product-card__title {
  margin-bottom: 0.3rem;
}
.product-card__price {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--ink-2);
}
.product-card__status {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Shop detail */
.shop-layout {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .shop-layout {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
}
.shop-media {
  position: relative;
}
@media (min-width: 900px) {
  .shop-media {
    position: sticky;
    top: 100px;
  }
}
.shop-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--bg-3);
}
.shop-info h1 {
  margin-bottom: 1rem;
}
.shop-price {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: 1.6rem;
}
.shop-story {
  color: var(--ink-2);
  margin-bottom: 2rem;
  max-width: 52ch;
}
.spec-list {
  border-top: 1px solid var(--line);
  margin-bottom: 2rem;
}
.spec-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.spec-list li span:first-child {
  color: var(--muted);
}
.option-group {
  margin-bottom: 1.8rem;
}
.option-group__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.option {
  position: relative;
}
.option input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.option span {
  display: inline-flex;
  align-items: center;
  padding: 0.6em 1em;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
  cursor: pointer;
}
.option input:checked + span {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.option input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.amount-field {
  margin-top: 0.9rem;
}
.shop-note {
  font-size: 0.88rem;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  margin-bottom: 1.8rem;
  max-width: 52ch;
}

/* ---------- Forms ---------- */
.field {
  margin-bottom: 1.3rem;
}
.field > label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.field > input,
.field > textarea,
.field > select {
  width: 100%;
  padding: 0.85em 0.95em;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
}
.field > input:focus,
.field > textarea:focus,
.field > select:focus {
  outline: none;
  border-color: var(--ink);
}
.field--row {
  display: grid;
  gap: 0 1rem;
}
@media (min-width: 560px) {
  .field--row {
    grid-template-columns: 1fr 1fr;
  }
}
.field__hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.4rem;
}
.field__error {
  font-size: 0.82rem;
  color: #9a3b2a;
  margin-top: 0.4rem;
  display: none;
}
.field.has-error > input,
.field.has-error > textarea {
  border-color: #9a3b2a;
}
.field.has-error .field__error {
  display: block;
}
.checkbox {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink-2);
  margin-bottom: 1.4rem;
}
.checkbox input {
  margin-top: 0.25rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
  flex: none;
}
.checkbox.has-error span {
  color: #9a3b2a;
}
.checkbox.has-error input {
  outline: 2px solid #9a3b2a;
  outline-offset: 2px;
}
.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
@media (min-width: 560px) {
  .amount-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.amount-option {
  position: relative;
}
.amount-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.amount-option span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 1.1em 0.5em;
  border: 1px solid var(--line);
  background: var(--cream);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
  cursor: pointer;
}
.amount-option span strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
}
.amount-option span small {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.amount-option input:checked + span {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.amount-option input:checked + span small {
  color: rgba(248, 245, 238, 0.7);
}
.amount-option--custom span {
  justify-content: center;
}

/* ---------- Membership layout ---------- */
.member {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 980px) {
  .member {
    grid-template-columns: 1.35fr 0.65fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
}
.member__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-bottom: 2.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.member__steps li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.member__steps li[aria-current="true"] {
  color: var(--ink);
}
.member__steps .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.85em;
}
.step {
  display: none;
}
.step.is-active {
  display: block;
  animation: stepIn 0.5s var(--ease);
}
@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.step h2 {
  margin-bottom: 0.8rem;
}
.step__intro {
  color: var(--ink-2);
  margin-bottom: 2rem;
  max-width: 52ch;
}
.step__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
  align-items: center;
}
.step__back {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.member__summary {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
@media (min-width: 980px) {
  .member__summary {
    position: sticky;
    top: 100px;
  }
}
.summary__title {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.94rem;
}
.summary__row span:last-child {
  text-align: right;
  color: var(--ink);
}
.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--ink);
}
.summary__total strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}
.summary__freq {
  font-size: 0.85rem;
  color: var(--muted);
}
.summary__note {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}
.mock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line);
  padding: 0.35em 0.8em;
  margin-bottom: 1.5rem;
}
.mock-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.confirmation {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  padding-block: 1rem;
}
.confirmation__mark {
  width: 62px;
  height: 62px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.confirmation h2 {
  margin-bottom: 1rem;
}

/* ---------- Updates ---------- */
.updates-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) {
  .updates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.update-card {
  border-top: 1px solid var(--line);
  padding-top: 1.3rem;
}
.update-card__date {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.update-card__title {
  margin-bottom: 0.4rem;
}
.update-card__text {
  color: var(--muted);
  font-size: 0.94rem;
}

/* ---------- Values ---------- */
.values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.value-chip {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5em 1.1em;
  color: var(--ink-2);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.value-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Final ---------- */
.final {
  text-align: center;
}
.final__statement {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  max-width: 20ch;
  margin: 0 auto 2.5rem;
}
.final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding-top: clamp(8rem, 18vh, 12rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
.page-hero__title {
  max-width: 18ch;
}
.page-hero__text {
  margin-top: 1.4rem;
  max-width: 56ch;
  color: var(--ink-2);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: var(--cream);
  padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem;
}
.footer__top {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(248, 245, 238, 0.16);
}
@media (min-width: 780px) {
  .footer__top {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
  }
}
.footer__claim {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  max-width: 18ch;
  margin-bottom: 1.2rem;
}
.footer__about {
  color: rgba(248, 245, 238, 0.62);
  font-size: 0.94rem;
  max-width: 40ch;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 245, 238, 0.5);
  margin-bottom: 1.1rem;
}
.footer ul li {
  margin-bottom: 0.6rem;
}
.footer a {
  color: rgba(248, 245, 238, 0.85);
  transition: color 0.3s var(--ease);
}
.footer a:hover {
  color: var(--accent-2);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  padding-top: 1.8rem;
  font-size: 0.82rem;
  color: rgba(248, 245, 238, 0.45);
}
.footer__bottom a {
  color: inherit;
}

/* ---------- Reveal motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__media img {
    animation: none;
    transform: none;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Utilities ---------- */
.mt-l {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.mt-m {
  margin-top: 1.5rem;
}
.center {
  text-align: center;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
