/* ── Ariya shared styles (base + nav + footer + components) ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

:root {
  --sans:  'Schibsted Grotesk', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;

  --ink:        oklch(0.20 0.025 250);
  --ink-2:      oklch(0.40 0.022 250);
  --ink-3:      oklch(0.46 0.018 250);
  --surface:    oklch(0.998 0.002 250);
  --page:       oklch(0.992 0.004 250);
  --paper:      oklch(0.982 0.012 75);
  --line:       oklch(0.90 0.010 250);
  --rule:       oklch(0.78 0.018 250);

  --primary:    oklch(0.50 0.21 250);
  --primary-2:  oklch(0.38 0.19 250);
  --primary-w:  oklch(0.96 0.025 250);

  --amber:      oklch(0.82 0.17 95);
  --green:      oklch(0.55 0.13 150);   /* decorative use: pulse dot, icons, fills */
  --green-text: oklch(0.44 0.14 150);   /* text use: passes WCAG AA on light backgrounds */
  --red:        oklch(0.53 0.19 25);

  --s-2xs: 4px; --s-xs: 8px; --s-sm: 12px;
  --s-md: 16px; --s-lg: 24px; --s-xl: 32px;
  --s-2xl: 48px; --s-3xl: 64px; --s-4xl: 96px;

  --r-sm: 6px; --r-md: 10px; --r-lg: 14px;

  --ease: cubic-bezier(.2,.7,.3,1);
  --dur: 200ms;
}

html { font-family: var(--sans); color: var(--ink); background: var(--page); scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "kern", "liga", "calt";
}

/* Italic serif only for signatures and long-form voice. Display emphasis overridden. */
em, i, .em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }

.page { max-width: 920px; margin: 0 auto; padding: 0 var(--s-xl); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: oklch(0.992 0.004 250 / 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 14px var(--s-xl);
  display: flex; align-items: center;
  gap: var(--s-md);
}
.nav-mark { display: flex; align-items: center; gap: 10px; margin-right: auto; flex-shrink: 0; }
.nav-mark .mark {
  /* Render at the SVG's native 40×40 viewBox to avoid fractional scaling blur. */
  width: 40px;
  height: 40px;
  color: var(--primary);
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}
.nav-mark .mark circle { fill: currentColor; }
.nav-mark .mark path {
  stroke: var(--surface);
}
.nav-wordmark { font-weight: 700; font-size: 19px; letter-spacing: -0.04em; line-height: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  position: relative;
}
.nav-links a {
  font-size: 14px; color: var(--ink-2);
  transition: color var(--dur) var(--ease);
  padding: 6px 0;
  position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a[aria-current="page"] { color: var(--primary); }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  background: var(--primary); color: var(--surface);
  font-size: 13px; font-weight: 600; letter-spacing: -0.005em;
  border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 1px 2px oklch(0.20 0.025 250 / 0.06);
}
.nav-cta:hover {
  background: var(--primary-2);
  box-shadow: 0 2px 0 0 var(--primary-2), 0 6px 14px -6px oklch(0.50 0.21 250 / 0.35);
}
.nav-cta:active { transform: translateY(1px); box-shadow: 0 1px 2px oklch(0.20 0.025 250 / 0.06); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease);
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--surface); }
.btn-primary:hover { background: var(--primary-2); }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { color: var(--ink-2); padding: 12px 8px; }
.btn-ghost:hover { color: var(--primary); }
.btn-ghost::after { content: "→"; transition: transform var(--dur) var(--ease); }
.btn-ghost:hover::after { transform: translateX(3px); }

/* ── Section primitives ── */
.section-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: var(--s-md);
}
.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700; letter-spacing: -0.035em;
  line-height: 1.1; color: var(--ink);
  margin-bottom: var(--s-md);
  max-width: min(100%, 30ch);
  text-wrap: balance;
}
.section-title em {
  font-family: var(--sans); font-style: normal;
  font-weight: inherit; color: var(--primary);
  letter-spacing: inherit;
}
.section-sub {
  font-size: 17px; color: var(--ink-2);
  line-height: 1.55; max-width: 56ch;
  margin-bottom: var(--s-2xl);
  letter-spacing: -0.005em;
}

section { padding: var(--s-4xl) 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

/* ── Heartbeat divider ── */
.heartbeat-div {
  display: flex; align-items: center; gap: var(--s-md);
  margin: var(--s-3xl) 0;
}
.heartbeat-div::before, .heartbeat-div::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.heartbeat-div svg { color: var(--primary); }
.heartbeat-div .label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  color: var(--ink-3);
}

/* ── Footer ── */
.foot {
  padding: var(--s-xl) 0 var(--s-2xl);
  border-top: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-md);
  margin-top: var(--s-2xl);
  flex-wrap: wrap;
}
.foot-mark { display: flex; align-items: center; gap: 10px; }
.foot-mark svg { width: 24px; height: 24px; color: var(--primary); }
.foot-mark svg circle { fill: currentColor; }
.foot-mark svg path { stroke: var(--surface); }
.foot-mark span { font-weight: 700; font-size: 17px; letter-spacing: -0.04em; }
.foot-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--s-lg);
  row-gap: 8px;
  font-size: 13px; color: var(--ink-3);
  max-width: 100%;
}
.foot-links a { transition: color var(--dur) var(--ease); }
.foot-links a:hover { color: var(--primary); }
.foot-meta { font-size: 12px; color: var(--ink-3); line-height: 1.5; }
.foot-whisper {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  margin: 0 0 var(--s-sm);
  max-width: 52ch;
  line-height: 1.45;
}

/* Home hero: live pulse next to ARIYA AWAKE */
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 oklch(0.55 0.13 150 / 0.5);
  animation: ariya-pulse-dot 2s infinite var(--ease);
}
@keyframes ariya-pulse-dot {
  0%   { box-shadow: 0 0 0 0 oklch(0.55 0.13 150 / 0.5); }
  70%  { box-shadow: 0 0 0 8px oklch(0.55 0.13 150 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.55 0.13 150 / 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pulse-dot {
    animation: none;
    box-shadow: none;
  }
}

.newsletter-whisper {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.45;
  margin: var(--s-sm) 0 0;
  max-width: 42ch;
}

.delight-toast {
  position: fixed;
  bottom: var(--s-lg);
  left: 50%;
  transform: translate3d(-50%, 12px, 0);
  max-width: min(36em, calc(100vw - var(--s-xl)));
  padding: var(--s-sm) var(--s-md);
  background: var(--ink);
  color: var(--surface);
  font-size: 13px;
  line-height: 1.45;
  border-radius: var(--r-md);
  box-shadow: 0 8px 28px oklch(0.2 0.02 250 / 0.25);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.delight-toast--visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .delight-toast {
    transition: opacity var(--dur) var(--ease);
  }
  .delight-toast--visible {
    transform: translate3d(-50%, 12px, 0);
  }
}

.err-whisper {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: var(--s-md);
  max-width: 44ch;
  line-height: 1.5;
}

/* ── Page hero (sub-pages, not the home hero) ── */
.page-hero {
  padding: var(--s-4xl) 0 var(--s-3xl);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: var(--s-md);
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700; letter-spacing: -0.04em;
  line-height: 1.05; color: var(--ink);
  margin-bottom: var(--s-lg);
  max-width: min(100%, 32ch);
  text-wrap: balance;
}
.page-hero h1 em {
  font-family: var(--sans); font-style: normal;
  font-weight: inherit; color: var(--primary);
  letter-spacing: inherit;
}
.page-hero p.lede {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-2); max-width: 54ch;
  letter-spacing: -0.005em;
}

/* ── Card grid (services, principles, etc.) ── */
.card-grid {
  display: grid; gap: var(--s-lg);
  margin-top: var(--s-lg);
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-xl);
}
.card .num {
  font-family: var(--serif); font-style: italic;
  font-size: 32px; color: var(--primary);
  line-height: 1; margin-bottom: var(--s-md);
  font-weight: 500;
}
.card .num::after { content: "."; }
.card h3 {
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.3;
  color: var(--ink); margin-bottom: var(--s-sm);
}
.card p {
  font-size: 14px; color: var(--ink-2);
  line-height: 1.6;
}

/* ── Bio card (about page) ── */
.bio {
  display: grid; grid-template-columns: 120px 1fr;
  gap: var(--s-xl); align-items: start;
  padding: var(--s-xl) 0;
  border-bottom: 1px solid var(--line);
}
.bio:last-child { border-bottom: none; }
.bio-mark {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--primary-w);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic;
  font-size: 48px; color: var(--primary);
  font-weight: 500;
}
.bio-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  display: block;
}
.bio h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink); margin-bottom: var(--s-2xs);
}
.bio .role {
  font-size: 13px; color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: var(--s-md);
}
.bio p {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-2); max-width: 58ch;
}
.bio p + p { margin-top: var(--s-sm); }

/* ── CTA block ── */
.cta-block {
  background: var(--ink); color: var(--surface);
  border-radius: var(--r-lg);
  padding: var(--s-3xl) var(--s-xl);
  text-align: center;
  margin: var(--s-3xl) 0 0;
}
.cta-block h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; letter-spacing: -0.035em;
  line-height: 1.1; margin-bottom: var(--s-md);
  color: var(--surface);
  max-width: min(100%, 30ch);
  margin-left: auto; margin-right: auto;
  text-wrap: balance;
}
.cta-block h2 em {
  font-family: var(--sans); font-style: normal;
  font-weight: inherit; color: oklch(0.78 0.14 250);
  letter-spacing: inherit;
}
.cta-block p {
  font-size: 17px; color: oklch(0.82 0.015 250);
  max-width: 46ch;
  margin: 0 auto var(--s-xl);
  line-height: 1.5;
}
.cta-sig {
  margin-top: var(--s-xl);
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: oklch(0.78 0.14 250);
}

/* ── Contact surface ── */
.contact-row {
  display: grid; grid-template-columns: 180px 1fr;
  gap: var(--s-xl);
  padding: var(--s-lg) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact-row:last-child { border-bottom: none; }
.contact-row .label {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3);
}
.contact-row .value {
  font-size: 17px; color: var(--ink);
  line-height: 1.5;
}
.contact-row .value a { color: var(--primary); }
.contact-row .value a:hover { color: var(--primary-2); }
.contact-row .value .note {
  display: block; font-size: 13px;
  color: var(--ink-3); margin-top: var(--s-2xs);
}

/* ── Timeline (A day with Ariya) ── */
.timeline { position: relative; }
.moment {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s-xl);
  padding-bottom: var(--s-2xl);
  position: relative;
}
.moment:last-child { padding-bottom: 0; }
.moment::before {
  content: "";
  position: absolute;
  left: 120px; top: 28px; bottom: -8px;
  width: 1px; background: var(--line);
}
.moment:last-child::before { display: none; }
.moment::after {
  content: "";
  position: absolute;
  left: 116px; top: 22px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
}
.moment-time {
  text-align: right;
  padding-top: 14px;
  font-variant-numeric: tabular-nums;
}
.moment-time .hh {
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.03em; color: var(--ink); line-height: 1;
}
.moment-time .ap {
  font-size: 11px; color: var(--ink-3);
  margin-top: 5px; letter-spacing: 0.08em;
}
.moment-time .where {
  margin-top: var(--s-sm);
  font-size: 11px; color: var(--ink-3);
  line-height: 1.4; font-style: italic; font-family: var(--serif);
}
.moment-body { padding-left: var(--s-md); }
.moment-note {
  margin-top: var(--s-sm);
  font-size: 13px; color: var(--ink-3);
  line-height: 1.5; max-width: 56ch;
}
.moment-note b { color: var(--ink); font-weight: 600; }

/* Tuesday narrative page: cobalt spine reads as "live story," not gray wire. */
.page-tuesday .moment::before {
  background: oklch(0.55 0.18 250 / 0.42);
}
.page-tuesday .moment::after {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px oklch(0.55 0.18 250 / 0.12);
}

/* ── Specimen cards ── */
.push {
  background: var(--ink); color: var(--surface);
  border-radius: 18px; padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start;
  max-width: 420px;
}
.push-icon {
  width: 38px; height: 38px;
  border-radius: 9px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--surface);
}
.push-icon svg path {
  stroke: currentColor;
}
.push-body { flex: 1; min-width: 0; }
.push-row { display: flex; justify-content: space-between; margin-bottom: 2px; }
.push-from { font-size: 11px; font-weight: 600; color: oklch(0.78 0.015 250); letter-spacing: 0.04em; }
.push-time { font-size: 11px; color: oklch(0.65 0.015 250); }
.push-msg { font-size: 14px; line-height: 1.4; color: var(--surface); }

.memo-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: var(--s-xl); max-width: 560px;
}
.memo-from {
  display: flex; align-items: baseline; gap: var(--s-sm);
  margin-bottom: var(--s-md);
  padding-bottom: var(--s-sm);
  border-bottom: 1px solid var(--rule);
  font-size: 12px; color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.memo-from b { color: var(--ink); font-weight: 600; }
.memo-from .when { margin-left: auto; }
.memo-text { font-size: 16px; line-height: 1.55; color: var(--ink); max-width: 50ch; }
.memo-text p + p { margin-top: 0.6em; }
.memo-text em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.005em; }
.memo-sign {
  margin-top: var(--s-md);
  font-family: var(--serif); font-style: italic;
  font-weight: 500; font-size: 18px; color: var(--primary);
}

.slack {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden; max-width: 520px;
}
.slack-head {
  background: var(--primary); color: var(--surface);
  padding: 10px 14px;
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  letter-spacing: -0.01em;
}
.slack-head svg { opacity: 0.9; }
.slack-head svg path { stroke: currentColor; }
.slack-msgs { padding: var(--s-md); display: flex; flex-direction: column; gap: var(--s-sm); }
.slack-msg { display: flex; gap: 10px; }
.slack-avatar {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--primary-w); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.slack-msg.user .slack-avatar { background: oklch(0.92 0.04 80); color: oklch(0.45 0.13 70); }
.slack-content { flex: 1; min-width: 0; }
.slack-name { font-size: 13px; font-weight: 700; color: var(--ink); display: inline; margin-right: 8px; }
.slack-time { font-size: 11px; color: var(--ink-3); display: inline; font-variant-numeric: tabular-nums; }
.slack-text { font-size: 14px; color: var(--ink-2); line-height: 1.45; margin-top: 2px; }

.call-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-xl); max-width: 560px;
}
.call-tag {
  font-size: 11px; font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-sm);
}
.call-card h3 {
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-md);
}
.call-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.call-list li {
  display: grid; grid-template-columns: 16px 1fr;
  gap: 8px;
  font-size: 14px; color: var(--ink-2);
  line-height: 1.5;
}
.call-list li::before { content: "→"; color: var(--primary); font-weight: 600; }
.call-foot {
  margin-top: var(--s-md);
  padding-top: var(--s-sm);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; color: var(--ink-3);
}
.call-sign { font-family: var(--serif); font-style: italic; color: var(--primary); font-size: 16px; font-weight: 500; }

.escalation {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-xl);
  position: relative; overflow: hidden;
  max-width: 560px;
}
.escalation::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 1px; height: 100%;
  background: var(--red);
}
.esc-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; color: var(--red);
  margin-bottom: var(--s-sm);
}
.esc-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.escalation h3 {
  font-size: 19px; font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.3;
  margin-bottom: var(--s-sm);
}
.escalation p { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.esc-foot {
  margin-top: var(--s-md);
  padding-top: var(--s-sm);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline;
}

.eod {
  background: var(--ink); color: var(--surface);
  border-radius: var(--r-md);
  padding: var(--s-xl); max-width: 560px;
}
.eod-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em;
  color: oklch(0.78 0.015 250);
  margin-bottom: var(--s-sm);
}
.eod h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-md);
  color: var(--surface);
}
.eod h3 em { color: oklch(0.78 0.14 250); font-weight: 400; font-family: var(--sans); font-style: normal; }
.eod-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.eod-list li {
  display: grid; grid-template-columns: 16px 1fr auto;
  gap: 10px;
  font-size: 14px; color: oklch(0.85 0.01 250);
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid oklch(0.30 0.02 250);
}
.eod-list li:last-child { border-bottom: none; }
.eod-list li::before { content: "✓"; color: var(--green); font-weight: 700; font-size: 13px; }
.eod-list li .num {
  color: oklch(0.65 0.015 250);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.eod-foot {
  margin-top: var(--s-md);
  padding-top: var(--s-md);
  border-top: 1px solid oklch(0.30 0.02 250);
  font-size: 13px; color: oklch(0.78 0.015 250);
  display: flex; justify-content: space-between; align-items: baseline;
}
.eod-sign {
  font-family: var(--serif); font-style: italic;
  color: oklch(0.78 0.14 250);
  font-size: 16px; font-weight: 500;
}

/* ── Versus cards (Traditional vs Ariya) ── */
.versus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-md);
  margin-top: var(--s-lg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  gap: 0;
}
.versus-card {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}
.versus-card:last-child { border-bottom: none; }
.versus-card-eyebrow {
  padding: var(--s-lg) var(--s-md);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--page);
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.versus-side {
  padding: var(--s-lg) var(--s-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.versus-side-them {
  background: transparent;
  color: var(--ink-3);
  border-right: 1px solid var(--line);
}
.versus-side-us {
  background: oklch(0.98 0.015 250);
  color: var(--ink);
}
.versus-side-us::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
}
.versus-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}
.versus-side-them .versus-label { color: var(--ink-2); }
.versus-side-us .versus-label { color: var(--primary-2); opacity: 1; }
.versus-side p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.versus-side-us p { font-weight: 500; }
@media (max-width: 860px) {
  .versus-card { grid-template-columns: 1fr; }
  .versus-card-eyebrow {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: var(--s-md);
  }
  .versus-side-them {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .versus-side { padding: var(--s-md); }
}

/* ── Testimonials ──
   Clean, restrained feed: white surface, sans body, no decorative quote glyph.
   CSS multi-column gives masonry-like packing for variable-height cards —
   reads like a feed of authentic quotes, not a marketing grid. Departs from
   CLAUDE.md "paper tint + serif italic" convention by design. */
.testimonials-grid {
  column-count: 3;
  column-gap: var(--s-lg);
  margin-top: var(--s-lg);
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-xl);
  display: flex; flex-direction: column;
  gap: var(--s-lg);
  break-inside: avoid;
  margin-bottom: var(--s-lg);
}
.testimonial blockquote {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.testimonial figcaption {
  padding-top: var(--s-md);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column;
  gap: 2px;
  margin-top: auto;
}
.t-role {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.t-meta {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 400;
}
@media (prefers-reduced-motion: no-preference) {
  .testimonial {
    transition: border-color var(--dur) var(--ease);
  }
  .testimonial:hover {
    border-color: oklch(0.82 0.12 250);
  }
}

/* ── Eyebrow hairline (editorial leader) ── */

/* ── Primary button weight on hover ── */
.btn-primary {
  transition: background var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.btn-primary:hover {
  box-shadow: 0 2px 0 0 var(--primary-2), 0 6px 18px -8px oklch(0.50 0.21 250 / 0.4);
}
.btn-primary:active {
  box-shadow: none;
  transform: translateY(1px);
}

/* ── Nav mark hover (subtle life on cursor) ── */
.nav-mark .mark {
  transition: opacity var(--dur) var(--ease);
}
.nav-mark:hover .mark {
  opacity: 0.92;
}
.nav-mark .mark path {
  transition: opacity var(--dur) var(--ease);
}
.nav-mark:hover .mark path {
  opacity: 0.85;
}

/* ── Nav mark heartbeat (one-shot on page load) ──
   The EKG path is the logo; animating it on arrival turns the mark into
   a "system waking up" signal. Plays once when the page loads, lands at
   the fully-drawn state, and stays there.
   Path uses pathLength=100 + stroke-dasharray/dashoffset so the animation
   interpolates the fraction drawn (100=hidden, 0=fully drawn).
   fill-mode: forwards holds the end state after the single run. */
@keyframes ariya-ekg-draw {
  0%   { stroke-dashoffset: 100; }   /* hidden */
  100% { stroke-dashoffset: 0; }     /* fully drawn */
}
.nav-mark .mark .ariya-ekg {
  animation: ariya-ekg-draw 1s var(--ease) forwards;
  will-change: stroke-dashoffset;
}
/* Static fallback for users who opt out of motion — trace is already
   fully visible, no animation. Matches the end state. */
@media (prefers-reduced-motion: reduce) {
  .nav-mark .mark .ariya-ekg {
    animation: none;
    stroke-dashoffset: 0;
  }
}

/* Tuesday recap: full mark on light primary wash */
.recap-mark {
  color: var(--primary);
}
.recap-mark circle { fill: currentColor; }
.recap-mark path { stroke: var(--surface); }

/* ── Text selection (brand cohesion) ── */
::selection {
  background: oklch(0.78 0.14 250 / 0.30);
  color: var(--ink);
}

/* ── Focus rings (keyboard-only via :focus-visible) ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
  transition: outline-offset var(--dur) var(--ease);
}
/* Make sure the default outline doesn't double up on mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible) { outline: none; }

/* ── Card hover lift (applies to .card, .how-card, .feature across pages) ── */
.card, .how-card, .feature {
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change: transform;
}
.card:hover, .how-card:hover, .feature:hover {
  border-color: oklch(0.82 0.12 250);
  transform: translateY(-1px);
}

/* ── Footer link underline slide-in ── */
.foot-links a {
  background-image: linear-gradient(to right, currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left 100%;
  padding-bottom: 2px;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}
.foot-links a:hover { background-size: 100% 1px; }

/* ── Nav active indicator (subtle underline beneath color) ── */
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--primary);
}

/* ── Nav indicator: single animated rail ── */
.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: var(--nav-indicator-w, 0px);
  background: var(--primary);
  transform: translate3d(var(--nav-indicator-x, 0px), 0, 0);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 420ms var(--ease),
    width 420ms var(--ease),
    opacity 160ms var(--ease);
}
.nav-indicator.nav-indicator--ready { opacity: 1; }

/* When the indicator rail is active, hide the per-link underline. */
.nav-links.nav-links--indicator a[aria-current="page"]::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  .nav-indicator { transition: none; }
}

/* ── Tabular numeric alignment (payroll / metric numbers) ── */
.eod-list li .num,
.moment-time,
.push-time,
.slack-time {
  font-variant-numeric: tabular-nums;
}

/* ── Heartbeat divider subtle pulse ── */
@keyframes heartbeat-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}
.heartbeat-div svg { animation: heartbeat-pulse 3.2s var(--ease) infinite; }

/* ── Reduced motion guard ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Skip link (keyboard nav) ── */
.skip-link {
  position: absolute;
  top: -40px; left: 0;
  background: var(--primary); color: var(--surface);
  padding: 10px 16px;
  font-size: 14px; font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
  z-index: 100;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; outline: 2px solid var(--surface); outline-offset: -2px; }

/* ── Newsletter ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.newsletter {
  background: var(--primary-w);
  border-radius: var(--r-lg);
  padding: var(--s-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2xl);
  align-items: center;
}
.newsletter-copy { min-width: 0; }
.newsletter-title {
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: var(--s-sm);
  line-height: 1.2;
}
.newsletter-sub {
  font-size: 14px; color: var(--ink-2);
  line-height: 1.55; max-width: 44ch;
}
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-sm);
  align-items: start;
}
.newsletter-form input[type="email"] {
  grid-column: 1;
  padding: 12px 14px;
  font-family: var(--sans); font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--dur) var(--ease);
  outline: none; width: 100%;
}
.newsletter-form input[type="email"]:focus { border-color: var(--primary); }
.newsletter-form button {
  grid-column: 2;
  padding: 12px 18px;
  font-family: var(--sans);
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.005em;
  background: var(--primary); color: var(--surface);
  border-radius: var(--r-sm); border: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.newsletter-form button:hover:not(:disabled) { background: var(--primary-2); }
.newsletter-form button:disabled { opacity: 0.7; cursor: default; }
.newsletter-msg {
  grid-column: 1 / -1;
  font-size: 13px; min-height: 16px;
  color: var(--ink-3);
}
.newsletter-msg.ok { color: var(--green-text); }
.newsletter-msg.err { color: var(--red); }

/* ── Contact form ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  max-width: 620px;
  margin-top: var(--s-md);
}
.contact-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-md);
}
.contact-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}
.contact-form label .req {
  color: var(--primary);
  font-weight: 700;
  margin-left: 2px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  padding: 11px 14px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  width: 100%;
  outline: none;
  transition: border-color var(--dur) var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary); }
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--sans);
}
.contact-form .form-actions {
  display: flex;
  align-items: center;
  gap: var(--s-lg);
  flex-wrap: wrap;
}
.contact-form button[type="submit"] {
  /* Inherits from .btn-primary; just guard against reset weirdness. */
  cursor: pointer;
}
.contact-form button[type="submit"]:disabled { opacity: 0.7; cursor: default; }
.contact-form .form-msg {
  font-size: 14px;
  color: var(--ink-3);
  min-height: 20px;
}
.contact-form .form-msg.ok { color: var(--green-text); font-weight: 500; }
.contact-form .form-msg.err { color: var(--red); }

/* ── Tablet midpoint ── */
@media (max-width: 960px) {
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .versus-row { grid-template-columns: 140px 1fr 1fr; }
  .testimonials-grid { column-count: 2; }
}

/* ── Responsive (mobile) ── */
@media (max-width: 760px) {
  .page, .nav-inner { padding-left: var(--s-lg); padding-right: var(--s-lg); }
  /* Tighten vertical rhythm on phones; 96px section padding is oversized here. */
  section { padding: var(--s-3xl) 0; }
  .section-sub { margin-bottom: var(--s-xl); font-size: 16px; }
  .section-title { font-size: clamp(26px, 7vw, 34px); }
  .cta-block { padding: var(--s-2xl) var(--s-lg); margin-top: var(--s-2xl); }
  .cta-block p { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-cta { padding: 11px 14px; font-size: 12px; }
  /* Larger tap target on nav logo without growing its visual footprint */
  .nav-mark { padding: 8px 0; margin: -8px 0; }
  .foot-mark { padding: 8px 0; }
  .foot-links a { padding: 2px 0; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    padding: var(--s-md) var(--s-lg) var(--s-xl);
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -12px oklch(0.20 0.025 250 / 0.15);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-indicator { display: none; }
  .foot { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: var(--s-3xl) 0 var(--s-2xl); }
  .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio-mark { width: 80px; height: 80px; font-size: 32px; }
  .contact-row { grid-template-columns: 1fr; gap: var(--s-2xs); }
  .moment { grid-template-columns: 1fr; }
  .moment::before, .moment::after { display: none; }
  .moment-time { text-align: left; padding-top: 0; display: flex; align-items: baseline; gap: var(--s-sm); }
  .moment-time .hh { font-size: 18px; }
  .moment-time .where { margin-top: 0; display: none; }
  .versus-row { grid-template-columns: 1fr; }
  .versus-dim { border-right: none; border-bottom: 1px solid var(--line); background: var(--primary-w); }
  .versus-them { border-right: none; border-bottom: 1px solid var(--line); }
  .versus-head { display: none; }
  .testimonials-grid { column-count: 1; }
  .newsletter { grid-template-columns: 1fr; gap: var(--s-lg); padding: var(--s-xl); }
  .contact-form .form-row-2 { grid-template-columns: 1fr; }
}

/* Very narrow phones (iPhone SE 1st gen, 320px): hide the always-visible CTA
   so logo + hamburger fit without overflow. Contact still reachable via the
   hamburger menu. iPhone 8 / SE 2020 / iPhone 13 Mini (375px) keep the CTA. */
@media (max-width: 374px) {
  .nav-cta { display: none; }
}

/* ── Print: memo-like pages for owners who share on paper ── */
@media print {
  html {
    background: white;
    font-size: 11pt;
  }
  body {
    background: white;
    color: black;
  }
  .nav,
  .nav-cta,
  .nav-toggle,
  .skip-link,
  .delight-toast,
  .pulse-dot {
    display: none !important;
  }
  .page {
    max-width: 100%;
    padding: 0;
  }
  section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  .card,
  .how-card,
  .testimonial,
  .newsletter,
  .cta-block {
    border: 1px solid oklch(0.82 0.008 250);
    box-shadow: none;
    break-inside: avoid;
  }
}
