/* ---------------------------------------------
   Tokens
--------------------------------------------- */
:root {
  /* warm ivory / soft sage / soft charcoal / deep sage / muted clay */
  --parchment: #F6F2E8;
  --parchment-deep: #E2E7D9;
  --ink: var(--moss-deep);
  --ink-soft: #4A4844;
  --moss: #6B7A5E;
  --moss-deep: #4F5C45;
  /* darkened from the original #B27A5B / #9C6248 so button text (parchment)
     clears WCAG AA 4.5:1 - see contrast audit */
  --clay: #8F5840;
  --clay-deep: #7E4C36;

  /* reserved for the Method section's alarm-to-growth gradient */
  --ember: #B5533C;
  --clay-rose: #D9B8A3;
  --gold: #C9A24B;
  --stage-release: #A66B4F;
  --stage-align: #7C8566;
  /* gold variants for text use, where the base --gold fails contrast in
     each direction (light bg vs dark bg) */
  --gold-on-light: #8C6626;
  --gold-on-dark: #E8CE8F;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --max-width: 1120px;
  --max-width-narrow: 800px;
  --radius: 3px;
}

/* ---------------------------------------------
   Base
--------------------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink);
  background: var(--parchment);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--moss-deep);
}

.tm {
  font-size: 0.55em;
  vertical-align: super;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: var(--max-width-narrow);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss-deep);
  margin: 0 0 1em;
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

/* ---------------------------------------------
   Header
--------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 242, 232, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(79, 92, 69, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-dash {
  color: var(--clay);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--moss-deep);
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: 8px 16px;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--parchment) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

/* ---------------------------------------------
   Buttons
--------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--clay);
  color: var(--parchment);
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: var(--clay-deep);
}

/* ---------------------------------------------
   Hero + breathing signature
--------------------------------------------- */
.hero {
  position: relative;
  padding: 130px 0 110px;
  overflow: hidden;
  text-align: center;
}

.breath-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.breath-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  filter: blur(50px);
  opacity: 0.55;
}

.breath-shape--1 {
  width: 520px;
  height: 480px;
  margin: -240px 0 0 -420px;
  background: var(--clay-rose);
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
}

.breath-shape--2 {
  width: 460px;
  height: 500px;
  margin: -250px 0 0 -20px;
  background: var(--moss);
  opacity: 0.35;
  border-radius: 60% 40% 38% 62% / 55% 40% 60% 45%;
}

.breath-shape--3 {
  width: 340px;
  height: 340px;
  margin: -170px 0 0 60px;
  background: var(--gold);
  opacity: 0.25;
  border-radius: 50% 50% 42% 58% / 58% 42% 58% 42%;
}

@media (prefers-reduced-motion: no-preference) {
  .breath-shape--1 {
    animation: breathe 11s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  }
  .breath-shape--2 {
    animation: breathe 11s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: -1.5s;
  }
  .breath-shape--3 {
    animation: breathe 11s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    animation-delay: -3.2s;
  }
}

@keyframes breathe {
  0%, 100% { transform: scale(0.92); }
  50% { transform: scale(1.06); }
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem);
  font-weight: 400;
  text-transform: lowercase;
  line-height: 1.25;
  max-width: 820px;
  margin: 0 auto 28px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ---------------------------------------------
   Sections
--------------------------------------------- */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--parchment-deep);
}

.section h2 {
  margin-bottom: 0.6em;
}

.section-header {
  max-width: var(--max-width-narrow);
  /* explicit offset (not auto-centering) so this lines up exactly with the
     text columns in Story/Recognition/Contact and the method-item grid */
  margin: 0 0 56px calc((var(--max-width) - var(--max-width-narrow)) / 2);
}

/* Recognition */
.recognition-quote {
  display: block;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 0.5;
  color: var(--clay);
  opacity: 0.35;
  margin: 0 0 0.1em -0.05em;
}

.recognition-line {
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.recognition-line--emphasis {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

/* Story */
.story-part {
  margin: 44px 0 24px;
}

.story-part .eyebrow {
  margin-bottom: 0.5em;
}

.story-part h3 {
  margin: 0;
}

.story-lede::first-letter {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 600;
  color: var(--moss-deep);
  float: left;
  line-height: 0.78;
  padding-right: 0.09em;
  margin-top: 0.03em;
}

.story-emphasis {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  border-left: 3px solid var(--moss-deep);
  padding-left: 22px;
  margin: 36px 0;
}

.credentials {
  font-size: 0.95rem;
  color: var(--moss-deep);
  border-top: 1px solid rgba(79, 92, 69, 0.15);
  padding-top: 20px;
  margin-top: 28px;
}

/* Method */
.method-section {
  position: relative;
  overflow: hidden;
}

.method-watermark {
  position: absolute;
  top: 110px;
  left: 0;
  right: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(6rem, 17vw, 15rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--moss);
  opacity: 0.14;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.method-section > .container {
  position: relative;
  z-index: 1;
}

.section-intro {
  max-width: calc(var(--max-width-narrow) - 48px);
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 56px;
}

.method-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.method-line {
  position: absolute;
  top: 68px;
  bottom: 68px;
  left: 31px;
  width: 2px;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    var(--ember),
    var(--stage-release),
    var(--gold-on-light),
    var(--stage-align),
    var(--moss-deep)
  );
}

.method-item {
  --stage-color: var(--ember);
  display: grid;
  /* first column matches the offset between the wide and narrow containers,
     so the text column below lines up with Story/Recognition/Contact exactly */
  grid-template-columns: calc((var(--max-width) - var(--max-width-narrow)) / 2) 1fr;
  align-items: start;
  padding: 36px 0;
}

/* nth-of-type, not nth-child: .method-line is a non-li sibling before these
   list items, which shifted nth-child selectors off by one */
.method-item:nth-of-type(1) { --stage-color: var(--ember); }
.method-item:nth-of-type(2) { --stage-color: var(--stage-release); }
.method-item:nth-of-type(3) { --stage-color: var(--gold-on-light); }
.method-item:nth-of-type(4) { --stage-color: var(--stage-align); }
.method-item:nth-of-type(5) { --stage-color: var(--moss-deep); }

.method-node {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--parchment);
  border: 2px solid var(--stage-color);
}

.method-letter {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--stage-color);
  line-height: 1;
}

.method-copy {
  padding-top: 14px;
}

.method-copy h3 {
  margin-bottom: 0.3em;
}

.method-copy p {
  color: var(--ink-soft);
  margin: 0;
  /* matches the text width used by Story/Recognition/Contact exactly */
  max-width: calc(var(--max-width-narrow) - 48px);
}

/* Offerings */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--parchment);
  border: 1px solid rgba(79, 92, 69, 0.15);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--ink-soft);
  margin: 0;
}

.card-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* declared after the generic .card rules above so these reliably win
   despite equal selector specificity */
.card--signature {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--parchment);
}

.card--signature h3 {
  color: var(--parchment);
}

.card--signature p {
  color: rgba(246, 242, 232, 0.82);
}

.card--signature .card-label {
  color: var(--gold-on-dark);
}

.offerings-cta {
  text-align: center;
  margin-top: 56px;
}

.offerings-cta p {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

/* Contact */
.contact-intro {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: calc(var(--max-width-narrow) - 48px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 540px;
  gap: 6px;
  margin-top: 32px;
}

.contact-form label {
  font-weight: 600;
  margin-top: 16px;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid rgba(79, 92, 69, 0.25);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--parchment);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--moss-deep);
}

.contact-form button {
  margin-top: 22px;
  align-self: flex-start;
}

.form-note {
  color: var(--moss-deep);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.form-note:empty {
  display: none;
}

/* ---------------------------------------------
   Footer
--------------------------------------------- */
.site-footer {
  padding: 40px 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.85rem;
  border-top: 1px solid rgba(79, 92, 69, 0.15);
}

.footer-disclaimer {
  max-width: 560px;
  margin: 0 auto 16px;
}

/* ---------------------------------------------
   Scroll reveal
--------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------------------------------------------
   Mobile
--------------------------------------------- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--parchment);
    border-bottom: 1px solid rgba(79, 92, 69, 0.15);
    padding: 20px 24px;
    display: none;
    gap: 18px;
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 90px 0 70px;
  }

  .section {
    padding: 64px 0;
  }

  .method-item {
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding: 28px 0;
  }

  .method-node {
    width: 48px;
    height: 48px;
  }

  .method-letter {
    font-size: 1.2rem;
  }

  .method-copy {
    padding-top: 6px;
  }

  .method-line {
    top: 52px;
    bottom: 52px;
    left: 23px;
  }
}
