/* =========================================================
   Amazon Book Publication — STYLES
   Brand colours come from includes/config.php ($THEME)
   via --ink, --ink-2, --accent, --accent-2, --paper.
   ========================================================= */

:root {
    --text: #1C2430;
    --muted: #5A6575;
    --line: #E3E7EE;
    --white: #FFFFFF;
    --on-ink: #E8EDF4;
    --on-ink-muted: #A9B6C8;
    --serif: "Literata", Georgia, "Times New Roman", serif;
    --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --wrap: 1200px;
    --r: 6px;
    --shadow: 0 18px 40px -18px rgba(15, 27, 45, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); font-size: .95rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ink); padding: 8px 14px; z-index: 999; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 .98rem/1 var(--sans); padding: 15px 24px; border-radius: var(--r); border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .18s, color .18s, border-color .18s; white-space: nowrap; }
.btn--sm { padding: 11px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-2); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); }
.btn--outline-light { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--outline-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline-ink:hover { background: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: inherit; }
.call-link { font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--ink); color: var(--on-ink-muted); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar__contact { display: flex; gap: 22px; }
.topbar a { color: var(--on-ink); text-decoration: none; }
.topbar a:hover { color: var(--accent); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 56px; width: auto; }
.site-footer .logo img { height: 48px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; display: flex; gap: 4px; align-items: center; }
.nav__list > li > a, .nav__toggle-sub { display: block; padding: 10px 12px; font: 600 .96rem var(--sans); color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--r); }
.nav__list > li > a:hover, .nav__toggle-sub:hover, .nav__list a[aria-current="page"], .nav__toggle-sub[data-active] { color: var(--ink); background: var(--paper); }
.nav__toggle-sub::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.has-menu { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 720px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 26px 28px 20px; display: none; grid-template-columns: repeat(3, 1fr); gap: 8px 26px; }
.has-menu.is-open .mega { display: grid; }
@media (hover: hover) and (min-width: 1081px) { .has-menu:hover .mega, .has-menu:focus-within .mega { display: grid; } .has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; } }
.mega__head { font-weight: 700; font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.mega ul { list-style: none; }
.mega li a { display: block; padding: 6px 0; text-decoration: none; font-weight: 600; font-size: .95rem; }
.mega li a:hover, .mega li a[aria-current="page"] { color: var(--accent-2); }
.mega__all { grid-column: 1 / -1; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: none; }
.mega__all:hover { color: var(--accent-2); }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__phone { font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero, .svc-hero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.hero h1, .svc-hero h1 { color: var(--white); }
.hero__grid, .svc-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 72px 0 130px; }
.svc-hero__grid { padding-bottom: 80px; }
.hero__kicker { font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.hero__lead { font-size: 1.14rem; color: var(--on-ink); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero__actions--center { justify-content: center; }

/* The shelf: four spines, the fourth leans — the brand's one bold moment */
.shelf { position: absolute; left: 0; right: 0; bottom: 0; height: 104px; pointer-events: none; }
.shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--ink-2); border-top: 2px solid rgba(255,255,255,.12); }
.shelf__row { height: 100%; display: flex; align-items: flex-end; gap: 6px; padding-bottom: 10px; }
.spine { width: 46px; height: var(--h); background: var(--ink-2); filter: brightness(var(--b, 1)); border-radius: 3px 3px 0 0; display: flex; align-items: flex-end; justify-content: center; padding: 12px 0; box-shadow: inset -6px 0 0 rgba(0,0,0,.14); }
.spine b { writing-mode: vertical-rl; transform: rotate(180deg); color: rgba(255,255,255,.72); font: 600 .78rem var(--sans); }
.spine--lean { --h: 86%; background: var(--accent); filter: none; transform-origin: 100% 100%; animation: lean 1s cubic-bezier(.5,1.6,.5,1) .5s forwards; }
.spine--lean b { color: var(--ink); }
@keyframes lean { to { transform: rotate(13deg); } }

.retailers { margin-top: 36px; }
.retailers__label { display: block; font-size: .85rem; font-weight: 600; color: var(--on-ink-muted); margin-bottom: 8px; }
.retailers ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.retailers li { font-weight: 700; font-size: .95rem; color: var(--white); opacity: .85; }

/* ---------- Forms ---------- */
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form--card { background: var(--white); color: var(--text); padding: 30px; border-radius: 12px; box-shadow: var(--shadow); border-top: 5px solid var(--accent); }
.lead-form--plain { background: var(--paper); padding: 32px; border-radius: 12px; }
.lead-form__title { grid-column: 1 / -1; font-size: 1.5rem; margin-bottom: 4px; }
.lead-form .field { display: flex; flex-direction: column; gap: 5px; }
.lead-form .field--full, .lead-form .btn, .lead-form .form-status, .lead-form .form-note { grid-column: 1 / -1; }
.lead-form label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.lead-form .opt { font-weight: 500; color: var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; font: 500 1rem var(--sans); color: var(--text); padding: 12px 13px; border: 1.5px solid #CBD3DE; border-radius: var(--r); background: var(--white); }
.lead-form textarea { resize: vertical; min-height: 84px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,153,0,.35); }
.lead-form [aria-invalid="true"] { border-color: #C0392B; }
.form-status { margin: 0; font-size: .92rem; font-weight: 600; min-height: 1px; }
.form-status.is-error { color: #B02A1C; }
.form-status.is-ok { color: #1E7A44; }
.form-note { margin: 0; font-size: .8rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--paper { background: var(--paper); }
.section__head { max-width: 680px; margin-bottom: 44px; }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split--form { grid-template-columns: .9fr 1.1fr; }
.split__text p { color: #3A4554; }
.split__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }

.ticks { list-style: none; display: grid; gap: 10px; margin: 20px 0 0; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--accent-2); border-bottom: 3px solid var(--accent-2); transform: rotate(-45deg); }

/* Fanned covers */
.fan { position: relative; height: 420px; }
.fan .cover { position: absolute; width: 42%; top: 50%; left: 50%; box-shadow: var(--shadow); }
.fan .cover:nth-child(1) { transform: translate(-95%, -50%) rotate(-8deg); }
.fan .cover:nth-child(2) { transform: translate(-50%, -54%); z-index: 2; }
.fan .cover:nth-child(3) { transform: translate(-5%, -50%) rotate(8deg); }

/* ---------- Photos ---------- */
.split__visual--photo { position: relative; }
.split__visual--photo .photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); }
.split__visual--photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--accent); border-radius: 10px; z-index: -1; }
.split__visual--photo { isolation: isolate; }
.premium__img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 10px; margin-bottom: 28px; }
.contact-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 28px; }
.about-band { margin-bottom: 56px; }
.about-band .photo { width: 100%; max-height: 420px; object-fit: cover; border-radius: 10px; }
.related__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; margin-bottom: 14px; }

/* ---------- Covers ---------- */
.cover { container-type: inline-size; margin: 0; aspect-ratio: 2 / 3; border-radius: 3px 6px 6px 3px; overflow: hidden; background: var(--ink-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover--blank { --tone: var(--ink); background: var(--tone); box-shadow: inset 7px 0 0 rgba(0,0,0,.18); }
.cover--type { --tone: var(--ink); background: var(--tone); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 13% 13%; position: relative; box-shadow: inset 7px 0 0 rgba(0,0,0,.18); }
.cover--type::after { content: ""; position: absolute; inset: 7% 8%; border: 1px solid rgba(255,255,255,.28); pointer-events: none; }
.cover__genre { font-size: clamp(.55rem, 7cqw, .78rem); font-weight: 600; opacity: .75; }
.cover__title { font-family: var(--serif); font-weight: 600; font-size: clamp(.78rem, 12cqw, 1.7rem); line-height: 1.15; overflow-wrap: anywhere; hyphens: auto; }
.cover__author { font-size: clamp(.6rem, 7.5cqw, .85rem); font-weight: 700; color: var(--accent); }
.covers { display: grid; grid-template-columns: repeat(9, 1fr); gap: 14px; }
.covers--large { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 26px; }
.covers__meta { margin: 12px 0 0; display: flex; flex-direction: column; font-size: .9rem; }
.covers__meta span { color: var(--muted); }

/* ---------- Services index ---------- */
.svc-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.svc-index__group { font-size: 1.05rem; padding-bottom: 12px; border-bottom: 3px solid var(--ink); margin-bottom: 4px; }
.svc-index ul, .related { list-style: none; }
.svc-index li a, .related li a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.svc-index li a strong, .related li a strong { display: block; font-family: var(--serif); font-size: 1.12rem; color: var(--ink); margin-bottom: 3px; }
.svc-index li a span, .related li a span { display: block; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.svc-index li a:hover strong, .related li a:hover strong { color: var(--accent-2); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; }
.related li a { border-top: 3px solid var(--ink); border-bottom: 0; padding-top: 18px; }
.hub-group + .hub-group { margin-top: 64px; }
.hub-group h2 { margin-bottom: 20px; }
.hub-group .related { row-gap: 28px; }

/* ---------- Process (real sequence, so numbered) ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: none; }
.process__step { position: relative; padding-top: 64px; }
.process__step::before { content: ""; position: absolute; top: 22px; left: 52px; right: -28px; height: 2px; background: var(--line); }
.process__step:last-child::before { display: none; }
.process__num { position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--accent); font: 700 1.1rem var(--serif); display: grid; place-items: center; }
.process__step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Included list (service pages) ---------- */
.included { list-style: none; display: grid; gap: 0; }
.included li { padding: 20px 0 20px 26px; border-bottom: 1px solid var(--line); position: relative; }
.included li:first-child { border-top: 1px solid var(--line); }
.included li::before { content: ""; position: absolute; left: 0; top: 29px; width: 10px; height: 10px; background: var(--accent); border-radius: 2px; }
.included h3 { font-size: 1.08rem; margin-bottom: 4px; }
.included p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Premium band ---------- */
.premium { background: var(--ink); color: var(--on-ink); padding: 84px 0; }
.premium h2 { color: var(--white); }
.premium__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.premium p { color: var(--on-ink-muted); font-size: 1.08rem; margin: 0; max-width: 58ch; }
.premium__contact { display: grid; gap: 18px; justify-items: start; }
.premium__contact a:not(.btn) { text-decoration: none; color: var(--white); font: 600 clamp(1.05rem, 2.2vw, 1.35rem) var(--serif); overflow-wrap: anywhere; }
.premium__grid > *, .split > *, .git__grid > *, .hero__grid > *, .svc-hero__grid > * { min-width: 0; }
.premium__contact a span { display: block; font: 600 .82rem var(--sans); color: var(--accent); margin-bottom: 2px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid #D5DBE4; }
.faq__item { border-bottom: 1px solid #D5DBE4; }
.faq__item summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 600 1.1rem var(--serif); color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 500 1.6rem var(--sans); color: var(--accent-2); }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: 0 0 22px; color: #3A4554; max-width: 68ch; }

/* ---------- Contact lines ---------- */
.contact-lines { list-style: none; display: grid; gap: 14px; margin: 26px 0 28px; }
.contact-lines li { display: grid; grid-template-columns: 80px 1fr; font-weight: 600; }
.contact-lines span { color: var(--muted); font-weight: 500; }
.contact-lines a { text-decoration: none; color: var(--ink); }
.contact-lines a:hover { color: var(--accent-2); }
.next-steps { padding-left: 22px; display: grid; gap: 14px; margin-bottom: 24px; }
.next-steps li::marker { font-weight: 700; color: var(--accent-2); }

/* ---------- Values ---------- */
.values { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.values li { border-top: 3px solid var(--ink); padding-top: 18px; }
.values p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Banner (inner pages) ---------- */
.banner { background: var(--ink); color: var(--on-ink); padding: 64px 0 70px; }
.banner h1 { color: var(--white); max-width: 22ch; }
.banner__lead { font-size: 1.12rem; max-width: 60ch; margin: 0; color: var(--on-ink); }
.banner--center { text-align: center; padding: 96px 0; }
.banner--center h1, .banner--center .banner__lead { margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 16px; color: var(--on-ink-muted); }
.crumbs a { color: var(--on-ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); padding: 56px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--ink); max-width: 56ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-band__call { font-weight: 700; color: var(--ink); text-decoration: none; margin-left: 6px; }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal p { color: #3A4554; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: 72px 0 0; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.site-footer__brand p { margin: 18px 0 0; max-width: 36ch; }
.site-footer__head { font: 700 .95rem var(--sans); color: var(--white); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__contact { margin-bottom: 18px !important; }
.social { display: flex !important; gap: 16px !important; margin-top: 18px !important; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 24px; font-size: .82rem; }
.site-footer__legal p { margin: 0; max-width: 70ch; }
.site-footer__legal ul { display: flex; gap: 18px; flex-wrap: wrap; align-content: start; }

/* ---------- Modal (split: orange panel + form) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 27, 45, .72); }
.modal__panel { position: relative; width: min(1040px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--white); border-radius: 16px; display: grid; grid-template-columns: 1fr 1fr; animation: rise .22s ease-out; }
.modal__side { background: var(--accent); color: var(--white); padding: 48px 44px; display: flex; flex-direction: column; }
.modal__side h2 { color: var(--white); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; margin-bottom: 16px; }
.modal__side p { color: rgba(255,255,255,.9); margin-bottom: 26px; }
.modal__list { list-style: none; display: grid; gap: 14px; margin-bottom: 34px; }
.modal__list li { position: relative; padding-left: 34px; font-weight: 600; }
.modal__list li::before { content: ""; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.22); }
.modal__list li::after { content: ""; position: absolute; left: 7px; top: calc(.1em + 6px); width: 8px; height: 5px; border-left: 2px solid var(--white); border-bottom: 2px solid var(--white); transform: rotate(-45deg); }
.modal__contact { margin-top: auto; display: grid; grid-template-columns: auto auto; justify-content: start; gap: 18px 36px; }
.modal__contact a { color: var(--white); text-decoration: none; font-weight: 500; font-size: .92rem; overflow-wrap: anywhere; }
.modal__contact a:hover { color: var(--ink); }
.modal__contact span { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.lead-form--modal { padding: 48px 44px 40px; grid-template-columns: 1fr; gap: 16px; align-content: start; }
.lead-form--modal label { font-size: .95rem; font-weight: 600; }
.lead-form--modal input, .lead-form--modal textarea { padding: 14px 16px; border-color: #D3D9E2; border-radius: 8px; }
.lead-form--modal input::placeholder, .lead-form--modal textarea::placeholder { color: #9AA3AF; }
.lead-form--modal .btn { margin-top: 6px; padding: 17px 24px; }
.modal__close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 40px; height: 40px; border: 0; background: var(--accent); color: var(--white); border-radius: 4px; display: grid; place-items: center; cursor: pointer; }
.modal__close:hover { background: var(--accent-2); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.modal-open { overflow: hidden; }
@media (max-width: 860px) {
    .modal { padding: 12px; align-items: start; }
    .modal__panel { grid-template-columns: 1fr; max-height: calc(100vh - 24px); }
    .modal__side { padding: 28px 24px 24px; }
    .modal__side h2 { font-size: 1.35rem; padding-right: 44px; margin-bottom: 8px; }
    .modal__side p, .modal__list { display: none; }
    .modal__contact { margin-top: 10px; gap: 12px; grid-template-columns: 1fr; }
    .lead-form--modal { padding: 24px; }
    .modal__close { background: var(--white); color: var(--accent-2); }
}

/* ---------- Testimonials ---------- */
.reviews { background: var(--ink); color: var(--on-ink); padding: 96px 0; overflow: hidden; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.reviews__head h2 { color: var(--white); margin-bottom: 8px; }
.reviews__head p { color: var(--on-ink-muted); margin: 0; max-width: 52ch; }
.reviews__nav { display: flex; gap: 10px; }
.reviews__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; }
.reviews__nav button:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.reviews__track { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: var(--ink-2); border-radius: 14px; padding: 32px 30px 28px; display: flex; flex-direction: column; position: relative; }
.review::before { content: "\201C"; position: absolute; top: 6px; right: 24px; font: 700 6rem/1 var(--serif); color: var(--accent); opacity: .25; }
.review__stars { color: var(--accent); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 18px; }
.review blockquote { margin: 0 0 26px; font-family: var(--serif); font-size: 1.12rem; line-height: 1.6; color: var(--white); }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.review__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: var(--ink); font: 700 1rem var(--sans); display: grid; place-items: center; }
.review__who strong { display: block; color: var(--white); font-size: .98rem; }
.review__who span { font-size: .86rem; color: var(--on-ink-muted); }
@media (max-width: 1080px) { .reviews__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 680px) { .reviews { padding: 72px 0; } .reviews__track { grid-auto-columns: 86%; gap: 16px; } .review { padding: 26px 22px 22px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .burger { display: flex; }
    .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--white); flex-direction: column; align-items: stretch; gap: 20px; padding: 90px 24px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow); z-index: 60; }
    .nav.is-open { transform: none; }
    .burger { position: relative; z-index: 70; }
    .nav__list { flex-direction: column; align-items: stretch; }
    .nav__list > li > a, .nav__toggle-sub { width: 100%; text-align: left; padding: 13px 10px; font-size: 1.02rem; }
    .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px 14px; grid-template-columns: 1fr; }
    .nav__cta { flex-direction: column; align-items: stretch; border-top: 1px solid var(--line); padding-top: 20px; }
    .nav__phone { text-align: center; }
    .hero__grid, .svc-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .covers { grid-template-columns: repeat(5, 1fr); }
    .covers .cover:nth-child(n+6) { display: none; }
    .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .process__step:nth-child(2)::before { display: none; }
    .values { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    body { font-size: 16px; }
    .split__visual--photo { order: -1; }
    .split__visual--photo::before { inset: 12px -6px -12px 12px; }
    .section { padding: 68px 0; }
    .split, .split--form, .premium__grid { grid-template-columns: 1fr; gap: 40px; }
    .fan { height: 340px; order: -1; }
    .svc-index, .related { grid-template-columns: 1fr; }
    .svc-index { gap: 28px; }
    .related { row-gap: 22px; }
    .topbar__hours { display: none; }
    .site-footer__legal { flex-direction: column; }
}
@media (max-width: 560px) {
    .lead-form { grid-template-columns: 1fr; }
    .lead-form--card, .lead-form--plain { padding: 22px; }
    .covers { grid-template-columns: repeat(3, 1fr); }
    .covers .cover:nth-child(n+4) { display: none; }
    .process, .values, .site-footer__grid { grid-template-columns: 1fr; }
    .process__step::before { display: none; }
    .topbar__contact a:first-child { display: none; }
    .hero__grid { padding-bottom: 120px; }
    .spine { width: 36px; }
    .logo img { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    html { scroll-behavior: auto; }
}

/* =========================================================
   SERVICE PAGES (rich layout)
   ========================================================= */
.svc-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .16; filter: grayscale(.3); }
.svc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 35%, transparent 100%); opacity: .85; pointer-events: none; }
.svc-hero__grid { position: relative; z-index: 1; padding: 64px 0 80px; }
.svc-hero__kicker { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 700; font-size: .85rem; padding: 6px 12px; border-radius: 4px; margin: 0 0 14px; }
.svc-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 8px; }
.svc-hero__tagline { font: 600 clamp(1.15rem, 2vw, 1.45rem)/1.35 var(--serif); color: var(--accent); margin-bottom: 18px; max-width: 30ch; }
.hero__lead--soft { color: var(--on-ink-muted); font-size: 1rem; }

.cta-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.cta-pair__call { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: inherit; padding: 8px 18px 8px 8px; border: 2px solid currentColor; border-radius: 999px; opacity: .95; }
.cta-pair__call:hover { color: var(--accent-2); }
.svc-hero .cta-pair__call { color: var(--white); border-color: rgba(255,255,255,.4); }
.svc-hero .cta-pair__call:hover { border-color: var(--accent); color: var(--accent); }
.cta-pair__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; }

.logo-band { background: var(--ink-2); border-top: 1px solid rgba(255,255,255,.08); }
.logo-band__inner { display: flex; align-items: center; gap: 24px 40px; padding: 26px 0; flex-wrap: wrap; justify-content: space-between; }
.logo-band__label { margin: 0; font-weight: 700; color: var(--white); font-size: .95rem; }
.logo-band__list { list-style: none; display: flex; align-items: center; gap: 14px 44px; flex-wrap: wrap; }
.logo-band__list li { height: 44px; min-width: 110px; display: flex; align-items: center; justify-content: center; }
.logo-band__list img { max-height: 40px; max-width: 150px; width: auto; height: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .85; transition: opacity .2s; }
.logo-band__list img:hover { opacity: 1; }
.logo-band__list--text { gap: 10px 28px; }
.logo-band__list--text li { height: auto; min-width: 0; font-weight: 700; color: var(--on-ink); }

.ticks--grid { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.split--reverse .split__visual { order: 0; }

.included--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.included--grid li { background: var(--paper); border: 0; border-radius: 10px; padding: 26px 24px 24px; border-top: 4px solid var(--accent) !important; }
.included--grid li::before { display: none; }

.section--ink { background: var(--ink); color: var(--on-ink); }
.section__head--light h2 { color: var(--white); }
.section__head--light p { color: var(--on-ink-muted); }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why__card { background: var(--ink-2); border-radius: 14px; padding: 32px 28px; border: 1px solid rgba(255,255,255,.06); }
.why__card:hover { border-color: var(--accent); }
.why__icon { width: 56px; height: 56px; border-radius: 12px; background: var(--accent); color: var(--ink); display: grid; place-items: center; margin-bottom: 20px; }
.why__card h3 { color: var(--white); font-size: 1.25rem; }
.why__card p { color: var(--on-ink-muted); margin: 0; font-size: .97rem; }

.genres__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.genres__tabs button { font: 700 .95rem var(--sans); padding: 12px 22px; border-radius: 999px; border: 1.5px solid #CBD3DE; background: var(--white); color: var(--ink); cursor: pointer; }
.genres__tabs button:hover { border-color: var(--ink); }
.genres__tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.genres__panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; background: var(--paper); border-radius: 16px; padding: 44px; }
.genres__panel[hidden] { display: none; }
.genres__text h3 { font-size: 1.9rem; margin-bottom: 14px; }
.genres__text p { color: #3A4554; font-size: 1.05rem; max-width: 60ch; }
.genres__actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 24px; }
.genres__visual { justify-self: center; width: min(280px, 100%); }
.genres__img { width: 100%; border-radius: 6px; box-shadow: var(--shadow); }

.covers--strip { grid-template-columns: repeat(9, minmax(110px, 1fr)); overflow-x: auto; padding-bottom: 6px; }

.svc-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.svc-grid__item a { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: 12px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.svc-grid__item a:hover { border-color: var(--accent); transform: translateY(-3px); }
.svc-grid__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper); }
.svc-grid__img { width: 100%; height: 100%; object-fit: cover; }
.svc-grid__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-grid__body strong { font: 600 1.15rem var(--serif); color: var(--ink); margin-bottom: 6px; }
.svc-grid__body span { color: var(--muted); font-size: .94rem; line-height: 1.5; }
.svc-grid__body em { font-style: normal; font-weight: 700; color: var(--accent-2); margin-top: auto; padding-top: 14px; font-size: .92rem; }

.premium__grid--img { grid-template-columns: .9fr 1.1fr; }
.premium__photo { width: 100%; border-radius: 12px; }
.premium__contact--row { display: flex; flex-wrap: wrap; gap: 20px 40px; margin: 26px 0 28px; }

.git__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.git__photo { width: 100%; border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; }
.git__lead { color: var(--muted); font-size: 1.05rem; }

@media (max-width: 1080px) {
    .why { grid-template-columns: 1fr; }
    .genres__panel { grid-template-columns: 1fr; padding: 30px; }
    .genres__visual { width: 200px; justify-self: start; }
}
@media (max-width: 820px) {
    .premium__grid--img, .git__grid { grid-template-columns: 1fr; }
    .git__photo { aspect-ratio: 16 / 10; }
    .ticks--grid { grid-template-columns: 1fr; }
    .genres__tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
    .genres__tabs button { flex: none; }
    .logo-band__inner { justify-content: flex-start; gap: 16px; }
    .logo-band__list { gap: 24px; }
}
