/* Szczep design system — warm neutral + terracotta accent */

:root {
  --paper: #f7f3ed;
  --linen: #fdfbf7;
  --bark: #2b2420;
  --stone: #6b6157;
  --stone-light: #a89e92;
  --terracotta: #c25b3a;
  --terracotta-light: #d98a6b;
  --sienna: #9a4327;
  --sage: #7c8b6f;
  --husk: #e4dbcf;
  --shadow-soft: 0 2px 8px rgba(43, 36, 32, 0.05);
  --shadow-lift: 0 4px 16px rgba(43, 36, 32, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max-width: 1140px;
  --gutter: 24px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--bark);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.page-grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--max-width));
  margin-inline: auto;
}

/* Mission layout + root spine */

.site--mission {
  --hero-display-size: clamp(2.25rem, 5vw, 3.75rem);
}

.site--mission .mission-main__content > :not(.hero--poster) .container {
  width: min(calc(100% - var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}

.mission-main {
  position: relative;
}

.mission-main__content {
  position: relative;
  z-index: 1;
}

.root-spine {
  position: absolute;
  top: 0;
  left: max(12px, calc((100vw - var(--max-width)) / 2 + 4px));
  width: 52px;
  pointer-events: none;
  z-index: 0;
}

.root-spine__svg {
  display: block;
  width: 52px;
  overflow: visible;
}

.root-spine__path {
  stroke: var(--terracotta);
  stroke-width: 1.25;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
  transition: stroke-dashoffset 1.1s ease, opacity 0.4s ease;
}

.root-spine__trunk {
  opacity: 0.35;
}

.root-spine__path.is-drawn {
  opacity: 0.7;
}

.root-spine__trunk.is-drawn {
  opacity: 0.45;
}

.root-spine__node {
  fill: var(--terracotta);
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.root-spine__node.is-active {
  opacity: 0.85;
}

.root-spine__node--terminal.is-active {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(194, 91, 58, 0.35));
}

@media (prefers-reduced-motion: reduce) {
  .root-spine__path {
    transition: none;
    stroke-dashoffset: 0 !important;
    opacity: 0.55;
  }

  .root-spine__node {
    opacity: 0.75;
    transition: none;
  }
}

@media (max-width: 1080px) {
  .root-spine {
    display: none;
  }

  .site--mission .mission-main__content > :not(.hero--poster) .container {
    width: min(100% - var(--gutter) * 2, var(--max-width));
    margin-inline: auto;
  }

  .mission-main__content > [data-root-node]:not(:first-child) {
    position: relative;
    padding-top: var(--space-6);
  }

  .mission-main__content > [data-root-node]:not(:first-child)::before {
    content: "";
    display: block;
    width: 56px;
    height: 18px;
    margin-bottom: var(--space-5);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 18'%3E%3Ccircle cx='6' cy='14' r='3.5' fill='%23C25B3A'/%3E%3Cpath d='M6 10 V4 M6 8 H20' stroke='%23C25B3A' stroke-width='1.2' fill='none'/%3E%3Ccircle cx='20' cy='4' r='2' fill='%23C25B3A'/%3E%3C/svg%3E") no-repeat left center;
    opacity: 0.65;
  }
}

/* Photography + image treatment */

.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--husk);
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.15) saturate(0.9) brightness(1.02);
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(43, 36, 32, 0) 40%, rgba(43, 36, 32, 0.25) 100%),
    rgba(194, 91, 58, 0.06);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.photo--ratio-3x2 {
  aspect-ratio: 3 / 2;
}

.photo--ratio-21x9 {
  aspect-ratio: 21 / 9;
}

.photo--ratio-hero {
  aspect-ratio: 4 / 3;
  min-height: 100%;
}

.photo--labelled {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  border: 2px dashed var(--husk);
  background: var(--husk);
}

.photo--labelled::after {
  display: none;
}

.photo__slot-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: center;
  padding: var(--space-5);
}

.photo__credit {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-3);
  z-index: 2;
  font-size: 10px;
  color: var(--paper);
  opacity: 0.75;
}

.section--split {
  padding-block: var(--space-9);
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  gap: var(--space-8);
  align-items: center;
}

.section-split__figure {
  margin: 0;
}

.section__content--narrow {
  max-width: 36rem;
}

.section--quiet {
  padding-block: var(--space-10);
}

/* Recognition (before) */

.section--recognition {
  padding-block: var(--space-10);
}

.recognition-burdens {
  list-style: none;
  margin: var(--space-6) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.recognition-burden {
  font-size: 18px;
  line-height: 1.65;
  color: var(--bark);
  padding-left: var(--space-5);
  border-left: 2px solid var(--husk);
}

.recognition__feeling {
  margin: var(--space-7) 0 0;
}

.recognition__bridge {
  margin: var(--space-5) 0 0;
  color: var(--stone);
}

.recognition-pivot {
  margin: var(--space-7) 0 0;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--bark);
}

/* Category (what this is) */

.section--category {
  padding-block: var(--space-10);
}

.category-panel {
  max-width: 42rem;
}

.category-panel__block {
  margin: 0 0 var(--space-6);
}

.category-contrast {
  margin: var(--space-7) 0;
  padding: var(--space-6);
  background: var(--linen);
  border: 1px solid var(--husk);
  border-radius: var(--radius-md);
}

.category-contrast__intro {
  margin: 0 0 var(--space-4);
  font-size: 13px;
  font-weight: 600;
  color: var(--stone);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.category-contrast__list {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.category-contrast__item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  font-size: 17px;
  line-height: 1.55;
  color: var(--stone);
}

.category-contrast__role {
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: rgba(107, 84, 68, 0.45);
  opacity: 0.8;
}

.category-contrast__role::after {
  content: ",";
}

.category-affirmation {
  margin: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--husk);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 500;
  color: var(--terracotta);
}

.category-panel__why {
  margin: var(--space-6) 0 0;
}

/* Help buckets (what we help with) */

.section--help {
  padding-block: var(--space-9);
}

.help-with__header {
  align-items: start;
}

.help-with__intro {
  margin: var(--space-4) 0 0;
}

.help-buckets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-7);
}

.help-bucket__mark {
  color: var(--terracotta);
  margin-bottom: var(--space-4);
}

.help-bucket .h3 {
  margin: 0 0 var(--space-3);
}

.help-bucket p {
  margin: 0;
  color: var(--stone);
  font-size: 16px;
  line-height: 1.6;
}

.help-with__closing {
  margin: var(--space-7) 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--bark);
  max-width: 36rem;
}

/* Experience band (slot C) */

.experience-band {
  position: relative;
  margin-block: var(--space-2);
}

.experience-band__media-wrap {
  position: relative;
}

.experience-band__media-wrap .photo {
  border-radius: 0;
  min-height: clamp(280px, 48vh, 520px);
}

.experience-band__media-wrap .photo--ratio-21x9 {
  aspect-ratio: auto;
  height: clamp(280px, 48vh, 520px);
}

.experience-band__content {
  position: relative;
  margin-top: calc(-1 * clamp(80px, 18vh, 160px));
  z-index: 2;
  padding: var(--space-7);
  background: rgba(253, 251, 247, 0.94);
  border: 1px solid var(--husk);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border-left: 3px solid var(--terracotta);
}

.experience-band__text {
  margin: 0 0 var(--space-6);
  font-size: 18px;
  line-height: 1.7;
  color: var(--bark);
  max-width: 52rem;
}

.proof-stats--on-dark .proof-stats__value {
  color: var(--terracotta);
}

/* Hero (no photo by default) */

.hero {
  position: relative;
  padding-block: var(--space-10) var(--space-9);
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
}

/* Hero — diagonal poster (mission) */

.site--mission .root-spine {
  display: none;
}

.hero--poster-diagonal {
  position: relative;
  min-height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  color: var(--linen);
}

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

.hero-poster__bg--bark {
  background: radial-gradient(120% 90% at 18% 22%, #3a322c 0%, var(--bark) 55%, #241d19 100%);
}

.hero-poster__bg--photo .photo {
  position: absolute;
  inset: 0;
  border-radius: 0;
  min-height: 100%;
}

.hero-poster__bg--photo .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.12) saturate(0.92) brightness(0.88);
}

.hero-poster__bg--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 18% 22%, rgba(58, 50, 44, 0.55) 0%, rgba(43, 36, 32, 0.72) 55%, rgba(36, 29, 25, 0.82) 100%),
    rgba(194, 91, 58, 0.08);
  pointer-events: none;
}

.hero-poster__watermark {
  position: absolute;
  z-index: 1;
  top: 8%;
  right: -4%;
  width: min(52%, 520px);
  color: var(--terracotta-light);
  opacity: 0.06;
  pointer-events: none;
}

.hero-poster__frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  max-height: 100dvh;
  box-sizing: border-box;
  --poster-pad: clamp(96px, 8.5vw, 128px);
  --poster-gap: clamp(24px, 3vw, 48px);
  --poster-col-left: calc((100% - 2 * var(--poster-pad) - var(--poster-gap)) * 1.12 / 2.2);
  --poster-col-right: calc((100% - 2 * var(--poster-pad) - var(--poster-gap)) * 1.08 / 2.2);
  --poster-story-width: 40vw;
}

.hero-poster__headline {
  position: absolute;
  top: 108px;
  left: var(--poster-pad);
  width: var(--poster-col-left);
  max-width: var(--poster-col-left);
}

.hero-poster__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-light);
}

.motif--on-dark .motif__node,
.motif--on-dark .motif__shoot {
  background: var(--terracotta-light);
}

.hero-poster__title {
  margin: 40px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.8vw, 6.5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 12ch;
  color: var(--linen);
}

.hero-poster__title .text-accent {
  color: var(--terracotta-light);
}

.hero-poster__story {
  position: absolute;
  right: var(--poster-pad);
  top: clamp(38vh, 42%, 46vh);
  width: var(--poster-story-width);
  max-width: min(56ch, var(--poster-story-width));
  text-align: left;
}

.hero-poster__lead {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--linen);
}

.hero-poster__burden {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #bdb2a6;
}

.hero-poster__feeling {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  line-height: 1.55;
  color: #cabfb3;
}

.hero-poster__feeling em {
  font-style: italic;
}

.hero-poster__pivot {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--linen);
}

.hero-poster__story .button {
  display: inline-block;
}

.hero-poster__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--stone-light);
  transition: color 0.2s ease;
}

.hero-poster__scroll-cue:hover {
  color: var(--linen);
}

.hero-poster__scroll-cue svg {
  width: 14px;
  height: 22px;
}

.button--on-dark {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--paper);
}

.button--on-dark:hover {
  background: var(--sienna);
  border-color: var(--sienna);
  transform: translateY(-1px);
}

/* Below-fold contrast */

.section--below-fold {
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--husk);
  scroll-margin-top: 72px;
}

.below-fold {
  max-width: 40rem;
}

.below-fold__contrast {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--bark);
}

.below-fold__bridge {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--stone);
}

/* Mission header over poster */

.site--mission .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(var(--paper), rgba(247, 243, 237, 0));
  border-bottom: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site--mission .site-header .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.site--mission .site-header__inner {
  padding: 22px 48px;
}

.site--mission .site-header.is-over-poster {
  background: linear-gradient(rgba(43, 36, 32, 0.6), rgba(43, 36, 32, 0));
  backdrop-filter: none;
}

.site--mission .site-header:not(.is-over-poster) {
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--husk);
}

.site--mission .site-header.is-over-poster .brand-name,
.site--mission .site-header.is-over-poster .nav a:not(.button),
.site--mission .site-header.is-over-poster .lang-switch a {
  color: var(--linen);
}

.site--mission .site-header.is-over-poster .lang-switch a.is-active {
  color: var(--paper);
}

.site--mission .site-header:not(.is-over-poster) .brand-name,
.site--mission .site-header:not(.is-over-poster) .nav a:not(.button),
.site--mission .site-header:not(.is-over-poster) .lang-switch a {
  color: var(--bark);
}

.site--mission .site-header.is-over-poster .brand-mark__line {
  background: rgba(253, 251, 247, 0.35);
}

.site--mission .site-header.is-over-poster .motif__node,
.site--mission .site-header.is-over-poster .motif__shoot {
  background: var(--terracotta-light);
}

.site--mission .site-header .button--primary {
  box-shadow: 0 1px 0 rgba(194, 91, 58, 0.2);
}

@media (max-width: 860px) {
  .hero--poster-diagonal {
    max-height: none;
  }

  .hero-poster__frame {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: auto;
    max-height: none;
    height: auto;
    padding: 104px 36px 72px;
  }

  .hero-poster__headline,
  .hero-poster__story {
    position: static;
    top: auto;
    width: auto;
    max-width: 100%;
  }

  .hero-poster__title {
    margin-top: 30px;
    font-size: clamp(2.5rem, 11vw, 4rem);
    max-width: 14ch;
  }

  .hero-poster__eyebrow {
    margin-top: 0;
  }

  .hero-poster__watermark {
    display: none;
  }

  .hero-poster__scroll-cue {
    display: none;
  }

  .site--mission .site-header__inner {
    padding: 18px 24px;
  }
}

@media (max-height: 860px) and (min-width: 861px) {
  .hero-poster__headline {
    top: 96px;
  }

  .hero-poster__story {
    top: clamp(36vh, 40%, 44vh);
  }

  .hero-poster__title {
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    margin-top: 36px;
  }
}

/* Hero background (build sites) */

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
}

.hero__bg .photo::after {
  background: rgba(247, 243, 237, 0.55);
  mix-blend-mode: normal;
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero .display {
  max-width: 16ch;
}

.motif--terminal .motif__node {
  width: 9px;
  height: 9px;
}

/* Brand / motif */

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--bark);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.brand-mark__line {
  width: 10px;
  height: 1px;
  background: var(--husk);
}

.motif {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 18px;
  height: 16px;
  position: relative;
}

.motif__node {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
  position: absolute;
  left: 0;
  bottom: 0;
}

.motif__shoot {
  position: absolute;
  width: 1px;
  background: var(--terracotta);
  transform-origin: bottom left;
}

.motif__shoot--1 {
  height: 10px;
  left: 2px;
  bottom: 4px;
  transform: rotate(-28deg);
}

.motif__shoot--2 {
  height: 12px;
  left: 2px;
  bottom: 4px;
  transform: rotate(12deg);
}

.motif__shoot--3 {
  height: 8px;
  left: 2px;
  bottom: 4px;
  transform: rotate(42deg);
}

.motif--section {
  margin-bottom: var(--space-5);
}

.motif--lg {
  width: 28px;
  height: 24px;
}

.motif--lg .motif__node {
  width: 7px;
  height: 7px;
}

.motif--lg .motif__shoot--1 {
  height: 16px;
  left: 3px;
  bottom: 6px;
}

.motif--lg .motif__shoot--2 {
  height: 18px;
  left: 3px;
  bottom: 6px;
}

.motif--lg .motif__shoot--3 {
  height: 12px;
  left: 3px;
  bottom: 6px;
}

.text-accent {
  color: var(--terracotta);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--husk);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding-block: var(--space-4);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.nav a:not(.button) {
  font-size: 14px;
  text-decoration: none;
  color: var(--stone);
  transition: color 0.15s ease;
}

.nav a:not(.button):hover,
.nav a:not(.button):focus-visible {
  color: var(--bark);
}

.lang-switch {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone);
}

.lang-switch a {
  text-decoration: none;
  color: inherit;
}

.lang-switch a.is-active {
  color: var(--bark);
}

.lang-switch span {
  margin-inline: 6px;
  opacity: 0.4;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

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

.button--primary {
  background: var(--terracotta);
  color: var(--paper);
  border-color: var(--terracotta);
}

.button--primary:hover {
  background: var(--sienna);
  border-color: var(--sienna);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.button--secondary {
  background: transparent;
  color: var(--bark);
  border-color: var(--bark);
}

.button--secondary:hover {
  background: var(--linen);
}

.button--small {
  padding: 10px 18px;
  font-size: 14px;
}

.text-link {
  color: var(--bark);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration-color: var(--terracotta);
}

/* Typography */

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-4);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone);
}

.display {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-5);
  max-width: 14ch;
}

h1,
.h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 var(--space-4);
}

h2,
.h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 var(--space-4);
}

h3,
.h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 var(--space-3);
}

.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--stone);
  max-width: 38rem;
  margin: 0 0 var(--space-6);
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 var(--space-4);
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Hero actions (build + mission) */

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.hero-note {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: var(--linen);
  border: 1px solid var(--husk);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--stone);
  max-width: 42rem;
}

/* Launch banner */

.launch-banner {
  background: var(--linen);
  border-block: 1px solid var(--husk);
  padding-block: var(--space-4);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--bark);
}

.launch-banner strong {
  color: var(--terracotta);
}

/* Sections */

.section {
  padding-block: var(--space-8);
  position: relative;
}

.section--surface {
  background: var(--linen);
  border-block: 1px solid var(--husk);
}

.section--proof {
  padding-block: var(--space-9);
}

.section__content {
  max-width: 40rem;
}

.site--build .hero {
  padding-block: var(--space-8) var(--space-7);
}

.section__header--center {
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--space-7);
  max-width: 28rem;
}

.prose--lg {
  font-size: 18px;
}

.prose--lg p {
  color: var(--bark);
  line-height: 1.7;
}

/* Proof panel */

.proof-panel {
  position: relative;
  background: var(--linen);
  border: 1px solid var(--husk);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border-left: 3px solid var(--terracotta);
}

.proof-panel__text {
  margin: 0 0 var(--space-6);
  font-size: 18px;
  line-height: 1.7;
  color: var(--bark);
  max-width: 52rem;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: var(--space-5) 0 0;
  border-top: 1px solid var(--husk);
}

.proof-stats li {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.proof-stats__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--terracotta);
}

.proof-stats__label {
  font-size: 14px;
  line-height: 1.45;
  color: var(--stone);
}

.site--mission .section {
  padding-block: var(--space-9);
}

.section--tight {
  padding-block: var(--space-7);
}

.section__header {
  margin-bottom: var(--space-7);
  max-width: 36rem;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--husk);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-6);
  padding-top: calc(var(--space-6) + 12px);
}

.section--surface .card {
  background: var(--paper);
}

.card__mark {
  color: var(--terracotta);
  margin-bottom: var(--space-4);
}

.step-mark {
  width: 48px;
  height: 48px;
  display: block;
}

.card__step-num {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0;
}

/* Package cards */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.package-card {
  display: flex;
  flex-direction: column;
  background: var(--linen);
  border: 1px solid var(--husk);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-6);
}

.package-card__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 var(--space-2);
}

.package-card__for {
  font-size: 15px;
  color: var(--stone);
  margin: 0 0 var(--space-5);
  flex-grow: 0;
}

.package-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.price-struck {
  font-size: 15px;
  color: var(--stone);
  text-decoration: line-through;
}

.price-hero {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--bark);
}

.price-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(194, 91, 58, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
}

.package-list {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  flex-grow: 1;
}

.package-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--space-3);
  font-size: 15px;
}

.package-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

.package-card__footnote,
.package-card__guarantee {
  font-size: 14px;
  color: var(--stone);
  margin: 0 0 var(--space-4);
}

.package-card__guarantee {
  padding: var(--space-4);
  background: var(--paper);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--terracotta);
}

.package-card .button {
  width: 100%;
  margin-top: auto;
}

/* CTA band */

.cta-band {
  padding-block: var(--space-10);
  text-align: center;
}

.cta-band__inner {
  max-width: 36rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-8);
  border-radius: var(--radius-md);
  border: 1px solid var(--husk);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.cta-band .lead {
  margin-inline: auto;
  margin-bottom: 0;
}

.cta-band .button {
  margin-top: var(--space-2);
}

/* Contact */

.contact-block {
  padding: var(--space-7);
  background: var(--linen);
  border: 1px solid var(--husk);
  border-radius: var(--radius-md);
  max-width: 36rem;
}

/* Footer */

.site-footer {
  margin-top: auto;
  padding-block: var(--space-8);
  border-top: 1px solid var(--husk);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-6);
}

.footer-tagline {
  margin: var(--space-4) 0;
  color: var(--stone);
  font-size: 15px;
  max-width: 28rem;
}

.footer-entity {
  margin: 0 0 var(--space-3);
  font-size: 13px;
  color: var(--stone);
}

.footer-legal {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: 14px;
}

.footer-links a {
  text-decoration: none;
  color: var(--stone);
}

.footer-links a:hover {
  color: var(--bark);
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.pay-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--husk);
  border-radius: 4px;
  color: var(--stone);
  background: var(--linen);
}

.footer-bottom {
  font-size: 13px;
  color: var(--stone);
}

/* Shop (P24 stub) */

.site--shop {
  background: var(--paper);
}

.site--shop .inner-main {
  background: var(--paper);
}

.inner-wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}

.page-hero {
  margin-bottom: var(--space-7);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--bark);
}

.page-hero__note {
  margin: var(--space-3) 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--stone);
}

.catalog-category {
  margin-bottom: var(--space-8);
}

.catalog-category__title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--bark);
}

.motif--inline {
  flex-shrink: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
  align-items: stretch;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--space-6);
  background: var(--linen);
  border: 1px solid var(--husk);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.product-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 0;
}

.product-card__footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--husk);
}

.motif--card {
  width: 30px;
  height: 26px;
  margin-bottom: var(--space-1);
}

.motif--card .motif__node {
  width: 6px;
  height: 6px;
}

.motif--card .motif__shoot--1 {
  height: 14px;
  left: 2px;
  bottom: 5px;
}

.motif--card .motif__shoot--2 {
  height: 16px;
  left: 2px;
  bottom: 5px;
}

.motif--card .motif__shoot--3 {
  height: 11px;
  left: 2px;
  bottom: 5px;
}

.motif--card-cycle::after {
  content: "";
  position: absolute;
  top: 0;
  left: 11px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--terracotta);
  border-radius: 50%;
  background: transparent;
}

.product-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--bark);
}

.product-card__name a {
  color: inherit;
  text-decoration: none;
}

.product-card__name a:hover {
  color: var(--terracotta);
}

.product-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--stone);
}

.product-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bark);
}

.product-card__cta {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.product-card__cta:hover {
  background: var(--sienna);
  border-color: var(--sienna);
}

.product-detail {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}

.product-detail__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: var(--space-8);
  background: var(--linen);
  border: 1px solid var(--husk);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.product-detail__mark .motif--card {
  width: 56px;
  height: 48px;
  margin: 0;
}

.product-detail__mark .motif--card .motif__node {
  width: 10px;
  height: 10px;
}

.product-detail__mark .motif--card .motif__shoot--1 {
  height: 26px;
  left: 4px;
  bottom: 8px;
}

.product-detail__mark .motif--card .motif__shoot--2 {
  height: 30px;
  left: 4px;
  bottom: 8px;
}

.product-detail__mark .motif--card .motif__shoot--3 {
  height: 20px;
  left: 4px;
  bottom: 8px;
}

.product-detail__mark .motif--card-cycle::after {
  left: 20px;
  width: 8px;
  height: 8px;
}

.product-detail__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--bark);
}

.product-detail__desc {
  margin: var(--space-3) 0 var(--space-4);
  font-size: 16px;
  line-height: 1.65;
  color: var(--stone);
}

.product-detail .price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--bark);
  margin: var(--space-3) 0 0;
}

.meta-list {
  display: grid;
  gap: 0.35rem;
  margin: var(--space-4) 0;
  font-size: 15px;
  color: var(--stone);
}

.vat-notice {
  margin-top: var(--space-3);
  font-size: 13px;
  color: var(--stone);
}

.cart-lines {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
  display: grid;
  gap: var(--space-3);
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--paper);
  border: 1px solid var(--husk);
  border-radius: 8px;
}

.cart-summary {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  background: var(--linen);
  border: 1px solid var(--husk);
  border-radius: 8px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}

.cart-summary-total {
  padding-top: var(--space-2);
  border-top: 1px solid var(--husk);
  font-weight: 600;
}

.consent-box {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  color: var(--stone);
}

.consent-box a {
  color: var(--terracotta);
}

.checkout-grid {
  display: grid;
  gap: var(--space-5);
}

.checkout-fieldset {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  border: 1px solid var(--husk);
  border-radius: 8px;
}

.checkout-fieldset legend {
  padding: 0 var(--space-2);
  font-weight: 600;
}

.checkout-fieldset label {
  display: grid;
  gap: 0.35rem;
  font-size: 14px;
}

.checkout-fieldset input,
.checkout-fieldset textarea {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--husk);
  border-radius: 6px;
  font: inherit;
}

.info-box {
  padding: var(--space-4);
  background: var(--linen);
  border: 1px solid var(--husk);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone);
}

.info-box ul {
  margin: var(--space-3) 0 0;
  padding-left: 1.2rem;
}

.nav-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: var(--paper);
  background: var(--terracotta);
}

@media (min-width: 860px) {
  .product-detail {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .checkout-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Legal pages */

.inner-main {
  padding-block: var(--space-7) var(--space-9);
}

.legal-doc {
  max-width: 42rem;
}

.withdrawal-form {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--husk);
  border-radius: 8px;
  background: var(--paper);
}

.withdrawal-field {
  display: block;
  margin: var(--space-3) 0;
}

.withdrawal-field span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 14px;
  color: var(--stone);
}

.withdrawal-field input {
  width: 100%;
  padding: 0.5rem 0;
  border: none;
  border-bottom: 1px solid var(--husk);
  background: transparent;
  font: inherit;
}

.withdrawal-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-4);
}

.withdrawal-form-note {
  font-size: 14px;
  color: var(--muted);
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-top: var(--space-6);
}

.legal-doc p,
.legal-doc li {
  color: var(--stone);
}

/* Responsive */

@media (max-width: 768px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

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

  .hero {
    min-height: auto;
    padding-block: var(--space-8) var(--space-7);
  }

  .section-split {
    grid-template-columns: 1fr;
  }

  .section-split__figure {
    order: -1;
  }

  .help-buckets {
    grid-template-columns: 1fr;
  }

  .experience-band__content {
    margin-top: var(--space-5);
  }

  .proof-stats {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .section {
    padding-block: var(--space-7);
  }

  .site--mission .section {
    padding-block: var(--space-8);
  }
}

/* Headless store (Woo Store API) */

.header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  margin-right: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}

.header-cart:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.header-cart.has-items {
  border-color: var(--terracotta);
}

.header-cart-icon {
  display: block;
}

.header-cart-count {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
  color: var(--paper);
  background: var(--terracotta);
}

.nav-shop-dot::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.2rem;
  border-radius: 50%;
  background: var(--terracotta);
  vertical-align: super;
}

.catalog-grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 720px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.package-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: var(--space-4);
}

.product-card__cta .package-card__actions {
  width: 100%;
}

.store-cart-feedback {
  width: 100%;
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--stone);
}

.store-cart-feedback.is-error {
  color: #8b2e2e;
}

.checkout-payment-option {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-4);
}

.cart-leave-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.cart-leave-modal[hidden] {
  display: none;
}

.cart-leave-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 20, 0.45);
}

.cart-leave-modal-panel {
  position: relative;
  max-width: 28rem;
  margin: 12vh auto 0;
  padding: var(--space-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.cart-leave-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: var(--space-4);
}

.product-card__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.5rem;
  color: var(--terracotta);
}

.motif--card .motif__node {
  width: 0.55rem;
  height: 0.55rem;
}

.motif--card .motif__shoot {
  width: 1.4rem;
}
