/* Drawn by Syd: ink on paper. Black linework, white page,
   with a yellow highlighter accent and touches of cherry and marigold. */

:root {
    --paper: #ffffff;
    --ink: #000000;
    --pencil: #5f5f5f;
    --highlight: #ffe14d;
    --highlight-soft: #fff6c2;
    --cherry: #d7262e;
    --marigold: #ee7a2b;
    --wash: #fffbe6;
    --font-letter: "Patrick Hand SC", "Comic Neue", "Segoe Print", cursive;
    --font-body: "Atkinson Hyperlegible", "Segoe UI", Arial, sans-serif;
    --line: 4px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --max: 72rem;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ink);
    text-decoration-color: var(--marigold);
    text-underline-offset: 0.2em;
}

:focus-visible {
    outline: 3px solid var(--cherry);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0.5rem;
    background: var(--ink);
    color: var(--paper);
    padding: 0.5rem 1rem;
}

    .skip-link:focus {
        left: 0.5rem;
        z-index: 10;
    }

/* Type ----------------------------------------------------------- */

.h-display,
.h-section,
.wordmark,
.footer-mark,
.steps h3,
.event-list li {
    font-family: var(--font-letter);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.h-display {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.95;
    margin: 0 0 1.5rem;
}

.h-section {
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.05;
    margin: 0 0 1.25rem;
}

.lede {
    font-size: 1.3rem;
    max-width: 32ch;
    margin: 0 0 2rem;
}

p {
    max-width: 62ch;
}

/* Header & footer ----------------------------------------------- */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--gutter);
    border-bottom: var(--line) solid var(--ink);
    position: sticky;
    top: 0;
    background: var(--paper);
    z-index: 5;
}

.wordmark {
    font-size: 1.75rem;
    color: var(--ink);
    text-decoration: none;
}

.site-footer {
    border-top: var(--line) solid var(--ink);
    padding: 2.5rem var(--gutter) 3rem;
    text-align: center;
}

.footer-mark {
    font-size: 2rem;
    margin: 0 auto 0.5rem;
}

.site-footer p {
    margin-inline: auto;
}

.site-footer .fine {
    color: var(--pencil);
    font-size: 0.9rem;
}

/* Buttons & links ----------------------------------------------- */

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ink);
    background: var(--highlight);
    border: 3px solid var(--ink);
    border-radius: 6px;
    padding: 0.8rem 1.6rem;
    text-decoration: none;
    box-shadow: 4px 4px 0 var(--ink);
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
}

    .btn:hover {
        transform: translate(2px, 2px);
        box-shadow: 2px 2px 0 var(--ink);
    }

    .btn:active {
        transform: translate(4px, 4px);
        box-shadow: 0 0 0 var(--ink);
    }

.btn-small {
    font-size: 0.95rem;
    padding: 0.45rem 1rem;
    box-shadow: 3px 3px 0 var(--ink);
}

.text-link {
    font-weight: 700;
    color: var(--ink);
    text-decoration-color: var(--highlight);
    text-decoration-thickness: 4px;
}

/* Highlighter swipe behind text */
/* Subheading under the hero headline */
/* Subheading under the hero headline: hand-lettered, with a yellow pen stroke */
.hero-sub {
    display: inline-block;
    font-family: var(--font-letter);
    font-size: clamp(1.5rem, 2.6vw, 1.9rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
    margin: 0;
    padding-bottom: 0.2rem;
    border-bottom: 5px solid var(--highlight);
}

    .hero-sub + .lede {
        margin-top: 1.25rem;
    }
/* Optional highlighter for a single word: <span class="mark">word</span> */
.mark {
    background: linear-gradient(transparent 55%, var(--highlight) 55%, var(--highlight) 90%, transparent 90%);
    padding: 0 0.1em;
}

/* Hero ------------------------------------------------------------ */

.hero {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 5rem) var(--gutter);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.hero-art {
    margin: 0;
    background: var(--paper);
    padding: 0.75rem;
    border: 1px solid #ddd;
    transform: rotate(1.5deg);
    box-shadow: 8px 10px 0 var(--wash);
}

/* Sections -------------------------------------------------------- */

.section {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
}

    .section.narrow {
        max-width: 44rem;
    }

.framed {
    margin: 0;
}

    .framed img {
        border: var(--line) solid var(--ink);
    }

    .framed figcaption {
        font-size: 0.95rem;
        color: var(--pencil);
        margin-top: 0.5rem;
    }

.split {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

    .split.reverse {
        grid-template-columns: 7fr 5fr;
    }

    .split .framed.tall img {
        aspect-ratio: 4 / 5;
        object-fit: cover;
        width: 100%;
    }

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

    .gallery .wide {
        grid-column: 1 / -1;
    }

    .gallery .framed:not(.wide) img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
        width: 100%;
    }

/* Steps */
.steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

    .steps li {
        counter-increment: step;
        border-top: var(--line) solid var(--ink);
        padding-top: 1rem;
    }

        .steps li::before {
            content: counter(step);
            font-family: var(--font-letter);
            font-size: 3rem;
            line-height: 1;
            color: var(--ink);
            background: var(--highlight);
            padding: 0 0.35em;
            border-radius: 4px;
        }

    .steps h3 {
        font-size: 1.75rem;
        margin: 0.25rem 0 0.5rem;
    }

    .steps p {
        margin: 0;
    }

/* Events */
.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

    .event-list li {
        font-size: 1.6rem;
        border: 3px solid var(--ink);
        border-radius: 999px;
        padding: 0.2rem 1.1rem;
    }

        .event-list li:nth-child(3n+1) {
            background: #fde7e8;
        }

        .event-list li:nth-child(3n+2) {
            background: var(--highlight-soft);
        }

        .event-list li:nth-child(3n) {
            background: #fdeee3;
        }

/* Full-width photo band */
.band {
    margin: 0;
    border-block: var(--line) solid var(--ink);
}

    .band img {
        width: 100%;
        max-height: 70vh;
        object-fit: cover;
    }

/* Booking form ---------------------------------------------------- */

.book {
    max-width: 52rem;
}

.book-intro {
    margin-top: 0;
}

.book-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.full {
    grid-column: 1 / -1;
}

.field label {
    font-weight: 700;
}

.field input,
.field select,
.field textarea {
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 3px solid var(--ink);
    border-radius: 6px;
    padding: 0.6rem 0.75rem;
    width: 100%;
}

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
        outline: 3px solid var(--highlight);
        outline-offset: 1px;
        box-shadow: 0 0 0 1px var(--ink);
    }

.field-error, .form-error {
    color: var(--cherry);
    font-weight: 700;
    font-size: 0.95rem;
}

    .form-error ul {
        margin: 0;
        padding-left: 1.2rem;
    }

    .form-error:empty, .validation-summary-valid {
        display: none;
    }

.input-validation-error {
    border-color: var(--cherry) !important;
}

.notice {
    border: var(--line) solid var(--ink);
    background: var(--wash);
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
}

    .notice p {
        margin: 0;
    }

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Small screens --------------------------------------------------- */

@media (max-width: 820px) {
    .hero,
    .split,
    .split.reverse {
        grid-template-columns: 1fr;
    }

        .split.reverse .framed {
            order: -1;
        }

    .hero-art {
        transform: rotate(1deg);
        max-width: 34rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .gallery, .book-form {
        grid-template-columns: 1fr;
    }

    .wordmark {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn {
        transition: none;
    }
}
