/* PALOO — temporary stealth website. All artwork is served from wwwroot. */
:root {
    --paloo-ink: #083e43;
    --paloo-muted: #686d6e;
    --paloo-paper: #fffdf8;
    --paloo-peach: #f5ab88;
    --paloo-teal: #73b5ad;
}

* { box-sizing: border-box; }

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--paloo-paper);
    color: var(--paloo-ink);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

main {
    position: relative;
    z-index: 1;
    flex: 1;
}

a { color: inherit; }
button, input, textarea { font: inherit; }
a, button, input, textarea { outline-offset: 5px; }

:focus-visible { outline: 3px solid #39887f; }

.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 20;
    padding: 12px 16px;
    background: #fff;
    color: var(--paloo-ink);
}

.skip-link:focus { top: 12px; }

/* Soft colour washes and broad curved shapes from the chosen reference. */
.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 0% 74%, #fce0ce80, transparent 41%),
        radial-gradient(ellipse at 100% 76%, #dbeee880, transparent 42%);
}

.wash {
    position: absolute;
    bottom: -390px;
    width: 1000px;
    height: 600px;
    border-radius: 50%;
}

.peach {
    left: -410px;
    transform: rotate(30deg);
    background: linear-gradient(180deg, #fbdac565, transparent 76%);
}

.teal {
    right: -380px;
    transform: rotate(-30deg);
    background: linear-gradient(180deg, #d1e9e36b, transparent 80%);
}

.hero {
    min-height: calc(100vh - 92px);
    min-height: calc(100svh - 92px);
    padding: 110px 24px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* These PNGs retain their original transparent canvas. Compensate in CSS. */
.brand {
    position: relative;
    display: block;
    overflow: hidden;
}

.brand img {
    display: block;
    width: 143%;
    max-width: none;
    height: auto;
    margin: -13.5% 0 -13.5% -21.5%;
}

.hero-brand {
    width: min(560px, 75vw);
    margin-bottom: 44px;
}

.eyebrow {
    margin: 0 0 22px;
    color: #848b8c;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: .32em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5.9vw, 88px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.hero-copy {
    margin: 30px 0 34px;
    color: #626769;
    font-size: clamp(17px, 1.8vw, 25px);
    line-height: 1.5;
}

.button {
    min-width: 308px;
    min-height: 68px;
    padding: 17px 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--paloo-ink);
    border-radius: 999px;
    background: var(--paloo-ink);
    color: #fff;
    font-size: 21px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .2s;
}

.button:hover {
    background: #16585b;
    transform: translateY(-2px);
}

.site-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 48px 34px;
    color: #737a7b;
    font-size: 13px;
    letter-spacing: .08em;
}

.footer-brand, .site-footer nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.divider {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: #bfc2bc;
}

@media (min-width: 1600px) {
    .hero { padding-top: 150px; }
    .hero-brand { width: 590px; }
}

@media (max-width: 650px) {
    .hero {
        min-height: calc(100vh - 110px);
        min-height: calc(100svh - 110px);
        padding: 80px 22px 55px;
    }

    .hero-brand {
        width: 84vw;
        max-width: 410px;
        margin-bottom: 39px;
    }

    .hero h1 {
        font-size: clamp(38px, 10.5vw, 64px);
        line-height: 1.07;
    }

    .desktop-break { display: none; }

    .hero-copy {
        max-width: 290px;
        margin: 25px 0 30px;
        font-size: 17px;
    }

    .eyebrow {
        margin-bottom: 19px;
        font-size: 10px;
    }

    .button {
        min-width: 0;
        min-height: 57px;
        padding: 15px 34px;
        font-size: 18px;
    }

    .site-footer {
        flex-wrap: wrap;
        justify-content: center;
        gap: 17px;
        padding: 22px 24px 25px;
        font-size: 11px;
    }

    .footer-brand, .site-footer nav { gap: 14px; }
    .site-footer .divider { height: 14px; }
    .wash { bottom: -450px; }
}

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


/* Contact page */

.contact-page {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 54px 24px 42px;
    text-align: center;
}

.contact-brand {
    width: 210px;
    margin: 0 auto 38px;
}

.contact-page h1 {
    font-size: clamp(42px, 5vw, 64px);
}

.contact-intro {
    margin: 22px 0 30px;
    color: var(--paloo-muted);
    font-size: 18px;
    line-height: 1.55;
}

.contact-form {
    padding: 30px;
    border: 1px solid #e6e5dd;
    border-radius: 22px;
    background: rgb(255 255 255 / 75%);
    box-shadow: 0 15px 55px rgb(22 71 74 / 3%);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 21px;
}

    .field label {
        color: #254b4e;
        font-size: 14px;
        font-weight: 600;
    }

    .field input,
    .field textarea {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: 13px 14px;
        border: 1px solid #cedbd6;
        border-radius: 9px;
        background: #fffefb;
        color: var(--paloo-ink);
        font-size: 16px;
        line-height: 1.5;
        transition: border-color .2s, box-shadow .2s;
    }

        .field input:focus,
        .field textarea:focus {
            border-color: #39887f;
            box-shadow: 0 0 0 3px rgb(57 136 127 / 12%);
        }

    .field textarea {
        min-height: 140px;
        resize: vertical;
    }

        .field input::placeholder,
        .field textarea::placeholder {
            color: #838b87;
            opacity: 1;
        }

.optional {
    color: #777f7c;
    font-size: 12px;
    font-weight: 400;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #254b4e;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

    .check input {
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
        margin: 1px 0 0;
        accent-color: var(--paloo-ink);
    }

.form-note {
    margin: 18px 0 24px;
    color: #707b77;
    font-size: 12px;
    line-height: 1.65;
}

    .form-note a {
        text-underline-offset: 3px;
    }

.contact-form .button {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    font-size: 17px;
}

    .contact-form .button:disabled,
    .contact-form .button:disabled:hover {
        background: var(--paloo-ink);
        opacity: .55;
        cursor: not-allowed;
        transform: none;
    }

/* Ready for the Turnstile widget when we wire it in. */
.turnstile-container {
    width: 100%;
    margin: 20px 0;
}

.back-link {
    display: inline-block;
    margin-top: 27px;
    color: #6b7876;
    font-size: 13px;
    text-underline-offset: 4px;
}

@media (max-width: 650px) {
    .contact-page {
        padding: 36px 20px;
    }

    .contact-brand {
        width: 180px;
        margin-bottom: 30px;
    }

    .contact-intro {
        font-size: 16px;
    }

    .contact-form {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .field input,
    .field textarea {
        transition: none;
    }
}


/* Privacy and legal pages */

.legal-page {
    --legal-line: #dce4df;
    --legal-text: #4d6261;
    padding-bottom: 64px;
}

.legal-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-right: 32px;
    padding-left: 32px;
}

.legal-header {
    padding: 54px 0 42px;
    border-bottom: 1px solid var(--legal-line);
    text-align: left;
}

    .legal-header .contact-brand {
        width: 210px;
        margin: 0 0 42px;
    }

    .legal-header .eyebrow {
        margin-bottom: 16px;
    }

    .legal-header h1 {
        margin-bottom: 22px;
        font-size: clamp(44px, 5vw, 68px);
        line-height: 1.1;
    }

.legal-intro {
    max-width: 720px;
    margin: 0 0 22px;
    color: var(--legal-text);
    font-size: 18px;
    line-height: 1.7;
}

.legal-updated {
    margin: 0;
    color: var(--paloo-muted);
    font-size: 12px;
    line-height: 1.6;
}

.legal-grid {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 64px;
    padding-top: 48px;
}

/* Contents navigation */

.legal-toc {
    position: sticky;
    top: 28px;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    padding: 2px 8px 2px 20px;
    border-left: 2px solid var(--legal-line);
}

    .legal-toc h2 {
        margin: 0 0 18px;
        color: var(--paloo-ink);
        font-size: 12px;
        font-weight: 700;
        line-height: 1.5;
        letter-spacing: .09em;
        text-transform: uppercase;
    }

    .legal-toc ol {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .legal-toc li {
        margin-bottom: 13px;
        line-height: 1.5;
    }

        .legal-toc li:last-child {
            margin-bottom: 0;
        }

    .legal-toc a {
        color: var(--legal-text);
        font-size: 13px;
        text-decoration: none;
    }

        .legal-toc a:hover,
        .legal-toc a:focus-visible {
            color: var(--paloo-ink);
            text-decoration: underline;
            text-underline-offset: 4px;
        }

/* Policy content */

.legal-content {
    min-width: 0;
    max-width: 760px;
    color: var(--legal-text);
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: break-word;
}

    .legal-content section {
        margin-bottom: 32px;
        padding-bottom: 30px;
        border-bottom: 1px solid var(--legal-line);
        scroll-margin-top: 32px;
    }

        .legal-content section:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: 0;
        }

    .legal-content h2 {
        margin: 0 0 18px;
        color: var(--paloo-ink);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 27px;
        font-weight: 400;
        line-height: 1.3;
        letter-spacing: -.02em;
    }

.legal-section-number {
    display: block;
    margin-bottom: 9px;
    color: #528d86;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .1em;
}

.legal-content p {
    margin: 0 0 17px;
}

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

.legal-content ul {
    margin: 0 0 20px;
    padding-left: 22px;
}

.legal-content li {
    margin-bottom: 12px;
    padding-left: 4px;
}

    .legal-content li:last-child {
        margin-bottom: 0;
    }

.legal-content strong {
    color: #284d4b;
    font-weight: 600;
}

.legal-content a {
    color: var(--paloo-ink);
    text-underline-offset: 4px;
}

    .legal-content a:hover {
        text-decoration-thickness: 2px;
    }

/* Tablet: contents above the policy */

@media (max-width: 900px) {
    .legal-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .legal-toc {
        position: static;
        max-height: none;
        overflow: visible;
    }

        .legal-toc ol {
            columns: 2;
            column-gap: 28px;
        }

        .legal-toc li {
            break-inside: avoid;
        }

    .legal-content {
        max-width: none;
    }
}

/* Mobile */

@media (max-width: 650px) {
    .legal-page {
        padding-bottom: 40px;
    }

    .legal-shell {
        padding-right: 22px;
        padding-left: 22px;
    }

    .legal-header {
        padding-top: 36px;
        padding-bottom: 30px;
    }

        .legal-header .contact-brand {
            width: 180px;
            margin-bottom: 32px;
        }

        .legal-header h1 {
            font-size: 44px;
        }

    .legal-intro {
        font-size: 16px;
        line-height: 1.65;
    }

    .legal-grid {
        gap: 32px;
        padding-top: 32px;
    }

    .legal-toc ol {
        columns: 1;
    }

    .legal-content {
        font-size: 15px;
        line-height: 1.8;
    }

        .legal-content h2 {
            font-size: 24px;
        }

        .legal-content section {
            margin-bottom: 27px;
            padding-bottom: 25px;
        }
}

/* Print */

@media print {
    .legal-page {
        padding: 0;
        color: #000;
    }

        .legal-page .legal-toc,
        .legal-header .contact-brand {
            display: none;
        }

    .legal-shell {
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }

    .legal-header {
        padding: 0 0 24px;
    }

    .legal-grid {
        display: block;
        padding-top: 24px;
    }

    .legal-content {
        max-width: none;
        color: #000;
        font-size: 11pt;
    }

        .legal-content h2 {
            break-after: avoid;
        }

        .legal-content a {
            color: inherit;
        }
}

/* Contact validation */

.contact-form .validation-summary-valid {
    display: none;
}

.contact-form .validation-summary-errors {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid #e8c4ba;
    border-radius: 12px;
    background: #fff4ef;
    color: #853c30;
    font-size: 14px;
    line-height: 1.6;
}

.contact-form .form-errors ul {
    margin: 0;
    padding-left: 20px;
}

.contact-form .form-errors li + li {
    margin-top: 6px;
}

.contact-form .field .input-validation-error {
    border-color: #a94f40;
}

    .contact-form .field .input-validation-error:focus {
        outline: 2px solid #a94f40;
        outline-offset: 2px;
    }

/* Contact confirmation */

.contact-success {
    margin-top: 30px;
    padding: 36px 28px;
    border: 1px solid #ceded5;
    border-radius: 22px;
    background: #f2f7f3;
    color: #083e43;
    text-align: center;
}

    .contact-success h2 {
        margin: 0 0 12px;
        font-size: clamp(24px, 4vw, 32px);
        line-height: 1.25;
    }

    .contact-success p {
        margin: 0;
        color: #4d6261;
        font-size: 16px;
        line-height: 1.7;
    }

@media (max-width: 650px) {
    .contact-success {
        padding: 28px 20px;
    }
}

/* Compact contact layout on desktop */
@media (min-width: 768px) {
    .contact-page {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .contact-brand {
        width: 170px;
        margin-bottom: 20px;
    }

    .contact-page .eyebrow {
        margin-bottom: 10px;
    }

    .contact-page h1 {
        margin-bottom: 12px;
        font-size: 46px;
    }

    .contact-intro {
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.5;
    }

    .contact-form {
        margin-top: 20px;
        padding: 22px 26px;
    }

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

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

        .contact-form .form-note {
            margin-top: 12px;
            margin-bottom: 12px;
        }

        .contact-form .turnstile-container {
            margin-top: 12px;
            margin-bottom: 12px;
        }

        .contact-form .button {
            min-height: 48px;
        }
}