/* =====================================================================
   OZZINEST – COMPONENT STYLES
   All colours come from theme.css variables – do not hard-code colours
   here; change them in theme.css instead.
   ===================================================================== */

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    transition: background-color .35s ease, color .35s ease;
    overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
    color: var(--heading);
    margin: 0;
    line-height: 1.2;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 3px;
    border-radius: 6px;
}

::selection {
    background: var(--secondary);
    color: var(--on-secondary);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.section {
    padding-block: 6rem;
}

@media (max-width: 767px) {
    .section {
        padding-block: 4rem;
    }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent-text);
}

.eyebrow::before {
    content: '';
    width: 1.75rem;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.eyebrow--center::after {
    content: '';
    width: 1.75rem;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.title {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -.01em;
    margin-top: .75rem;
}

.title span:not(.w):not(.wi) {
    color: var(--primary-text);
}

.lead {
    color: var(--muted);
    margin-top: 1rem;
    max-width: 34rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.6rem;
    border-radius: .7rem;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    white-space: nowrap;
    transition: transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn i {
    transition: transform .25s ease;
}

.btn:hover i.fa-arrow-right,
.btn:hover i.fa-arrow-up-right {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

html.dark .btn-primary {
    background: var(--secondary);
    color: var(--on-secondary);
}

html.dark .btn-primary:hover {
    background: var(--secondary-hover);
    color: var(--on-secondary);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--on-secondary);
    box-shadow: 0 10px 24px -10px var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    color: var(--on-secondary);
}

.btn-outline {
    border-color: var(--primary-soft-2);
    color: var(--primary-text);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--on-primary);
}

html.dark .btn-outline:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--on-secondary);
}

.btn-ghost-light {
    border-color: rgba(255, 255, 255, .7);
    color: var(--on-dark);
}

.btn-ghost-light:hover {
    background: var(--on-dark);
    color: var(--primary);
}

.btn-light {
    background: #fff;
    color: var(--primary);
}

.btn-light:hover {
    background: var(--secondary);
    color: var(--on-secondary);
}

.btn-sm {
    padding: .8rem 1.2rem;
    font-size: .85rem;
    border-radius: .62rem;
}

/* ---------- Topbar ---------- */
.topbar {
    font-size: .82rem;
    font-weight: 600;
    color: var(--heading);
    padding-block: .7rem;
}

.topbar a:hover {
    color: var(--accent-text);
}

.topbar i {
    color: var(--primary-text);
}

.socials {
    display: flex;
    gap: .5rem;
}

/* Social icons: soft tinted tile by default; on hover a teal fill sweeps up
   from the bottom, the tile lifts and the icon flips (colours from theme.css). */
.socials a {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 2.1rem;
    height: 2.1rem;
    display: grid;
    place-items: center;
    border-radius: .55rem;
    background: var(--primary-soft);
    color: var(--primary-text);
    transition: transform .35s cubic-bezier(.22, .8, .25, 1), box-shadow .35s ease, color .3s ease;
}

.socials a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--secondary);
    transform: translateY(101%);
    transition: transform .4s cubic-bezier(.22, .8, .25, 1);
}

.socials a i {
    color: inherit;
    transition: transform .45s cubic-bezier(.22, .8, .25, 1), color .3s ease;
}

.socials a:hover,
.socials a:focus-visible {
    color: var(--on-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px var(--secondary);
}

.socials a:hover::before,
.socials a:focus-visible::before {
    transform: translateY(0);
}

.socials a:hover i,
.socials a:focus-visible i {
    color: var(--on-primary);
    transform: rotateY(360deg);
}

/* on dark areas (footer, mobile menu) */
.socials--light a {
    background: rgba(255, 255, 255, .08);
    color: var(--on-dark);
}

/* ---------- Logo (white version – used on the dark header, menu and footer) ---------- */
.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 3.4rem;
    width: auto;
    transition: height .45s var(--ease-dock, ease);
}

.site-header.is-stuck .logo img {
    height: 2.6rem;
}

@media (max-width: 480px) {
    .logo img {
        height: 2.7rem;
    }
}

/* ---------- Hero (header lives inside) ---------- */
.hero-wrap {
    position: relative;
    padding-bottom: 1rem;
}

.hero {
    position: relative;
    isolation: isolate;
    border-radius: var(--radius-lg);
    color: var(--on-dark);
    min-height: 36rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    border-radius: var(--radius-lg);
    /* clip image + overlay together as one layer, so the animated photo can't
       peek out as a thin light line along the rounded corners */
    background: var(--dark-2);
    isolation: isolate;
    clip-path: inset(0 round var(--radius-lg));
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    transform: translateZ(0);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 24s ease-in-out infinite alternate;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--hero-overlay);
}

@keyframes kenburns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.12) translate(-1.5%, -1%);
    }
}

@media (min-width: 1024px) {
    .hero .quote-card {
        margin-top: 5rem;
        /* pushes the card further down, overlapping the banner bottom */
        margin-bottom: -25rem;
    }

    .hero-wrap {
        padding-bottom: 8rem;
        /* room for the overlapping card */
    }
}

.hero-content {
    padding: 9.5rem 3.5rem 5rem;
}

@media (max-width: 767px) {
    .hero-content {
        padding: 8rem 1.5rem 3rem;
    }
}

.hero-tagline {
    font-size: 1.05rem;
    color: var(--on-dark-muted);
    font-weight: 500;
}

.hero h1 {
    color: var(--on-dark);
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    font-weight: 600;
    margin-top: .6rem;
    letter-spacing: -.01em;
}

.hero h1 .typed {
    color: var(--accent-on-dark);
}

.hero-text {
    color: var(--on-dark-muted);
    margin-top: 1.25rem;
    max-width: 33rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.25rem;
    font-size: .88rem;
    color: var(--on-dark-muted);
}

.hero-badges i {
    color: var(--accent-on-dark);
    margin-right: .35rem;
}

/* floating bubbles */
.bubble {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .55), rgba(255, 255, 255, .06) 45%, color-mix(in srgb, var(--accent-on-dark) 14%, transparent) 80%, rgba(255, 255, 255, .35));
    border: 1px solid rgba(255, 255, 255, .3);
    animation: bubble-float 9s ease-in-out infinite;
}

@keyframes bubble-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-22px) scale(1.05);
    }
}

/* ---------- Header / nav : floating dock ----------
   Fixed from the start, sitting over the hero. After 40px of scroll
   (JS adds .is-stuck) the bar shrinks into a centred glass pill. */
:root {
    --ease-dock: cubic-bezier(.2, .7, .2, 1);
}

.site-header {
    position: fixed;
    top: 4.6rem;
    left: 0;
    right: 0;
    z-index: 50;
    padding-inline: 1.25rem;
    pointer-events: none;
    transition: top .45s var(--ease-dock);
}

.site-header.is-stuck {
    top: .9rem;
}

.dock-in {
    pointer-events: auto;
    max-width: calc(1540px - 2.5rem);
    margin-inline: auto;
    padding: 1.4rem 3.5rem;
    border-radius: var(--radius-lg);
    border-bottom: 1px solid rgba(256, 256, 256, 0.2);
    transition: max-width .55s var(--ease-dock), padding .55s var(--ease-dock), border-radius .55s var(--ease-dock),
        background-color .35s, border-color .35s, box-shadow .35s;
}

.site-header.is-stuck .dock-in {
    max-width: 80rem;
    padding: .5rem .5rem .5rem 1.25rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--dark) 78%, transparent);
    border-color: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7);
}

@media (max-width: 767px) {
    .dock-in {
        padding: 1rem 1.5rem;
    }

    .site-header.is-stuck .dock-in {
        max-width: none;
        padding: .45rem .45rem .45rem 1rem;
    }
}

.site-header .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.nav-links {
    position: relative;
    display: flex;
    gap: .25rem;
    font-size: .95rem;
    font-weight: 500;
}

/* Menu links: a soft "glass" pill (.nav-indicator, added by main.js) glides to the
   hovered link; the current section keeps a teal underline. Without JS the
   links still get a simple fading background. */
.nav-links a {
    position: relative;
    z-index: 1;
    color: var(--on-dark-muted);
    padding: .5rem 1rem;
    border-radius: 999px;
    transition: color .35s cubic-bezier(.22, .8, .25, 1), background-color .35s cubic-bezier(.22, .8, .25, 1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: .1rem;
    width: 2.4rem;
    height: 2px;
    border-radius: 4px;
    background: var(--secondary);
    transform: translateX(-50%) scaleX(0);
    transition: transform .45s cubic-bezier(.22, .8, .25, 1);
}

.nav-links a:hover {
    color: #fff;
}

.nav-links:not(.has-indicator) a:hover {
    background: rgba(255, 255, 255, .1);
}

.nav-links a.active {
    color: #fff;
}

.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-links a:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 0;
    border-radius: 999px;
}

.nav-indicator {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
    opacity: 0;
    pointer-events: none;
    transition: transform .45s cubic-bezier(.22, .8, .25, 1), width .45s cubic-bezier(.22, .8, .25, 1), opacity .3s ease;
}

.nav-indicator.show {
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.icon-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .7rem;
    display: grid;
    place-items: center;
    position: relative;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    transition: background-color .25s, border-radius .45s var(--ease-dock);
}

.icon-btn:hover {
    background: rgba(255, 255, 255, .2);
}

.site-header .btn-sm {
    transition: border-radius .45s var(--ease-dock), background-color .25s, transform .25s;
}

.site-header.is-stuck .icon-btn,
.site-header.is-stuck .btn-sm {
    border-radius: 999px;
}

.theme-toggle i {
    position: absolute;
    transition: opacity .3s, transform .45s;
}

.theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(.4);
}

html.dark .theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(.4);
}

html.dark .theme-toggle .icon-sun {
    opacity: 1;
    transform: none;
    color: #ffd166;
}

/* mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(20rem, 85vw);
    z-index: 60;
    background: var(--dark);
    color: var(--on-dark);
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform .35s ease;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.mobile-menu.open {
    transform: none;
}

.mobile-menu a.m-link {
    padding: .85rem .5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: var(--on-dark-muted);
}

.mobile-menu a.m-link:hover {
    color: #fff;
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(10, 0, 20, .55);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.menu-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* ---------- Instant quote card ---------- */
.quote-card {
    position: relative;
    background: var(--surface);
    color: var(--text);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.quote-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.quote-card h3 .ico {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: .55rem;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    font-size: .85rem;
}

html.dark .quote-card h3 .ico {
    background: var(--secondary);
    color: var(--on-secondary);
}

.q-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--heading);
    margin: 1.1rem 0 .55rem;
}

.chips {
    display: grid;
    gap: .5rem;
}

.chip {
    padding: .5rem .25rem;
    border-radius: .55rem;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: .78rem;
    font-weight: 500;
    color: var(--text);
    transition: all .2s;
}

.chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -12px var(--primary);
}

.chip:active {
    transform: translateY(0) scale(.97);
}

html.dark .chip:hover {
    border-color: var(--primary-text);
    color: var(--heading);
}

.chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

html.dark .chip.active {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--on-secondary);
}

/* Home-size slider: fully custom so the track, fill and thumb follow the theme
   in light and dark mode (the browser's default track had a grey border).
   main.js sets --fill (0–100%) as the slider moves. */
.range {
    --fill: 24%;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    margin: .6rem 0 .3rem;
    border-radius: 999px;
    background: linear-gradient(to right, var(--secondary) 0 var(--fill), var(--primary-soft-2) var(--fill) 100%);
    cursor: pointer;
    outline: none;
}

.range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 999px;
    background: transparent;
    border: 0;
}

.range::-moz-range-track {
    height: 8px;
    border-radius: 999px;
    background: var(--primary-soft-2);
    border: 0;
}

.range::-moz-range-progress {
    height: 8px;
    border-radius: 999px;
    background: var(--secondary);
}

.range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin-top: -6px;
    border-radius: 50%;
    background: var(--secondary);
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 1px var(--secondary), 0 4px 10px -3px rgba(0, 0, 0, .35);
    transition: transform .3s cubic-bezier(.22, .8, .25, 1), box-shadow .3s ease;
}

.range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondary);
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 1px var(--secondary), 0 4px 10px -3px rgba(0, 0, 0, .35);
    transition: transform .3s cubic-bezier(.22, .8, .25, 1);
}

.range:hover::-webkit-slider-thumb,
.range:active::-webkit-slider-thumb {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--secondary) 22%, transparent);
}

.range:hover::-moz-range-thumb,
.range:active::-moz-range-thumb {
    transform: scale(1.15);
}

.range:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--secondary) 35%, transparent);
}

.q-total {
    margin-top: 1.25rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius);
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.q-total small {
    font-size: .75rem;
    opacity: .85;
}

.q-total strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    line-height: 1.1;
}

.q-note {
    font-size: .72rem;
    color: var(--muted);
    margin-top: .8rem;
}

/* =====================================================================
   CONTENT SECTIONS (Cetro-style layout, Ozzinest colours)
   ===================================================================== */

/* ---------- Display type, eyebrow, pill buttons ---------- */
.title {
    font-family: var(--font-display);
    font-variation-settings: "wdth" 62, "opsz" 72;
    font-weight: 800;
    font-size: clamp(2.3rem, 4.6vw, 3.7rem);
    line-height: 1.04;
    letter-spacing: -.005em;
    margin-top: .9rem;
}

.title span:not(.w):not(.wi) {
    color: var(--accent-text);
}

html.dark .title span:not(.w):not(.wi) {
    color: var(--accent-text) !important;
    color: var(--primary-text);
}

.d-font {
    font-family: var(--font-display);
    font-variation-settings: "wdth" 66, "opsz" 36;
    font-weight: 750;
    letter-spacing: 0;
}

.eyebrow {
    color: var(--heading);
    letter-spacing: .04em;
    font-weight: 700;
    font-size: .82rem;
    gap: .45rem;
}

.eyebrow::before {
    content: '\f51a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: .95rem;
    width: auto;
    height: auto;
    background: none;
    color: var(--accent-text);
    transform: rotate(-20deg);
}

.eyebrow--center::after {
    display: none;
}

.on-dark .eyebrow,
.on-dark .title {
    color: var(--on-dark);
}

.on-dark .title span:not(.w):not(.wi) {
    color: var(--accent-on-dark);
}

.on-dark .eyebrow::before {
    color: var(--accent-on-dark);
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: .9rem;
    padding: .45rem .45rem .45rem 1.6rem;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
    transition: background-color .3s ease, transform .3s ease;
    border: 0;
}

.btn-pill .ic {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--secondary);
    color: var(--on-secondary);
    font-size: .85rem;
    transition: transform .35s ease, background-color .3s, color .3s;
}

.btn-pill:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    color: var(--on-secondary);
}

.btn-pill:hover .ic {
    background: #fff;
    color: var(--accent-text);
    transform: rotate(-45deg);
}

.btn-pill--alt {
    background: var(--secondary);
    color: var(--on-secondary);
}

.btn-pill--alt .ic {
    background: #fff;
    color: var(--accent-text);
}

.btn-pill--alt:hover {
    background: var(--primary);
}

html.dark .btn-pill--alt:hover {
    background: var(--secondary-hover);
    color: var(--on-secondary);
}

html.dark .btn-pill {
    background: var(--surface-2);
    box-shadow: inset 0 0 0 1px var(--border);
}

html.dark .btn-pill--alt,
html.dark .btn-pill:hover {
    background: var(--secondary);
    box-shadow: none;
    color: var(--on-secondary);
}

/* line-art decoration */
.line-art {
    position: absolute;
    pointer-events: none;
    color: var(--heading);
    opacity: .12;
    z-index: -1;
}

/* ---------- About / why choose ---------- */
.c-about {
    position: relative;
    isolation: isolate;
}

.c-about-media {
    position: relative;
    padding: 0 4.5rem 6rem 0;
    max-width: 36rem;
}

.c-about-main {
    width: 100%;
    aspect-ratio: 1 / 1.02;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.c-about-tilt {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    aspect-ratio: 3 / 3.8;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 6px solid var(--bg);
    box-shadow: var(--shadow);
    animation: tilt-float 7s ease-in-out infinite;
}

@keyframes tilt-float {

    0%,
    100% {
        transform: rotate(14deg);
    }

    50% {
        transform: rotate(10deg) translateY(-12px);
    }
}

.c-checks {
    display: grid;
    gap: .9rem;
    margin: 1.75rem 0 2.5rem;
}

.c-checks li {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-weight: 600;
    color: var(--heading);
}

.c-checks i {
    color: var(--accent-text);
    font-size: 1.05rem;
}

html.dark .c-checks i {
    color: var(--primary-text);
}

/* ---------- Round arrow buttons (testimonials) ---------- */
.arrow-btn {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--primary-soft-2);
    background: var(--surface);
    color: var(--primary-text);
    transition: all .25s;
}

.arrow-btn:hover,
.arrow-btn.solid {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--on-secondary);
}

/* ---------- Services: full width, pinned sideways scroll ----------
   On large screens the section sticks to the viewport and the cards move
   sideways while you scroll down (main.js sets the height + transform).
   On small screens it falls back to a normal swipeable row. */
.hs {
    position: relative;
    background: var(--surface);
    color: var(--muted);
    border-block: 1px solid var(--border);
}

.hs-pin {
    padding-block: clamp(4.5rem, 7vw, 6.5rem) 2.25rem;
    overflow: clip;
    position: relative;
    isolation: isolate;
}

.hs-pin::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(45% 60% at 90% 0%, color-mix(in srgb, var(--secondary) 9%, transparent), transparent 70%),
        radial-gradient(40% 55% at 0% 100%, color-mix(in srgb, var(--primary) 7%, transparent), transparent 70%);
}

.hs.pinned .hs-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hs-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hs-track {
    display: flex;
    gap: 1.25rem;
    margin-top: clamp(1.75rem, 3.5vh, 2.75rem);
    padding-inline: max(1.25rem, calc((100vw - 1240px) / 2 + 1.25rem));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    will-change: transform;
}

.hs-track::-webkit-scrollbar {
    display: none;
}

.hs.pinned .hs-track {
    overflow: visible;
    scroll-snap-type: none;
    width: max-content;
}

.fc {
    flex: none;
    scroll-snap-align: center;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 1.6rem;
    width: min(820px, 86vw);
    height: clamp(380px, 54vh, 480px);
    padding: clamp(1.4rem, 2.4vw, 2rem);
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color .35s, box-shadow .35s;
}

.fc:hover {
    border-color: color-mix(in srgb, var(--secondary) 45%, transparent);
    box-shadow: var(--shadow);
}

.fc-t {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fc-n {
    font-family: var(--font-display);
    font-variation-settings: "wdth" 70;
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--primary-soft-2);
    margin-bottom: auto;
    padding-bottom: 1rem;
}

.fc h3 {
    color: var(--heading);
    font-size: clamp(1.6rem, 2.4vw, 2.2rem);
    line-height: 1.1;
}

.fc p {
    margin-top: .7rem;
    font-size: .97rem;
    line-height: 1.55;
}

.ticks {
    margin-top: 1rem;
    display: grid;
    gap: .55rem;
    font-size: .93rem;
    color: var(--heading);
    font-weight: 500;
}

.ticks li {
    position: relative;
    padding-left: 1.7rem;
    line-height: 1.35;
}

.ticks li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: .6rem;
    position: absolute;
    left: 0;
    top: .1em;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--accent-text);
}

.fc .btn-pill {
    align-self: flex-start;
}

.fc-v {
    position: relative;
    min-width: 0;
    border-radius: 1.25rem;
    overflow: hidden;
}

.fc-v img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.fc:hover .fc-v img {
    transform: scale(1.06);
}

@media (max-width: 640px) {
    .fc {
        grid-template-columns: 1fr;
        height: auto;
    }

    .fc-v {
        height: 13rem;
        order: -1;
    }

    .fc-n {
        font-size: 2.6rem;
        margin-bottom: .5rem;
    }
}

.hs-time {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-top: 1.75rem;
    padding-top: .9rem;
    font: 600 .78rem/1 ui-monospace, 'SFMono-Regular', Menlo, monospace;
    color: var(--muted);
}

.hs-time::before,
.hs-time b {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 2px;
    width: 100%;
    background: var(--border);
}

.hs-time b {
    background: var(--gradient);
    transform: scaleX(var(--p, 0));
    transform-origin: left;
}

.hs-time span {
    transition: color .25s;
}

.hs-time span.on {
    color: var(--accent-text);
}

html.dark .hs-time span.on,
html.dark .ticks li::before {
    color: var(--primary-text);
}

/* ---------- Service marquee (two rows, dark brand band) ---------- */
.mq {
    background: var(--dark-2);
    padding-block: 1.75rem;
    overflow: clip;
    position: relative;
    isolation: isolate;
    border-block: 1px solid rgba(255, 255, 255, .08);
}

.mq::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .55;
    background: radial-gradient(60% 120% at 50% 0%, color-mix(in srgb, var(--secondary) 35%, transparent), transparent 70%);
}

.mq-row {
    display: flex;
    width: max-content;
    animation: mq-slide 38s linear infinite;
}

.mq-row.rev {
    animation-direction: reverse;
    animation-duration: 46s;
    margin-top: .6rem;
}

.mq:hover .mq-row {
    animation-play-state: paused;
}

.mq-set {
    display: flex;
    align-items: center;
    flex: none;
}

.mq-set span {
    font-family: var(--font-display);
    font-variation-settings: "wdth" 70;
    font-weight: 750;
    white-space: nowrap;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    padding-inline: 1.4rem;
    color: #fff;
}

.mq-ico {
    flex: none;
    width: clamp(28px, 3vw, 40px);
    height: clamp(28px, 3vw, 40px);
    color: #fff;
    animation: mq-spin 9s linear infinite;
}

.rev .mq-set span {
    color: transparent;
    -webkit-text-stroke: 1px color-mix(in srgb, var(--accent-on-dark) 55%, transparent);
}

.rev .mq-ico {
    color: color-mix(in srgb, var(--accent-on-dark) 55%, transparent);
    animation-direction: reverse;
}

@keyframes mq-slide {
    to {
        transform: translateX(-50%);
    }
}

@keyframes mq-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Sparkle & shine (features) ---------- */
.notch-img {
    position: relative;
}

.notch-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.notch-img::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: -3px;
    right: -3px;
    padding: 0 3px 3px 0;
    width: 24%;
    height: 9%;
    background: var(--bg);
    border-bottom-left-radius: var(--radius-lg);
}

.notch-img.notch-bl::after {
    top: auto;
    right: auto;
    bottom: -3px;
    left: -3px;
    padding: 3px 3px 0 0;
    border-radius: 0 var(--radius-lg) 0 0;
}

.feat {
    display: flex;
    gap: 1.3rem;
    align-items: flex-start;
}

.feat .ic {
    width: 4.8rem;
    height: 4.8rem;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    background: var(--primary-soft);
    color: var(--accent-text);
    transition: transform .5s ease, background-color .3s, color .3s;
}

.feat:hover .ic {
    transform: rotateY(180deg);
    background: var(--secondary);
    color: var(--on-secondary);
}

html.dark .feat .ic {
    color: var(--primary-text);
}

html.dark .feat:hover .ic {
    color: var(--on-secondary);
}

.feat h3 {
    font-size: 1.6rem;
}

.feat p {
    color: var(--muted);
    margin-top: .45rem;
    font-size: .95rem;
}

/* ---------- Portfolio accordion (dark) ---------- */
.c-dark {
    background-color: var(--dark-2);
    color: var(--on-dark-muted);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.c-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .5;
    background-image: radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--secondary) 45%, transparent), transparent 45%),
        repeating-radial-gradient(circle at 20% 120%, transparent 0 22px, rgba(255, 255, 255, .035) 23px 24px);
}

.acc {
    display: flex;
    gap: .75rem;
    height: 33rem;
    margin-top: 3.5rem;
}

.acc-item {
    position: relative;
    flex: 1;
    min-width: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: flex .8s cubic-bezier(.22, .8, .25, 1);
    border: 0;
    padding: 0;
    background: #000;
    text-align: left;
}

.acc-item.active {
    flex: 5.5;
}

.acc-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease, opacity .4s;
    opacity: .85;
}

.acc-item.active img,
.acc-item:hover img {
    opacity: 1;
}

.acc-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 2, 20, .85) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .5s;
}

.acc-item.active::after {
    opacity: 1;
}

.acc-cap {
    position: absolute;
    left: 2.25rem;
    right: 2.25rem;
    bottom: 2rem;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .4s ease, transform .5s ease;
    pointer-events: none;
}

.acc-item.active .acc-cap {
    opacity: 1;
    transform: none;
    transition-delay: .35s;
}

.acc-cap h3 {
    color: #fff;
    font-size: 1.9rem;
}

.acc-cap small {
    display: block;
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
    margin-top: .3rem;
}

.acc-cap .go {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--secondary);
    color: var(--on-secondary);
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .acc {
        flex-direction: column;
        height: auto;
    }

    .acc-item {
        flex: none;
        height: 4.5rem;
        transition: height .7s cubic-bezier(.22, .8, .25, 1);
    }

    .acc-item.active {
        flex: none;
        height: 22rem;
    }

    .acc-cap {
        left: 1.25rem;
        right: 1.25rem;
        bottom: 1.25rem;
    }

    .acc-cap h3 {
        font-size: 1.5rem;
    }
}

/* ---------- How it works (image steps) ---------- */
.c-steps {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.watermark {
    position: absolute;
    left: 50%;
    bottom: -2.5rem;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
    white-space: nowrap;
    font-family: var(--font-display);
    font-variation-settings: "wdth" 80;
    font-weight: 900;
    font-size: clamp(6rem, 19vw, 17rem);
    line-height: 1;
    color: var(--primary-soft);
    opacity: .8;
}

.st-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 3.5rem;
}

@media (max-width: 1023px) {
    .st-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .st-grid {
        grid-template-columns: 1fr;
    }
}

.st-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: .6rem .6rem 1.75rem;
    transition: transform .4s ease, box-shadow .4s ease;
}

.st-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.st-img {
    position: relative;
}

.st-img img {
    width: 100%;
    aspect-ratio: 3 / 1.95;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - .3rem);
}

.st-num {
    position: absolute;
    right: 1.25rem;
    bottom: -1.6rem;
    width: 3.3rem;
    height: 3.3rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--secondary);
    color: var(--on-secondary);
    font-weight: 700;
    font-size: .95rem;
    border: 5px solid var(--surface);
    box-sizing: content-box;
    transition: transform .4s;
}

.st-card:hover .st-num {
    transform: rotate(360deg);
}

.st-card h3 {
    font-size: 1.45rem;
    margin: 2rem 1.1rem 0;
}

.st-card p {
    color: var(--muted);
    font-size: .92rem;
    margin: .6rem 1.1rem 0;
}

/* ---------- Pricing (3 cards, monthly / yearly) ---------- */
.c-pricing {
    background: var(--bg-alt);
}

.billing {
    display: inline-flex;
    position: relative;
    padding: .4rem;
    border-radius: 1rem;
    background: var(--surface);
    margin-top: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.billing button {
    position: relative;
    z-index: 1;
    border: 0;
    background: none;
    padding: .7rem 1.4rem;
    border-radius: .7rem;
    font-weight: 700;
    font-size: .95rem;
    color: var(--heading);
    transition: color .3s;
}

.billing button.active {
    color: #fff;
}

.billing-pill {
    position: absolute;
    top: .4rem;
    bottom: .4rem;
    left: .4rem;
    border-radius: .7rem;
    background: var(--secondary);
    transition: transform .35s ease, width .35s ease;
    color: var(--on-secondary);
}

.billing .save {
    font-size: .65rem;
    background: var(--primary-soft);
    color: var(--primary-text);
    padding: .15rem .45rem;
    border-radius: 999px;
    margin-left: .35rem;
    vertical-align: middle;
}

.billing button.active .save {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.p-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
    align-items: stretch;
}

@media (max-width: 1023px) {
    .p-grid {
        grid-template-columns: 1fr;
        max-width: 27rem;
        margin-inline: auto;
    }
}

.p-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.5rem 2.5rem;
    transition: transform .35s ease, box-shadow .35s ease;
}

.p-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.p-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-text);
}

html.dark .p-card h3 {
    color: var(--primary-text);
}

.p-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .15rem;
    margin-top: 1.75rem;
    padding: 1.1rem 1rem;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    color: var(--heading);
    font-family: 'Poppins', sans-serif;
}

.p-price .cur,
.p-price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
}

.p-price .cur {
    margin-right: .35rem;
}

.p-price .per {
    font-size: .95rem;
    font-weight: 500;
    color: var(--muted);
}

.price-old {
    display: block;
    min-height: 1.3rem;
    margin-top: .5rem;
    font-size: .8rem;
    color: var(--muted);
}

.p-list {
    display: grid;
    gap: 1rem;
    margin: 1rem 0 2.25rem;
    text-align: left;
    flex: 1;
}

.p-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--muted);
    font-size: .97rem;
}

.p-list i {
    color: var(--accent-text);
    font-size: 1.15rem;
    flex-shrink: 0;
}

html.dark .p-list i {
    color: var(--primary-text);
}

.p-btn {
    display: block;
    padding: 1.05rem 1rem;
    border-radius: .7rem;
    background: var(--secondary);
    color: var(--on-secondary);
    font-weight: 700;
    transition: background-color .3s, transform .3s, color .3s;
}

.p-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

html.dark .p-btn:hover {
    background: var(--secondary-hover);
    color: var(--on-secondary);
}

/* featured (middle) card */
.p-card.featured {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--on-secondary);
    box-shadow: 0 30px 60px -25px var(--secondary);
}

.p-card.featured h3,
html.dark .p-card.featured h3 {
    color: var(--on-secondary);
}

.p-card.featured .p-price {
    background: #fff;
    border-color: #fff;
    color: var(--primary);
}

.p-card.featured .p-price .per {
    color: var(--primary);
}

.p-card.featured .price-old {
    color: var(--on-secondary);
    opacity: .8;
}

.p-card.featured .p-list li {
    color: var(--on-secondary);
    font-weight: 500;
}

.p-card.featured .p-list i,
html.dark .p-card.featured .p-list i {
    color: var(--on-secondary);
}

.p-card.featured .p-btn {
    background: var(--primary);
    color: #fff;
}

.p-card.featured .p-btn:hover {
    background: #fff;
    color: var(--primary);
}

.p-badge {
    position: absolute;
    top: -.85rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: var(--primary);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 999px;
}

.p-perks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 3.5rem;
    margin-top: 3rem;
    color: var(--muted);
    font-size: .97rem;
}

.p-perks li {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.p-perks i {
    color: var(--accent-text);
    font-size: 1.1rem;
}

html.dark .p-perks i {
    color: var(--primary-text);
}

/* ---------- Testimonials (split) ---------- */
.c-testi {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--surface);
}

@media (max-width: 1023px) {
    .c-testi {
        grid-template-columns: 1fr;
    }
}

.c-testi-media {
    position: relative;
    min-height: 34rem;
    overflow: hidden;
}

.c-testi-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-testi-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, color-mix(in srgb, var(--secondary) 40%, transparent), color-mix(in srgb, var(--primary) 55%, transparent));
    mix-blend-mode: multiply;
}

.c-testi-body {
    padding: 6rem 3.5rem;
    max-width: 42rem;
    position: relative;
    -webkit-mask-image: none;
}

@media (max-width: 767px) {
    .c-testi-body {
        padding: 4rem 1.25rem;
    }
}

.t-slide {
    display: none;
}

.t-slide.active {
    display: block;
    animation: t-in .6s ease both;
}

@keyframes t-in {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.t-stars {
    color: var(--accent-text);
    letter-spacing: .15em;
    margin-top: 2rem;
}

html.dark .t-stars {
    color: var(--star);
}

.t-text {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--heading);
    line-height: 1.6;
}

.t-person {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
}

.t-person img {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-soft-2);
}

.t-person strong {
    display: block;
    font-size: 1.3rem;
    color: var(--heading);
}

.t-person span {
    font-size: .88rem;
    color: var(--muted);
}

.t-dots {
    display: flex;
    gap: .45rem;
}

.t-dot {
    width: .6rem;
    height: .6rem;
    border-radius: 999px;
    background: var(--primary-soft-2);
    border: 0;
    padding: 0;
    transition: all .3s;
}

.t-dot.active {
    width: 1.8rem;
    background: var(--secondary);
    color: var(--on-secondary);
}

.t-counter {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: 2.25rem;
    padding-top: 2rem;
}

.t-counter strong {
    font-family: var(--font-display);
    font-variation-settings: "wdth" 66;
    font-weight: 800;
    font-size: 4rem;
    line-height: 1;
    color: var(--accent-text);
}

html.dark .t-counter strong {
    color: var(--primary-text);
}

.t-counter h4 {
    font-size: 1.3rem;
}

.t-counter p {
    color: var(--muted);
    font-size: .9rem;
    margin-top: .25rem;
}

/* ---------- FAQ ---------- */
.c-faq {
    background: var(--bg);
}

.faq-list {
    display: grid;
    gap: .8rem;
    margin-top: 2.5rem;
}

.faq-item {
    background: var(--surface);
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}

.faq-item.open {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: left;
    border: 0;
    background: none;
    padding: 1.2rem 1.6rem;
    color: var(--heading);
    font-family: var(--font-display);
    font-variation-settings: "wdth" 66;
    font-weight: 750;
    font-size: 1.3rem;
}

.faq-q .ico {
    flex-shrink: 0;
    color: var(--heading);
    transition: transform .35s;
    font-size: .9rem;
}

.faq-item.open .faq-q .ico {
    transform: rotate(45deg);
    color: var(--accent-text);
}

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s ease;
}

.faq-item.open .faq-a {
    grid-template-rows: 1fr;
}

.faq-a>div {
    overflow: hidden;
}

.faq-a p {
    padding: 0 1.6rem 1.4rem;
    color: var(--muted);
    font-size: .95rem;
}

/* ---------- Contact ---------- */
.find-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.find-item .ico {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    transition: transform .3s;
}

html.dark .find-item .ico {
    background: var(--secondary);
    color: var(--on-secondary);
}

.find-item:hover .ico {
    transform: scale(1.08) rotate(-8deg);
}

.find-item strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    color: var(--heading);
    font-size: 1.05rem;
    font-weight: 600;
}

.find-item span {
    font-size: .87rem;
    color: var(--muted);
}

.field {
    width: 100%;
    padding: .95rem 1.1rem;
    border-radius: .7rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--heading);
    font: inherit;
    font-size: .92rem;
    transition: border-color .25s, box-shadow .25s;
}

.field::placeholder {
    color: var(--muted);
}

.field:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

.field.invalid {
    border-color: var(--danger);
}

textarea.field {
    resize: vertical;
    min-height: 8rem;
}

.form-msg {
    font-size: .88rem;
    margin-top: .75rem;
    min-height: 1.3rem;
}

.form-msg.ok {
    color: var(--success);
}

.form-msg.err {
    color: var(--danger);
}

.map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
    width: 100%;
    height: 26rem;
    border: 0;
    display: block;
}

html.dark .map-wrap iframe {
    filter: invert(.9) hue-rotate(180deg) saturate(.6);
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: transform .35s, box-shadow .35s;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.info-card .ico {
    width: 3.6rem;
    height: 3.6rem;
    margin: 0 auto;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    background: var(--gradient);
    color: #fff;
    font-size: 1.2rem;
}

.info-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1rem;
}

.info-card a,
.info-card p {
    font-size: .9rem;
    color: var(--muted);
}

.info-card a:hover {
    color: var(--accent-text);
}

/* ---------- Page banner (inner pages) ---------- */
.page-hero .hero-content {
    padding-block: 10rem 4.5rem;
    text-align: center;
}

.breadcrumb {
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    font-size: .9rem;
    color: var(--on-dark-muted);
    margin-top: 1rem;
}

.breadcrumb a:hover {
    color: #fff;
}

/* ---------- Footer (client design: rounded dark card, 4 columns) ---------- */
.footer-wrap {
    padding-block: 2rem;
}

.footer {
    background: var(--dark-2);
    color: var(--on-dark-muted);
    border-radius: var(--radius-lg);
    padding: 3.75rem 3.25rem 2.5rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

@media (max-width: 767px) {
    .footer {
        padding: 2.75rem 1.5rem 1.75rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.3fr 1fr 1.3fr 1.5fr;
    gap: 2.5rem;
}

@media (max-width: 1023px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer .logo img {
    height: 3.8rem;
}

.f-brand p {
    margin-top: 1.4rem;
    max-width: 20rem;
    color: #fff;
    opacity: .9;
    line-height: 1.6;
    font-size: .97rem;
}

.footer h4 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
}

.footer ul {
    display: grid;
    gap: 0.8rem;
    font-size: .97rem;
}

.footer ul a {
    color: #fff;
    opacity: .92;
    transition: color .25s, opacity .25s, padding-left .25s;
}

.footer ul a:hover {
    color: var(--accent-on-dark);
    opacity: 1;
    padding-left: .3rem;
}

.f-news p {
    color: #fff;
    opacity: .9;
    font-size: .88rem;
    line-height: 1.55;
}

.news-form {
    display: flex;
    margin-top: 2.6rem;
    background: rgba(255, 255, 255, .06);
    border-radius: .6rem;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color .25s;
}

.news-form:focus-within {
    border-color: color-mix(in srgb, var(--secondary) 70%, transparent);
}

.news-form input {
    flex: 1;
    min-width: 0;
    background: none;
    border: 0;
    color: #fff;
    padding: .85rem 1rem;
    font: inherit;
    font-size: .95rem;
}

.news-form input::placeholder {
    color: var(--on-dark-muted);
    opacity: .6;
}

.news-form input:focus {
    outline: none;
}

.news-form button {
    border: 0;
    width: 2.9rem;
    flex-shrink: 0;
    background: var(--secondary);
    color: var(--on-secondary);
    transition: background-color .25s;
}

.news-form button:hover {
    background: var(--secondary-hover);
    color: var(--on-secondary);
}

.footer-bottom {
    margin-top: 4.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    font-size: .95rem;
    color: #fff;
    opacity: .95;
}

.footer-bottom a {
    color: var(--accent-text);
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-left: .25rem;
}

html.dark .footer-bottom a {
    color: var(--primary-text);
}

/* ---------- Back to top ---------- */
#toTop {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 40;
    width: 3rem;
    height: 3rem;
    border-radius: .8rem;
    border: 0;
    background: var(--gradient);
    color: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity .3s, transform .3s;
}

#toTop.show {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
    opacity: 0;
    transition: opacity .8s ease, transform .8s cubic-bezier(.22, .8, .25, 1);
    transform: translateY(36px);
}

[data-reveal="left"] {
    transform: translateX(-46px);
}

[data-reveal="right"] {
    transform: translateX(46px);
}

[data-reveal="zoom"] {
    transform: scale(.92);
}

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Small-screen tweaks ---------- */
@media (max-width: 480px) {
    .chips.grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .q-total small {
        white-space: nowrap;
    }
}

@media (max-width: 1023px) {
    .line-art {
        display: none;
    }

    .c-about-media {
        padding: 0 3rem 4rem 0;
    }
}

/* About: cleaner line-art, pinned to the bottom-right corner of the section */
.c-about {
    overflow: hidden;
}

/* Line drawings are drawn with a CSS mask, so their colour comes from
   --line-art in theme.css (light: soft grey-purple, dark: #34234b). */
.line-art-mask {
    /* wrapper: position, size, mirror. The drawing itself is on the .art-l layers */
    position: absolute;
    right: -3%;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
    display: block;
    opacity: var(--line-art-opacity);
    transform: scaleX(-1);
    /* mirrored: faces right → left */
}

.about-art {
    width: min(46rem, 52vw);
    aspect-ratio: 852 / 400;
}

@media (max-width: 1023px) {
    .about-art {
        width: 90vw;
    }
}

/* FAQ image + brand purple tint (follows --secondary / --primary from theme.css) */
.faq-img {
    aspect-ratio: 1.1 / 1;
}

.faq-img img {
    object-position: 50% 45%;
}

.tint-img {
    isolation: isolate;
}

.tint-img::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--secondary) 0%, var(--primary) 100%);
    mix-blend-mode: color;
    opacity: .78;
}

.tint-img::after {
    z-index: 2;
}

.c-faq .notch-img::after {
    background: var(--bg);
}

.c-about-media.revealed {
    top: -4rem;
}

/* ---------- Logo: separate icon + live text (crisp, readable on dark) ---------- */
.logo {
    gap: .75rem;
    color: #fff;
    text-decoration: none;
}

.logo img {
    height: 3.1rem;
    width: auto;
    flex-shrink: 0;
    transition: height .45s var(--ease-dock, ease), transform .5s ease;
}

.logo:hover img {
    transform: rotate(-12deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text strong {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: .12em;
    color: #fff;
    transition: font-size .45s var(--ease-dock, ease);
}

.logo-text small {
    margin-top: .35rem;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--accent-on-dark);
    white-space: nowrap;
    transition: font-size .45s var(--ease-dock, ease);
}

.site-header.is-stuck .logo img {
    height: 2.5rem;
}

.site-header.is-stuck .logo-text strong {
    font-size: 1.3rem;
}

.site-header.is-stuck .logo-text small {
    font-size: .75rem;
}

.footer .logo img {
    height: 3.6rem;
}

.footer .logo-text strong {
    font-size: 1.75rem;
}

.footer .logo-text small {
    font-size: .62rem;
}

@media (max-width: 480px) {
    .logo img {
        height: 2.6rem;
    }

    .logo-text strong {
        font-size: 1.25rem;
    }

    .logo-text small {
        font-size: .5rem;
        letter-spacing: .16em;
    }
}

/* Pricing: short description + "Starting at" label */
.p-desc {
    margin-top: .5rem;
    color: var(--muted);
    font-size: .92rem;
}

.p-card.featured .p-desc {
    color: rgba(255, 255, 255, .85);
}

.p-price--from {
    flex-wrap: wrap;
}

.p-from {
    flex-basis: 100%;
    margin-bottom: .35rem;
    font-family: 'Inter', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.p-card.featured .p-from {
    color: var(--primary);
    opacity: .75;
}

/* =====================================================================
   RESPONSIVE FIXES
   ===================================================================== */
/* Quote chips: never wrap the label ("One-Time", "Fortnightly") */
.chip {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .quote-card .chips.grid-cols-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Phones: keep logo + theme + menu buttons inside the header */
@media (max-width: 767px) {
    .dock-in {
        padding: .85rem 1rem;
    }

    .nav-actions {
        gap: .4rem;
    }

    .icon-btn {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 420px) {
    .logo {
        gap: .5rem;
    }

    .logo img {
        height: 2.3rem;
    }

    .logo-text strong {
        font-size: 1.1rem;
        letter-spacing: .1em;
    }

    .logo-text small {
        font-size: .44rem;
        letter-spacing: .1em;
    }

    .site-header.is-stuck .logo img {
        height: 2.1rem;
    }

    .site-header.is-stuck .logo-text strong {
        font-size: 1.05rem;
    }

    .site-header.is-stuck .logo-text small {
        font-size: .42rem;
    }
}

/* About: tilted photo stays inside the screen on phones */
@media (max-width: 640px) {
    .c-about-media {
        padding: 0 2rem 3.5rem 0;
    }

    .c-about-tilt {
        width: 46%;
        animation: none;
        transform: rotate(7deg);
        border-width: 4px;
    }
}

/* Testimonials: counter stacks instead of squeezing the text */
@media (max-width: 560px) {
    .t-counter {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
    }

    .t-counter strong {
        font-size: 3.2rem;
    }
}

/* Pricing: 2 columns on tablets, featured card full width on top */
@media (min-width: 640px) and (max-width: 1023px) {
    .p-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: none;
    }

    .p-card.featured {
        grid-column: 1 / -1;
        order: -1;
    }
}

/* =====================================================================
   MOTION (used by assets/js/motion.js – GSAP + Lenis)
   ===================================================================== */
/* masked words for heading reveals */
.w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: .06em .03em .22em;
    margin: -.06em -.03em -.22em;
}

.wi {
    display: inline-block;
    will-change: transform;
}

.sw {
    transition: none;
}

/* hide hero text until the entrance timeline starts (removed by JS, 2.5s fallback) */
html.pre .hero h1,
html.pre .hero .hero-tagline,
html.pre .hero .hero-text,
html.pre .hero .hero-badges,
html.pre .hero .hero-content .btn,
html.pre .hero .quote-card,
html.pre .hero .breadcrumb,
html.pre .site-header .dock-in {
    visibility: hidden;
}

/* when GSAP runs it owns these animations */
html.gsap-on [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none !important;
}

html.gsap-on .hero-bg img {
    animation: none;
    transform-origin: 50% 30%;
}

html.gsap-on .c-about-tilt {
    animation: none;
}

/* Lenis smooth scroll */
html.lenis,
html.lenis body {
    height: auto;
}

html.lenis {
    scroll-behavior: auto !important;
}

/* Lenis does the smoothing; CSS smooth-scroll would fight it */
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* parallax images are scaled up – keep them inside their rounded frame */
.notch-img {
    /* clip the (parallax-scaled) photo to the card shape, but leave the notched
       corner square: the notch cover then hides it completely, so no thin arc or
       edge line of the photo shows through on dark backgrounds */
    overflow: hidden;
    border-radius: var(--radius-lg) 0 var(--radius-lg) var(--radius-lg);
    isolation: isolate;
}

.notch-img.notch-bl {
    border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 0;
}

/* Why Choosing Us: vacuum line-art in the bottom-right corner of the section, facing left */
.why-sec {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.why-art {
    width: min(26rem, 32vw);
    aspect-ratio: 461 / 276;
}

@media (max-width: 1023px) {
    .why-art {
        width: 55vw;
    }
}

/* ---- Teal theme: text on dark-purple hovers must be white again ---- */
.p-btn:hover,
.btn-pill--alt:hover {
    color: #fff;
}

html.dark .p-btn:hover,
html.dark .btn-pill--alt:hover {
    color: var(--on-secondary);
}

/* white icon circles: icon in deep purple (teal on white is too faint) */
.btn-pill:hover .ic,
.btn-pill--alt .ic {
    color: var(--primary);
}

/* teal text on light backgrounds uses the darker, readable teal */
.eyebrow::before {
    color: var(--accent-text);
}

/* =====================================================================
   SMOOTH HOVER FOR EVERY BUTTON
   One shared easing + duration so every hover (colour, border, lift,
   shadow) glides instead of snapping.
   ===================================================================== */
:root {
    --hover-ease: cubic-bezier(.22, .8, .25, 1);
    --hover-dur: .4s;
}

.btn,
.btn-pill,
.arrow-btn,
.p-btn,
.icon-btn,
.chip,
.billing button,
.news-form button,
#toTop,
.faq-q,
.find-item .ico,
.theme-toggle {
    transition-property: background-color, color, border-color, box-shadow, transform, opacity, border-radius;
    transition-duration: var(--hover-dur);
    transition-timing-function: var(--hover-ease);
}

.btn i,
.btn-pill .ic,
.arrow-btn i,
.faq-q .ico {
    transition: transform var(--hover-dur) var(--hover-ease), background-color var(--hover-dur) var(--hover-ease), color var(--hover-dur) var(--hover-ease);
}

.arrow-btn:hover {
    transform: translateY(-2px);
}

.arrow-btn:active,
.btn:active,
.btn-pill:active,
.p-btn:active {
    transform: translateY(0) scale(.97);
}

/* same corner fix for the rounded CTA banner and footer card */
.cta,
.footer {
    clip-path: inset(0 round var(--radius-lg));
}

/* Home hero: fixed 680px tall on desktop (contact page banner keeps its own size).
   The Instant Quote card still overlaps the bottom edge, as before. */
@media (min-width: 1024px) {
    .hero:not(.page-hero) {
        height: 680px;
        min-height: 0;
    }

    .hero:not(.page-hero) .hero-content {
        padding-top: 8.5rem;
        padding-bottom: 3rem;
    }
}

.notch-img img {
    border-radius: 0;
}

/* the card itself rounds the corners */

/* Marquee icon = new logo icon: ring follows the text colour, leaf + sparkle stay brand teal */
.mq-leaf,
.mq-ico use {
    fill: var(--secondary);
}

.mq-ico {
    overflow: visible;
}

.rev .mq-ico {
    color: rgba(255, 255, 255, .55);
    opacity: .6;
}

/* What Clients Say: transparent Australia outline over the dot pattern */
.c-testi {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.c-testi-media,
.c-testi-body {
    position: relative;
    z-index: 1;
}

.aus-map {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    left: 50%;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
    opacity: .16;
}

.aus-map pattern circle {
    fill: var(--secondary);
}

.aus-land path {
    stroke: none;
}

.aus-pin {
    fill: var(--secondary);
    stroke: none;
}

.aus-map .aus-pin,
.aus-map .aus-pin-ring {
    opacity: 1;
}

.aus-pin-ring {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 3;
    transform-box: fill-box;
    transform-origin: center;
    animation: aus-ping 2.4s ease-out infinite;
}

@keyframes aus-ping {
    from {
        transform: scale(1);
        opacity: .9;
    }

    to {
        transform: scale(3.2);
        opacity: 0;
    }
}

html.dark .aus-map {
    opacity: .25;
}

html.dark .aus-map pattern circle {
    fill: var(--secondary);
}

@media (max-width: 1023px) {
    .aus-map {
        left: 0;
        width: 100%;
        top: auto;
        height: 55%;
        padding: 0;
        opacity: .16;
    }
}

/* footer: brand | quick links | newsletter */
.footer-grid {
    grid-template-columns: 2.4fr 1.2fr 1.6fr;
}

@media (max-width: 1023px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .f-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
   ANIMATED LINE-ART: the whole drawing (cleaner + broom/vacuum) glides
   left and right as if cleaning across the floor; dust specks travel with it.
   ===================================================================== */
.line-art-mask .art-mv {
    position: absolute;
    inset: 0;
    will-change: transform;
}

.about-art .art-mv {
    animation: art-glide 6s ease-in-out infinite;
}

.why-art .art-mv {
    animation: art-glide 4.8s ease-in-out infinite;
}

/* the drawing is mirrored, so +X moves it LEFT on screen and −X moves it right */
@keyframes art-glide {

    0%,
    100% {
        transform: translateX(-8%);
    }

    50% {
        transform: translateX(6%);
    }
}

.line-art-mask .art-l {
    position: absolute;
    inset: 0;
    background-color: var(--line-art);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

/* dust specks lifting off the floor where it's being cleaned */
.line-art-mask .dust {
    position: absolute;
    left: var(--dx);
    top: var(--dy);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0;
    animation: art-dust 2.8s ease-out infinite;
    animation-delay: var(--d);
}

@keyframes art-dust {
    0% {
        opacity: 0;
        transform: translate(0, 0) scale(.6);
    }

    20% {
        opacity: .9;
    }

    100% {
        opacity: 0;
        transform: translate(-14px, -34px) scale(1.2);
    }
}

@media (prefers-reduced-motion: reduce) {

    .line-art-mask .art-mv,
    .line-art-mask .dust {
        animation: none;
    }
}
/* =====================================================================
   QUOTE: hero button + quote.html form
   ===================================================================== */
.quote-card .q-go { width: 100%; margin-top: 1.5rem; padding-block: 1rem; font-size: 1rem; }
.quote-card .q-note { text-align: center; }
.q-form-card { padding: 2.25rem; }
@media (max-width: 640px) { .q-form-card { padding: 1.5rem; } }
.q-step { display: flex; align-items: center; gap: .7rem; font-size: 1.15rem; margin: .5rem 0 .25rem; }
.quote-form .q-step:not(:first-child) { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--border); }
.q-step span {
    width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; font-size: .85rem;
    background: var(--secondary); color: var(--on-secondary);
}
.q-date { display: grid; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--heading); }
.quote-form select.field { appearance: auto; }
.q-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.q-actions .form-msg { margin: 0; }
.q-actions .btn:disabled { opacity: .6; pointer-events: none; }

/* =====================================================================
   404 PAGE
   ===================================================================== */
.page-hero .nf { padding-block: 9.5rem 5rem; }
.hero h1.nf-code {
    display: flex; align-items: center; justify-content: center; gap: .1em;
    font-family: var(--font-display); font-variation-settings: "wdth" 80; font-weight: 900;
    font-size: clamp(6rem, 16vw, 11rem); line-height: .9; color: #fff; margin-top: .5rem;
}
.nf-o { display: inline-grid; place-items: center; width: .82em; height: .82em; }
.nf-o img { width: 100%; height: auto; animation: nf-spin 9s linear infinite; }
@keyframes nf-spin { to { transform: rotate(360deg); } }
.hero .nf-title { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-top: 1.25rem; }
.nf-text { color: var(--on-dark-muted); max-width: 34rem; margin: .75rem auto 0; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.nf-links { padding-bottom: 9rem; }
a.info-card { display: block; }
a.info-card:hover h3 { color: var(--accent-text); }
@media (prefers-reduced-motion: reduce) { .nf-o img { animation: none; } }

/* =====================================================================
   MOBILE FIXES
   ===================================================================== */
/* never let anything make the page scroll sideways (phones zoom/pan when it does) */
html { overflow-x: hidden; }
body { max-width: 100%; }
/* grid children may shrink below their content width (stops long words / chip rows
   from stretching a column wider than the screen) */
.grid > *, .hero-content > * { min-width: 0; }
@media (max-width: 1023px) {
    .hero-content { grid-template-columns: minmax(0, 1fr); }
}
