@font-face {
  font-family: "Outfit";
  src: url("/methode/_next/static/media/1b99372b3eaef0c8-s.p.0gx2haw2tmll8.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #faf9f7;
  --surface: #ffffff;
  --ink: #1c1c1c;
  --muted: #6a6864;
  --line: rgba(28, 28, 28, 0.12);
  --amber: #8a5a00;
  --amber-soft: #fff4dc;
  --blue: #244a66;
  --green: #3f6b5a;
  --red: #8a3f43;
  --violet: #65507d;
  --max: 960px;
  --reading: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 249, 247, 0.94);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0 1.25rem;
}

.brand {
  flex: 0 0 auto;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar,
.journey__inner::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(28, 28, 28, 0.06);
  color: var(--ink);
  transform: translateY(-1px);
}

.site-nav .language {
  margin-left: 0.35rem;
  border: 1px solid var(--line);
  color: var(--ink);
}

.journey {
  border-bottom: 1px solid var(--line);
  background: #f5f3ef;
}

.journey__inner {
  max-width: var(--reading);
  margin: 0 auto;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.7rem 1.25rem;
  scrollbar-width: none;
}

.journey a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 680;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.journey a:hover {
  background: rgba(28, 28, 28, 0.06);
  color: var(--ink);
  transform: translateY(-1px);
}

.journey a[aria-current="step"] {
  background: var(--ink);
  color: #fff;
}

main {
  min-height: calc(100vh - 140px);
}

.shell {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

.reading {
  width: min(calc(100% - 2.5rem), var(--reading));
  margin: 0 auto;
}

.hero {
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.hero--compact {
  padding-bottom: 3.25rem;
}

.eyebrow,
.section-label,
.step-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0.8rem 0 0;
  font-size: clamp(2.9rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero--compact h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.lead {
  max-width: 700px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  background: transparent;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: #fff;
}

.button--primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #343434;
  color: #fff;
}

.section {
  padding: 0 0 clamp(4.5rem, 9vw, 7rem);
}

.section + .section {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.section h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 720px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.timeline {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.timeline-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 1rem;
}

.timeline-rail {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.timeline-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 780;
}

.timeline-line {
  width: 1px;
  min-height: 34px;
  flex: 1;
  margin: 0.65rem 0;
  background: var(--line);
}

.timeline-content {
  padding: 0 0 2.3rem;
}

.timeline-content h3 {
  margin: 0.15rem 0 0;
  font-size: 1.4rem;
  line-height: 1.2;
}

.timeline-content > p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.tags {
  margin: 0.8rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.tag {
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.06);
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.05em;
}

.tag--amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.callout {
  margin-top: 1.2rem;
  border-left: 4px solid var(--amber);
  border-radius: 0 1rem 1rem 0;
  background: var(--amber-soft);
  padding: 1.05rem 1.2rem;
}

.callout p {
  margin: 0;
}

.callout p + p {
  margin-top: 0.45rem;
}

.callout a {
  color: #6d4600;
  font-weight: 720;
  text-underline-offset: 0.2em;
}

.resource-band,
.advanced-band {
  margin-top: 2rem;
  border-radius: 1.2rem;
  padding: clamp(1.4rem, 4vw, 2rem);
}

.resource-band {
  border: 1px solid var(--line);
  background: #fff;
}

.advanced-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #f7f2e8;
}

.advanced-band::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: #d6a650;
}

.resource-band h2,
.advanced-band h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1.18;
}

.resource-band p,
.advanced-band p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.advanced-band p {
  color: #d9d3c9;
}

.advanced-band .section-label {
  color: #e7bc6c;
}

.advanced-band .button {
  margin-top: 1.25rem;
  background: #f7f2e8;
  color: var(--ink);
}

.rosette-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: var(--line);
}

.posture-link {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  padding: clamp(1.25rem, 4vw, 2rem);
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.posture-link:hover,
.posture-link:focus-visible {
  z-index: 1;
  background: #fdfaf2;
  transform: translateY(-2px);
}

.posture-link__number {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.posture-link h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.035em;
}

.posture-link p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.posture-link__need {
  margin-bottom: 1.4rem;
  color: var(--ink);
  font-weight: 650;
}

.protocol-meta {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--line);
}

.protocol-meta > div {
  background: #fff;
  padding: 1rem 1.15rem;
}

.protocol-meta strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.protocol-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: protocol;
}

.protocol-step {
  counter-increment: protocol;
  padding: 1.7rem 0 2rem;
  border-top: 1px solid var(--line);
}

.protocol-step h3 {
  margin: 0;
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  font-size: 1.45rem;
}

.protocol-step h3::before {
  content: counter(protocol, decimal-leading-zero);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.protocol-step > p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.prompt {
  margin: 1rem 0 0;
  border-left: 3px solid var(--ink);
  background: #fff;
  padding: 1rem 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  line-height: 1.65;
}

.human-step {
  border-left-color: var(--amber);
  background: var(--amber-soft);
}

.outcome-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.outcome-grid > div {
  border-top: 3px solid var(--ink);
  background: #fff;
  padding: 1.1rem;
}

.outcome-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.outcome-grid p {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.rules {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rules;
}

.rule {
  counter-increment: rules;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}

.rule::before {
  content: counter(rules, decimal-leading-zero);
  color: var(--amber);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rule h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
}

.rule p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.rule ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}

.rule li + li {
  margin-top: 0.35rem;
}

.example-nav {
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.example-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 680;
  text-decoration: none;
}

.example {
  padding: 3.3rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 150px;
}

.example:first-of-type {
  border-top: 0;
}

.example-header {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 1rem;
}

.example-number {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.12em;
}

.example h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.example h3 {
  margin: 0.55rem 0 0;
  font-size: 1.35rem;
}

.example-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.5rem;
}

.example-grid h4 {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.example-grid p {
  margin: 0.4rem 0 1.15rem;
}

.delegation-phase {
  margin: 2.4rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  color: var(--amber);
  font-weight: 760;
}

.delegation-phase span {
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.official-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.official-links a {
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem;
  color: var(--muted);
  text-align: center;
}

.back-row {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.back-row a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 680;
  text-decoration: none;
}

.back-row a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

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

@media (max-width: 760px) {
  .site-header__inner {
    min-height: auto;
    display: block;
    padding-top: 0.75rem;
    padding-bottom: 0.6rem;
  }

  .brand {
    display: block;
    padding: 0 0.2rem 0.4rem;
  }

  .site-nav {
    margin: 0 -0.25rem;
  }

  .rosette-grid,
  .protocol-meta,
  .outcome-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .posture-link {
    min-height: 190px;
  }

  .example-header {
    grid-template-columns: 48px minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .shell,
  .reading {
    width: min(calc(100% - 2rem), var(--reading));
  }

  .hero {
    padding-top: 3.8rem;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .rule {
    grid-template-columns: 36px minmax(0, 1fr);
  }
}

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

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

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}
