/* ==========================================================================
   Clearline Pressure Washing — sample site for royawebsiting
   Dark, high-contrast and technical: Space Grotesk display, Inter text,
   square corners, one electric aqua doing all the pointing.
   ========================================================================== */

@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/space-grotesk.woff2') format('woff2-variations');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #051622;
    --deep: #0A2233;
    --steel: #13405C;
    --slate: #2C5C7A;
    --aqua: #17A2C6;
    --bright: #4FD8EE;
    --aqua-ink: #0B6E8A;
    --foam: #E8F6FA;
    --pale: #CFE6EF;
    --paper: #F2F8FB;
    --white: #FFFFFF;
    --muted: #5B7284;
    --muted-dark: #8FAEC1;
    --line: #DCE7ED;
    --line-dark: rgba(232, 246, 250, .16);
    --warn: #E4703A;

    --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --text: 'Inter', system-ui, -apple-system, sans-serif;

    --step--1: clamp(.8rem, .78rem + .1vw, .86rem);
    --step-0: clamp(1rem, .97rem + .14vw, 1.06rem);
    --step-1: clamp(1.1rem, 1.03rem + .32vw, 1.3rem);
    --step-2: clamp(1.35rem, 1.15rem + .8vw, 1.85rem);
    --step-3: clamp(1.8rem, 1.4rem + 1.7vw, 2.85rem);
    --step-4: clamp(2.3rem, 1.6rem + 3vw, 4rem);
    --step-5: clamp(2.7rem, 1.8rem + 3.6vw, 4.9rem);

    --gutter: clamp(1.15rem, 4vw, 3rem);
    --section: clamp(4rem, 8vw, 7rem);
    --maxw: 1200px;
    --r: 6px;
    --r-lg: 10px;
    --shadow: 0 2px 6px rgba(5, 22, 34, .1), 0 18px 40px -22px rgba(5, 22, 34, .5);
    --shadow-lg: 0 4px 10px rgba(5, 22, 34, .14), 0 40px 70px -30px rgba(5, 22, 34, .7);
}

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 var(--step-0)/1.62 var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; }
::selection { background: var(--bright); color: var(--ink); }

h1, h2, h3, .display {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.03em;
}

/* One long unbreakable token (an email) can otherwise widen a whole column. */
.split > *, .hero-in > *, .foot-top > * { min-width: 0; }
.val, .foot a, .rev blockquote { overflow-wrap: anywhere; }

/* --------------------------------------------------------------- utilities */

.wrap { width: min(100% - var(--gutter) * 2, var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
    position: absolute; left: 1rem; top: -100px; z-index: 200;
    background: var(--bright); color: var(--ink); padding: .8rem 1.2rem;
}
.skip:focus { top: 1rem; }

.tag {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--display); font-size: var(--step--1); font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase; color: var(--aqua-ink);
}
.tag::before {
    content: ''; width: 8px; height: 8px; background: var(--aqua);
    flex: none; transform: rotate(45deg);
}
.on-dark .tag, .tag.light { color: var(--bright); }
.tag.light::before { background: var(--bright); }

.head { max-width: 42ch; }
.head h2 { font-size: var(--step-3); margin-block: .8rem .9rem; }
.head p { color: var(--muted); font-size: var(--step-1); }
.on-dark .head h2 { color: var(--white); }
.on-dark .head p { color: var(--muted-dark); }

/* ---------------------------------------------------------------- buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: .55rem; min-height: 52px; padding: .85rem 1.5rem;
    border: 2px solid transparent; border-radius: var(--r);
    font-family: var(--display); font-weight: 600; font-size: var(--step-0);
    letter-spacing: -.01em; text-decoration: none; cursor: pointer;
    white-space: nowrap; transition: background-color .16s, color .16s,
                border-color .16s, transform .16s, box-shadow .16s;
}
.btn:active { transform: translateY(1px); }
.btn-aqua { background: var(--bright); color: var(--ink); }
.btn-aqua:hover { background: var(--white); }
.btn-solid { background: var(--deep); color: var(--foam); }
.btn-solid:hover { background: var(--ink); }
.btn-line { background: transparent; border-color: var(--line-dark); color: var(--foam); }
.btn-line:hover { border-color: var(--bright); color: var(--bright); }
.btn-line-dark { background: transparent; border-color: rgba(5, 22, 34, .2); color: var(--ink); }
.btn-line-dark:hover { border-color: var(--deep); background: rgba(5, 22, 34, .04); }
.btn .ic { width: 18px; height: 18px; flex: none; }

/* ------------------------------------------------------------- demo strip */

.demo-strip {
    background: var(--ink); color: var(--pale); font-size: var(--step--1);
    padding: .55rem 0; position: relative; z-index: 120;
}
.demo-strip .wrap {
    display: flex; flex-wrap: wrap; gap: .3rem 1rem;
    align-items: center; justify-content: center; text-align: center;
}
.demo-strip b { color: var(--white); font-weight: 600; }
.demo-strip a { color: var(--bright); font-weight: 600; text-underline-offset: .22em; }

/* ----------------------------------------------------------------- header */

.header {
    position: sticky; top: 0; z-index: 110;
    background: rgba(10, 34, 51, .82);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background-color .25s, border-color .25s;
    color: var(--foam);
}
.header.is-stuck { background: rgba(5, 22, 34, .96); border-bottom-color: var(--line-dark); }
.header-in { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
    font-family: var(--display); font-weight: 700; font-size: 1.16rem;
    letter-spacing: -.03em; color: var(--white);
}
.brand-name em { font-style: normal; color: var(--bright); }
.brand-sub {
    font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--muted-dark); font-weight: 600;
}
.nav { margin-left: auto; display: none; gap: .2rem; }
.nav a {
    padding: .55rem .8rem; text-decoration: none; font-size: .93rem;
    font-weight: 500; color: var(--pale); border-radius: var(--r);
    transition: color .16s, background-color .16s;
}
.nav a:hover { color: var(--bright); background: rgba(79, 216, 238, .1); }
.header-cta { display: none; align-items: center; gap: .9rem; }
.header-tel {
    display: inline-flex; align-items: center; gap: .45rem;
    font-family: var(--display); font-weight: 600; text-decoration: none;
    font-size: .95rem; color: var(--white);
}
.header-tel .ic { width: 17px; height: 17px; color: var(--bright); }
.burger {
    margin-left: auto; width: 46px; height: 46px; display: grid;
    place-items: center; background: transparent;
    border: 1px solid var(--line-dark); border-radius: var(--r); cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--foam); position: relative; }
.burger span::before, .burger span::after {
    content: ''; position: absolute; left: 0; width: 20px; height: 2px;
    background: var(--foam); transition: transform .25s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; background: var(--ink); padding: .6rem 0 1.4rem; }
.mobile-nav.open { display: block; }
.mobile-nav a {
    display: block; padding: .85rem .2rem; text-decoration: none;
    font-size: 1.06rem; color: var(--foam); border-bottom: 1px solid var(--line-dark);
}
.mobile-nav .btn { width: 100%; margin-top: 1.2rem; }

/* ------------------------------------------------------------------- hero */

.hero {
    position: relative; background: var(--deep); color: var(--foam);
    overflow: hidden; margin-top: -72px; padding-top: 72px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(105deg, rgba(5, 22, 34, .94) 0%, rgba(5, 22, 34, .82) 38%, rgba(5, 22, 34, .22) 72%, rgba(5, 22, 34, .38) 100%),
        linear-gradient(to top, rgba(5, 22, 34, .85), rgba(5, 22, 34, 0) 45%);
}
.hero-in {
    position: relative; z-index: 2;
    padding-block: clamp(3.5rem, 10vw, 8rem) clamp(3rem, 8vw, 6.5rem);
    display: grid; gap: 2.5rem;
}
.hero-copy { max-width: 30ch; }
.hero h1 { font-size: var(--step-5); color: var(--white); margin-block: 1rem 1.3rem; }
.hero h1 em { font-style: normal; color: var(--bright); }
.hero-lede { font-size: var(--step-1); color: var(--pale); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-trust {
    display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2.2rem;
    padding-top: 1.4rem; border-top: 1px solid var(--line-dark);
    font-size: var(--step--1); color: var(--pale);
}
.hero-trust li { display: flex; align-items: center; gap: .45rem; }
.hero-trust .ic { width: 16px; height: 16px; color: var(--bright); flex: none; }

/* -------------------------------------------------------------- stat band */

.stats { background: var(--bright); color: var(--ink); }
.stats-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    padding-block: clamp(2rem, 4vw, 2.8rem);
}
.stat { padding: .9rem 1rem; text-align: center; }
.stat .n {
    font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1; letter-spacing: -.04em;
}
.stat .l {
    font-size: var(--step--1); margin-top: .4rem; font-weight: 500;
    color: rgba(5, 22, 34, .68);
}

/* --------------------------------------------------------------- surfaces */

.surf-grid {
    display: grid; gap: 1px; background: var(--line);
    margin-top: clamp(2rem, 4vw, 3rem);
    border: 1px solid var(--line);
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.surf {
    background: var(--white); padding: 1.9rem 1.7rem;
    display: flex; flex-direction: column;
    transition: background-color .2s;
}
.surf:hover { background: var(--foam); }
.surf-ic {
    width: 46px; height: 46px; display: grid; place-items: center;
    background: var(--deep); color: var(--bright); margin-bottom: 1.2rem;
    border-radius: var(--r);
}
.surf-ic svg { width: 24px; height: 24px; }
.surf h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.surf p { color: var(--muted); font-size: .94rem; }
.surf .from {
    margin-top: 1.3rem; font-family: var(--display); font-size: .88rem;
    color: var(--aqua-ink); font-weight: 600; letter-spacing: -.01em;
}

/* --------------------------------------------------------- before / after */

.compare { background: var(--deep); color: var(--foam); }
.ba-shell { margin-top: clamp(2rem, 4vw, 3rem); }
.ba {
    --pos: 50%;
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); touch-action: pan-y; user-select: none;
    background: var(--ink);
}
.ba > img { width: 100%; }
.ba-after {
    position: absolute; inset: 0;
    clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}
.ba-after img { width: 100%; height: 100%; object-fit: cover; }
.ba-line {
    position: absolute; top: 0; bottom: 0; left: var(--pos, 50%);
    width: 3px; background: var(--bright); transform: translateX(-1.5px);
    pointer-events: none;
}
.ba-grip {
    position: absolute; top: 50%; left: var(--pos, 50%);
    width: 52px; height: 52px; margin: -26px 0 0 -26px;
    border-radius: 50%; background: var(--bright); color: var(--ink);
    display: grid; place-items: center; pointer-events: none;
    box-shadow: 0 6px 20px rgba(5, 22, 34, .5);
}
.ba-grip svg { width: 24px; height: 24px; }
.ba-pill {
    position: absolute; top: 1rem; font-family: var(--display);
    font-size: .74rem; font-weight: 600; letter-spacing: .18em;
    text-transform: uppercase; padding: .4rem .8rem; border-radius: 999px;
    pointer-events: none;
}
.ba-pill.a { left: 1rem; background: var(--bright); color: var(--ink); }
.ba-pill.b { right: 1rem; background: rgba(5, 22, 34, .82); color: var(--pale); }
.ba-range {
    position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0;
    cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none;
    background: transparent;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100%; }
.ba-range::-moz-range-thumb { width: 60px; height: 400px; border: 0; opacity: 0; }
.ba-hint {
    margin-top: 1rem; font-size: .88rem; color: var(--muted-dark);
    display: flex; align-items: center; gap: .5rem; justify-content: center;
}
.ba-hint svg { width: 16px; height: 16px; color: var(--bright); }

/* ---------------------------------------------------------------- process */

.steps {
    display: grid; gap: 1px; background: var(--line);
    margin-top: clamp(2rem, 4vw, 3rem); border: 1px solid var(--line);
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.step { background: var(--white); padding: 2rem 1.7rem; }
.step .n {
    font-family: var(--display); font-size: 2.6rem; font-weight: 700;
    line-height: 1; letter-spacing: -.05em;
    color: transparent; -webkit-text-stroke: 1.6px var(--aqua);
    margin-bottom: 1.2rem;
}
.step h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------------------------------------------------------------- gallery */

.work { background: var(--ink); color: var(--foam); }
.work-grid {
    display: grid; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem);
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.shot {
    position: relative; overflow: hidden; border-radius: var(--r-lg);
    background: var(--deep); border: 1px solid var(--line-dark);
}
.shot img { width: 100%; transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.shot:hover img { transform: scale(1.05); }
.shot figcaption {
    position: absolute; inset: auto 0 0 0; padding: 2.8rem 1.2rem 1.1rem;
    background: linear-gradient(to top, rgba(5, 22, 34, .94) 20%, rgba(5, 22, 34, .5) 60%, transparent);
}
.shot figcaption b {
    display: block; font-family: var(--display); font-size: 1.08rem;
    color: var(--white);
}
.shot figcaption span { font-size: .84rem; color: var(--muted-dark); }

/* ---------------------------------------------------------------- pricing */

.price-grid {
    display: grid; gap: 1.1rem; margin-top: clamp(2rem, 4vw, 3rem);
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    align-items: start;
}
.pack {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 2rem 1.75rem;
    display: flex; flex-direction: column; height: 100%;
}
.pack.hot {
    background: var(--deep); color: var(--foam); border-color: var(--deep);
    box-shadow: var(--shadow-lg); position: relative;
}
.pack-tag {
    position: absolute; top: -12px; left: 1.75rem;
    background: var(--bright); color: var(--ink);
    font-family: var(--display); font-size: .68rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    padding: .3rem .7rem; border-radius: var(--r);
}
.pack h3 { font-size: var(--step-1); }
.pack .sub { font-size: .9rem; color: var(--muted); margin-top: .3rem; }
.pack.hot .sub { color: var(--muted-dark); }
.pack .amt {
    font-family: var(--display); font-weight: 700; font-size: 2.9rem;
    line-height: 1; letter-spacing: -.045em; margin-block: 1.3rem .3rem;
}
.pack.hot .amt { color: var(--bright); }
.pack .per { font-size: .88rem; color: var(--muted); }
.pack.hot .per { color: var(--muted-dark); }
.pack ul { margin-block: 1.5rem; display: grid; gap: .6rem; }
.pack li { display: flex; gap: .6rem; font-size: .93rem; align-items: flex-start; }
.pack li svg { width: 17px; height: 17px; flex: none; margin-top: .22em; color: var(--aqua); }
.pack.hot li svg { color: var(--bright); }
.pack .btn { width: 100%; margin-top: auto; }
.price-note { margin-top: 1.5rem; color: var(--muted); font-size: .9rem; }

/* ---------------------------------------------------------------- reviews */

.rev-grid {
    display: grid; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem);
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
}
.rev {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 1.8rem 1.6rem;
    display: flex; flex-direction: column;
}
.stars { display: flex; gap: .12rem; color: var(--aqua); margin-bottom: 1rem; }
.stars svg { width: 17px; height: 17px; }
.rev blockquote { font-size: 1.02rem; line-height: 1.58; flex: 1; }
.rev figcaption {
    margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line);
    display: flex; align-items: center; gap: .75rem;
}
.rev figcaption > span:last-child { display: block; }
.avatar {
    width: 40px; height: 40px; border-radius: var(--r); display: grid;
    place-items: center; background: var(--deep); color: var(--bright);
    font-family: var(--display); font-weight: 700; font-size: .9rem; flex: none;
}
.rev figcaption b { display: block; font-size: .94rem; }
.rev figcaption span { font-size: .83rem; color: var(--muted); }

/* ------------------------------------------------------ area + guarantee */

.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.town-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin-top: 1.7rem; }
.town {
    display: flex; align-items: center; gap: .55rem; padding: .7rem .85rem;
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--r); font-size: .93rem; font-weight: 500;
}
.town svg { width: 15px; height: 15px; color: var(--aqua); flex: none; }
.promise {
    background: var(--deep); color: var(--foam); border-radius: var(--r-lg);
    padding: clamp(1.8rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
.promise h3 { font-size: var(--step-2); color: var(--white); }
.promise p { color: var(--muted-dark); margin-top: .8rem; }
.promise ul { margin-top: 1.5rem; display: grid; gap: .7rem; }
.promise li { display: flex; gap: .7rem; font-size: .95rem; }
.promise li svg { width: 18px; height: 18px; flex: none; margin-top: .2em; color: var(--bright); }

/* -------------------------------------------------------------------- faq */

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
    padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
    font-family: var(--display); font-size: var(--step-1); font-weight: 500;
    line-height: 1.35; letter-spacing: -.02em;
}
.faq-q::before, .faq-q::after {
    content: ''; position: absolute; right: .5rem; top: 50%;
    background: var(--aqua); transition: transform .28s ease;
}
.faq-q::before { width: 14px; height: 2px; margin-top: -1px; }
.faq-q::after { width: 2px; height: 14px; margin: -7px 6px 0 0; }
.faq-item.open .faq-q::after { transform: rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 1.4rem; color: var(--muted); max-width: 62ch; }

/* ------------------------------------------------------------------ quote */

.quote { background: var(--ink); color: var(--foam); }
.quote h2 { font-size: var(--step-3); color: var(--white); margin-block: .8rem .9rem; }
.quote-copy p { color: var(--muted-dark); font-size: var(--step-1); }
.contact-list { margin-top: 2rem; display: grid; gap: .7rem; }
.contact-list a {
    display: flex; align-items: center; gap: .85rem; text-decoration: none;
    padding: 1rem 1.1rem; border: 1px solid var(--line-dark);
    border-radius: var(--r); transition: border-color .2s, background-color .2s;
}
.contact-list a:hover { border-color: var(--bright); background: rgba(79, 216, 238, .07); }
.contact-list .ic {
    width: 38px; height: 38px; display: grid; place-items: center;
    background: rgba(79, 216, 238, .12); color: var(--bright);
    border-radius: var(--r); flex: none;
}
.contact-list .ic svg { width: 18px; height: 18px; }
.lbl { display: block; font-size: .76rem; color: var(--muted-dark); }
.val { display: block; font-family: var(--display); font-weight: 600; color: var(--white); }

.form-card {
    background: var(--white); color: var(--ink); border-radius: var(--r-lg);
    padding: clamp(1.5rem, 4vw, 2.3rem); box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; gap: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 48px; padding: .7rem .85rem;
    background: var(--paper); border: 1.5px solid var(--line);
    border-radius: var(--r); transition: border-color .16s, box-shadow .16s, background-color .16s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--aqua); background: var(--white);
    box-shadow: 0 0 0 4px rgba(23, 162, 198, .14);
}
.field select {
    appearance: none;
    background-image: url('../images/chevron.svg');
    background-repeat: no-repeat; background-position: right .95rem center;
    background-size: 12px; padding-right: 2.3rem;
}
.field .err { display: none; color: var(--warn); font-size: .82rem; margin-top: .35rem; font-weight: 500; }
.field.invalid input, .field.invalid select { border-color: var(--warn); }
.field.invalid .err { display: block; }
.form-foot { margin-top: 1.4rem; }
.form-foot .btn { width: 100%; }
.form-foot p { font-size: .82rem; color: var(--muted); margin-top: .8rem; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ----------------------------------------------------------------- footer */

.foot { background: var(--deep); color: var(--pale); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.foot-top { display: grid; gap: 2.2rem; padding-bottom: 2.5rem; }
.foot h4 {
    font-family: var(--display); font-size: .72rem; letter-spacing: .2em;
    text-transform: uppercase; color: var(--bright); margin-bottom: .9rem;
}
.foot li { padding: .28rem 0; }
.foot a { text-decoration: none; font-size: .94rem; color: var(--pale); }
.foot a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .22em; }
.foot-blurb { color: var(--muted-dark); max-width: 32ch; margin-top: 1rem; font-size: .94rem; }
.foot-bottom {
    border-top: 1px solid var(--line-dark); padding-block: 1.4rem;
    display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
    justify-content: space-between; align-items: center;
    font-size: .84rem; color: var(--muted-dark);
}
.foot-bottom a { color: var(--bright); font-size: .84rem; }
.built b { color: var(--white); font-weight: 600; }

/* ------------------------------------------------------------- mobile bar */

.callbar {
    position: fixed; inset: auto 0 0 0; z-index: 90;
    background: rgba(5, 22, 34, .97);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    display: grid; grid-template-columns: 1fr 1fr; gap: .55rem;
    padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-dark);
}
.callbar .btn { min-height: 46px; padding-inline: .7rem; font-size: .93rem; }
body { padding-bottom: 76px; }

/* -------------------------------------------------------------- thank you */

.ty { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.ty-inner { max-width: 560px; }
.ty-mark {
    width: 78px; height: 78px; margin: 0 auto 1.7rem; border-radius: var(--r-lg);
    display: grid; place-items: center; background: var(--bright); color: var(--ink);
}
.ty-mark svg { width: 38px; height: 38px; }
.ty h1 { font-size: var(--step-4); margin-bottom: 1rem; }
.ty p { color: var(--muted); font-size: var(--step-1); }
.ty .btn { margin-top: 1.9rem; }
.ty-next {
    margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid var(--line);
    display: grid; gap: 1rem; text-align: left;
}
.ty-next .row { display: flex; gap: 1rem; align-items: flex-start; }
.ty-next .n {
    width: 30px; height: 30px; flex: none; display: grid; place-items: center;
    background: var(--deep); color: var(--bright); font-family: var(--display);
    font-weight: 700; font-size: .84rem; border-radius: var(--r);
}
.ty-next b { display: block; }
.ty-next span { color: var(--muted); font-size: .93rem; }

/* ---------------------------------------------------------------- reveals */

.rise { opacity: 0; transform: translateY(20px); }
.rise.in { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .3, 1); }

/* ------------------------------------------------------------ breakpoints */

@media (min-width: 620px) {
    .form-grid { grid-template-columns: 1fr 1fr; }
    .field.wide { grid-column: 1 / -1; }
    .town-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .stat + .stat { border-left: 1px solid rgba(5, 22, 34, .16); }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .hero-in { grid-template-columns: 1.15fr .85fr; align-items: end; }
    .hero-copy { max-width: none; }
    .split { grid-template-columns: 1fr 1fr; }
    .quote .split { grid-template-columns: .9fr 1.1fr; }
    .faq-split { grid-template-columns: .8fr 1.2fr; }
    .foot-top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
    .ba-shell { width: min(100%, 980px); margin-inline: auto; }
}

@media (min-width: 1040px) {
    .nav { display: flex; }
    .header-cta { display: flex; }
    .burger { display: none; }
    .callbar { display: none; }
    body { padding-bottom: 0; }
    .work-grid { grid-template-columns: repeat(3, 1fr); }
    .surf-grid { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(4, 1fr); }
    .price-grid { grid-template-columns: repeat(3, 1fr); }
    .rev-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important; transition-duration: .001ms !important;
    }
    .rise { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- utilities
   These exist so the markup carries no inline style attributes — the site's
   Content-Security-Policy uses style-src 'self' with no 'unsafe-inline'. */
.u-h2 { font-size: var(--step-3); margin-block: .8rem .9rem; }
.u-lede { color: var(--muted); font-size: var(--step-1); }
.u-muted { color: var(--muted); }
.u-mt { margin-top: 1.8rem; }
.u-note { margin-top: 2.2rem; font-size: .92rem; }
.u-link { font-weight: 600; color: var(--aqua-ink); }
.u-push { margin-left: auto; }
.u-push-flex { margin-left: auto; display: flex; }
.u-static { position: static; }
.u-flat { border-top: 0; }
.u-tight { padding-top: 0; }
.u-w46 { max-width: 46ch; }
.u-band { background: var(--paper); border-block: 1px solid var(--line); }
.u-sand { background: var(--sand); }
.u-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
