/* Young Serif — self-hosted from the uploaded brand font file.
   This @font-face supersedes the Google Fonts copy so the wordmark
   renders from the brand-supplied source. */
@font-face {
  font-family: 'Young Serif';
  src: url('../../fonts/YoungSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== Site-wide structure ===== */

.container { max-width: var(--max); margin: 0 auto; }
.container--wide { max-width: var(--max-wide); margin: 0 auto; }
.section { padding: 100px var(--pad-x); }
.section--lg { padding: 120px var(--pad-x); }
.section--ink { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.section--cream { background: var(--cream); }
.section--cream-2 { background: var(--cream-2); }

@media (max-width: 900px) {
  .section, .section--lg { padding: 72px var(--pad-x); }
}
@media (max-width: 600px) {
  .section, .section--lg { padding: 56px var(--pad-x); }
}

/* ===== Type ===== */
h1, h2, h3, h4, h5, h6, blockquote { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.h-display {
  font-family: var(--font-display);
  letter-spacing: -0.018em;
  text-wrap: balance;
}
em.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  color: var(--clay);
  position: relative;
  display: inline-block;
}
/* Hand-drawn scribble that appears under every accent italic when the
   parent .reveal scrolls into view. Stroke uses currentColor so each
   accent (clay / moss-soft / ochre) draws in its own hue. */
em.accent .scribble {
  position: absolute;
  left: -8px; right: -8px; bottom: -0.18em;
  width: calc(100% + 16px); height: 0.5em;
  pointer-events: none;
  overflow: visible;
  color: inherit;
}
em.accent .scribble path {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.1s var(--ease) 0.45s;
}
.reveal.is-revealed em.accent .scribble path,
em.accent.is-drawn .scribble path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  em.accent .scribble path {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 11px;
  font-style: italic; color: var(--muted);
}
.eyebrow::before {
  content: ""; display: block;
  width: 28px; height: 1px; background: currentColor; opacity: 0.6;
}
.eyebrow--dark { color: var(--on-dark-mute); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500;
  padding: 12px 24px; border-radius: 2px; letter-spacing: 0.04em;
  white-space: nowrap; text-decoration: none; border: none;
  transition: transform 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--ink-2); }
.btn--outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.nav .btn--outline {
  background: var(--moss); border-color: var(--moss); color: var(--cream);
  box-shadow: 0 4px 14px rgba(91, 115, 53, 0.22);
}
.nav .btn--outline:hover {
  background: var(--moss-deep, #38501F); border-color: var(--moss-deep, #38501F);
  color: var(--cream);
  box-shadow: 0 6px 18px rgba(56, 80, 31, 0.28);
}
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn--on-dark { background: var(--cream); color: var(--ink); }
.btn--on-dark:hover { background: var(--paper); }
.btn--ghost {
  background: transparent;
  border: 1.5px solid var(--on-dark-line);
  color: var(--on-dark-mute);
}
.btn--ghost:hover { color: var(--cream); border-color: rgba(245,239,228,0.45); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad-x);
  background: rgba(245, 239, 228, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: padding 220ms var(--ease), border-color 220ms var(--ease), background 220ms var(--ease);
}
.site-header.is-shrunk {
  padding: 12px var(--pad-x);
  border-bottom-color: var(--hairline-2);
  background: rgba(245, 239, 228, 0.94);
}
.brand {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 1px; line-height: 1; text-decoration: none;
}
.brand__name {
  font-family: 'Young Serif', Georgia, serif; font-size: 24px;
  letter-spacing: -0.01em; color: var(--moss);
  text-transform: lowercase; line-height: 1;
}
.brandmark-inline {
  font-family: 'Young Serif', Georgia, serif;
  color: var(--moss); letter-spacing: -0.01em;
  font-style: normal; text-transform: lowercase;
}
.brand__by {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px; font-style: italic; font-weight: 500;
  letter-spacing: 0.01em; text-transform: none;
  color: var(--ink-2); opacity: 0.7;
  margin-left: 14px;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  font-family: var(--font-body); font-size: 13px;
  color: var(--ink-2); text-decoration: none; white-space: nowrap;
  transition: color 160ms var(--ease);
}
.nav a:hover { color: var(--clay); }

.nav-toggle {
  display: none; background: transparent; border: none; padding: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  position: relative;
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform 200ms var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 64px 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 16px var(--pad-x);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform 220ms var(--ease), opacity 220ms var(--ease);
    border-top: 1px solid var(--hairline-2);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--hairline-2); }
  .nav .btn { margin-top: 18px; align-self: flex-start; }
}

/* ===== Hero ===== */
.hero {
  padding: 120px var(--pad-x) 100px;
}
.hero__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.08fr;
  gap: 80px; align-items: center;
}
.hero__eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04; letter-spacing: -0.018em;
  margin-bottom: 36px; text-wrap: balance;
}
.hero h1 em.accent { display: inline-block; padding-bottom: 0.08em; }
.hero__lede {
  font-size: 17px; line-height: 1.72; color: var(--ink-2);
  max-width: 520px; margin-bottom: 36px;
}
.hero__cta { display: flex; gap: 14px; margin-bottom: 44px; flex-wrap: wrap; }
.hero__meta {
  display: flex; gap: 18px; font-size: 12px; color: var(--muted); align-items: center; flex-wrap: wrap;
}
.hero__meta-sep { width: 1px; height: 12px; background: var(--hairline); }

.hero__visual {
  position: relative; display: flex; justify-content: center; align-items: flex-start;
  min-height: 660px;
}
.hero__cairn {
  position: absolute; top: -40px; right: 20px; pointer-events: none;
}

/* ── Hero dialogue (two stones in conversation) ─────────────── */
.hero__dialogue {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero__dialogue svg { width: 100%; height: 100%; max-width: 620px; max-height: 640px; }
.hero__dialogue-stone { transform-box: fill-box; transform-origin: center; }
.hero__dialogue-stone { transform-origin: center; transform-box: fill-box; }
.hero__dialogue-stone--a { animation: hero-stone-bob 9.6s ease-in-out infinite 0s; }
.hero__dialogue-stone--b { animation: hero-stone-bob 9.6s ease-in-out infinite -3.2s; }
.hero__dialogue-stone--c { animation: hero-stone-bob 9.6s ease-in-out infinite -6.4s; }
.hero__dialogue-line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: hero-line-draw 9.6s ease-in-out infinite;
}
.hero__dialogue-stone--a .hero__dialogue-line { animation-delay: 0s; }
.hero__dialogue-stone--b .hero__dialogue-line { animation-delay: -3.2s; }
.hero__dialogue-stone--c .hero__dialogue-line { animation-delay: -6.4s; }

/* Hero ripples — concentric rings expanding from each stone */
.hero__ripple { fill: none; stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .hero__ripple { animation: hero-ripple 5.2s ease-out infinite; }
  .hero__ripple--2 { animation-delay: 1.73s; }
  .hero__ripple--3 { animation-delay: 3.46s; }
}
@keyframes hero-ripple {
  0%   { transform: scale(0.5); opacity: 0; }
  14%  { opacity: 0.42; }
  100% { transform: scale(1.95); opacity: 0; }
}

@keyframes hero-stone-bob {
  0%, 100% { transform: scale(1); }
  8%       { transform: scale(1.05); }
  20%      { transform: scale(1); }
  33%, 100% { transform: scale(0.985); }
}
@keyframes hero-line-draw {
  0%   { stroke-dashoffset: 100; opacity: 0.35; }
  6%   { stroke-dashoffset: 100; opacity: 0.35; }
  18%  { stroke-dashoffset: 0;   opacity: 1; }
  28%  { stroke-dashoffset: 0;   opacity: 0.95; }
  40%  { stroke-dashoffset: -100; opacity: 0.35; }
  100% { stroke-dashoffset: -100; opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__dialogue-stone,
  .hero__dialogue-line { animation: none !important; }
  .hero__dialogue-line { stroke-dashoffset: 0; opacity: 0.7; }
}

.hero__rings-1 {
  position: absolute; top: 280px; left: -80px; opacity: 0.18; pointer-events: none;
  color: var(--moss);
}
.hero__rings-2 {
  position: absolute; bottom: -60px; right: -40px; opacity: 0.14; pointer-events: none;
  color: var(--ochre);
}

/* ── Hero accent load reveal ─────────────────────────────────── */
#hero-h .accent {
  display: inline-block;
  animation: hero-accent-wipe 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}
@keyframes hero-accent-wipe {
  0%   { clip-path: inset(0 100% 0 0); opacity: 0; transform: translateY(6px); }
  60%  { opacity: 1; }
  100% { clip-path: inset(0 0 0 0);    opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  #hero-h .accent { animation: none; }
}

/* ── River current flowing across the stones ─────────────────── */
/* Broad surface waves */
.hero__river-wave--1 { animation: hero-river-1 18s linear infinite; }
.hero__river-wave--2 { animation: hero-river-2 22s linear infinite; }
/* Medium body waves */
.hero__river-wave--3 { animation: hero-river-3 14s linear infinite; }
.hero__river-wave--4 { animation: hero-river-4 19s linear infinite; }
.hero__river-wave--5 { animation: hero-river-5 11s linear infinite; }
.hero__river-wave--6 { animation: hero-river-6 16s linear infinite; }
/* Tight ripples — faster */
.hero__river-wave--7  { animation: hero-river-7  9s linear infinite; }
.hero__river-wave--8  { animation: hero-river-8  7s linear infinite; }
.hero__river-wave--9  { animation: hero-river-9 10s linear infinite; }
.hero__river-wave--10 { animation: hero-river-10 8s linear infinite; }

@keyframes hero-river-1 { from { transform: translate(0px, 160px); } to { transform: translate(120px, 160px); } }
@keyframes hero-river-2 { from { transform: translate(0px, 220px); } to { transform: translate(120px, 220px); } }
@keyframes hero-river-3 { from { transform: translate(0px, 190px); } to { transform: translate(80px, 190px); } }
@keyframes hero-river-4 { from { transform: translate(0px, 250px); } to { transform: translate(80px, 250px); } }
@keyframes hero-river-5 { from { transform: translate(0px, 310px); } to { transform: translate(80px, 310px); } }
@keyframes hero-river-6 { from { transform: translate(0px, 370px); } to { transform: translate(80px, 370px); } }
@keyframes hero-river-7  { from { transform: translate(0px, 175px); } to { transform: translate(60px, 175px); } }
@keyframes hero-river-8  { from { transform: translate(0px, 235px); } to { transform: translate(60px, 235px); } }
@keyframes hero-river-9  { from { transform: translate(0px, 295px); } to { transform: translate(60px, 295px); } }
@keyframes hero-river-10 { from { transform: translate(0px, 355px); } to { transform: translate(60px, 355px); } }

@media (prefers-reduced-motion: reduce) {
  .hero__river-wave { animation: none !important; }
}

/* ── Hero shape ambient motion ─────────────────────────────────
.hero__cairn svg g:nth-child(1) {
  transform-box: fill-box; transform-origin: center;
  animation: cairn-base 14s ease-in-out infinite;
}
.hero__cairn svg g:nth-child(2) {
  transform-box: fill-box; transform-origin: center;
  animation: cairn-mid 11s ease-in-out infinite;
}
.hero__cairn svg g:nth-child(3) {
  transform-box: fill-box; transform-origin: center;
  animation: cairn-top 9s ease-in-out infinite;
}
.hero__rings-1 svg { animation: ring-spin-cw 60s linear infinite; transform-origin: center; }
.hero__rings-2 svg { animation: ring-spin-ccw 80s linear infinite; transform-origin: center; }
.hero__badge--top    { animation: badge-float 7s ease-in-out infinite; }
.hero__badge--bottom { animation: badge-float 9s ease-in-out 1.5s infinite; }

@keyframes cairn-base {
  0%, 100% { transform: translate(110px, 210px) rotate(-4deg) scale(0.95); }
  50%      { transform: translate(110px, 212px) rotate(-2deg) scale(0.96); }
}
@keyframes cairn-mid {
  0%, 100% { transform: translate(108px, 130px) rotate(7deg)  scale(0.85); }
  50%      { transform: translate(108px, 128px) rotate(5deg)  scale(0.87); }
}
@keyframes cairn-top {
  0%, 100% { transform: translate(112px, 50px) rotate(-12deg) scale(0.55); }
  50%      { transform: translate(112px, 47px) rotate(-9deg)  scale(0.57); }
}
@keyframes ring-spin-cw  { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ring-spin-ccw { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cairn svg g,
  .hero__rings-1 svg,
  .hero__rings-2 svg,
  .hero__badge { animation: none !important; }
}
.hero__badge {
  position: absolute; background: var(--paper);
  border: 1px solid var(--hairline-2); border-radius: 8px;
  padding: 9px 14px; font-family: var(--font-body); font-size: 11.5px; font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 20px rgba(26,20,16,0.08);
}
.hero__badge--top { top: 60px; right: -20px; }
.hero__badge--bottom { bottom: 60px; left: -30px; }
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; }

@media (max-width: 1100px) {
  .hero__grid { gap: 48px; }
  .hero__cairn { right: 0; }
}
@media (max-width: 900px) {
  .hero { padding: 80px var(--pad-x) 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { min-height: 480px; }
  .hero__badge--top { right: 8px; }
  .hero__badge--bottom { left: 8px; bottom: 24px; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(38px, 9vw, 52px); }
  .hero__visual { min-height: 420px; }
  .hero__cairn { transform: scale(0.7); transform-origin: top right; }
}

/* ===== Stone divider ===== */
.divider-stones {
  display: flex; justify-content: center; align-items: center;
  gap: 28px; padding: 32px 0 48px; background: var(--cream);
}

/* ===== Logo strip ===== */
.logos {
  background: var(--ink); color: var(--on-dark-faint);
  padding: 36px var(--pad-x);
}
.logos__label {
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 500; color: rgba(245,239,228,0.3);
}
.logos__list {
  display: flex; flex-wrap: wrap; gap: 48px; margin-top: 16px;
  font-family: var(--font-display); font-size: 22px;
  text-transform: lowercase; letter-spacing: -0.018em;
  color: rgba(245,239,228,0.4);
}
@media (max-width: 600px) {
  .logos__list { gap: 28px; font-size: 18px; }
}

/* ===== Comparison ===== */
.compare {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center;
}
.compare h2 { font-size: clamp(36px, 4.5vw, 52px); line-height: 1.1; margin: 20px 0 32px; }
.compare__copy p { font-size: 16px; line-height: 1.72; color: var(--ink-2); margin-bottom: 18px; }
.compare__copy strong { font-weight: 500; color: var(--ink); }

.compare__table { display: flex; flex-direction: column; gap: 4px; }
.compare__head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 18px; margin-bottom: 6px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}
.compare__head span:first-child { color: var(--muted); }
.compare__head span:last-child  { color: var(--clay); }
.compare__row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.compare__cell {
  padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.45;
}
.compare__cell--from { background: rgba(26,20,16,0.05); color: var(--muted); text-decoration: line-through; }
.compare__cell--to {
  background: var(--ink); color: var(--cream);
  display: flex; align-items: center; gap: 10px;
}
.compare__cell--to::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--clay-soft); flex-shrink: 0;
}

@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .compare__head, .compare__row { grid-template-columns: 1fr; }
}

/* ===== Assessments grid ===== */
.assessments__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 56px; flex-wrap: wrap;
}
.assessments h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 52px); line-height: 1.1;
  letter-spacing: -0.018em; margin: 20px 0 0; max-width: 640px;
}
.assessments__lede {
  max-width: 280px; font-size: 14px; color: var(--muted);
  padding-bottom: 8px; line-height: 1.6;
}
.cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.card {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius); padding: 36px 32px;
  position: relative; overflow: hidden;
}
.card--feature { background: var(--ink); color: var(--cream); }
.card__stone { opacity: 0.85; margin-bottom: 16px; }
.card--feature .card__stone { opacity: 0.5; }
.card__num {
  font-family: var(--font-accent); font-style: italic;
  font-size: 20px; font-weight: 500; margin-bottom: 16px; color: var(--muted);
}
.card--feature .card__num { color: rgba(245,239,228,0.4); }
.card__tag {
  display: inline-block; font-family: var(--font-body);
  font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 18px;
}
.card h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 400;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.card p {
  font-size: 13.5px; line-height: 1.7; color: var(--ink-2);
}
.card--feature p { color: rgba(245,239,228,0.6); }
.card__meta {
  display: flex; gap: 28px; margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.card--feature .card__meta { border-top-color: var(--on-dark-line); }
.card__meta dt {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.card--feature .card__meta dt { color: rgba(245,239,228,0.32); }
.card__meta dd { margin: 0; font-size: 13px; color: var(--ink); }
.card--feature .card__meta dd { color: var(--cream); }

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

/* ===== Dimensions (dark) ===== */
.dim {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.5fr; gap: 80px; align-items: start;
  position: relative;
}
.dim h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 52px); line-height: 1.1;
  margin: 20px 0 24px;
}
.dim__copy p { font-size: 15px; line-height: 1.72; color: var(--on-dark-mute); margin-bottom: 24px; }
.dim__note {
  font-size: 13px; color: rgba(245,239,228,0.4); font-style: italic;
}
.dim__rings {
  position: absolute; top: -80px; right: -120px; pointer-events: none;
}
.dim__list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
.dim__item {
  padding: 16px 18px; background: rgba(245,239,228,0.04);
  border-radius: var(--radius-sm);
  display: flex; align-items: flex-start; gap: 14px;
  border-left: 2px solid transparent;
}
.dim__item--priority { border-left-color: transparent; }
.dim__chip {
  width: 36px; height: 36px; border-radius: 6px;
  background: rgba(245,239,228,0.06);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.dim__item--priority .dim__chip {
  background: color-mix(in oklab, var(--accent, var(--moss-soft)) 14%, transparent);
}
.dim__name { font-size: 14px; color: var(--cream); line-height: 1.3; margin-bottom: 3px; }
.dim__desc { font-size: 11.5px; font-weight: 300; color: rgba(245,239,228,0.5); line-height: 1.4; }

@media (max-width: 980px) {
  .dim { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .dim__list { grid-template-columns: 1fr; }
}

/* ===== Pull quote ===== */
.pullquote {
  padding: 120px var(--pad-x);
  background: var(--cream);
  position: relative; overflow: hidden;
}
.pullquote__rings {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  opacity: 0.06; pointer-events: none; color: var(--clay);
}
.pullquote__inner {
  max-width: 760px; margin: 0 auto; text-align: center; position: relative;
}
.pullquote__seed { display: flex; justify-content: center; margin-bottom: 28px; }
.pullquote blockquote {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.35;
  color: var(--ink); margin-bottom: 24px; text-wrap: balance;
}
.pullquote figcaption {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  flex-wrap: wrap;
}
.pullquote__cite-rule { width: 16px; height: 1px; background: var(--hairline); }
.pullquote__role { color: var(--clay); }

/* ===== CTA card ===== */
.cta-shell { padding: 110px var(--pad-x) 100px; background: var(--cream); }
.cta {
  max-width: var(--max); margin: 0 auto;
  background: var(--ink); color: var(--cream);
  border-radius: 16px; padding: 72px 64px;
  display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start;
  position: relative; overflow: hidden;
}
.cta__rings { position: absolute; bottom: -200px; right: -200px; opacity: 0.1; pointer-events: none; }
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px); line-height: 1.1;
  letter-spacing: -0.018em; margin: 20px 0 16px; color: var(--cream);
}
.cta h2 em.accent { color: var(--clay-soft); }
.cta p {
  font-size: 15px; line-height: 1.72; color: var(--on-dark-mute);
  max-width: 460px;
}
.cta__actions {
  display: flex; flex-direction: row; gap: 12px; align-items: center; position: relative; margin-top: 4px;
}
.cta__actions .btn { justify-content: center; padding-left: 32px; padding-right: 32px; }
.cta__actions p {
  font-size: 11px; color: var(--on-dark-faint); text-align: center; margin-top: 4px;
}
.cta__cairn { margin-bottom: 12px; }

@media (max-width: 900px) {
  .cta { grid-template-columns: 1fr; padding: 56px 40px; gap: 36px; }
  .cta__rings { right: -240px; }
}
@media (max-width: 600px) {
  .cta { padding: 44px 24px; }
}

/* ===== Security ===== */
.security__head { max-width: 760px; }
.security__head .h-display { font-size: clamp(30px, 3.6vw, 44px); margin-top: 8px; }
.security__lede { font-size: 17px; line-height: 1.7; color: var(--ink-2, #2A211B); margin: 20px 0 0; max-width: 620px; }
.security__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 48px; background: var(--hairline-2);
  border: 1px solid var(--hairline-2); border-radius: 12px; overflow: hidden;
}
.security__item { background: var(--cream); padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.security__item-chip { display: flex; }
.security__item h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 18px; line-height: 1.2; color: var(--ink); margin: 4px 0 0; letter-spacing: -0.004em;
}
.security__item p { font-size: 14px; line-height: 1.62; color: var(--muted); margin: 0; }
.security__close {
  margin-top: 32px; max-width: 720px;
  font-family: var(--font-body); font-size: 15px; line-height: 1.7; color: var(--ink-2, #2A211B);
}
.security__close strong { font-weight: 500; color: var(--ink); }
@media (max-width: 900px) {
  .security__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .security__grid { grid-template-columns: 1fr; }
}

/* ===== Footer ===== */
.site-footer {
  padding: 60px var(--pad-x) 40px;
  border-top: 1px solid var(--hairline);
}
.site-footer__row {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.site-footer__brand {
  font-family: 'Young Serif', Georgia, serif; font-size: 20px; color: var(--ink);
  text-decoration: none; text-transform: lowercase; letter-spacing: -0.005em;
}
.site-footer__by { font-size: 13px; color: var(--muted); }
.site-footer__by .accent { color: var(--clay); font-weight: 500; font-style: normal; font-family: var(--font-body); }
.site-footer__links { display: flex; gap: 28px; }
.site-footer__links a { font-size: 12px; color: var(--muted); text-decoration: none; }
.site-footer__links a:hover { color: var(--clay); }

/* ===== Chat preview ===== */
.chat {
  background: white; border-radius: 12px; width: 100%; max-width: 420px;
  box-shadow: 0 28px 80px rgba(26,20,16,0.14), 0 4px 16px rgba(26,20,16,0.06);
  overflow: hidden; position: relative; z-index: 2;
}
.chat__bar {
  background: var(--ink); padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
}
.chat__avatar {
  width: 32px; height: 32px; background: var(--clay); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 6px; color: white;
}
.chat__title { font-size: 13px; font-weight: 500; color: var(--cream); font-family: var(--font-body); }
.chat__status {
  font-size: 11px; color: rgba(245,239,228,0.32); margin-top: 2px;
  display: flex; align-items: center; gap: 5px;
}
.chat__status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--moss-soft); }
.chat__feed { padding: 20px; background: #F4F1EB; display: flex; flex-direction: column; gap: 12px; min-height: 320px; }
.chat__msg { display: flex; flex-direction: column; max-width: 88%; opacity: 0; transform: translateY(8px); transition: opacity 320ms var(--ease), transform 320ms var(--ease); }
.chat__msg.is-shown { opacity: 1; transform: translateY(0); }
.chat__msg--ai { align-self: flex-start; }
.chat__msg--user { align-self: flex-end; }
.chat__from {
  font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.chat__msg--user .chat__from { text-align: right; }
.chat__bubble {
  padding: 10px 14px; font-size: 13.5px; line-height: 1.55;
  border-radius: 4px 12px 12px 12px;
}
.chat__msg--ai .chat__bubble { background: white; color: var(--ink); }
.chat__msg--user .chat__bubble { background: var(--ink); color: var(--cream); border-radius: 12px 4px 12px 12px; }
.chat__typing {
  align-self: flex-start; display: flex; gap: 4px;
  padding: 12px 14px; background: white; border-radius: 4px 12px 12px 12px; width: fit-content;
}
.chat__typing.is-hidden { display: none; }
.chat__typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(26,20,16,0.18);
  animation: tdot 1.4s infinite;
}
.chat__typing span:nth-child(2) { animation-delay: 0.2s; }
.chat__typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes tdot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-3px); opacity: 1; }
}

/* ===== Reveal-on-scroll ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }

/* ===== Meet emersen ===== */
.meet { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.meet__copy h2 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; margin: 20px 0 32px; }
.meet__copy p { font-size: 17px; line-height: 1.72; color: var(--ink-2); margin-bottom: 18px; }
.meet__copy p:last-child { margin-bottom: 0; }
.meet__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.meet__step { display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: start; padding: 20px 0; border-top: 1px solid var(--hairline); }
.meet__step:first-child { padding-top: 20px; }
.meet__step-num { font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: 22px; color: var(--clay); line-height: 1; padding-top: 4px; }
.meet__step h3 { font-family: var(--font-display); font-size: 19px; font-weight: 400; margin-bottom: 6px; letter-spacing: -0.005em; }
.meet__step p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
@media (max-width: 980px) { .meet { grid-template-columns: 1fr; gap: 48px; } }

/* ===== Value arc ===== */
.arc { max-width: var(--max); margin: 0 auto; position: relative; }
.arc__head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.arc__head h2 { font-family: var(--font-display); font-size: clamp(36px, 4.8vw, 60px); line-height: 1.05; letter-spacing: -0.018em; margin: 18px 0 22px; }
.arc__head p { font-size: 17px; line-height: 1.72; color: var(--on-dark-mute); max-width: 620px; margin: 0 auto; }
.arc__phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.arc__phases::before { content: ""; position: absolute; top: 110px; left: 16%; right: 16%; height: 1.5px; background-image: radial-gradient(circle, var(--on-dark-line) 1.2px, transparent 1.5px); background-size: 12px 1.5px; background-repeat: repeat-x; background-position: 0 50%; pointer-events: none; opacity: 0.6; z-index: 0; }
.arc__phase { background: rgba(245,239,228,0.04); border-radius: var(--radius); padding: 40px 28px 32px; position: relative; z-index: 1; }
.arc__phase-num { font-family: var(--font-accent); font-style: italic; font-weight: 500; font-size: 18px; color: var(--on-dark-faint); margin-bottom: 12px; }
.arc__phase-stone { margin-bottom: 22px; }
.arc__phase h3 { font-family: var(--font-display); font-size: 26px; font-weight: 400; color: var(--cream); margin-bottom: 14px; letter-spacing: -0.012em; }
.arc__phase p { font-size: 14.5px; line-height: 1.7; color: var(--on-dark-mute); margin: 0; font-weight: 300; }
.arc__close { text-align: center; max-width: 760px; margin: 56px auto 0; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; color: var(--cream); font-weight: 400; letter-spacing: -0.005em; }
@media (max-width: 880px) { .arc__phases { grid-template-columns: 1fr; gap: 16px; } .arc__phases::before { display: none; } }

/* ===== Suite families ===== */
.suite-family { margin-top: 28px; }
.suite-family:first-of-type { margin-top: 0; }
.suite-family__head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--hairline); }
.suite-family__kicker { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.suite-family__title { font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 44px); font-weight: 400; letter-spacing: -0.014em; color: var(--ink); margin: 0; }
.suite-family__title em.accent { display: inline; font-style: italic; }
.suite-family__sub { font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 560px; margin-top: 4px; }
.suite-family--predict { margin-top: 56px; }
.predict-card { background: var(--paper); border-radius: var(--radius); padding: 44px 40px; display: grid; grid-template-columns: 120px 1fr; gap: 36px; align-items: start; }
.predict-card__body { font-family: var(--font-display); font-size: 22px; line-height: 1.4; color: var(--ink); margin-bottom: 18px; font-weight: 400; letter-spacing: -0.005em; }
.predict-card__body em { font-family: var(--font-accent); font-style: italic; color: var(--aubergine); font-weight: 500; }
.predict-card__contrast { font-size: 15px; line-height: 1.7; color: var(--ink-2); margin-bottom: 22px; }
.predict-card__contrast strong { font-weight: 500; color: var(--ink); }
.predict-card__meta { display: flex; gap: 36px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.predict-card__meta dt { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.predict-card__meta dd { margin: 0; font-size: 13px; color: var(--ink); }
@media (max-width: 720px) { .predict-card { grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; } }

/* ===== Credibility ===== */
.credibility-line { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.35; color: var(--ink); margin-bottom: 18px; text-wrap: balance; letter-spacing: -0.005em; }
.credibility-sub { font-family: var(--font-body); font-style: italic; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 540px; margin: 0 auto; }

/* ===== Belief / purpose ===== */
.belief { background: #3A2434; color: var(--cream); position: relative; overflow: hidden; }
.belief__inner { max-width: 840px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.belief .eyebrow { justify-content: center; }
.belief .h-display { color: var(--cream); font-size: clamp(32px, 4.2vw, 52px); margin: 18px 0 30px; }
.belief .h-display em.accent { color: var(--ochre-soft); font-style: italic; }
.belief__lede { font-size: 18px; line-height: 1.72; color: rgba(245,239,228,0.82); max-width: 680px; margin: 0 auto 18px; font-weight: 300; }
.belief__lede strong { color: var(--cream); font-weight: 500; }
.belief__close { font-family: var(--font-display); font-weight: 400; font-size: clamp(21px, 2.3vw, 27px); line-height: 1.45; color: var(--cream); max-width: 720px; margin: 34px auto 0; text-wrap: balance; }
.belief__rings { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.06; pointer-events: none; color: var(--cream); }
@media (max-width: 600px) { .belief__lede { font-size: 16px; } }

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

/* ===== Playfulness: idle stone breath =====
   Each stone chip in the framework list exhales every 6.5s — a tiny scale
   pulse staggered by index so they don't move in unison. Subtle by design;
   reads as "alive," not animated. */
.dim__chip svg { transition: transform 700ms var(--ease); transform-origin: center; }
.dim__list.is-revealed .dim__item:nth-child(9n+1) .dim__chip svg { animation: dim-breath 6.5s ease-in-out 0.2s infinite; }
.dim__list.is-revealed .dim__item:nth-child(9n+2) .dim__chip svg { animation: dim-breath 6.5s ease-in-out 0.9s infinite; }
.dim__list.is-revealed .dim__item:nth-child(9n+3) .dim__chip svg { animation: dim-breath 6.5s ease-in-out 1.6s infinite; }
.dim__list.is-revealed .dim__item:nth-child(9n+4) .dim__chip svg { animation: dim-breath 6.5s ease-in-out 2.3s infinite; }
.dim__list.is-revealed .dim__item:nth-child(9n+5) .dim__chip svg { animation: dim-breath 6.5s ease-in-out 3.0s infinite; }
.dim__list.is-revealed .dim__item:nth-child(9n+6) .dim__chip svg { animation: dim-breath 6.5s ease-in-out 3.7s infinite; }
.dim__list.is-revealed .dim__item:nth-child(9n+7) .dim__chip svg { animation: dim-breath 6.5s ease-in-out 4.4s infinite; }
.dim__list.is-revealed .dim__item:nth-child(9n+8) .dim__chip svg { animation: dim-breath 6.5s ease-in-out 5.1s infinite; }
.dim__list.is-revealed .dim__item:nth-child(9n+9) .dim__chip svg { animation: dim-breath 6.5s ease-in-out 5.8s infinite; }
@keyframes dim-breath {
  0%, 88%, 100% { transform: scale(1) rotate(0deg); }
  92%           { transform: scale(1.14) rotate(-1.5deg); }
  96%           { transform: scale(0.97) rotate(0.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .dim__chip svg { animation: none !important; }
}

/* ===== Playfulness: marginalia =====
   A small italic annotation, reads like a thoughtful editor's note,
   with a hand-drawn arrow pointing back at the line above. */
.marg {
  display: block;
  margin: 6px 0 0 88px;
  max-width: 240px;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--moss-soft);
  font-size: 14px;
  line-height: 1.45;
  transform: rotate(-1.4deg);
  transform-origin: left top;
  opacity: 0;
  transition: opacity 800ms var(--ease) 0.5s;
}
.marg svg { display: block; margin: 0 0 2px 10px; opacity: 0.7; color: var(--moss-soft); }
.reveal.is-revealed .marg,
.marg.is-shown { opacity: 1; }
@media (max-width: 600px) {
  .marg { margin-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .marg { opacity: 1; transition: none; }
}
