/* Self-hosted variable fonts (subset: latin) */
/* Fraunces italic (latin, variable) */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/fraunces-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fraunces normal (latin, variable) */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('/fonts/fraunces-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lora italic (latin, variable) */
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/lora-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lora normal (latin, variable) */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/fonts/lora-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Michelle — Jungian & Depth Psychotherapy
   Design: Warm vellum base, deep forest accent, typographic
   hierarchy with Cormorant Garamond (display) + Inter (body)
   
   COLOR REDESIGN — Jung's Four Psychological Primaries:
   Red   — Eros / action / vitality (primary accent)
   Blue  — Logos / contemplation / depth (secondary)
   Yellow — Sun / consciousness / warmth (tertiary)
   Green — Nature / growth / harmony (supporting)
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Colors — Jung's Four Psychological Primaries */
  --bg: #F8F5F0;           /* warm vellum base — yellow tinted */
  --surface: #EFE9E0;      /* raised surface — slightly deeper vellum */
  
  /* Ink — deep charcoal */
  --ink: #2B2B2B;          /* deep charcoal — not pure black */
  --ink-muted: #5F5F5B;    /* secondary text */
  
  /* Jung's Four Primaries */
  --red: #C44536;           /* eros — action, vitality, passion */
  --red-quiet: #A83A2E;     /* muted red for hover/active */
  --red-light: #F0DDD7;     /* pale red for subtle highlights */
  
  --blue: #4A6FA5;          /* logos — contemplation, depth, intellect */
  --blue-quiet: #3D5C8A;    /* muted blue */
  --blue-light: #D6E2F0;    /* pale blue */
  
  --yellow: #D4A843;        /* sun — consciousness, warmth, clarity */
  --yellow-quiet: #B8903A;  /* muted yellow */
  --yellow-light: #F5ECD6;  /* pale yellow */
  
  --green: #2D5A3D;         /* nature — growth, harmony, renewal */
  --green-quiet: #3A6F4F;   /* muted green */
  --green-light: #D4E8DC;   /* pale green */
  
  /* Status tokens mapped to primaries */
  --status-ok: #2D5A3D;     /* green — growth/integration */
  --status-warn: #B8903A;   /* yellow — caution/clarity */
  --status-error: #C44536;  /* red — shadow/transformation */

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;

  /* Type scale — ~1.25 ratio */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 2.75rem;
  --text-6xl: 3.5rem;

  /* Spacing — token scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border radius — small, consistent */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Motion — deliberate timing */
  --motion-fast: 120ms;
  --motion-base: 200ms;
  --motion-slow: 400ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);

  /* Max width */
  --container-max: 1100px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* The native cursor is hidden only while the fire-cursor canvas is
   running (class set by main.js); otherwise the default cursor stays. */
body.fire-cursor, body.fire-cursor * {
  cursor: none !important;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  /* Subtle noise texture on the background */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-4);
  color: var(--ink-muted);
  line-height: 1.7;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color var(--motion-fast) var(--ease-out);
}

a:hover {
  color: var(--red-quiet);
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  text-decoration: none;
}

.logo:hover {
  color: var(--red);
}

.logo-mark {
  font-size: var(--text-lg);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

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

.main-nav a {
  color: var(--ink-muted);
  font-size: var(--text-sm);
  font-weight: 400;
  text-decoration: none;
  transition: color var(--motion-fast) var(--ease-out);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
}

.nav-cta {
  margin-left: var(--space-2);
  color: var(--red) !important;
  font-weight: 500;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  transition: border-color var(--motion-fast) var(--ease-out);
}

.nav-cta:hover {
  border-color: var(--red-quiet);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: all var(--motion-base) var(--ease-out);
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  background-image: url('/images/web/jung-hero.webp');
  background-size: cover;
  background-position: right center;
  min-height: 580px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  padding-top: var(--space-32);
  padding-bottom: var(--space-32);
  align-items: center;
  min-height: 580px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg) 0%,
    var(--bg) 30%,
    color-mix(in srgb, var(--bg) 82%, transparent) 50%,
    color-mix(in srgb, var(--bg) 22%, transparent) 72%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  max-width: 550px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
}

.hero h1 {
  font-size: var(--text-6xl);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.mandala-placeholder {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid var(--blue-quiet);
  background:
    radial-gradient(circle at 30% 30%, var(--yellow-light) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, var(--green-light) 0%, transparent 50%);
  opacity: 0.6;
}

.mandala-img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
  mix-blend-mode: multiply;
  display: block;
}

.about-portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-md);
  display: block;
  filter: grayscale(18%) contrast(1.04);
}

.about-portrait--large {
  aspect-ratio: 4/5;
}

.alchemical-aside {
  position: relative;
  margin: var(--space-16) auto;
  max-width: 420px;
  text-align: center;
}

.alchemical-aside img {
  width: 100%;
  border-radius: var(--radius-sm);
  opacity: 0.88;
  mix-blend-mode: multiply;
  display: block;
}

.alchemical-aside::after {
  content: '';
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  background-image: url('/images/web/medieval-frame.webp');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}

.alchemical-aside figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--ink-quiet);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* --- Page Hero --- */
.page-hero {
  padding: var(--space-24) 0 var(--space-16);
  text-align: center;
}

.page-hero--about {
  background: var(--surface);
  padding: var(--space-20) 0 var(--space-16);
}

.page-hero--blue {
  background: var(--surface);
  padding: var(--space-20) 0 var(--space-16);
}

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

.page-hero .hero-subtitle {
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* --- About Preview --- */
.about-preview {
  position: relative;
  background-image: url('/images/web/about-portrait.webp');
  background-size: cover;
  background-position: 20% center;
  min-height: 500px;
}

.about-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    color-mix(in srgb, var(--bg) 12%, transparent) 0%,
    color-mix(in srgb, var(--bg) 40%, transparent) 35%,
    color-mix(in srgb, var(--bg) 82%, transparent) 52%,
    var(--bg) 68%,
    var(--bg) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.about-preview .container {
  position: relative;
  z-index: 1;
}

.about-preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-24) 0;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.about-image-placeholder--large {
  aspect-ratio: 4/5;
}

.about-text h2 {
  margin-bottom: var(--space-4);
}

/* --- Services Preview --- */
.services-preview {
  position: relative;
  overflow: hidden;
  padding: var(--space-24) 0;
  background: var(--surface);
}

.services-preview > * {
  position: relative;
  z-index: 1;
}

.services-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/web/splendor-rebis.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.services-preview > .container > h2 {
  text-align: center;
  margin-bottom: var(--space-16);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.service-card {
  padding: var(--space-8);
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--motion-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 200px 200px;
  opacity: 0;
  transition: opacity 0.5s ease, filter 0.5s ease;
}

.service-card:hover::before {
  opacity: 0.5;
  filter: drop-shadow(0 0 10px rgba(212, 168, 67, 0.9)) drop-shadow(0 0 24px rgba(212, 168, 67, 0.5));
}

.service-card--therapy::before {
  background-image: url('/images/web/ouroboros.svg');
}

.service-card--dreams::before {
  background-image: url('/images/web/luna.svg');
}

.service-card--imagination::before {
  background-image: url('/images/web/lapis.svg');
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--motion-base) var(--ease-out);
}

.service-card:hover::after {
  opacity: 0.16;
}

.service-card--therapy::after {
  background-image: url('/images/web/coniunctio.webp');
  background-position: center 30%;
}

.service-card--dreams::after {
  background-image: url('/images/web/splendor-sun.webp');
  background-position: center 20%;
}

.service-card--imagination::after {
  background-image: url('/images/web/mandala.webp');
  background-position: center center;
}

.service-card:hover {
  border-color: rgba(212, 168, 67, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(212, 168, 67, 0.18), 0 8px 32px rgba(0,0,0,0.08);
}

.service-icon {
  font-size: var(--text-3xl);
  color: var(--red);
  margin-bottom: var(--space-4);
}

.service-icon svg {
  display: block;
  width: 46px;
  height: 46px;
}

.service-full-header .service-icon svg {
  width: 54px;
  height: 54px;
  margin-bottom: 0;
}

.service-card h3 {
  margin-bottom: var(--space-2);
}

.service-card h3 {
  font-size: var(--text-2xl);
}

/* --- Philosophy Quote --- */
.philosophy-quote {
  position: relative;
  overflow: hidden;
  padding: var(--space-24) 0;
  background: #0a0e14;
  color: white;
}

.philosophy-quote > * {
  position: relative;
  z-index: 1;
}

.philosophy-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/web/ink-dark.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.philosophy-quote blockquote {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-style: italic;
  line-height: 1.4;
  color: white;
}

.philosophy-quote cite {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
}

/* --- Testimonials --- */
.testimonials {
  padding: var(--space-24) 0;
}

.testimonials > .container > h2 {
  text-align: center;
  margin-bottom: var(--space-16);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.testimonial-card {
  padding: var(--space-8);
  background: var(--surface);
  border-radius: var(--radius-md);
  border-left: 2px solid var(--green);
}

.testimonial-card p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
}

.testimonial-author {
  margin-top: var(--space-4);
}

.testimonial-author p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--ink-muted);
}

/* --- CTA --- */
.cta {
  padding: var(--space-24) 0;
  background: var(--surface);
  text-align: center;
}

.cta h2 {
  margin-bottom: var(--space-4);
}

.cta p {
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-8);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--motion-base) var(--ease-out);
}

.btn-primary {
  background: var(--red);
  color: white;
}

.btn-primary:hover {
  background: var(--red-quiet);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
}

.btn-secondary:hover {
  background: var(--red);
  color: white;
  transform: translateY(-1px);
}

/* --- Link arrow --- */
.link-arrow {
  display: inline-block;
  margin-top: var(--space-4);
  color: var(--red);
  font-size: var(--text-sm);
  font-weight: 500;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
  transition: border-color var(--motion-fast) var(--ease-out);
}

.link-arrow:hover {
  border-color: var(--red-quiet);
  color: var(--red-quiet);
}

/* --- Full Services --- */
.services-full {
  padding: var(--space-24) 0;
}

.service-full-card {
  padding: var(--space-12);
  margin-bottom: var(--space-8);
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.service-full-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.service-full-header .service-icon {
  font-size: var(--text-4xl);
  color: var(--red);
  margin-bottom: 0;
  line-height: 0;
}

.service-full-header h2 {
  font-size: var(--text-3xl);
}

.service-full-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.meta-item {
  margin-bottom: var(--space-4);
}

.meta-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: var(--space-1);
}

.meta-value {
  font-size: var(--text-base);
  color: var(--ink);
}

/* --- Pricing --- */
.pricing {
  padding: var(--space-24) 0;
  background: var(--bg);
}

.pricing > .container > h2 {
  text-align: center;
  margin-bottom: var(--space-16);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.pricing-card {
  text-align: center;
  padding: var(--space-8);
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.pricing-card h3 {
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--yellow);
  margin-bottom: var(--space-1);
}

.pricing-detail {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.pricing-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* --- About Content --- */
.about-content {
  padding: var(--space-24) 0;
}

.about-content--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.about-text p {
  font-size: var(--text-lg);
}

/* --- Credentials --- */
.credentials {
  padding: var(--space-24) 0;
  background: var(--surface);
}

.credentials > .container > h2 {
  text-align: center;
  margin-bottom: var(--space-16);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.credential-item h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
  color: var(--blue);
}

.credential-item ul {
  list-style: none;
  padding: 0;
}

.credential-item li {
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.credential-item li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--green);
}

/* --- Personal Philosophy --- */
.personal-philosophy {
  padding: var(--space-24) 0;
}

.philosophy-split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.philosophy-text p {
  font-size: var(--text-lg);
  line-height: 1.7;
}

.philosophy-quote blockquote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
}

.philosophy-quote cite {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--ink-muted);
}

/* --- Philosophy Content --- */
.philosophy-content {
  padding: var(--space-24) 0;
}

.philosophy-content--centered {
  max-width: 780px;
}

.philosophy-chapter {
  margin-bottom: var(--space-12);
}

.philosophy-chapter h2 {
  margin-bottom: var(--space-4);
  font-size: var(--text-3xl);
}

.philosophy-chapter p {
  font-size: var(--text-lg);
  line-height: 1.7;
}

/* --- FAQ --- */
.faq-content {
  padding: var(--space-24) 0;
}

.faq-content--centered {
  max-width: 780px;
}

.faq-item {
  margin-bottom: var(--space-8);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: var(--space-8);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.faq-item p {
  font-size: var(--text-base);
}

/* --- Contact --- */
.contact-content {
  padding: var(--space-24) 0;
}

.contact-content--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
}

.contact-info h2 {
  margin-bottom: var(--space-8);
}

.contact-item {
  margin-bottom: var(--space-6);
}

.contact-item h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
  color: var(--ink);
}

.contact-item p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

.contact-item a {
  color: var(--red);
  font-size: var(--text-lg);
}

/* --- Form --- */
.contact-form {
  padding: var(--space-8);
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.contact-form h2 {
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-1);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--motion-fast) var(--ease-out);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-group textarea {
  resize: vertical;
}

/* --- Video Intro --- */
.video-intro {
  padding: var(--space-24) 0;
  background: var(--surface);
  text-align: center;
}

.video-intro h2 {
  margin-bottom: var(--space-8);
}

.video-placeholder {
  max-width: 780px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

/* --- Blog List --- */
.blog-list {
  padding: var(--space-24) 0;
}

.blog-post-card {
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,0,0,0.05);
}

.blog-post-meta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

.blog-post-date {
  font-size: var(--text-xs);
  color: var(--ink-muted);
}

.blog-post-category {
  font-size: var(--text-xs);
  color: var(--yellow);
  font-weight: 500;
}

.blog-post-card h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.blog-post-card p {
  font-size: var(--text-base);
  margin-bottom: 0;
}

/* --- Footer --- */
.site-footer {
  padding: var(--space-16) 0 var(--space-8);
  background: var(--surface);
  border-top: 1px solid rgba(0,0,0,0.05);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-brand .logo-mark {
  font-size: var(--text-lg);
  color: var(--red);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.footer-brand .logo-mark svg {
  width: 20px;
  height: 20px;
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--ink);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin-bottom: 0;
}

.footer-nav h4,
.footer-blog h4,
.footer-contact h4 {
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--ink);
}

.footer-nav a,
.footer-blog a,
.footer-contact a {
  display: block;
  color: var(--ink-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
  text-decoration: none;
  transition: color var(--motion-fast) var(--ease-out);
}

.footer-nav a:hover,
.footer-blog a:hover,
.footer-contact a:hover {
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: var(--space-6);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .hero {
    min-height: 440px;
    background-position: 85% center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
    min-height: 440px;
  }

  .hero-visual {
    display: none;
  }

  .hero h1 {
    font-size: var(--text-4xl);
  }

  .hero-actions {
    flex-direction: column;
  }

  .about-preview-content,
  .about-content--split,
  .service-full-split,
  .philosophy-split,
  .contact-content--split {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .testimonials-grid,
  .pricing-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
  }

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

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

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

/* ============================================================
   BANNER / ADMONITION COMPONENTS
   For blog posts, service descriptions, and callout sections
   
   Colored according to Jung's Four Primaries:
   Red (eros/action) — danger, transformation
   Blue (logos/depth) — info, contemplation
   Yellow (sun/clarity) — warning, insight
   Green (nature/growth) — success, integration
   ============================================================ */

/* Banner/admonition types: info, warning, success, danger, question */
.admonition {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
  border-radius: var(--radius-md);
  border-left: 3px solid;
  font-size: var(--text-sm);
  line-height: 1.6;
  position: relative;
}

/* Info — blue (contemplation, depth) */
.admonition--info {
  background: #E8F0F4;
  border-left-color: var(--blue);
  color: #1A4A5E;
}

.admonition--info .admonition-header,
.admonition--info .admonition-icon {
  color: var(--blue);
}

/* Warning — yellow (clarity, caution) */
.admonition--warning {
  background: #F7F0E6;
  border-left-color: var(--yellow);
  color: #5C4D2A;
}

.admonition--warning .admonition-header,
.admonition--warning .admonition-icon {
  color: var(--yellow-quiet);
}

/* Success — green (growth, integration) */
.admonition--success {
  background: #E8F2E9;
  border-left-color: var(--green);
  color: #1A3A2A;
}

.admonition--success .admonition-header,
.admonition--success .admonition-icon {
  color: var(--green);
}

/* Danger — red (shadow, transformation) */
.admonition--danger {
  background: #F4E8E8;
  border-left-color: var(--red);
  color: #4A2222;
}

.admonition--danger .admonition-header,
.admonition--danger .admonition-icon {
  color: var(--red);
}

/* Question — deep purple (mystery, depth) */
.admonition--question {
  background: #EDE8F4;
  border-left-color: #5A3A8B;
  color: #3A2A5A;
}

.admonition--question .admonition-header,
.admonition--question .admonition-icon {
  color: #5A3A8B;
}

/* Admonition header with icon */
.admonition-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 500;
  margin-bottom: var(--space-1);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admonition-header svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.admonition-body {
  margin-left: 0;
  margin-top: 0;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: inherit;
}

.admonition-body p {
  margin-bottom: 0;
  color: inherit;
}

/* Left icon-rail — holds the Jungian mark, tinted per type */
.admonition-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-top: 1px;
}

.admonition-icon svg {
  width: 30px;
  height: 30px;
}

.admonition-content {
  flex: 1;
  min-width: 0;
}

/* --- BANNER COMPONENT --- */
.banner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-8);
  border-radius: var(--radius-md);
  background: var(--red);
  color: white;
}

.banner--alt {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.05);
}

.banner--warning {
  background: #F7F0E6;
  color: #5C4D2A;
  border: 1px solid rgba(184,149,58,0.2);
}

.banner--info {
  background: #E8F0F4;
  color: #1A4A5E;
  border: 1px solid rgba(42,111,143,0.15);
}

/* Banner variants for each primary */
.banner--red {
  background: var(--red);
  color: white;
}

.banner--blue {
  background: var(--blue);
  color: white;
}

.banner--yellow {
  background: var(--yellow);
  color: #3A2E10;
}

.banner--green {
  background: var(--green);
  color: white;
}

.banner-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.banner--alt .banner-icon,
.banner--warning .banner-icon,
.banner--info .banner-icon {
  background: rgba(0,0,0,0.05);
}

.banner-icon svg {
  width: 18px;
  height: 18px;
}

.banner-content {
  flex: 1;
}

.banner-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-1);
  color: inherit;
}

.banner-text {
  font-size: var(--text-sm);
  color: inherit;
  opacity: 0.85;
  margin-bottom: 0;
}

/* --- ICON CATALOG (for reference) --- */
.icon-catalog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--surface);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-8);
}

.icon-catalog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  transition: background var(--motion-fast) var(--ease-out);
}

.icon-catalog-item:hover {
  background: rgba(0,0,0,0.03);
}

.icon-catalog-item svg {
  width: 24px;
  height: 24px;
  color: var(--ink-muted);
  transition: color var(--motion-fast) var(--ease-out);
}

.icon-catalog-item:hover svg {
  color: var(--red);
}

.icon-catalog-item .icon-name {
  font-size: var(--text-xs);
  color: var(--ink-muted);
  text-align: center;
}

/* --- INLINE ICON (for use within text) --- */
.icon-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

.icon-inline svg {
  width: 100%;
  height: 100%;
}

/* --- LISTS WITH ICONS --- */
.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.icon-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .admonition {
    padding: var(--space-3) var(--space-4);
  }

  .banner {
    flex-direction: column;
    text-align: center;
    padding: var(--space-4) var(--space-6);
  }

  .banner-icon {
    width: 28px;
    height: 28px;
  }

  .banner-title {
    font-size: var(--text-lg);
  }

  .icon-catalog {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card {
    transform: none !important;
  }

  .btn-primary:hover {
    transform: none !important;
  }

  .icon-tile {
    transition: none;
  }

  .icon-tile:hover {
    transform: none;
  }
}

/* ============================================================
   JUNGIAN ICON CATALOG — pages/icons
   A reference surface for the custom mark set. Each group is
   labelled by its place in the system; each tile carries the
   symbol, its name, and the meaning it encodes.
   ============================================================ */
.icon-page-section {
  margin-bottom: var(--space-20);
}

.icon-page-section:last-child {
  margin-bottom: 0;
}

.icon-section-head {
  margin-bottom: var(--space-8);
  max-width: 60ch;
}

.icon-section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: var(--space-2);
}

.icon-section-head h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.icon-section-head p {
  font-size: var(--text-base);
  margin-bottom: 0;
}

/* The grid of marks */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--space-4);
}

.icon-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-md);
  transition: border-color var(--motion-base) var(--ease-out),
              transform var(--motion-base) var(--ease-out);
}

.icon-tile:hover {
  border-color: rgba(0,0,0,0.16);
  transform: translateY(-2px);
}

.icon-tile-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--ink);
}

.icon-tile-mark svg {
  width: 46px;
  height: 46px;
}

/* Semantic tints so each mark reads in its own register */
.icon-tile-mark--info { color: var(--blue); }
.icon-tile-mark--warning { color: var(--yellow-quiet); }
.icon-tile-mark--success { color: var(--green); }
.icon-tile-mark--danger { color: var(--red); }
.icon-tile-mark--question { color: #5A3A8B; }
.icon-tile-mark--eros { color: var(--red); }
.icon-tile-mark--logos { color: var(--blue); }
.icon-tile-mark--sun { color: var(--yellow-quiet); }
.icon-tile-mark--nature { color: var(--green); }

.icon-tile-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
}

.icon-tile-file {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-muted);
  opacity: 0.7;
}

.icon-tile-meaning {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Admonitions-in-context column on the catalog */
.icon-admonition-demo {
  margin-top: var(--space-8);
}

@media (max-width: 768px) {
  .icon-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .icon-page-section {
    margin-bottom: var(--space-16);
  }
}

/* ============================================================
   BACKGROUND IMAGERY — incorporated source plates
   forest-dark (philosophy hero) · haeckel botanical (home
   divider) · jung documentary photo (about) · alchemical
   rainbow backs the archetype wheel (see ARCHETYPE WHEEL block)
   ============================================================ */

/* --- Philosophy hero over the dark wood (back2) --- */
.page-hero--forest {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image: url('/images/web/forest-dark.webp');
  background-size: cover;
  background-position: center 38%;
  padding: var(--space-32) 0 var(--space-24);
}

.page-hero--forest::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 20, 0.58) 0%,
    rgba(10, 14, 20, 0.40) 45%,
    rgba(10, 14, 20, 0.74) 100%
  );
}

.page-hero--forest .hero-eyebrow {
  color: var(--yellow);
}

.page-hero--forest h1 {
  color: #F6F1E8;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.page-hero--forest .hero-subtitle {
  color: rgba(246, 241, 232, 0.84);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* --- Antique-framed photographs (frame baked into the image) --- */
.framed-figure {
  margin: 0;
}

.framed-img {
  display: block;
  width: 100%;
  height: auto;
  /* drop-shadow follows the aged-paper silhouette and lifts it off the vellum */
  filter: drop-shadow(0 16px 32px rgba(20, 14, 8, 0.20));
}

.framed-figure--cameo {
  max-width: 430px;
  margin: 0 auto;
}

.framed-figure--plate {
  max-width: 280px;
  margin: 0 auto;
}

.framed-figure figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: center;
}

/* Balance the About intro: centre the cameo against the text column */
.about-content--split {
  align-items: center;
}

/* "On the Work": text + quote on the left, framed plate aside on the right */
.philosophy-split--media {
  align-items: center;
}

.philosophy-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Inline quote decoupled from the dark .philosophy-quote section styling */
.inline-quote {
  margin-top: var(--space-8);
  padding-left: var(--space-6);
  border-left: 2px solid var(--yellow);
}

.inline-quote p {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: var(--space-2);
}

.inline-quote cite {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  color: var(--ink-muted);
}

/* --- "Living psyche" botanical divider on home (back1) --- */
.psyche-divider {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--space-24) 0;
  text-align: center;
  background-image: url('/images/web/haeckel-botanical.webp');
  background-size: cover;
  background-position: center 42%;
  background-attachment: fixed;
}

.psyche-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bg) 82%, transparent) 0%,
    color-mix(in srgb, var(--bg) 62%, transparent) 50%,
    color-mix(in srgb, var(--bg) 84%, transparent) 100%
  );
}

.psyche-divider blockquote p {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
  max-width: 760px;
  margin: 0 auto var(--space-3);
  text-shadow: 0 1px 2px rgba(248, 245, 240, 0.7);
}

.psyche-divider cite {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: normal;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

@media (max-width: 768px) {
  .psyche-divider {
    background-attachment: scroll;
    padding: var(--space-16) 0;
  }

  .psyche-divider blockquote p {
    font-size: var(--text-2xl);
  }

  .page-hero--forest {
    padding: var(--space-24) 0 var(--space-16);
  }

  .framed-figure--cameo {
    max-width: 340px;
  }

  .framed-figure--plate {
    max-width: 240px;
  }

  .philosophy-aside {
    margin-top: var(--space-8);
  }
}


/* ============================================================
   Archetype Wheel — scoped component styles.
   Every selector is namespaced under .archetype-wheel so it
   cannot collide with the rest of the site. No font links,
   no :root, no global resets.
   ============================================================ */

/* ---- section shell (background image is applied separately by the site) ---- */
.archetype-wheel-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.archetype-wheel-section > .container {
  position: relative;
  z-index: 1;
}

/* ---- component root ---- */
.archetype-wheel {
  --aw-vellum: #F8F5F0;
  --aw-surface: #EFE9E0;
  --aw-ink: #2B2B2B;
  --aw-ink-muted: #5F5F5B;
  --aw-gold: 212, 168, 67;
  --aw-gold-solid: #b8923a;
  --aw-rule: rgba(43, 43, 43, 0.13);
  --aw-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color: var(--aw-ink);
  font-family: 'Lora', Georgia, serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- heading block ---- */
.archetype-wheel .aw-head {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}
.archetype-wheel .aw-eyebrow {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--aw-gold-solid);
  margin: 0 0 0.6em;
}
.archetype-wheel .aw-head h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 4.4vw, 2.7rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--aw-ink);
}
.archetype-wheel .aw-head h2 em {
  font-style: italic;
  color: var(--aw-gold-solid);
  font-weight: 400;
}
.archetype-wheel .aw-head p {
  margin: 0 auto;
  font-size: clamp(0.95rem, 1.7vw, 1.05rem);
  color: var(--aw-ink-muted);
}

/* ---- stage layout ---- */
.archetype-wheel .aw-stage {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.5vw, 48px);
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

/* ---- wheel ---- */
.archetype-wheel .aw-wheel-wrap {
  flex: 1 1 480px;
  max-width: 600px;
  min-width: 300px;
  position: relative;
  aspect-ratio: 1 / 1;
  /* pan-y: a vertical finger-swipe always scrolls the page on touch devices;
     drag-to-rotate is mouse/pen only (handled in JS). */
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.archetype-wheel .aw-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  touch-action: pan-y;
}
.archetype-wheel .aw-svg.aw-dragging .aw-petal { transition: none; }

.archetype-wheel .aw-petal {
  stroke: rgba(40, 28, 8, 0.30);
  stroke-width: 1;
  transition: opacity 0.3s var(--aw-ease), filter 0.34s var(--aw-ease),
              stroke 0.3s var(--aw-ease);
}
.archetype-wheel .aw-svg.aw-has-active .aw-seg:not(.is-active) .aw-petal { opacity: 0.45; }
.archetype-wheel .aw-seg.is-active .aw-petal {
  filter: url(#aw-glow-gold);
  stroke: rgba(var(--aw-gold), 0.95);
  stroke-width: 2;
}

.archetype-wheel .aw-drive-band {
  transition: opacity 0.3s var(--aw-ease), fill 0.3s var(--aw-ease);
}
.archetype-wheel .aw-svg.aw-has-active .aw-drive:not(.is-active) .aw-drive-band { opacity: 0.55; }
.archetype-wheel .aw-drive.is-active .aw-drive-band { filter: url(#aw-glow-soft); }

.archetype-wheel .aw-desire-band {
  transition: opacity 0.3s var(--aw-ease);
}
.archetype-wheel .aw-svg.aw-has-active .aw-desire-cell:not(.is-active) .aw-desire-band { opacity: 0.4; }

/* ---- labels (fixed layer) ---- */
.archetype-wheel .aw-name-label {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  fill: #fbf4e6;
  letter-spacing: 0.4px;
  paint-order: stroke;
  stroke: rgba(34, 24, 8, 0.55);
  stroke-width: 0.6px;
  pointer-events: none;
  user-select: none;
  transition: fill 0.3s var(--aw-ease), opacity 0.3s var(--aw-ease);
}
.archetype-wheel .aw-svg.aw-has-active .aw-name-label:not(.is-active) { opacity: 0.5; }
.archetype-wheel .aw-name-label.is-active { fill: #fffaf0; }

.archetype-wheel .aw-desire-label {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 2px;
  fill: rgba(251, 246, 236, 0.82);
  pointer-events: none;
  user-select: none;
}
.archetype-wheel .aw-drive-label {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  fill: #fbf6ec;
  pointer-events: none;
  user-select: none;
}

/* ---- HTML hit layer (accessible radiogroup) ---- */
.archetype-wheel .aw-hits {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 4;
}
.archetype-wheel .aw-wedge {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
}
.archetype-wheel .aw-wedge:focus { outline: none; }
.archetype-wheel .aw-wedge:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(var(--aw-gold), 0.85);
  border-radius: 50%;
}

/* ---- center medallion (HTML overlay) ---- */
.archetype-wheel .aw-medallion {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 33%;
  max-width: 232px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7%;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}
.archetype-wheel .aw-med-drive {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.58rem, 1.4vw, 0.7rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(var(--aw-gold), 1);
  margin: 0 0 0.45em;
}
.archetype-wheel .aw-med-motto {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 3vw, 1.5rem);
  line-height: 1.14;
  color: #fbf3e2;
  margin: 0;
  text-wrap: balance;
}
.archetype-wheel .aw-med-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(0.72rem, 1.7vw, 0.92rem);
  letter-spacing: 0.03em;
  color: rgba(var(--aw-gold), 1);
  margin: 0.55em 0 0;
}
.archetype-wheel .aw-med-alt {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.6rem, 1.4vw, 0.72rem);
  color: rgba(243, 234, 215, 0.62);
  margin: 0.15em 0 0;
}
.archetype-wheel .aw-med-default {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.66rem, 1.5vw, 0.82rem);
  line-height: 1.32;
  color: rgba(243, 234, 215, 0.74);
}
.archetype-wheel .aw-med-default strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: normal;
  font-weight: 500;
  font-size: 1.18em;
  color: rgba(var(--aw-gold), 1);
  margin-bottom: 0.4em;
  letter-spacing: 0.01em;
}

/* ---- detail panel ---- */
.archetype-wheel .aw-panel {
  flex: 1 1 320px;
  max-width: 400px;
  min-width: 280px;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--aw-rule);
  border-radius: 14px;
  padding: clamp(20px, 2.6vw, 30px);
  position: relative;
  box-shadow: 0 18px 44px -28px rgba(60, 44, 20, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.36s var(--aw-ease), transform 0.42s var(--aw-ease);
}
.archetype-wheel .aw-panel.aw-revealed { opacity: 1; transform: translateX(0); }
.archetype-wheel.aw-narrow .aw-panel { transform: translateY(20px); }
.archetype-wheel.aw-narrow .aw-panel.aw-revealed { transform: translateY(0); }

.archetype-wheel .aw-panel::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(var(--aw-gold), 0.28);
  border-radius: 9px;
  pointer-events: none;
}
.archetype-wheel .aw-panel-head {
  display: flex;
  align-items: center;
  gap: 0.55em;
  flex-wrap: wrap;
}
.archetype-wheel .aw-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px var(--aw-rule);
  flex: none;
  transition: background 0.3s var(--aw-ease);
}
.archetype-wheel .aw-p-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0;
  color: #3a2a08;
  transition: color 0.2s var(--aw-ease);
}
.archetype-wheel .aw-panel--default .aw-p-name { color: var(--aw-ink); }
.archetype-wheel .aw-p-alt {
  font-style: italic;
  color: var(--aw-ink-muted);
  font-size: 0.95rem;
  margin: 0.15em 0 0;
}
.archetype-wheel .aw-p-drive {
  display: inline-block;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6a4f12;
  background: rgba(var(--aw-gold), 0.16);
  border: 1px solid rgba(var(--aw-gold), 0.34);
  padding: 0.28em 0.7em;
  border-radius: 999px;
  margin: 0.75em 0 1em;
}
.archetype-wheel .aw-p-motto {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.16rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--aw-ink);
  border-left: 2px solid rgba(var(--aw-gold), 0.55);
  padding-left: 0.8em;
  margin: 0 0 1.1em;
}
.archetype-wheel .aw-p-motto::before { content: "\201C"; color: var(--aw-gold-solid); }
.archetype-wheel .aw-p-motto::after  { content: "\201D"; color: var(--aw-gold-solid); }

.archetype-wheel .aw-attrs {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1em;
  row-gap: 0.6em;
}
.archetype-wheel .aw-attrs dt {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  color: var(--aw-gold-solid);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 0.06em;
  white-space: nowrap;
}
.archetype-wheel .aw-attrs dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--aw-ink);
}
.archetype-wheel .aw-attrs dd.aw-shadow { color: #8a3f33; }
.archetype-wheel .aw-attrs .aw-rule {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--aw-rule);
  margin: 0.16em 0;
}

.archetype-wheel .aw-hint {
  margin-top: 1.15em;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--aw-ink-muted);
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-wrap: wrap;
}
.archetype-wheel .aw-hint kbd {
  font-family: 'Lora', Georgia, serif;
  font-style: normal;
  border: 1px solid var(--aw-rule);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 0.05em 0.45em;
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.6);
  color: var(--aw-ink);
}

.archetype-wheel .aw-sr-live {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* ---- responsive ---- */
@media (max-width: 860px) {
  .archetype-wheel .aw-panel { max-width: 540px; }
}

/* ---- motion guard (CSS); JS also checks reduceMotion ---- */
@media (prefers-reduced-motion: reduce) {
  .archetype-wheel *,
  .archetype-wheel *::before,
  .archetype-wheel *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
  .archetype-wheel .aw-cauda { display: none; }
}

/* ============================================================
   ARCHETYPE WHEEL — back3 alchemical-rainbow plate backdrop
   (the wheel component styles are scoped above under .archetype-wheel)
   ============================================================ */
.archetype-wheel-section {
  isolation: isolate;
}

.archetype-wheel-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/images/web/alchemical-rainbow.webp');
  background-size: cover;
  background-position: center 38%;
  opacity: 0.12;
  pointer-events: none;
}

/* ============================================================
   FIX — homepage philosophy quote sits on a dark ink plate.
   Its <p>/<cite> were inheriting the muted dark body color
   (cascade clash with the now-removed About inline quote),
   rendering near-invisible. Force light text on the dark band.
   ============================================================ */
.philosophy-quote blockquote p {
  color: #FBF8F2;
}

.philosophy-quote cite {
  color: rgba(251, 248, 242, 0.72);
}

/* Archetype wheel — hit-layer rotates with the rotor (set in JS); pin its origin */
.archetype-wheel .aw-hits {
  transform-origin: 50% 50%;
}

/* ============================================================
   MOBILE NAVIGATION — illuminated ink overlay
   Overlay is generated by main.js from the header links. The
   vellum header stays above it, so the hamburger closes it in
   place (morphing into an X).
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-24) var(--space-8) var(--space-12);
  background: #0a0e14;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease-out), visibility 0s linear 320ms;
  overflow: hidden;
}

/* ink-wash texture */
.mobile-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/web/ink-dark.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  pointer-events: none;
}

/* faint mandala ring, slowly turning, anchored off the corner */
.mobile-nav::after {
  content: '';
  position: absolute;
  right: -28vw;
  bottom: -28vw;
  width: 72vw;
  height: 72vw;
  border: 1px dashed rgba(212, 168, 67, 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 26px rgba(10, 14, 20, 0),
              inset 0 0 60px rgba(212, 168, 67, 0.05);
  outline: 1px solid rgba(212, 168, 67, 0.10);
  outline-offset: -34px;
  animation: mnav-turn 90s linear infinite;
  pointer-events: none;
}

@keyframes mnav-turn {
  to { transform: rotate(360deg); }
}

.mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 380ms var(--ease-out);
}

/* keep the vellum header (and its toggle) above the ink */
body.nav-open .site-header {
  z-index: 300;
}

body.nav-open {
  overflow: hidden;
}

/* --- links --- */
.mnav-links {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
}

.mobile-nav .mnav-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8.5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #F6F1E8;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-1) 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out),
              color 160ms var(--ease-out);
}

.mobile-nav .mnav-link:hover,
.mobile-nav .mnav-link:focus-visible {
  color: var(--yellow);
}

.mnav-num {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-sm);
  color: rgba(212, 168, 67, 0.85);
  letter-spacing: 0.08em;
  min-width: 2.1em;
}

/* staggered reveal */
.mobile-nav.is-open .mnav-link { opacity: 1; transform: translateY(0); }
.mobile-nav.is-open .mnav-link:nth-child(1) { transition-delay: 90ms; }
.mobile-nav.is-open .mnav-link:nth-child(2) { transition-delay: 150ms; }
.mobile-nav.is-open .mnav-link:nth-child(3) { transition-delay: 210ms; }
.mobile-nav.is-open .mnav-link:nth-child(4) { transition-delay: 270ms; }
.mobile-nav.is-open .mnav-link:nth-child(5) { transition-delay: 330ms; }

/* --- CTA beneath a hairline rule --- */
.mobile-nav .mnav-cta {
  margin-top: var(--space-6);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--yellow);
  text-decoration: none;
  border: 1px solid rgba(212, 168, 67, 0.55);
  border-radius: var(--radius-md);
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms var(--ease-out) 400ms, transform 420ms var(--ease-out) 400ms,
              background 160ms var(--ease-out), color 160ms var(--ease-out);
}

.mobile-nav .mnav-cta::before {
  content: '';
  position: absolute;
  top: calc(-1 * var(--space-4));
  left: 0;
  width: 4rem;
  height: 1px;
  background: linear-gradient(to right, rgba(212, 168, 67, 0.7), transparent);
}

.mobile-nav .mnav-cta:hover,
.mobile-nav .mnav-cta:focus-visible {
  background: rgba(212, 168, 67, 0.14);
  color: #F6F1E8;
}

.mobile-nav.is-open .mnav-cta { opacity: 1; transform: translateY(0); }

/* --- tail line --- */
.mnav-tail {
  position: relative;
  margin: var(--space-10) auto 0;
  max-width: var(--container-max);
  width: 100%;
  font-size: var(--text-xs);
  font-style: italic;
  letter-spacing: 0.06em;
  color: rgba(246, 241, 232, 0.45);
  opacity: 0;
  transition: opacity 500ms var(--ease-out) 480ms;
}

.mobile-nav.is-open .mnav-tail { opacity: 1; }

/* --- hamburger morphs to a close mark --- */
.nav-toggle span {
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* desktop never sees the overlay */
@media (min-width: 769px) {
  .mobile-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .mobile-nav .mnav-link,
  .mobile-nav .mnav-cta,
  .mnav-tail {
    transition: none !important;
  }

  .mobile-nav::after {
    animation: none !important;
  }
}

/* ============================================================
   SERVICES PAGE — plate washes behind the four service cards.
   All source artwork is public domain:
   · therapy      — Splendor Solis, Jupiter flask (BL Harley 3469, 1582)
   · dreams       — Mutus Liber plate 1, the dreamer & the angel ladder
                    (La Rochelle 1677, Library of Congress scan)
   · imagination  — Aurora consurgens, sun–moon battle
                    (Zürich ZB Ms. Rh. 172, 15th c.)
   · individuation — Splendor Solis, the Philosophical Tree
   ============================================================ */
.service-full-card {
  position: relative;
  overflow: hidden;
}

.service-full-card > * {
  position: relative;
  z-index: 1;
}

.service-full-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0.09;
}

.service-full-card--therapy::after {
  background-image: url('/images/web/serv-flask.webp');
  background-position: right 68%;
}

.service-full-card--dreams::after {
  background-image: url('/images/web/serv-mutus.webp');
  background-position: right 30%;
  opacity: 0.16;                    /* engraving on paper: multiply lets the */
  mix-blend-mode: multiply;         /* line art sink into the vellum surface */
}

.service-full-card--imagination::after {
  background-image: url('/images/web/serv-aurora.webp');
  background-position: center 35%;
}

.service-full-card--individuation::after {
  background-image: url('/images/web/serv-tree.webp');
  background-position: right 25%;
}

/* Services hero — Splendor Solis winged rebis with the mirror-shield
   (BL Harley 3469, 1582, public domain): "a different doorway". */
.page-hero--services {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero--services::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('/images/web/serv-hero.webp');
  background-size: cover;
  background-position: center 32%;
  opacity: 0.17;
  pointer-events: none;
}

/* ============================================================
   DESIGN REFINEMENT PASS
   eyebrows · illuminated headings · drop caps · testimonials
   peacock · FAQ quaestiones · contact form · focus & selection
   · scroll reveal · colophon
   ============================================================ */

/* --- Eyebrows: from mono/blue to manuscript bronze --- */
.hero-eyebrow {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-sm);
  text-transform: none;
  letter-spacing: 0.14em;
  color: #876726;
}

/* --- Illuminated section headings: gold hairline + diamond --- */
.services-preview > .container > h2,
.testimonials > .container > h2,
.pricing > .container > h2,
.credentials > .container > h2,
.next-steps > .container > h2,
.cta h2 {
  position: relative;
  padding-bottom: var(--space-5);
}

.services-preview > .container > h2::after,
.testimonials > .container > h2::after,
.pricing > .container > h2::after,
.credentials > .container > h2::after,
.next-steps > .container > h2::after,
.cta h2::after {
  content: '◆';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: rgba(212, 168, 67, 0.9);
  /* hairline through the diamond */
  background:
    linear-gradient(to right, transparent, rgba(212, 168, 67, 0.55) 20%, rgba(212, 168, 67, 0.55) 80%, transparent) center / 72px 1px no-repeat;
  padding: 0 42px;
  line-height: 1;
}

.next-steps > .container > h2 {
  text-align: center;
  margin-bottom: var(--space-16);
}

/* --- Pricing amounts: bronze for real contrast (was gold, ~1.8:1) --- */
.pricing-amount {
  color: #876726;
}

/* --- Drop caps: philosophy chapters & service card openings --- */
.philosophy-chapter > p:first-of-type::first-letter,
.service-full-text > p:first-child::first-letter {
  font-family: var(--font-display);
  font-weight: 500;
  float: left;
  font-size: 3.15em;
  line-height: 0.82;
  padding: 0.06em 0.12em 0 0;
  color: var(--red);
}

/* --- Testimonials: three voices over the cauda pavonis --- */
.testimonials {
  position: relative;
  overflow: hidden;
}

.testimonials > * {
  position: relative;
  z-index: 1;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/images/web/splendor-peacock.webp');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
  background: rgba(239, 233, 224, 0.82);
}

.testimonial-card p {
  hanging-punctuation: first;
}

/* --- FAQ: quaestiones as an accordion --- */
.faq-content--centered {
  counter-reset: quaestio;
}

details.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: var(--space-2) 0;
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  padding: var(--space-4) 0;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary::before {
  counter-increment: quaestio;
  content: counter(quaestio, upper-roman) ".";
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-sm);
  color: #876726;
  min-width: 2.4em;
  letter-spacing: 0.06em;
}

details.faq-item summary h3 {
  flex: 1;
  margin: 0;
  transition: color var(--motion-fast) var(--ease-out);
}

details.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: rgba(135, 103, 38, 0.75);
  transition: transform var(--motion-base) var(--ease-out);
  line-height: 1;
}

details.faq-item[open] summary::after {
  transform: rotate(45deg);
}

details.faq-item summary:hover h3 {
  color: var(--red);
}

details.faq-item .faq-answer {
  padding: 0 0 var(--space-5) calc(2.4em + var(--space-3));
}

/* --- Contact: the manuscript form --- */
.contact-form {
  position: relative;
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}

.contact-form::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: calc(var(--radius-md) - 4px);
  pointer-events: none;
}

.contact-form > * {
  position: relative;
}

.form-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin: var(--space-4) 0 0;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
}

.form-status.is-ok {
  display: block;
  background: var(--green-light);
  color: var(--green);
  border-left: 2px solid var(--green);
}

.form-status.is-error {
  display: block;
  background: var(--red-light);
  color: var(--red-quiet);
  border-left: 2px solid var(--red);
}

.form-confidential {
  margin: var(--space-4) 0 0;
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--ink-muted);
}

/* --- What Happens Next --- */
.next-steps {
  padding: var(--space-24) 0;
  background: var(--surface);
}

.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.next-step-num {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--text-lg);
  color: #876726;
  margin-bottom: var(--space-3);
}

.next-step h3 {
  margin-bottom: var(--space-2);
  font-size: var(--text-xl);
}

/* --- Focus, selection, skip link --- */
:focus-visible {
  outline: 2px solid rgba(212, 168, 67, 0.95);
  outline-offset: 2px;
}

::selection {
  background: rgba(212, 168, 67, 0.35);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 400;
  padding: var(--space-3) var(--space-5);
  background: var(--ink);
  color: #F6F1E8;
  border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
  left: 0;
  color: #F6F1E8;
}

/* --- Hero practicalities line + wheel pointer --- */
.hero-note {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
}

.hero-note a {
  color: #876726;
  border-bottom: 1px solid rgba(135, 103, 38, 0.4);
  padding-bottom: 1px;
}

/* --- Scroll reveal (classes added by JS; no-JS never sees them) --- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-seen {
  opacity: 1;
  transform: translateY(0);
}

/* --- Cross-document page transitions (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 220ms;
  }
}

/* --- Colophon --- */
.footer-bottom {
  text-align: center;
}

.footer-colophon {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--ink-muted);
  opacity: 0.8;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .next-steps-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-chapter > p:first-of-type::first-letter,
  .service-full-text > p:first-child::first-letter {
    font-size: 2.6em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- 404: the shadow --- */
.not-found-mark {
  display: block;
  margin: 0 auto var(--space-6);
  opacity: 0.5;
}

@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
