/* ---------------------------------------------------------------
   Dossey's Studio LLC — dosseystudio.com
   Plain CSS, no framework, no build step.
   Edit the custom properties below to restyle the whole site.
   --------------------------------------------------------------- */

:root {
    --ink: #16181d;
    --ink-soft: #3d434c;
    --muted: #676e78;
    --bg: #ffffff;
    --bg-alt: #f7f6f3;
    --bg-deep: #14181f;
    --line: #e5e2dc;
    --accent: #b0501f;
    --accent-dark: #8d3f18;
    --accent-soft: #fbf1ea;
    --radius: 10px;
    --maxw: 1080px;
    --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--accent);
}

    a:hover {
        color: var(--accent-dark);
    }

a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: var(--radius);
    background: var(--bg-deep);
    color: #fff;
    text-decoration: none;
    transform: translateY(-150%);
}

.skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- typography ---------- */

h1, h2, h3 {
    line-height: 1.18;
    letter-spacing: -.021em;
    margin: 0 0 .5em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.1rem, 5vw, 3.3rem);
}

h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.15rem);
}

h3 {
    font-size: 1.14rem;
    letter-spacing: -.01em;
}

p {
    margin: 0 0 1.1em;
}

.lede {
    font-size: 1.16rem;
    color: var(--ink-soft);
    max-width: 60ch;
}

.eyebrow {
    display: inline-block;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .9em;
}

.section-intro {
    max-width: 62ch;
    margin-bottom: 2.6rem;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.93);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

    .site-header .wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        height: 68px;
        min-width: 0;
    }

.brand {
    font-weight: 700;
    font-size: 1.66rem;
    letter-spacing: -.02em;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    min-width: 0;
}

    .brand span {
        color: var(--accent);
    }

    .brand-logo {
        height: 2.75rem;
        width: 2.75rem;
        margin-right: 10px;
        vertical-align: middle;
        display: inline-block;
    }

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

    .nav a {
        color: var(--ink-soft);
        text-decoration: none;
        font-size: .95rem;
        font-weight: 500;
    }

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

    .nav .btn {
        color: #fff;
    }

    .nav .nav-phone {
        color: var(--ink);
        font-weight: 700;
        font-size: 1rem;
        white-space: nowrap;
    }

        .nav .nav-phone::before {
            content: "💬 ";
            font-size: .9em;
        }

        .nav .nav-phone:hover {
            color: var(--accent);
        }

.nav-phone-short {
    display: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: .97rem;
    border: 1px solid var(--accent);
    transition: background .15s ease, border-color .15s ease;
}

    .btn:hover {
        background: var(--accent-dark);
        border-color: var(--accent-dark);
        color: #fff;
    }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

    .btn-ghost:hover {
        background: var(--bg-alt);
        color: var(--ink);
        border-color: #d5d1c9;
    }

.btn-light {
    background: #fff;
    color: var(--bg-deep);
    border-color: #fff;
}

    .btn-light:hover {
        background: #efece7;
        color: var(--bg-deep);
        border-color: #efece7;
    }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 1.8rem;
}

/* ---------- sections ---------- */

section {
    padding: 88px 0;
}

    section.alt {
        background: var(--bg-alt);
        border-block: 1px solid var(--line);
    }

.hero {
    padding: 104px 0 96px;
}

    .hero h1 {
        max-width: 18ch;
    }

    .hero .lede {
        font-size: 1.24rem;
    }

.hero-meta {
    margin-top: 2.4rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .95rem;
    max-width: 52ch;
}

/* ---------- grids & cards ---------- */

.grid {
    display: grid;
    gap: 22px;
}

.grid-3 {
    grid-template-columns: repeat(3,1fr);
}

.grid-2 {
    grid-template-columns: repeat(2,1fr);
}

.card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
}

section.alt .card {
    background: #fff;
}

.card h3 {
    margin-bottom: .45em;
}

.card p:last-child {
    margin-bottom: 0;
}

.card p {
    color: var(--ink-soft);
    font-size: .99rem;
}

.num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 16px;
}

/* ---------- contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 52px;
    align-items: start;
}

.call-big {
    display: inline-block;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -.015em;
    color: var(--ink);
    text-decoration: none;
    margin: .1em 0;
    white-space: nowrap;
}

    .call-big:hover {
        color: var(--accent);
    }

.sms-chip {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 99px;
    padding: 4px 12px;
    margin-left: 10px;
    vertical-align: 6px;
}

.call-sub {
    color: var(--ink-soft);
    font-size: 1.02rem;
    max-width: 44ch;
}

.contact-side {
    color: var(--muted);
    font-size: .95rem;
}

.contact-form {
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
}

    .contact-form h3 {
        margin-bottom: 1.1em;
    }

    .contact-form .field {
        margin-bottom: 16px;
    }

    .contact-form label {
        display: block;
        font-size: .76rem;
        font-weight: 700;
        letter-spacing: .09em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 6px;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        font: inherit;
        color: var(--ink);
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        padding: 11px 13px;
    }

    .contact-form textarea {
        min-height: 110px;
        resize: vertical;
    }

    .contact-form input:focus-visible,
    .contact-form textarea:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 1px;
    }

    .contact-form button.btn {
        font-family: inherit;
        cursor: pointer;
    }

.form-note {
    font-size: .82rem;
    color: var(--muted);
    margin: 12px 0 0;
}

/* ---------- CTA band ---------- */

.band {
    background: var(--bg-deep);
    color: #fff;
    padding: 76px 0;
}

    .band h2 {
        color: #fff;
        margin-bottom: .35em;
    }

    .band p {
        color: #b9bec7;
        max-width: 56ch;
        font-size: 1.08rem;
    }

    .band .or {
        color: #8d939d;
        font-size: .95rem;
    }

        .band .or a {
            color: #fff;
        }

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

.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
    padding: 56px 0 40px;
    font-size: .94rem;
    color: var(--muted);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 38px;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--ink);
    margin-bottom: .7em;
}

.site-footer h4 {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 14px;
}

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

.site-footer li {
    margin-bottom: 9px;
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

    .site-footer a:hover {
        color: var(--accent);
    }

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
}

address {
    font-style: normal;
    line-height: 1.7;
}

/* ---------- legal pages ---------- */

.legal {
    padding: 72px 0 88px;
}

    .legal .wrap {
        max-width: 760px;
    }

    .legal h1 {
        font-size: clamp(1.9rem,4vw,2.5rem);
        margin-bottom: .3em;
    }

    .legal .updated {
        color: var(--muted);
        font-size: .94rem;
        margin-bottom: 2.6rem;
    }

    .legal h2 {
        font-size: 1.28rem;
        margin-top: 2.6rem;
    }

    .legal ul {
        padding-left: 22px;
    }

    .legal li {
        margin-bottom: .5em;
    }

    .legal .back {
        display: inline-block;
        margin-bottom: 2rem;
        font-size: .95rem;
        text-decoration: none;
    }

        .legal .back:hover {
            text-decoration: underline;
        }

/* ---------- responsive ---------- */

@media (max-width:880px) {
    .grid-3, .grid-2, .contact-grid, .footer-top {
        grid-template-columns: 1fr;
    }

    section {
        padding: 64px 0;
    }

    .hero {
        padding: 72px 0 64px;
    }

    .nav a:not(.btn):not(.nav-phone) {
        display: none;
    }

    .nav {
        gap: 18px;
    }

    .contact-grid {
        gap: 36px;
    }
}

@media (max-width:680px) {
    .brand {
        font-size: 1.45rem;
    }

    .nav-phone-full {
        display: none;
    }

    .nav-phone-short {
        display: inline;
    }
}

@media (max-width:420px) {
    body {
        font-size: 16px;
    }

    .nav {
        gap: 14px;
    }
}

@media (max-width:520px) {
    .wrap {
        padding-inline: 16px;
    }

    .site-header .wrap {
        gap: 12px;
    }

    .brand {
        font-size: 1.3rem;
    }

    .brand-logo {
        width: 2.25rem;
        height: 2.25rem;
        margin-right: 8px;
    }

    /* Under 520px the "Get in touch" button goes away, but the phone link
       becomes a Call button — the header must never lose its CTA. */
    .nav .btn {
        display: none;
    }

    .nav .nav-phone {
        background: var(--accent);
        color: #fff;
        border-radius: var(--radius);
        padding: 9px 16px;
        font-size: .92rem;
    }

        .nav .nav-phone:hover {
            background: var(--accent-dark);
            color: #fff;
        }

    .nav-phone-full {
        display: none;
    }

    .nav-phone-short {
        display: inline;
    }

    .call-big {
        font-size: 1.7rem;
    }

    .contact-side a {
        overflow-wrap: anywhere;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ---------- testimonial page (private invite links) ---------- */

.testimonial .wrap {
    max-width: 720px;
}

.testimonial h1 {
    font-size: clamp(1.9rem, 4vw, 2.5rem);
}

.t-form {
    margin-top: 2rem;
}

.t-error {
    color: var(--accent-dark);
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: .95rem;
}

.t-quote {
    margin: 2rem 0 0;
    padding: 24px 28px;
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1.12rem;
    color: var(--ink-soft);
}

.t-draft-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

    .t-draft-row .btn {
        font-family: inherit;
        cursor: pointer;
    }

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

.t-consent {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin: 0 0 18px;
}

    .t-consent legend {
        font-size: .82rem;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
        color: var(--muted);
        padding: 0 6px;
    }

    .t-consent label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .95rem;
        color: var(--ink-soft);
        margin: 8px 0;
        flex-wrap: wrap;
    }

    .t-consent input[type="checkbox"] {
        width: 1.05rem;
        height: 1.05rem;
        accent-color: var(--accent);
    }

    .t-consent .t-inline {
        flex: 1;
        min-width: 160px;
        max-width: 260px;
        font: inherit;
        font-size: .92rem;
        color: var(--ink);
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 6px 10px;
    }

/* ---------- testimonials (homepage) ---------- */

.testimonial {
    display: flex;
    flex-direction: column;
}

    .testimonial blockquote {
        margin: 0 0 1rem;
        font-size: 1.03rem;
        color: var(--ink-soft);
    }

        .testimonial blockquote::before {
            content: "\201C";
            color: var(--accent);
            font-weight: 700;
            margin-right: 1px;
        }

    .testimonial .quote-by {
        margin-top: auto;
        color: var(--muted);
        font-weight: 600;
        font-size: .9rem;
    }
