/* ============================================================
   Marketing Well — Global styles
   Rose palette (chosen default), Newsreader + Hanken Grotesk
   ============================================================ */

[data-palette="rose"] {
  --paper:      #F8F2EC;
  --paper-2:    #F0E3DA;
  --surface:    #FDFAF6;
  --ink:        #3A2F32;
  --ink-2:      #5E5852;
  --sage:       #96737B;
  --sage-2:     #7A545C;
  --pale:       #E8D5D8;
  --pale-2:     #F0E0E3;
  --line:       #E7D8D0;
  --line-2:     #DCC8BE;
  --accent:     #BF887E;
  --accent-ink: #FFFFFF;
  --accent-hov: #A8716A;
  --halo:       #EAD5CE;
  --halo-2:     #E8D5D8;
}

:root {
  --serif: "Newsreader", Georgia, serif;
  --serif-w: 420;
  --serif-tight: -0.015em;
  --r: 18px; --r-sm: 11px; --r-lg: 30px; --r-pill: 999px;
  --foot:       #63474D;
  --foot-2:     #7A555C;
  --foot-ink:   #F4EDE9;
  --foot-soft:  #C4A8AD;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.002em;
}

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: var(--serif-w);
  letter-spacing: var(--serif-tight);
  line-height: 1.06;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1200px, 92vw); margin-inline: auto; }

.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--sage-2);
  display: inline-flex; align-items: center; gap: 0.7em;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: var(--sage); display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: ""; width: 26px; height: 1.5px; background: var(--sage); display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.005em; padding: 0.9em 1.5em;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.25s ease; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hov); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--sage); background: color-mix(in srgb, var(--sage) 10%, transparent); }
.btn .arr { transition: transform 0.25s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--paper) 92%, transparent); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; height: 80px;
}
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-family: var(--serif); font-size: 1.08rem; font-weight: 600; color: var(--ink); white-space: nowrap;
  position: relative; padding: 0.3em 0; transition: color 0.2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--sage); transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--sage-2); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1.2rem; }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; }
.nav-dropdown > a::after { content: ""; width: 0; height: 1.5px; background: var(--sage); transition: width 0.25s ease; position: absolute; left: 0; bottom: -2px; }
.nav-dropdown:hover > a::after { width: 100%; }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0.6rem 0; min-width: 220px; box-shadow: 0 12px 30px -10px rgba(58,47,50,0.2);
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 60; padding-top: 1rem;
}
/* Invisible bridge so hover doesn't break crossing the gap */
.nav-dropdown-menu::before {
  content: ""; position: absolute; top: -0.5rem; left: 0; right: 0; height: 1rem;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a {
  display: block; padding: 0.55rem 1.2rem; font-family: var(--sans); font-size: 0.92rem;
  font-weight: 500; color: var(--ink); transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: var(--pale-2); color: var(--sage-2); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 60;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  position: absolute; left: 11px; transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero-eyebrow { margin-bottom: 1.6rem; }
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--sage-2); }
.hero-sub {
  font-size: 1.18rem; color: var(--ink-2); max-width: 33ch;
  margin-bottom: 2.2rem; text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-note { font-size: 0.9rem; color: var(--ink-2); margin-top: 1.6rem; display: flex; align-items: center; gap: 0.5rem; }
.hero-note svg { color: var(--sage); }

.hero-media { position: relative; }
.hero-halo {
  position: absolute; inset: -8% -6% -6% -8%;
  background: radial-gradient(120% 100% at 70% 20%, var(--halo) 0%, transparent 62%);
  border-radius: 50%; z-index: 0;
}
.hero-frame {
  position: relative; z-index: 1; border-radius: var(--r-lg);
  overflow: hidden; box-shadow: 0 30px 60px -28px rgba(38,48,42,0.45);
}
.hero-frame img { display: block; width: 100%; height: clamp(380px, 44vw, 540px); object-fit: cover; }
.hero-badge {
  position: absolute; z-index: 2; left: -28px; bottom: 34px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1rem 1.3rem; box-shadow: 0 18px 40px -22px rgba(38,48,42,0.4);
  display: flex; align-items: center; gap: 0.9rem;
}
.hero-badge .num { font-family: var(--serif); font-weight: var(--serif-w); font-size: 2.1rem; color: var(--sage-2); line-height: 1; }
.hero-badge .lbl { font-size: 0.82rem; line-height: 1.3; color: var(--ink-2); max-width: 12ch; }

/* ============================================================
   MARQUEE / who I serve
   ============================================================ */
.serve {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--pale-2); padding: 1.4rem 0;
}
.serve-inner { display: flex; align-items: center; gap: 2.4rem; flex-wrap: wrap; justify-content: center; }
.serve-lbl { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage-2); }
.serve-list { display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem; justify-content: center; }
.serve-list span { font-size: 0.95rem; color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 1.4rem; }
.serve-list span:not(:last-child)::after { content: "\00B7"; color: var(--sage); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: clamp(4rem, 8vw, 7rem) 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.6rem, 5vw, 3.8rem); }
.sec-head h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin: 1.1rem 0 0.9rem; }
.sec-head p { color: var(--ink-2); font-size: 1.1rem; text-wrap: pretty; }

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.8rem, 2.6vw, 2.6rem); position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--sage); transform: scaleY(0); transform-origin: top;
  transition: transform 0.35s ease;
}
.svc:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(38,48,42,0.4); border-color: var(--line-2); }
.svc:hover::before { transform: scaleY(1); }
.svc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.svc-num { font-family: var(--serif); font-weight: var(--serif-w); font-size: 1.05rem; color: var(--sage-2); letter-spacing: 0.05em; }
.svc-ico {
  width: 50px; height: 50px; border-radius: var(--r-sm);
  background: var(--pale-2); color: var(--sage-2);
  display: grid; place-items: center; flex-shrink: 0;
}
.svc-ico svg { width: 25px; height: 25px; }
.svc h3 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin-bottom: 0.55rem; }
.svc-desc { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 1.4rem; text-wrap: pretty; }
.svc-list { list-style: none; display: grid; gap: 0.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.svc-list li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.96rem; color: var(--ink); }
.svc-list li svg { width: 17px; height: 17px; color: var(--sage); flex-shrink: 0; }
.svc-link { display: inline-flex; align-items: center; gap: 0.45em; margin-top: 1.4rem; font-weight: 600; font-size: 0.95rem; color: var(--sage-2); }
.svc-link .arr { transition: transform 0.25s ease; }
.svc:hover .svc-link .arr { transform: translateX(4px); }

/* ============================================================
   ABOUT (homepage section)
   ============================================================ */
.about { padding: clamp(3rem, 6vw, 6rem) 0; background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.4rem, 5vw, 5rem); align-items: center; }
.about-media { position: relative; }
.about-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 26px 54px -30px rgba(38,48,42,0.5); }
.about-frame img { display: block; width: 100%; height: clamp(420px, 46vw, 560px); object-fit: cover; }
.about-stats { position: absolute; right: -22px; bottom: -22px; display: flex; gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 18px 40px -24px rgba(38,48,42,0.5); }
.about-stat { background: var(--surface); padding: 1.1rem 1.4rem; text-align: center; }
.about-stat .n { font-family: var(--serif); font-weight: var(--serif-w); font-size: 2.1rem; color: var(--sage-2); line-height: 1; }
.about-stat .l { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); margin-top: 0.35rem; }
.about h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: 1.1rem 0 1.3rem; }
.about p.lead { font-size: 1.12rem; color: var(--ink-2); margin-bottom: 1.6rem; text-wrap: pretty; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.8rem 0; }
.pillar { display: flex; gap: 0.9rem; align-items: flex-start; }
.pillar-ico { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--pale); color: var(--sage-2); display: grid; place-items: center; flex-shrink: 0; }
.pillar-ico svg { width: 21px; height: 21px; }
.pillar h4 { font-family: var(--sans); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em; margin-bottom: 0.15rem; }
.pillar p { font-size: 0.9rem; color: var(--ink-2); line-height: 1.5; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.cta-card {
  background: var(--accent); color: var(--accent-ink); border-radius: var(--r-lg);
  padding: clamp(2.6rem, 5vw, 4rem) clamp(2rem, 5vw, 4.5rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-ink) 14%, transparent) 0%, transparent 65%);
  border-radius: 50%;
}
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { color: var(--accent-ink); font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 0.5rem; }
.cta-text p { color: color-mix(in srgb, var(--accent-ink) 82%, transparent); font-size: 1.05rem; }
.cta-card .btn { position: relative; z-index: 1; }
.btn-on-accent { background: var(--accent-ink); color: var(--accent); }
.btn-on-accent:hover { background: color-mix(in srgb, var(--accent-ink) 88%, var(--accent)); transform: translateY(-2px); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: clamp(4rem, 7vw, 6rem) 0; }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-list { margin-top: 2.4rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 1.18rem; font-weight: 600; color: var(--ink);
  text-align: left; padding: 1.4rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-q .sign { flex-shrink: 0; width: 26px; height: 26px; position: relative; transition: transform 0.3s ease; }
.faq-q .sign::before, .faq-q .sign::after {
  content: ""; position: absolute; background: var(--sage); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-q .sign::before { width: 15px; height: 2px; }
.faq-q .sign::after { width: 2px; height: 15px; transition: transform 0.3s ease; }
.faq-item.open .sign::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 0 1.5rem; color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; }
.faq-a-inner ul { margin: 0.6rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; }
.faq-a-inner li { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot-cta { padding: clamp(2.5rem, 4vw, 3.5rem) 0; background: var(--pale-2); border-top: 1px solid var(--line); }
.foot-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.foot-cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.foot-cta p { color: var(--ink-2); margin-top: 0.3rem; }

.footer { background: var(--foot); color: var(--foot-ink); padding: clamp(3.5rem, 6vw, 5rem) 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 2.5rem; padding-bottom: 3.2rem; }
.foot-brand img { height: 40px; width: auto; margin-bottom: 1.3rem; filter: brightness(0) saturate(100%) invert(88%) sepia(8%) saturate(180%) hue-rotate(46deg) brightness(98%); }
.foot-brand p { color: var(--foot-soft); font-size: 0.95rem; max-width: 30ch; margin-bottom: 1.5rem; }
.foot-contact { display: grid; gap: 0.7rem; }
.foot-contact a, .foot-contact span { display: flex; align-items: center; gap: 0.7rem; color: var(--foot-ink); font-size: 0.95rem; }
.foot-contact svg { width: 17px; height: 17px; color: var(--sage); flex-shrink: 0; }
.foot-col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--foot-soft); margin-bottom: 1.2rem; font-weight: 700; }
.foot-col ul { list-style: none; display: grid; gap: 0.7rem; }
.foot-col a { color: var(--foot-ink); font-size: 0.95rem; opacity: 0.86; transition: opacity 0.2s ease, color 0.2s ease; }
.foot-col a:hover { opacity: 1; color: var(--pale); }
.foot-news p { color: var(--foot-soft); font-size: 0.9rem; margin-bottom: 1rem; }
.foot-news form { display: grid; gap: 0.6rem; }
.foot-news input {
  background: var(--foot-2); border: 1px solid #8A636A; border-radius: var(--r-sm);
  padding: 0.75rem 0.9rem; color: var(--foot-ink); font-family: var(--sans); font-size: 0.92rem;
}
.foot-news input::placeholder { color: var(--foot-soft); }
.foot-news input:focus { outline: none; border-color: var(--sage); }
.foot-news button { background: var(--pale); color: var(--foot); border: none; border-radius: var(--r-sm); padding: 0.78rem; font-family: var(--sans); font-weight: 700; cursor: pointer; transition: background 0.2s ease; }
.foot-news button:hover { background: var(--line); }
.foot-bottom { border-top: 1px solid #8A636A; padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.foot-bottom p { color: var(--foot-soft); font-size: 0.86rem; }
.foot-social { display: flex; gap: 0.7rem; }
.foot-social a { width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid #8A636A; display: grid; place-items: center; color: var(--foot-ink); transition: all 0.2s ease; }
.foot-social a:hover { background: var(--sage); border-color: var(--sage); color: #fff; }
.foot-social svg { width: 18px; height: 18px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; }
  .about-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-toggle { display: block; }
  .svc-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .cta-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-stats { right: 12px; }
  .foot-cta-inner { flex-direction: column; align-items: flex-start; }

  /* Mobile nav bar: logo left, Book a Call center, hamburger right */
  .nav-cta { flex-direction: row-reverse; gap: 0.8rem; }
  .nav-cta .btn { font-size: 0.88rem; padding: 0.7em 1.2em; }

  /* Mobile nav drawer — full screen overlay */
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100vh;
    background: #F8F2EC;
    flex-direction: column; align-items: center; justify-content: center;
    padding: 2rem; gap: 0.4rem;
    z-index: 100;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a {
    font-size: 1.3rem; padding: 0.35em 0; font-weight: 500;
    color: var(--ink); text-align: center;
  }
  .nav-links a.active { color: var(--sage-2); }
  .nav-toggle { z-index: 110; position: relative; }

  /* Mobile: hide dropdown, show flat service links */
  .nav-dropdown { display: none !important; }
  .mobile-only { display: block !important; }

  /* Who I work with — one per line on mobile */
  .serve-list { flex-direction: column; align-items: center; gap: 0.5rem; }
  .serve-list span:not(:last-child)::after { display: none; }
}

/* Reveal-on-scroll */
.reveal { opacity: 1; }
.reveal.in { animation: mwRise 0.7s ease both; }
@keyframes mwRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal.in { animation: none; } }

/* ============================================================
   Service page — sections unique to service templates.
   Loads AFTER styles.css and reuses all its tokens.
   ============================================================ */

.svc-hero { position: relative; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.svc-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.svc-hero h1.eyebrow { margin-bottom: 0; }
.svc-hero-headline, .svc-hero h1:not(.eyebrow) { font-size: clamp(2.6rem, 5.2vw, 4.3rem); margin: 1.4rem 0 1.3rem; }
.svc-hero-headline em, .svc-hero h1:not(.eyebrow) em { font-style: italic; color: var(--sage-2); }
.svc-hero-sub { font-size: 1.18rem; color: var(--ink-2); max-width: 36ch; margin-bottom: 2rem; text-wrap: pretty; }
.svc-hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2rem; }
.cs-chips { display: flex; flex-direction: column; gap: 0.7rem; }
.cs-chips .lbl { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage-2); margin-bottom: 0.2rem; }
.cs-chip {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0.85rem 1.1rem; font-weight: 600; font-size: 0.96rem; color: var(--ink);
  transition: all 0.25s ease; max-width: 420px;
}
.cs-chip:hover { border-color: var(--sage); transform: translateX(3px); box-shadow: 0 14px 30px -22px rgba(38,48,42,0.4); }
.cs-chip .arr { color: var(--sage-2); transition: transform 0.25s ease; }
.cs-chip:hover .arr { transform: translateX(3px); }

.narrative { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--paper-2); }
.narrative-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.narrative-aside { position: sticky; top: 110px; }
.narrative-aside .eyebrow { margin-bottom: 1rem; }
.narrative-aside h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.narrative-portrait { margin-top: 1.8rem; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 50px -30px rgba(38,48,42,0.5); }
.narrative-portrait img { display: block; width: 100%; height: 440px; object-fit: cover; }
.narrative-body { font-size: 1.12rem; line-height: 1.72; color: var(--ink-2); }
.narrative-body p { margin-bottom: 1.15rem; text-wrap: pretty; }
.narrative-body p strong, .narrative-body .ink { color: var(--ink); font-weight: 600; }
.narrative-body a { color: var(--sage-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.pullquote {
  font-family: var(--serif); font-weight: var(--serif-w); font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.2; color: var(--ink);
  margin: 2rem 0; padding-left: 1.4rem; border-left: 3px solid var(--accent);
}

.process { padding: clamp(4rem, 7vw, 6rem) 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: clamp(2.4rem, 4vw, 3.4rem); position: relative; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.6rem; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -30px rgba(38,48,42,0.4); }
.step-n {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pale); color: var(--sage-2); font-family: var(--serif); font-weight: var(--serif-w);
  font-size: 1.4rem; margin-bottom: 1.2rem;
}
.step h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.step p { font-size: 0.96rem; color: var(--ink-2); line-height: 1.55; }

.testi { padding: clamp(4rem, 7vw, 6rem) 0; background: var(--pale-2); }
.testi-card {
  max-width: 920px; margin: clamp(2rem,4vw,3rem) auto 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(2.4rem, 4vw, 3.6rem);
  position: relative; box-shadow: 0 30px 60px -40px rgba(38,48,42,0.45);
}
.testi-mark { font-family: var(--serif); font-size: 6rem; line-height: 0.7; color: var(--accent); opacity: 0.28; height: 0.5em; display: block; }
.testi-quote { font-size: 1rem; line-height: 1.65; color: var(--ink); font-family: var(--sans); font-weight: 400; text-wrap: pretty; margin-bottom: 1.8rem; }
.testi-author { display: flex; align-items: center; gap: 1rem; }
.testi-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testi-author .n { font-weight: 700; font-size: 1.05rem; }
.testi-author .t { color: var(--ink-2); font-size: 0.95rem; }

/* Testimonial slider */
/* Testimonial slider */
.testi-slider { max-width: 920px; margin: clamp(2rem,4vw,3rem) auto 0; position: relative; }
.testi-track { position: relative; }
.testi-slide { display: none; }
.testi-slide.active { display: block; animation: testiFade 0.4s ease; }
@keyframes testiFade { from { opacity: 0; } to { opacity: 1; } }
.testi-slide .testi-card { margin: 0; }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.8rem; }
.testi-prev, .testi-next {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); display: grid; place-items: center;
  cursor: pointer; transition: all 0.2s ease; flex-shrink: 0;
}
.testi-prev:hover, .testi-next:hover { border-color: var(--sage); background: color-mix(in srgb, var(--sage) 10%, transparent); }
.testi-dots { display: flex; gap: 0.5rem; }
.testi-dot {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: var(--line-2); cursor: pointer; transition: all 0.25s ease; padding: 0;
}
.testi-dot.active { background: var(--accent); transform: scale(1.2); }

/* Testimonial grid — stacked cards */
.testi-grid { max-width: 920px; margin: clamp(2rem,4vw,3rem) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.testi-grid .testi-card { margin: 0; }
@media (max-width: 760px) { .testi-grid { grid-template-columns: 1fr; } }

.blogs { padding: clamp(4rem, 7vw, 6rem) 0; }
.blogs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.blogs-head .sec-head { text-align: left; margin: 0; max-width: 560px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.blog-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -30px rgba(38,48,42,0.4); border-color: var(--line-2); }
.blog-thumb { height: 180px; background: linear-gradient(135deg, var(--pale) 0%, color-mix(in srgb, var(--sage) 38%, var(--surface)) 100%); position: relative; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-tag { position: absolute; left: 1rem; bottom: 1rem; white-space: nowrap; background: var(--surface); color: var(--sage-2); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35em 0.8em; border-radius: var(--r-pill); }
.blog-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.blog-body h3 { font-size: 1.25rem; line-height: 1.18; margin-bottom: 0.9rem; }
.blog-readmore { margin-top: auto; font-weight: 600; font-size: 0.92rem; color: var(--sage-2); display: inline-flex; align-items: center; gap: 0.4em; }
.blog-readmore .arr { transition: transform 0.25s ease; }
.blog-card:hover .blog-readmore .arr { transform: translateX(4px); }

.svc-hero-media { position: relative; }
.svc-hero-media .hero-halo { background: radial-gradient(120% 100% at 60% 25%, var(--halo) 0%, transparent 60%); }
.svc-hero-frame { position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(38,48,42,0.45); }
.svc-hero-frame img { display: block; width: 100%; height: clamp(360px, 42vw, 500px); object-fit: cover; }

@media (max-width: 980px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  /* text first on mobile, image below */
  .narrative-grid { grid-template-columns: 1fr; }
  .narrative-aside { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .testi-card { padding: 1.4rem; }
  .testi-mark { font-size: 3rem; }
  .blog-grid { grid-template-columns: 1fr; }
}
/* ============================================================
   Case study template
   ============================================================ */

.cs-hero {
  position: relative; min-height: clamp(440px, 60vh, 600px);
  display: grid; align-items: center; overflow: hidden; isolation: isolate;
}
.cs-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(160deg, #63474D 0%, #4A333A 100%);
}
.cs-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.cs-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(74,51,58,0.62) 0%, rgba(74,51,58,0.78) 100%);
}
.cs-hero-inner { padding: clamp(4rem, 8vw, 7rem) 0; text-align: center; color: #F4EDE9; }
.cs-hero .eyebrow { color: #D8C0C5; justify-content: center; }
.cs-hero .eyebrow::before, .cs-hero .eyebrow::after { background: #B8949A; }
.cs-hero h1 { color: #FBF5F3; font-size: clamp(3rem, 8vw, 6rem); margin: 1.4rem 0 1rem; }
.cs-hero h1 .unit { font-size: 0.42em; font-style: italic; color: #D8C0C5; display: block; margin-top: 0.4rem; }
.cs-hero-sub { font-size: clamp(1.1rem, 2vw, 1.4rem); color: #E5D0D4; max-width: 30ch; margin: 0 auto 2rem; text-wrap: pretty; }
.cs-scroll { display: inline-flex; align-items: center; gap: 0.55em; font-weight: 600; color: #FBF5F3; border: 1.5px solid rgba(251,249,242,0.4); border-radius: var(--r-pill); padding: 0.8em 1.5em; transition: all 0.25s ease; }
.cs-scroll:hover { background: rgba(251,249,242,0.12); border-color: rgba(251,249,242,0.8); }
.cs-scroll svg { width: 18px; height: 18px; animation: csBob 1.8s ease-in-out infinite; }
@keyframes csBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .cs-scroll svg { animation: none; } }

.cs-client { background: var(--sage); color: #fff; padding: clamp(2rem, 4vw, 3rem) 0; }
.cs-client-grid { display: grid; grid-template-columns: 240px 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.cs-logo { background: #fff; border-radius: var(--r); padding: 1.4rem; display: grid; place-items: center; }
.cs-logo img { max-width: 100%; max-height: 80px; }
.cs-client h4 { font-family: var(--sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 0.6rem; }
.cs-client p { font-size: 1.08rem; line-height: 1.45; color: #fff; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cs-tags span { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.28); border-radius: var(--r-pill); padding: 0.4em 0.95em; font-size: 0.9rem; font-weight: 500; }

.cs-block { padding: clamp(3rem, 6vw, 5rem) 0; }
.cs-block.tint { background: var(--paper-2); }
.cs-block h2 { font-size: clamp(2rem, 4vw, 3rem); text-align: center; margin-bottom: 1.6rem; }
.cs-prose { max-width: 760px; margin: 0 auto; font-size: 1.12rem; line-height: 1.72; color: var(--ink-2); }
.cs-prose p { margin-bottom: 1.1rem; text-wrap: pretty; }
.cs-prose .ink { color: var(--ink); font-weight: 600; }

.cs-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); max-width: 1000px; margin: clamp(1.5rem,3vw,2.5rem) auto 0; }
.cs-two h3 { font-size: 1.5rem; margin-bottom: 0.8rem; text-align: center; }
.cs-two p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; text-align: center; max-width: 42ch; margin: 0 auto; }
.cs-fig { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 22px 46px -32px rgba(38,48,42,0.45); margin-bottom: 1.4rem; }
.cs-fig img { display: block; width: 100%; height: 280px; object-fit: cover; }

.kw-groups { display: grid; gap: 0.7rem; margin-bottom: 1.4rem; }
.kw-row { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0.85rem 1rem; }
.kw-row b { font-family: var(--serif); font-weight: var(--serif-w); color: var(--sage-2); min-width: 1.6em; }
.kw-row .kw { background: var(--pale-2); color: var(--ink); border-radius: var(--r-pill); padding: 0.28em 0.8em; font-size: 0.86rem; font-weight: 500; }

.cs-wide-fig { max-width: 900px; margin: clamp(1.5rem,3vw,2.5rem) auto 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 26px 54px -34px rgba(38,48,42,0.5); }
.cs-wide-fig img { display: block; width: 100%; height: clamp(280px, 36vw, 440px); object-fit: cover; }

.cs-results { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--pale-2); }
.cs-results .sec-head { margin-bottom: clamp(2rem,4vw,3rem); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; max-width: 1040px; margin: 0 auto; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem) 1.4rem; text-align: center;
}
.stat .big { font-family: var(--serif); font-weight: var(--serif-w); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--sage-2); }
.stat .big .pre { font-size: 0.55em; vertical-align: 0.18em; }
.stat .lbl { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-2); margin-top: 0.7rem; }

.cs-testi { background: var(--pale-2); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.cs-testi-inner {
  max-width: 920px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(2.4rem, 4vw, 3.6rem); position: relative;
  box-shadow: 0 30px 60px -40px rgba(58,47,50,0.45);
}
.cs-testi .eyebrow { color: var(--sage-2); justify-content: center; margin-bottom: 1rem; }
.cs-testi .eyebrow::before, .cs-testi .eyebrow::after { background: var(--sage); }
.cs-testi h2 { color: var(--ink); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 1.8rem; text-align: center; }
.cs-testi blockquote { font-family: var(--sans); font-weight: 400; font-style: normal; font-size: 1rem; line-height: 1.65; color: var(--ink); margin-bottom: 2rem; text-wrap: pretty; text-align: left; }
.cs-testi-author { display: flex; align-items: center; gap: 1rem; }
.cs-testi-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cs-testi-author .n { font-weight: 700; color: var(--ink); }
.cs-testi-author .t { color: var(--ink-2); font-size: 0.95rem; }

@media (max-width: 900px) {
  .cs-client-grid { grid-template-columns: 1fr; text-align: center; }
  .cs-logo { max-width: 220px; margin: 0 auto; }
  .cs-tags { justify-content: center; }
  .cs-two { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
/* ============================================================
   About / Contact / Blog index / Blog post layouts.
   ============================================================ */

.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); text-align: center; }
.page-hero.left { text-align: left; }
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: 1.1rem; }
.page-hero h1 em { font-style: italic; color: var(--sage-2); }
.page-hero p { font-size: 1.18rem; color: var(--ink-2); max-width: 56ch; margin: 0 auto; text-wrap: pretty; }
.page-hero.left p { margin: 0; }

/* ABOUT */
.ab-intro { padding: clamp(1rem,2vw,2rem) 0 clamp(3.5rem,6vw,5rem); }
.ab-intro-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.4rem,5vw,5rem); align-items: center; }
.ab-portrait { position: relative; }
.ab-portrait .hero-halo { background: radial-gradient(120% 100% at 40% 25%, var(--halo) 0%, transparent 60%); }
.ab-portrait-frame { position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 28px 56px -32px rgba(38,48,42,0.5); }
.ab-portrait-frame img { display: block; width: 100%; height: clamp(420px, 48vw, 560px); object-fit: cover; }
.ab-intro h2 { font-size: clamp(1.9rem,3.8vw,3rem); margin: 0.8rem 0 1.2rem; }
.ab-intro .lead { font-size: 1.15rem; color: var(--ink-2); line-height: 1.7; text-wrap: pretty; }
.ab-intro .lead p { margin-bottom: 1rem; }
.ab-intro .lead .ink { color: var(--ink); font-weight: 600; }

.ab-stats { background: var(--accent); color: var(--accent-ink); padding: clamp(2.6rem,5vw,4rem) 0; }
.ab-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; text-align: center; }
.ab-stat .n { font-family: var(--serif); font-weight: var(--serif-w); font-size: clamp(2.6rem,5vw,3.8rem); line-height: 1; }
.ab-stat .l { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: color-mix(in srgb, var(--accent-ink) 80%, transparent); margin-top: 0.6rem; }

.ab-values { padding: clamp(3.5rem,6vw,5.5rem) 0; }
.ab-val-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-top: clamp(2rem,4vw,3rem); }
.ab-val { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.8rem; }
.ab-val-ico { width: 50px; height: 50px; border-radius: var(--r-sm); background: var(--pale); color: var(--sage-2); display: grid; place-items: center; margin-bottom: 1.2rem; }
.ab-val-ico svg { width: 25px; height: 25px; }
.ab-val h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.ab-val p { color: var(--ink-2); font-size: 1rem; line-height: 1.6; }

.ab-personal { padding: clamp(3rem,6vw,5rem) 0; background: var(--paper-2); }
.ab-personal-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.4rem,5vw,5rem); align-items: center; }
.ab-personal h2 { font-size: clamp(1.8rem,3.4vw,2.7rem); margin-bottom: 1.2rem; }
.ab-personal p { color: var(--ink-2); font-size: 1.1rem; line-height: 1.7; margin-bottom: 1rem; text-wrap: pretty; }
.ab-personal-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 24px 50px -32px rgba(38,48,42,0.5); }
.ab-personal-img img { display: block; width: 100%; height: clamp(320px,40vw,440px); object-fit: cover; }

/* CONTACT */
.contact-sec { padding: clamp(2rem,4vw,3rem) 0 clamp(4rem,7vw,6rem); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.4rem,5vw,4rem); align-items: start; }
.contact-info h2 { font-size: clamp(1.7rem,3.2vw,2.4rem); margin-bottom: 1rem; }
.contact-info > p { color: var(--ink-2); font-size: 1.08rem; line-height: 1.65; margin-bottom: 2rem; text-wrap: pretty; }
.contact-list { display: grid; gap: 1.1rem; margin-bottom: 2rem; }
.contact-row { display: flex; align-items: flex-start; gap: 1rem; }
.contact-row .ico { width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--pale); color: var(--sage-2); display: grid; place-items: center; flex-shrink: 0; }
.contact-row .ico svg { width: 22px; height: 22px; }
.contact-row .k { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-2); }
.contact-row .v { font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.contact-expect { background: var(--pale-2); border-radius: var(--r); padding: 1.4rem 1.6rem; }
.contact-expect h4 { font-family: var(--sans); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-2); margin-bottom: 0.8rem; }
.contact-expect ul { list-style: none; display: grid; gap: 0.55rem; }
.contact-expect li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.98rem; color: var(--ink); }
.contact-expect li svg { width: 17px; height: 17px; color: var(--sage); flex-shrink: 0; margin-top: 0.25em; }

.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.8rem,3vw,2.6rem); box-shadow: 0 28px 56px -38px rgba(38,48,42,0.4); }
.contact-card h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.contact-card .sub { color: var(--ink-2); font-size: 0.98rem; margin-bottom: 1.6rem; }
.form-row { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-row.two { grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row label { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.form-row input, .form-row textarea, .form-row select {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 0.8rem 0.95rem; width: 100%; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 20%, transparent); }
.contact-card .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.book-divider { display: flex; align-items: center; gap: 1rem; margin: 1.6rem 0; color: var(--ink-2); font-size: 0.85rem; }
.book-divider::before, .book-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.book-embed { border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 2rem; text-align: center; color: var(--ink-2); background: var(--paper); }
.book-embed svg { width: 34px; height: 34px; color: var(--sage); margin-bottom: 0.6rem; }
.book-embed b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 0.2rem; }

/* BLOG INDEX */
.blog-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin: clamp(1.5rem,3vw,2.4rem) 0 clamp(2rem,4vw,3rem); }
.blog-filter { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; white-space: nowrap; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0.55em 1.2em; cursor: pointer; transition: all 0.2s ease; }
.blog-filter:hover { border-color: var(--sage); color: var(--ink); }
.blog-filter.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.featured-post { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.6rem,4vw,3rem); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: clamp(2rem,4vw,3rem); }
.featured-thumb { height: 100%; min-height: 320px; background: var(--pale-2); position: relative; display: flex; align-items: center; }
.featured-thumb img { width: 100%; height: auto; object-fit: contain; }
.featured-body { padding: clamp(1.8rem,3vw,2.8rem) clamp(1.8rem,3vw,2.8rem) clamp(1.8rem,3vw,2.8rem) 0; }
.featured-body .blog-tag { position: static; display: inline-block; margin-bottom: 1rem; }
.featured-body h2 { font-size: clamp(1.8rem,3.2vw,2.6rem); line-height: 1.12; margin-bottom: 0.9rem; }
.featured-body p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; margin-bottom: 1.4rem; text-wrap: pretty; }
.blog-meta { display: flex; align-items: center; gap: 0.8rem; font-size: 0.88rem; color: var(--ink-2); margin-top: 0.8rem; }
.blog-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--sage); }

/* BLOG POST */
.article-head { padding: clamp(2.5rem,5vw,4rem) 0 clamp(1.5rem,3vw,2.5rem); text-align: center; }
.article-head .blog-tag { position: static; display: inline-block; margin-bottom: 1.3rem; }
.article-head h1 { font-size: clamp(2.3rem,4.6vw,3.7rem); max-width: 20ch; margin: 0 auto 1.4rem; line-height: 1.08; }
.article-byline { display: flex; align-items: center; justify-content: center; gap: 0.8rem; font-size: 0.95rem; color: var(--ink-2); }
.article-byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.article-byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--sage); }
.article-hero-img { max-width: 1000px; margin: clamp(1.5rem,3vw,2.5rem) auto 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 28px 56px -36px rgba(38,48,42,0.5); }
.article-hero-img img { display: block; width: 100%; height: auto; }

.article-body { padding: clamp(2.5rem,5vw,4rem) 0; }
.prose { max-width: 720px; margin: 0 auto; font-size: 1.16rem; line-height: 1.75; color: var(--ink); }
.prose > * { margin-bottom: 1.3rem; }
.prose h2 { font-size: clamp(1.7rem,3vw,2.3rem); margin-top: 2.4rem; margin-bottom: 1rem; }
.prose h3 { font-size: 1.4rem; margin-top: 1.8rem; margin-bottom: 0.7rem; }
.prose p { color: var(--ink-2); text-wrap: pretty; }
.prose strong { color: var(--ink); }
.prose a { color: var(--sage-2); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4rem; color: var(--ink-2); display: grid; gap: 0.5rem; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 1.4rem; font-family: var(--serif); font-weight: var(--serif-w); font-style: italic; font-size: 1.5rem; line-height: 1.3; color: var(--ink); }
.prose img { border-radius: var(--r); max-width: 100%; }

.author-box { max-width: 720px; margin: clamp(2rem,4vw,3rem) auto 0; display: flex; gap: 1.4rem; align-items: center; background: var(--paper-2); border-radius: var(--r-lg); padding: 1.8rem; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box .who { font-family: var(--serif); font-weight: var(--serif-w); font-size: 1.4rem; margin-bottom: 0.3rem; }
.author-box p { color: var(--ink-2); font-size: 0.98rem; line-height: 1.55; }

.related { padding: clamp(3rem,6vw,5rem) 0; background: var(--paper-2); }

/* CASE STUDIES INDEX */
.cs-index { padding: clamp(2rem,4vw,3rem) 0 clamp(4rem,7vw,6rem); }
.cs-index-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.cs-index-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.cs-index-card:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -30px rgba(38,48,42,0.4); }
.cs-index-thumb { display: none; }
.cs-index-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.cs-index-body h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.cs-index-body p { color: var(--ink-2); font-size: 0.98rem; margin-bottom: 1rem; flex: 1; }
.cs-index-body .blog-readmore { margin-top: auto; }

@media (max-width: 900px) {
  .ab-intro-grid, .ab-personal-grid, .contact-grid, .featured-post { grid-template-columns: 1fr; }
  .ab-portrait { order: -1; }
  .ab-stats-grid { grid-template-columns: 1fr 1fr; }
  .ab-val-grid { grid-template-columns: 1fr; }
  .cs-index-grid { grid-template-columns: 1fr; }
  .featured-body { padding: 0 clamp(1.6rem,4vw,2.2rem) clamp(1.8rem,4vw,2.4rem); }
  .featured-thumb, .featured-thumb img { min-height: 240px; }
}
@media (max-width: 560px) {
  .ab-stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
}
