/* ===========================================================
   Roger Match — SEO & AI Search Content Strategist
   Shared stylesheet for all pages
   Brand: plum #421A4C, lilac #E3C9E2, ink #111111
   =========================================================== */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --plum: #421A4C;
  --plum-deep: #2c1033;
  --plum-bright: #7a3a8c;
  --lilac: #e3c9e2;
  --lilac-soft: #f6eff8;
  --lilac-line: #ecdcef;
  --ink: #15101a;
  --slate: #574f60;
  --slate-soft: #7d7587;
  --paper: #ffffff;
  --paper-warm: #fcfafd;
  --line: #e9e3ee;
  --white: #ffffff;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(28, 12, 35, 0.06), 0 4px 14px rgba(28, 12, 35, 0.05);
  --shadow-md: 0 8px 30px rgba(28, 12, 35, 0.10);
  --shadow-lg: 0 24px 60px rgba(28, 12, 35, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--plum); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-lilac { background: var(--lilac-soft); }
.section-paper { background: var(--paper-warm); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
p { color: var(--slate); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--plum);
  background: var(--lilac-soft);
  border: 1px solid var(--lilac-line);
  padding: 7px 14px; border-radius: 100px;
}
.lead { font-size: 1.18rem; color: var(--slate); max-width: 60ch; }
.section-head { max-width: 56ch; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.08rem; }

/* ---------- Sparkle accent ---------- */
.spark { display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em; color: var(--plum); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 0.98rem; line-height: 1;
  padding: 15px 26px; border-radius: 100px; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--plum); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--plum-bright); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--plum); color: var(--plum); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow svg, .btn.btn-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(28,12,35,0.04); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  font-size: 0.96rem; font-weight: 500; color: var(--slate);
  padding: 9px 14px; border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--plum); background: var(--lilac-soft); }
.nav-links a.active { color: var(--plum); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-mobile-cta { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 88px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle at center, rgba(122,58,140,0.16), rgba(122,58,140,0) 64%);
  z-index: 0; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 0; }
.hero h1 .accent { color: var(--plum); font-style: italic; }
.hero .lead { margin-top: 24px; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero answer card visual */
.answer-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px; max-width: 440px; margin-left: auto;
  position: relative;
}
.answer-card .ac-bar {
  display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 500; color: var(--slate);
  background: var(--lilac-soft); border: 1px solid var(--lilac-line); border-radius: 100px; padding: 11px 16px;
}
.answer-card .ac-bar .spark { color: var(--plum); width: 18px; height: 18px; }
.answer-card .ac-answer { margin-top: 18px; }
.answer-card .ac-answer .ac-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--plum-bright);
  display: flex; align-items: center; gap: 7px;
}
.answer-card .ac-answer .ac-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--plum-bright); }
.answer-card .ac-answer p { margin-top: 12px; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.answer-card .ac-cite {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 9px; font-size: 0.9rem; color: var(--slate);
}
.answer-card .ac-cite .cite-chip {
  display: inline-flex; align-items: center; gap: 6px; background: var(--plum); color: #fff;
  font-weight: 600; font-size: 0.84rem; padding: 5px 11px; border-radius: 100px;
}
.answer-card .ac-cite .cite-chip svg { width: 13px; height: 13px; }
.answer-card .float-tag {
  position: absolute; top: -16px; left: -16px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-md); border-radius: 12px; padding: 9px 13px; display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--ink);
}
.answer-card .float-tag .g {
  width: 20px; height: 20px; border-radius: 50%; background: var(--lilac-soft); border: 1px solid var(--lilac-line);
  display: grid; place-items: center; color: var(--plum); font-weight: 700; font-size: 0.7rem;
}

/* ---------- Logo strip / trust line ---------- */
.trust { padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-warm); }
.trust p { text-align: center; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--slate-soft); }
.trust .industries { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.trust .industries span {
  font-size: 0.92rem; font-weight: 600; color: var(--plum); background: #fff;
  border: 1px solid var(--lilac-line); padding: 7px 16px; border-radius: 100px;
}

/* ---------- How I work / step cards ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--lilac-line); }
.step-card .step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 13px; background: var(--lilac-soft); color: var(--plum); border: 1px solid var(--lilac-line);
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; margin-bottom: 18px;
}
.step-card h3 { margin-bottom: 12px; }
.step-card p { font-size: 1rem; }

/* ---------- Credibility ---------- */
.cred-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.cred-list { list-style: none; display: grid; gap: 18px; }
.cred-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; color: var(--ink); }
.cred-list li .spark { color: var(--plum); width: 22px; height: 22px; margin-top: 3px; }
.cred-list li span { color: var(--slate); }
.stat-card {
  background: var(--plum); color: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.stat-card::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle at center, rgba(227,201,226,0.28), rgba(227,201,226,0) 70%);
}
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; position: relative; z-index: 1; }
.stat-row .stat .num { font-family: var(--font-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: #fff; }
.stat-row .stat .num .small { font-size: 1.4rem; }
.stat-row .stat .lbl { margin-top: 8px; font-size: 0.92rem; color: var(--lilac); }
.stat-row .stat.full { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.16); padding-top: 24px; }
.stat-row .stat.full .lbl { font-size: 1rem; color: rgba(255,255,255,0.86); }

/* ---------- Services ---------- */
.svc-list { display: grid; gap: 16px; }
.svc-item {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.svc-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--lilac-line); }
.svc-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--lilac-soft); border: 1px solid var(--lilac-line);
  display: grid; place-items: center; color: var(--plum);
}
.svc-icon svg { width: 26px; height: 26px; }
.svc-item.featured { border-color: var(--lilac); background: linear-gradient(180deg, var(--lilac-soft), #fff 70%); }
.svc-item.featured .svc-icon { background: var(--plum); color: #fff; border-color: var(--plum); }
.svc-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.svc-head h3 { margin: 0; }
.svc-tag {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--plum); background: #fff; border: 1px solid var(--lilac); padding: 4px 9px; border-radius: 100px;
}
.svc-item p { margin-top: 10px; font-size: 1.02rem; }
.scope-note {
  margin-top: 28px; text-align: center; font-size: 0.98rem; color: var(--slate-soft);
  display: flex; align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap;
}
.scope-note .spark { color: var(--plum); width: 18px; height: 18px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--plum); color: #fff; border-radius: var(--radius-lg); padding: 64px 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; top: -120px; left: -80px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(227,201,226,0.22), rgba(227,201,226,0) 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 54ch; margin: 18px auto 0; font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; margin-top: 32px; }
.cta-band .cta-email { margin-top: 20px; font-size: 0.96rem; color: var(--lilac); }
.cta-band .cta-email a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Home banner ---------- */
.home-banner { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- Booking CTA ---------- */
.booking-cta { margin: 4px 0 6px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 64px 0 24px; position: relative; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { max-width: 18ch; }
.page-hero p { margin-top: 20px; font-size: 1.15rem; max-width: 56ch; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.about-photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5; background: var(--lilac-soft); position: relative;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(150deg, var(--lilac-soft), #fff);
  border: 2px dashed var(--lilac); border-radius: var(--radius-lg); color: var(--plum); text-align: center; padding: 24px;
}
.photo-placeholder svg { width: 42px; height: 42px; opacity: 0.7; }
.photo-placeholder span { font-size: 0.9rem; font-weight: 500; color: var(--slate); max-width: 24ch; }
.about-text p { font-size: 1.1rem; margin-bottom: 18px; }
.about-text p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.booking-embed {
  margin-top: 8px; min-height: 120px; border: 1.5px dashed var(--lilac); border-radius: var(--radius);
  background: var(--lilac-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px;
  text-align: center;
}
.booking-embed .be-note { font-size: 0.86rem; color: var(--slate-soft); }
.contact-email { margin-top: 24px; font-size: 1rem; color: var(--slate); }
.contact-email a { color: var(--plum); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-aside h3 { margin-bottom: 14px; }
.contact-aside p { font-size: 1.08rem; }
.contact-meta { margin-top: 26px; display: grid; gap: 14px; }
.contact-meta a, .contact-meta span { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: var(--ink); font-weight: 500; }
.contact-meta .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--lilac-soft); border: 1px solid var(--lilac-line); display: grid; place-items: center; color: var(--plum); flex: none; }
.contact-meta .ic svg { width: 19px; height: 19px; }
.contact-meta a:hover { color: var(--plum); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--lilac-line); }
.post-thumb {
  aspect-ratio: 16 / 10; background: linear-gradient(145deg, var(--plum), var(--plum-bright));
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.post-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(227,201,226,0.35), transparent 55%);
}
.post-thumb .spark { width: 40px; height: 40px; color: rgba(255,255,255,0.92); position: relative; z-index: 1; }
.post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-status { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--plum-bright); }
.post-body h3 { margin: 12px 0 10px; font-size: 1.15rem; line-height: 1.25; color: var(--ink); }
.post-body p { font-size: 0.98rem; flex: 1; }
.blog-note { margin-top: 44px; text-align: center; font-size: 1rem; color: var(--slate); }
.blog-note a { color: var(--plum); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-deep); color: rgba(255,255,255,0.78); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.96rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lilac); margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,0.78); font-size: 0.98rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.88rem; color: rgba(255,255,255,0.5); }
.footer-bottom .fb-links { display: flex; gap: 18px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .answer-card { margin: 0 auto; }
  .cred-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { max-width: 380px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 14px 20px 22px; gap: 4px;
  }
  .site-header.open .nav-links a { padding: 13px 14px; font-size: 1.05rem; }
  .site-header.open .nav-links .nav-mobile-cta { display: block; margin-top: 6px; }
  .site-header.open .nav-links .nav-mobile-cta a { color: var(--plum); font-weight: 600; background: var(--lilac-soft); }
  .section { padding: 68px 0; }
  .hero { padding: 48px 0 64px; }
  .cta-band { padding: 48px 26px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .positioning-cols { grid-template-columns: 1fr !important; gap: 20px !important; }
  .svc-item { grid-template-columns: 1fr; gap: 16px; }
  .container { padding: 0 22px; }
  body { font-size: 16px; }
}
@media (max-width: 420px) {
  .stat-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
