/* ==========================================================================
   Onward Studio · runnolimits.com
   Palette: Warm Stone & Saffron
   Fonts: Calistoga (display) · Atkinson Hyperlegible (body) · Anonymous Pro (mono)
   ========================================================================== */

:root {
  /* Brief palette · exact hexes (do not substitute) */
  --primary: #78716C;        /* warm stone */
  --secondary: #A8A29E;      /* light stone */
  --accent: #D97706;         /* saffron · single accent, locked */
  --bg: #FAF5F2;             /* warm background */
  --fg: #0F172A;             /* dark foreground (WCAG AA on bg) */

  /* Derived tints (kept within the stone+saffron family) */
  --bg-2: #F3EAE3;
  --bg-3: #ECE0D6;
  --surface: #FFFFFF;
  --surface-warm: #FBF4EE;
  --line: #E6DAD0;
  --line-strong: #D8C8BB;
  --fg-soft: #3A3631;        /* still dark, never grey-on-grey for body */
  --accent-dark: #B45309;
  --accent-soft: #FCEBD2;
  --primary-ink: #4A443F;

  /* One corner-radius scale */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(74, 68, 63, 0.06), 0 2px 6px rgba(74, 68, 63, 0.05);
  --shadow-md: 0 6px 16px rgba(74, 68, 63, 0.08), 0 14px 36px rgba(74, 68, 63, 0.07);
  --shadow-lg: 0 18px 50px rgba(74, 68, 63, 0.13);

  --maxw: 1180px;
  --measure: 68ch;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --ff-display: "Calistoga", Georgia, "Times New Roman", serif;
  --ff-body: "Atkinson Hyperlegible", system-ui, -apple-system, sans-serif;
  --ff-mono: "Anonymous Pro", ui-monospace, "SFMono-Regular", monospace;
}

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

body {
  font-family: var(--ff-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;            /* leading-relaxed for long-form reading */
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* layered warm background wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60rem 40rem at 12% -8%, rgba(217, 119, 6, 0.10), transparent 60%),
    radial-gradient(52rem 38rem at 100% 0%, rgba(168, 162, 158, 0.18), transparent 55%),
    radial-gradient(46rem 40rem at 50% 120%, rgba(120, 113, 108, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

/* ----------------------------------------------------------- a11y focus */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--fg);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }
.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;
}

/* ------------------------------------------------------------ structure */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* ------------------------------------------------------------ typography */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 400; line-height: 1.12; color: var(--fg); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 1.7rem + 4.2vw, 4.75rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.3vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); line-height: 1.2; }
h4 { font-size: 1.15rem; }
p { max-width: var(--measure); }

.eyebrow {
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.lede { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--fg-soft); max-width: 60ch; line-height: 1.6; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--ff-body); font-weight: 700;
  font-size: 1rem; line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s;
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(217, 119, 6, 0.34); color: #fff; }
.btn--ghost {
  background: transparent; color: var(--fg);
  border-color: var(--line-strong);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--primary); background: var(--surface-warm); color: var(--fg); }
.btn--block { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: 5rem;                 /* h-20 */
  display: flex; align-items: center;
  background: rgba(250, 245, 242, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--fg); flex-shrink: 0; }
.brand__mark {
  width: 2.4rem; height: 2.4rem; border-radius: var(--r-md);
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent), var(--accent-dark));
  box-shadow: var(--shadow-sm);
}
.brand__mark svg { width: 1.4rem; height: 1.4rem; }
.brand__name { font-family: var(--ff-display); font-size: 1.4rem; line-height: 1; }
.brand__name b { color: var(--accent-dark); font-weight: inherit; }

.nav { display: flex; align-items: center; gap: 0.3rem; }
.nav a {
  font-weight: 600; color: var(--fg); text-decoration: none;
  padding: 0.55rem 0.95rem; border-radius: var(--r-pill);
  font-size: 0.98rem; transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: var(--surface-warm); color: var(--accent-dark); }
.nav a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); }
.nav__cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  background: var(--surface); border: 1.5px solid var(--line-strong);
  width: 2.9rem; height: 2.9rem; border-radius: var(--r-md);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 1.3rem; height: 1.3rem; color: var(--fg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 5rem 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 1rem clamp(1.1rem, 4vw, 2.5rem) 1.6rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
    max-height: calc(100vh - 5rem); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .nav__cta { margin-left: 0; margin-top: 0.5rem; }
  .nav .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
}

/* ---------------------------------------------------------------- hero */
.hero { padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 6rem); position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__col { max-width: 40rem; }      /* asymmetric editorial, left-aligned */
.hero h1 { margin-block: 1.1rem 1.4rem; }
.hero h1 .word { display: inline-block; }
.hero h1 .char { display: inline-block; will-change: transform, opacity; }
.hero h1 .accent-word { color: var(--accent-dark); }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.4rem;
  padding-top: 1.8rem; border-top: 1px solid var(--line);
}
.hero__meta .stat strong {
  font-family: var(--ff-display); font-size: 1.9rem; display: block; line-height: 1; color: var(--fg);
}
.hero__meta .stat span { font-size: 0.85rem; color: var(--fg-soft); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__media { position: relative; }
.hero__media img {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border: 6px solid var(--surface);
}
.hero__media .float-card {
  position: absolute; left: -1.4rem; bottom: 1.6rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1rem 1.2rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 0.8rem;
  max-width: 16rem;
}
.hero__media .float-card .dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 0 4px var(--accent-soft); }
.hero__media .float-card span { font-size: 0.86rem; color: var(--fg-soft); line-height: 1.4; }
.hero__blob {
  position: absolute; z-index: -1; inset: -10% -8% -6% -6%;
  background: radial-gradient(closest-side, rgba(217,119,6,0.14), transparent);
  filter: blur(8px);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 28rem; }
  .hero__media img { aspect-ratio: 16 / 11; }
  .hero__media .float-card { left: auto; right: -0.4rem; }
}

/* ----------------------------------------------------------- pill row */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.pill {
  font-family: var(--ff-mono); font-size: 0.76rem; letter-spacing: 0.04em;
  text-transform: uppercase; font-weight: 700;
  padding: 0.4rem 0.85rem; border-radius: var(--r-pill);
  background: var(--surface-warm); border: 1px solid var(--line);
  color: var(--primary-ink);
}

/* ------------------------------------------------------- section heads */
.section-head { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; }
.section-head.center p { margin-inline: auto; }

/* -------------------------------------------------- value / why cards */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.2rem; }
.value-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  position: relative; overflow: hidden;
}
.value-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 4px;
  background: linear-gradient(var(--accent), var(--accent-dark)); transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s var(--ease);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.value-card:hover::after { transform: scaleY(1); }
.value-card .ico {
  width: 3rem; height: 3rem; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--accent-soft); color: var(--accent-dark);
}
.value-card .ico svg { width: 1.5rem; height: 1.5rem; }
.value-card h3 { margin-bottom: 0.5rem; }
.value-card p { color: var(--fg-soft); font-size: 0.98rem; }

@media (prefers-reduced-motion: reduce) {
  .value-card:hover { transform: none; }
}

/* -------------------------------------------- sticky-pin steps section */
.steps {
  position: relative;
  background:
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border-block: 1px solid var(--line);
}
.steps-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.steps__sticky { position: sticky; top: 7rem; }
.steps__sticky .eyebrow { margin-bottom: 1rem; }
.steps__sticky .progress {
  margin-top: 1.6rem; height: 6px; border-radius: var(--r-pill);
  background: var(--line-strong); overflow: hidden;
}
.steps__sticky .progress span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent), var(--accent-dark)); border-radius: inherit; transition: width 0.4s var(--ease); }
.step {
  padding: 2rem 0; border-top: 1px solid var(--line-strong);
  display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start;
  opacity: 0.45; transition: opacity 0.5s var(--ease);
}
.step:first-child { border-top: 0; }
.step.is-active { opacity: 1; }
.step__num {
  font-family: var(--ff-mono); font-weight: 700; font-size: 0.95rem;
  width: 2.7rem; height: 2.7rem; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--primary-ink);
  transition: background 0.4s var(--ease), color 0.4s, border-color 0.4s;
}
.step.is-active .step__num { background: var(--accent); color: #fff; border-color: var(--accent); }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--fg-soft); font-size: 0.98rem; }

@media (max-width: 820px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps__sticky { position: static; }
}

/* --------------------------------------------------------- services */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.3rem; }
.svc-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 2rem 1.9rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.9rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-card .ico { width: 3.2rem; height: 3.2rem; border-radius: var(--r-md); display: grid; place-items: center; background: linear-gradient(140deg, var(--accent-soft), #fff); color: var(--accent-dark); border: 1px solid var(--line); }
.svc-card .ico svg { width: 1.6rem; height: 1.6rem; }
.svc-card h3 { margin-top: 0.2rem; }
.svc-card p { color: var(--fg-soft); font-size: 0.97rem; }
.svc-card .svc-feat { list-style: none; padding: 0; margin-top: 0.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.svc-card .svc-feat li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.93rem; color: var(--fg-soft); }
.svc-card .svc-feat svg { width: 1.1rem; height: 1.1rem; color: var(--accent-dark); flex-shrink: 0; margin-top: 0.18rem; }
@media (prefers-reduced-motion: reduce) { .svc-card:hover { transform: none; } }

/* ---------------------------------------------------------- stats band */
.stats-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-ink) 100%);
  color: #fff; border-radius: var(--r-xl); padding: clamp(2.2rem, 5vw, 3.4rem);
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.stats-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background: radial-gradient(40rem 22rem at 90% -20%, rgba(217,119,6,0.4), transparent 60%);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 1.6rem 1rem; }
.stat-cell strong { font-family: var(--ff-display); font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); line-height: 1; display: block; color: #fff; }
.stat-cell strong .u { color: var(--accent); }
.stat-cell span { display: block; margin-top: 0.5rem; color: rgba(255,255,255,0.82); font-size: 0.95rem; }

/* ---------------------------------------------------- testimonials */
.tst-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.3rem; }
.tst-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.9rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1.1rem;
}
.tst-card .quote-mark { font-family: var(--ff-display); color: var(--accent); font-size: 3rem; line-height: 0.5; height: 1.3rem; }
.tst-card blockquote { font-size: 1.05rem; color: var(--fg); line-height: 1.55; }
.tst-card figcaption { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.tst-card .av { width: 2.8rem; height: 2.8rem; border-radius: 50%; background: linear-gradient(140deg, var(--secondary), var(--primary)); color: #fff; display: grid; place-items: center; font-family: var(--ff-display); font-size: 1.1rem; flex-shrink: 0; }
.tst-card .who b { display: block; font-weight: 700; }
.tst-card .who span { font-size: 0.85rem; color: var(--fg-soft); }

/* ------------------------------------------------------------ team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.3rem; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--shadow-sm); text-align: left; }
.team-card .av { width: 3.6rem; height: 3.6rem; border-radius: var(--r-md); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); font-family: var(--ff-display); font-size: 1.3rem; margin-bottom: 1rem; }
.team-card h3 { font-size: 1.2rem; }
.team-card .role { font-family: var(--ff-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-dark); margin: 0.3rem 0 0.7rem; font-weight: 700; }
.team-card p { font-size: 0.93rem; color: var(--fg-soft); }

/* ----------------------------------------------------- resources / blog */
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.4rem; }
.post-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card a.cover { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card a.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover a.cover img { transform: scale(1.05); }
.post-card .body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.post-card .tag { font-family: var(--ff-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--accent-dark); }
.post-card h3 { font-size: 1.22rem; line-height: 1.18; }
.post-card h3 a { color: var(--fg); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-dark); }
.post-card p { font-size: 0.94rem; color: var(--fg-soft); }
.post-card .meta { margin-top: auto; padding-top: 0.6rem; font-size: 0.82rem; color: var(--primary); font-family: var(--ff-mono); }
@media (prefers-reduced-motion: reduce) { .post-card:hover { transform: none; } .post-card:hover a.cover img { transform: none; } }

/* the dofollow blogroll list */
.blogroll {
  margin-top: 2.4rem; padding: 1.6rem 1.8rem;
  background: var(--surface-warm); border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
}
.blogroll h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.blogroll p { font-size: 0.92rem; color: var(--fg-soft); margin-bottom: 1rem; }
.blogroll ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 0.9rem; }
.blogroll li { display: inline-flex; }
.blogroll a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; text-decoration: none; color: var(--accent-dark);
  background: var(--surface); border: 1px solid var(--line);
  padding: 0.5rem 0.95rem; border-radius: var(--r-pill); font-size: 0.92rem;
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.blogroll a:hover { border-color: var(--accent); transform: translateY(-2px); }
.blogroll a svg { width: 0.85rem; height: 0.85rem; }

/* ------------------------------------------------------------- CTA band */
.cta-band {
  background: linear-gradient(135deg, #2A2622 0%, var(--primary-ink) 100%);
  color: #fff; border-radius: var(--r-xl); padding: clamp(2.6rem, 6vw, 4.5rem);
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg); text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(34rem 22rem at 15% 0%, rgba(217,119,6,0.35), transparent 60%),
              radial-gradient(30rem 24rem at 100% 110%, rgba(168,162,158,0.25), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 48ch; margin: 1rem auto 1.8rem; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--surface-warm); border-top: 1px solid var(--line); margin-top: 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.2rem; padding-block: clamp(2.8rem, 5vw, 4rem); }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.93rem; color: var(--fg-soft); max-width: 30ch; }
.footer-col h4 { font-family: var(--ff-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary); margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--fg); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent-dark); }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.85rem; color: var(--fg-soft); margin: 0; }
.footer-bottom .legal { display: flex; gap: 1.2rem; }
.footer-bottom .legal a { font-size: 0.85rem; color: var(--fg-soft); text-decoration: none; }
.footer-bottom .legal a:hover { color: var(--accent-dark); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- page hero (sub) */
.page-hero { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.page-hero .eyebrow { margin-bottom: 1.1rem; }
.page-hero h1 { max-width: 18ch; }
.page-hero p { margin-top: 1.2rem; }
.breadcrumb { font-family: var(--ff-mono); font-size: 0.8rem; color: var(--primary); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); }

/* ---------------------------------------------------------- about feats */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: var(--r-xl); box-shadow: var(--shadow-md); border: 6px solid var(--surface); width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.feature-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.4rem; }
.feature-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.feature-list .fi { width: 2.2rem; height: 2.2rem; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; flex-shrink: 0; }
.feature-list .fi svg { width: 1.15rem; height: 1.15rem; }
.feature-list b { display: block; font-family: var(--ff-body); }
.feature-list span { font-size: 0.95rem; color: var(--fg-soft); }

/* values pill list */
.tenets { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem,1fr)); gap: 1.2rem; }
.tenet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.tenet .n { font-family: var(--ff-mono); color: var(--accent-dark); font-weight: 700; font-size: 0.85rem; }
.tenet h3 { font-size: 1.2rem; margin: 0.5rem 0; }
.tenet p { font-size: 0.94rem; color: var(--fg-soft); }

/* -------------------------------------------------------- contact form */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-aside h2 { font-size: 1.6rem; }
.contact-aside .info-list { list-style: none; padding: 0; margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-aside .info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-aside .info-list .ci { width: 2.6rem; height: 2.6rem; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; flex-shrink: 0; }
.contact-aside .info-list .ci svg { width: 1.25rem; height: 1.25rem; }
.contact-aside .info-list b { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); font-family: var(--ff-mono); margin-bottom: 0.2rem; }
.contact-aside .info-list a, .contact-aside .info-list span { color: var(--fg); text-decoration: none; }
.contact-aside .info-list a:hover { color: var(--accent-dark); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.5rem; font-size: 0.96rem; }
.field label .req { color: var(--accent-dark); }
.field input, .field textarea {
  width: 100%; font-family: var(--ff-body); font-size: 1rem; color: var(--fg);
  background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  padding: 0.9rem 1rem; transition: border-color 0.2s, box-shadow 0.2s; line-height: 1.5;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--secondary); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-note { font-size: 0.85rem; color: var(--fg-soft); margin-top: 1rem; }
.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--r-md); background: var(--accent-soft); border: 1px solid var(--line-strong); color: var(--primary-ink); font-size: 0.92rem; display: none; }
.form-status.show { display: block; }

/* -------------------------------------------------------- article body */
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 980px) { .article-shell { grid-template-columns: 1fr; } .article-aside { position: static !important; } }

.article-hero img { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-md); border: 6px solid var(--surface); margin-top: 1.5rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; font-family: var(--ff-mono); font-size: 0.85rem; color: var(--primary); margin-top: 1.4rem; }
.article-meta .tag { color: var(--accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

.prose { max-width: 72ch; }
.prose[dir="rtl"] { max-width: 70ch; margin-inline-start: 0; text-align: right; }
.prose > * { margin-block: 1.05em; }
.prose > :first-child { margin-top: 0; }
.prose p { max-width: 72ch; color: var(--fg-soft); }
.prose strong { color: var(--fg); }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); margin-top: 2.4em; margin-bottom: 0.2em; padding-top: 0.4em; }
.prose h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); margin-top: 1.8em; margin-bottom: 0.1em; color: var(--primary-ink); }
.prose a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { padding-inline-start: 1.4em; color: var(--fg-soft); }
.prose[dir="rtl"] ul, .prose[dir="rtl"] ol { padding-inline-start: 1.4em; }
.prose li { margin-block: 0.5em; }
.prose li::marker { color: var(--accent-dark); }
.prose img { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); margin-inline: auto; border: 1px solid var(--line); }
.prose figure { margin-block: 1.6em; }
.prose em { color: var(--primary-ink); }
.prose section { margin-top: 2em; }
.prose section h2 { margin-top: 1.4em; }

/* article FAQ readability */
.prose [itemprop="name"] { font-family: var(--ff-display); }
.prose [itemprop="mainEntity"] {
  border-top: 1px solid var(--line); padding-top: 1.2em; margin-top: 1.2em;
}
.prose [itemprop="text"] { color: var(--fg-soft); }

.article-aside { position: sticky; top: 7rem; display: flex; flex-direction: column; gap: 1.4rem; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.aside-card h4 { font-family: var(--ff-display); font-size: 1.15rem; margin-bottom: 0.8rem; }
.aside-card .ref-link { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--accent-dark); text-decoration: none; padding: 0.55rem 0; font-size: 0.95rem; }
.aside-card .ref-link:hover { color: var(--accent); }
.aside-card .ref-link svg { width: 0.9rem; height: 0.9rem; flex-shrink: 0; }
.aside-card.cta-mini { background: linear-gradient(140deg, var(--primary), var(--primary-ink)); color: #fff; border: 0; }
.aside-card.cta-mini h4 { color: #fff; }
.aside-card.cta-mini p { color: rgba(255,255,255,0.85); font-size: 0.92rem; margin-bottom: 1rem; }
.toc { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.toc a { color: var(--fg-soft); text-decoration: none; font-size: 0.92rem; display: block; padding: 0.25rem 0; border-left: 2px solid var(--line); padding-left: 0.8rem; }
.toc a:hover { color: var(--accent-dark); border-left-color: var(--accent); }

/* related */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem,1fr)); gap: 1.3rem; }

/* ------------------------------------------------------- reveal motion */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero h1 .char { opacity: 1 !important; transform: none !important; }
}

/* divider */
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; margin-block: clamp(2.5rem, 5vw, 4rem); }
