/* Reef Lodge, Newquay. Palette from the original logo (navy ink, lighthouse red) and the sunny bay
   photographs (Atlantic teal, sand, chimney-pot terracotta). Display: Darker Grotesque; text: Afacad.
   Signature: the walk from the lodge (index), a wave line that draws itself, stops placed by the minutes
   the original states. */

@font-face {
    font-family: "Darker Grotesque";
    src: url("../fonts/darker-grotesque.woff2") format("woff2");
    font-weight: 300 900;
    font-display: swap;
}

@font-face {
    font-family: "Afacad";
    src: url("../fonts/afacad.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --ink: #2f346a;
    --ink-deep: #1d2150;
    --ink-soft: #e7e8f3;
    --sea: #0a6872;
    --sea-bright: #3bb7b0;
    --sea-mist: #d8efec;
    --sun: #f5b841;
    --sun-deep: #e49a12;
    --red: #c8343c;
    --clay: #a24722;
    --sand: #f7f1e6;
    --paper: #fffdf8;
    --text: #1c2040;
    --muted: #4c5170;
    --line: #e3dccd;
    --radius: 22px;
    --radius-s: 12px;
    --shadow: 0 18px 40px -24px rgba(29, 33, 80, 0.45);
    --display: "Darker Grotesque", "Arial Narrow", system-ui, sans-serif;
    --body: "Afacad", system-ui, -apple-system, "Segoe UI", sans-serif;
    --menu-fg: var(--ink);
    --menu-focus: var(--sea);
    color-scheme: light;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

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

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

a {
    color: var(--sea);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

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

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

h1,
h2,
h3 {
    font-family: var(--display);
    color: var(--ink);
    line-height: 0.98;
    letter-spacing: -0.01em;
    margin: 0 0 0.45em;
}

h1 {
    font-size: clamp(2.9rem, 1.6rem + 5.4vw, 6.2rem);
    font-weight: 850;
    line-height: 0.9;
}

h2 {
    font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.8rem);
    font-weight: 800;
}

h3 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.05;
}

p {
    margin: 0 0 1em;
}

.wrap {
    width: min(1220px, 100% - 32px);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    border-radius: 999px;
}

.skip:focus {
    top: 12px;
}

.kicker {
    margin: 0 0 0.8rem;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clay);
}

.kicker-light {
    color: var(--sun);
}

.lead {
    font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.4rem);
    line-height: 1.5;
    color: var(--text);
    max-width: 60ch;
}

.note {
    color: var(--muted);
    font-size: 1rem;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

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

.btn-sun {
    background: var(--sun);
    color: var(--ink-deep);
    box-shadow: 0 10px 22px -12px rgba(228, 154, 18, 0.9);
}

.btn-sun:hover {
    background: #ffc95c;
    color: var(--ink-deep);
}

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

.btn-line:hover {
    background: var(--ink);
    color: #fff;
}

.arrow-link {
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 2px solid var(--sun);
}

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

.arrow-light {
    color: #fff;
}

.arrow-light:hover {
    color: var(--sun);
}

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

.top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 253, 248, 0.9);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid rgba(47, 52, 106, 0.1);
}

.top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding-block: 8px;
}

.brand {
    margin-right: auto;
    flex: none;
}

.brand img {
    height: 64px;
    width: auto;
}

.top-call {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    order: 2;
}

.top-call:hover {
    background: var(--ink-deep);
    color: #fff;
}

.top-book {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--sun);
    color: var(--ink-deep);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    order: 3;
}

.top-book:hover {
    background: #ffc95c;
    color: var(--ink-deep);
}

.menu-toggle {
    order: 4;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 4px;
    order: 1;
}

.nav a {
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.nav a:hover {
    background: var(--ink-soft);
}

.nav a[aria-current] {
    background: var(--ink);
    color: #fff;
}

@media (max-width: 1239px) {
    .nav {
        order: 5;
        flex-basis: 100%;
        justify-content: center;
        border-top: 1px solid rgba(47, 52, 106, 0.1);
        padding-top: 4px;
    }
}

/* ---- menu: /js/menu.js folds the navigation behind a button on a phone ---- */

.menu-toggle {
    display: none;
}

@media (max-width: 860px) {
    .has-menu .menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 9px;
        min-height: 44px;
        padding: 0 14px;
        border: 2px solid currentColor;
        border-radius: 999px;
        background: var(--menu-bg, transparent);
        color: var(--menu-fg, inherit);
        font: inherit;
        font-weight: 600;
        line-height: 1;
        cursor: pointer;
    }

    .has-menu .menu-toggle:focus-visible {
        outline: 3px solid var(--menu-focus, currentColor);
        outline-offset: 3px;
    }

    .has-menu .menu-nav:not(.is-open) {
        display: none;
    }

    .has-menu .menu-nav.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-basis: 100%;
        width: 100%;
        margin-inline: 0;
        gap: 2px;
        padding-block: 6px 4px;
        background: var(--menu-panel, none);
    }

    .has-menu .menu-nav.is-open a {
        padding-block: 12px;
    }
}

@media (max-width: 420px) {
    .has-menu .menu-toggle {
        justify-content: center;
        width: 44px;
        padding: 0;
    }

    .menu-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

/* three bars that turn into a cross while the menu is open */
.menu-bars,
.menu-bars::before,
.menu-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.menu-bars {
    position: relative;
}

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

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

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

.menu-toggle[aria-expanded="true"] .menu-bars {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-bars::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 560px) {
    .brand img {
        height: 46px;
    }

    .top-book {
        display: none;
    }

    .top-call {
        padding: 0 12px;
        font-size: 1rem;
    }
}

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

    .brand img {
        height: 40px;
    }

    .top-call {
        padding: 0 10px;
        font-size: 0.95rem;
        gap: 5px;
    }

    .top-call .icon {
        width: 15px;
        height: 15px;
    }
}

/* ---- hero ---- */

.hero {
    position: relative;
    padding-block: clamp(28px, 4vw, 64px) clamp(40px, 6vw, 90px);
    background:
        radial-gradient(120% 80% at 100% 0%, var(--sea-mist) 0%, rgba(216, 239, 236, 0) 55%),
        linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: center;
}

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

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1.6rem 0 1.2rem;
}

.hero-address {
    font-weight: 600;
    color: var(--muted);
}

.hero-photo {
    position: relative;
    margin: 0;
    border-radius: 200px 200px var(--radius) var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 4.4;
}

.hero-photo a,
.hero-photo img {
    width: 100%;
    height: 100%;
}

.hero-photo img {
    object-fit: cover;
    object-position: 40% 70%;
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 40px;
    fill: var(--sand);
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * {
        animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    .hero-copy > :nth-child(2) {
        animation-delay: 0.08s;
    }

    .hero-copy > :nth-child(3) {
        animation-delay: 0.16s;
    }

    .hero-copy > :nth-child(4) {
        animation-delay: 0.24s;
    }

    .hero-copy > :nth-child(5) {
        animation-delay: 0.32s;
    }

    .hero-photo {
        animation: reveal 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }
}

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

@keyframes reveal {
    from {
        clip-path: inset(100% 0 0 0 round 200px 200px 22px 22px);
    }

    to {
        clip-path: inset(0 0 0 0 round 200px 200px 22px 22px);
    }
}

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

    .hero-photo {
        order: -1;
        aspect-ratio: 4 / 3;
        border-radius: 120px 120px var(--radius) var(--radius);
    }

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

/* ---- the walk (signature) ---- */

.walk {
    padding-block: clamp(56px, 7vw, 110px);
    background: var(--sand);
}

.walk-line {
    position: relative;
    margin-top: 2rem;
    height: 300px;
}

.walk-svg {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    width: 100%;
    height: 90px;
    transform: translateY(-50%);
    overflow: visible;
}

.walk-path {
    fill: none;
    stroke: var(--sea-bright);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
}

.walk-stops {
    list-style: none;
    margin: 0;
    padding: 0;
}

.stop {
    position: absolute;
    left: calc(var(--at) / 15 * (100% - 22px));
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stop::before {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--paper);
    border: 5px solid var(--ink);
}

.stop:nth-child(odd) {
    top: calc(50% + 24px);
    padding-top: 6px;
}

.stop:nth-child(odd)::before {
    top: -35px;
}

.stop:nth-child(even) {
    bottom: calc(50% + 24px);
    flex-direction: column-reverse;
    padding-bottom: 6px;
}

.stop:nth-child(even)::before {
    bottom: -35px;
}

.stop:last-child {
    left: auto;
    right: 0;
    text-align: right;
    align-items: flex-end;
}

.stop:last-child::before {
    left: auto;
    right: 0;
}

.stop-home::before {
    background: var(--red);
    border-color: var(--ink);
}

.stop-min {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(3rem, 2rem + 3vw, 5rem);
    line-height: 0.8;
    color: var(--ink);
}

.stop-min small {
    font-size: 0.38em;
    font-weight: 800;
    color: var(--clay);
}

.stop-name {
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
}

.walk-note {
    margin-top: 1.4rem;
    font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
    .walk-path {
        animation: draw 2.4s cubic-bezier(0.5, 0, 0.3, 1) 0.3s both;
    }

    .stop {
        animation: rise 0.6s ease both;
        animation-delay: calc(0.4s + var(--at) * 0.13s);
    }

    @supports (animation-timeline: view()) {
        .walk-path {
            animation: draw linear both;
            animation-timeline: view();
            animation-range: entry 10% cover 45%;
        }

        .stop {
            animation: rise linear both;
            animation-timeline: view();
            animation-range: entry 20% cover 40%;
        }
    }
}

@keyframes draw {
    from {
        stroke-dashoffset: 1;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 860px) {
    .walk-line {
        height: auto;
        padding-left: 34px;
    }

    .walk-line::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 12px;
        bottom: 12px;
        width: 0;
        border-left: 5px dotted var(--sea-bright);
    }

    .walk-svg {
        display: none;
    }

    .walk-stops {
        display: grid;
        gap: 22px;
    }

    .stop,
    .stop:nth-child(odd),
    .stop:nth-child(even),
    .stop:last-child {
        position: relative;
        inset: auto;
        width: auto;
        flex-direction: row;
        align-items: baseline;
        gap: 14px;
        padding: 0;
        text-align: left;
    }

    .stop::before,
    .stop:nth-child(odd)::before,
    .stop:nth-child(even)::before,
    .stop:last-child::before {
        left: -34px;
        right: auto;
        top: 6px;
        bottom: auto;
    }

    .stop-min {
        min-width: 3.2ch;
        font-size: 3.2rem;
    }
}

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

.about-home,
.rooms-home,
.features,
.photos,
.faq-home,
.room-know,
.room-others,
.company,
.steps-sec,
.lodges,
.carparks,
.surf-centre {
    padding-block: clamp(56px, 7vw, 104px);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
}

.split-top {
    align-items: start;
}

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

.about-photo {
    margin: 0;
    border-radius: var(--radius) var(--radius) 160px var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 12px 48px;
    margin-bottom: 2rem;
}

.section-head p:last-child {
    max-width: 46ch;
    color: var(--muted);
}

/* rooms strip */

.rooms-home {
    background: var(--paper);
}

.room-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-block: 0;
    padding: 0;
    list-style: none;
}

.room-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--sand);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.room-card a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.room-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.room-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px 20px;
}

.room-persons {
    font-weight: 600;
    color: var(--clay);
    margin: 0;
}

.room-persons strong {
    font-family: var(--display);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 0.8;
    color: var(--ink);
}

.room-name {
    font-family: var(--display);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ink);
}

.room-meta {
    color: var(--muted);
    font-size: 1rem;
}

@media (max-width: 1100px) {
    .room-strip {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
        width: 100%;
        padding-inline: 16px;
        scroll-padding-inline: 16px;
    }

    .room-card {
        flex: 0 0 min(280px, 78%);
        scroll-snap-align: start;
    }
}

/* features bento */

.features {
    background:
        radial-gradient(60% 60% at 0% 100%, var(--sea-mist), rgba(216, 239, 236, 0)),
        var(--sand);
}

.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.bento li {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
}

.bento h3 {
    font-size: 1.6rem;
}

.bento p {
    margin: 0;
    color: var(--muted);
}

.bento .bento-big {
    grid-row: span 2;
    grid-column: span 1;
    background: var(--ink);
    border-color: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-big h3,
.bento-big p {
    color: #fff;
}

.bento-num {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(6rem, 4rem + 6vw, 10rem);
    line-height: 0.75;
    color: var(--sun);
    margin-bottom: 18px;
}

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

.bento .bento-clean {
    grid-column: 1 / -1;
    background: var(--sea);
    border-color: var(--sea);
}

.bento-clean h3,
.bento-clean p {
    color: #fff;
}

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

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

    .bento .bento-wide,
    .bento .bento-clean,
    .bento .bento-big {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .bento li,
        .room-card,
        .place,
        .guide-card {
            animation: rise linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 22%;
        }
    }
}

/* photo mosaic */

.photo-mosaic {
    columns: 3 260px;
    column-gap: 14px;
    margin: 0 auto 1.4rem;
    padding: 0;
    list-style: none;
}

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

.photo-mosaic a {
    display: block;
    border-radius: var(--radius-s);
    overflow: hidden;
}

.photo-mosaic img {
    width: 100%;
    transition: transform 0.4s ease;
}

.photo-mosaic a:hover img {
    transform: scale(1.04);
}

/* quotes */

.quotes {
    padding-block: clamp(56px, 7vw, 104px);
    background:
        radial-gradient(70% 90% at 100% 0%, rgba(59, 183, 176, 0.28), rgba(59, 183, 176, 0)),
        var(--ink-deep);
    color: #fff;
}

.quotes h2 {
    color: #fff;
}

.quote-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 2rem 0;
}

.quote {
    margin: 0;
    padding: 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.quote blockquote {
    margin: 0 0 1rem;
}

.quote p {
    color: #f2f3fa;
}

.quote figcaption {
    font-weight: 700;
    color: var(--sun);
}

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

/* questions */

.qa-list details {
    border-bottom: 1px solid var(--line);
}

.qa-list summary {
    position: relative;
    padding: 18px 44px 18px 0;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.qa-list summary::-webkit-details-marker {
    display: none;
}

.qa-list summary::after {
    content: "+";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--clay);
}

.qa-list details[open] summary::after {
    content: "–";
}

.qa-list details p {
    color: var(--muted);
}

.faq-home {
    background: var(--paper);
}

.qa-page {
    padding-bottom: clamp(56px, 7vw, 104px);
}

.qa-list-wide {
    max-width: 860px;
    margin-top: 1.5rem;
}

/* call band */

.band {
    padding-block: clamp(48px, 6vw, 88px);
    background:
        radial-gradient(80% 120% at 0% 100%, rgba(59, 183, 176, 0.5), rgba(59, 183, 176, 0)),
        linear-gradient(120deg, var(--ink) 0%, var(--sea) 100%);
    color: #fff;
}

.band h2 {
    color: #fff;
}

.band-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px 48px;
    align-items: center;
}

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

.band-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    overflow-wrap: anywhere;
}

.band-line:hover {
    color: var(--sun);
    border-color: var(--sun);
}

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

/* footer */

.foot {
    position: relative;
    background: var(--ink-deep);
    color: #e4e6f3;
    padding-block: 48px 28px;
}

.foot-wave {
    position: absolute;
    left: 0;
    top: -36px;
    width: 100%;
    height: 38px;
    fill: var(--ink-deep);
}

.band + .foot .foot-wave {
    display: none;
}

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

.foot h2 {
    font-size: 1.5rem;
    color: #fff;
}

.foot-h-gap {
    margin-top: 1.4rem;
}

.foot a {
    color: #fff;
}

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

.foot address {
    font-style: normal;
    margin-bottom: 1rem;
}

.foot-brand img {
    width: 200px;
    margin-bottom: 1rem;
}

.foot-social {
    display: flex;
    gap: 16px;
    font-weight: 700;
}

.foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.foot-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.95rem;
    color: #c9cce2;
}

.foot-bottom a {
    color: #fff;
}

.foot-company {
    max-width: 90ch;
}

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

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

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

.page-head {
    padding-block: clamp(36px, 5vw, 76px) clamp(28px, 4vw, 56px);
    background:
        radial-gradient(90% 90% at 100% 0%, var(--sea-mist), rgba(216, 239, 236, 0) 60%),
        var(--sand);
}

.page-head-tight h1 {
    font-size: clamp(2.6rem, 1.6rem + 4vw, 5rem);
}

.crumbs {
    padding-top: 14px;
}

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.98rem;
    color: var(--muted);
}

.crumbs li + li::before {
    content: "/";
    margin: 0 8px;
    color: var(--clay);
}

.crumbs + .page-head,
.crumbs + .room-hero {
    padding-top: 20px;
}

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

.chip-list a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.chip-list a:hover {
    background: var(--ink);
    color: #fff;
}

/* rooms list */

.rooms-list {
    padding-block: 40px clamp(56px, 7vw, 104px);
}

.room-rows {
    display: grid;
    gap: 22px;
    margin-block: 0 1rem;
    padding: 0;
    list-style: none;
}

.room-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--sand);
}

.room-row:nth-child(even) .room-row-img {
    order: 2;
}

.room-row-img img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.room-row-body {
    padding: clamp(20px, 4vw, 48px);
}

.room-row-body h2 {
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.room-row-body h2 a {
    color: var(--ink);
    text-decoration: none;
}

.room-row-body h2 a:hover {
    color: var(--sea);
}

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

    .room-row:nth-child(even) .room-row-img {
        order: 0;
    }
}

/* room page */

.room-hero {
    padding-bottom: 40px;
    background: var(--sand);
}

.crumbs:has(+ .room-hero) {
    background: var(--sand);
    width: 100%;
    padding-inline: max(16px, (100% - 1220px) / 2);
}

.h-small {
    font-size: 1.9rem;
    margin-top: 1.4rem;
}

.ticks {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.ticks li {
    position: relative;
    padding-left: 30px;
}

.ticks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sea);
    font-weight: 700;
}

.room-facts {
    margin: 0;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
}

.room-facts div {
    border-top: 2px solid var(--line);
    padding-top: 10px;
}

.room-facts dt {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clay);
}

.room-facts dd {
    margin: 4px 0 0;
    font-weight: 600;
}

.room-facts .fact-big {
    grid-column: 1 / -1;
    border-top: 0;
    padding-top: 0;
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.room-facts .fact-big dd {
    font-family: var(--display);
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 0.75;
    color: var(--ink);
    order: -1;
}

.room-photos {
    padding-top: 40px;
}

.room-know {
    background: var(--sand);
}

.other-rooms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.other-rooms a {
    display: block;
    border-radius: var(--radius-s);
    overflow: hidden;
    background: var(--sand);
    color: var(--muted);
    text-decoration: none;
}

.other-rooms img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.other-rooms span {
    display: block;
    padding: 12px 14px 16px;
    font-size: 1rem;
}

.other-rooms strong {
    display: block;
    color: var(--ink);
    font-size: 1.1rem;
}

@media (max-width: 960px) {
    .other-rooms {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .room-facts {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* guides */

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-block: 32px 24px;
    padding: 0;
    list-style: none;
}

.guide-card a {
    position: relative;
    display: block;
    height: 100%;
    min-height: 260px;
    border-radius: var(--radius);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: var(--ink-deep);
}

.guide-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guide-card a:hover img {
    transform: scale(1.05);
}

.guide-card-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 60px 20px 18px;
    background: linear-gradient(180deg, rgba(29, 33, 80, 0) 0%, rgba(29, 33, 80, 0.88) 55%);
}

.guide-card-body strong {
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.guide-card-big {
    grid-column: span 2;
    grid-row: span 2;
}

.guide-card-big strong {
    font-size: 3rem;
}

.map-out {
    padding-bottom: clamp(56px, 7vw, 104px);
}

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

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

    .guide-card-big {
        grid-column: auto;
        grid-row: auto;
    }
}

.places {
    padding-block: 40px clamp(48px, 6vw, 88px);
}

.place-list {
    display: grid;
    gap: clamp(28px, 4vw, 56px);
    margin-block: 0;
    padding: 0;
    list-style: none;
}

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

.place:nth-child(even) .place-img {
    order: 2;
}

.place-img {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.place-img img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.place-body {
    position: relative;
}

.place:not(:has(.place-img)) .place-body {
    grid-column: 1 / -1;
    max-width: 760px;
}

.place-num {
    display: block;
    font-family: var(--display);
    font-weight: 900;
    font-size: 4rem;
    line-height: 0.8;
    color: var(--sea-bright);
    margin-bottom: 8px;
}

.place-address {
    font-weight: 700;
    color: var(--clay);
}

.other-guides {
    padding-block: 40px clamp(56px, 7vw, 96px);
    background: var(--sand);
}

.other-guides h2 {
    font-size: 2.2rem;
}

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

    .place:nth-child(even) .place-img {
        order: 0;
    }
}

.surf-card {
    padding: 24px;
    border-radius: var(--radius);
    background: #111;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-block: 0;
    padding: 0;
    list-style: none;
}

.activity a {
    display: block;
    border-radius: var(--radius-s);
    overflow: hidden;
    margin-bottom: 14px;
}

.activity img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.activity h2 {
    font-size: 2rem;
}

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

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

/* parking */

.map-figure {
    margin: 0;
}

.map-figure a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.map-figure figcaption {
    margin-top: 8px;
    font-size: 0.98rem;
    color: var(--muted);
}

.carpark-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.carpark {
    padding: clamp(20px, 3vw, 32px);
    border-radius: var(--radius);
    background: var(--sand);
}

.carpark h2 {
    font-size: 2.4rem;
}

.carpark h3 {
    margin-top: 1.2rem;
    font-size: 1.4rem;
    color: var(--sea);
}

.when {
    margin: 0.4rem 0;
    font-size: 1rem;
    color: var(--muted);
}

.tariff {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0 10px;
    background: var(--paper);
    border-radius: var(--radius-s);
    overflow: hidden;
}

.tariff th,
.tariff td {
    padding: 8px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-weight: 500;
}

.tariff td {
    text-align: right;
    font-weight: 700;
    color: var(--ink);
}

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

/* reviews */

.review-wall {
    columns: 3 300px;
    column-gap: 18px;
    margin-block: 40px;
    padding: 0;
    list-style: none;
}

.review {
    break-inside: avoid;
    margin-bottom: 18px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--sand);
}

.review-score {
    font-family: var(--display);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.05;
    color: var(--ink);
}

.review-score strong {
    color: var(--sea);
}

.review-meta,
.review-who {
    margin: 0.3rem 0 0;
    font-size: 1rem;
    color: var(--muted);
}

.review-who {
    font-weight: 700;
    color: var(--ink);
}

/* gallery */

.gallery-grid {
    columns: 4 220px;
    column-gap: 12px;
    margin-block: 32px clamp(56px, 7vw, 104px);
    padding: 0;
    list-style: none;
}

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

.gallery-grid a {
    display: block;
    border-radius: var(--radius-s);
    overflow: hidden;
}

.gallery-grid img {
    width: 100%;
    transition: transform 0.4s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.04);
}

/* cards, forms, documents */

.contact-card,
.form-card {
    padding: clamp(22px, 3vw, 36px);
    border-radius: var(--radius);
    background: var(--sand);
}

.form-card {
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.contact-card h2,
.form-card h2 {
    font-size: 2.2rem;
}

.contact-card address {
    font-style: normal;
    font-weight: 600;
    margin-bottom: 1rem;
}

.big-line {
    font-size: 1.35rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.big-line a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 2px solid var(--sun);
}

.big-line .icon {
    display: inline;
    vertical-align: -2px;
}

.company {
    background: var(--paper);
}

.facts-list {
    margin: 0;
    display: grid;
    gap: 14px;
}

.facts-list div {
    border-top: 2px solid var(--line);
    padding-top: 10px;
}

.facts-list dt {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clay);
}

.facts-list dd {
    margin: 2px 0 0;
    font-weight: 600;
}

.steps {
    margin: 0 0 1.6rem;
    padding: 0;
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 16px;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 64px;
    min-height: 48px;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -6px;
    font-family: var(--display);
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--sea-bright);
}

.steps-sec {
    background: var(--sand);
}

.lodge-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lodge-cards h3 {
    font-size: 1.7rem;
}

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

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    color: var(--ink);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #c9c2b2;
    border-radius: var(--radius-s);
    background: #fff;
    color: var(--text);
    font: inherit;
}

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

.contact-form ul {
    margin: 4px 0 0;
    padding-left: 18px;
    color: var(--red);
}

.contact-form .btn {
    justify-self: start;
}

.form-hint {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.contact-sent {
    margin-bottom: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-s);
    background: var(--sea-mist);
    color: var(--ink-deep);
}

.contact-sent strong {
    display: block;
}

.contact-noscript {
    color: var(--muted);
}

.doc {
    max-width: 820px;
    padding-block: 40px clamp(56px, 7vw, 104px);
}

.doc h2 {
    margin-top: 1.6em;
    font-size: 2.1rem;
}

.doc h3 {
    margin-top: 1.3em;
    font-size: 1.5rem;
}

.doc .doc-part {
    margin-top: 1.8em;
    padding-top: 0.6em;
    border-top: 3px solid var(--sun);
    font-size: 2.6rem;
}

.doc .doc-part:first-child {
    margin-top: 0;
}

.doc ul {
    padding-left: 1.2em;
}

.doc li {
    margin-bottom: 0.4em;
}

.doc-date {
    font-weight: 700;
    color: var(--clay);
}

.doc-end {
    margin-top: 2rem;
    font-weight: 700;
}

/* 404 */

.not-found {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    background: var(--sand);
}

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

.not-found img {
    margin: 0 auto 24px;
}

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

/* ---- lightbox ---- */
/* ---- 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;
    }
}

.lightbox {
    --lb-bg: rgba(18, 21, 52, 0.96);
    --lb-accent: #f5b841;
    --lb-accent-soft: rgba(245, 184, 65, 0.22);
}
