/*
Theme Name: Reputation Galaxy
Theme URI: https://www.reputationgalaxy.com/
Description: Bespoke, dependency-free theme for Reputation Galaxy (negative Google review removal). Pure HTML + CSS, no page builder, no plugins. Bold, type-led design (dd.nyc-inspired): oversized headlines, numbered sequences, wide columns, near-monochrome on white with an electric-indigo accent and dark CTA/footer. Single stylesheet is the source of truth; core block/global styles are dequeued in functions.php. AAA contrast throughout; the AAA line-length limit is intentionally relaxed for a wider reading measure.
Author: Reputation Galaxy
Version: 3.0.2
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: orbit
*/

/* ==========================================================================
   0. Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -moz-text-size-adjust: 100%; }
ul, ol { list-style: none; }
img, svg, video, iframe { display: block; max-width: 100%; height: auto; }
img:is([sizes=auto i],[sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

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

/* ==========================================================================
   1. Tokens
   Near-monochrome on white + electric-indigo accent. All text pairs clear AAA
   (7:1 normal): ink 19.6:1, ink-soft 8.7:1, accent link 7.9:1, white-on-accent
   7.9:1, white-on-dark 19.6:1, dark-soft 8.5:1, accent-2 on dark 7.3:1.
   ========================================================================== */
:root {
  --paper: #ffffff;
  --paper-2: #f4f4f5;        /* cool light: alt sections, cards */
  --paper-3: #eaeaee;        /* tile fills / hovers */
  --ink: #0b0b0f;            /* near-black, cool */
  --ink-soft: #4a4a55;       /* cool gray, >=8:1 */
  --line: #e4e4e8;
  --line-2: #c7c7d0;

  --accent: #3a2fe0;         /* electric indigo: links, numbers, marks, hovers */
  --accent-2: #9a90ff;       /* lighter indigo: accent text on dark grounds */

  --dark: #0b0b12;           /* deep space: CTA band + footer */
  --dark-ink: #ffffff;
  --dark-soft: #a9a9b8;      /* 8.5:1 on --dark */

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1320px;
  --measure: 74ch;           /* relaxed reading measure (wider than the AAA 80-char guideline calls for on the strict side) */
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-y: clamp(4.5rem, 10vw, 10rem);

  --r: 4px;                  /* clean, minimal rounding */
  --r-lg: 10px;              /* images */

  --dur: .32s;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: #fff; }
strong, b { font-weight: 700; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.site-footer :focus-visible, .cta-band :focus-visible, .section--dark :focus-visible { outline-color: var(--accent-2); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.25rem; font-weight: 700; border-radius: var(--r);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   3. Typography — oversized, tight, confident
   ========================================================================== */
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(2.85rem, 1.9rem + 4vw, 5.5rem); }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.6rem); line-height: 1.04; letter-spacing: -0.032em; }
h3 { font-size: clamp(1.35rem, 1.15rem + 0.85vw, 1.75rem); line-height: 1.14; letter-spacing: -0.02em; font-weight: 700; }
h4 { font-size: 1.15rem; line-height: 1.3; font-weight: 700; }
p { max-width: var(--measure); }

.lead { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); line-height: 1.4; letter-spacing: -0.017em; color: var(--ink-soft); font-weight: 400; max-width: 46ch; }
.serif { font-family: var(--font-sans); font-weight: 600; font-style: normal; letter-spacing: -0.025em; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.eyebrow a { color: inherit; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 0.14em; }

/* ==========================================================================
   4. Layout
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--sunk { background: var(--paper-2); }
.section--hairline { border-top: 1px solid var(--line); }
.center { text-align: center; }
.center p, .center .lead { margin-inline: auto; }
.stack > * + * { margin-top: 1.35rem; }
.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }

/* Layout utilities (relaxed, wider measures) */
.u-measure { max-width: 52rem; }
.u-measure-46 { max-width: 52rem; }
.u-measure-wide { max-width: 64rem; }
.u-mt-sm { margin-top: 1.5rem; }
.u-mt { margin-top: 2rem; }
.u-mt-lg { margin-top: clamp(2.5rem, 5vw, 4rem); }
.u-mt-xl { margin-top: clamp(3rem, 6vw, 5rem); }
.u-flush-top { padding-top: 0; }

/* ==========================================================================
   5. Buttons & link CTAs
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3.35rem; padding: 0.9rem 1.7rem; border: 2px solid transparent; border-radius: var(--r);
  font-weight: 700; letter-spacing: -0.01em; cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
a.btn::after, button.btn.has-arrow::after { content: "\2192"; font-weight: 500; transition: transform var(--dur) var(--ease); }
a.btn:hover::after { transform: translateX(6px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); color: #fff; }
.btn--lg { min-height: 4rem; padding: 1.15rem 2.2rem; font-size: 1.08rem; }

.btn--ghost {
  min-height: 44px; padding: 0.5rem 0; border: 0; border-radius: 0; background: transparent; color: var(--ink);
  position: relative; gap: 0.5em;
}
.btn--ghost::before { content: ""; position: absolute; left: 0; right: 1.5em; bottom: 0.3rem; height: 2px; background: var(--accent); transform: scaleX(1); transform-origin: left; transition: transform var(--dur) var(--ease); }
.btn--ghost:hover::before { transform: scaleX(0); transform-origin: right; }
.btn--ghost:hover { color: var(--accent); transform: none; }
.section--dark .btn--ghost, .cta-band .btn--ghost { color: #fff; }
.section--dark .btn--ghost::before, .cta-band .btn--ghost::before { background: var(--accent-2); }
.section--dark .btn--ghost:hover, .cta-band .btn--ghost:hover { color: var(--accent-2); }

.arrow-link { display: inline-flex; align-items: center; gap: 0.45em; font-weight: 700; color: var(--accent); }
.arrow-link::after { content: "\2192"; transition: transform var(--dur) var(--ease); }
.arrow-link:hover::after { transform: translateX(6px); }

/* ==========================================================================
   6. Header / navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.1) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.04em; color: var(--ink); }
.brand__mark { width: 1.95rem; height: 1.95rem; flex: none; }
/* Tie the galaxy mark to the accent in the header (CSS overrides the inline square fill) */
.site-header .brand__mark rect { fill: var(--accent); }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; letter-spacing: -0.01em; position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.5rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform var(--dur) var(--ease); }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.nav__list .current-menu-item > a { font-weight: 700; }
.nav .btn { min-height: 2.9rem; padding: 0.6rem 1.3rem; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; min-width: 44px; padding: 0.5rem 1rem;
    background: transparent; border: 2px solid var(--line-2); border-radius: var(--r); font-weight: 700; cursor: pointer;
  }
  .nav {
    position: fixed; inset: 5.25rem 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 2rem;
    transform: translateY(-120%); visibility: hidden; transition: transform var(--dur) var(--ease);
  }
  .nav.is-open { transform: translateY(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a { padding-block: 0.7rem; }
  .nav__list a::after { display: none; }
  .nav .btn { margin-top: 1.25rem; align-self: flex-start; }
}

/* ==========================================================================
   7. Hero — oversized headline, big aside stats
   ========================================================================== */
.hero { padding-block: clamp(3.5rem, 8vw, 8.5rem) clamp(3rem, 6vw, 6rem); }
.hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 5.5rem); grid-template-columns: 1.4fr 0.6fr; align-items: end; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; align-items: start; } }
.hero h1 { margin-bottom: 0.35em; max-width: 15ch; }
.hero .lead { margin-bottom: 2.5rem; max-width: 42ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.hero__aside { border-top: 2px solid var(--ink); padding-top: 1.75rem; }
.hero__aside h2 { font-weight: 600; font-style: normal; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 1.75rem; }
.hero__aside p { display: none; }
.hero__stat { display: flex; flex-direction: column; gap: 0.15rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.hero__stat:first-of-type { border-top: 0; padding-top: 0; }
.hero__stat b { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.hero__stat span { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.35; }

/* ==========================================================================
   8. Cards + audiences
   ========================================================================== */
.card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.6rem, 3vw, 2.25rem); }
.card__icon { width: 2.35rem; height: 2.35rem; color: var(--accent); margin-bottom: 1.5rem; }
.card__icon svg { width: 2.35rem; height: 2.35rem; }
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--ink-soft); }
.card ul { color: var(--ink-soft); margin-top: 0.4rem; }
.card ul li { position: relative; padding-left: 1.3rem; margin-bottom: 0.6rem; }
.card ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 2px; background: var(--accent); }
.audience .card--dark { background: var(--dark); color: var(--dark-soft); border-color: transparent; }
.audience .card--dark h3 { color: #fff; }

/* ==========================================================================
   9. Quote form (clean boxed inputs)
   ========================================================================== */
.quote__grid { display: grid; gap: clamp(2.5rem, 5vw, 5.5rem); grid-template-columns: 0.85fr 1.15fr; align-items: start; }
@media (max-width: 960px) { .quote__grid { grid-template-columns: 1fr; } }
.form-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.6rem, 3.5vw, 2.5rem); }
.form-card > h3, .form-card > h2 { margin-bottom: 1.75rem; }
.form-row { margin-bottom: 1.6rem; }
.form-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field-label { display: block; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.55rem; color: var(--ink); }
.field-label .req { color: var(--accent); margin-left: 0.15em; }
.input, .textarea {
  width: 100%; border: 1.5px solid var(--line-2); background: var(--paper); border-radius: var(--r);
  padding: 0.85rem 1rem; font-size: 1.0625rem; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #6a6a76; }
.input:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #b3160f; }
.checkbox-row { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1.75rem; }
.checkbox-row input[type="checkbox"] { flex: none; width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; accent-color: var(--accent); }
.checkbox-row label { color: var(--ink-soft); font-size: 0.98rem; }
.checkbox-row a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.16em; font-weight: 600; }
.error-msg { display: none; color: #b3160f; font-weight: 600; font-size: 0.92rem; margin-top: 0.5rem; }
.error-msg::before { content: "\26A0  "; }
.quote__aside h1 { margin-bottom: 0.75rem; }
.quote__aside h2 { margin-bottom: 0.75rem; }
.contact-line { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; margin-bottom: 1.5rem; font-weight: 700; font-size: 1.25rem; }
.contact-line svg { width: 1.3rem; height: 1.3rem; flex: none; color: var(--accent); }
.contact-line a:hover { color: var(--accent); }
.assurance { margin-top: 2rem; }
.assurance li { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1.1rem; color: var(--ink-soft); }
.assurance svg { width: 1.3rem; height: 1.3rem; flex: none; margin-top: 0.15rem; color: var(--accent); }

/* ==========================================================================
   10. Blog list + single article
   ========================================================================== */
.page-head { padding-block: clamp(4rem, 8vw, 8.5rem) clamp(1.5rem, 3vw, 3rem); }
.page-head h1 { max-width: 20ch; }
.page-head .lead { max-width: 54ch; margin-top: 1.75rem; }
.post-list { display: grid; gap: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); }
.post-card { display: flex; flex-direction: column; position: relative; padding-top: 1.75rem; border-top: 2px solid var(--ink); transition: border-color var(--dur) var(--ease); }
.post-card:hover { border-top-color: var(--accent); }
.post-card__media { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 1.4rem; background: var(--paper-2); border-radius: var(--r-lg); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.post-card__meta { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.post-card__title { font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.6rem); line-height: 1.1; letter-spacing: -0.025em; }
.post-card__title a { display: inline; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card p { color: var(--ink-soft); font-size: 0.98rem; }
.post-card__more { margin-top: auto; padding-top: 0.9rem; color: var(--accent); font-weight: 700; font-size: 0.95rem; }

.article { max-width: 52rem; margin-inline: auto; padding-block: clamp(3rem, 6vw, 5rem); }
.article > .page-head { padding-top: 0; }
.article__meta { margin-top: 0.9rem; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.75rem; }
.article__body { font-size: clamp(1.12rem, 1.02rem + 0.4vw, 1.3rem); line-height: 1.7; }
.article__body > * { max-width: var(--measure); margin-inline: auto; }

/* ==========================================================================
   11. Gutenberg block baseline (core block CSS is dequeued)
   ========================================================================== */
.article__body p { margin-block: 1.3em; }
.article__body h2 { font-size: clamp(1.65rem, 1.3rem + 1.3vw, 2.35rem); margin-block: 1.9em 0.55em; line-height: 1.1; letter-spacing: -0.03em; }
.article__body h3 { font-size: clamp(1.3rem, 1.12rem + 0.75vw, 1.65rem); margin-block: 1.6em 0.5em; line-height: 1.16; }
.article__body ul, .article__body ol { margin-block: 1.3em; padding-left: 0; }
.article__body ol { padding-left: 1.4em; list-style: decimal; }
.article__body ul li, .article__body ol li { margin-bottom: 0.6em; padding-left: 1.7rem; position: relative; }
.article__body ol li { padding-left: 0.4rem; }
.article__body ul li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 0.8rem; height: 2px; background: var(--accent); }
.article__body ol li::marker { color: var(--accent); font-weight: 700; }
.article__body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.16em; font-weight: 600; }
.article__body a:hover { text-decoration-thickness: 0.13em; }
.article__body strong { font-weight: 700; }
/* CTAs injected into content (mid-article guide) keep their own button colors,
   not the body-link color (higher specificity than `.article__body a`). */
.article__body a.btn { text-decoration: none; }
.article__body a.btn--primary { color: #fff; }
.article__body a.btn--primary:hover { color: #fff; }
.article__body a.btn--ghost { color: var(--ink); }
.article__body a.btn--ghost:hover { color: var(--accent); }

.wp-block-image, .article__body figure { margin-block: 2.5em; max-width: 100%; }
.wp-block-image img, .article__body figure img { width: 100%; height: auto; border-radius: var(--r-lg); }
.wp-block-image figcaption, figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.7rem; text-align: center; }

.wp-block-quote, .article__body blockquote {
  margin-block: 2.5em; padding: 0.5rem 0 0.5rem 1.75rem; border-left: 3px solid var(--accent);
  font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.2rem); line-height: 1.2; letter-spacing: -0.03em; font-weight: 600; max-width: var(--measure);
}
.wp-block-quote p, .article__body blockquote p { max-width: none; margin-block: 0.3em; }
.wp-block-quote cite { display: block; margin-top: 0.9rem; font-size: 0.9rem; font-weight: 400; font-style: normal; color: var(--ink-soft); letter-spacing: 0; }

.wp-block-table, .article__body table { width: 100%; border-collapse: collapse; margin-block: 2em; font-size: 0.98rem; display: block; overflow-x: auto; }
.wp-block-table td, .wp-block-table th, .article__body th, .article__body td { border: 1px solid var(--line-2); padding: 0.7rem 0.9rem; text-align: left; }
.wp-block-table th, .article__body th { font-weight: 700; background: var(--paper-2); }

.wp-block-preformatted, .article__body pre { margin-block: 2em; padding: 1.25rem 1.5rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); overflow-x: auto; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.9rem; line-height: 1.5; white-space: pre-wrap; }

.wp-block-embed, .article__body .wp-block-embed { margin-block: 2.5em; }
.wp-block-embed__wrapper { position: relative; }
.wp-block-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: var(--r-lg); }

.aligncenter { margin-inline: auto; text-align: center; }
.alignright { float: right; margin: 0.5em 0 1em 1.5em; }
.alignleft { float: left; margin: 0.5em 1.5em 1em 0; }

/* CTA block at the foot of single posts */
.post-cta { margin-top: 4rem; padding-top: 2.5rem; border-top: 2px solid var(--ink); max-width: 52rem; margin-inline: auto; }
.post-cta h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); margin-bottom: 0.6rem; }
.post-cta p { color: var(--ink-soft); margin-bottom: 1.5rem; }

/* Mid-article guide CTA */
.mid-cta { background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r); padding: clamp(1.6rem, 3vw, 2.15rem); margin: 3rem auto; max-width: var(--measure); }
.mid-cta__label { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 0 0 0.5rem; max-width: none; }
.mid-cta__title { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.14; margin: 0 0 0.5rem; max-width: none; color: var(--ink); }
.mid-cta__text { color: var(--ink-soft); margin: 0 0 1.25rem; max-width: none; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 4rem; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 0.7rem; border: 1.5px solid var(--line-2); border-radius: var(--r); font-weight: 700; transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Table of contents */
.toc { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.6rem; margin: 0 auto 3rem; max-width: var(--measure); }
.toc__title { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 0.75rem; }
.toc__list { list-style: none; margin: 0; padding: 0; }
.toc__list li { margin: 0.4rem 0; line-height: 1.35; }
.toc__list a { color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.toc__list a:hover { border-bottom-color: var(--accent); color: var(--accent); }
.toc__sub { padding-left: 1.25rem; }
.toc__sub a { color: var(--ink-soft); font-size: 0.95rem; }

/* Post tags */
.post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: var(--measure); margin: 3rem auto 0; }
.post-tags a { font-size: 0.85rem; padding: 0.45rem 0.95rem; border: 1.5px solid var(--line-2); border-radius: 999px; color: var(--ink-soft); text-decoration: none; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.post-tags a:hover { border-color: var(--accent); color: var(--accent); }

/* Related articles */
.related { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.related__title { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.related .post-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.related .post-card__title { font-size: 1.25rem; }

/* ==========================================================================
   11b. Interior pages: intro, numbered feature sequence, source tiles, checklist, CTA band
   ========================================================================== */
.page-intro { padding-block: clamp(4rem, 8vw, 8rem) clamp(2rem, 4vw, 3.5rem); }
.page-intro h1 { max-width: 16ch; margin-bottom: 0.4em; }
.page-intro .lead { max-width: 54ch; }
.page-intro__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.25rem; }

/* Numbered feature sequence (dd.nyc-style 01/02/03) */
.feature-list { display: grid; gap: clamp(1.75rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); margin: 0; counter-reset: feat; }
.feature-item { counter-increment: feat; border-top: 2px solid var(--ink); padding-top: 1.5rem; }
.feature-item h3 { margin: 0 0 0.6rem; }
.feature-item h3::before { content: counter(feat, decimal-leading-zero); display: block; font-size: 1rem; font-weight: 800; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 1rem; font-variant-numeric: tabular-nums; }
.feature-item p { margin: 0; color: var(--ink-soft); max-width: none; }
.feature-item p + p { margin-top: 0.8em; }

/* Result-source tiles */
.source-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.source-grid li { border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); min-height: 5rem; display: flex; align-items: center; padding: 1.1rem 1.4rem; font-weight: 600; letter-spacing: -0.015em; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.source-grid li:hover { background: var(--ink); color: #fff; }
.source-note { color: var(--ink-soft); margin-top: 1.75rem; max-width: 64ch; }

/* Checklist (Why Choose Us) */
.checklist { display: grid; gap: 1.3rem; max-width: 52rem; }
.checklist li { display: grid; grid-template-columns: 1.7rem 1fr; gap: 0.9rem; align-items: start; }
.checklist svg { width: 1.45rem; height: 1.45rem; margin-top: 0.15rem; color: var(--accent); }
.checklist b { font-weight: 700; }
.checklist span { color: var(--ink-soft); }

/* Dark CTA band (deep space) */
.cta-band, .section--dark { background: var(--dark); color: var(--dark-soft); }
.section.cta-band { padding-block: clamp(4rem, 7vw, 7rem); }
.cta-band h2, .section--dark h2 { color: #fff; max-width: 18ch; }
.cta-band p, .section--dark p { color: var(--dark-soft); max-width: 52ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.25rem; }
.cta-band .btn--primary { background: #fff; color: var(--ink); }
.cta-band .btn--primary:hover { background: var(--accent-2); color: var(--ink); }

/* Simple contact detail rows */
.contact-details { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.contact-details li { display: grid; gap: 0.15rem; }
.contact-details .k { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.contact-details .v { font-size: 1.2rem; font-weight: 600; }
.contact-details a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.16em; }

/* Legal / about prose */
.legal .article__body h2 { font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.8rem); }
.legal .article__body { font-size: 1.075rem; line-height: 1.65; }
.legal .updated { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 2rem; }

/* ==========================================================================
   12. Footer (deep space)
   ========================================================================== */
.site-footer { background: var(--dark); color: var(--dark-soft); padding-block: clamp(4rem, 7vw, 6rem) 2.25rem; }
.site-footer a { color: var(--dark-ink); }
.site-footer a:hover { color: var(--accent-2); }
.footer-grid { display: grid; gap: 2.75rem; grid-template-columns: 1.7fr 1fr 1fr; margin-bottom: 3.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: #fff; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.04em; margin-bottom: 1.2rem; }
.footer-col p { color: var(--dark-soft); }
.footer-col h4 { color: #fff; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.25rem; font-weight: 700; }
.footer-col li { margin-bottom: 0.8rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); padding-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; font-size: 0.86rem; }

/* ==========================================================================
   13. Motion — subtle scroll reveal (reduced-motion safe)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hero__grid > *, .card, .post-card, .feature-item, .form-card, .quote__aside, .page-head > *, .section > .container > .stack {
      animation: rg-reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 18%;
    }
  }
}
@keyframes rg-reveal { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.anchor-offset { scroll-margin-top: 7rem; }

.article__updated{max-width:var(--measure,68ch);margin:2.75rem auto 0;padding-top:1.2rem;border-top:1px solid rgba(0,0,0,.12);font-size:.85rem;letter-spacing:.03em;opacity:.6}
