/* Architect mailer landing page (/architect). Everything is scoped to .architect-page;
   colours and fonts come from landing-theme.css. */
.architect-page {
    font-size: 17px;
    line-height: 1.6;

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

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

    .wrap {
        max-width: 1080px;
        margin: 0 auto;
        padding: 0 24px;
    }

    h1, h2 {
        font-family: var(--serif);
        color: var(--navy);
        font-weight: 800;
        line-height: 1.15;
        margin: 0;
    }

    h2 { font-size: clamp(28px, 4vw, 40px); }

    h3 {
        font-family: var(--sans);
        font-size: 18px;
        font-weight: 700;
        color: var(--navy);
        margin: 0 0 6px;
    }

    .accent { color: var(--red); }

    .eyebrow {
        font-family: var(--serif);
        font-weight: 800;
        text-transform: uppercase;
        color: var(--red);
        font-size: clamp(26px, 4.5vw, 44px);
        line-height: 1.05;
        letter-spacing: 0.01em;
        margin: 0 0 20px;
    }

    .intro {
        max-width: 640px;
        margin: 14px 0 0;
    }

    /* Buttons and links */
    .btn {
        display: inline-block;
        background: var(--red);
        color: #fff;
        font-family: var(--sans);
        font-size: 16px;
        font-weight: 600;
        padding: 14px 26px;
        border: 0;
        border-radius: 3px;
        text-decoration: none;
        cursor: pointer;
    }

    .btn:hover { background: #962f25; }
    .btn:disabled { opacity: 0.6; cursor: default; }

    .link-arrow {
        font-weight: 700;
        font-size: 13px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        text-decoration: none;
        white-space: nowrap;
    }

    .link-arrow::after { content: ' \2192'; color: var(--red); }
    .link-arrow:hover { color: var(--red); }

    /* Hero */
    .hero {
        position: relative;
        overflow: hidden;
        min-height: 560px;
        display: flex;
        align-items: center;
    }

    .hero-photo {
        position: absolute;
        inset: 0 0 0 30%;
        background: url('../img/architect/kitchen.jpg') center / cover no-repeat;
    }

    /* Fade the photo into the cream on the left, like the mailer front */
    .hero-photo::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, var(--cream) 0%, rgba(250, 247, 242, 0.85) 22%, rgba(250, 247, 242, 0) 60%);
    }

    .hero-inner {
        position: relative;
        width: 100%;
        padding-top: 56px;
        padding-bottom: 72px;
    }

    .hero h1 {
        font-size: clamp(26px, 3.6vw, 40px);
        max-width: 520px;
    }

    .lead {
        font-weight: 600;
        color: var(--navy);
        font-size: 19px;
        max-width: 440px;
        margin: 18px 0 0;
    }

    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 24px;
        margin-top: 32px;
    }

    .photo-credit {
        position: absolute;
        right: 24px;
        bottom: 14px;
        margin: 0;
        font-size: 13px;
        color: var(--navy);
        background: rgba(250, 247, 242, 0.88);
        padding: 6px 12px;
        border-radius: 3px;
        max-width: 360px;
        text-align: right;
    }

    /* Sections */
    .section { padding: 72px 0; }
    .section-alt { background: var(--cream-deep); }

    /* Steps */
    .steps {
        list-style: none;
        padding: 0;
        margin: 40px 0 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .steps li {
        border-top: 2px solid var(--red);
        padding-top: 18px;
    }

    .steps p { margin: 0; color: var(--ink); }

    .step-no {
        display: block;
        font-family: var(--serif);
        font-weight: 800;
        font-size: 30px;
        color: var(--red);
        line-height: 1;
        margin-bottom: 10px;
    }

    /* Packages: ruled rows, like the mailer back */
    .packages { margin-top: 28px; border-bottom: 1px solid var(--rule); }

    .package {
        display: grid;
        grid-template-columns: 190px 1fr auto;
        align-items: center;
        gap: 28px;
        padding: 26px 0;
        border-top: 1px solid var(--rule);
    }

    .amount {
        display: block;
        font-family: var(--serif);
        font-weight: 800;
        font-size: 52px;
        line-height: 1;
        color: var(--red);
    }

    .amount sup { font-size: 0.6em; vertical-align: top; position: relative; top: 0.12em; line-height: 1; }

    .amount small {
        font-family: var(--sans);
        font-size: 15px;
        font-weight: 700;
        color: var(--navy);
        margin-left: 4px;
    }

    .plan {
        display: block;
        margin-top: 6px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--navy);
    }

    .package-body p { margin: 0; }

    /* Gallery */
    .gallery {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 36px;
    }

    .gallery img {
        width: 100%;
        aspect-ratio: 3 / 4;
        object-fit: cover;
        border-radius: 3px;
    }

    /* Note from Paul */
    .note { max-width: 760px; }

    .note .eyebrow {
        font-family: var(--sans);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.16em;
        margin-bottom: 16px;
    }

    .note blockquote {
        padding: 0;
        border: 0;
        margin: 0;
        font-family: var(--serif);
        font-style: italic;
        font-weight: 500;
        font-size: clamp(19px, 2.4vw, 23px);
        line-height: 1.55;
        color: var(--navy);
    }

    .signature {
        font-family: var(--serif);
        font-style: italic;
        font-weight: 500;
        font-size: 26px;
        color: var(--navy);
        margin: 24px 0 0;
    }

    .signature-role { margin: 2px 0 0; font-size: 14px; color: var(--muted); }

    /* Enquiry form */
    .talk {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 56px;
        align-items: start;
    }

    .talk-phone { margin-top: 24px; font-weight: 600; color: var(--navy); }

    .form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 20px;
        background: #fff;
        border: 1px solid var(--cream-deep);
        border-radius: 4px;
        padding: 28px;
    }

    .field-wide { grid-column: 1 / -1; }

    .field label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: var(--navy);
        margin-bottom: 6px;
    }

    .optional { font-weight: 400; color: var(--muted); }

    .field input,
    .field select,
    .field textarea {
        width: 100%;
        font: inherit;
        font-size: 16px;
        color: var(--ink);
        background: #fff;
        border: 1px solid #c9ccd8;
        border-radius: 3px;
        padding: 10px 12px;
    }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
        outline: 2px solid var(--navy);
        outline-offset: 1px;
    }

    .form-status { margin: 12px 0 0; font-size: 15px; min-height: 1.5em; }
    .form-status.ok { color: #2e6b3f; }
    .form-status.error { color: var(--red); }

    /* Phone and small tablet */
    @media (max-width: 760px) {
        .section { padding: 52px 0; }


        .hero { display: block; min-height: 0; }

        .hero-photo {
            position: relative;
            inset: auto;
            height: 240px;
        }

        .hero-photo::after {
            background: linear-gradient(180deg, rgba(250, 247, 242, 0) 55%, var(--cream) 100%);
        }

        .hero-inner { padding-top: 20px; padding-bottom: 20px; }

        .photo-credit {
            position: static;
            max-width: none;
            text-align: left;
            background: none;
            padding: 0 24px 36px;
            color: var(--muted);
        }

        .steps { grid-template-columns: 1fr; gap: 24px; }

        .package { grid-template-columns: 1fr; gap: 12px; }

        .gallery { grid-template-columns: 1fr; }

        .talk { grid-template-columns: 1fr; gap: 28px; }

        .form { grid-template-columns: 1fr; padding: 20px; }
    }
}

/* In-page links (#packages, #talk) stop below the fixed menu */
.architect-page section[id] { scroll-margin-top: 90px; }
