/* ==========================================================================
   ProjectK Publishing — shared main-site design system
   Used by the multi-page marketing site (home, about, editing-services,
   portfolio, faq, contact, legal). Built on the same tokens as the landing
   pages so the whole domain reads as one system. Cached via _headers.
   ========================================================================== */

/* ── SELF-HOSTED FONTS (same four weights as the landing pages) ── */
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:600; font-display:swap; src:url('/fonts/montserrat-v31-latin-600.woff2') format('woff2'); }
@font-face { font-family:'Montserrat'; font-style:normal; font-weight:700; font-display:swap; src:url('/fonts/montserrat-v31-latin-700.woff2') format('woff2'); }
@font-face { font-family:'Josefin Sans'; font-style:normal; font-weight:500; font-display:swap; src:url('/fonts/josefin-sans-v34-latin-500.woff2') format('woff2'); }
@font-face { font-family:'Josefin Sans'; font-style:normal; font-weight:600; font-display:swap; src:url('/fonts/josefin-sans-v34-latin-600.woff2') format('woff2'); }

*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }

:root {
  --navy:#212D4A;
  --navy-deep:#1A2238;
  --navy-mid:rgba(33,45,74,0.72);
  --navy-muted:rgba(33,45,74,0.7);
  --line:rgba(33,45,74,0.12);
  --bg:#ffffff;
  --bg-card:#f5f5f3;
  --bg-warm:#faf8f4;
  --accent:#B68A47;
  --accent-deep:#8A6A34;
  --accent-on-navy:#C9A05A;
  --accent-soft:rgba(182,138,71,0.14);
  --font-heading:'Montserrat', sans-serif;
  --font-body:'Josefin Sans', sans-serif;
  --max:880px;
  --max-wide:1080px;
  --radius:10px;
  --shadow:0 1px 2px rgba(33,45,74,0.04), 0 8px 24px rgba(33,45,74,0.06);
  --shadow-hover:0 2px 4px rgba(33,45,74,0.06), 0 18px 40px rgba(33,45,74,0.10);
  --error:#b42318;
}

html { font-size:16px; scroll-behavior:smooth; }
body { font-family:var(--font-body); font-weight:500; color:var(--navy); background:var(--bg); line-height:1.6; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
a { color:inherit; }
img { max-width:100%; height:auto; }
:focus-visible { outline:2px solid var(--accent-deep); outline-offset:3px; border-radius:3px; }

/* ── SHARED BITS ── */
.eyebrow {
  font-family:var(--font-heading); font-size:0.78rem; font-weight:600; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--accent-deep); display:inline-flex; align-items:center; gap:0.6rem; margin-bottom:1.1rem;
}
.eyebrow::before { content:""; width:26px; height:1.5px; background:var(--accent); display:inline-block; }
.eyebrow.center { justify-content:center; }
.section-navy .eyebrow, .cta-band .eyebrow { color:var(--accent-on-navy); }

.skip-link { position:absolute; left:-9999px; top:0; z-index:2000; background:var(--navy); color:#fff; padding:0.7rem 1.1rem; font-family:var(--font-body); font-weight:600; text-decoration:none; border-radius:0 0 var(--radius) 0; }
.skip-link:focus { left:0; }
#main:focus { outline:none; }

/* ── NAV ── */
nav { width:100%; padding:1.1rem 2rem; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); position:sticky; top:0; background:rgba(255,255,255,0.86); backdrop-filter:saturate(140%) blur(10px); -webkit-backdrop-filter:saturate(140%) blur(10px); z-index:100; }
.nav-brand { font-family:var(--font-heading); font-size:1.1rem; font-weight:600; letter-spacing:-0.01em; color:var(--navy); text-decoration:none; display:inline-flex; align-items:center; gap:0.5rem; }
.nav-logo { width:32px; height:32px; border-radius:50%; display:block; flex-shrink:0; }
.footer-brand .nav-logo { width:28px; height:28px; }
.nav-links { display:flex; gap:2rem; list-style:none; align-items:center; }
.nav-links a { font-family:var(--font-body); font-size:0.95rem; font-weight:500; color:var(--navy); text-decoration:none; opacity:0.72; position:relative; padding-bottom:3px; transition:opacity 0.15s; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:0; width:100%; height:1.5px; background:var(--accent); transform:scaleX(0); transform-origin:left; transition:transform 0.22s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity:1; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform:scaleX(1); }
.nav-cta { font-size:0.82rem !important; padding:0.5rem 1.1rem !important; white-space:nowrap; }
/* Keep the CTA button text white: `.nav-links a` / `.mobile-menu a` (0-1-1) otherwise out-specify
   `.btn-primary` (0-1-0) and paint the label navy-on-navy (invisible). */
.nav-links a.btn-primary, .mobile-menu a.btn-primary { color:#fff; }
.nav-hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:4px; }
.nav-hamburger span { display:block; width:24px; height:2px; background:var(--navy); border-radius:2px; }
.mobile-menu { display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column; background:#fff; border-bottom:1px solid var(--line); box-shadow:0 12px 24px rgba(33,45,74,0.10); padding:1rem 2rem 1.5rem; gap:1rem; z-index:100; }
.mobile-menu.open { display:flex; }
.mobile-menu a { font-family:var(--font-body); font-size:1rem; font-weight:500; color:var(--navy); text-decoration:none; opacity:0.85; }

/* ── SECTIONS ── */
.section { width:100%; padding:5.5rem 2rem; }
.section-inner { max-width:var(--max-wide); margin:0 auto; }
.section-inner.narrow { max-width:var(--max); }
.section-alt { background:var(--bg-card); }
.section-navy { background:var(--navy); color:#fff; }
.section-head { margin-bottom:3rem; }
.section-head.center { text-align:center; }
.section-heading { font-family:var(--font-heading); font-weight:700; font-size:clamp(1.7rem, 3.4vw, 2.4rem); line-height:1.15; letter-spacing:-0.01em; color:var(--navy); }
.section-navy .section-heading { color:#fff; }
.section-sub { margin-top:1rem; max-width:60ch; color:var(--navy-mid); font-size:1.06rem; }
.section-navy .section-sub { color:rgba(255,255,255,0.82); }
.section-head.center .section-sub { margin-left:auto; margin-right:auto; }

/* ── BUTTONS ── */
.btn-primary { font-family:var(--font-body); font-size:1.02rem; font-weight:600; color:#fff; background:var(--navy); padding:0.95rem 2.1rem; border-radius:100px; text-decoration:none; letter-spacing:0.01em; display:inline-flex; align-items:center; gap:0.55rem; transition:transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; box-shadow:0 6px 18px rgba(33,45,74,0.16); border:none; cursor:pointer; }
.btn-primary .arrow { transition:transform 0.2s ease; }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 12px 26px rgba(33,45,74,0.22); }
.btn-primary:hover .arrow { transform:translateX(4px); }
.btn-secondary { font-family:var(--font-body); font-size:1.02rem; font-weight:600; color:var(--navy); background:transparent; padding:0.95rem 2.1rem; border-radius:100px; text-decoration:none; border:1.5px solid rgba(33,45,74,0.35); letter-spacing:0.01em; display:inline-flex; align-items:center; gap:0.5rem; transition:border-color 0.18s ease, color 0.18s ease, background 0.18s ease; cursor:pointer; }
.btn-secondary:hover { border-color:var(--accent); color:var(--accent-deep); }
.btn-gold { background:var(--accent); color:var(--navy-deep); box-shadow:0 6px 18px rgba(182,138,71,0.3); }
.btn-gold:hover { background:#c39a58; box-shadow:0 12px 26px rgba(182,138,71,0.36); }
.btn-ghost-light { color:#fff; border-color:rgba(255,255,255,0.4); }
.btn-ghost-light:hover { border-color:#fff; color:#fff; background:rgba(255,255,255,0.06); }

/* ── HERO (home) — full-width text, no image ── */
.hero { padding:5rem 2rem 5.5rem; }
.hero-inner { max-width:var(--max-wide); margin:0 auto; }
/* Hero heading — aligned to the landing-page convention (Montserrat 600, not 700; the LCP hero
   font). Same weight/line-height/letter-spacing as the landing hero for a consistent scale. */
.hero h1 { font-family:var(--font-heading); font-weight:600; font-size:clamp(2.35rem, 5vw, 3.7rem); line-height:1.04; letter-spacing:-0.025em; }
.hero h1 .accent-word { color:var(--accent-deep); }
.hero-sub { margin-top:1.5rem; font-size:1.18rem; color:var(--navy-mid); max-width:66ch; }
.hero-cta-wrap { margin-top:2.2rem; display:flex; flex-wrap:wrap; gap:0.9rem; align-items:center; }
.hero-microcopy { margin-top:1.3rem; font-size:0.9rem; color:var(--navy-muted); display:flex; align-items:center; gap:0.5rem; }

/* ── STAT BAR (navy band) — same as landing pages ── */
.stats-section { padding:3.2rem 2rem; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:0; max-width:var(--max-wide); margin:0 auto; }
.stat-card { text-align:center; padding:0.6rem 1.25rem; position:relative; }
.stat-card + .stat-card::before { content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:1px; height:56px; background:rgba(255,255,255,0.16); }
.stat-value { font-family:var(--font-heading); font-size:2.6rem; font-weight:600; line-height:1.05; letter-spacing:-0.02em; color:#fff; margin-bottom:0.5rem; }
.stat-value .unit { color:var(--accent); }
.stat-label { font-family:var(--font-body); font-size:0.95rem; font-weight:500; line-height:1.3; color:rgba(255,255,255,0.72); }

/* ── CARD GRID (services overview) ── */
.card-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.3rem; }
.card-grid.two { grid-template-columns:repeat(2,1fr); }
.mini-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.6rem 1.4rem; box-shadow:var(--shadow); transition:transform 0.18s ease, box-shadow 0.18s ease; display:flex; flex-direction:column; }
.section-alt .mini-card { background:#fff; }
.mini-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-hover); }
.card-icon { width:44px; height:44px; border-radius:10px; background:var(--accent-soft); display:flex; align-items:center; justify-content:center; margin-bottom:1rem; }
.card-icon svg { width:22px; height:22px; stroke:var(--accent-deep); }
.mini-card h3 { font-family:var(--font-heading); font-weight:600; font-size:1.12rem; margin-bottom:0.5rem; }
.mini-card p { font-size:0.96rem; color:var(--navy-mid); }
.mini-card .tier { font-family:var(--font-heading); font-size:0.62rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--accent-deep); margin-bottom:0.6rem; font-weight:600; }
.center-cta { text-align:center; margin-top:2.6rem; }
.post-cta { margin-top:2.6rem; padding-top:1.7rem; border-top:1px solid var(--line); font-family:var(--font-body); font-size:1.16rem; font-weight:500; line-height:1.6; color:var(--navy); opacity:0.92; }
.post-cta a { color:var(--accent-deep); font-weight:600; text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--accent); }
.post-cta a:hover { text-decoration-color:var(--accent-deep); }

/* ── WHY PROJECTK / DIFFERENTIATORS — same as landing pages ── */
.diff-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.diff-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.9rem; box-shadow:var(--shadow); transition:transform 0.2s ease, box-shadow 0.2s ease; }
.diff-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.diff-card h3 { font-family:var(--font-heading); font-size:1.5rem; font-weight:600; line-height:1.12; letter-spacing:-0.02em; color:var(--navy); margin-bottom:0.6rem; }
.diff-card p { font-family:var(--font-body); font-size:1.04rem; font-weight:500; line-height:1.58; color:var(--navy); opacity:0.92; }
.diff-feature { background:var(--navy-deep); color:#fff; border-radius:14px; padding:2.1rem 2.2rem; display:grid; grid-template-columns:1fr 1.05fr; gap:2.2rem; align-items:center; box-shadow:var(--shadow); margin-bottom:20px; }
.diff-feature .card-icon { background:rgba(201,160,90,0.16); }
.diff-feature .card-icon svg { stroke:var(--accent-on-navy); }
.diff-feature h3 { color:#fff; font-size:1.72rem; }
.diff-feature p { color:rgba(255,255,255,0.82); }
.diff-feature p + p, .diff-card p + p { margin-top:1rem; }
.diff-badge { display:inline-block; font-family:var(--font-heading); font-weight:600; font-size:0.64rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--navy-deep); background:var(--accent-on-navy); padding:0.28rem 0.7rem; border-radius:100px; margin-bottom:0.9rem; }
.diff-flow { display:flex; align-items:stretch; gap:0.55rem; }
.diff-pass { flex:1; background:rgba(255,255,255,0.05); border:1px solid rgba(201,160,90,0.28); border-radius:10px; padding:0.95rem 0.8rem; display:flex; flex-direction:column; gap:0.28rem; }
.diff-pass-n { font-family:var(--font-heading); font-weight:700; font-size:0.82rem; color:var(--accent-on-navy); }
.diff-pass-name { font-family:var(--font-heading); font-weight:600; font-size:0.98rem; color:#fff; line-height:1.15; }
.diff-pass-person { margin-top:auto; padding-top:0.7rem; display:flex; flex-direction:column; gap:0.1rem; }
.diff-pass-who { font-family:var(--font-heading); font-weight:600; font-size:0.92rem; color:#fff; line-height:1.2; }
.diff-pass-role { font-family:var(--font-body); font-size:0.8rem; color:rgba(255,255,255,0.6); line-height:1.3; }
.diff-arrow { align-self:center; color:var(--accent-on-navy); font-size:1.1rem; flex:0 0 auto; }
.diff-pass-name sup { color:var(--accent-on-navy); font-size:0.66em; font-weight:700; margin-left:1px; }
.diff-note { font-family:var(--font-body); font-size:0.82rem; font-weight:500; color:var(--navy-mid); line-height:1.5; margin-top:1.7rem; }
.diff-note sup { color:var(--accent-deep); font-weight:700; margin-right:2px; }

/* ── TESTIMONIALS — same as landing pages ── */
.testimonial-featured { background:var(--navy); color:#fff; border-radius:14px; padding:2.1rem 2.4rem 1.9rem; margin-bottom:16px; position:relative; overflow:hidden; box-shadow:var(--shadow); display:flex; gap:2.2rem; align-items:center; }
.testimonial-cover-featured { flex-shrink:0; width:190px; height:auto; border-radius:8px; box-shadow:0 6px 20px rgba(0,0,0,0.35); border:1px solid rgba(255,255,255,0.12); position:relative; z-index:1; }
.testimonial-featured-body { flex:1; min-width:0; position:relative; z-index:1; }
.testimonial-featured .quote-mark { position:absolute; top:0.4rem; right:1.6rem; font-family:var(--font-heading); font-size:9rem; line-height:1; color:var(--accent); opacity:0.22; pointer-events:none; }
.testimonial-featured .testimonial-quote { color:#fff; border:none; padding:0; font-size:1.22rem; line-height:1.62; position:relative; z-index:1; max-width:760px; }
.testimonial-quote { font-family:var(--font-body); font-weight:500; line-height:1.6; color:var(--navy); margin-bottom:1.5rem; }
.testimonial-featured .testimonial-quote strong { font-weight:600; color:var(--accent-on-navy); }
.testimonial-card .testimonial-quote strong { font-weight:500; }
/* Testimonial star ratings (real Google-Form scores): light cards + navy featured variant. */
.testimonial-stars { position:relative; display:inline-block; font-size:0.95rem; line-height:1; margin:0.3rem 0 0.7rem; }
.testimonial-stars::before { content:"\2605\2605\2605\2605\2605"; letter-spacing:2px; color:var(--line); }
.testimonial-stars > span { position:absolute; top:0; left:0; overflow:hidden; white-space:nowrap; }
.testimonial-stars > span::before { content:"\2605\2605\2605\2605\2605"; letter-spacing:2px; color:var(--accent-deep); }
.testimonial-featured .testimonial-stars::before { color:rgba(255,255,255,0.30); }
.testimonial-featured .testimonial-stars > span::before { color:var(--accent-on-navy); }
.testimonial-footer { display:flex; justify-content:space-between; align-items:flex-end; margin-top:1.6rem; position:relative; z-index:1; }
.testimonial-name { font-family:var(--font-heading); font-size:1.1rem; font-weight:600; line-height:1.1; letter-spacing:-0.01em; color:#fff; margin-bottom:0.25rem; }
.testimonial-book { font-family:var(--font-body); font-size:0.95rem; font-weight:500; color:rgba(255,255,255,0.6); font-style:italic; }
.testimonial-featured .testimonial-link { color:var(--accent); opacity:1; }
.testimonial-link { font-family:var(--font-body); font-size:0.92rem; font-weight:600; color:var(--accent-deep); text-decoration:none; border-bottom:1.5px solid currentColor; padding-bottom:1px; white-space:nowrap; transition:opacity 0.15s; }
.testimonial-link:hover { opacity:0.7; }
.testimonials-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.testimonial-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.8rem; box-shadow:var(--shadow); display:flex; flex-direction:column; justify-content:space-between; transition:transform 0.2s ease, box-shadow 0.2s ease; }
.testimonial-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.testimonial-card .testimonial-quote { font-size:1.04rem; margin-bottom:1.4rem; padding-left:1rem; border-left:2.5px solid var(--accent); }
.testimonial-card .testimonial-name { color:var(--navy); font-size:1.04rem; }
.testimonial-card .testimonial-book { color:var(--navy-muted); font-size:0.9rem; margin-bottom:0.7rem; }
.testimonial-card .testimonial-link { font-size:0.88rem; }
.testimonial-attr { display:flex; gap:0.9rem; align-items:center; }
.testimonial-cover { flex-shrink:0; width:100px; height:auto; border-radius:6px; box-shadow:0 3px 12px rgba(0,0,0,0.2); border:1px solid var(--line); }
.testimonial-attr .testimonial-book { margin-bottom:0.35rem; }

/* Testimonial "why they worked with us" expander: replaces the outbound portfolio link so the
   reader stays on-page, and holds the client story (parity-exact, static 1:1 across all pages). */
.testimonial-more { margin-top: 0.9rem; }
.testimonial-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; width: fit-content; }
.testimonial-more > summary::-webkit-details-marker { display: none; }
.tm-chev { display: inline-block; font-size: 0.85em; transition: transform 0.25s ease; }
.testimonial-more[open] > summary .tm-chev { transform: rotate(180deg); }
.testimonial-more-body { margin-top: 0.75rem; font-family: var(--font-body); font-size: 0.96rem; font-weight: 500; line-height: 1.6; max-width: 54ch; }
.testimonial-more-body p { margin-bottom: 0.6rem; }
.testimonial-featured .testimonial-more-body { color: rgba(255,255,255,0.82); }
.testimonial-card .testimonial-more-body { color: var(--navy); opacity: 0.9; }
.testimonial-more-cta { text-align: right; margin-top: 0.7rem; }

/* ── STEPS (how it works) ── */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem; counter-reset:step; }
.step { position:relative; padding-top:0.5rem; }
.step-n { font-family:var(--font-heading); font-weight:700; font-size:2.4rem; color:var(--accent-soft); line-height:1; }
.section-navy .step-n { color:rgba(201,160,90,0.35); }
.step h3 { font-family:var(--font-heading); font-weight:600; font-size:1.16rem; margin:0.4rem 0 0.5rem; }
.step p { color:var(--navy-mid); font-size:0.98rem; }
.section-navy .step p { color:rgba(255,255,255,0.8); }

/* ── BLOG CARDS ── */
.blog-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.blog-card { display:block; background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.6rem; text-decoration:none; color:inherit; box-shadow:var(--shadow); transition:transform 0.18s ease, box-shadow 0.18s ease; }
.blog-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-hover); }
.blog-card .kicker { font-family:var(--font-heading); font-size:0.62rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--accent-deep); font-weight:600; }
.blog-card h3 { font-family:var(--font-heading); font-weight:600; font-size:1.1rem; margin:0.5rem 0; line-height:1.25; }
.blog-card p { font-size:0.94rem; color:var(--navy-mid); }
.blog-card .readmore { display:inline-block; margin-top:0.9rem; font-size:0.9rem; font-weight:600; color:var(--accent-deep); }

/* ── FINAL CTA — same as landing pages ── */
.cta-section { text-align:center; padding:5.5rem 2rem; position:relative; overflow:hidden; }
.cta-section::before { content:"\00B6"; position:absolute; font-family:var(--font-heading); font-weight:700; font-size:26rem; line-height:1; color:#fff; opacity:0.03; bottom:-8rem; left:-2rem; pointer-events:none; }
.cta-inner { max-width:720px; margin:0 auto; position:relative; z-index:1; }
.cta-section h2 { font-family:var(--font-heading); font-size:2.5rem; font-weight:600; line-height:1.1; letter-spacing:-0.025em; color:#fff; margin-bottom:1.3rem; }
.cta-section p { font-family:var(--font-body); font-size:1.1rem; font-weight:500; line-height:1.6; color:rgba(255,255,255,0.82); max-width:620px; margin:0 auto 1rem; }
.cta-buttons { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top:2.2rem; }

/* ── SERVICES DETAIL (editing-services) — same as landing pages ── */
.services-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.service-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:2rem 1.9rem; box-shadow:var(--shadow); transition:transform 0.2s ease, box-shadow 0.2s ease; }
.service-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.service-tier { font-family:var(--font-heading); font-size:0.72rem; font-weight:600; letter-spacing:0.1em; color:var(--accent-deep); text-transform:uppercase; background:var(--accent-soft); padding:0.28rem 0.7rem; border-radius:100px; display:inline-block; margin-bottom:1rem; }
.service-card h3 { font-family:var(--font-heading); font-size:1.75rem; font-weight:600; line-height:1.1; letter-spacing:-0.02em; color:var(--navy); margin-bottom:0.7rem; }
.service-card p { font-family:var(--font-body); font-size:1.04rem; font-weight:500; line-height:1.58; color:var(--navy); opacity:0.92; }
.service-card p + p { margin-top:0.7rem; }
.service-card summary { list-style:none; cursor:pointer; display:block; }
.service-card summary::-webkit-details-marker { display:none; }
.service-toggle { display:inline-flex; align-items:center; gap:0.4rem; margin-top:1rem; font-family:var(--font-body); font-weight:600; font-size:0.92rem; color:var(--accent-deep); }
.service-toggle::before { content:"Read more"; }
details[open] .service-toggle::before { content:"Read less"; }
.service-toggle-icon { font-size:1.25rem; font-weight:400; line-height:1; color:var(--accent); transition:transform 0.25s ease; }
details[open] .service-toggle-icon { transform:rotate(45deg); }
.service-detail { margin-top:0.9rem; }
.services-footnote { font-family:var(--font-body); font-size:1.06rem; font-weight:500; line-height:1.6; color:var(--navy); text-align:center; margin:2.5rem auto 0; opacity:0.72; max-width:720px; }

/* ── PRICING TIERS + CALCULATOR (editing-services) ── */
.rates-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; align-items:start; }
.rate-card { position:relative; background:#fff; border:1px solid var(--line); border-radius:14px; padding:1.9rem 1.6rem 1.7rem; box-shadow:var(--shadow); display:flex; flex-direction:column; }
.rate-card--featured { border:1.5px solid var(--accent); box-shadow:0 14px 34px rgba(182,138,71,0.18); }
.rate-flag { position:absolute; top:-0.75rem; left:1.6rem; background:var(--accent); color:#fff; font-family:var(--font-heading); font-size:0.64rem; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; padding:0.28rem 0.72rem; border-radius:100px; }
.rate-name { font-family:var(--font-heading); font-size:1.35rem; font-weight:600; color:var(--navy); }
.rate-blurb { font-size:0.85rem; color:var(--navy-mid); margin-top:0.2rem; }
.rate-price { margin:1.05rem 0 1.15rem; display:flex; align-items:baseline; gap:0.4rem; }
.rate-amount { font-family:var(--font-heading); font-size:2.2rem; font-weight:700; color:var(--navy); line-height:1; }
.rate-unit { font-size:0.85rem; color:var(--navy-mid); }
.rate-first { margin:-0.5rem 0 1rem; font-size:0.82rem; font-weight:600; color:var(--accent); }
.rate-first span { font-weight:500; opacity:0.85; }
.rate-list { list-style:none; display:flex; flex-direction:column; gap:0.55rem; }
.rate-list li { position:relative; padding-left:1.55rem; font-size:0.9rem; color:var(--navy); line-height:1.4; }
.rate-list li::before { content:""; position:absolute; left:0.1rem; top:0.28em; width:0.62rem; height:0.36rem; border-left:2px solid var(--accent); border-bottom:2px solid var(--accent); transform:rotate(-45deg); }
.rate-readmore { margin-top:1.1rem; border-top:1px solid var(--line); padding-top:0.9rem; }
.rate-readmore summary { list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:0.4rem; font-size:0.85rem; font-weight:600; color:var(--accent); }
.rate-readmore summary::-webkit-details-marker { display:none; }
.rate-chev { font-size:0.95rem; line-height:1; transition:transform 0.25s ease; }
.rate-readmore[open] .rate-chev { transform:rotate(180deg); }
.rate-detail { margin-top:0.9rem; }
.rate-detail-lead { font-size:0.88rem; color:var(--navy); line-height:1.5; margin-bottom:0.85rem; }
.rate-feat { display:flex; flex-direction:column; gap:0.65rem; margin:0; }
.rate-feat dt { font-family:var(--font-heading); font-size:0.82rem; font-weight:600; color:var(--navy); }
.rate-feat dd { font-size:0.85rem; color:var(--navy-mid); line-height:1.45; margin:0.1rem 0 0; }
.rate-calc { margin-top:1.5rem; background:#fff; border:1px solid var(--line); border-radius:14px; padding:1.9rem; box-shadow:var(--shadow); }
.rate-calc-title { font-family:var(--font-heading); font-size:1.2rem; font-weight:600; color:var(--navy); margin-bottom:1.15rem; }
.rate-calc-fields { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.rate-calc-field { display:flex; flex-direction:column; gap:0.35rem; font-size:0.82rem; font-weight:600; color:var(--navy-mid); }
.rate-calc-field input, .rate-calc-field select { font-family:var(--font-body); font-size:1rem; color:var(--navy); padding:0.7rem 0.8rem; border:1px solid var(--line); border-radius:8px; background:var(--bg-card); }
.rate-calc-field input:focus, .rate-calc-field select:focus { outline:none; border-color:var(--accent); }
.rate-calc-out { margin-top:1.4rem; padding-top:1.3rem; border-top:1px solid var(--line); display:flex; align-items:baseline; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.rate-calc-price { font-family:var(--font-heading); font-size:2.4rem; font-weight:700; color:var(--navy); line-height:1; }
.rate-calc-turn { font-size:0.92rem; color:var(--navy-mid); }
.rate-calc-first { margin-top:0.85rem; font-size:0.92rem; font-weight:600; color:var(--accent); }
.rate-calc-note { margin-top:1.1rem; font-size:0.78rem; color:var(--navy-mid); line-height:1.5; }
@media (max-width:900px) {
  .services-grid { grid-template-columns:1fr; }
  .rates-grid { grid-template-columns:1fr; }
  .rate-calc-fields { grid-template-columns:1fr; }
}

/* ── SAMPLE EDIT FORM — same as landing pages ── */
.section-form { background:var(--bg-warm); }
.form-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:2.6rem 2.4rem; max-width:680px; margin:0 auto; }
.lead-form .form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; }
.lead-form .field { margin-bottom:1.3rem; }
.lead-form label, .lead-form .field-label { display:block; font-family:var(--font-heading); font-size:0.82rem; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; color:var(--navy); margin-bottom:0.5rem; }
.lead-form .req { color:var(--accent-deep); }
.lead-form .opt { font-weight:500; text-transform:none; letter-spacing:0; color:var(--navy-muted); }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form select, .lead-form textarea { width:100%; font-family:var(--font-body); font-size:1.02rem; font-weight:500; color:var(--navy); background:var(--bg); border:1.5px solid var(--line); border-radius:8px; padding:0.8rem 0.95rem; transition:border-color 0.15s ease, box-shadow 0.15s ease; }
.lead-form textarea { resize:vertical; min-height:110px; line-height:1.6; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline:none; border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-soft); }
.field-hint { font-family:var(--font-body); font-size:0.88rem; font-weight:500; color:var(--navy-muted); margin-top:0.45rem; }
.lead-form .checkbox-group { display:grid; grid-template-columns:1fr 1fr; gap:0.7rem; }
.lead-form .checkbox-option { display:flex; align-items:center; gap:0.7rem; margin-bottom:0; padding:0.8rem 0.95rem; border:1.5px solid var(--line); border-radius:8px; font-family:var(--font-body); font-size:1rem; font-weight:500; letter-spacing:0; text-transform:none; color:var(--navy); cursor:pointer; user-select:none; transition:border-color 0.15s ease, background 0.15s ease; }
.lead-form .checkbox-option:hover { border-color:var(--accent); }
.lead-form .checkbox-option input { position:absolute; opacity:0; width:1px; height:1px; }
.lead-form .checkbox-box { width:20px; height:20px; flex-shrink:0; border:1.5px solid rgba(33,45,74,0.35); border-radius:5px; display:inline-flex; align-items:center; justify-content:center; transition:background 0.15s ease, border-color 0.15s ease; }
.lead-form .checkbox-box svg { width:13px; height:13px; stroke:#fff; opacity:0; }
.lead-form .checkbox-option input:checked ~ .checkbox-box { background:var(--accent); border-color:var(--accent); }
.lead-form .checkbox-option input:checked ~ .checkbox-box svg { opacity:1; }
.lead-form .checkbox-option:has(input:checked) { border-color:var(--accent); background:var(--accent-soft); }
.lead-form .checkbox-option input:focus-visible ~ .checkbox-box { outline:2px solid var(--accent-deep); outline-offset:2px; }
.lead-form .file-input { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.dropzone { display:flex; align-items:center; gap:0.8rem; font-family:var(--font-body); font-weight:500; font-size:1rem; color:var(--navy-mid); background:var(--bg-warm); border:1.5px dashed rgba(33,45,74,0.28); border-radius:8px; padding:1.05rem 1.2rem; cursor:pointer; transition:border-color 0.15s ease, background 0.15s ease, color 0.15s ease; }
.dropzone svg { flex-shrink:0; stroke:var(--accent-deep); }
.dropzone .dropzone-browse { color:var(--accent-deep); text-decoration:underline; text-underline-offset:2px; }
.dropzone:hover { border-color:var(--accent); }
.dropzone.dragover { border-color:var(--accent); background:var(--accent-soft); }
.dropzone.has-file { border-style:solid; border-color:var(--accent); background:var(--accent-soft); color:var(--navy); }
.lead-form .file-input:focus-visible + .dropzone { outline:2px solid var(--accent-deep); outline-offset:2px; }
.hp-field { display:none; }
.lead-form .cf-turnstile { margin-bottom:1.2rem; min-height:65px; }
.form-error { font-family:var(--font-body); font-size:0.95rem; font-weight:600; line-height:1.45; color:var(--error); background:rgba(180,35,24,0.08); border-radius:8px; padding:0.7rem 0.9rem; margin-bottom:1.1rem; }
.form-submit { width:100%; justify-content:center; margin-top:0.3rem; }
.form-submit:disabled { opacity:0.6; cursor:default; transform:none; box-shadow:0 6px 18px rgba(33,45,74,0.16); }
.form-success { text-align:center; padding:1.5rem 0.5rem; }
.form-success .success-badge { width:56px; height:56px; border-radius:50%; background:var(--accent-soft); display:flex; align-items:center; justify-content:center; margin:0 auto 1.3rem; }
.form-success .success-badge svg { stroke:var(--accent-deep); }
.form-success h3 { font-family:var(--font-heading); font-size:1.6rem; font-weight:600; letter-spacing:-0.02em; color:var(--navy); margin-bottom:0.7rem; }
.form-success p { font-family:var(--font-body); font-size:1.08rem; font-weight:500; line-height:1.6; color:var(--navy); opacity:0.9; max-width:460px; margin:0 auto; }
.form-success a { color:var(--accent-deep); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--accent); }
.form-belowtext { text-align:center; font-family:var(--font-body); font-size:0.98rem; font-weight:500; color:var(--navy-muted); margin:1.5rem auto 0; max-width:680px; }
.form-belowtext a { color:var(--accent-deep); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--accent); }
@media (max-width:600px) {
  .lead-form .form-row { grid-template-columns:1fr; gap:0; }
  .lead-form .checkbox-group { grid-template-columns:1fr; }
  .form-card { padding:1.9rem 1.4rem; }
}

/* ── FAQ ── */
.faq-item { border-bottom:1px solid var(--line); padding:1.35rem 0; }
.faq-item summary { font-family:var(--font-heading); font-size:1.28rem; font-weight:600; line-height:1.25; letter-spacing:-0.015em; color:var(--navy); cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:1rem; transition:color 0.15s; }
.faq-item summary:hover { color:var(--accent-deep); }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-icon { font-size:1.5rem; font-weight:400; color:var(--accent); flex-shrink:0; transition:transform 0.25s ease; display:inline-block; line-height:1; }
.faq-item[open] .faq-icon { transform:rotate(45deg); }
.faq-body { font-family:var(--font-body); font-size:1.08rem; font-weight:500; line-height:1.65; color:var(--navy); opacity:0.92; padding-top:1rem; max-width:var(--max); }
.faq-body p + p { margin-top:0.75rem; }
.faq-body ul { margin:0.75rem 0 0; padding-left:1.25rem; }
.faq-body li { margin-top:0.4rem; }
.faq-body li strong { font-weight:600; }
.faq-body em { font-style:italic; }
.faq-body a { color:var(--accent-deep); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--accent); }

/* ── PORTFOLIO ── */
.pf-story { display:grid; grid-template-columns:260px 1fr; gap:3rem; align-items:center; padding:3.4rem 0; border-top:1px solid var(--line); scroll-margin-top:90px; }
.pf-story:first-of-type { border-top:none; padding-top:0.5rem; }
.pf-cover img { width:100%; border-radius:8px; box-shadow:var(--shadow-hover); display:block; }
.pf-story h2 { font-family:var(--font-heading); font-weight:700; font-size:1.9rem; letter-spacing:-0.02em; color:var(--navy); line-height:1.1; }
.pf-author { font-family:var(--font-body); font-size:1rem; color:var(--navy-muted); font-weight:600; margin:0.3rem 0 0.5rem; }
.pf-stars { position:relative; display:inline-block; font-size:1.05rem; line-height:1; margin:0 0 1.1rem; }
.pf-stars::before { content:"\2605\2605\2605\2605\2605"; letter-spacing:2px; color:var(--line); }
.pf-stars-fill { position:absolute; top:0; left:0; overflow:hidden; white-space:nowrap; }
.pf-stars-fill::before { content:"\2605\2605\2605\2605\2605"; letter-spacing:2px; color:var(--accent); }
.pf-quote { font-family:var(--font-body); font-size:1.14rem; line-height:1.6; color:var(--navy); border-left:3px solid rgba(33,45,74,0.3); padding-left:1.3rem; }
.pf-note { margin-top:1.5rem; padding-top:1.3rem; border-top:1px solid var(--line); }
.pf-note-label { font-family:var(--font-heading); font-weight:600; font-size:0.78rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--accent-deep); margin-bottom:0.45rem; }
.pf-note-body { font-family:var(--font-body); font-size:1rem; font-weight:500; line-height:1.65; color:var(--navy); opacity:0.9; }
.pf-quote p { margin:0; }
.pf-quote strong { color:var(--navy); }
.pf-testimonial { margin-top:0.7rem; }
.pf-testimonial summary { list-style:none; cursor:pointer; display:inline-block; }
.pf-testimonial summary::-webkit-details-marker { display:none; }
.pf-readmore { font-family:var(--font-body); font-weight:600; font-size:0.95rem; color:var(--navy); }
.pf-readmore::before { content:"Read more \2193"; }
.pf-testimonial[open] .pf-readmore::before { content:"Read less \2191"; }
.pf-cont { margin-top:0.9rem; }
@media (max-width:760px) {
  .pf-story { grid-template-columns:1fr; gap:1.6rem; text-align:center; padding:2.6rem 0; }
  .pf-cover { max-width:190px; margin:0 auto; }
  .pf-quote { text-align:left; }
}

/* ── LEGAL (terms, privacy) ── */
.legal { max-width:var(--max); }
.legal h1 { font-family:var(--font-heading); font-weight:700; font-size:clamp(2rem,4vw,2.6rem); letter-spacing:-0.02em; color:var(--navy); margin-bottom:0.5rem; }
.legal-updated { color:var(--navy-muted); font-style:italic; margin-bottom:2.2rem; }
.legal h2 { font-family:var(--font-heading); font-weight:600; font-size:1.3rem; color:var(--navy); margin:2.1rem 0 0.6rem; }
.legal p { font-family:var(--font-body); font-size:1.05rem; line-height:1.7; color:var(--navy); opacity:0.92; margin-bottom:0.8rem; }
.legal ul { margin:0.6rem 0 0.9rem; padding-left:1.3rem; }
.legal li { font-family:var(--font-body); font-size:1.05rem; line-height:1.6; color:var(--navy); opacity:0.92; margin-bottom:0.4rem; }
.legal a { color:var(--accent-deep); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--accent); }

/* ── BLOG ARTICLE (long-form prose) — purpose-built reading style (replaces the .legal reuse for posts) ── */
.hero.post-hero { padding-bottom:2rem; }              /* tight hero -> article transition (was inline style) */
.post-article { padding-top:1.2rem; }                 /* article section top padding (was inline style) */
.post-meta { display:flex; flex-wrap:wrap; align-items:center; gap:0.7rem; margin-top:1.15rem; font-family:var(--font-body); font-size:0.9rem; font-weight:500; color:var(--navy-muted); }
.post-meta span + span::before { content:"\00B7"; margin-right:0.7rem; color:var(--accent); font-weight:700; }
/* Article container widened to the hero measure, and the body left-aligned + full-width so its
   left AND right edges line up with the H1/meta (spans the full section, no centre-inset). */
.post-article .section-inner.narrow { max-width:var(--max-wide); }
.post-body { margin:0; }
.post-body > p { font-family:var(--font-body); font-size:1.14rem; font-weight:500; line-height:1.8; color:var(--navy); opacity:0.94; margin-bottom:1.35rem; }
.post-body > p:first-of-type { font-size:1.3rem; line-height:1.7; opacity:1; margin-bottom:1.7rem; }   /* lead / standfirst */
.post-body h2 { font-family:var(--font-heading); font-weight:700; font-size:1.62rem; line-height:1.2; letter-spacing:-0.015em; color:var(--navy); margin:2.7rem 0 0.9rem; }
.post-body h3 { font-family:var(--font-heading); font-weight:600; font-size:1.22rem; line-height:1.25; color:var(--navy); margin:2rem 0 0.6rem; }
.post-body ul, .post-body ol { margin:0 0 1.35rem; padding-left:1.4rem; }
.post-body li { font-family:var(--font-body); font-size:1.1rem; line-height:1.7; color:var(--navy); opacity:0.94; margin-bottom:0.5rem; }
.post-body li strong { font-weight:600; }
.post-body strong { font-weight:600; }
.post-body a { color:var(--accent-deep); text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--accent); }
.pullquote { margin:2.4rem 0; padding:0.3rem 0 0.3rem 1.6rem; border-left:3px solid var(--accent); font-family:var(--font-heading); font-weight:600; font-size:1.5rem; line-height:1.36; letter-spacing:-0.01em; color:var(--navy); }

/* ── SECTION BODY — lead-in body copy under a section head (fuller than the muted .section-sub) ── */
.section-body { margin-top:1.1rem; font-family:var(--font-body); font-size:1.13rem; font-weight:500; line-height:1.75; color:var(--navy); opacity:0.9; }
.section-body + .section-body { margin-top:1.05rem; }

/* ── FOOTER ── */
footer { background:var(--navy-deep); color:rgba(255,255,255,0.8); padding:3.5rem 2rem 2rem; }
.footer-inner { max-width:var(--max-wide); margin:0 auto; display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:2.5rem; }
.footer-brand { display:inline-flex; align-items:center; gap:0.5rem; color:#fff; font-family:var(--font-heading); font-weight:600; text-decoration:none; font-size:1.05rem; }
.footer-tag { margin-top:1rem; font-size:0.94rem; max-width:34ch; }
.footer-col h4 { font-family:var(--font-heading); font-size:0.72rem; letter-spacing:0.14em; text-transform:uppercase; color:var(--accent-on-navy); margin-bottom:1rem; font-weight:600; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:0.6rem; }
.footer-col a { color:rgba(255,255,255,0.8); text-decoration:none; font-size:0.95rem; }
.footer-col a:hover { color:#fff; }
.footer-bottom { max-width:var(--max-wide); margin:2.5rem auto 0; padding-top:1.5rem; border-top:1px solid rgba(255,255,255,0.12); display:flex; flex-wrap:wrap; justify-content:space-between; gap:0.8rem; font-size:0.85rem; color:rgba(255,255,255,0.6); }
.footer-bottom a { color:inherit; text-decoration:none; }
.footer-bottom a:hover { color:#fff; }

/* ── REVEAL ── */
.reveal { opacity:0; transform:translateY(18px); transition:opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity:1; transform:none; }

/* ── RESPONSIVE ── */
@media (max-width:900px) {
  .stats-grid { grid-template-columns:repeat(2,1fr); gap:1.5rem 0; }
  .stat-card:nth-child(3)::before, .stat-card:nth-child(2)::before { display:none; }
  .diff-grid { grid-template-columns:1fr; }
  .diff-feature { grid-template-columns:1fr; }
  .diff-flow { flex-direction:column; }
  .diff-arrow { transform:rotate(90deg); }
  .card-grid { grid-template-columns:1fr 1fr; }
  .testimonials-grid { grid-template-columns:1fr; }
  .testimonial-featured { padding:2rem 1.6rem; flex-direction:column; }
  .testimonial-cover-featured { width:210px; align-self:center; }
  .testimonial-footer { flex-direction:column; align-items:flex-start; gap:0.75rem; }
  .cta-section h2 { font-size:2rem; }
  .steps, .blog-cards { grid-template-columns:1fr; }
  .footer-inner { grid-template-columns:1fr 1fr; }
}
@media (max-width:640px) {
  .section { padding:4rem 1.3rem; }
  .nav-links { display:none; }
  .nav-hamburger { display:flex; }
  .stat-value { font-size:2.1rem; }
  .card-grid, .card-grid.two { grid-template-columns:1fr; }
  .footer-inner { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .reveal { opacity:1; transform:none; transition:none; }
  * { transition:none !important; }
}
