/* ============================================================
   Pausework Editorial — Ink Navy & Butter Paper
   palette: primary #1F2A44  secondary #E8C7C8  accent #F2C14E
            bg #FBF7F0  fg #23262E
   fonts: display Yrsa, body Khula, mono Atkinson Hyperlegible Mono
   ============================================================ */

:root {
  --primary: #1F2A44;       /* ink navy - structure */
  --primary-700: #18223a;
  --primary-900: #121a2d;
  --secondary: #E8C7C8;     /* blush - soft surface tint only */
  --secondary-soft: #f4e3e4;
  --accent: #F2C14E;        /* butter yellow - THE ONLY accent */
  --accent-700: #d9a52f;    /* darker butter for AA text-on-paper */
  --accent-ink: #7a5a12;    /* butter shifted dark enough for body links on paper (AA) */
  --bg: #FBF7F0;            /* warm paper */
  --bg-2: #f5eee1;          /* slightly deeper paper */
  --fg: #23262E;            /* ink foreground */
  --ink-soft: #3c4150;
  --muted: #5b606e;
  --line: #e4dccd;
  --line-strong: #d4c8b2;
  --white: #fffdf9;

  --shadow-navy: 0 1px 2px rgba(31,42,68,.04), 0 8px 24px rgba(31,42,68,.08);
  --shadow-navy-lg: 0 2px 6px rgba(31,42,68,.06), 0 24px 60px rgba(31,42,68,.14);
  --radius: 18px;           /* ONE soft radius scale */
  --radius-sm: 12px;
  --radius-pill: 999px;

  --measure: 65ch;
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --display: "Yrsa", Georgia, "Times New Roman", serif;
  --body: "Khula", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "SFMono-Regular", monospace;
}

*, *::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(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--primary);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1.2em; }

a { color: var(--accent-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-color: var(--accent); }

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

::selection { background: var(--accent); color: var(--primary-900); }

:focus-visible {
  outline: 3px solid var(--accent-700);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--primary); color: var(--white);
  padding: 12px 18px; border-radius: var(--radius-sm);
  z-index: 200; font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.center { text-align: center; }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.35rem); color: var(--ink-soft); line-height: 1.6; }

/* ---------- eyebrow (restrained, uppercase letter-spaced rule) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono);
  font-size: .72rem; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--body); font-weight: 700; font-size: 1.02rem;
  padding: .95rem 1.7rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer; text-decoration: none;
  min-height: 52px; line-height: 1; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { flex: none; }
.btn--primary {
  background: var(--accent); color: var(--primary-900);
  box-shadow: 0 6px 18px rgba(242,193,78,.4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(242,193,78,.5); }
.btn--ghost {
  background: transparent; color: var(--primary); border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--primary); background: rgba(31,42,68,.04); transform: translateY(-2px); }
.btn--onink {
  background: var(--accent); color: var(--primary-900);
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}
.btn--onink:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,240,.82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(31,42,68,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name {
  font-family: var(--display); font-weight: 700; font-size: 1.35rem;
  color: var(--primary); letter-spacing: -.01em; line-height: 1;
}
.brand__name small { display: block; font-family: var(--mono); font-size: .56rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-block; padding: .55rem .85rem; border-radius: var(--radius-pill);
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .98rem;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a:hover { color: var(--primary); background: rgba(31,42,68,.05); }
.nav__links a[aria-current="page"] { color: var(--primary); }
.nav__links a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--accent);
  border-radius: 2px; margin-top: 3px;
}
.nav__cta { margin-left: .4rem; }
.nav__toggle {
  display: none; background: transparent; border: 2px solid var(--line-strong);
  border-radius: var(--radius-sm); width: 48px; height: 48px; cursor: pointer;
  align-items: center; justify-content: center; color: var(--primary);
}

@media (max-width: 880px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: 78px 0 auto 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: .2rem;
    padding: 1rem clamp(1.2rem,4vw,2.5rem) 1.6rem;
    box-shadow: var(--shadow-navy-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav__menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links { flex-direction: column; align-items: stretch; }
  .nav__links a { padding: .85rem 1rem; font-size: 1.1rem; }
  .nav__cta { margin: .6rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 7vw, 6rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(242,193,78,.16), transparent 60%),
    radial-gradient(900px 600px at 8% 30%, rgba(232,199,200,.32), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title { margin: 0 0 1.1rem; }
.hero__title em { font-style: normal; color: var(--accent-700); }
.hero__sub { max-width: 44ch; margin: 0 0 2rem; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero__note { font-family: var(--mono); font-size: .82rem; color: var(--muted); margin: 1.4rem 0 0; }
.hero__media { position: relative; }
.hero__media-frame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-navy-lg); border: 1px solid var(--line);
  position: relative; background: var(--secondary-soft);
}
.hero__media-frame img { width: 100%; aspect-ratio: 7/5; object-fit: cover; }
.hero__chip {
  position: absolute; left: -14px; bottom: 24px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem 1.1rem; box-shadow: var(--shadow-navy-lg);
  display: flex; align-items: center; gap: .7rem; max-width: 230px;
}
.hero__chip .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--secondary); display: grid; place-items: center; color: var(--primary); flex: none; }
.hero__chip strong { font-family: var(--display); color: var(--primary); display: block; font-size: 1.05rem; line-height: 1.1; }
.hero__chip span { font-size: .82rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__sub { max-width: none; }
}

/* ---------- marquee stat strip ---------- */
.statbar { background: var(--primary); color: var(--bg); }
.statbar__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.statbar__cell { padding: clamp(1.8rem,3vw,2.6rem) 1.2rem; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.statbar__cell:last-child { border-right: none; }
.statbar__val { font-family: var(--display); font-size: clamp(1.6rem,2.6vw,2.2rem); color: var(--accent); line-height: 1; margin-bottom: .35rem; }
.statbar__lab { font-size: .9rem; color: rgba(251,247,240,.78); }
@media (max-width: 720px) {
  .statbar__grid { grid-template-columns: repeat(2,1fr); }
  .statbar__cell:nth-child(2) { border-right: none; }
  .statbar__cell:nth-child(1), .statbar__cell:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* ---------- section heading block ---------- */
.sec-head { max-width: 60ch; margin-bottom: clamp(2.2rem,4vw,3.2rem); }
.sec-head.center { margin-inline: auto; }
.sec-head p { color: var(--ink-soft); margin: 0; }

/* ---------- tilt cards ---------- */
.tilt {
  position: relative; transform-style: preserve-3d; will-change: transform;
}
.tilt__inner { transform: translateZ(0); }
.sheen {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(242,193,78,.0) 42%, rgba(255,255,255,.55) 50%, rgba(242,193,78,.0) 58%, transparent 70%);
  background-size: 250% 250%; background-position: var(--sx,120%) var(--sy,120%);
  opacity: 0; transition: opacity .3s var(--ease);
  mix-blend-mode: soft-light; z-index: 3;
}
.tilt:hover .sheen { opacity: 1; }

/* ---------- feature cards (services / approach) ---------- */
.cards { display: grid; gap: 1.4rem; }
.cards--3 { grid-template-columns: repeat(3,1fr); }
.cards--2 { grid-template-columns: repeat(2,1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem,2.4vw,2.1rem); box-shadow: var(--shadow-navy);
  height: 100%; transition: box-shadow .3s var(--ease);
}
.card:hover { box-shadow: var(--shadow-navy-lg); }
.card .ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--secondary-soft); color: var(--primary); margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); margin-bottom: 1rem; }
.card__list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .6rem; }
.card__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .96rem; color: var(--ink-soft); }
.card__list svg { flex: none; color: var(--accent-700); margin-top: 3px; }
.card__link { font-weight: 700; text-decoration: none; color: var(--primary); display: inline-flex; align-items: center; gap: .4rem; }
.card__link svg { transition: transform .2s var(--ease); }
.card__link:hover svg { transform: translateX(4px); }
.card__link:hover { color: var(--accent-ink); }

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

/* ---------- blush band ---------- */
.band-blush { background: linear-gradient(180deg, var(--secondary-soft), #f0dcdd); }
.band-paper { background: var(--bg-2); }

/* ---------- article cards (blogroll / insights) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.6rem; }
@media (max-width:760px){ .post-grid { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-navy); height: 100%; text-decoration: none; color: inherit;
}
.post-card__media { aspect-ratio: 16/9; overflow: hidden; background: var(--secondary-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.post-card h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.post-card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.1rem; }
.post-card__more { margin-top: auto; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: .4rem; }
.post-card:hover .post-card__more { color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { .post-card:hover .post-card__media img { transform: none; } }

/* ---------- resources blogroll ---------- */
.resources { display: grid; gap: .9rem; }
.resource {
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.4rem; box-shadow: var(--shadow-navy); text-decoration: none; color: inherit;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.resource:hover { border-color: var(--line-strong); transform: translateX(4px); }
.resource__txt strong { font-family: var(--display); color: var(--primary); font-size: 1.12rem; display: block; }
.resource__txt span { font-size: .9rem; color: var(--muted); }
.resource__go { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent-ink); font-weight: 700; font-size: .92rem; white-space: nowrap; }
@media (prefers-reduced-motion: reduce){ .resource:hover { transform: none; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
@media (max-width:900px){ .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-navy); height: 100%; display: flex; flex-direction: column;
}
.quote__mark { font-family: var(--display); font-size: 3.4rem; line-height: .6; color: var(--accent); height: 28px; }
.quote p { font-family: var(--display); font-size: 1.18rem; line-height: 1.5; color: var(--primary); font-weight: 500; }
.quote__who { margin-top: auto; display: flex; align-items: center; gap: .8rem; padding-top: 1rem; }
.quote__av { width: 44px; height: 44px; border-radius: 50%; background: var(--secondary); color: var(--primary); display: grid; place-items: center; font-weight: 700; font-family: var(--mono); flex: none; }
.quote__who strong { display: block; color: var(--primary); font-size: .98rem; }
.quote__who span { font-size: .85rem; color: var(--muted); }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
@media (max-width:900px){ .team-grid { grid-template-columns: 1fr; } }
.member { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-navy); text-align: center; }
.member__av { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 1rem; background: linear-gradient(135deg, var(--secondary), var(--accent)); color: var(--primary-900); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.5rem; }
.member h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.member__role { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .8rem; }
.member p { color: var(--ink-soft); font-size: .94rem; margin: 0; }

/* ---------- big CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--primary); color: var(--bg); border-radius: var(--radius); padding: clamp(2.5rem,5vw,4rem); }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(700px 300px at 85% 10%, rgba(242,193,78,.22), transparent 60%), radial-gradient(500px 400px at 0% 100%, rgba(232,199,200,.18), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(251,247,240,.85); max-width: 52ch; }

/* ---------- value list ---------- */
.values { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem 2.4rem; }
@media (max-width:680px){ .values { grid-template-columns: 1fr; } }
.value { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.value__n { font-family: var(--mono); color: var(--accent-ink); font-size: .9rem; padding-top: .25rem; }
.value h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.value p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; background: transparent; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.3rem 0; font-family: var(--display); font-size: 1.2rem; color: var(--primary); font-weight: 600; }
.faq__q .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--secondary-soft); display: grid; place-items: center; color: var(--primary); transition: transform .3s var(--ease); }
.faq__q[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--accent); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a > div { padding: 0 0 1.3rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce){ .faq__a { transition: none; } }

/* ---------- footer ---------- */
.site-footer { background: var(--primary-900); color: var(--bg); padding-block: clamp(3rem,5vw,4.5rem) 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.4rem; }
@media (max-width:840px){ .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width:520px){ .footer__grid { grid-template-columns: 1fr; } }
.footer__brand .brand__name { color: var(--white); }
.footer__brand p { color: rgba(251,247,240,.7); max-width: 34ch; margin-top: 1rem; font-size: .95rem; }
.footer h4 { color: var(--white); font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; margin: 0 0 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer a { color: rgba(251,247,240,.78); text-decoration: none; font-size: .96rem; }
.footer a:hover { color: var(--accent); }
.footer__bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer__bottom p { margin: 0; color: rgba(251,247,240,.6); font-size: .85rem; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: var(--bg); }
.footer__social a:hover { background: var(--accent); color: var(--primary-900); border-color: var(--accent); }

/* ---------- breadcrumb ---------- */
.crumb { font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-block: 1.4rem 0; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent-ink); }

/* ---------- page hero (inner) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(2.6rem,5vw,4.2rem) clamp(2rem,4vw,3rem); }
.page-hero::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(800px 360px at 80% -20%, rgba(242,193,78,.14), transparent 60%), radial-gradient(700px 420px at 0% 20%, rgba(232,199,200,.28), transparent 62%), linear-gradient(180deg,var(--bg),var(--bg-2)); }
.page-hero h1 { margin: 0 0 .6rem; }
.page-hero .lede { max-width: 60ch; }

/* ============================================================
   ARTICLE (reading-first, single 65ch measure)
   ============================================================ */
.article { padding-block: clamp(2.5rem,5vw,4rem) clamp(4rem,8vw,6rem); }
.article__inner { max-width: var(--measure); margin-inline: auto; }
.article__head { max-width: var(--measure); margin: 0 auto clamp(2rem,4vw,3rem); }
.article__meta { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.article__meta .tag { color: var(--accent-ink); }
.article__title { font-size: clamp(2.1rem,4.4vw,3.2rem); margin-bottom: 1rem; }
.article__hero { max-width: 1000px; margin: 0 auto clamp(2.5rem,5vw,3.5rem); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-navy-lg); border: 1px solid var(--line); }
.article__hero img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }

.prose { font-size: 1.12rem; line-height: 1.78; color: var(--ink-soft); }
.prose > p:first-of-type { font-size: 1.22rem; line-height: 1.66; color: var(--fg); }
/* drop cap on the lead paragraph */
.prose > p:first-of-type::first-letter {
  font-family: var(--display); font-weight: 600; float: left;
  font-size: 3.6em; line-height: .82; padding: .04em .12em 0 0; color: var(--accent-700);
}
.prose h2 { font-size: clamp(1.6rem,2.8vw,2.1rem); margin: 2.4em 0 .6em; padding-top: .4em; }
.prose h3 { font-size: 1.32rem; margin: 1.8em 0 .5em; color: var(--primary-700); }
.prose p { margin: 0 0 1.3em; }
.prose a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(242,193,78,.6); }
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong { color: var(--primary); font-weight: 700; }
.prose em { color: var(--primary-700); }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose li::marker { color: var(--accent-700); }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow-navy); margin: 1.8em auto; border: 1px solid var(--line); width: 100%; height: auto; }
.prose figure { margin: 1.8em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .98rem; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-navy); }
.prose th { background: var(--primary); color: var(--bg); text-align: left; padding: .85rem 1rem; font-family: var(--body); font-weight: 700; }
.prose td { padding: .8rem 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); }
.prose tr:nth-child(even) td { background: var(--bg); }
.prose section { margin-top: 2.5em; }
.prose blockquote { margin: 1.8em 0; padding: 1.2em 1.6em; border-left: 4px solid var(--accent); background: var(--secondary-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p { font-family: var(--display); font-size: 1.2rem; color: var(--primary); margin: 0; }

/* FAQ schema block inside prose */
.prose [itemprop="mainEntity"] { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.5rem; margin-bottom: 1rem; background: var(--white); }
.prose [itemprop="mainEntity"] h3 { margin: 0 0 .5rem; font-size: 1.12rem; color: var(--primary); }
.prose [itemprop="acceptedAnswer"] { color: var(--ink-soft); }
.prose [itemprop="acceptedAnswer"] .prose-answer { margin: 0; }

.article__pull { font-family: var(--display); font-size: clamp(1.4rem,2.6vw,1.9rem); line-height: 1.35; color: var(--primary); border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); padding: 1.4em 0; margin: 2.4em 0; }

/* source / outbound callout in article */
.source-note { margin: 2.4em 0 0; padding: 1.4rem 1.6rem; background: var(--secondary-soft); border-radius: var(--radius); border: 1px solid var(--line); }
.source-note p { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.source-note a { font-weight: 700; }

/* article footer share / back */
.article__foot { max-width: var(--measure); margin: clamp(3rem,5vw,4rem) auto 0; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.article__foot a.back { font-weight: 700; color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.article__foot a.back:hover { color: var(--accent-ink); }

/* related */
.related { background: var(--bg-2); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,4vw,3.5rem); align-items: start; }
@media (max-width:900px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem,3vw,2.4rem); box-shadow: var(--shadow-navy-lg); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-weight: 700; color: var(--primary); margin-bottom: .45rem; font-size: .98rem; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.field input, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1.02rem; color: var(--fg);
  background: var(--bg); border: 2px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: .85rem 1rem; min-height: 52px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #6c7280; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-700); box-shadow: 0 0 0 4px rgba(242,193,78,.25); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b4452e; }
.form-submit { width: 100%; }
.form-status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--secondary-soft); border: 1px solid var(--line); color: var(--primary); font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status svg { vertical-align: -3px; margin-right: .4rem; color: var(--accent-700); }

.contact-aside { display: grid; gap: 1.2rem; }
.info-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-navy); }
.info-block h3 { font-size: 1.15rem; margin-bottom: .9rem; }
.info-row { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .9rem; }
.info-row:last-child { margin-bottom: 0; }
.info-row .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--secondary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.info-row strong { display: block; color: var(--primary); font-size: .82rem; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; font-weight: 400; }
.info-row a, .info-row span { color: var(--ink-soft); text-decoration: none; font-size: 1.02rem; }
.info-row a:hover { color: var(--accent-ink); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sheen { display: none !important; }
  .tilt { transform: none !important; }
}

/* tiny utility */
.text-primary { color: var(--primary); }
.mt-0 { margin-top: 0; }
.lead-big { font-size: clamp(1.25rem,2vw,1.6rem); font-family: var(--display); color: var(--primary); line-height: 1.4; font-weight: 500; }
.divider-dot { color: var(--line-strong); }
