/* The Founders Notes: styles for the extra features (filters, story tools, FAQ, packages, newsletter...). Uses the colours from styles.css. */

.btn-sm { padding: .55rem .9rem; font-size: .9rem; min-height: 40px }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; justify-content: space-between; margin-bottom: clamp(20px, 3vw, 32px) }
.chips, .langs { display: flex; flex-wrap: wrap; gap: .5rem }
.chip { font: 500 .8rem/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--head); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .6rem .95rem; min-height: 40px; cursor: pointer }
.chip:hover { border-color: var(--head) }
.chip.on { background: var(--head); color: var(--bg); border-color: var(--head) }
.select { font: 400 1rem var(--f-body); color: var(--head); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: .6rem .9rem; min-height: 44px }

/* story tags are links now */
.tags a { color: inherit; text-decoration: none }
.tags a:hover { text-decoration: underline }

/* story: tools, glance, media, visit box, founder kit */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.2rem }
.tools-sep { width: 1px; height: 24px; background: var(--line); margin: 0 .3rem }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--head); cursor: pointer; text-decoration: none }
.icon-btn:hover { background: var(--head); color: var(--bg); border-color: var(--head) }
.icon-btn.on { background: var(--head); color: var(--bg); border-color: var(--head) }
.icon-btn.done { color: var(--accent); border-color: var(--accent) }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round }
.icon-btn svg.fill { fill: currentColor; stroke: none }
.langs { margin-top: 1.2rem }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: clamp(24px, 4vw, 40px) 0; border-top: 1px solid var(--head); border-bottom: 1px solid var(--line) }
.glance div { padding: 1rem 1.2rem 1rem 0 }
.glance dt { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase }
.glance dd { margin: .3rem 0 0; font-size: 1.2rem; color: var(--head) }
.founder-media { margin-bottom: 2rem; display: grid; gap: 1rem }
.embed { position: relative; aspect-ratio: 16 / 9 }
.embed iframe, .embed-video { width: 100%; height: 100%; border: 0; border-radius: var(--r); background: #000 }
.embed-video { aspect-ratio: 16 / 9; height: auto }
.embed-audio { width: 100% }
.qa { margin: 2rem 0 }
.qa h3 { font: 500 .85rem/1.4 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin: 0 0 .4rem }
.visit { margin-top: clamp(36px, 5vw, 56px); padding: clamp(22px, 3vw, 36px); background: var(--alt); border: 1px solid var(--line); border-radius: var(--r) }
.visit h2 { margin: .5rem 0 .3rem; font-size: clamp(1.5rem, 3vw, 2rem) }
.visit p { margin: 0 0 1.2rem; color: var(--muted); font-size: 1.05rem }
.visit .kicker-s { color: var(--accent); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase }
.visit-btns, .kit-btns { display: flex; flex-wrap: wrap; gap: .6rem }
.kit .kit-btns { flex-direction: column; align-items: stretch }
.kit p { color: var(--muted); font-size: 1rem }
.kit-badge { margin: 1rem 0 0 }
.kit-badge img { display: block; border-radius: 4px }
.audit-line { margin-top: 1rem; font-size: .95rem }
.audit-line a { color: inherit; text-decoration: underline }

/* FAQ + nominate */
.faq-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr } }
.faq-item { border-top: 1px solid var(--line) }
.faq-item:last-child { border-bottom: 1px solid var(--line) }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 2rem 1.1rem 0; font-size: 1.25rem; color: var(--head); position: relative; min-height: 48px }
.faq-item summary::-webkit-details-marker { display: none }
.faq-item summary::after { content: "+"; position: absolute; right: .2rem; top: 1rem; font: 400 1.5rem/1 var(--f-mono); color: var(--accent) }
.faq-item[open] summary::after { content: "\2212" }
.faq-item p { margin: 0 0 1.2rem; max-width: 60ch; color: var(--ink); font-size: 1.1rem; line-height: 1.65 }
.nominate .note-lead { margin: 0; color: var(--muted) }

/* testimonials */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 3vw, 36px) }
.voice { margin: 0; padding-top: 1.2rem; border-top: 1px solid var(--head) }
.voice blockquote { margin: 0 }
.voice p { font: italic 400 1.5rem/1.3 var(--f-head); color: var(--head); margin: 0 0 1rem }
.voice figcaption { color: var(--muted); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase }

/* packages + audit */
.audit { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; margin-top: clamp(28px, 4vw, 48px); padding: clamp(22px, 3vw, 36px); background: var(--alt); border: 1px solid var(--line); border-radius: var(--r) }
.audit h3 { margin: 0 0 .4rem; font-size: 1.5rem }
.audit p { margin: 0; max-width: 62ch; color: var(--ink) }
.pk-title { margin: clamp(36px, 5vw, 56px) 0 1.2rem; font-size: 1.6rem }
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(16px, 2.4vw, 28px) }
.pack { display: flex; flex-direction: column; gap: .6rem; padding: clamp(20px, 2.6vw, 30px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r) }
.pack h3 { margin: 0; font-size: 1.4rem }
.pack .price { margin: 0; color: var(--accent); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase }
.pack p { margin: 0; color: var(--ink) }
.pack ul { margin: .4rem 0 1rem; padding-left: 1.1rem; color: var(--muted); flex: 1 }
.pack .btn { align-self: flex-start }

/* newsletter */
.newsletter { background: var(--alt); border-top: 1px solid var(--line) }
.nl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center }
@media (max-width: 820px) { .nl { grid-template-columns: 1fr } }
.nl h2 { margin: 0 0 .5rem }
.nl p { margin: 0; color: var(--muted) }
.nl-fields { display: grid; grid-template-columns: 1fr auto; gap: .6rem }
.nl-fields input[type="email"] { font: 400 1.05rem var(--f-body); color: var(--head); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: .9rem 1rem; min-height: 48px; min-width: 0 }
.nl-fields .consent, .nl-fields .note { grid-column: 1 / -1; display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin: 0 }
.consent input { margin-top: .25rem; width: 18px; height: 18px }

.card-style { display: flex; gap: .5rem; margin: .2rem 0 .8rem }

/* pages: each menu button shows its own set of sections */
.pg-off { display: none !important }
body[data-page="home"] #filters, body[data-page="home"] .stories-head .search { display: none !important }
.see-all { margin-top: clamp(24px, 4vw, 40px); text-align: center }

/* real pages: topic chips are links, breadcrumbs, topic intro */
a.chip { display: inline-flex; align-items: center; text-decoration: none }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.6rem; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted) }
.crumbs a { color: inherit; text-decoration: none; padding: .5rem 0 }
.crumbs a:hover { color: var(--head); text-decoration: underline }
.crumbs [aria-current] { color: var(--head) }
.stories-intro { margin: .6rem 0 0; color: var(--muted); font-size: 1.1rem; max-width: 60ch }
.stories-intro:empty { display: none }

/* Mission page */
.mission { max-width: 720px; margin: 0 auto }
.mission h2 { margin: .4rem 0 1rem }
.mission h3 { font-size: 1.35rem; margin: 2.2rem 0 .5rem; color: var(--head) }
.mission p { font-size: 1.08rem; line-height: 1.75; margin: 0 0 1rem }
.mission .mission-lead { font-size: 1.25rem; line-height: 1.55; color: var(--muted) }
.mission-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem }

/* Submit your story */
.submit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start }
@media (max-width: 900px) { .submit-grid { grid-template-columns: 1fr } }
.submit-intro { position: sticky; top: 96px; display: block }
.submit-intro h2 { margin: .8rem 0 1.2rem }
.submit-intro p { color: var(--muted); max-width: 46ch }
@media (max-width: 900px) { .submit-intro { position: static } }
.submit-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .5rem; color: var(--muted) }
.submit-points li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: .7rem; vertical-align: middle }
.story-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.2rem; min-width: 0 }
.story-form legend { padding: 0 0 .9rem; margin-bottom: .2rem; width: 100%; border-bottom: 1px solid var(--line); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent) }
.story-form input[type="file"] { padding: .7rem; cursor: pointer }
.story-form .hint { font: 400 .9rem/1.4 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--muted) }
.story-form label.consent { display: flex; gap: .8rem; align-items: flex-start; font: 400 1rem/1.5 var(--f-body); letter-spacing: 0; text-transform: none; color: var(--ink) }
.story-form label.consent input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: .2rem; padding: 0; accent-color: var(--accent) }

/* Apply form: hints, progress, draft, confirmation */
.steps-next { list-style: none; counter-reset: s; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1rem }
.steps-next li { counter-increment: s; position: relative; padding-left: 2.6rem; color: var(--muted); line-height: 1.55 }
.steps-next li::before { content: counter(s); position: absolute; left: 0; top: .05rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font: 500 .78rem var(--f-mono) }
.steps-next strong { color: var(--head); font-weight: 500 }
.story-form .progress { position: sticky; top: 72px; z-index: 5; background: var(--bg, #fff); padding: .7rem 0 .9rem; margin: 0 0 .6rem; border-bottom: 1px solid var(--line) }
.progress-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem }
.progress-row #draftState { color: var(--accent); text-align: right }
.progress-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden }
.progress-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s ease }
.draft-banner { margin: 0 0 1rem; padding: .8rem 1rem; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 4px; font-size: .95rem }
.link-btn { background: none; border: 0; padding: 0; color: var(--head); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit }
.story-form label > .hint { display: block; margin-top: .45rem }
.story-done { border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 4vw, 40px); scroll-margin-top: 96px; outline: 0 }
.story-done h3 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: .6rem 0 1rem }
.done-photo { margin-top: 1.4rem; padding: .8rem 1rem; border-left: 3px solid var(--accent); background: rgba(127,127,127,.08) }
.done-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem }
@media (prefers-reduced-motion: reduce) { .progress-bar i { transition: none } }

/* End of story invitation */

/* Home proof strip */
.proof { display: block; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line) }
.proof blockquote { margin: 0; font-family: var(--f-head); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.35; color: var(--head); max-width: 46ch; text-wrap: balance }
.proof cite { display: block; margin-top: .9rem; font-style: normal; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.proof cite a { color: inherit; text-decoration: underline; text-underline-offset: 3px }
.proof-pledge { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; color: var(--muted); font-size: .95rem }
.proof-pledge li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: .7rem; vertical-align: middle }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr } .story-form .progress { top: 60px } }

/* Finish animation: plays once when every required answer is filled */
.prog-label { display: inline-flex; align-items: center; gap: .5rem }
.prog-tick, .done-tick { width: 1.15rem; height: 1.15rem; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none }
.prog-tick { display: none }
.is-complete .prog-tick { display: block }
.prog-tick circle, .done-tick circle { opacity: .35 }
.prog-tick path, .done-tick path { stroke-dasharray: 22; stroke-dashoffset: 0 }
.progress-bar i { position: relative }
.progress-bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); transform: translateX(-100%); opacity: 0 }
.story-form button[type="submit"] { opacity: .78; transition: opacity .3s ease, transform .3s ease, box-shadow .3s ease }
.story-form.is-complete button[type="submit"] { opacity: 1; box-shadow: 0 8px 24px -8px rgba(33, 87, 70, .55) }
.story-form.celebrate .progress-bar i::after { animation: fn-sweep 1.1s ease-out .05s 1 both }
.story-form.celebrate .prog-tick path { animation: fn-draw .5s ease-out .35s 1 both }
.story-form.celebrate .prog-tick { animation: fn-pop .45s ease-out .3s 1 both }
.story-form.celebrate button[type="submit"] { animation: fn-lift .7s ease-out .8s 1 both }
.story-done:not([hidden]) { animation: fn-fadein .5s ease-out both }
.story-done:not([hidden]) .done-tick { animation: fn-pop .5s ease-out .15s 1 both }
.story-done:not([hidden]) .done-tick path { animation: fn-draw .55s ease-out .35s 1 both }
.story-done h3 { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap }
.story-done .done-tick { width: 1.5rem; height: 1.5rem }
@keyframes fn-sweep { 0% { transform: translateX(-100%); opacity: 1 } 100% { transform: translateX(100%); opacity: 1 } }
@keyframes fn-draw { from { stroke-dashoffset: 22 } to { stroke-dashoffset: 0 } }
@keyframes fn-pop { 0% { transform: scale(.6); opacity: 0 } 60% { transform: scale(1.15); opacity: 1 } 100% { transform: scale(1); opacity: 1 } }
@keyframes fn-lift { 0% { transform: translateY(0) } 40% { transform: translateY(-4px); box-shadow: 0 14px 30px -8px rgba(33, 87, 70, .6) } 100% { transform: translateY(0) } }
@keyframes fn-fadein { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) {
  .story-form.celebrate *, .story-form.celebrate *::after, .story-done:not([hidden]), .story-done:not([hidden]) * { animation: none !important }
  .progress-bar i::after { display: none }
  .story-form button[type="submit"] { transition: none }
}

/* About page redesign */
.about-copy .lead-line { font-family: var(--f-head); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; color: var(--head); max-width: 24ch; margin: 0 0 1.5rem; text-wrap: balance }
.about-copy p:first-of-type.lead-line { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25 }
.about-copy h2 { margin-bottom: 1rem }
.about-facts { list-style: none; margin: 1.8rem 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 60ch }
.about-facts li { border-top: 1px solid var(--head); padding-top: .8rem; color: var(--muted); font-size: .95rem; line-height: 1.4 }
.about-facts .mono { display: block; color: var(--accent); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .35rem }
@media (max-width: 560px) { .about-facts { grid-template-columns: 1fr } }
.about-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem }
.portrait.has-photo { padding: 0; min-height: 440px }
.portrait.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18% }
.portrait.has-photo figcaption { position: relative; z-index: 1; margin-top: auto; width: 100%; padding: 1.2rem; border: 0; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)) }
.how-steps { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: none }
.how-steps li { border-top: 1px solid var(--head); padding-top: 1.1rem }
.how-steps .mono { color: var(--accent) }
.how-steps h3 { font-size: 1.45rem; margin: .6rem 0 .5rem }
.how-steps p { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0 }
@media (max-width: 980px) { .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 560px) { .how-steps { grid-template-columns: 1fr } }
.about-cta { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(12px, 3vw, 32px) 0 }
.about-cta h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 .9rem }
.about-cta p { color: var(--muted); margin: 0 auto }
.about-cta .about-actions { justify-content: center }



/* ---------- Rounded edges (colours unchanged) ---------- */
:root { --r-lg: 24px }
.btn, button.btn, .nav-cta, .chip, .tag, .tags li a, .tags li { border-radius: 999px !important }
.card, article.card, .lead, .pack, .email-card, .audit, .service, .qa, .submit-form, .done, .keyfacts, .cta-box, .side > *, .toast { border-radius: var(--r-lg) !important; overflow: hidden }
.card .cover, .lead .cover, .cover, .portrait, .hv, .hero-visual > * { border-radius: 20px !important; overflow: hidden }
.cover img, .portrait img, .hv img, .story figure, .story figure img, .story img { border-radius: 20px }
.card .cover { margin: 10px 10px 0 }
.lead { padding: 12px }
input, textarea, select { border-radius: 12px !important }
.nl-fields input[type="email"] { border-radius: 999px !important }
.num { border-radius: 8px }
footer, .site-footer { border-top-left-radius: 32px; border-top-right-radius: 32px }

/* ---------- Pagination ---------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem }
.pager a, .pager .pg-cur { min-width: 44px; height: 44px; padding: 0 1rem; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--head); text-decoration: none; font: 500 .85rem var(--f-mono) }
.pager a:hover { border-color: var(--head) }
.pager .pg-cur { background: var(--head); color: var(--bg); border-color: var(--head) }
.pager-note { text-align: center; color: var(--muted); font-size: .75rem; margin: 1rem 0 0 }

/* ---------- Services page upgrade ---------- */
.who-for { margin: -.2rem 0 1.4rem; max-width: 62ch; color: var(--ink); font-size: 1.1rem }
.audit { position: relative; background: var(--soft); border: 1.5px solid var(--accent); margin: 0 0 clamp(28px, 4vw, 48px) }
.audit-tag { position: absolute; top: -13px; left: 24px; padding: .3rem .8rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase }
:root[data-theme="dark"] .audit-tag { color: #0C0F14 }
.home-audit { padding-block: clamp(36px, 5vw, 64px) }
.home-audit .audit { margin-top: 0 }
.pack { position: relative }
.pack.popular { border: 1.5px solid var(--accent); box-shadow: 0 18px 36px -26px rgba(12,15,20,.5) }
.pop-tag { position: absolute; top: -13px; right: 20px; padding: .3rem .8rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase }
:root[data-theme="dark"] .pop-tag { color: #0C0F14 }
.pack .btn { margin-top: auto; align-self: flex-start }
.pk-title { margin: clamp(36px, 5vw, 56px) 0 1rem }
.svc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(14px, 2vw, 24px); counter-reset: none }
.svc-steps li { padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r-lg, 14px); background: var(--card) }
.svc-steps .mono { color: var(--accent); font-size: .8rem; letter-spacing: .1em }
.svc-steps h4 { margin: .5rem 0 .35rem; font: 600 1.15rem/1.2 var(--f-head) }
.svc-steps p { margin: 0; color: var(--muted) }
.svc-faq { max-width: 820px }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px }
.work { display: block; padding: 12px; border: 1px solid var(--line); border-radius: 20px; text-decoration: none; color: inherit; background: var(--card) }
.work img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 14px }
.work h4 { margin: .8rem .4rem .2rem; font: 600 1.15rem var(--f-head) }
.work p { margin: 0 .4rem .5rem; color: var(--muted) }
.audit, .pack { overflow: visible !important }

/* ---------- Tighter spacing: less empty space under the menu ---------- */
.sec { padding-block: clamp(44px, 6.5vw, 84px) }
#homeView > .sec:first-of-type { padding-top: clamp(20px, 3vw, 36px) }
/* the sr-only heading is the first child, so match the first real section after it */
#homeView > h1.sr-only + .sec { padding-top: clamp(20px, 3vw, 36px) }
.first-vis.sec { padding-top: clamp(20px, 3vw, 36px) }
.stories-head { padding-top: clamp(24px, 3.5vw, 40px) }
#homeView > #stories.first-vis .stories-head { padding-top: clamp(20px, 3vw, 36px) }
#stories, #stories.first-vis { padding-top: 0 !important }

/* ---------- Contact page (all rules scoped to the contact sections) ---------- */
#get-in-touch .alt-label { margin: 1.8rem 0 .7rem; color: var(--muted); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase }
.msg .msg-sub { margin: -.4rem 0 .2rem; color: var(--muted); font-size: .98rem }
.msg .msg-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem }
.msg .opt { text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: .8rem; font-weight: 400 }
.msg select { font: 400 1.05rem/1.4 var(--f-body); color: var(--head); background: var(--alt); border: 1px solid var(--line); padding: .9rem 1rem; width: 100%; min-height: 48px; letter-spacing: 0; text-transform: none }
.msg select:hover { border-color: var(--muted) }
.msg select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--head) }
.msg [aria-invalid="true"] { border-color: light-dark(#A4443D, #E58F88) }
#project-enquiry .split-ct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start }
#project-enquiry .sec-head { display: block; max-width: none }
#project-enquiry .sec-head p { margin-top: 1.1rem }
#project-enquiry .ct-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--head) }
.svc-list li { display: grid; gap: .2rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line) }
.svc-list strong { font-family: var(--f-head); font-weight: 400; font-size: 1.3rem; color: var(--head) }
.svc-list span { color: var(--muted); font-size: 1rem }
.ct-band { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 4vw, 64px) }
.ct-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 0 0 .7rem }
.ct-band p { margin: 0; color: var(--muted); max-width: 58ch }
.ct-band .kicker { margin-bottom: .9rem }
.ct-band .btn { flex: none }
@media (max-width: 900px) {
  #project-enquiry .split-ct { grid-template-columns: 1fr }
  .ct-band { flex-direction: column; align-items: flex-start }
}
@media (max-width: 560px) {
  .msg .msg-row { grid-template-columns: 1fr }
  #project-enquiry .ct-actions .btn, .ct-band .btn { width: 100%; justify-content: center; text-align: center }
}

/* ---------- Services page (all rules scoped to the Services sections) ---------- */
#services .svc-hero { max-width: 62rem; padding-bottom: clamp(28px, 5vw, 56px) }
#about-hero .svc-hero { max-width: 62rem; padding-bottom: clamp(28px, 5vw, 56px) }
#services .svc-hero h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.08; margin: 0 0 1.4rem; max-width: 20ch }
#about-hero .svc-hero h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); line-height: 1.08; margin: 0 0 1.4rem; max-width: 20ch }
#services .svc-hero p { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 56ch; margin: 0 }
#about-hero .svc-hero p { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 56ch; margin: 0 }
#services .svc-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem }
#about-hero .svc-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem }
#services .services { display: block; border-top: 1px solid var(--head) }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); padding: clamp(28px, 4vw, 52px) 0; border-bottom: 1px solid var(--line) }
.svc .mono { color: var(--accent); font-size: .74rem; letter-spacing: .14em }
.svc h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: .6rem 0 .7rem }
.svc.main h3 { font-size: clamp(1.9rem, 3.2vw, 2.7rem) }
.svc-lead p { color: var(--ink); margin: 0 0 1.4rem; max-width: 44ch }
.svc-link { color: var(--head); font-family: var(--f-mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 6px; display: inline-flex; align-items: center; min-height: 44px }
.svc-link:hover { text-decoration-color: var(--accent) }
.svc-body { margin: 0; display: grid; gap: 1.3rem; align-content: start }
.svc-body dt { margin-bottom: .35rem }
.svc-body dd { margin: 0; color: var(--muted); line-height: 1.6 }
.svc-body ul { margin: 0; padding-left: 1.1rem }
.svc-body li { margin: .15rem 0 }
.svc-body li::marker { color: var(--accent) }
#services .audit { margin: clamp(28px, 4vw, 48px) 0 0 }
.svc-who-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start }
.svc-who h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 0 }
.svc-who p { color: var(--muted); margin: 0 0 1rem; max-width: 60ch }
.svc-who .svc-who-lead { color: var(--head); font-family: var(--f-head); font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.35; margin-bottom: 1.2rem }
.svc-who .svc-who-note { margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .72rem; letter-spacing: .08em; line-height: 1.7; text-transform: uppercase; color: var(--muted) }
#svc-cta .svc-cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; flex: none }
@media (max-width: 900px) {
  .svc, .svc-who-grid { grid-template-columns: 1fr }
  #svc-cta .svc-cta-actions { width: 100% }
}
@media (max-width: 560px) {
  #services .svc-hero-actions .btn, #svc-cta .svc-cta-actions .btn, .svc .btn { width: 100%; justify-content: center; text-align: center }
}

/* ---------- About page (rules scoped to the About sections) ---------- */
#about-hero .svc-hero { padding-bottom: clamp(8px, 2vw, 24px) }
#about-mission .am-text { margin: 1.2rem 0 0; color: var(--muted); max-width: 52ch }
.about-do { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 96px); margin-top: clamp(24px, 4vw, 44px) }
.ad-col { border-top: 1px solid var(--head); padding-top: 1.2rem; display: flex; flex-direction: column; align-items: flex-start }
.ad-col .mono { color: var(--accent); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase }
.ad-col h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: .6rem 0 1rem }
.ad-col ul { list-style: none; margin: 0 0 1.2rem; padding: 0; width: 100% }
.ad-col li { padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--ink) }
.about-do-note { margin: clamp(20px, 3vw, 32px) 0 0; color: var(--muted); font-size: .98rem }
#about-stories .grid { margin-top: clamp(24px, 4vw, 40px) }
.about-more { margin: clamp(24px, 4vw, 40px) 0 0; text-align: center }
.about-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 96px) }
.about-paths h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 0 0 .8rem }
.about-paths p { color: var(--muted); margin: 0 0 1.4rem; max-width: 46ch }
@media (max-width: 900px) { .about-do, .about-paths { grid-template-columns: 1fr } }
@media (max-width: 560px) { #about-hero .svc-hero-actions .btn, .about-paths .btn { width: 100%; justify-content: center; text-align: center } }

/* Stories page: a few topics, then a "More tags" button that opens the rest */
.more-tags { position: relative; display: inline-flex }
.chip.more-btn { cursor: pointer; background: var(--head); color: var(--bg); border-color: var(--head); gap: .4rem; display: inline-flex; align-items: center }
.chip.more-btn:hover { opacity: .88 }
.more-panel { position: absolute; z-index: 30; top: calc(100% + .6rem); right: 0; width: min(440px, 86vw); display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem; background: var(--alt); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 40px rgba(0, 0, 0, .14) }
.more-panel[hidden] { display: none }
@media (max-width: 560px) { .more-tags { position: static } .more-panel { left: 0; right: 0; width: auto } #filters { position: relative } }

/* ---------- Free website review card + "Free Audit" tab (home and Stories pages only; created by js/promo.js) ---------- */
.promo { position: fixed; z-index: 55; left: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); width: min(380px, calc(100vw - 28px)); background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 24px 50px -20px rgba(12, 15, 20, .38), 0 2px 8px rgba(12, 15, 20, .08); opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .35s ease; max-height: calc(100vh - 56px); overflow-x: hidden; overflow-y: auto }
.promo.on { opacity: 1; transform: none }
.promo:focus { outline: none }
.promo-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--head); cursor: pointer }
.promo-x:hover { border-color: var(--head) }
.promo-x:focus-visible, .promo-cta:focus-visible, .promo-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px }
.promo-img { aspect-ratio: 3 / 2; background: #4a2e1c; overflow: hidden }
.promo-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50% }
.promo-body { padding: .9rem 1rem 1rem }
.promo-eyebrow { margin: 0 0 .5rem; color: var(--accent); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase }
.promo-title { margin: 0 0 .55rem; font-family: var(--f-head); font-weight: 400; font-size: 1.55rem; line-height: 1.15; color: var(--head) }
.promo-text { margin: 0 0 .9rem; color: var(--muted); font-size: .98rem; line-height: 1.5 }
.promo-list { list-style: none; margin: 0 0 1rem; padding: .8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem }
.promo-list li { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; font-size: .8rem; line-height: 1.3; color: var(--ink) }
.promo-list svg { width: 20px; height: 20px; color: var(--accent) }
.promo-cta { width: 100%; justify-content: center; text-align: center }
.promo-note { margin: .6rem 0 0; text-align: center; color: var(--muted); font-size: .85rem }
/* the closed state: a small tab on the left edge */
.promo-tab { position: fixed; z-index: 54; left: 0; bottom: 20px; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 1.2rem 0 1rem;
  font: 500 .7rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: var(--cta-ink); background: var(--cta); border: 0; border-radius: 0 999px 999px 0; cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(12, 15, 20, .5); opacity: 0; transition: opacity .35s ease, background .2s ease }
.promo-tab.on { opacity: 1 }
.promo-tab:hover { background: var(--cta-hover) }
@media (max-width: 560px) {
  .promo { left: 12px; right: 12px; width: auto; bottom: calc(14px + 52px + 12px); max-height: calc(100vh - 150px) }
  .promo-title { font-size: 1.3rem }
  .promo-text { font-size: .92rem; margin-bottom: .7rem }
  .promo-body { padding: .9rem 1rem 1rem }
  .promo-tab { bottom: 16px }
}
@media (prefers-reduced-motion: reduce) { .promo, .promo-tab { transition: none; transform: none } }

/* ===== Services v2 (sv-) ===== */
#services { padding-top: clamp(28px, 5vw, 64px) }
.sv-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: center }
.sv-hero h2 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.02em; margin: .6rem 0 1.2rem }
.sv-hero p { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 52ch; margin: 0 0 1.8rem }
.sv-actions { display: flex; flex-wrap: wrap; gap: 12px }
.sv-devices { position: relative; margin: 0; padding: 0 0 28px }
.sv-devices figcaption { position: absolute; left: 0; bottom: 0; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.sv-laptop { width: 88%; }
.sv-laptop-screen { border: 8px solid var(--head); border-bottom-width: 10px; border-radius: 14px 14px 4px 4px; background: var(--head); overflow: hidden; box-shadow: 0 24px 60px -20px rgba(12, 15, 20, .45) }
.sv-laptop-screen img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top }
.sv-laptop-base { height: 12px; margin: 0 -5%; background: linear-gradient(var(--line), var(--soft)); border-radius: 0 0 14px 14px; border: 1px solid var(--line); border-top: 0 }
.sv-phone { position: absolute; right: 0; bottom: 18px; width: 27%; border: 6px solid var(--head); border-radius: 26px; background: var(--head); overflow: hidden; box-shadow: 0 24px 50px -16px rgba(12, 15, 20, .55) }
.sv-phone img { display: block; width: 100%; height: auto; aspect-ratio: 9/19; object-fit: cover; object-position: top; border-radius: 18px }
@media (prefers-reduced-motion: no-preference) {
  .sv-laptop, .sv-phone { animation: svFloat 7s ease-in-out infinite }
  .sv-phone { animation-delay: -3s }
  @keyframes svFloat { 50% { transform: translateY(-6px) } }
}
/* trust strip */
.sv-trust-sec { padding-top: 0 }
.sv-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--card) }
.sv-trust li { padding: 20px 22px; border-left: 1px solid var(--line); display: grid; gap: 4px; align-content: start }
.sv-trust li:first-child { border-left: 0 }
.sv-trust strong { font-weight: 600; color: var(--head); font-size: 1.05rem }
.sv-trust span { color: var(--muted); font-size: .95rem; line-height: 1.4 }
/* service cards */
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px) }
.sv-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; transition: transform .25s, box-shadow .25s }
.sv-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(12, 15, 20, .35) }
.sv-card.main { border-color: var(--head) }
.sv-art { background: var(--alt); border-bottom: 1px solid var(--line); line-height: 0 }
.sv-art svg { width: 100%; height: auto; display: block }
.sv-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; gap: .7rem }
.sv-num { font-size: .72rem; letter-spacing: .1em; color: var(--accent) }
.sv-card h3 { margin: 0; font-size: 1.45rem; line-height: 1.2 }
.sv-text { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.55 }
.sv-for { margin: 0 0 .6rem; color: var(--muted); font-size: .95rem; line-height: 1.5 }
.sv-for .mono { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px }
.sv-card-body > a { margin-top: auto; align-self: flex-start }
/* portfolio */
.sv-project { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: center; border: 1px solid var(--line); border-radius: 22px; background: var(--alt); padding: clamp(18px, 3vw, 40px) }
.sv-shot { position: relative; display: block; padding-bottom: 8% }
.sv-shot-d { display: block; width: 90%; height: auto; border: 7px solid var(--head); border-radius: 12px; box-shadow: 0 24px 50px -22px rgba(12, 15, 20, .5) }
.sv-shot-m { position: absolute; right: 0; bottom: 0; width: 24%; height: auto; border: 5px solid var(--head); border-radius: 22px; box-shadow: 0 18px 40px -14px rgba(12, 15, 20, .55) }
.sv-project-body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: .5rem 0 .8rem }
.sv-project-body p { color: var(--ink); font-size: 1.08rem; line-height: 1.6; margin: 0 0 1.1rem }
.sv-tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent) }
.sv-chips { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 8px }
.sv-chips li { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 5px 13px; font-size: .9rem }
/* audit */
.sv-audit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); background: #0C0F14; color: #E7EAEF; border-radius: 24px; padding: clamp(28px, 5vw, 64px); align-items: center }
.sv-audit h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.1; margin: .6rem 0 1rem }
.sv-audit p { color: #B8C0CC; max-width: 52ch; margin: 0 0 1.6rem; font-size: 1.1rem }
.sv-audit .kicker { color: var(--on-dark) }
.sv-audit-list p.mono { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); margin: 0 0 .8rem }
.sv-audit-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 }
.sv-audit-list li { padding: 11px 0 11px 30px; border-top: 1px solid rgba(255, 255, 255, .14); position: relative; color: #fff; font-size: 1.1rem }
.sv-audit-list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 11px; height: 6px; border-left: 2px solid var(--on-dark); border-bottom: 2px solid var(--on-dark); transform: translateY(-70%) rotate(-45deg) }
.btn.sv-audit-btn { background: #fff; color: #0C0F14; border-color: #fff }
.btn.sv-audit-btn:hover { background: #E7EAEF }
.btn.sv-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6) }
.btn.sv-ghost:hover { background: rgba(255, 255, 255, .1) }
/* who */
.sv-who { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px }
.sv-who > div { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 22px 20px 24px; position: relative; overflow: hidden; transition: transform .25s, border-color .25s }
.sv-who > div:hover { transform: translateY(-3px); border-color: var(--head) }
.sv-who > div::after { content: ""; position: absolute; right: -28px; top: -28px; width: 84px; height: 84px; border-radius: 50%; background: var(--soft) }
.sv-who .mono { font-size: .72rem; letter-spacing: .1em; color: var(--accent); position: relative; z-index: 1 }
.sv-who h3 { font-size: 1.25rem; line-height: 1.2; margin: 2.2rem 0 .5rem; position: relative; z-index: 1 }
.sv-who p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.5 }
/* why */
.sv-why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 96px); align-items: start }
.sv-why-intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; margin: .6rem 0 1.1rem }
.sv-why-intro p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; margin: 0 0 1rem; max-width: 50ch }
.sv-why-list { list-style: none; margin: 0; padding: 0; counter-reset: why }
.sv-why-list li { counter-increment: why; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 8px; padding: 16px 0; border-top: 1px solid var(--line) }
.sv-why-list li:last-child { border-bottom: 1px solid var(--line) }
.sv-why-list li::before { content: counter(why, decimal-leading-zero); grid-row: span 2; font: .75rem/1.9 var(--f-mono); color: var(--accent) }
.sv-why-list strong { font-size: 1.2rem; font-weight: 600; color: var(--head) }
.sv-why-list span { color: var(--muted); font-size: 1rem; line-height: 1.5 }
/* process timeline */
.sv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; position: relative }
.sv-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 1px; background: var(--line) }
.sv-steps li { position: relative; padding-top: 52px }
.sv-steps li .mono { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--head); color: var(--bg); display: grid; place-items: center; font-size: .78rem; letter-spacing: .04em }
.sv-steps h3 { font-size: 1.45rem; margin: 0 0 .5rem }
.sv-steps p { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.55 }
/* pricing */
.sv-pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; background: var(--alt); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4.5vw, 56px) }
.sv-pricing h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; margin: .6rem 0 1rem }
.sv-pricing p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; margin: 0 0 1.5rem; max-width: 50ch }
.sv-prop { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.sv-prop li { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px }
.sv-prop strong { font-size: 1.15rem; color: var(--head) }
.sv-prop span { color: var(--muted); font-size: .95rem; line-height: 1.45 }
/* faq */
.sv-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 96px); align-items: start }
.sv-faq-grid .sec-head { display: block; margin: 0; position: sticky; top: 96px }
.sv-faq-grid .sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: .6rem 0 .8rem }
.sv-faq-grid .sec-head p { color: var(--muted); margin: 0 }
.sv-faq-grid .faq-item summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px }
/* final */
.sv-final { text-align: center; background: #0C0F14; color: #E7EAEF; border-radius: 26px; padding: clamp(36px, 7vw, 96px) var(--pad) }
.sv-final .kicker { color: var(--on-dark) }
.sv-final h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.08; max-width: 18ch; margin: .8rem auto 1rem }
.sv-final p { color: #B8C0CC; max-width: 56ch; margin: 0 auto 1.8rem; font-size: 1.12rem }
.sv-final .sv-actions { justify-content: center }
@media (prefers-reduced-motion: no-preference) {
  .sv-card, .sv-project { animation: svIn .6s both; animation-timeline: view(); animation-range: entry 0% entry 35% }
  @keyframes svIn { from { opacity: 0; transform: translateY(18px) } }
}
@media (max-width: 1020px) {
  .sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .sv-who { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .sv-trust { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .sv-trust li:nth-child(3) { border-left: 0 }
  .sv-trust li:nth-child(n+3) { border-top: 1px solid var(--line) }
  .sv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px }
  .sv-steps::before { display: none }
}
@media (max-width: 820px) {
  .sv-hero, .sv-project, .sv-audit, .sv-why, .sv-pricing, .sv-faq-grid { grid-template-columns: minmax(0, 1fr) }
  .sv-devices { max-width: 560px }
  .sv-faq-grid .sec-head { position: static }
  .sv-actions .btn { flex: 1 1 100%; justify-content: center; text-align: center }
}
@media (max-width: 600px) {
  .sv-grid, .sv-prop { grid-template-columns: minmax(0, 1fr) }
  .sv-who { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .sv-who > div:last-child { grid-column: 1 / -1 }
  .sv-trust { grid-template-columns: minmax(0, 1fr) }
  .sv-trust li { border-left: 0; border-top: 1px solid var(--line) }
  .sv-trust li:first-child { border-top: 0 }
  .sv-steps { grid-template-columns: minmax(0, 1fr) }
  .sv-final h2 { max-width: none }
}
.sv-art { padding: 14px 14px 0; background: var(--alt) }
.sv-art img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; object-position: top; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: 0 10px 26px -16px rgba(12, 15, 20, .4) }
.sv-art { padding: 0; background: var(--alt) }
.sv-art img { border: 0; border-radius: 0; box-shadow: none; object-position: center }

/* Nested radius: inner radius = outer radius - padding (- 1px border) */
:root { --card-pad: 10px; --lead-pad: 12px }
.card .cover { margin: var(--card-pad) var(--card-pad) 0 !important; border-radius: max(0px, calc(var(--r-lg) - var(--card-pad) - 1px)) !important }
.lead { padding: var(--lead-pad) !important }
.lead .cover { border-radius: max(0px, calc(var(--r-lg) - var(--lead-pad) - 1px)) !important }
.card .cover img, .lead .cover img { border-radius: 0 }

/* Free Audit tab v2: horizontal pill, flush left */
.promo-tab { gap: .7rem; min-height: 52px; padding: 6px 1.1rem 6px 8px; text-align: left; box-shadow: 0 14px 30px -12px rgba(12, 15, 20, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset }
.promo-tab .pt-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cta-ink); color: var(--cta) }
.promo-tab .pt-tx { display: grid; gap: 3px; line-height: 1 }
.promo-tab .pt-tx b { font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase }
.promo-tab .pt-tx i { font-style: normal; font-size: .66rem; letter-spacing: .04em; text-transform: none; opacity: .72 }
.promo-tab .pt-ar { font-size: 1rem; margin-left: .1rem; transition: transform .2s }
.promo-tab:hover .pt-ar { transform: translateX(3px) }
@media (max-width: 560px) { .promo-tab { min-height: 48px; padding-right: .95rem } .promo-tab .pt-ic { width: 32px; height: 32px } }

/* Free Audit tab v3: simple and visible */
.promo-tab { min-height: 48px; padding: 6px 1.2rem 6px 7px; gap: .6rem; box-shadow: 0 0 0 3px var(--bg), 0 10px 24px -8px rgba(12, 15, 20, .6) }
.promo-tab .pt-ic { width: 34px; height: 34px }
.promo-tab .pt-tx { font: 600 .82rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase }

/* Free Audit tab v4: outlined, follows light/dark theme */
.promo-tab { min-height: 46px; padding: 0 1.3rem 0 1.1rem; background: var(--bg); color: var(--head); border: 2px solid var(--head); border-left: 0; box-shadow: 0 10px 24px -12px rgba(12, 15, 20, .45) }
.promo-tab:hover { background: var(--head); color: var(--bg) }
.promo-tab .pt-tx { font-size: .8rem }

/* Services: keep the trust strip tight under the hero, no full-width rules around it */
#services { padding-bottom: clamp(36px, 5vw, 64px) }
#sv-trust { border-top: 0; padding-block: 0 clamp(36px, 5vw, 64px) }
#sv-services { border-top: 0; padding-top: clamp(24px, 4vw, 48px) }
