/* ============================================================
   The Unrushed Mind — design system
   Palette: TUM brand (#dbd0c1 / #9da787 / #6c7061 / #9aa3ac / #2e2f28)
   Type: Marcellus (headings) · Archivo (body & labels) · Cormorant Garamond italic (accents)
   ============================================================ */

:root {
  --cream: #dbd0c1;
  --sage: #9da787;
  --olive: #6c7061;
  --greyblue: #9aa3ac;
  --ink: #2e2f28;

  --tone-0: #f2ede3;   /* cream tint — page base */
  --tone-1: #e9ebdf;   /* sage tint */
  --tone-2: #e6e9e8;   /* grey-blue tint */
  --tone-3: #ede6d8;   /* deeper warm cream */
  --tone-4: #e2e4d9;   /* sage-olive tint */

  --ink-2: #4c4e44;    /* softer body ink */
  --ink-3: #6d6f62;    /* muted ink */
  --paper: rgba(255, 253, 247, 0.55);
  --paper-strong: rgba(255, 253, 247, 0.72);
  --line: rgba(46, 47, 40, 0.14);
  --shadow: 0 24px 60px -28px rgba(46, 47, 40, 0.35);

  --font-head: 'Marcellus', 'Times New Roman', serif;
  --font-body: 'Archivo', -apple-system, 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  --wrap: 1160px;
  --gap: clamp(20px, 3vw, 40px);
  --sect: clamp(72px, 10vw, 128px);
  --radius: 28px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, picture { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: 0; }

/* ---------- background tone veil (scroll crossfade) ---------- */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--tone-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--tone-0);
  transition: background-color 1.4s ease;
}
body[data-tone="1"]::before { background: var(--tone-1); }
body[data-tone="2"]::before { background: var(--tone-2); }
body[data-tone="3"]::before { background: var(--tone-3); }
body[data-tone="4"]::before { background: var(--tone-4); }

/* ---------- typography ---------- */
h1, h2, h3, .h-style {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 0.55em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p { max-width: 62ch; }
p + p { margin-top: 1em; }

.label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive);
  display: inline-block;
  margin-bottom: 1.1rem;
}
.accent, blockquote {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}
.lead { font-size: clamp(1.13rem, 1.6vw, 1.3rem); line-height: 1.65; color: var(--ink-2); }

/* ---------- layout ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
section { padding-block: var(--sect); position: relative; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }

/* ---------- header ---------- */
.site-head {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background-color 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}
.site-head.is-solid {
  background: rgba(242, 237, 227, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.wordmark { text-decoration: none; line-height: 1; color: var(--ink); }
.wordmark .wm-the {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  margin-right: 0.35em;
  color: var(--olive);
}
.wordmark .wm-name {
  font-family: var(--font-head);
  font-size: 1.02rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
/* header over full-bleed imagery */
.site-head.on-dark .wordmark, .site-head.on-dark .nav a { color: #f4f1e9; }
.site-head.on-dark .wordmark .wm-the { color: var(--cream); }
.site-head.on-dark .nav-toggle span { background: #f4f1e9; }
.site-head.on-dark.is-solid .wordmark, .site-head.on-dark.is-solid .nav a { color: var(--ink); }
.site-head.on-dark.is-solid .wordmark .wm-the { color: var(--olive); }
.site-head.on-dark.is-solid .nav-toggle span { background: var(--ink); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  transition: color 0.25s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--sage); padding-bottom: 2px; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #f4f1e9;
  background: var(--ink);
  padding: 0.85em 1.7em;
  border-radius: 999px;
  transition: background-color 0.3s, transform 0.3s;
}
.btn:hover { background: var(--olive); transform: translateY(-2px); }
.btn.light { background: #f4f1e9; color: var(--ink); }
.btn.light:hover { background: #fff; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: #f4f1e9; }
.nav .btn { padding: 0.7em 1.4em; font-size: 0.88rem; }

.nav-toggle { display: none; width: 40px; height: 40px; position: relative; z-index: 60; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  margin: 5px auto; transition: transform 0.35s, opacity 0.3s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- full-bleed hero ---------- */
.hero-bleed {
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  padding: 0;
  position: relative;
  color: #f4f1e9;
}
.hero-bleed picture, .hero-bleed img.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-bleed img.hero-img { object-fit: cover; object-position: center 40%; }
.hero-bleed::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,47,40,0.28) 0%, rgba(46,47,40,0.05) 40%, rgba(46,47,40,0.45) 100%);
}
.hero-bleed .wrap { position: relative; z-index: 2; padding-block: clamp(90px, 14vh, 160px) clamp(56px, 8vh, 96px); }
.hero-bleed h1 { color: #fdfcf7; max-width: 12ch; }
.hero-bleed .lead { color: rgba(253, 252, 247, 0.92); max-width: 46ch; margin-top: 1.4rem; }
.hero-bleed .label { color: var(--cream); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.2rem; align-items: center; }
.hero-cta .textlink {
  color: #f4f1e9; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid rgba(244,241,233,0.6); padding-bottom: 2px;
}

/* ---------- frosted paper panels ---------- */
.soft {
  background: var(--paper);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.soft.strong { background: var(--paper-strong); }

/* ---------- split sections ---------- */
.split-text { grid-column: 1 / span 6; }
.split-media { grid-column: 8 / span 5; }
.split.rev .split-text { grid-column: 7 / span 6; order: 2; }
.split.rev .split-media { grid-column: 1 / span 5; order: 1; }

.arch {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.rounded { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.rounded img { width: 100%; height: 100%; object-fit: cover; }

/* floating credentials card over portrait */
.media-stack { position: relative; }
.float-card {
  position: absolute;
  left: -56px;
  bottom: 48px;
  padding: 20px 26px;
  max-width: 300px;
}
.float-card .sig-name { font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; }
.float-card .sig-role { font-size: 0.85rem; color: var(--ink-3); margin-top: 4px; line-height: 1.5; }

/* ---------- familiar list ---------- */
.familiar { list-style: none; margin-top: 2rem; }
.familiar li {
  padding: 1.15rem 0 1.15rem 2.4rem;
  border-top: 1px solid var(--line);
  position: relative;
  font-size: 1.1rem;
  color: var(--ink-2);
}
.familiar li::before {
  content: '';
  position: absolute;
  left: 0.4rem; top: 1.7rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sage);
}

/* ---------- method ---------- */
.method-list { margin-top: 2.5rem; }
.method-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--gap);
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.method-item .m-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--olive);
}
.method-item p { max-width: 58ch; }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 3rem; }
.card { padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; }
.card h3 { margin-bottom: 0.6em; }
.card p { font-size: 0.98rem; }
.card .more {
  margin-top: auto; padding-top: 1.4rem;
  font-weight: 600; font-size: 0.92rem; color: var(--ink); text-decoration: none;
}
.card .more:hover { color: var(--olive); }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 3rem; align-items: stretch; }
.price-card { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; position: relative; }
.price-card.featured { background: var(--paper-strong); border-color: rgba(255,255,255,0.9); }
.price-card .p-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--olive); color: #f4f1e9;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.45em 1.2em; border-radius: 999px; white-space: nowrap;
}
.price-card .p-name { font-family: var(--font-head); font-size: 1.35rem; color: var(--ink); }
.price-card .p-price { font-family: var(--font-head); font-size: clamp(2.4rem, 3.4vw, 3rem); color: var(--ink); margin: 0.35em 0 0.1em; }
.price-card .p-per { font-size: 0.9rem; color: var(--ink-3); margin-bottom: 1.2rem; }
.price-card p { font-size: 0.97rem; }
.price-card .p-save { margin-top: auto; padding-top: 1.3rem; font-weight: 600; font-size: 0.88rem; color: var(--olive); }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 3rem; }
.quote { padding: clamp(26px, 3vw, 40px); }
.quote blockquote { font-size: 1.28rem; line-height: 1.55; }
.quote cite {
  display: block; margin-top: 1.2rem;
  font-family: var(--font-body); font-style: normal; font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive);
}

/* ---------- steps ---------- */
.steps { margin-top: 2.5rem; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 1.5rem 0; border-top: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  font-size: 2rem; color: var(--sage);
  line-height: 1.1;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.step p { font-size: 0.99rem; }

/* ---------- pull quote / caveat ---------- */
.pull {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.45; color: var(--ink);
  max-width: 34ch;
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #f4f1e9; text-align: center; }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: rgba(46,47,40,0.55); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { color: #fdfcf7; }
.cta-band p { margin-inline: auto; color: rgba(253,252,247,0.92); }
.cta-band .hero-cta { justify-content: center; }
.cta-band.plain { background: var(--olive); }
.cta-band.plain::after { display: none; }

/* ---------- info rows (good to know) ---------- */
.rows { margin-top: 2rem; }
.row { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.row h3 { font-size: 1.12rem; margin-bottom: 0.35em; }
.row p { font-size: 0.99rem; }

/* ---------- credentials strip ---------- */
.creds { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.creds .label { margin-bottom: 1.4rem; }
.creds ul { list-style: none; display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; }
.creds img { height: 44px; width: auto; filter: saturate(0.9); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: rgba(244, 241, 233, 0.82); padding: clamp(56px, 8vw, 96px) 0 40px; }
.site-foot a { color: #f4f1e9; text-decoration: none; }
.site-foot a:hover { color: var(--cream); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--gap); align-items: start; }
.foot-brand img { width: 130px; height: auto; margin-bottom: 1.2rem; }
.foot-brand p { font-size: 0.92rem; max-width: 34ch; }
.foot-col h3 {
  font-family: var(--font-body); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.1rem;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 0.55rem; font-size: 0.95rem; }
.foot-legal {
  margin-top: 3.5rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(244, 241, 233, 0.16);
  font-size: 0.8rem; line-height: 1.7; color: rgba(244, 241, 233, 0.55);
}
.foot-legal p { max-width: none; }
.foot-legal p + p { margin-top: 0.8em; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -12px rgba(46,47,40,0.55);
  transition: transform 0.3s, background-color 0.3s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); background: var(--olive); }
.wa-float svg { width: 28px; height: 28px; fill: #f4f1e9; }

/* ---------- legal / prose pages ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose p, .prose li { font-size: 1.02rem; }
.prose ul { padding-left: 1.2em; margin-top: 0.8em; }
.prose li + li { margin-top: 0.4em; }
.page-head { padding-top: clamp(150px, 22vh, 220px); padding-bottom: clamp(30px, 5vh, 60px); }
.page-head h1 { max-width: 16ch; }
.page-head .lead { margin-top: 1.2rem; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .cards, .pricing { grid-template-columns: 1fr 1fr; }
  .split-text { grid-column: 1 / span 7; }
  .split-media { grid-column: 8 / span 5; }
  .float-card { left: -20px; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(242, 237, 227, 0.96);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    opacity: 0; pointer-events: none; transition: opacity 0.4s;
  }
  body.nav-open .nav { opacity: 1; pointer-events: auto; }
  .nav a { font-size: 1.3rem; color: var(--ink) !important; }
  .nav .btn { font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .split-text, .split-media, .split.rev .split-text, .split.rev .split-media { grid-column: 1 / -1; order: initial; }
  .split-media { margin-bottom: 2.2rem; }
  .cards, .pricing, .quotes { grid-template-columns: 1fr; }
  .method-item { grid-template-columns: 1fr; gap: 6px; }
  .float-card { position: static; margin-top: -60px; margin-inline: 20px; max-width: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-bleed { min-height: 78vh; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .wa-float, .nav a { transition: none; }
}


/* ================= phase-2 refinements ================= */

/* --- header: keep wordmark & toggle above the mobile overlay; release the
       backdrop-filter containing block while the menu is open (fixed .nav trap) --- */
.wordmark { position: relative; z-index: 60; }
body.nav-open .site-head {
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}

/* --- header CTA colour guard (specificity: nav state rules must not bleach the pill) --- */
.site-head .nav a.btn,
.site-head.on-dark .nav a.btn,
.site-head.on-dark.is-solid .nav a.btn { color: #f4f1e9; }
.site-head .nav a.btn:hover { background: var(--olive); color: #f4f1e9; }
@media (max-width: 860px) {
  .nav a.btn { color: #f4f1e9 !important; }
}

/* --- WhatsApp float in brand green --- */
.wa-float { background: #25d366; }
.wa-float:hover { background: #1eb85a; }

/* --- featured pricing card: ink-dark with sage tag (concept-3 contrast) --- */
.price-card.featured { background: rgba(46,47,40,0.94); border-color: rgba(255,255,255,0.10); }
.price-card.featured .p-name,
.price-card.featured .p-price { color: #f4f1e9; }
.price-card.featured .p-per { color: rgba(244,241,233,0.62); }
.price-card.featured p { color: rgba(244,241,233,0.78); }
.price-card.featured .p-save { color: var(--sage); }
.price-card.featured .p-tag { background: var(--sage); color: var(--ink); }
.price-card.featured .cardlink { color: #f4f1e9; border-bottom-color: rgba(244,241,233,0.55); }
.price-card.featured .cardlink:hover { color: var(--sage); border-bottom-color: var(--sage); }

/* --- per-card discovery-call link (plan-named mailto for attribution) --- */
.cardlink {
  margin-top: 1.1rem; align-self: flex-start;
  font-weight: 600; font-size: 0.92rem; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--olive); padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.cardlink:hover { color: var(--olive); border-bottom-color: var(--ink); }

/* --- Unrushed Method rows: hover response (marker swell, tint sweep, indent) --- */
.method-item { position: relative; border-radius: 18px; transition: background-color 0.5s ease, padding-left 0.5s ease; }
.method-item .m-name::before {
  content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage); margin-right: 12px;
  transition: transform 0.4s ease, background-color 0.4s ease;
}
.method-item:hover { background: rgba(157,167,135,0.13); padding-left: 20px; }
.method-item:hover .m-name::before { transform: scale(1.6); background: var(--olive); }

/* --- help triptych: gentle hover lift --- */
.card { transition: transform 0.5s ease, box-shadow 0.5s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -30px rgba(46,47,40,0.42); }

/* --- ATW visual interlude band --- */
.interlude { padding-block: 0; line-height: 0; }
.interlude svg { width: 100%; height: auto; display: block; }

/* --- reduced motion for the new behaviours --- */
@media (prefers-reduced-motion: reduce) {
  .method-item, .method-item .m-name::before, .card, .cardlink { transition: none; }
  .card:hover { transform: none; }
  .method-item:hover { padding-left: 0; }
}


/* --- split grid: pin both halves to one row on desktop (media-first DOM order
       was auto-placing the text column onto a second row, leaving a white void) --- */
.split > .split-text, .split > .split-media { grid-row: 1; }
@media (max-width: 860px) {
  .split > .split-text, .split > .split-media { grid-row: auto; }
}

/* --- hero headings: soft shadow for readability over bright imagery --- */
.hero-bleed h1 { text-shadow: 0 2px 28px rgba(30, 31, 26, 0.42); }


/* --- credentials: discrete text list (replaces the logo strip) --- */
.cred-list { margin-top: 2.8rem; }
.cred-list ul { list-style: none; margin-top: 1.1rem; }
.cred-list li {
  position: relative;
  padding: 0.42rem 0 0.42rem 1.25rem;
  font-size: 0.97rem; line-height: 1.55;
}
.cred-list li::before {
  content: ''; position: absolute; left: 0; top: 1.05em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--sage);
}
.cred-list li strong { font-weight: 600; color: var(--ink); }
.cred-list li span { color: var(--ink-3); }
