/* Exo-Pro shared styles. Brand purple + logo teal accent, Fraunces display + Hanken Grotesk body. */
:root {
  --bg: #FCFBFD;
  --surface: #F4F1F8;
  --surface-2: #ECE7F3;
  --fg: #211A2E;
  --muted: #675E77;
  --line: #E6E0F0;
  --brand: #4A2480;
  --brand-deep: #2A1748;
  --accent: #0B7B8C;
  --accent-soft: #36C4D6;
  --on-dark: #F2ECFA;
  --on-dark-muted: #BBA9D6;
  --focus: #8A5CC9;
  --maxw: 1120px;
  --r: 14px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141020; --surface: #1D1730; --surface-2: #261D3C; --fg: #F1ECF8; --muted: #A99EBF;
    --line: #2E2646; --brand: #A985E0; --brand-deep: #0E0A1A; --accent: #45CBDC; --accent-soft: #5BD6E6;
    --on-dark: #F2ECFA; --on-dark-muted: #B6A6D2; --focus: #B38BE6; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141020; --surface: #1D1730; --surface-2: #261D3C; --fg: #F1ECF8; --muted: #A99EBF;
  --line: #2E2646; --brand: #A985E0; --brand-deep: #0E0A1A; --accent: #45CBDC; --accent-soft: #5BD6E6;
  --on-dark: #F2ECFA; --on-dark-muted: #B6A6D2; --focus: #B38BE6; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 560; line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.85rem; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.logo-chip { display: inline-flex; align-items: center; background: #fff; padding: 5px 9px; border-radius: 8px; border: 1px solid var(--line); }
.logo-chip img { display: block; height: 30px; width: auto; }
.nav-links { display: flex; gap: 1.3rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.97rem; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-cta { display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; font-weight: 600; font-size: 0.95rem; background: var(--brand); color: #fff; padding: 0.55rem 1rem; border-radius: 999px; }
.nav-cta:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }
.menu-btn { display: none; align-items: center; justify-content: center; width: 42px; height: 38px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); color: var(--fg); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; padding: 0.8rem 1.4rem; border-radius: 999px; font-size: 1rem; border: 1.5px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent-soft); color: #04272D; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent-soft) 88%, #000); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: color-mix(in srgb, var(--on-dark) 40%, transparent); }
.btn-ghost:hover { border-color: var(--on-dark); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: color-mix(in srgb, var(--brand) 88%, #000); }

/* Home hero */
.hero { position: relative; overflow: hidden; background: var(--brand-deep); color: var(--on-dark); isolation: isolate; }
.contour { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero .contour svg { position: absolute; right: -14%; top: -28%; width: min(760px, 90%); height: auto; opacity: 0.5; }
.hero-inner { padding-block: clamp(3.5rem, 9vw, 6.5rem); display: grid; gap: 1.6rem; max-width: 46rem; }
.eyebrow-mark { font-family: var(--font-display); font-style: italic; color: var(--accent-soft); font-size: 1.05rem; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); color: var(--on-dark); font-weight: 540; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--on-dark-muted); max-width: 42ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }
.hero-credit { position: absolute; left: clamp(16px, 4vw, 40px); bottom: 1.1rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.5rem; background: color-mix(in srgb, var(--brand-deep) 55%, transparent); border: 1px solid color-mix(in srgb, var(--on-dark) 22%, transparent); color: var(--on-dark-muted); font-size: 0.8rem; padding: 0.35rem 0.75rem; border-radius: 999px; max-width: calc(100% - 2 * clamp(16px, 4vw, 40px)); }
.hero-credit svg { color: var(--accent-soft); flex: none; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; background: var(--brand-deep); color: var(--on-dark); isolation: isolate; }
.page-hero .contour svg { position: absolute; right: -16%; top: -40%; width: min(620px, 85%); height: auto; opacity: 0.45; }
.page-hero-inner { padding-block: clamp(2.6rem, 6vw, 4.2rem); display: grid; gap: 1rem; max-width: 48rem; }
.page-hero h1 { font-size: clamp(2rem, 4.8vw, 3.1rem); color: var(--on-dark); font-weight: 540; }
.page-hero p { color: var(--on-dark-muted); max-width: 46ch; font-size: clamp(1.02rem, 2vw, 1.18rem); line-height: 1.5; }
.page-hero .hero-actions { margin-top: 0.4rem; }

/* Trust strip */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-row { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; padding-block: 1rem; align-items: center; }
.trust-item { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.93rem; font-weight: 500; }
.trust-item svg { color: var(--brand); flex: none; }

/* Sections */
section.block { padding-block: clamp(3rem, 7vw, 5rem); }
.section-head { max-width: 42rem; display: grid; gap: 0.7rem; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.path { display: flex; flex-direction: column; gap: 0.9rem; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.path h3 { font-size: 1.5rem; }
.path .kicker { font-family: var(--font-body); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.path p { color: var(--muted); }
.path ul, .checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.path li, .checks li { position: relative; padding-left: 1.4rem; color: var(--fg); }
.path li::before, .checks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.5rem; height: 0.5rem; border: 1.5px solid var(--brand); border-radius: 2px; transform: rotate(45deg); }
.path .path-link { margin-top: auto; text-decoration: none; font-weight: 600; color: var(--brand); padding-top: 0.4rem; }
.path .path-link:hover { text-decoration: underline; }

/* Prose + split content */
.prose { max-width: 42rem; display: grid; gap: 1.1rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 0.6rem; }
.prose h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; }
.prose p { color: var(--fg); }
.prose a { color: var(--brand); font-weight: 600; text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.content-split { display: grid; grid-template-columns: 1.7fr 1fr; gap: 3rem; align-items: start; }
.aside-card { border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; background: var(--surface); display: grid; gap: 0.8rem; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
.aside-card h3 { font-size: 1.15rem; }
.aside-card p { color: var(--muted); font-size: 0.95rem; }
.aside-card .phone { font-family: var(--font-display); font-size: 1.4rem; color: var(--brand); text-decoration: none; }

/* Steps (real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; counter-reset: step; max-width: 44rem; }
.steps li { position: relative; padding-left: 2.8rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; display: grid; place-items: center; }
.steps li h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 0.2rem; }
.steps li p { color: var(--muted); }

/* Proof */
.proof { background: var(--brand-deep); color: var(--on-dark); }
.proof .section-head h2 { color: var(--on-dark); }
.proof .section-head p { color: var(--on-dark-muted); }
.proof-list { display: grid; gap: 0; border-top: 1px solid color-mix(in srgb, var(--on-dark) 16%, transparent); }
.proof-row { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem 2rem; align-items: baseline; padding-block: 1.15rem; border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 16%, transparent); }
.proof-row .who { font-family: var(--font-display); font-size: 1.28rem; color: var(--on-dark); }
.proof-row .what { color: var(--on-dark-muted); font-size: 0.98rem; max-width: 46ch; }
.proof-row .fig { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Method / feature grid */
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 3rem; }
.method-item { display: grid; gap: 0.4rem; padding-top: 1.1rem; border-top: 2px solid var(--brand); }
.method-item h3 { font-size: 1.22rem; font-family: var(--font-body); font-weight: 700; letter-spacing: -0.005em; }
.method-item p { color: var(--muted); }

/* Services list */
.services { background: var(--surface); }
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.1rem 2rem; }
.svc-list div { padding-block: 0.6rem; border-bottom: 1px solid var(--line); color: var(--fg); font-weight: 500; display: flex; align-items: center; gap: 0.6rem; }
.svc-list div::before { content: ""; width: 0.42rem; height: 0.42rem; background: var(--accent); border-radius: 50%; flex: none; }

/* Preserve */
.preserve-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.6rem, 4vw, 2.6rem); }
.preserve h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 0.7rem; }
.preserve p { color: var(--muted); }
.preserve .aside { display: grid; gap: 0.6rem; }
.preserve .aside .tag { font-family: var(--font-display); font-style: italic; color: var(--brand); font-size: 1.3rem; }

/* Plan cards (Preserve page) */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.plan { border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; background: var(--bg); display: grid; gap: 0.7rem; align-content: start; }
.plan.featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.plan h3 { font-size: 1.3rem; }
.plan .cadence { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.plan p { color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: clamp(2.2rem, 5vw, 3.2rem); }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); max-width: 20ch; }
.cta-inner .phone { font-family: var(--font-display); font-size: 1.5rem; color: #fff; text-decoration: none; }
.cta-side { display: grid; gap: 0.4rem; }
.cta-side .lbl { color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-info { display: grid; gap: 1rem; align-content: start; }
.contact-info .line { display: grid; gap: 0.15rem; }
.contact-info .line .k { font-size: 0.85rem; color: var(--muted); font-weight: 600; letter-spacing: 0.03em; }
.contact-info .line .v { font-size: 1.1rem; }
.contact-info .line .v a { color: var(--brand); text-decoration: none; }
form { display: grid; gap: 0.9rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--fg); }
.field input, .field select, .field textarea { font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.8rem; width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--brand); }
.form-note { color: var(--muted); font-size: 0.9rem; }
.form-success { background: color-mix(in srgb, var(--brand) 10%, var(--bg)); border: 1px solid var(--brand); border-radius: 10px; padding: 0.9rem 1rem; color: var(--fg); }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 46rem; }
.faq details { border-top: 1px solid var(--line); padding: 0.95rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); margin-top: 0.6rem; }

/* Recent work */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 0.8rem; }
.frame-slot { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--brand) 10%, var(--surface))); display: grid; place-items: center; color: var(--brand); }
.frame-slot .tag { position: absolute; top: 0.6rem; left: 0.6rem; background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.2rem 0.55rem; border-radius: 999px; }
.ba-caption { color: var(--muted); font-size: 0.92rem; margin-bottom: 2.2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shot { display: grid; gap: 0.5rem; }
.shot .label { font-size: 0.95rem; font-weight: 600; color: var(--fg); }
.shot .label span { display: block; font-weight: 400; color: var(--muted); font-size: 0.83rem; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.guide { display: grid; gap: 0.45rem; align-content: start; padding-top: 1.1rem; border-top: 2px solid var(--brand); }
.guide .cat { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.guide h3 { font-size: 1.22rem; line-height: 1.18; }
.guide p { color: var(--muted); font-size: 0.95rem; }
.guide .read { color: var(--brand); font-weight: 600; text-decoration: none; font-size: 0.95rem; margin-top: 0.2rem; }
.guide .read:hover { text-decoration: underline; }
.guides-all { margin-top: 1.8rem; }
.guides-all a { color: var(--brand); font-weight: 600; text-decoration: none; }
.guides-all a:hover { text-decoration: underline; }

/* Blog listing */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem 1.6rem; }
.post { display: grid; gap: 0.5rem; align-content: start; }
.post .thumb { aspect-ratio: 16 / 10; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--brand) 12%, var(--surface))); display: grid; place-items: center; color: var(--brand); margin-bottom: 0.3rem; }
.post .cat { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); }
.post h3 { font-size: 1.2rem; line-height: 1.2; }
.post p { color: var(--muted); font-size: 0.94rem; }
.post a.read { color: var(--brand); font-weight: 600; text-decoration: none; font-size: 0.94rem; }
.post a.read:hover { text-decoration: underline; }

/* Reviews */
.reviews { background: var(--surface); }
.review { max-width: 54ch; display: grid; gap: 1.1rem; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.25; color: var(--fg); }
.review .who { color: var(--muted); font-weight: 500; }
.review .glink { justify-self: start; }

/* Footer */
footer { background: var(--brand-deep); color: var(--on-dark); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3rem; }
.foot .word { font-family: var(--font-display); font-size: 1.4rem; color: var(--on-dark); }
.foot p, .foot a { color: var(--on-dark-muted); text-decoration: none; }
.foot a:hover { color: var(--on-dark); }
.foot h4 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); margin: 0 0 0.8rem; font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.foot-bottom { border-top: 1px solid color-mix(in srgb, var(--on-dark) 16%, transparent); padding-block: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; color: var(--on-dark-muted); font-size: 0.88rem; }

@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(20, 10, 40, 0.14);
  }
  .nav[data-open="true"] .nav-links { display: flex; }
  .nav-links a { padding: 0.8rem 0.2rem; font-size: 1.05rem; border-top: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
  .nav-cta { display: none; }
  .content-split { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 860px) {
  .paths, .method-grid, .contact-grid, .preserve-inner, .gallery-grid, .guide-grid, .plan-grid, .post-grid { grid-template-columns: 1fr; }
  .svc-list { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .proof-row { grid-template-columns: 1fr; }
  .proof-row .fig { font-size: 1.3rem; }
}
@media (max-width: 520px) {
  .svc-list { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise 0.7s cubic-bezier(.2,.7,.3,1) backwards; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.06s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.12s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.18s; }
  @keyframes rise { from { transform: translateY(12px); opacity: 0.001; } to { transform: none; opacity: 1; } }
}

/* Blog article: back link */
.back-link { margin: 0; }
.back-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.back-link a:hover { text-decoration: underline; }

/* ---- Photography ---- */
/* Reusable media frame */
.media { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.media img { display: block; width: 100%; height: auto; }

/* Real images inside placeholder frames (gallery + before/after) */
.frame-slot:has(img) { background: none; aspect-ratio: auto; }
.frame-slot img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Home hero: split text + photo */
.hero-layout { display: grid; grid-template-columns: 1.05fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero-layout .hero-inner { padding-block: 0; max-width: none; margin: 0; }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; max-height: 540px; object-fit: cover; border-radius: var(--r); display: block; box-shadow: 0 24px 60px rgba(0,0,0,0.38); }
.hero-media figcaption { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.7rem; color: var(--on-dark-muted); font-size: 0.82rem; }
.hero-media figcaption svg { color: var(--accent-soft); flex: none; }

/* Photo page hero (service pages) */
.page-hero--photo { background: var(--brand-deep); }
.page-hero--photo .photo-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero--photo .photo-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(16,8,26,0.9) 0%, rgba(16,8,26,0.66) 55%, rgba(16,8,26,0.4) 100%); }
.page-hero--photo .page-hero-inner { padding-block: clamp(3.4rem, 8vw, 6rem); }

@media (max-width: 860px) {
  .hero-layout { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-media img { max-height: 420px; }
  .page-hero--photo::before { background: linear-gradient(90deg, rgba(16,8,26,0.9), rgba(16,8,26,0.72)); }
}

/* Footer legal links */
.foot-bottom a { color: var(--on-dark-muted); text-decoration: none; }
.foot-bottom a:hover { color: var(--on-dark); text-decoration: underline; }
.foot-legal { order: 3; }
.foot-legal a { color: var(--on-dark); margin: 0 0.15rem; }

/* Legal / policy pages */
.legal { max-width: 46rem; }
.legal h2 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin-top: 1.6rem; }
.legal h3 { margin-top: 1rem; }
.legal ul { display: grid; gap: 0.4rem; padding-left: 1.25rem; margin: 0; }
.legal li { color: var(--fg); }

/* Blog listing thumbnails with photos */
.post .thumb { overflow: hidden; }
.post .thumb:has(img) { background: none; border: 1px solid var(--line); aspect-ratio: auto; }
.post .thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Honeypot (spam trap) + form error */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: color-mix(in srgb, #c0392b 10%, var(--bg)); border: 1px solid #c0392b; border-radius: 10px; padding: 0.9rem 1rem; color: var(--fg); }
.form-error a { color: var(--brand); font-weight: 600; }

/* Floating Google review badge */
.review-badge {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 260px; max-width: calc(100vw - 32px);
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 14px 40px rgba(20, 10, 40, 0.18);
  padding: 0.9rem 1rem;
  animation: badge-in 0.5s cubic-bezier(.2,.7,.3,1) both;
}
@keyframes badge-in { from { transform: translateY(14px); opacity: 0.001; } to { transform: none; opacity: 1; } }
.review-badge-link { display: grid; gap: 0.28rem; text-decoration: none; color: var(--fg); }
.review-badge-head { display: flex; align-items: center; justify-content: space-between; }
.review-badge-g { font-weight: 700; font-size: 0.9rem; color: var(--muted); letter-spacing: 0.01em; }
.review-badge-stars { display: inline-flex; gap: 1px; }
.review-badge-quote { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; color: var(--fg); }
.review-badge-who { font-size: 0.82rem; color: var(--accent); font-weight: 600; }
.review-badge-link:hover .review-badge-who { text-decoration: underline; }
.review-badge-close {
  position: absolute; top: 6px; right: 8px; width: 24px; height: 24px;
  border: none; background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1;
  cursor: pointer; border-radius: 6px;
}
.review-badge-close:hover { background: var(--surface-2); color: var(--fg); }
@media (max-width: 520px) {
  .review-badge { right: 12px; left: 12px; bottom: 12px; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .review-badge { animation: none; } }

/* Homepage reviews grid (real Google reviews) */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.review-card { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); padding: 1.3rem; display: grid; gap: 0.6rem; align-content: start; }
.review-card .stars { color: #FBBC04; letter-spacing: 2px; font-size: 0.95rem; }
.review-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.06rem; line-height: 1.35; color: var(--fg); }
.review-card figcaption { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.reviews-cta { margin-top: 1.8rem; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .review-grid { grid-template-columns: 1fr; } }
