/* =========================================================
   Wesley AI — design system
   Tokens first, then base, then components, then utilities.
   Everything here is portable to a WordPress theme's style.css.
   ========================================================= */

:root {
  /* Brand */
  --ink:        #12233a;
  --ink-soft:   #23364f;
  --ink-deep:   #0b1626;
  --teal:       #2aadb5;
  --teal-dark:  #1e8f97;
  --teal-tint:  #e7f5f6;
  --teal-line:  rgba(42, 173, 181, 0.32);
  --cream:      #f4f2ee;
  --cream-deep: #eae6df;
  --body:       #3a4658;
  --muted:      #5b6474; /* 5.3:1 on cream, 5.9:1 on white */
  --white:      #ffffff;
  --gold:       #d4a843;

  /* Lines & shadows */
  --line:        rgba(18, 35, 58, 0.10);
  --line-strong: rgba(18, 35, 58, 0.18);
  --shadow-sm:   0 1px 2px rgba(18, 35, 58, 0.05);
  --shadow-md:   0 12px 32px -12px rgba(18, 35, 58, 0.16);
  --shadow-lg:   0 28px 60px -24px rgba(18, 35, 58, 0.28);
  --shadow-teal: 0 20px 48px -20px rgba(42, 173, 181, 0.45);

  /* Type */
  --font-display: "Red Hat Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body:    "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif:   "Lora", Georgia, "Times New Roman", serif;

  /* Rhythm */
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
  --gutter: clamp(20px, 5vw, 40px);
  --page: 1180px;
  --section-y: clamp(64px, 9vw, 128px);
}

/* ---------- Base ---------- */

*, *::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(--white);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
  font-weight: 800;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; }
/* Keeps h4's size on an h3 tag, so card headings don't skip a level. */
.h-sm { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--teal); color: #fff; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 8px; font-weight: 600; text-decoration: none;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 760px; }
.wrap--mid { max-width: 940px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: rgba(255,255,255,0.78); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.09rem; color: var(--muted); margin-bottom: 0; }
.section--ink .section-head p { color: rgba(255,255,255,0.7); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.section--ink .eyebrow { color: var(--teal); }

.lede { font-size: clamp(1.1rem, 1.7vw, 1.28rem); line-height: 1.55; color: var(--ink-soft); }
.section--ink .lede { color: rgba(255,255,255,0.82); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 16px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-teal); }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-soft); color: #fff; }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(18,35,58,0.03); }

.btn--light { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.28); color: #fff; }
.btn--light:hover { background: rgba(255,255,255,0.18); color: #fff; }

.btn--sm { padding: 11px 18px; font-size: 0.92rem; }
.btn--block { display: flex; width: 100%; }
.btn[aria-disabled="true"] {
  background: var(--cream-deep); color: var(--muted); box-shadow: none;
  pointer-events: none; border-color: transparent;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  text-decoration: none; color: var(--teal-dark);
}
.arrow-link span { transition: transform .16s ease; }
.arrow-link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 34px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--ink); text-decoration: none;
  padding: 9px 13px; border-radius: 10px;
  transition: background-color .16s ease, color .16s ease;
}
.site-nav a:hover { background: var(--cream); }
.site-nav a[aria-current="page"] { color: var(--teal-dark); }
.site-nav .btn { display: none; } /* CTA lives in .header-actions on desktop */

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 26px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    max-height: calc(100dvh - 76px); overflow-y: auto;
  }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 14px 12px; font-size: 1.05rem; border-radius: 12px; }
  .site-nav .btn { display: flex; margin-top: 10px; }
  .header-actions .btn--nav { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(168deg, var(--ink-deep) 0%, var(--ink) 52%, #16324a 100%);
  color: rgba(255,255,255,0.8);
  padding-block: clamp(72px, 10vw, 132px) clamp(60px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(58% 62% at 88% 6%, rgba(42,173,181,0.30), transparent 62%),
    radial-gradient(48% 52% at 4% 92%, rgba(42,173,181,0.14), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 78%);
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p.lede { max-width: 56ch; color: rgba(255,255,255,0.8); margin-bottom: 32px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 16px; border-radius: var(--radius-pill); margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 4px rgba(42,173,181,0.22);
}
.hero--page { padding-block: clamp(60px, 7vw, 96px); }
.hero--page h1 { max-width: 20ch; }

.hero-proof {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px;
  font-size: 0.95rem; color: rgba(255,255,255,0.62);
}
.hero-proof strong { color: #fff; font-weight: 600; }

/* ---------- Two-path fork ---------- */

.fork { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(18px, 2.4vw, 26px); }
@media (max-width: 820px) { .fork { grid-template-columns: minmax(0,1fr); } }

.path-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  overflow: hidden;
}
.path-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), #64c9cf);
  opacity: 0; transition: opacity .2s ease;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal-line); }
.path-card:hover::before { opacity: 1; }
.path-card .eyebrow { color: var(--muted); }
.path-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 800; margin-bottom: 12px; }
.path-card__body { color: var(--body); margin-bottom: 20px; }
.path-card ul { list-style: none; padding: 0; margin: 0 0 26px; }
.path-card li {
  position: relative; padding-left: 28px; margin-bottom: 10px; font-size: 0.98rem;
}
.path-card li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal-tint);
  box-shadow: inset 0 0 0 1.5px var(--teal-line);
}
.path-card li::after {
  content: ""; position: absolute; left: 5px; top: 14px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--teal);
}
.path-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.path-card__note { font-size: 0.86rem; color: var(--muted); }

/* Split layout: main + aside */
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
/* For a split where the image is the point, not the sidebar. */
.split--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; }
@media (max-width: 900px) { .split, .split--media { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Cards ---------- */

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-line); }
/* Cards that are themselves links shouldn't read as a wall of underlined text. */
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { color: inherit; }
a.card h3, a.card h4 { color: var(--ink); }
a.card:hover h3, a.card:hover h4 { color: var(--teal-dark); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--body); font-size: 0.99rem; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--teal-tint); color: var(--teal-dark);
  font-size: 1.25rem; margin-bottom: 18px;
}
.card__num {
  font-family: var(--font-display); font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.14em; color: var(--teal); margin-bottom: 14px; display: block;
}
.card--ink { background: rgba(255,255,255,0.045); border-color: rgba(255,255,255,0.12); }
.card--ink p { color: rgba(255,255,255,0.72); }
.card--ink .card__icon { background: rgba(42,173,181,0.16); color: #7fd6db; }

.feature-list { list-style: none; padding: 0; margin: 18px 0 0; }
.feature-list li {
  position: relative; padding-left: 26px; font-size: 0.94rem; color: var(--muted); margin-bottom: 8px;
}
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--teal); font-weight: 700; font-size: 0.9rem;
}
.card--ink .feature-list li { color: rgba(255,255,255,0.66); }

/* ---------- Stats ---------- */

.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(18px,2.5vw,32px); }
@media (max-width: 700px) { .stats { grid-template-columns: minmax(0,1fr); } }
.stat { text-align: center; padding: 26px 18px; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.stat__value { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1; margin-bottom: 10px; }
.stat__label { color: #fff; font-weight: 600; font-size: 0.98rem; }
.stat__sub { color: rgba(255,255,255,0.55); font-size: 0.86rem; }

/* ---------- Process / steps ---------- */

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 72px minmax(0,1fr) ; gap: clamp(16px, 3vw, 34px);
  padding: clamp(22px, 3vw, 32px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-display); font-weight: 900; font-size: 1.05rem;
  color: var(--teal); letter-spacing: 0.08em;
  display: flex; align-items: center; gap: 10px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--body); }
.step__time {
  display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  background: var(--cream); border-radius: var(--radius-pill); padding: 5px 12px; margin-bottom: 10px;
}
@media (max-width: 620px) { .step { grid-template-columns: minmax(0,1fr); gap: 10px; } }

/* ---------- Pricing ---------- */

.price-grid { display: grid; gap: clamp(18px, 2.4vw, 26px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }

.price-card {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 34px); display: flex; flex-direction: column; height: 100%;
}
.price-card--featured { border-color: var(--teal); box-shadow: var(--shadow-teal); }
.price-badge {
  display: inline-block; background: var(--teal); color: #fff;
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: 14px;
  align-self: flex-start;
}
.price-card h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.4rem; margin-bottom: 4px; letter-spacing: 0; }
.price-card__price { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 2.9rem); font-weight: 800; color: var(--ink); line-height: 1; margin: 10px 0 6px; }
.price-card__price span { font-size: 1.05rem; font-weight: 400; color: var(--muted); }
.price-card__tagline { font-size: 0.9rem; color: var(--muted); margin-bottom: 20px; min-height: 42px; }
.price-card hr { margin: 0 0 18px; }
.price-feature { display: flex; gap: 11px; align-items: flex-start; font-size: 0.94rem; margin-bottom: 11px; color: var(--ink-soft); }
.price-feature .ic { flex-shrink: 0; width: 16px; text-align: center; font-weight: 700; font-size: 0.85rem; margin-top: 3px; }
.ic-yes { color: var(--teal); }
.ic-limited { color: var(--gold); }
.ic-no { color: #9ca3af; }
.price-feature--no { color: var(--muted); }
.price-card__cta { margin-top: auto; padding-top: 22px; }
.price-note { text-align: center; font-size: 0.9rem; color: var(--muted); margin-top: 26px; }
.price-note strong { color: var(--ink); }

/* ---------- Trust ---------- */

.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-item__icon { font-size: 1.35rem; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.trust-item h4 { color: #fff; margin-bottom: 6px; }
.trust-item p { color: rgba(255,255,255,0.68); font-size: 0.97rem; margin: 0; }

/* ---------- Portfolio ---------- */

.work-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal-line); color: inherit; }
.work-card__media {
  aspect-ratio: 16 / 10; background: var(--cream); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.work-card__media img, .work-card__media svg { width: 100%; height: 100%; object-fit: cover; }
.work-card__body { padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; flex: 1; }
.work-card h3 { margin-bottom: 6px; }
.work-card p { color: var(--body); font-size: 0.98rem; }
.work-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }

.pill {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--cream); color: var(--muted); align-self: flex-start;
}
.pill--live { background: var(--teal-tint); color: var(--teal-dark); }
.pill--build { background: #fdf3dc; color: #9a7418; }

/* Featured case study: image left, story right, on a wide screen. */
.work-card--featured { flex-direction: row; align-items: stretch; }
.work-card--featured .work-card__media {
  flex: 0 0 58%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line);
}
.work-card--featured .work-card__body { justify-content: center; padding: clamp(26px, 3.4vw, 44px); }
.work-card--featured h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.work-card--featured p { font-size: 1.06rem; }
@media (max-width: 820px) {
  .work-card--featured { flex-direction: column; }
  .work-card--featured .work-card__media {
    flex: none; aspect-ratio: 16 / 10; border-right: 0; border-bottom: 1px solid var(--line);
  }
}

.work-card__where {
  display: inline-block; font-family: var(--font-body); font-size: 0.92rem;
  font-weight: 400; color: var(--muted); letter-spacing: 0;
}

.work-card--placeholder {
  border-style: dashed; border-color: var(--line-strong); background: var(--cream);
  box-shadow: none; align-items: center; justify-content: center; text-align: center;
  padding: clamp(34px, 5vw, 60px);
}
.work-card--placeholder:hover { transform: none; box-shadow: none; }

/* ---------- Case study ---------- */

.hero-sub {
  display: block; font-size: 1.05rem; font-weight: 600; letter-spacing: 0;
  color: rgba(255,255,255,0.6); margin-top: 12px;
}

.case-lead {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--cream);
}
.case-lead img { width: 100%; display: block; }

.shot-grid {
  display: grid; gap: clamp(18px, 2.6vw, 30px);
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 780px) { .shot-grid { grid-template-columns: minmax(0, 1fr); } }

.shot { margin: 0; }
.shot img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--cream);
}
.shot figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 12px; }
.shot--phone img {
  border-radius: 22px; box-shadow: var(--shadow-md);
  max-width: 300px; margin-inline: auto;
}
.shot--phone figcaption { text-align: center; }

.metric-value {
  font-family: var(--font-display); font-weight: 800; color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1; margin-bottom: 10px;
}

.case-block { max-width: 720px; }
.case-block h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 14px; }
.case-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 22px; padding: 26px 0; border-block: 1px solid var(--line); }
.case-meta dt { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.case-meta dd { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--ink); }

/* ---------- Quote ---------- */

.pull-quote {
  font-family: var(--font-serif); font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.4; color: var(--ink); font-style: italic; margin: 0 0 18px;
  text-wrap: balance;
}
.section--ink .pull-quote { color: #fff; }
.quote-cite { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--muted); font-style: normal; }

/* ---------- Logos ---------- */

.logo-row {
  display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center; justify-content: center;
}
.logo-row span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  color: var(--ink); opacity: 0.62;
}

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; margin: 0; color: var(--body); }

/* ---------- Forms ---------- */

.form-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0,1fr); } }

.field label {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.88rem; color: var(--ink); margin-bottom: 7px;
}
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: 12px;
  padding: 13px 15px; transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(42,173,181,0.16);
}
.form-error {
  background: #fdecec; border: 1.5px solid #f0b8b8; color: #8f2f2f;
  border-radius: 12px; padding: 14px 16px; font-size: 0.95rem; margin: 0 0 22px;
}
.form-error a { color: #8f2f2f; }

.form-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form-foot p { font-size: 0.86rem; color: var(--muted); margin: 0; }

.toolkit-list {
  list-style: none; margin: 0; padding: clamp(24px, 3vw, 32px);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
}
.toolkit-list li {
  position: relative; padding-left: 26px; margin-bottom: 14px;
  font-size: 0.97rem; color: var(--body);
}
.toolkit-list li:last-child { margin-bottom: 0; }
.toolkit-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700;
}
.toolkit-list strong { color: var(--ink); }

/* ---------- Blog ---------- */

.post-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal-line); color: inherit; }
.post-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.post-card p { font-size: 0.95rem; color: var(--body); }
.post-card__meta { margin-top: auto; padding-top: 18px; font-size: 0.82rem; color: var(--muted); display: flex; gap: 12px; }

.track-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.track-filter button {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer;
  transition: all .16s ease;
}
.track-filter button:hover { border-color: var(--ink); }
.track-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.prose { max-width: 720px; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--teal);
  font-family: var(--font-serif); font-style: italic; color: var(--ink);
}
.prose img { border-radius: var(--radius); margin: 1.8em 0; }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(150deg, var(--ink) 0%, #16324a 100%);
  border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px);
  color: rgba(255,255,255,0.78); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(52% 66% at 92% 8%, rgba(42,173,181,0.32), transparent 62%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { max-width: 54ch; color: rgba(255,255,255,0.76); }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink-deep); color: rgba(255,255,255,0.6); padding-block: clamp(52px, 6vw, 76px) 34px; }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.66); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(26px, 4vw, 48px); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0,1fr); } }
/* No invert filter — that turned the teal mark into a white blob with a knocked-out W.
   width:auto is load-bearing: without it the width attribute stretches the logo. */
.footer-brand img { height: 36px; width: auto; max-width: 100%; margin-bottom: 18px; }
.footer-tagline { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.15rem; line-height: 1.3; }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255,255,255,0.45);
}
.footer-credit { color: rgba(255,255,255,0.6); }
.footer-credit a { color: #fff; font-weight: 600; text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }
.footer-credit .heart { color: #fff; font-size: 0.95em; padding-inline: 1px; }

/* ---------- Utilities ---------- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 34px; }
.mt-5 { margin-top: 48px; }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal on scroll — only ever hidden when JS is running, so a failed
   script or a crawler never gets a blank page. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card--hover:hover, .path-card:hover, .work-card:hover, .post-card:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band { display: none; }
  body { color: #000; }
}
