/* Semantic Systems — calm premium marketing */
:root {
  --bg: #F6F1E8;
  --bg-alt: #EFE8DC;
  --bg-quiet: #E8E0D2;
  --ink: #1C1915;
  --ink-soft: #4A453C;
  --muted: #6E675C;
  --line: #D4CBB8;
  --accent: #2F4A3A;
  --accent-hover: #243A2D;
  --accent-soft: #DCE6DF;
  --hundred: #8B4518;
  --radius: 12px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --narrow: 680px;
  --space: clamp(1.25rem, 4vw, 2rem);
}

/* Dark mode */
[data-theme="dark"] {
  --bg: #141210;
  --bg-alt: #1C1915;
  --bg-quiet: #25211C;
  --ink: #F3EEE4;
  --ink-soft: #C9C0B0;
  --muted: #9A917F;
  --line: #3A342C;
  --accent: #8FBF9F;
  --accent-hover: #B0D4BC;
  --accent-soft: #24352B;
  --hundred: #D4A574;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dos"]) {
    --bg: #141210;
    --bg-alt: #1C1915;
    --bg-quiet: #25211C;
    --ink: #F3EEE4;
    --ink-soft: #C9C0B0;
    --muted: #9A917F;
    --line: #3A342C;
    --accent: #8FBF9F;
    --accent-hover: #B0D4BC;
    --accent-soft: #24352B;
    --hundred: #D4A574;
    color-scheme: dark;
  }
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
}
.theme-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink-soft);
  border-radius: 999px;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.theme-btn:hover {
  color: var(--ink);
  border-color: var(--muted);
}
.theme-btn .icon-sun { display: none; }
.theme-btn .icon-moon { display: inline; }
[data-theme="dark"] .theme-btn .icon-sun { display: inline; }
[data-theme="dark"] .theme-btn .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .icon-sun { display: inline; }
  :root:not([data-theme="light"]) .theme-btn .icon-moon { display: none; }
}



/* 80s DOS / Atari hacker terminal */
[data-theme="dos"] {
  --bg: #000800;
  --bg-alt: #001400;
  --bg-quiet: #002000;
  --ink: #33ff66;
  --ink-soft: #22cc55;
  --muted: #1a9933;
  --line: #146628;
  --accent: #66ff99;
  --accent-hover: #99ffbb;
  --accent-soft: #003311;
  --hundred: #ffff33;
  --radius: 0;
  --font-display: "IBM Plex Mono", "Courier New", Courier, monospace;
  --font-body: "IBM Plex Mono", "Courier New", Courier, monospace;
  color-scheme: dark;
}

[data-theme="dos"] body {
  letter-spacing: 0.02em;
  line-height: 1.55;
  text-shadow: 0 0 4px rgba(51, 255, 102, 0.35);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.18) 2px,
      rgba(0, 0, 0, 0.18) 4px
    );
  background-attachment: fixed;
}

[data-theme="dos"] .site-header {
  background: rgba(0, 8, 0, 0.92);
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: none;
}

[data-theme="dos"] .logo-text::before {
  content: "> ";
  opacity: 0.7;
}

[data-theme="dos"] .btn {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  box-shadow: none;
}

[data-theme="dos"] .btn-primary {
  background: var(--ink);
  color: #000800;
  border: 2px solid var(--ink);
}

[data-theme="dos"] .btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

[data-theme="dos"] .btn-ghost {
  border: 1px dashed var(--line);
  background: transparent;
}

[data-theme="dos"] .card,
[data-theme="dos"] .hh-card,
[data-theme="dos"] .offer-card,
[data-theme="dos"] .phil-card {
  border-radius: 0;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  box-shadow: inset 0 0 0 1px rgba(51, 255, 102, 0.08);
}

[data-theme="dos"] .hero h1::after {
  content: "█";
  margin-left: 0.15em;
  animation: dos-blink 1.05s step-end infinite;
  font-weight: 400;
}

@keyframes dos-blink {
  50% { opacity: 0; }
}

[data-theme="dos"] .eyebrow::before {
  content: "[SYS] ";
}

[data-theme="dos"] .section-label::before {
  content: "// ";
}

[data-theme="dos"] a {
  text-decoration: underline;
  text-decoration-style: dashed;
}

[data-theme="dos"] .lang-btn.is-active {
  background: var(--ink);
  color: #000800;
}

[data-theme="dos"] .lang-toggle,
[data-theme="dos"] .theme-btn {
  border-radius: 0;
  border-color: var(--line);
  background: var(--bg-alt);
}

.theme-btn .icon-dos { display: none; }
[data-theme="dos"] .theme-btn .icon-sun { display: none !important; }
[data-theme="dos"] .theme-btn .icon-moon { display: none !important; }
[data-theme="dos"] .theme-btn .icon-dos { display: inline; }


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--accent-hover); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4rem;
  padding-block: 0.65rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  font-size: 1.15rem;
  color: var(--accent);
  line-height: 1;
}
.logo-text { font-size: 0.95rem; }

.nav {
  display: none;
  gap: 1.35rem;
  margin-left: auto;
  margin-right: 1rem;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav a:hover { color: var(--ink); }

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-left: auto;
  background: var(--bg);
}
.nav + .lang-toggle { margin-left: 0; }

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}
.lang-btn.is-active {
  background: var(--accent);
  color: var(--bg);
}
.lang-btn:focus-visible { outline-offset: -2px; }

@media (min-width: 860px) {
  .nav { display: flex; }
  .lang-toggle { margin-left: 0; }
}

/* Hero */
.hero {
  padding: clamp(3.5rem, 12vw, 7.5rem) 0 clamp(3rem, 8vw, 5.5rem);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 820px; }

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.15rem, 6.2vw, 3.65rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
  color: var(--ink);
  max-width: 18ch;
}

.lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 42rem;
  margin: 0 0 2rem;
}
.lede-sm { font-size: 1.1rem; margin-bottom: 1.75rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 9vw, 6rem) 0;
}
.section-alt { background: var(--bg-alt); }
.section-quiet {
  background: var(--bg-quiet);
  border-block: 1px solid var(--line);
}
.section-cta {
  text-align: center;
  padding-bottom: clamp(4rem, 10vw, 7rem);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.section h2,
.section-title-wide {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.section-intro {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 40rem;
  margin: 0 0 2.25rem;
}

.prose p {
  color: var(--ink-soft);
  margin: 0 0 1.15rem;
  font-size: 1.08rem;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

/* Cards — Head & Hands */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.card-icon {
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0 0 0.65rem;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.hh-note {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.hh-note a {
  margin-left: 0.35rem;
  font-weight: 600;
  white-space: nowrap;
}

/* 100× */
.section-hundred {
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--hundred) 8%, transparent), transparent 70%),
    var(--bg);
  border-block: 1px solid var(--line);
}
.section-hundred .section-label { color: var(--hundred); }
.hundred-mark {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--hundred);
  margin: 0.25rem 0 0.75rem;
}
.hundred-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 1.5rem;
  color: var(--ink);
}
.section-hundred .prose { text-align: left; }

/* Practice list */
.practice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.practice-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
  .practice-list li {
    grid-template-columns: minmax(10rem, 14rem) 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}
.practice-list strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
}
.practice-list span { color: var(--ink-soft); }

/* Offerings pills */
.split-pills {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 560px) {
  .split-pills { grid-template-columns: 1fr 1fr; }
}
.pill {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.pill h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}
.pill p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Quiet contemplative */
.quiet-body {
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin: 0 0 1.5rem;
  max-width: 38rem;
}
.text-link {
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1em;
}
.text-link:hover { color: var(--accent-hover); }

/* CTA */
.cta-email {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.cta-email a {
  color: var(--muted);
  text-decoration: none;
}
.cta-email a:hover { color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--ink);
}
.footer-tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  margin-top: 0.5rem;
}
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
