/* Cadence Wellbeing Studio — naubrmj.info
   Palette: Graphite Ice & Lime Pulse
   primary #1B2024 / secondary #3A434C / accent #B6E62B / bg #F4F7F9 / fg #14181B
   Single accent lock: lime is the ONLY accent. Ice-blue is a neutral tint. */

:root {
  --primary: #1B2024;
  --secondary: #3A434C;
  --accent: #B6E62B;
  --accent-press: #a6d51f;
  --bg: #F4F7F9;
  --fg: #14181B;

  /* ice-blue neutral tint family (never an accent) */
  --ice-surface: #DCE6EC;
  --ice-border: #C3D2DB;
  --ice-soft: #EAF0F4;

  --white: #ffffff;
  --ink-on-accent: #14181B;     /* graphite text ON lime, never white */
  --muted: #5A6470;             /* AA on white/bg */
  --muted-light: #B6C2CC;       /* on dark surfaces */

  --radius: 12px;               /* ONE radius scale, soft 12px */
  --radius-sm: 8px;
  --radius-pill: 999px;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --measure: 65ch;

  --font-display: "Saira", system-ui, sans-serif;
  --font-body: "Encode Sans", system-ui, sans-serif;
  --font-mono: "Lekton", ui-monospace, monospace;

  --shadow-sm: 0 1px 2px rgba(20, 24, 27, .06), 0 2px 8px rgba(20, 24, 27, .05);
  --shadow-md: 0 10px 30px rgba(20, 24, 27, .10), 0 2px 8px rgba(20, 24, 27, .06);
  --shadow-lg: 0 24px 60px rgba(20, 24, 27, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- focus: visible everywhere, lime glow ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: 12px; top: -100px;
  background: var(--accent); color: var(--ink-on-accent);
  padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 700; z-index: 200; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.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;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- typography ---------- */
.h-display, .hero-title, .page-title, .article-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--primary);
  margin: 0;
}
.h-display { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.25rem); }
.lead {
  font-size: clamp(1.06rem, 1rem + .4vw, 1.22rem);
  color: var(--secondary);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 0 1.2rem;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 1.1rem;
}
.eyebrow-rule { display: inline-block; width: 30px; height: 2px; background: var(--accent); border-radius: 2px; }

.ic { width: 24px; height: 24px; display: inline-block; flex: none; }
.ic-sm { width: 18px; height: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  line-height: 1.1;
}
.btn .ic { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-press); border-color: var(--accent-press); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--ice-border); }
.btn-ghost:hover { border-color: var(--primary); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; color: var(--primary); text-decoration: none;
  border-bottom: 2px solid var(--accent); padding-bottom: 2px;
  transition: gap .18s var(--ease), color .18s var(--ease);
}
.text-link:hover { gap: .7rem; color: var(--secondary); }
.text-link .ic { transition: transform .18s var(--ease); }
.text-link:hover .ic { transform: translateX(2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 247, 249, .86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--ice-border);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--primary); letter-spacing: -.01em; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--primary); color: var(--accent); }
.brand-mark .ic { width: 22px; height: 22px; }
.brand-dot { color: var(--accent); }
.brand-light { color: var(--white); }
.brand-light .brand-mark { background: var(--accent); color: var(--primary); }

.site-nav { display: flex; gap: .35rem; margin-left: auto; }
.nav-link {
  text-decoration: none; color: var(--secondary); font-weight: 600;
  padding: .5rem .8rem; border-radius: var(--radius-sm);
  position: relative; transition: color .18s var(--ease), background .18s var(--ease);
}
.nav-link:hover { color: var(--primary); background: var(--ice-soft); }
.nav-link.is-active { color: var(--primary); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.header-cta { margin-left: .4rem; padding: .65rem 1.2rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--ice-border); border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: .25rem; padding: .75rem var(--gutter) 1.25rem; border-bottom: 1px solid var(--ice-border); background: var(--bg); }
.mobile-nav a { text-decoration: none; color: var(--primary); font-weight: 600; padding: .8rem .5rem; border-radius: var(--radius-sm); }
.mobile-nav a:hover { background: var(--ice-soft); }
.mobile-nav .btn { margin-top: .5rem; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 2rem + 4vw, 5rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(182, 230, 43, .14), transparent 60%),
    radial-gradient(50% 60% at 100% 30%, rgba(220, 230, 236, .8), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg));
}
.hero-grid { display: grid; grid-template-columns: 1.3fr .78fr; gap: clamp(1.75rem, 1rem + 3vw, 3.25rem); align-items: center; }
.hero-copy { max-width: 44rem; }
.hero-title { font-size: clamp(2.3rem, 1.5rem + 2.7vw, 3.5rem); margin: .2rem 0 1.2rem; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line-accent { color: var(--secondary); }
.hero-title .word { display: inline-block; white-space: nowrap; }
.hero-title .ch { display: inline-block; will-change: transform, opacity; }
.hero-title .sp { display: inline-block; }
.hero-sub { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: var(--secondary); line-height: 1.55; max-width: 30ch; margin: 0 0 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--ice-border); }
.hero-badge {
  position: absolute; left: -14px; bottom: 26px;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--primary); color: var(--white);
  padding: .6rem 1rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-md);
}
.hero-badge-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* ---------- section rhythm ---------- */
.section { padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; }
.section-head { max-width: 60ch; margin: 0 0 2.6rem; }
.section-head-split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; max-width: none; }
.section-lead { color: var(--secondary); font-size: 1.08rem; margin: 0; padding-bottom: .4rem; }

/* ---------- intro (asymmetric split) ---------- */
.section-intro { background: var(--white); border-block: 1px solid var(--ice-border); }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.intro-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--ice-border); }
.intro-copy p { max-width: var(--measure); color: var(--secondary); }
.intro-copy .text-link { margin-top: .6rem; }

/* ---------- services cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card {
  background: var(--white); border: 1px solid var(--ice-border); border-radius: var(--radius);
  padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: .55rem;
  box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--ice-border); }
.svc-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ice-surface); color: var(--primary); margin-bottom: .4rem; }
.svc-kicker { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--secondary); margin: 0; font-weight: 700; }
.svc-title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--primary); margin: .1rem 0 .2rem; line-height: 1.15; }
.svc-blurb { color: var(--secondary); margin: 0; }
.svc-points { list-style: none; margin: .6rem 0 1rem; padding: 0; display: grid; gap: .55rem; }
.svc-points li { display: flex; align-items: flex-start; gap: .55rem; color: var(--fg); }
.svc-points .ic { color: var(--primary); margin-top: 2px; }
.svc-points span { line-height: 1.45; }
.svc-card .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- pinned approach ---------- */
.section-pin { background: var(--primary); color: var(--white); }
.section-pin .h-display, .section-pin .eyebrow { color: var(--white); }
.section-pin .eyebrow { color: var(--ice-surface); }
.pin-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.pin-intro { position: sticky; top: 96px; }
.pin-intro p { color: var(--muted-light); max-width: 34ch; }
.pin-track { display: grid; gap: 1.25rem; }
.pin-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 1.9rem 1.75rem;
}
.pin-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: .5rem 0 .5rem; color: var(--white); }
.pin-card p { color: var(--muted-light); margin: 0; max-width: 52ch; }
.pin-n { font-family: var(--font-mono); font-weight: 700; font-size: 1rem; color: var(--accent); letter-spacing: .1em; }

/* ---------- stats ---------- */
.section-stats { padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0; background: var(--ice-soft); border-block: 1px solid var(--ice-border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: left; padding: .4rem 0; border-left: 3px solid var(--accent); padding-left: 1.1rem; }
.stat-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); color: var(--primary); line-height: 1; letter-spacing: -.02em; }
.stat-label { display: block; color: var(--secondary); margin-top: .4rem; font-size: .98rem; }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: var(--white); border: 1px solid var(--ice-border); border-radius: var(--radius);
  padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: var(--shadow-sm);
}
.testi-quote { color: var(--accent); }
.testi-quote .ic { width: 34px; height: 34px; }
.testi-card blockquote { margin: 0; font-size: 1.1rem; line-height: 1.6; color: var(--fg); }
.testi-card figcaption { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.testi-card figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ice-border); }
.testi-card figcaption strong { display: block; color: var(--primary); font-family: var(--font-display); font-weight: 600; }
.testi-ctx { display: block; color: var(--muted); font-size: .9rem; }

/* ---------- resources blogroll ---------- */
.section-resources { background: var(--white); border-block: 1px solid var(--ice-border); }
.resource-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.resource-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: start;
  padding: 1.8rem 0; border-top: 1px solid var(--ice-border);
}
.resource-row:last-child { border-bottom: 1px solid var(--ice-border); }
.resource-topic { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--secondary); font-weight: 700; }
.resource-title { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; margin: .35rem 0 .5rem; line-height: 1.15; }
.resource-title a { text-decoration: none; color: var(--primary); }
.resource-title a:hover { color: var(--secondary); }
.resource-excerpt { color: var(--secondary); margin: 0; max-width: 70ch; }
.resource-source { color: var(--muted); font-size: .92rem; margin: 0; text-align: right; min-width: 12rem; }
.resource-source a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.resource-source a:hover { color: var(--primary); }

/* ---------- CTA band ---------- */
.section-cta { padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.cta-band {
  background: var(--primary); color: var(--white); border-radius: var(--radius);
  padding: clamp(2.5rem, 2rem + 3vw, 4rem); display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: center; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(182,230,43,.22), transparent 70%); pointer-events: none;
}
.cta-band .h-display { color: var(--white); margin-bottom: .5rem; }
.cta-copy p { color: var(--muted-light); margin: 0; max-width: 48ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--primary); color: var(--muted-light); padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1.2fr; gap: 2.5rem; }
.footer-brand p { max-width: 30ch; margin: 1rem 0 0; }
.footer-contact a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.2); }
.footer-contact a:hover { border-color: var(--accent); }
.footer-h { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--white); margin: 0 0 1rem; letter-spacing: .01em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-col a { color: var(--muted-light); text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-col p { margin: 0 0 .8rem; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.footer-base p { margin: 0; }

/* ---------- inner page hero ---------- */
.page-hero { padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 90% 0%, rgba(220,230,236,.7), transparent 70%),
              radial-gradient(40% 50% at 0% 100%, rgba(182,230,43,.1), transparent 65%);
}
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.page-hero-narrow { grid-template-columns: 1fr; max-width: 60ch; }
.page-title { font-size: clamp(2.2rem, 1.5rem + 3.4vw, 3.6rem); margin: .2rem 0 1.1rem; }
.page-hero-copy .lead { margin-bottom: 1.4rem; }
.page-hero-media img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--ice-border); }

/* ---------- about story ---------- */
.story-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.story-copy p { color: var(--secondary); max-width: var(--measure); }
.story-aside { display: grid; gap: 1rem; position: sticky; top: 96px; }
.story-stat { background: var(--white); border: 1px solid var(--ice-border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.story-stat span { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--primary); line-height: 1; }
.story-stat p { margin: .5rem 0 0; color: var(--secondary); }

/* ---------- values ---------- */
.section-values { background: var(--white); border-block: 1px solid var(--ice-border); }
.section-approach-band { background: var(--ice-soft); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.values-grid-3 { grid-template-columns: repeat(3, 1fr); }
.value-card { background: var(--bg); border: 1px solid var(--ice-border); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.section-approach-band .value-card { background: var(--white); }
.value-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--primary); margin: .4rem 0 .5rem; }
.value-card p { margin: 0; color: var(--secondary); }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.team-card { background: var(--white); border: 1px solid var(--ice-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-photo { aspect-ratio: 380/265; overflow: hidden; background: var(--ice-surface); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--primary); margin: 1.2rem 1.4rem .15rem; }
.team-role { margin: 0 1.4rem .6rem; color: var(--secondary); font-weight: 600; font-size: .92rem; }
.team-bio { margin: 0 1.4rem 1.4rem; color: var(--secondary); }

/* ---------- services detail rows ---------- */
.svc-rows { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.svc-row-rev .svc-row-media { order: 2; }
.svc-row-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--ice-border); }
.svc-row-copy .svc-icon { margin-bottom: .8rem; }
.svc-row-copy .h-display { margin: .3rem 0 .8rem; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); }
.svc-row-copy .btn { margin-top: 1rem; }

/* ---------- contact ---------- */
.contact-points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .9rem; }
.contact-points li { display: flex; align-items: center; gap: .75rem; color: var(--secondary); }
.contact-points .ic { color: var(--primary); }
.contact-points a { color: var(--primary); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--accent); }
.contact-points a:hover { color: var(--secondary); }

.contact-card { background: var(--white); border: 1px solid var(--ice-border); border-radius: var(--radius); padding: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); box-shadow: var(--shadow-md); }
.form-title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--primary); margin: 0 0 .4rem; }
.form-note { color: var(--muted); margin: 0 0 1.5rem; font-size: .95rem; }
.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; color: var(--primary); font-size: .96rem; }
.req { color: var(--secondary); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--fg);
  background: var(--bg); border: 1.5px solid var(--ice-border); border-radius: var(--radius-sm);
  padding: .8rem .95rem; width: 100%; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #7C8893; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(182,230,43,.45); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b4232a; }
.field textarea { resize: vertical; min-height: 120px; }
.form-status { margin: .2rem 0 0; font-size: .92rem; color: #b4232a; min-height: 1.2em; }
.form-thanks { text-align: center; padding: 1rem 0; }
.thanks-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--ink-on-accent); margin-bottom: 1rem; }
.thanks-icon .ic { width: 30px; height: 30px; }
.form-thanks h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--primary); margin: 0 0 .5rem; }
.form-thanks p { color: var(--secondary); margin: 0; max-width: 36ch; margin-inline: auto; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
.faq-intro { position: sticky; top: 96px; }
.faq-intro p { color: var(--secondary); max-width: 34ch; }
.faq-list { display: grid; gap: .9rem; }
.faq-item { background: var(--white); border: 1px solid var(--ice-border); border-radius: var(--radius); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.3rem 1.5rem; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--primary); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--secondary); transition: transform .2s var(--ease); line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 1.5rem 1.4rem; }
.faq-body p { margin: 0; color: var(--secondary); max-width: 62ch; }

/* ---------- insights index ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.post-card { background: var(--white); border: 1px solid var(--ice-border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; background: var(--ice-surface); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-topic { position: absolute; left: 14px; top: 14px; background: var(--primary); color: var(--white); font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--radius-pill); }
.post-card-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-meta { font-family: var(--font-mono); color: var(--muted); font-size: .85rem; margin: 0; }
.post-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.15; margin: 0; }
.post-card-title a { text-decoration: none; color: var(--primary); }
.post-card-title a:hover { color: var(--secondary); }
.post-card-excerpt { color: var(--secondary); margin: 0; }
.post-card .text-link { margin-top: auto; align-self: flex-start; }

/* ---------- article ---------- */
.article-hero { padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0 1.5rem; background: var(--ice-soft); border-bottom: 1px solid var(--ice-border); }
.article-hero-inner { max-width: 760px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--secondary); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.crumbs span { margin: 0 .3rem; }
.article-topic { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--secondary); font-weight: 700; margin: 0 0 .8rem; }
.article-title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); margin: 0 0 1rem; }
.article-meta { font-family: var(--font-mono); color: var(--muted); margin: 0; font-size: .92rem; }
.article-figure-wrap { margin-top: -1px; }
.article-figure { margin: 0; transform: translateY(-1.5rem); }
.article-figure img { width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--ice-border); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 1rem + 4vw, 3.5rem); align-items: start; padding-bottom: 2rem; }
.article-body { max-width: 72ch; font-size: 1.08rem; line-height: 1.8; color: #232a31; }
.article-body > *:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.3rem; }
.article-body h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); color: var(--primary); letter-spacing: -.01em; line-height: 1.15; margin: 2.6rem 0 1rem; }
.article-body h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.55rem); color: var(--primary); margin: 2rem 0 .8rem; }
.article-body h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--primary); margin: 1.6rem 0 .6rem; }
.article-body a { color: var(--secondary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; font-weight: 600; }
.article-body a:hover { color: var(--primary); }
.article-body ul, .article-body ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.article-body li { margin-bottom: .6rem; }
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; border: 1px solid var(--ice-border); box-shadow: var(--shadow-sm); }
.article-body strong { color: var(--primary); }
.article-body blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; border-left: 4px solid var(--accent); background: var(--ice-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--secondary); }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .98rem; }
.article-body th, .article-body td { border: 1px solid var(--ice-border); padding: .7rem .9rem; text-align: left; }
.article-body th { background: var(--ice-soft); color: var(--primary); font-weight: 700; }

.article-side { display: grid; gap: 1.25rem; position: sticky; top: 96px; }
.side-card { background: var(--white); border: 1px solid var(--ice-border); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-sm); }
.side-h { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--primary); margin: 0 0 1rem; }
.side-sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.side-sources li span { display: block; font-weight: 700; color: var(--primary); }
.side-sources li a { color: var(--secondary); word-break: break-word; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); font-size: .9rem; }
.side-sources li a:hover { color: var(--primary); }
.side-cta p { color: var(--secondary); margin: 0 0 1.1rem; }

.section-related { background: var(--white); border-top: 1px solid var(--ice-border); margin-top: 1rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.related-card { display: flex; flex-direction: column; gap: .5rem; background: var(--bg); border: 1px solid var(--ice-border); border-radius: var(--radius); padding: 1.5rem; text-decoration: none; transition: transform .2s var(--ease), border-color .2s var(--ease); }
.related-card:hover { transform: translateY(-3px); border-color: var(--secondary); }
.related-topic { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--secondary); font-weight: 700; }
.related-title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--primary); line-height: 1.2; }
.related-go { color: var(--primary); margin-top: auto; }

/* ---------- 404 ---------- */
.error-hero { text-align: center; padding: clamp(4rem, 3rem + 4vw, 7rem) 0; }
.error-hero .hero-actions { justify-content: center; }
.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 3rem + 6vw, 8rem); color: var(--accent); line-height: 1; margin: 0 0 .5rem; -webkit-text-stroke: 2px var(--primary); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-title .ch, .hero-title .sp { opacity: 1 !important; transform: none !important; }
  .btn:hover, .svc-card:hover, .team-card:hover, .post-card:hover { transform: none !important; }
  .post-card:hover .post-card-media img { transform: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: flex; }
  .hero-grid, .intro-grid, .pin-wrap, .page-hero-grid, .story-grid,
  .faq-grid, .article-layout, .section-head-split, .svc-row { grid-template-columns: 1fr; }
  .svc-row-rev .svc-row-media { order: 0; }
  .pin-intro, .story-aside, .faq-intro, .article-side { position: static; }
  .article-side { margin-top: 1rem; }
  .svc-grid, .testi-grid, .team-grid, .post-grid, .values-grid, .values-grid-3, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-row { grid-template-columns: 1fr; }
  .resource-source { text-align: left; min-width: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .svc-grid, .testi-grid, .team-grid, .post-grid, .values-grid, .values-grid-3, .related-grid, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-badge { left: 8px; }
  .article-figure { transform: none; margin-top: 1.5rem; }
}
