:root {
  /* === PALETTE — anchored to the Premier logo === */
  --ink-deepest:  #0f1838;          /* footer + topstrip */
  --ink:          #1a2552;          /* logo navy — primary text + headings */
  --ink-soft:     #4d5878;          /* body */
  --ink-faint:    #6b7585;          /* captions, helpers — WCAG AA on cream + white */
  --rule:         #ebe3d2;          /* warm cream divider */
  --rule-soft:    #f1ead9;

  --bg:           #fbf9f4;          /* warm off-white body */
  --surface:      #ffffff;          /* cards */
  --surface-warm: #f3ebd6;          /* cream accent panel */
  --surface-cool: #ecf3fa;          /* cool tint (used sparingly) */

  --accent:       #1d8cd8;          /* CTA blue — slightly deeper for contrast */
  --accent-deep:  #0f1838;          /* button hover (= ink-deepest) */
  --accent-glow:  #7bbeea;          /* logo light blue — water drop only */

  --shadow-soft:  0 4px 14px rgba(15,24,56,0.07);
  --shadow-card:  0 1px 3px rgba(15,24,56,0.05), 0 8px 24px rgba(15,24,56,0.07);
  --shadow-lift:  0 12px 36px rgba(15,24,56,0.13);

  --radius:       10px;
  --radius-sm:    6px;

  /* === TYPOGRAPHY === */
  --font-sans:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif:   "Fraunces", "Source Serif Pro", "Georgia", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    font-family: var(--font-sans);
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* Subtle dot-grid texture — adds tactile depth without distraction */
    background-image: radial-gradient(circle at 1px 1px, rgba(26,37,82,0.04) 1px, transparent 0);
    background-size: 22px 22px;
    background-attachment: fixed;
}
a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-deep); text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip-link (visible only when focused) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 1rem;
    background: var(--ink);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    z-index: 1000;
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 0.6rem; }
img { max-width: 100%; height: auto; display: block; }

/* === BUTTONS === */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.95rem 1.7rem;
    border-radius: var(--radius);
    border: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-soft);
    transition: background 0.18s, transform 0.1s, box-shadow 0.18s;
    text-decoration: none;
}
.btn:hover { background: var(--accent-deep); color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn-link {
    display: inline-flex; align-items: center; gap: 0.4rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: opacity 0.15s;
}
.btn-link:hover { opacity: 0.85; text-decoration: underline; color: #fff; }

/* === TOPSTRIP (very thin info bar above the main nav) === */
.topstrip {
    background: var(--ink-deepest);
    color: #cbd2e0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topstrip-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.45rem 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.topstrip-phone {
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.topstrip-phone:hover { color: var(--accent-glow); text-decoration: underline; text-underline-offset: 3px; }
.topstrip-meta { color: #95a0bb; }
@media (max-width: 600px) {
    .topstrip-meta { display: none; }
    .topstrip-inner { justify-content: center; }
}

/* === TOPBAR === */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.6rem;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid var(--rule);
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 52px; width: auto; display: block; }
.topnav { display: flex; align-items: center; gap: 0.2rem; }
.topnav a {
    padding: 0.55rem 1rem;
    color: var(--ink);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.15s, background 0.15s;
}
.topnav a:hover { color: var(--accent-deep); background: var(--rule-soft); text-decoration: none; }
.topnav a.cta {
    background: var(--accent);
    color: #fff;
    padding: 0.6rem 1.3rem;
    margin-left: 0.6rem;
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius);
}
.topnav a.cta:hover { background: var(--accent-deep); color: #fff; }

.nav-toggle { display: none; }
.nav-toggle-btn {
    display: none;
    width: 44px; height: 44px;
    cursor: pointer;
    padding: 12px 10px;
    flex-direction: column;
    justify-content: space-between;
}
.nav-toggle-btn span {
    display: block;
    height: 2px; width: 100%;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 760px) {
    .topbar { padding: 0.65rem 1rem; flex-wrap: wrap; }
    .brand-logo { height: 38px; }
    .nav-toggle-btn { display: flex; }
    .topnav {
        order: 3;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
        background: var(--surface);
    }
    .topnav a {
        padding: 0.95rem 0.6rem;
        border-radius: 0;
        border-top: 1px solid var(--rule-soft);
        margin: 0;
        font-size: 1rem;
    }
    .topnav a.cta {
        background: var(--accent);
        color: #fff;
        margin: 0.5rem 0 0.2rem;
        padding: 0.95rem 0.6rem;
        border-radius: var(--radius);
        text-align: center;
    }
    .nav-toggle:checked ~ .topnav { max-height: 360px; }
    .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-toggle-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* === LAYOUT === */
.page { max-width: 1120px; margin: 0 auto; padding: 0 1.6rem 4rem; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; color: var(--ink); }
h1 {
    font-size: clamp(2.2rem, 3.5vw + 1rem, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}
h2 {
    font-size: clamp(1.6rem, 1.8vw + 1rem, 2.2rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0 0 1rem;
}
h3 { font-size: 1.25rem; margin: 0 0 0.5rem; letter-spacing: -0.005em; }
h4 { font-size: 1rem; margin: 0 0 0.5rem; }
p { margin: 0 0 1rem; max-width: 65ch; color: var(--ink-soft); }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

.eyebrow,
.section-eyebrow {
    text-transform: uppercase;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin: 0 0 0.8rem;
}
.section-eyebrow { display: block; padding-top: 2.5rem; }
.eyebrow-light { color: var(--accent-glow); }

.hero-script {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
}

/* === HERO (homepage, asymmetric side-gradient) === */
.hero {
    background-size: cover;
    background-position: center;
    background-color: #14181e;
    margin: 0 -1.6rem 3rem;
    color: #fff;
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: stretch;
}
.hero-side {
    background-position: center right;
}
.hero-side::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15,18,40,0.92) 0%, rgba(15,18,40,0.78) 38%, rgba(15,18,40,0.18) 65%, rgba(15,18,40,0) 100%);
    z-index: 1;
}
.hero-gutter {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 4rem 1.6rem;
    max-width: 1180px;
    margin: 0 auto;
}
.hero-text { max-width: 600px; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.hero h1 .hero-script { color: var(--accent-glow); }
.hero-lede { font-size: 1.18rem; color: #e7ecf4; max-width: 52ch; margin-bottom: 1.8rem; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.hero-actions {
    display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.hero .eyebrow {
    color: var(--accent-glow);
}
@media (max-width: 760px) {
    .hero { min-height: 380px; margin: 0 -1.6rem 1.8rem; }
    .hero-side::before {
        background: linear-gradient(180deg, rgba(15,18,40,0.78) 0%, rgba(15,18,40,0.7) 55%, rgba(15,18,40,0.85) 100%);
    }
    .hero-gutter { padding: 2.4rem 1.4rem; }
    .hero h1 { line-height: 1.08; margin-bottom: 0.9rem; }
    .hero-lede { font-size: 1.02rem; margin-bottom: 1.4rem; }
    .hero .eyebrow { margin-bottom: 0.5rem; }
}

/* === PAGE HERO (services / gallery / contact) === */
.page-hero {
    background-size: cover;
    background-position: center;
    background-color: #14181e;
    padding: 4.5rem 2rem;
    margin: 0 -1.6rem 3rem;
    color: #fff;
    min-height: 280px;
    display: flex;
    align-items: center;
}
.page-hero.compact { min-height: 200px; padding: 3rem 2rem; }
.page-hero-text { max-width: 760px; }
.page-hero h1 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.6); margin-bottom: 0.6rem; }
.page-hero p { color: #f0f4f8; font-size: 1.12rem; max-width: 60ch; text-shadow: 0 1px 6px rgba(0,0,0,0.5); margin: 0; }
@media (max-width: 760px) { .page-hero { padding: 3rem 1.4rem; min-height: 200px; margin: 0 -1.6rem 2rem; } }

/* === SERVICES (homepage cards) === */
.services-grid { padding: 1rem 0 3rem; }
.cards { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
    background: var(--surface);
    padding: 2rem 1.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--rule);
    box-shadow: 0 1px 3px rgba(15,24,56,0.05), 0 8px 24px rgba(15,24,56,0.06);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex; flex-direction: column;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--rule);
    box-shadow:
        0 0 0 1px rgba(29,140,216,0.18),
        0 4px 8px rgba(15,24,56,0.06),
        0 18px 40px rgba(15,24,56,0.12);
}
.card .card-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--surface-warm);
    color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: inset 0 0 0 1px rgba(15,24,56,0.04);
}
.card-icon .icon { width: 32px; height: 32px; }
.card h3 { color: var(--ink); margin-bottom: 0.5rem; font-size: 1.35rem; }
.card p { color: var(--ink-soft); margin: 0; }
a.card { color: inherit; text-decoration: none; }
a.card:hover { text-decoration: none; }
.card-link { margin-top: auto; padding-top: 1.2rem; color: var(--accent); font-weight: 600; font-size: 0.95rem; }

/* === FEATURED (recent work strip) === */
.featured { padding: 1rem 0 2rem; }
.featured-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.featured-grid img {
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-card);
}
.featured-grid a:hover img { transform: scale(1.02); box-shadow: var(--shadow-lift); }
.more-link { text-align: right; margin-top: 1rem; }
.more-link a { font-weight: 600; }

/* === DROP DIVIDER === */
.drop-divider {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin: 3rem auto;
    max-width: 380px;
    color: var(--accent-glow);
}
.drop-line { flex: 1; height: 1px; background: var(--rule); }
.drop-mark { width: 28px; height: 28px; flex-shrink: 0; }

/* === CALLOUT (cream tinted band) === */
.callout {
    background: var(--surface-warm);
    color: var(--ink);
    padding: 2.6rem 2.2rem;
    border-radius: var(--radius);
    margin: 3.5rem 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    flex-wrap: wrap;
    border: 1px solid #e6dcc1;
}
.callout > div { flex: 1; min-width: 280px; }
.callout p { margin: 0.4rem 0 0; max-width: 55ch; color: var(--ink-soft); }
.callout h2 { color: var(--ink); margin: 0; }
.error-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* === SERVICE DETAIL (services page) === */
.service-detail { padding: 4.5rem 0; }
.service-detail:first-of-type { padding-top: 3rem; }
.service-detail + .service-detail { border-top: 1px solid var(--rule-soft); }
.service-detail-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .service-detail-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
@media (min-width: 860px) { .service-detail-grid.reversed .service-detail-text { order: 2; } }
.service-detail-image img {
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    object-fit: cover;
    box-shadow: var(--shadow-card);
    width: 100%;
}
.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: var(--surface-warm);
    color: var(--ink);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.2rem;
    border: 1px solid #e6dcc1;
}
.service-tag .icon { width: 1em; height: 1em; }
.service-detail-text h2 { color: var(--ink); margin-bottom: 1rem; }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.check-list li {
    position: relative;
    padding: 0.7rem 0 0.7rem 2.2rem;
    color: var(--ink-soft);
    border-top: 1px solid var(--rule-soft);
}
.check-list li:first-child { border-top: 0; }
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 1.05rem;
    width: 1.3rem; height: 1.3rem;
    border-radius: 50%;
    background: var(--surface-warm) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231a2552' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5,8.5 6.5,11.5 12.5,5'/></svg>") center/0.85em no-repeat;
}

/* === PROCESS (services page, 3 steps) === */
.process { padding: 3rem 0 3.5rem; }
.process-steps {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 1.6rem;
    grid-template-columns: 1fr;
    counter-reset: step;
}
@media (min-width: 760px) { .process-steps { grid-template-columns: repeat(3, 1fr); } }
.process-steps li {
    background: var(--surface);
    padding: 2rem 1.8rem;
    border-radius: var(--radius);
    border: 1px solid var(--rule);
    box-shadow: var(--shadow-card);
    position: relative;
}
.process-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.process-steps h3 { margin-bottom: 0.5rem; }
.process-steps p { margin: 0; color: var(--ink-soft); }

/* === TRUST ROW === */
.trust-row { display: grid; gap: 1.4rem; grid-template-columns: 1fr; padding: 3rem 0; }
@media (min-width: 760px) { .trust-row { grid-template-columns: repeat(3, 1fr); } }
.trust-item {
    background: var(--surface);
    padding: 1.8rem 1.6rem;
    border-radius: var(--radius);
    border: 1px solid var(--rule);
    text-align: left;
    box-shadow: var(--shadow-card);
}
.trust-item .icon-lg {
    color: var(--ink);
    margin-bottom: 0.9rem;
    width: 36px; height: 36px;
    padding: 7px;
    background: var(--surface-warm);
    border-radius: 10px;
    box-sizing: content-box;
}
.icon-lg { width: 2.4em; height: 2.4em; }
.trust-item h3 { margin: 0.2rem 0 0.4rem; color: var(--ink); }
.trust-item p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* === FAQ === */
.faq { padding: 3rem 0 3.5rem; }
.faq-list { margin: 2rem 0 0; }
.faq details {
    background: var(--surface);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 0;
    margin-bottom: 0.8rem;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.15s;
}
.faq details[open] { box-shadow: var(--shadow-card); }
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.4rem;
    font-weight: 600;
    color: var(--ink);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--accent);
    transition: transform 0.18s;
    line-height: 1;
}
.faq details[open] summary::after { content: "−"; transform: rotate(0); }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--ink-soft); max-width: 70ch; }

/* === ICONS === */
.icon { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -0.15em; color: currentColor; flex-shrink: 0; }

/* === GALLERY === */
.gallery-masonry {
    column-count: 1;
    column-gap: 1rem;
    margin-top: 1rem;
}
@media (min-width: 600px) { .gallery-masonry { column-count: 2; } }
@media (min-width: 960px) { .gallery-masonry { column-count: 3; } }
.gallery-masonry figure {
    margin: 0 0 1rem;
    break-inside: avoid;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--rule);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-card);
}
.gallery-masonry figure:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.gallery-masonry img {
    width: 100%; height: auto; display: block;
    transition: transform 0.3s;
}
.gallery-masonry a { display: block; position: relative; color: inherit; }
.gallery-masonry a:hover { text-decoration: none; }
.gallery-masonry a:hover img { transform: scale(1.02); }
.gallery-masonry figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.6rem 1rem 1rem;
    background: linear-gradient(to top, rgba(15,18,40,0.92) 30%, rgba(15,18,40,0));
    color: #fff;
    font-size: 0.92rem;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.25s, opacity 0.25s;
}
/* On hover-capable devices, hide captions until hover/focus (cleaner look) */
@media (hover: hover) {
    .gallery-masonry figcaption {
        transform: translateY(40%);
        opacity: 0;
    }
    .gallery-masonry figure:hover figcaption,
    .gallery-masonry figure:focus-within figcaption {
        transform: translateY(0);
        opacity: 1;
    }
}

/* === CONTACT === */
.contact-layout { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .contact-layout { grid-template-columns: 3fr 2fr; } }
.contact-side {
    background: var(--surface-warm);
    padding: 2rem 1.8rem;
    border-radius: var(--radius);
    border: 1px solid #e6dcc1;
    align-self: start;
}
.contact-side h3 {
    color: var(--ink);
    margin: 1.4rem 0 0.5rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 1.1rem;
}
.contact-side h3:first-child { margin-top: 0; }
.contact-side h3 .icon { color: var(--accent); }
.contact-side ul { padding-left: 1.2rem; color: var(--ink-soft); margin: 0.5rem 0; }
.contact-side li { margin-bottom: 0.4rem; }
.contact-side .big-phone {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.contact-side .big-phone:hover { color: var(--accent); text-decoration: none; }

.contact-form { display: grid; gap: 1.6rem; }
.form-section {
    border: 0;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}
.form-section legend {
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: var(--ink-faint);
    margin-bottom: 0.5rem;
    padding: 0;
}
.field { display: grid; gap: 0.35rem; }
.field-label { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.field-label em { color: var(--accent); font-style: normal; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--surface);
    border: 1px solid var(--rule);
    color: var(--ink);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(29,140,216,0.18);
}
.field-error { color: #c1272d; font-size: 0.9rem; }
.form-disclaimer { color: var(--ink-faint); font-size: 0.92rem; margin-top: 0.4rem; }

/* === FLASH === */
.flash { list-style: none; padding: 0; margin: 1.5rem 0 1.6rem; }
.flash li {
    padding: 0.95rem 1.3rem;
    border-radius: var(--radius);
    background: #e6f4ea;
    color: #1f5128;
    border-left: 4px solid #4ad06b;
}

/* === FOOTER === */
.sitefoot {
    background: var(--ink-deepest);
    color: #c8d2e4;
    padding: 3.4rem 1.6rem 1.6rem;
    margin-top: 4rem;
}
.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    gap: 2.4rem;
    grid-template-columns: 1fr;
}
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.2fr 2.4fr; } }
.footer-brand .footer-logo {
    height: 52px;
    margin-bottom: 0.8rem;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}
.footer-brand .tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    color: #fff;
    margin: 0;
    font-size: 1.05rem;
}
.footer-cols {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.footer-col h4 { margin: 0 0 0.6rem; color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-sans); font-weight: 700; }
.footer-col p { margin: 0 0 0.4rem; color: #c8d2e4; font-size: 0.95rem; }
.footer-col a { color: var(--accent-glow); }
.footer-col a:hover { color: #fff; }
.copyright {
    max-width: 1120px;
    margin: 2rem auto 0;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #8a96ad;
    font-size: 0.85rem;
}

/* === STICKY MOBILE CTA === */
.sticky-cta {
    display: none;
}
@media (max-width: 760px) {
    .sticky-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        position: fixed;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        background: var(--accent);
        color: #fff;
        font-weight: 700;
        padding: 0.95rem 1rem;
        border-radius: 999px;
        box-shadow: 0 10px 28px rgba(15,24,56,0.35);
        z-index: 200;
        text-decoration: none;
        font-size: 1rem;
    }
    .sticky-cta:hover, .sticky-cta:focus { background: var(--accent-deep); color: #fff; text-decoration: none; }
    .page { padding-bottom: 6rem; }
    .sitefoot { padding-bottom: 6rem; }
}

/* === MOTION (subtle, respects user preference) === */
@media (prefers-reduced-motion: no-preference) {
    .card, .gallery-masonry figure, .featured-grid img, .trust-item, .process-steps li {
        animation: rise 0.5s ease-out backwards;
    }
    @keyframes rise {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* === HERO ROTATOR (3 slides, ~9s each, crossfading) === */
.hero-rotator { background-image: none !important; overflow: hidden; }
.hero-rotator-stack {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-rotator-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    background-color: #14181e;
    opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
    .hero-rotator-slide {
        animation: hero-cycle 27s ease-in-out infinite;
    }
    .hero-rotator-slide:nth-child(1) { animation-delay: 0s; }
    .hero-rotator-slide:nth-child(2) { animation-delay: 9s; }
    .hero-rotator-slide:nth-child(3) { animation-delay: 18s; }
    @keyframes hero-cycle {
        0%, 30%   { opacity: 1; }
        37%, 100% { opacity: 0; }
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-rotator-slide:first-child { opacity: 1; }
}
/* Side-gradient overlay must sit above the rotator stack */
.hero-rotator.hero-side::before { z-index: 1; }
.hero-rotator .hero-gutter { z-index: 2; }

/* === H2 DROP UNDERLINE (decorative, on home + services + faq h2) === */
.services-grid h2,
.featured h2,
.process h2,
.faq h2,
.trust-row + .callout h2 {
    position: relative;
    padding-bottom: 1.4rem;
    margin-bottom: 1.8rem;
}
.services-grid h2::after,
.featured h2::after,
.process h2::after,
.faq h2::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 56px; height: 22px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 24'><line x1='0' y1='12' x2='32' y2='12' stroke='%23ebe3d2' stroke-width='1.5'/><path d='M48 4 C48 4, 42 12, 42 16 a6 6 0 0 0 12 0 c0 -4, -6 -12, -6 -12 z' fill='%237bbeea' opacity='0.22'/><path d='M48 4 C48 4, 42 12, 42 16 a6 6 0 0 0 12 0 c0 -4, -6 -12, -6 -12 z' fill='none' stroke='%237bbeea' stroke-width='1.4' stroke-linejoin='round'/><line x1='64' y1='12' x2='96' y2='12' stroke='%23ebe3d2' stroke-width='1.5'/></svg>") no-repeat left center;
    background-size: contain;
}

/* === PRINT STYLES === */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
        font-size: 11pt;
        line-height: 1.4;
    }
    .topstrip, .topbar, .nav-toggle-btn, .topnav,
    .sticky-cta, .skip-link,
    .hero, .hero-rotator, .page-hero,
    .featured, .gallery-masonry, .drop-divider,
    .callout, .faq summary::after { display: none !important; }
    main.page { max-width: 100%; padding: 0; }
    h1, h2, h3, h4 { color: #000 !important; page-break-after: avoid; }
    p { color: #000 !important; }
    a { color: #000 !important; text-decoration: underline; }
    a[href^="http"]::after, a[href^="tel:"]::after, a[href^="mailto:"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #555;
    }
    .card, .trust-item, .process-steps li, .service-detail {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
        background: #fff !important;
    }
    .check-list li { page-break-inside: avoid; }
    .faq details { border: 1px solid #ccc !important; box-shadow: none !important; }
    .faq details[open] p { display: block !important; }
    .sitefoot { background: #fff !important; color: #000 !important; padding: 1rem 0; border-top: 1px solid #ccc; margin-top: 2rem; }
    .footer-brand .footer-logo { filter: none !important; opacity: 1 !important; }
    .footer-col a { color: #000 !important; }
}
