/* ==========================================================================
   EverLabs Design — site stylesheet
   One stylesheet for every page. Replaces the old split between the
   homepage's 1,500 lines of inline CSS and styles.css.

   Look: premium studio + local trust.
   Warm paper, deep ink, one confident blue, brass for emphasis.
   Fraunces for display, Inter for everything you actually read.
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;          /* sticky header clearance for #anchors */
}
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- tokens ---------- */
:root {
  --ink:        #12161D;   /* near-black, faintly blue */
  --ink-2:      #2C333F;
  --ink-3:      #5A626F;   /* body text on paper */
  --ink-4:      #8A9199;   /* meta, captions */

  --paper:      #FBF9F6;   /* warm off-white — the main background */
  --paper-2:    #F4F0E9;   /* tinted band */
  --paper-3:    #EDE7DC;
  --white:      #FFFFFF;
  --line:       #E4DED3;   /* warm hairline */
  --line-2:     #D6CEC0;

  --accent:     #1D4ED8;   /* the blue from the logo, deepened */
  --accent-dk:  #17369B;
  --accent-lt:  #E9EFFD;
  --accent-deep:#0F2A6B;

  --brass:      #B08423;   /* stars, underline strokes, price emphasis */
  --brass-lt:   #F5EBD4;
  --green:      #0E7259;   /* ticks */
  --green-lt:   #E2F1EC;

  --radius:     14px;
  --radius-lg:  22px;
  --radius-sm:  9px;

  --shadow-sm:  0 1px 2px rgba(18,22,29,.06), 0 2px 8px rgba(18,22,29,.04);
  --shadow:     0 2px 4px rgba(18,22,29,.05), 0 12px 32px rgba(18,22,29,.08);
  --shadow-lg:  0 4px 8px rgba(18,22,29,.05), 0 28px 64px rgba(18,22,29,.14);

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;

  --wrap: 1180px;
  --gap: clamp(20px, 4vw, 28px);
  --nav-h: 72px;
}

/* ---------- base ---------- */
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-3);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-variation-settings: 'SOFT' 0, 'WONK' 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.45rem, 6.2vw, 4.15rem); }
h2 { font-size: clamp(1.95rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.2; }
h4 { font-size: 1.06rem; line-height: 1.3; }

p { text-wrap: pretty; }
strong, b { color: var(--ink-2); font-weight: 600; }

::selection { background: var(--ink); color: var(--paper); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gap); }
.wrap-narrow { max-width: 780px; }
.wrap-mid { max-width: 960px; }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-sm { padding-block: clamp(40px, 5vw, 64px); }
.section--tint { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: rgba(251,249,246,.76); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--paper); }
.section--ink strong { color: var(--paper); }

.rule { height: 1px; background: var(--line); border: 0; }

/* section heading block */
.lede-block { max-width: 660px; margin-bottom: clamp(32px, 5vw, 56px); }
.lede-block.center { margin-inline: auto; text-align: center; }
.lede-block h2 { margin-bottom: 16px; }
.lede-block p { font-size: 1.12rem; color: var(--ink-3); }
.section--ink .lede-block p { color: rgba(251,249,246,.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--brass); flex: none;
}
.eyebrow.center { justify-content: center; }
.section--ink .eyebrow { color: rgba(251,249,246,.55); }

/* an underline stroke you can wrap round a word in a headline */
.stroke {
  position: relative; white-space: nowrap;
  background-image: linear-gradient(var(--brass), var(--brass));
  background-size: 100% 3px;
  background-repeat: no-repeat;
  background-position: 0 92%;
  padding-bottom: .04em;
}
.ital { font-style: italic; font-variation-settings: 'SOFT' 20, 'WONK' 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans);
  font-size: .96rem; font-weight: 600; line-height: 1;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 100px;
  cursor: pointer;
  text-align: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
  min-height: 52px;
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(29,78,216,.28); }
.btn--accent:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(29,78,216,.34); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); background: rgba(18,22,29,.03); transform: translateY(-2px); }

.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; transform: translateY(-2px); }

.btn--ghost-light { background: rgba(251,249,246,.08); color: var(--paper); border-color: rgba(251,249,246,.24); }
.btn--ghost-light:hover { background: rgba(251,249,246,.16); border-color: rgba(251,249,246,.44); }

.btn--lg { padding: 18px 32px; font-size: 1.02rem; min-height: 58px; }
.btn--sm { padding: 11px 18px; font-size: .875rem; min-height: 42px; }
.btn--block { display: flex; width: 100%; }

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

/* text link with a moving arrow */
.arrow-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .95rem; color: var(--accent);
  font-family: var(--sans);
}
.arrow-link svg { width: 15px; height: 15px; transition: transform .18s ease; }
.arrow-link:hover svg { transform: translateX(4px); }
.section--ink .arrow-link { color: #93B4FF; }

/* ---------- header ---------- */
.topbar {
  background: var(--ink);
  color: rgba(251,249,246,.7);
  font-size: .8rem;
  padding: 8px 0;
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--paper); font-weight: 600; }
.topbar a:hover { color: #93B4FF; }
.topbar-left { display: flex; align-items: center; gap: 10px; }
.topbar .stars { display: inline-flex; gap: 2px; }
.topbar .stars svg { width: 11px; height: 11px; fill: var(--brass); }
@media (max-width: 720px) { .topbar-left span.hide-sm { display: none; } }

.site-head {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251,249,246,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-head.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(18,22,29,.05); }
.head-in {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--nav-h);
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
@media (max-width: 520px) { .brand img { height: 38px; } }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .93rem; font-weight: 500; color: var(--ink-2);
  position: relative; padding-block: 6px;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--brass);
  transition: width .2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.head-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.head-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; color: var(--ink);
  white-space: nowrap;
}
.head-phone svg { width: 16px; height: 16px; color: var(--accent); }
.head-phone:hover { color: var(--accent); }

@media (max-width: 1000px) { .nav, .head-phone { display: none; } }
@media (max-width: 640px)  { .head-actions .btn { display: none; } }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 10px;
  margin-right: -10px;
}
.burger span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .25s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1000px) { .burger { display: flex; } }

.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 100;
  width: min(360px, 88vw);
  background: var(--paper);
  border-left: 1px solid var(--line);
  padding: 24px var(--gap) 32px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.drawer-close {
  background: none; border: 0; cursor: pointer; padding: 8px;
  color: var(--ink); line-height: 0;
}
.drawer-close svg { width: 24px; height: 24px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  padding: 14px 4px; font-size: 1.08rem; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer nav a:hover { color: var(--accent); }
.drawer-foot { margin-top: 24px; display: grid; gap: 10px; }
.scrim {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(18,22,29,.42);
  backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.scrim.is-open { opacity: 1; pointer-events: auto; }
body.no-scroll { overflow: hidden; }

/* ---------- home hero ---------- */
.hero {
  position: relative;
  background: var(--paper);
  padding-block: clamp(44px, 6vw, 84px) clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.hero::before {   /* soft warm bloom, top-left */
  content: ''; position: absolute; inset: -20% 30% 40% -20%;
  background: radial-gradient(circle at 30% 40%, rgba(176,132,35,.10), transparent 62%);
  pointer-events: none;
}
.hero::after {    /* cool bloom, right */
  content: ''; position: absolute; inset: -10% -15% 20% 45%;
  background: radial-gradient(circle at 60% 35%, rgba(29,78,216,.10), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(36px, 5vw, 60px);
  align-items: center;
}
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.02fr .98fr; } }

.hero h1 { margin-bottom: 22px; }
.hero-lede {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  color: var(--ink-3); max-width: 30em; margin-bottom: 30px;
}
.hero-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 22px; font-size: .84rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink-4);
}
.hero-meta .stars { display: inline-flex; gap: 2px; }
.hero-meta .stars svg { width: 13px; height: 13px; fill: var(--brass); }
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }

.hero-assure {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  margin-top: 26px; font-size: .9rem; color: var(--ink-3);
}
.hero-assure li { display: inline-flex; align-items: center; gap: 7px; }
.hero-assure svg { width: 15px; height: 15px; color: var(--green); flex: none; }

/* stacked live-site mockups */
.showcase { position: relative; }
.mock {
  border-radius: 12px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.mock-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; background: #EFEAE2; border-bottom: 1px solid var(--line);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CFC7B8; }
.mock img { width: 100%; display: block; }

.showcase-stack { display: grid; gap: 18px; }
@media (min-width: 960px) {
  .showcase-stack { display: block; position: relative; padding-bottom: 78%; }
  .showcase-stack .mock { position: absolute; }
  .showcase-stack .mock-a { width: 72%; top: 0; right: 0; z-index: 2; }
  .showcase-stack .mock-b { width: 56%; bottom: 0; left: 0; z-index: 3; }
  .showcase-phone {
    position: absolute; width: 17%; bottom: 0; right: 4%; z-index: 4;
    border-radius: 18px; overflow: hidden; border: 5px solid var(--ink);
    box-shadow: var(--shadow-lg); background: var(--ink);
  }
  .showcase-phone img { border-radius: 13px; }
}
.showcase-phone { border-radius: 18px; overflow: hidden; }
@media (max-width: 959px) { .showcase-phone { display: none; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 76px) clamp(36px, 5vw, 60px);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero h1 { margin-bottom: 18px; max-width: 16em; }
.page-hero .hero-lede { margin-bottom: 26px; }
.page-hero--photo { background: var(--ink); border-bottom: 0; }
.page-hero--photo h1, .page-hero--photo .crumbs a, .page-hero--photo .crumbs { color: var(--paper); }
.page-hero--photo .hero-lede { color: rgba(251,249,246,.82); }
.page-hero--photo .hero-assure { color: rgba(251,249,246,.82); }
.page-hero--photo .hero-assure svg { color: #6FD3B4; }
.page-hero--photo .eyebrow { color: rgba(251,249,246,.6); }
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .34;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(18,22,29,.92) 0%, rgba(18,22,29,.62) 55%, rgba(18,22,29,.44) 100%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.photo-credit {
  position: absolute; right: 12px; bottom: 8px; z-index: 2;
  font-size: .68rem; color: rgba(251,249,246,.5);
}
.photo-credit a { color: rgba(251,249,246,.7); text-decoration: underline; }

/* campaign offer pill */
.offer-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brass-lt); color: #6B4E0B;
  border: 1px solid rgba(176,132,35,.35);
  padding: 8px 16px; border-radius: 100px;
  font-size: .82rem; font-weight: 700; letter-spacing: .01em;
  margin-bottom: 20px;
}
.offer-pill svg { width: 13px; height: 13px; fill: var(--brass); flex: none; }

/* breadcrumbs */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--ink-4); margin-bottom: 18px;
}
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs .sep { opacity: .5; }

/* ---------- logo / client strip ---------- */
.clients {
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding-block: 22px;
}
.clients-in {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 12px clamp(18px, 3vw, 34px);
}
.clients-label {
  font-size: .74rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-4);
  padding-right: 8px;
}
.clients-in span.name {
  font-family: var(--serif); font-size: 1.02rem; font-weight: 600;
  color: var(--ink-2); letter-spacing: -.01em;
}
.clients-in .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }

/* ---------- generic grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .97rem; }
.card p:not(:last-child) { margin-bottom: 10px; }
a.card:hover, .card--hover:hover {
  border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-3px);
}
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--accent-lt); color: var(--accent);
}
.card-icon svg { width: 21px; height: 21px; }
.card-icon.brass { background: var(--brass-lt); color: var(--brass); }
.card-icon.green { background: var(--green-lt); color: var(--green); }

/* numbered process steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--ink); }
.step::before {
  counter-increment: step; content: '0' counter(step);
  position: absolute; top: -2px; left: 0;
  font-family: var(--serif); font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; color: var(--ink);
  background: var(--brass); padding: 3px 9px 4px;
  border-radius: 0 0 6px 0;
}
.step h3 { margin: 14px 0 8px; }
.step p { font-size: .97rem; }

/* checked feature lists */
.checks { display: grid; gap: 11px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: .98rem; }
.checks svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 3px; }
.checks--2 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .checks--2 { grid-template-columns: repeat(2, 1fr); } }
.section--ink .checks svg { color: #6FD3B4; }

/* stat row */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 26px 20px; margin-top: 34px;
  padding-top: 30px; border-top: 1px solid var(--line);
}
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat .n {
  font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -.03em;
}
.stat .l {
  font-size: .78rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--ink-4); margin-top: 8px;
}
.section--ink .stats { border-top-color: rgba(251,249,246,.16); }
.section--ink .stat .l { color: rgba(251,249,246,.55); }

/* ---------- work / portfolio ---------- */
.work-grid { display: grid; gap: clamp(24px, 3vw, 34px); }
@media (min-width: 720px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }

.work {
  display: block; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.work-shot { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--paper-3); }
.work-shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .5s cubic-bezier(.2,.6,.2,1);
}
.work:hover .work-shot img { transform: scale(1.035); }
.work-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(251,249,246,.94); color: var(--ink);
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 100px;
  backdrop-filter: blur(6px);
}
.work-body { padding: 22px 24px 26px; }
.work-body h3 { margin-bottom: 7px; }
.work-body p { font-size: .96rem; margin-bottom: 14px; }
.work-feat { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .work-feat { display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; }
  .work-feat .work-shot { aspect-ratio: auto; height: 100%; min-height: 340px; }
  .work-feat .work-body { padding: clamp(28px, 3.4vw, 44px); align-self: center; }
}

/* ---------- pricing ---------- */
.price-grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .price-grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1040px) { .price-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.price {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px;
  position: relative;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.price:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.price--feat {
  border: 2px solid var(--ink); box-shadow: var(--shadow);
  background: var(--white);
}
.price-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper);
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; white-space: nowrap;
}
.price-name {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  color: var(--ink); margin-bottom: 4px;
}
.price-for { font-size: .87rem; color: var(--ink-4); margin-bottom: 18px; }
.price-fig {
  font-family: var(--serif); font-size: 2.7rem; font-weight: 600;
  color: var(--ink); line-height: 1; letter-spacing: -.035em;
  display: flex; align-items: baseline; gap: 2px;
}
.price-fig .cur { font-size: 1.5rem; }
.price-fig .per { font-size: .95rem; font-family: var(--sans); font-weight: 500; color: var(--ink-4); margin-left: 4px; }
.price-note { font-size: .84rem; color: var(--ink-4); margin-top: 7px; }
.price hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.price .checks { margin-bottom: 24px; }
.price .checks li { font-size: .93rem; }
.price .btn { margin-top: auto; }

.price-foot {
  margin-top: 28px; text-align: center;
  font-size: .95rem; color: var(--ink-3);
}
.price-foot a { color: var(--accent); font-weight: 600; }
.price-foot a:hover { text-decoration: underline; }

/* add-on table */
.addons { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .addons { grid-template-columns: repeat(2, 1fr); column-gap: 44px; } }
.addon {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 14px 2px; border-bottom: 1px solid var(--line);
}
.addon .n { font-size: .97rem; color: var(--ink-2); }
.addon .p { font-family: var(--serif); font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 20px; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px;
  display: flex; flex-direction: column;
}
.quote .stars { display: flex; gap: 3px; margin-bottom: 16px; }
.quote .stars svg { width: 16px; height: 16px; fill: var(--brass); }
.quote blockquote {
  font-family: var(--serif); font-size: 1.1rem; line-height: 1.45;
  color: var(--ink); letter-spacing: -.012em; margin-bottom: 22px; flex: 1;
}
.quote-by { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.quote-av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-size: .85rem; font-weight: 700; letter-spacing: .03em;
}
.quote-by .who { display: block; font-weight: 600; color: var(--ink); font-size: .96rem; line-height: 1.3; }
.quote-by .role { display: block; font-size: .85rem; color: var(--ink-4); line-height: 1.35; }

/* ---------- FAQ (details/summary — works without JS) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 22px 2px; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: 1.14rem; font-weight: 600;
  color: var(--ink); line-height: 1.3; letter-spacing: -.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .22s ease; color: var(--accent);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { padding-bottom: 10px; }
.faq .answer { padding: 0 2px 24px; max-width: 68ch; }
.faq .answer p:not(:last-child) { margin-bottom: 12px; }

/* ---------- prose (long-form copy) ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; margin-bottom: .5em; }
.prose h3 { margin-top: 1.6em; margin-bottom: .4em; }
.prose ul, .prose ol { display: grid; gap: 10px; padding-left: 1.3em; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-dk); }

/* ---------- blog article components ---------- */
/* These class names come from the existing article HTML, which we lift across
   verbatim so the content and its rankings are untouched. */
.prose .lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.1vw, 1.42rem);
  line-height: 1.45; letter-spacing: -.015em;
  color: var(--ink); margin-bottom: 1.4em;
}
.prose figure { margin-block: 2em; }
.prose figure img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; }
.prose figcaption { font-size: .84rem; color: var(--ink-4); text-align: center; margin-top: 10px; }

.callout {
  background: var(--accent-lt);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin-block: 2em;
}
.callout p { margin: 0; color: var(--ink-2); }
.callout strong { color: var(--accent-deep); }

.table-wrap { overflow-x: auto; margin-block: 1.8em; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.cmp-table th { background: var(--paper-2); font-weight: 700; color: var(--ink); font-size: .88rem; letter-spacing: .02em; }
.cmp-table tr:last-child td { border-bottom: 0; }

.article-cta {
  background: var(--ink); color: rgba(251,249,246,.8);
  border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px);
  margin-block: 2.6em 1em; text-align: center;
}
.article-cta h3 { color: var(--paper); margin-bottom: 10px; }
.article-cta p { margin-bottom: 22px; }
.article-cta .btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--paper); color: var(--ink);
  padding: 15px 28px; border-radius: 100px;
  font-weight: 600; font-size: .98rem;
}
.article-cta .btn-white:hover { background: #fff; transform: translateY(-2px); }

/* problem/answer list used on the local pages */
.pains { display: grid; gap: 16px; }
.pain {
  background: var(--white); border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px;
}
.pain q, .pain .said {
  display: block; font-family: var(--serif); font-size: 1.08rem;
  color: var(--ink); margin-bottom: 8px; font-style: italic;
}
.pain p { font-size: .97rem; margin: 0; }

/* area cross-links */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 100px; padding: 10px 18px;
  font-size: .93rem; font-weight: 500; color: var(--ink-2);
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.chips a:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }

/* split media + copy */
.split { display: grid; gap: clamp(30px, 5vw, 60px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .split--wide-left { grid-template-columns: 1.15fr .85fr; } }
/* Stretch variant: image fills its column so a tall text column doesn't
   leave a void beside a short photo. */
@media (min-width: 900px) {
  .split--stretch { align-items: stretch; }
  .split--stretch .split-media img { height: 100%; object-fit: cover; }
}
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.float-note {
  position: absolute; right: -10px; bottom: -18px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px;
  max-width: 260px;
}
@media (max-width: 560px) { .float-note { right: 8px; bottom: -14px; padding: 11px 14px; } }
.float-note .ic {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--brass-lt); color: var(--brass); display: grid; place-items: center;
}
.float-note .ic svg { width: 18px; height: 18px; }
.float-note strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.float-note span { font-size: .82rem; color: var(--ink-4); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink); color: rgba(251,249,246,.78);
  padding-block: clamp(52px, 7vw, 84px);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: -40% -10% 30% 55%;
  background: radial-gradient(circle at 60% 50%, rgba(29,78,216,.4), transparent 62%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--paper); margin-bottom: 14px; }
.cta-band p { font-size: 1.1rem; max-width: 48ch; margin-bottom: 28px; }
.cta-band .or {
  margin-top: 18px; font-size: .95rem; color: rgba(251,249,246,.62);
}
.cta-band .or a { color: var(--paper); font-weight: 700; }
.cta-band .or a:hover { color: #93B4FF; }

/* ---------- forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 38px);
  box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 6px; }
.form-card > div > p { font-size: .97rem; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: .84rem; font-weight: 600;
  color: var(--ink-2); margin-bottom: 7px;
}
.field label .opt { color: var(--ink-4); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--paper);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 14px 15px; font-size: 1rem; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; background: var(--white);
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-lt);
}
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: .84rem; color: var(--ink-4); margin-top: 14px; text-align: center; }
.form-note a { color: var(--accent); text-decoration: underline; }
.form-err {
  background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B;
  padding: 12px 15px; border-radius: var(--radius-sm);
  font-size: .92rem; margin-bottom: 18px;
}
/* honeypot — hidden from humans, catches bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-done { display: none; text-align: center; padding: 20px 0; }
.form-done.show { display: block; }
.form-done .tick {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--green-lt); color: var(--green);
  display: grid; place-items: center;
}
.form-done .tick svg { width: 28px; height: 28px; }
.form-done h3 { margin-bottom: 10px; }

.contact-grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.05fr .95fr; } }

.contact-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-line .ic {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: var(--accent-lt); color: var(--accent); display: grid; place-items: center;
}
.contact-line .ic svg { width: 18px; height: 18px; }
.contact-line h4 { margin-bottom: 2px; font-family: var(--sans); font-size: .8rem;
  letter-spacing: .09em; text-transform: uppercase; color: var(--ink-4); font-weight: 700; }
.contact-line a, .contact-line p { font-size: 1.02rem; color: var(--ink-2); font-weight: 500; }
.contact-line a:hover { color: var(--accent); }

/* what happens next — reassurance beside the form */
.next-steps { counter-reset: ns; display: grid; gap: 18px; margin-top: 4px; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.next-steps li::before {
  counter-increment: ns; content: counter(ns);
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.next-steps strong { display: block; color: var(--ink); }
.next-steps span { font-size: .95rem; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: rgba(251,249,246,.62); padding-block: clamp(48px, 6vw, 72px) 26px; }
.foot-grid { display: grid; gap: 34px; padding-bottom: 38px; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-brand img { height: 54px; width: auto; background: var(--paper); padding: 7px 12px; border-radius: 10px; margin-bottom: 16px; }
.foot-brand p { font-size: .93rem; max-width: 34ch; margin-bottom: 18px; }
.site-foot h4 {
  font-family: var(--sans); color: var(--paper);
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px;
}
.foot-links { display: grid; gap: 9px; }
.foot-links a { font-size: .93rem; color: rgba(251,249,246,.62); }
.foot-links a:hover { color: var(--paper); }
.foot-nap { font-size: .93rem; line-height: 1.75; font-style: normal; }
.foot-nap strong { display: block; color: var(--paper); margin-bottom: 4px; }
.foot-nap a { color: rgba(251,249,246,.82); }
.foot-nap a:hover { color: #93B4FF; }
.foot-bottom {
  border-top: 1px solid rgba(251,249,246,.12); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
  font-size: .82rem; color: rgba(251,249,246,.45);
}
.foot-bottom a { color: rgba(251,249,246,.62); }
.foot-bottom a:hover { color: var(--paper); text-decoration: underline; }

/* ---------- mobile sticky action bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; gap: 10px; padding: 10px var(--gap) calc(10px + env(safe-area-inset-bottom));
  background: rgba(251,249,246,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; min-height: 50px; padding-inline: 12px; font-size: .93rem; }
@media (max-width: 760px) { .mobile-bar { display: flex; } body { padding-bottom: 74px; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.err-page { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.err-page .code {
  font-family: var(--serif); font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 600; color: var(--line-2); line-height: 1; letter-spacing: -.04em;
}

/* ---------- helpers ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.mb-2 { margin-bottom: 24px; }
.muted { color: var(--ink-4); }
.small { font-size: .9rem; }
.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;
}
