/* Signet Designs theme (Views/Site/Themes/signet). Mobile first. Colours come from the logo:
   navy, red, green, teal on warm grey. Light is the default; [data-theme="dark"] is set by the head script. */

:root {
    --navy: #0b3558;
    --navy-deep: #07131f;
    --red: #d4210f;
    --green: #3fa62a;
    --teal: #2f93a3;
    --teal-bright: #4ab3c1;
    --grey: #dcdccd;

    --bg: #f7f7f2;
    --bg-alt: #ecece1;
    --surface: #ffffff;
    --text: #17232f;
    --text-soft: #4b5b69;
    --line: #d9dacd;
    --brand: var(--navy);
    --accent: var(--teal);
    --accent-text: #1f7683;
    --focus: #0b6ecc;
    --shadow: 0 1px 2px rgba(11, 53, 88, .06), 0 8px 24px rgba(11, 53, 88, .08);
    --shadow-lg: 0 2px 4px rgba(11, 53, 88, .08), 0 18px 48px rgba(11, 53, 88, .16);

    --radius: 16px;
    --radius-sm: 10px;
    --maxw: 1160px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --section-y: clamp(3.5rem, 8vw, 6.5rem);
    --header-h: 68px;

    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Quicksand', 'Inter', system-ui, sans-serif;
}

[data-theme="dark"] {
    --bg: #07131f;
    --bg-alt: #0a1a2a;
    --surface: #0f2438;
    --text: #e8eef4;
    --text-soft: #a9b9c8;
    --line: #1c3650;
    --brand: #8ec9d4;
    --accent: var(--teal-bright);
    --accent-text: #7fd0dc;
    --focus: #6cb7ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .35), 0 18px 48px rgba(0, 0, 0, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.theme-signet {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    transition: background-color .25s, color .25s;
}
body.menu-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--text); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--surface); color: var(--text); padding: .6rem 1rem; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }
.eyebrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--accent-text); margin: 0 0 .8rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .6rem; justify-content: center;
    font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
    padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
    min-height: 48px; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(212, 33, 15, .35); }
.btn-primary:hover { background: #b81b0b; color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--grey); color: var(--navy); }
.btn-sm { padding: .7rem 1.1rem; font-size: .92rem; min-height: 42px; }

/* ---------- Header ---------- */
.sh { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.sh.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0, 0, 0, .06); }
.sh-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.sh-brand { white-space: nowrap; display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font: 700 1.25rem var(--font-head); color: var(--text); }
.sh-brand img { border-radius: 50%; }
.sh-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; color: var(--text); border-radius: 12px; }
.sh-bars { display: grid; gap: 5px; width: 24px; }
.sh-bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-open .sh-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .sh-bars i:nth-child(2) { opacity: 0; }
.menu-open .sh-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.sh-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); padding: 1.25rem var(--gutter) 2rem; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
    display: flex; flex-direction: column; gap: 1.5rem;
}
.menu-open .sh-nav { transform: none; visibility: visible; }
.sh-nav ul { list-style: none; margin: 0; padding: 0; }
.sh-nav a, .sh-nav button[data-sub-toggle] { display: block; width: 100%; text-align: left; font: 600 1.15rem var(--font-head); color: var(--text); text-decoration: none; padding: .9rem 0; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.sh-nav a[aria-current="page"] { color: var(--red); }
.sh-nav .sub { display: none; padding-left: 1rem; }
.sh-nav [aria-expanded="true"] + .sub { display: block; }
.sh-nav [data-sub-toggle] i { font-size: .7em; margin-left: .35rem; transition: transform .2s; }
.sh-nav [aria-expanded="true"] i { transform: rotate(180deg); }
.sh-actions { display: flex; align-items: center; gap: 1rem; }
.sh-actions .btn { flex: 1; }
.theme-toggle { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; font-size: 1.05rem; }
.theme-toggle .fa-sun { display: none; }
[data-theme="dark"] .theme-toggle .fa-sun { display: block; }
[data-theme="dark"] .theme-toggle .fa-moon { display: none; }

@media (min-width: 1100px) {
    .sh-toggle { display: none; }
    .sh-nav { position: static; inset: auto; transform: none; visibility: visible; background: none; padding: 0; overflow: visible; flex-direction: row; align-items: center; gap: 1.25rem; }
    .sh-nav > ul { display: flex; align-items: center; gap: .25rem; }
    .sh-nav a, .sh-nav button[data-sub-toggle] { white-space: nowrap; font: 600 .95rem var(--font-body); padding: .55rem .7rem; border: 0; border-radius: 999px; width: auto; }
    .sh-nav a:hover, .sh-nav button[data-sub-toggle]:hover { background: var(--bg-alt); }
    .has-sub { position: relative; }
    .sh-nav .sub { position: absolute; left: 0; top: calc(100% + .4rem); min-width: 240px; padding: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
    .sh-nav .sub a { border-radius: 8px; }
    .sh-actions .btn { flex: none; }
}

/* ---------- Page wrappers (blocks that are not full-width sit in a centred column) ---------- */
.page-wrapper { overflow-x: clip; }
.content-section { max-width: 860px; margin: 0 auto; padding: var(--section-y) var(--gutter); }
.intro-section h1, .intro-section h2 { margin-bottom: .5em; }
.intro-section p, .text-section p { color: var(--text-soft); font-size: 1.1rem; }
.text-section { margin-bottom: 2.5rem; }
.text-section-image img, .service-hero-image img, .project-hero-image img, .team-hero-image img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.5rem 0; }

.service-includes { margin-top: 1.5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.service-includes h4 { margin-bottom: 1rem; }
.includes-grid { display: grid; gap: .75rem; }
.include-item { display: flex; gap: .75rem; align-items: flex-start; }
.include-item i { color: var(--green); margin-top: .35rem; }
@media (min-width: 700px) { .includes-grid { grid-template-columns: 1fr 1fr; } }

.trust-grid { display: grid; gap: 1.25rem; margin: 0 0 2.5rem; }
@media (min-width: 700px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.trust-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent-text); font-size: 1.3rem; margin-bottom: 1rem; }
.trust-icon-image { width: 36px; height: 36px; object-fit: contain; }
.trust-card h4 { font-size: 1.15rem; margin-bottom: .4rem; }
.trust-card p { color: var(--text-soft); margin: 0; }

.timeline-scroll-wrapper { overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 1rem; }
.build-timeline-horizontal { display: flex; align-items: flex-start; min-width: max-content; gap: 0; }
.timeline-item-horizontal { width: 230px; text-align: center; }
.timeline-marker-horizontal { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow); }
[data-theme="dark"] .timeline-marker-horizontal { background: var(--teal); }
.timeline-connector { flex: 0 0 40px; height: 2px; margin-top: 28px; background: var(--line); }
.timeline-weeks { font: 700 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--accent-text); }
.timeline-content-horizontal h4 { margin: .2rem 0 .4rem; }
.timeline-content-horizontal p { color: var(--text-soft); font-size: .98rem; margin: 0; padding: 0 .5rem; }
.timeline-note { margin-top: 1.5rem; padding: 1rem 1.25rem; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.faq-section h2 { margin-bottom: 1.2rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .75rem; }
.faq-question { cursor: pointer; padding: 1.1rem 1.3rem; font: 700 1.05rem var(--font-head); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--accent-text); transition: transform .2s; }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.3rem 1.2rem; color: var(--text-soft); }
.faq-answer p:last-child { margin: 0; }

.contact-info-grid { display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
@media (min-width: 700px) { .contact-info-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; box-shadow: var(--shadow); }
.contact-icon { width: 52px; height: 52px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 1.2rem; }
.contact-card p { color: var(--text-soft); }
.contact-link { font-weight: 600; }

.services-highlight { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.service-item { display: flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.service-item h4 { margin: 0; font-size: .95rem; }
.social-media-section { text-align: center; margin-bottom: 2.5rem; }
.social-buttons { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.social-button { display: inline-flex; gap: .5rem; align-items: center; padding: .7rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--surface); }

/* ---------- Hero ---------- */
.hv { position: relative; min-height: min(92svh, 860px); display: grid; align-items: center; color: #fff; overflow: hidden; isolation: isolate;
    background: radial-gradient(1200px 600px at 80% -10%, #14507f 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #0f6a78 0%, transparent 55%), linear-gradient(160deg, #0b2a47 0%, #07131f 100%); }
.hv-backdrop { position: absolute; inset: 0; z-index: -1; }
.hv-poster, .hv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-video { opacity: 0; transition: opacity 1.2s; }
.hv-video.is-playing { opacity: .55; }
.hv-poster { opacity: .5; }
.hv-canvas { position: absolute; inset: 0; opacity: .9; }
.hv-glow { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 19, 31, .15), rgba(7, 19, 31, .7)); }
.hv-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 5rem var(--gutter) 6rem; }
.hv-eyebrow { display: inline-block; font: 700 .8rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; padding: .5rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); margin-bottom: 1.5rem; }
.hv-title { color: #fff; max-width: 16ch; font-size: clamp(2.4rem, 7.5vw, 5rem); margin-bottom: .5em; text-wrap: balance; }
.hv-sub { max-width: 56ch; font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: rgba(255, 255, 255, .86); margin-bottom: 2rem; }
.hv-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hv-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.hv-badges i { color: var(--teal-bright); margin-right: .3rem; }
.hv-scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); color: #fff; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; text-decoration: none; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
@media (max-width: 600px) { .hv-actions .btn { flex: 1 1 100%; } .hv-scroll { display: none; } }

/* ---------- Full-width sections ---------- */
.stats, .hl, .ft, .strip, .cta { padding: var(--section-y) var(--gutter); }
.stats-inner, .hl-inner, .ft-inner, .strip-inner, .cta-inner { max-width: var(--maxw); margin: 0 auto; }

.stats { background: var(--navy); color: #fff; }
[data-theme="dark"] .stats { background: var(--bg-alt); border-block: 1px solid var(--line); }
.stats-heading { color: #fff; text-align: center; margin-bottom: 2rem; }
.stats-grid { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
.stat { text-align: center; }
.stat-value { font: 700 clamp(2.2rem, 6vw, 3.6rem)/1 var(--font-head); color: #fff; margin: 0 0 .4rem; font-variant-numeric: tabular-nums; }
.stat-value::first-letter { color: inherit; }
.stat-label { margin: 0; color: rgba(255, 255, 255, .78); font-size: .98rem; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }

.hl-head { max-width: 760px; margin-bottom: 2.5rem; }
.hl-intro { color: var(--text-soft); font-size: 1.1rem; }
.hl-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.hl-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.hl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hl-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hl-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.hl-body p { color: var(--text-soft); }
.hl-badge { align-self: flex-start; font: 700 .72rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; padding: .35rem .75rem; border-radius: 999px; background: color-mix(in srgb, var(--green) 18%, transparent); color: #1f7a10; margin-bottom: .9rem; }
[data-theme="dark"] .hl-badge { color: #7bd96a; }
.hl-metric { font: 700 clamp(1.5rem, 3vw, 2rem)/1.1 var(--font-head); color: var(--accent-text); margin: 0 0 .6rem; }
.hl-link { margin-top: auto; font-weight: 600; text-decoration: none; }
.hl-link i { transition: transform .2s; margin-left: .3rem; }
.hl-link:hover i { transform: translateX(4px); }

.ft { background: var(--bg-alt); }
.ft-inner { display: grid; gap: 2.5rem; align-items: center; }
.ft-text p { color: var(--text-soft); }
.ft-list { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .7rem; }
.ft-list li { display: flex; gap: .75rem; align-items: flex-start; }
.ft-list i { color: var(--green); margin-top: .4rem; }
.ft-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; max-height: 460px; object-fit: cover; object-position: 45% 30%; }
.ft-media img[src$=".png"] { object-fit: contain; box-shadow: none; max-height: 340px; }
.ft-inner:not(:has(.ft-media)) { max-width: 820px; }
@media (min-width: 900px) {
    .ft-inner:has(.ft-media) { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
    .ft.is-reversed .ft-media { order: -1; }
}

.strip { padding-block: 2.5rem; border-block: 1px solid var(--line); }
.strip-heading { text-align: center; font: 700 .8rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1rem; }
.strip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.2rem; font: 700 1.2rem var(--font-head); color: var(--text-soft); }

.cta { background: linear-gradient(135deg, var(--navy) 0%, #0f5f73 100%); color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 56ch; margin: 0 auto 1.75rem; color: rgba(255, 255, 255, .88); font-size: 1.15rem; }

/* ---------- Enquiry form ---------- */
.quote-form-section { padding: var(--section-y) var(--gutter); background: var(--bg-alt); }
.quote-form { max-width: 680px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); }
.quote-form h2 { text-align: center; }
.quote-form > p { color: var(--text-soft) !important; }
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .95rem; }
.form-input, .form-select, .form-textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; min-height: 48px; }
.form-textarea { min-height: 150px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.form-button { width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: .7rem; background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 1rem 1.6rem; font: 600 1.05rem var(--font-body); cursor: pointer; min-height: 52px; }
.form-button:disabled { opacity: .7; cursor: wait; }
.form-button.success { background: var(--green); }
.character-count { font-size: .85rem; color: var(--text-soft); text-align: right; margin-top: .3rem; }
.char-limit-error { display: none; color: var(--red); font-size: .85rem; }
.char-limit-error.show { display: block; }
.form-message { margin-top: 1rem; text-align: center; font-weight: 600; }
.form-message.success { color: var(--green); }
.form-message.error { color: var(--red); }
.sample-modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); display: grid; place-items: center; z-index: 300; padding: 1rem; }
.sample-modal { background: var(--surface); padding: 2rem; border-radius: var(--radius); max-width: 420px; text-align: center; }

/* ---------- Footer ---------- */
.sf { background: var(--navy-deep); color: #c5d2de; padding: 4rem var(--gutter) 1.5rem; }
.sf a { color: #c5d2de; text-decoration: none; }
.sf a:hover { color: #fff; text-decoration: underline; }
.sf-inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .sf-inner { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; } }
.sf-col { display: flex; flex-direction: column; gap: .55rem; }
.sf-col h2 { font: 700 .8rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: .6rem; }
.sf .sh-brand { color: #fff; margin-bottom: .6rem; }
.sf-col p { margin: 0; }
.sf-line i, .sf-col a i { width: 1.4rem; color: var(--teal-bright); }
.sf-bottom { max-width: var(--maxw); margin: 3rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .9rem; }
.sf-bottom p { margin: 0; }

/* ---------- Scroll reveal (only hides content when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Video with viewer (videoShowcase) ---------- */
.vs { background: var(--bg); }
.vs-inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 2.5rem; align-items: center; justify-items: center; }
.vs-text { justify-self: stretch; }
.vs-text p { color: var(--text-soft); }
.vs-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.vs-phone { position: relative; display: block; padding: 10px; border: 0; border-radius: 38px; background: var(--navy-deep); box-shadow: var(--shadow-lg); cursor: pointer; width: min(280px, 70vw); font: inherit; }
.vs-phone:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.vs-screen { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--navy); }
.vs-poster, .vs-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vs-video { opacity: 0; transition: opacity .4s ease; }
.vs-video.is-playing { opacity: 1; }
.vs-play { position: absolute; right: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.vs-phone:hover .vs-play { transform: scale(1.1); }
@media (min-width: 860px) {
    .vs-inner { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
    .vs.is-reversed .vs-phone { order: -1; }
}

.vs-dialog { border: 0; padding: 0; background: var(--navy-deep); color: #fff; border-radius: var(--radius); width: min(94vw, 1100px); max-height: 94vh; overflow: auto; box-shadow: var(--shadow-lg); }
.vs-dialog::backdrop { background: rgba(4, 12, 20, .8); }
.vs-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem .75rem 1.25rem; }
.vs-dialog-title { margin: 0; font-weight: 600; }
.vs-close { border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.vs-close:hover { background: rgba(255, 255, 255, .22); }
.vs-close:focus-visible { outline: 3px solid var(--focus); }
.vs-stage { display: grid; place-items: center; background: #000; }
.vs-full { display: block; width: 100%; max-height: 78vh; background: #000; }
.vs-dialog.is-portrait { width: min(94vw, 460px); }
.vs-transcript { padding: 1rem 1.25rem 1.25rem; color: #c9d4de; font-size: .95rem; }
