/*
Theme Name: Web Promote Pro
Theme URI: https://webpromotepro.com
Author: Web Promote Pro LLC
Description: A performance-first marketing agency theme. Deep harbor ink, rank-green accent, topographic map contours, and monospace data labels — built around search positions and measurable growth.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webpromotepro
Tags: business, agency, one-column, custom-menu, custom-logo, translation-ready
*/

/* ==========================================================
   TOKENS
   ========================================================== */
:root {
  --ink: #0a1e2e;        /* deep harbor blue — headers, footer, hero */
  --ink-2: #10293c;      /* raised panels on ink */
  --paper: #f5f7f6;      /* page background */
  --card: #ffffff;
  --mist: #dbe4e1;       /* hairlines, borders */
  --slate: #55707f;      /* muted text */
  --rank: #14a468;       /* rank green — data & success signals only */
  --rank-deep: #0d7c4e;
  --cta: #ff6a1f;        /* action orange — buttons only, nothing else */
  --cta-deep: #e0530a;
  --radius: 14px;
  --radius-sm: 8px;

  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Public Sans", -apple-system, Segoe UI, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --w-content: 1120px;
  --w-narrow: 720px;
}

/* ==========================================================
   RESET / 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; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rank-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rank); }
:focus-visible { outline: 3px solid var(--rank); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); }

.wrap { max-width: var(--w-content); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.wrap--narrow { max-width: var(--w-narrow); }

/* Mono eyebrow label — the data voice of the theme */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rank-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--rank);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--cta); color: #fff; box-shadow: 0 6px 18px rgba(255,106,31,0.35); }
.btn--solid:hover { background: var(--cta-deep); color: #fff; }
.btn--ghost { border-color: var(--mist); color: var(--ink); }
.btn--ghost:hover { border-color: var(--rank); color: var(--rank-deep); }
.hero .btn--ghost { border-color: rgba(255,255,255,0.35); color: #fff; }
.hero .btn--ghost:hover { border-color: var(--rank); color: #fff; }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}
.site-brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.site-brand img.custom-logo { max-height: 44px; width: auto; }
.site-brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.site-brand__name span { color: var(--rank); }

.site-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.site-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--rank); }
.site-header .btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--ink-2); padding: 1rem 1.4rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.9rem; }
  .header-cta { display: none; }
}

/* ==========================================================
   HERO — topographic contours + position card signature
   ========================================================== */
.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero__topo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p.lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  max-width: 34rem;
  margin: 0 0 1.8rem;
}
.hero .eyebrow { color: var(--rank); }
.hero__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* Signature: the "map pack" position card */
.rank-card {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  max-width: 380px;
  justify-self: end;
  width: 100%;
}
.rank-card__title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
}
.rank-row + .rank-row { margin-top: 0.35rem; }
.rank-row--you { background: rgba(20,164,104,0.14); border: 1px solid rgba(20,164,104,0.45); }
.rank-row__pos {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  width: 2.2rem;
}
.rank-row--you .rank-row__pos { color: var(--rank); }
.rank-row__bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.12); overflow: hidden; }
.rank-row__bar i { display: block; height: 100%; background: rgba(255,255,255,0.28); }
.rank-row--you .rank-row__bar i { background: var(--rank); }
.rank-row__delta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--rank);
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .rank-card { justify-self: start; }
}

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h2 { color: #fff; }
.section__head { max-width: 46rem; margin-bottom: 2.5rem; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--rank); transform: translateY(-2px); }
.card h3 { margin-top: 0.4rem; }
.card p { color: var(--slate); margin-bottom: 0; }
.card .eyebrow { margin-bottom: 0.2rem; }
.card .eyebrow::before { width: 14px; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--cta-deep), var(--cta));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band .btn--solid { background: #fff; color: var(--ink); }
.cta-band .btn--solid:hover { background: var(--paper); color: var(--ink); }

/* ==========================================================
   CONTENT / BLOG
   ========================================================== */
.page-title-bar { background: var(--ink); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; }
.page-title-bar h1 { color: #fff; margin: 0; }
.entry-content { padding-block: clamp(2.5rem, 6vw, 4rem); }
.entry-content > * { max-width: var(--w-narrow); }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-content img, .entry-content .wp-block-image, .entry-content .alignwide { max-width: var(--w-content); }
.entry-content blockquote {
  border-left: 3px solid var(--rank);
  margin: 1.5em 0;
  padding: 0.3em 0 0.3em 1.2em;
  color: var(--slate);
  font-style: italic;
}
.entry-content code { font-family: var(--font-mono); font-size: 0.9em; background: #e9efec; padding: 0.15em 0.4em; border-radius: 4px; }

.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; padding-block: 2.5rem; }
.post-card { background: var(--card); border: 1px solid var(--mist); border-radius: var(--radius); overflow: hidden; transition: border-color 0.15s ease, transform 0.15s ease; }
.post-card:hover { border-color: var(--rank); transform: translateY(-2px); }
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; }
.post-card__meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.5rem; }
.post-card h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--rank-deep); }
.post-card p { color: var(--slate); font-size: 0.95rem; margin: 0; }
.post-card__thumb img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

.pagination { display: flex; gap: 0.5rem; padding-bottom: 3rem; font-family: var(--font-mono); font-size: 0.85rem; }
.pagination .page-numbers { padding: 0.45rem 0.85rem; border: 1px solid var(--mist); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Single post meta */
.entry-meta { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 0.8rem; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); margin-top: 3rem; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
.site-footer a:hover { color: var(--rank); }
.site-footer__brand p { font-size: 0.95rem; max-width: 24rem; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 780px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* WordPress core niceties */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-block-button__link { border-radius: 999px; }

/* ==========================================================
   FRONT-PAGE SECTION FORMAT (Custom HTML block classes)
   ========================================================== */
.front-sections { background: var(--paper); }
.front-sections .hero__inner,
.front-sections .section__inner,
.front-sections .assurance-bar__inner,
.front-sections .cta__inner {
  max-width: var(--w-content);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

/* Reveal animation (JS adds .is-visible) */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* --- HERO --- */
.front-sections .hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem); }
.front-sections .hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__title { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin: 0 0 1rem; }
.hero__title em { font-style: normal; color: var(--rank); }
.hero__lede { font-size: 1.13rem; color: rgba(255,255,255,.78); max-width: 34rem; margin: 0 0 1.6rem; }
.eyebrow--on { color: var(--rank); }
.eyebrow--signal { color: var(--rank-deep); }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }
.btn--primary { background: var(--cta); color: #fff; box-shadow: 0 6px 18px rgba(255,106,31,.35); }
.btn--primary:hover { background: var(--cta-deep); color: #fff; }
.btn--ghost.btn--on-dark { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost.btn--on-dark:hover { border-color: var(--cta); color: #fff; }
.btn--block { display: block; text-align: center; }
.hero__assurances {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .45rem 1.2rem;
  font-size: .92rem; color: rgba(255,255,255,.7);
}
.hero__assurances li { position: relative; padding-left: 1.2rem; }
.hero__assurances li::before { content: "✓"; position: absolute; left: 0; color: var(--rank); font-weight: 700; }
@media (max-width: 900px) {
  .front-sections .hero__inner { grid-template-columns: 1fr; }
}

/* --- REPORT CARD + GAUGE --- */
.report-card {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  max-width: 400px; width: 100%;
  justify-self: end;
}
@media (max-width: 900px) { .report-card { justify-self: start; } }
.report-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.report-card__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.report-card__chip {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cta); border: 1px solid rgba(255,106,31,.5); background: rgba(255,106,31,.12);
  padding: .25rem .6rem; border-radius: 999px;
}
.report-card__body { display: flex; gap: 1.2rem; align-items: center; }
.gauge { position: relative; width: 128px; min-width: 128px; height: 128px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 10; }
.gauge__value { fill: none; stroke: var(--rank); stroke-width: 10; stroke-linecap: round; }
.gauge__readout { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge__num { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: #fff; line-height: 1; }
.gauge__den { font-family: var(--font-mono); font-size: .7rem; color: rgba(255,255,255,.5); margin-top: .2rem; }
.report-card__list { list-style: none; margin: 0; padding: 0; font-size: .9rem; color: rgba(255,255,255,.8); }
.report-card__list li { position: relative; padding: .25rem 0 .25rem 1.1rem; }
.report-card__list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--cta); }
.report-card__note { font-size: .78rem; color: rgba(255,255,255,.45); margin: 1rem 0 0; }
@media (max-width: 420px) {
  .report-card__body { flex-direction: column; align-items: flex-start; }
}

/* --- ASSURANCE BAR --- */
.assurance-bar { background: var(--ink-2); border-block: 1px solid rgba(255,255,255,.08); }
.assurance-bar__inner {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem;
  padding-block: 1.1rem;
}
.assurance { display: flex; flex-direction: column; gap: .15rem; }
.assurance__k { font-family: var(--font-mono); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.assurance__v { font-weight: 700; font-size: .95rem; color: #fff; }
@media (max-width: 760px) { .assurance-bar__inner { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* --- SECTIONS --- */
.front-sections .section { padding-block: clamp(3.2rem, 8vw, 5.5rem); }
.front-sections .section--dark { background: var(--ink); color: #fff; }
.front-sections .section--dark .section__title { color: #fff; }
.front-sections .section--dark .section__lede { color: rgba(255,255,255,.75); }
.section__head { max-width: 46rem; margin-bottom: 2.4rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 .7rem; }
.section__lede { color: var(--slate); font-size: 1.05rem; margin: 0; }
.section__lede a { color: var(--rank-deep); }
.front-sections .section--dark .section__lede a { color: var(--rank); }

/* Grid of cards */
.grid { display: grid; gap: 1.1rem; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.front-sections .card { background: var(--card); border: 1px solid var(--mist); }
.front-sections .section--dark .card {
  background: var(--ink-2); border-color: rgba(255,255,255,.1);
}
.front-sections .section--dark .card h3 { color: #fff; }
.front-sections .section--dark .card p { color: rgba(255,255,255,.7); }
.card__icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; margin-bottom: .9rem;
  background: rgba(20,164,104,.12); color: var(--rank);
  border: 1px solid rgba(20,164,104,.35);
}
.front-sections .card h3 { font-size: 1.08rem; margin: 0 0 .4rem; }
.front-sections .card p { margin: 0; font-size: .95rem; }

/* --- STEPS --- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.step { background: var(--card); border: 1px solid var(--mist); border-radius: var(--radius); padding: 1.4rem; }
.step__num { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rank-deep); margin-bottom: .7rem; }
.step h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.step p { margin: 0; color: var(--slate); font-size: .93rem; }

/* --- INDUSTRIES / PILLS --- */
.industries { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill {
  font-family: var(--font-mono); font-size: .8rem;
  color: #fff; border: 1px solid rgba(255,255,255,.25);
  padding: .5rem 1rem; border-radius: 999px;
}

/* --- PROMISE --- */
.promise__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; }
.promise__block { background: var(--card); border: 1px solid var(--mist); border-radius: var(--radius); padding: 1.5rem; }
.promise__block h3 { font-size: 1.05rem; margin: 0 0 .8rem; }
.promise__list { list-style: none; margin: 0; padding: 0; color: var(--slate); font-size: .95rem; }
.promise__list li { position: relative; padding: .3rem 0 .3rem 1.4rem; }
.promise__list li::before { content: "✓"; position: absolute; left: 0; color: var(--rank); font-weight: 700; }

/* --- FAQ --- */
.faq { max-width: 720px; margin-inline: auto; }
.faq__item {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm); margin-bottom: .6rem; overflow: hidden;
}
.faq__item summary {
  cursor: pointer; list-style: none; font-weight: 700; color: #fff;
  padding: 1rem 2.6rem 1rem 1.2rem; position: relative; font-size: .98rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); color: var(--rank); font-size: 1.1rem;
}
.faq__item[open] summary::after { content: "–"; }
.faq__answer { padding: 0 1.2rem 1.1rem; color: rgba(255,255,255,.75); font-size: .93rem; }
.faq__answer a { color: var(--rank); }

/* --- FINAL CTA --- */
.front-sections .cta {
  background: linear-gradient(120deg, var(--cta-deep), var(--cta));
  color: #fff; text-align: center;
}
.front-sections .cta h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 .6rem; }
.front-sections .cta p { color: rgba(255,255,255,.9); max-width: 36rem; margin: 0 auto 1.6rem; }
.front-sections .cta .btn--primary { background: #fff; color: var(--ink); box-shadow: none; }
.front-sections .cta .btn--primary:hover { background: var(--paper); color: var(--ink); }
.front-sections .cta .btn--ghost.btn--on-dark:hover { border-color: #fff; }

/* --- grid-bg: subtle contour texture on dark sections --- */
.grid-bg {
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 1px, transparent 1px 90px);
}

/* Logo sizing (default + Customizer-uploaded) */
.site-brand img.custom-logo,
.site-brand__img { max-height: 48px; width: auto; display: block; }
@media (max-width: 480px) {
  .site-brand img.custom-logo,
  .site-brand__img { max-height: 40px; }
}
