/* Honey Pond Farm Estate · pond water and honey.
   Gloock (display) + Work Sans (text). One light theme with dark pond bands. */

@font-face {
    font-family: "Gloock";
    src: url("/fonts/gloock.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Work Sans";
    src: url("/fonts/work-sans.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Work Sans";
    src: url("/fonts/work-sans-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --pond: #0e2420;
    --pond-2: #163530;
    --pond-night: #091916;
    --pond-line: rgba(224, 166, 58, .28);
    --honey: #e0a63a;
    --honey-lit: #f2c46d;
    --honey-deep: #8a5a0b;
    --maple: #b4432b;
    --cream: #f5efe1;
    --paper: #fffdf7;
    --ink: #1b2420;
    --ink-soft: #4a524d;
    --on-dark: #f4efe3;
    --on-dark-soft: #c9cfc4;
    --radius: 22px;
    --radius-s: 12px;
    --display: "Gloock", "Georgia", serif;
    --text: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--text);
    font-size: 1.0625rem;
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: var(--honey-deep);
    text-underline-offset: .18em;
}

a:hover {
    color: var(--maple);
}

:focus-visible {
    outline: 3px solid var(--honey);
    outline-offset: 3px;
    border-radius: 4px;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.015em;
    margin: 0 0 .5em;
    text-wrap: balance;
}

h2 {
    font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--honey);
    color: var(--pond);
    font-weight: 600;
    border-radius: 8px;
}

.skip:focus {
    top: 12px;
}

.eyebrow {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--honey-deep);
    margin-bottom: .9rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    min-height: 48px;
    padding: .7em 1.4em;
    border-radius: 999px;
    border: 2px solid transparent;
    font: 600 1rem/1.2 var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-honey {
    background: var(--honey);
    color: var(--pond);
    box-shadow: 0 10px 30px -12px rgba(224, 166, 58, .8);
}

.btn-honey:hover {
    background: var(--honey-lit);
    color: var(--pond);
}

.btn-ghost {
    border-color: rgba(244, 239, 227, .6);
    color: var(--on-dark);
    background: rgba(9, 25, 22, .35);
    backdrop-filter: blur(6px);
}

.btn-ghost:hover {
    border-color: var(--honey);
    color: var(--honey-lit);
}

.btn-ink {
    background: var(--pond);
    color: var(--on-dark);
}

.btn-ink:hover {
    background: var(--pond-2);
    color: var(--honey-lit);
}

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

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(9, 25, 22, .86);
    backdrop-filter: saturate(1.3) blur(12px);
    -webkit-backdrop-filter: saturate(1.3) blur(12px);
    color: var(--on-dark);
    border-bottom: 1px solid var(--pond-line);
}

.top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 24px;
    min-height: 70px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.brand {
    display: flex;
    flex-direction: column;
    color: var(--on-dark);
    text-decoration: none;
    line-height: 1;
    margin-right: auto;
}

.brand:hover {
    color: var(--honey-lit);
}

.brand-name {
    font-family: var(--display);
    font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
    letter-spacing: -.01em;
}

.brand-sub {
    margin-top: 5px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--honey);
}

.top-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--honey);
    color: var(--pond);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.top-call:hover {
    background: var(--honey-lit);
    color: var(--pond);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
}

.nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--on-dark);
    text-decoration: none;
    font-weight: 500;
}

.nav a:hover {
    color: var(--honey-lit);
    background: rgba(255, 255, 255, .06);
}

.nav a[aria-current] {
    color: var(--honey-lit);
    box-shadow: inset 0 -2px 0 var(--honey);
    border-radius: 0;
}

.nav .nav-reserve {
    border: 1.5px solid var(--honey);
    color: var(--honey-lit);
    margin-left: 6px;
}

.nav .nav-reserve:hover {
    background: var(--honey);
    color: var(--pond);
}

.menu-btn {
    display: none;
}

@media (max-width: 860px) {
    .has-menu .menu-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
        padding: 0 14px;
        border: 1.5px solid rgba(244, 239, 227, .5);
        border-radius: 999px;
        background: transparent;
        color: var(--on-dark);
        font: 600 .95rem var(--text);
        cursor: pointer;
    }

    .menu-bars,
    .menu-bars::before,
    .menu-bars::after {
        display: block;
        width: 18px;
        height: 2px;
        background: currentColor;
        border-radius: 2px;
        position: relative;
        transition: transform .2s ease;
    }

    .menu-bars::before,
    .menu-bars::after {
        content: "";
        position: absolute;
    }

    .menu-bars::before {
        top: -6px;
    }

    .menu-bars::after {
        top: 6px;
    }

    .menu-open .menu-bars {
        background: transparent;
    }

    .menu-open .menu-bars::before {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-open .menu-bars::after {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav {
        width: 100%;
    }

    .has-menu .nav {
        display: none;
    }

    .has-menu.menu-open .nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 0 14px;
    }

    .has-menu.menu-open .nav a {
        border-radius: 12px;
        font-size: 1.1rem;
    }

    .has-menu.menu-open .nav a[aria-current] {
        box-shadow: inset 3px 0 0 var(--honey);
    }

    .nav .nav-reserve {
        margin: 6px 0 0;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .top-row {
        gap: 8px 10px;
    }

    .brand {
        flex-basis: 100%;
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }

    .brand-sub {
        margin: 0;
    }

    .top-call {
        flex: 1;
        justify-content: center;
    }
}

/* ---- hero: the name and its reflection in the pond ---- */

.hero {
    position: relative;
    isolation: isolate;
    min-height: min(92vh, 880px);
    display: flex;
    align-items: flex-end;
    color: var(--on-dark);
    background: var(--pond-night);
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 62%;
    z-index: -2;
    animation: hero-drift 2.4s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(9, 25, 22, .55) 0%, rgba(9, 25, 22, .1) 30%, rgba(9, 25, 22, .35) 52%, rgba(9, 25, 22, .92) 82%, var(--pond-night) 100%),
        radial-gradient(120% 60% at 20% 100%, rgba(224, 166, 58, .18), transparent 60%);
}

.hero-text {
    padding-top: min(22vh, 200px);
    padding-bottom: clamp(40px, 7vw, 80px);
}

.hero .eyebrow {
    color: var(--honey-lit);
    animation: rise .9s .2s both;
}

.hero-title,
.hero-reflect {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(3rem, 1.4rem + 7.4vw, 7.8rem);
    line-height: .92;
    letter-spacing: -.03em;
    margin: 0;
}

.hero-title span {
    display: inline-block;
}

.hero-title {
    text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
    animation: rise 1.1s .35s cubic-bezier(.2, .7, .2, 1) both;
}

.hero-title span:last-child {
    color: var(--honey-lit);
}

/* The mirrored copy under the title: the last line of the name lying on the water. The outer box
   clips it below the waterline; the inner line is flipped around its baseline (about .74em down). */
.hero-reflect {
    height: .5em;
    overflow: hidden;
    white-space: nowrap;
    margin-top: .02em;
    user-select: none;
    animation: reflect-in 1.6s 1s ease-out both;
}

.hero-reflect span {
    display: block;
    line-height: .92;
    transform-origin: 0 .74em;
    transform: translateY(-.74em) scaleY(-1);
    color: var(--honey);
    opacity: .42;
    -webkit-mask-image: linear-gradient(to top, transparent 25%, #000 100%);
    mask-image: linear-gradient(to top, transparent 25%, #000 100%);
}

.hero-filter {
    position: absolute;
}

.hero-lead {
    font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
    font-style: italic;
    color: var(--on-dark);
    margin: .4em 0 1.4em;
    max-width: 34ch;
    animation: rise 1s .9s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: rise 1s 1.1s both;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
}

@keyframes reflect-in {
    from {
        opacity: 0;
    }
}

@keyframes hero-drift {
    from {
        transform: scale(1.08);
        filter: saturate(.6) brightness(.8);
    }
}

/* ---- figures ---- */

.figures {
    background: var(--pond-night);
    color: var(--on-dark);
    padding: 0 0 clamp(56px, 8vw, 96px);
}

.intro {
    font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem);
    max-width: 46ch;
    color: var(--on-dark-soft);
    margin-bottom: clamp(32px, 5vw, 56px);
}

.figure-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--pond-line);
}

.figure-row li {
    padding: 22px 18px 0 0;
    border-right: 1px solid var(--pond-line);
    margin-right: 18px;
}

.figure-row li:last-child {
    border-right: 0;
    margin-right: 0;
}

.figure-row strong {
    display: block;
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.8rem);
    line-height: 1;
    color: var(--honey);
    letter-spacing: -.02em;
}

.figure-row span {
    display: block;
    margin-top: 8px;
    color: var(--on-dark-soft);
    font-size: .95rem;
}

@media (max-width: 860px) {
    .figure-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0 18px;
    }

    .figure-row li,
    .figure-row li:last-child {
        border-right: 0;
        margin-right: 0;
        padding: 18px 0;
        border-bottom: 1px solid var(--pond-line);
    }

    .figure-row li:first-child {
        grid-column: 1 / -1;
    }
}

/* ---- the course map ---- */

.course {
    background:
        radial-gradient(90% 60% at 100% 0%, rgba(224, 166, 58, .12), transparent 60%),
        linear-gradient(180deg, var(--pond-night), var(--pond) 40%, var(--pond-2));
    color: var(--on-dark);
    padding: clamp(64px, 9vw, 120px) 0;
}

.section-head {
    max-width: 680px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head p {
    font-size: 1.15rem;
}

.course .eyebrow,
.land .eyebrow {
    color: var(--honey);
}

.course .section-head p:not(.eyebrow) {
    color: var(--on-dark-soft);
}

.course-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(250px, 1fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
}

.course-map {
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px var(--pond-line);
}

.course-map a {
    display: block;
}

.pin {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    border: 2px solid var(--honey);
    pointer-events: none;
    transition: transform .25s ease, background-color .25s ease;
}

.pin::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--honey);
    animation: pin-pulse 2.8s ease-out infinite;
}

.pin span {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 4px);
    transform: translateX(-50%);
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 6px;
    background: var(--honey);
    color: var(--pond);
    font: 700 .78rem/22px var(--text);
    text-align: center;
}

@keyframes pin-pulse {
    0% {
        transform: scale(1);
        opacity: .9;
    }

    80%,
    100% {
        transform: scale(2.1);
        opacity: 0;
    }
}

.course-legend {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--pond-line);
    border-radius: var(--radius);
    padding: 24px;
}

.course-legend h3 {
    font-size: 1.35rem;
    color: var(--on-dark);
}

.course-legend ol {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.course-legend li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: 10px;
    cursor: default;
    transition: background-color .2s ease;
}

.leg-key {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1.5px solid var(--honey);
    color: var(--honey-lit);
    font-weight: 700;
    font-size: .85rem;
    display: grid;
    place-items: center;
}

.course-legend li:hover,
.course-legend li:focus-visible {
    background: rgba(224, 166, 58, .14);
}

.course-legend li:hover .leg-key,
.course-legend li:focus-visible .leg-key {
    background: var(--honey);
    color: var(--pond);
}

/* A legend entry lights its pin, without a script. */
.course-grid:has(.leg-a:is(:hover, :focus-visible)) .pin-a,
.course-grid:has(.leg-b:is(:hover, :focus-visible)) .pin-b,
.course-grid:has(.leg-c:is(:hover, :focus-visible)) .pin-c,
.course-grid:has(.leg-d:is(:hover, :focus-visible)) .pin-d,
.course-grid:has(.leg-e:is(:hover, :focus-visible)) .pin-e,
.course-grid:has(.leg-f:is(:hover, :focus-visible)) .pin-f,
.course-grid:has(.leg-g:is(:hover, :focus-visible)) .pin-g {
    transform: scale(1.45);
    background: rgba(224, 166, 58, .45);
    z-index: 2;
}

.course-grid:has(.course-legend li:is(:hover, :focus-visible)) .pin:not(:hover) {
    opacity: .9;
}

.chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chips li {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(224, 166, 58, .14);
    color: var(--honey-lit);
    font-weight: 600;
    font-size: .9rem;
}

.play-grid {
    list-style: none;
    margin: clamp(20px, 3vw, 40px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-auto-rows: clamp(150px, 17vw, 230px);
    gap: 14px;
}

.play-grid .tall {
    grid-row: span 2;
}

.play-grid .wide {
    grid-column: span 2;
}

.play-grid a,
.house-bento a,
.gallery a,
.strip a,
.contact-photo {
    display: block;
    height: 100%;
    border-radius: var(--radius-s);
    overflow: hidden;
}

.play-grid img,
.house-bento img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.play-grid a:hover img,
.house-bento a:hover img,
.gallery a:hover img,
.strip a:hover img {
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .course-grid {
        grid-template-columns: 1fr;
    }

    .pin {
        width: 22px;
        height: 22px;
        margin: -11px 0 0 -11px;
    }

    .pin span {
        min-width: 18px;
        height: 18px;
        font-size: .68rem;
        line-height: 18px;
    }

    .course-legend ol {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        column-gap: 20px;
    }
}

@media (max-width: 620px) {
    .play-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 140px;
    }

    .play-grid .tall {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* ---- the house ---- */

.house {
    background: var(--cream);
    padding: clamp(64px, 9vw, 120px) 0;
}

.house-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}

.house-head p:not(.eyebrow) {
    color: var(--ink-soft);
}

.house-facts {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 0 28px;
    margin: 24px 0 28px;
}

.house-facts div {
    border-left: 3px solid var(--honey);
    padding-left: 12px;
}

.house-facts dt {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.house-facts dd {
    white-space: nowrap;
    margin: 2px 0 0;
    font-family: var(--display);
    font-size: 1.9rem;
    line-height: 1.1;
}

.house-bento {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, clamp(110px, 12vw, 170px));
    gap: 12px;
}

.house-bento .b-main {
    grid-column: span 2;
    grid-row: span 2;
}

.house-bento .b-wide {
    grid-column: span 2;
}

.house-bento a {
    box-shadow: 0 18px 40px -26px rgba(14, 36, 32, .7);
}

@media (max-width: 900px) {
    .house-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .house-bento {
        grid-template-columns: 1fr 1fr;
    }

    .house-bento {
        grid-template-rows: 210px 130px 130px;
    }

    .house-bento .b-main {
        grid-column: span 2;
        grid-row: auto;
    }

    .house-bento .b-wide {
        grid-column: auto;
    }

    .house-facts {
        gap: 0 14px;
    }

    .house-facts dd {
        font-size: 1.4rem;
    }
}

/* ---- the land: a sideways strip ---- */

.land {
    background: var(--paper);
    padding: clamp(64px, 9vw, 120px) 0 clamp(48px, 6vw, 80px);
}

.land-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px 32px;
    margin-bottom: 28px;
}

.land-head h2 {
    margin: 0;
}

.land-head p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1.15rem;
}

.land-num {
    color: var(--maple);
}

.strip {
    list-style: none;
    margin: 0;
    padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 18px;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    scrollbar-color: var(--honey) transparent;
}

.strip li {
    flex: none;
    width: clamp(240px, 34vw, 420px);
    scroll-snap-align: start;
}

.strip img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.land-more {
    margin-top: 18px;
}

.link-arrow {
    font-weight: 600;
    color: var(--honey-deep);
}

.link-arrow::after {
    content: " →";
}

/* ---- reservation band ---- */

.reserve {
    background:
        radial-gradient(80% 120% at 0% 0%, var(--honey-lit), transparent 60%),
        var(--honey);
    color: var(--pond);
    padding: clamp(48px, 7vw, 88px) 0;
}

.reserve-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 24px 48px;
    align-items: center;
}

.reserve h2 {
    margin-bottom: .3em;
}

.reserve p {
    margin: 0;
    font-size: 1.1rem;
}

.reserve a {
    color: var(--pond);
}

.reserve-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.reserve-mail,
.reserve-phone {
    font-family: var(--display);
    font-size: clamp(1.3rem, .9rem + 1.8vw, 2.2rem);
    line-height: 1.15;
    text-decoration: none;
    overflow-wrap: anywhere;
    background: linear-gradient(var(--pond), var(--pond)) 0 100% / 0 2px no-repeat;
    transition: background-size .35s ease;
}

.reserve-mail:hover,
.reserve-phone:hover {
    color: var(--pond);
    background-size: 100% 2px;
}

@media (max-width: 760px) {
    .reserve-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- inner pages ---- */

.page-hero {
    background:
        radial-gradient(70% 120% at 100% 0%, rgba(224, 166, 58, .2), transparent 60%),
        linear-gradient(160deg, var(--pond-night), var(--pond-2));
    color: var(--on-dark);
    padding: clamp(56px, 8vw, 104px) 0 clamp(44px, 6vw, 80px);
}

.page-hero .eyebrow {
    color: var(--honey);
}

.page-hero h1 {
    font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem);
    letter-spacing: -.03em;
    margin-bottom: .3em;
    animation: rise .9s .1s both;
}

.page-hero .lead {
    max-width: 52ch;
    font-size: 1.15rem;
    color: var(--on-dark-soft);
    margin: 0;
}

.gallery-band {
    padding: clamp(40px, 6vw, 72px) 0;
    background: var(--cream);
}

.gallery {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 3 160px;
    column-gap: 14px;
}

.gallery li {
    break-inside: avoid;
    margin-bottom: 14px;
}

.gallery img {
    width: 100%;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.contact-band {
    background: var(--cream);
    padding: clamp(40px, 6vw, 80px) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: clamp(20px, 3vw, 40px);
    align-items: start;
}

.contact-card,
.form-card {
    background: var(--paper);
    border-radius: var(--radius);
    padding: clamp(22px, 3vw, 36px);
    box-shadow: 0 24px 60px -40px rgba(14, 36, 32, .6);
}

.contact-card h2,
.form-card h2 {
    font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
}

.contact-list {
    margin: 0 0 24px;
}

.contact-list div {
    padding: 14px 0;
    border-bottom: 1px solid rgba(27, 36, 32, .12);
}

.contact-list dt {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.contact-list dd {
    margin: 4px 0 0;
}

.contact-mail {
    font-weight: 600;
    overflow-wrap: anywhere;
}

.big-phone {
    font-family: var(--display);
    font-size: 2rem;
    color: var(--ink);
    text-decoration: none;
}

.contact-photo img {
    width: 100%;
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

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

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

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #8e978f;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

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

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    border-color: var(--pond);
    outline: 3px solid var(--honey);
    outline-offset: 1px;
}

.contact-form ::placeholder {
    color: #687069;
}

.contact-form ul {
    margin: 6px 0 0;
    padding-left: 18px;
    color: #9b2c18;
}

.form-hint {
    margin-top: 12px;
    font-size: .9rem;
    color: var(--ink-soft);
}

.contact-sent {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #e5f0e1;
    color: #1f4a22;
}

.contact-sent strong {
    display: block;
}

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

.foot {
    position: relative;
    background: var(--pond-night);
    color: var(--on-dark-soft);
    padding: 64px 0 28px;
}

.foot-water {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 34px;
    fill: var(--paper);
}

main:has(> .reserve:last-child) + .foot .foot-water {
    fill: var(--honey);
}

main:has(> .contact-band:last-child) + .foot .foot-water {
    fill: var(--cream);
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr .8fr;
    gap: 32px;
}

.foot h2 {
    font-family: var(--text);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--honey);
    margin-bottom: 12px;
}

.foot-name {
    font-family: var(--display);
    font-size: 1.9rem;
    line-height: 1.05;
    color: var(--on-dark);
}

.foot-name span {
    color: var(--honey);
}

.foot a {
    color: var(--on-dark);
}

.foot a:hover {
    color: var(--honey-lit);
}

.foot address {
    font-style: normal;
}

.foot-mail {
    overflow-wrap: anywhere;
}

.foot-phone {
    font-family: var(--display);
    font-size: 1.5rem;
    text-decoration: none;
}

.foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.foot-links li {
    margin-bottom: 6px;
}

.foot-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--pond-line);
    font-size: .9rem;
}

.foot-bottom p {
    margin: 0;
}

@media (max-width: 900px) {
    .foot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .foot-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- 404 ---- */

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px var(--gutter);
    text-align: center;
    color: var(--on-dark);
    background:
        linear-gradient(180deg, rgba(9, 25, 22, .7), rgba(9, 25, 22, .95)),
        url("/img/pond-reflection-sm.webp") center / cover;
}

.not-found > div {
    max-width: 560px;
}

.not-found .brand {
    align-items: center;
    margin: 0 auto 28px;
}

.not-found h1 {
    font-size: clamp(2.4rem, 1.6rem + 3vw, 3.8rem);
}

.not-found a:not(.btn) {
    color: var(--honey-lit);
}

/* ---- motion on scroll ---- */

@supports (animation-timeline: view()) {
    .section-head,
    .play-grid li,
    .house-bento li,
    .figure-row li,
    .course-map,
    .course-legend {
        animation: reveal linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 60%;
    }

    @keyframes reveal {
        from {
            opacity: 0;
            transform: translateY(40px);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .hero-reflect {
        filter: blur(.4px) !important;
    }
}

/* lightbox colours */
.lightbox {
    --lb-bg: rgba(6, 18, 15, .94);
    --lb-text: #f4efe3;
    --lb-accent: #e0a63a;
    --lb-accent-soft: rgba(224, 166, 58, .22);
}

/* ---- lightbox: /js/lightbox.js opens a linked image enlarged over the page, in a <dialog> ----
   Paste this block into the site's css/site.css. The overlay is dark in every theme and brings its own
   colours and box sizing, so it does not depend on the rest of the stylesheet. To recolour it to the
   site, set these on .lightbox (or on :root): --lb-bg, --lb-text, --lb-accent (focus ring),
   --lb-accent-soft (hover). */

[data-lightbox] {
    cursor: zoom-in;
}

.lightbox,
.lightbox * {
    box-sizing: border-box;
}

html:has(.lightbox[open]) {
    overflow: hidden;
    scrollbar-gutter: stable;
}

.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 68px 12px 14px;
    border: 0;
    background: var(--lb-bg, rgba(12, 14, 16, 0.95));
    color: var(--lb-text, #f2f2f2);
    color-scheme: dark;
    overscroll-behavior: contain;
}

.lightbox[open] {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.lightbox::backdrop {
    background: none;
}

.lightbox-stage {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.lightbox-stage img {
    display: block;
    max-width: none;
    border-radius: 4px;
    background: #fff;
}

.lightbox-caption {
    display: grid;
    place-items: center;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 0 56px;
    color: var(--lb-text, #f2f2f2);
    font-size: 0.92rem;
    line-height: 1.35;
    text-align: center;
}

.lightbox-button {
    position: absolute;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lightbox-button:hover {
    border-color: #ffffff;
    background-color: var(--lb-accent-soft, rgba(255, 255, 255, 0.16));
}

.lightbox-button:focus-visible {
    outline: 3px solid var(--lb-accent, #ffffff);
    outline-offset: 3px;
    border-radius: 50%;
}

.lightbox-button[hidden] {
    display: none;
}

.lightbox-close {
    top: 12px;
    right: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}

.lightbox-prev,
.lightbox-next {
    bottom: 14px;
}

.lightbox-prev {
    left: 12px;
    rotate: 180deg;
}

.lightbox-next {
    right: 12px;
}

@media (min-width: 760px) {
    .lightbox {
        padding: 24px 84px 18px;
    }

    .lightbox-caption {
        padding: 0;
    }

    .lightbox-prev,
    .lightbox-next {
        top: calc(50% - 22px);
        bottom: auto;
    }

    .lightbox-prev {
        left: 20px;
    }

    .lightbox-next,
    .lightbox-close {
        right: 20px;
    }

    .lightbox-close {
        top: 20px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] {
        animation: lightbox-in 0.2s ease;
    }
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }
}
