/* =============================================================================
   The Rise Retreat — landing page styles
   Imports Spacewalk design tokens, then layers brand + page overrides.
   ============================================================================= */

@import url('lib/_spacewalk_design/design.css');

/* =============================================================================
   Brand overrides
   ============================================================================= */

:root {
    --brand-blue: rgb(64, 104, 132);
    --brand-blue-dark: rgb(46, 76, 98);
    --brand-blue-light: rgb(94, 134, 162);
    --brand-gold: rgb(167, 147, 119);
    --brand-gold-light: rgb(196, 178, 152);
    --brand-cream: rgb(247, 243, 235);
    --brand-stone: rgb(232, 226, 215);
    --brand-ink: rgb(28, 38, 48);

    /* Wire brand into the design system roles */
    --brand-primary: var(--brand-blue);
    --brand-secondary: var(--brand-gold);
    --selection-bg: var(--brand-blue);
    --surface-input-border-focus: var(--brand-blue);

    /* Page surface — warm cream, not cool gray */
    --surface-page: var(--brand-cream);
    --surface-card: #FFFFFF;
    --surface-sunken: var(--brand-stone);
    --surface-border: rgba(64, 104, 132, 0.15);
    --surface-text: var(--brand-ink);

    /* Type — serif headings, system sans body */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* =============================================================================
   Base
   ============================================================================= */

html { scroll-behavior: smooth; }

body {
    background: var(--surface-page);
    color: var(--surface-text);
    font-family: var(--font-base);
    margin: 0;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--brand-blue);
    letter-spacing: -0.01em;
}

h1 { font-weight: 700; }

a { color: var(--brand-blue); text-decoration: none; }
a:hover { color: var(--brand-blue-dark); text-decoration: underline; }

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

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.wrap-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =============================================================================
   Site header
   ============================================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 243, 235, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--surface-border);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.site-logo {
    height: 56px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-nav-link {
    color: var(--brand-ink);
    font-size: 0.9375rem;
    font-weight: 500;
}

.site-nav-link:hover { color: var(--brand-blue); text-decoration: none; }

.btn-cta {
    display: inline-block;
    background: var(--brand-blue);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}
.btn-cta:hover { background: var(--brand-blue-dark); color: #fff; text-decoration: none; }

.btn-cta-gold { background: var(--brand-gold); }
.btn-cta-gold:hover { background: rgb(143, 124, 98); }

.btn-cta-lg { padding: 1rem 2rem; font-size: 1.0625rem; }

.cta-row {
    margin-top: 2rem;
    text-align: center;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.375rem;
    background: var(--brand-cream);
    border: 1px solid var(--brand-gold);
    border-radius: 8px;
    color: var(--brand-blue-dark);
    text-decoration: none;
    text-align: left;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.btn-download:hover {
    background: #fff;
    border-color: var(--brand-blue);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-download-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--brand-gold);
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1;
}

.btn-download-label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--brand-blue-dark);
    line-height: 1.25;
}

.btn-download-meta {
    display: block;
    font-size: 0.8125rem;
    color: rgba(28, 38, 48, 0.6);
    margin-top: 0.125rem;
    letter-spacing: 0.01em;
}

@media (max-width: 720px) {
    .site-nav-link[data-hide-mobile] { display: none; }
    .site-logo { height: 44px; }
}

/* =============================================================================
   Hero
   ============================================================================= */

.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(28, 38, 48, 0.15) 0%,
        rgba(28, 38, 48, 0.55) 65%,
        rgba(28, 38, 48, 0.85) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 4rem 1.5rem 5rem;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
}

.hero-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand-gold);
    padding: 0.5rem 0.875rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    line-height: 1.05;
    max-width: 18ch;
    margin-bottom: 1rem;
}

.hero-sub {
    font-size: clamp(1.0625rem, 1vw + 0.875rem, 1.375rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 38ch;
    margin-bottom: 2rem;
    line-height: 1.45;
}

.hero-cta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-cta-row .phone {
    color: #fff;
    font-weight: 500;
    font-size: 0.9375rem;
    opacity: 0.9;
}

/* -----------------------------------------------------------------------------
   Hero — split variant: full-bleed image on top, copy block below
   ----------------------------------------------------------------------------- */

.hero-split {
    display: block;
    color: inherit;
    min-height: 0;
    overflow: visible;
    padding: 0;
}

.hero-split::after { display: none; }

.hero-split .hero-media {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.hero-split .hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-split .hero-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 30%;
    background: linear-gradient(180deg, transparent 0%, rgba(28, 38, 48, 0.25) 100%);
}

.hero-split .hero-inner {
    position: relative;
    z-index: 1;
    padding: 3rem 1.5rem 3.5rem;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
    color: var(--copy-dark, #1c2630);
}

.hero-split .hero-eyebrow {
    color: #fff;
}

.hero-split h1 {
    color: var(--copy-dark, #1c2630);
}

.hero-split .hero-sub {
    color: var(--copy-dark-medium, #4a5560);
}

@media (max-width: 720px) {
    .hero-split .hero-media { height: 65vh; }
    .hero-split .hero-inner { padding: 2rem 1.25rem 2.5rem; }
}

/* =============================================================================
   Property / Spaces showcase
   ============================================================================= */

.spaces {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.spaces-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--surface-stone);
}

.spaces-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.spaces-card:hover img { transform: scale(1.03); }

.spaces-card-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, transparent 0%, rgba(28, 38, 48, 0.85) 100%);
    color: #fff;
}

.spaces-card-caption .label {
    display: inline-block;
    background: var(--brand-gold);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}

.spaces-card-caption h3 {
    color: #fff;
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.3;
}

.spaces-stack {
    display: grid;
    gap: 0.5rem;
    grid-auto-rows: 1fr;
}

.spaces-stack .spaces-card { aspect-ratio: 4 / 3; }

.spaces-stack > a {
    display: block;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 720px) {
    .spaces { grid-template-columns: 1fr; }
    .spaces-card { aspect-ratio: 4 / 3; }
}

/* =============================================================================
   Rooms preview strip
   ============================================================================= */

.rooms-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 2rem;
}

.rooms-strip a {
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--brand-stone);
    position: relative;
}

.rooms-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rooms-strip a:hover img { transform: scale(1.06); }

.rooms-strip a.more {
    background: var(--brand-blue);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    text-decoration: none;
    gap: 0.625rem;
}

.rooms-strip a.more:hover { background: var(--brand-blue-dark); text-decoration: none; }

.rooms-strip a.more .arrow {
    font-size: 1.5rem;
    line-height: 1;
}

@media (max-width: 720px) {
    .rooms-strip { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================================
   Section base
   ============================================================================= */

section { padding: 5rem 0; }

@media (max-width: 720px) {
    section { padding: 3.5rem 0; }
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand-gold);
    margin-bottom: 0.75rem;
}

.section-heading {
    font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.section-body {
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(28, 38, 48, 0.82);
}

.section-body p + p { margin-top: 1rem; }

.section-alt { background: var(--brand-stone); }
.section-dark {
    background: var(--brand-blue);
    color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-eyebrow { color: var(--brand-gold-light); }
.section-dark .section-body { color: rgba(255, 255, 255, 0.88); }

/* =============================================================================
   Capacity callout
   ============================================================================= */

.capacity-callout {
    background: #fff;
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.capacity-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 4vw + 2rem, 5rem);
    font-weight: 700;
    color: var(--brand-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.capacity-label {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.875rem;
    color: var(--brand-gold);
    font-weight: 600;
}

/* =============================================================================
   Two-column lists
   ============================================================================= */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.two-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--brand-blue);
}

.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--surface-border);
    font-size: 1.0625rem;
    color: rgba(28, 38, 48, 0.82);
}
.list-clean li:last-child { border-bottom: none; }

.two-col-media {
    align-items: center;
    gap: 3.5rem;
}

.media-figure {
    margin: 0;
}

.media-figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 12px 32px -16px rgba(28, 38, 48, 0.3);
}

.attraction-figure {
    margin: 0 0 1rem;
    position: relative;
}

.attraction-figure img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.attraction-figure[data-placeholder] img {
    filter: saturate(0.55) brightness(0.95);
    opacity: 0.85;
}

.attraction-figure[data-placeholder]::after {
    content: 'Placeholder';
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    background: rgba(28, 38, 48, 0.78);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    pointer-events: none;
}

@media (max-width: 720px) {
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* =============================================================================
   Reasons grid (Why churches choose this)
   ============================================================================= */

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.reason-card {
    background: #fff;
    border-left: 3px solid var(--brand-gold);
    padding: 1.75rem;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.reason-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.reason-card p {
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(28, 38, 48, 0.75);
}

/* =============================================================================
   Pull quote
   ============================================================================= */

.pullquote {
    text-align: center;
    padding: 5rem 1.5rem;
}

.pullquote blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.5vw + 1rem, 2.125rem);
    line-height: 1.4;
    font-style: italic;
    color: var(--brand-blue);
    max-width: 28ch;
    margin: 0 auto;
    quotes: '"' '"';
}

.pullquote blockquote::before { content: open-quote; }
.pullquote blockquote::after  { content: close-quote; }

/* =============================================================================
   Testimonial
   ============================================================================= */

.testimonial {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    border-left: 3px solid var(--brand-gold);
    margin-top: 2rem;
    max-width: 720px;
}

.testimonial blockquote {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.55;
    color: rgba(28, 38, 48, 0.85);
    margin: 0 0 0.75rem 0;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--brand-blue);
    font-size: 0.9375rem;
}

.section-dark .testimonial {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--brand-gold-light);
}
.section-dark .testimonial blockquote { color: rgba(255, 255, 255, 0.92); }
.section-dark .testimonial cite { color: var(--brand-gold-light); }

/* =============================================================================
   Travel table
   ============================================================================= */

.drive-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 1.0625rem;
}

.drive-table th, .drive-table td {
    text-align: left;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.drive-table th {
    font-weight: 600;
    color: var(--brand-gold-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8125rem;
}

.drive-table td:last-child {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: var(--brand-gold-light);
    font-weight: 500;
}

/* =============================================================================
   CTA section (closing)
   ============================================================================= */

.cta-section {
    text-align: center;
    background: var(--brand-blue);
    color: #fff;
    padding: 6rem 1.5rem;
    background-image:
        linear-gradient(180deg, rgba(46,76,98,0.85), rgba(46,76,98,0.95)),
        url('images/firepit-mountain-view.webp');
    background-size: cover;
    background-position: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 50ch;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    line-height: 1.55;
}

/* =============================================================================
   Sub-page header (gallery / contact) — slimmer, lighter
   ============================================================================= */

.subpage-header {
    background: var(--brand-blue);
    color: #fff;
    padding: 4rem 1.5rem 3.5rem;
    text-align: center;
}

.subpage-header.subpage-header-mini {
    padding: 1.5rem 1.5rem 1.25rem;
    text-align: left;
    max-width: 1280px;
    margin: 0 auto;
    background: transparent;
}

.subpage-header.subpage-header-mini .smart-back {
    color: var(--brand-blue);
    margin-bottom: 0;
}

.subpage-header.subpage-header-mini .smart-back:hover { color: var(--brand-blue-dark); }

.subpage-header h1 {
    color: #fff;
    font-size: clamp(2rem, 3vw + 1rem, 3rem);
    margin-bottom: 0.5rem;
}

.subpage-header p {
    color: rgba(255,255,255,0.85);
    max-width: 50ch;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.55;
}

.smart-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    color: var(--brand-gold-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}
.smart-back:hover { color: #fff; text-decoration: none; }
.smart-back .arrow { font-size: 1rem; }

/* =============================================================================
   Gallery grid
   ============================================================================= */

.gallery {
    padding: 3rem 0 5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0.5rem;
}

.gallery-grid figure {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 4px;
    background: var(--brand-stone);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

/* =============================================================================
   Property hub — section tiles
   ============================================================================= */

.property-tiles {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    max-width: 1280px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.property-tiles > a.tile-wide { grid-column: span 3; }
.property-tiles > a:not(.tile-wide) { grid-column: span 2; }

.property-tiles a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.property-tile {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--surface-stone, #e8e4dd);
    margin: 0;
}

.property-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.property-tile:hover img { transform: scale(1.04); }

.property-tile figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(28, 38, 48, 0.88) 100%);
    color: #fff;
}

.property-tile figcaption .label {
    display: inline-block;
    background: var(--brand-gold);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
}

.property-tile figcaption h3 {
    color: #fff;
    font-size: 1.375rem;
    margin: 0 0 0.4rem;
    line-height: 1.25;
}

.property-tile figcaption p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .property-tiles { grid-template-columns: 1fr; }
    .property-tiles > a.tile-wide,
    .property-tiles > a:not(.tile-wide) { grid-column: auto; }
    .property-tile { aspect-ratio: 4 / 3; }
}

/* Cabin sub-grid (smaller tiles) */
.cabin-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    max-width: 1280px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.cabin-grid a { text-decoration: none; color: inherit; display: block; }

.cabin-tile {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--brand-stone);
    margin: 0;
}

.cabin-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cabin-tile:hover img { transform: scale(1.06); }

.cabin-tile figcaption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(28, 38, 48, 0.88) 100%);
    color: #fff;
}

.cabin-tile figcaption .label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    color: var(--brand-gold-light);
    font-weight: 600;
    display: block;
    margin-bottom: 0.15rem;
}

.cabin-tile figcaption h3 {
    color: #fff;
    font-size: 1.0625rem;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 900px) { .cabin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cabin-grid { grid-template-columns: 1fr; } }

/* =============================================================================
   Space detail page (cabin / lodge / conference room)
   ============================================================================= */

.space-detail {
    max-width: 880px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 1rem;
}

.space-detail .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    color: var(--brand-blue);
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.space-detail h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0 0 1rem;
    line-height: 1.15;
}

.space-detail .lead {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--copy-dark-medium, #4a5560);
    margin: 0 0 2rem;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.specs-list li {
    background: var(--brand-stone);
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.space-hero {
    max-width: 880px;
    margin: 0 auto 2.5rem;
    padding: 0 1.25rem;
}

.space-hero figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--brand-stone);
}

.space-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 600px) {
    .space-hero figure { aspect-ratio: 4 / 3; border-radius: 8px; }
}

.suite-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 0 0 2.5rem;
}

.suite-photos figure {
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: var(--brand-stone);
}

.suite-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 600px) {
    .suite-photos { grid-template-columns: repeat(2, 1fr); }
}

.amenity-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    max-width: 880px;
    margin: 0 auto 3rem;
    padding: 0 1.25rem;
}

.amenity-cols h3 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-blue);
    margin: 0 0 0.75rem;
}

.amenity-cols ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenity-cols li {
    padding: 0.3rem 0 0.3rem 1.25rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.5;
}

.amenity-cols li::before {
    content: '·';
    position: absolute;
    left: 0.4rem;
    top: 0.25rem;
    color: var(--brand-gold);
    font-size: 1.4rem;
    line-height: 1;
}

@media (max-width: 640px) {
    .amenity-cols { grid-template-columns: 1fr; gap: 1.5rem; }
}

.booking-cta {
    text-align: center;
    padding: 2.5rem 1rem 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.booking-cta h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

.booking-cta p {
    color: var(--copy-dark-medium, #4a5560);
    margin: 0 0 1.5rem;
    line-height: 1.55;
}

/* =============================================================================
   Footer
   ============================================================================= */

.site-footer {
    position: relative;
    background: var(--brand-blue-dark);
    color: rgba(255, 255, 255, 0.82);
    padding: 7rem 0 2rem;
    margin-top: 0;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: url('images/footerbottom.svg') no-repeat top center;
    background-size: cover;
    transform: rotate(180deg);
    opacity: 0.18;
    pointer-events: none;
}

.site-footer-inner {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 3rem;
    align-items: start;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-logo {
    width: 120px;
    height: auto;
}

.footer-tag {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--brand-gold-light);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-contact a { color: rgba(255, 255, 255, 0.88); }
.footer-contact a:hover { color: var(--brand-gold-light); text-decoration: none; }

.footer-categories {
    margin-top: 1.75rem;
}

.footer-categories h3 {
    font-family: var(--font-sans, inherit);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-gold-light);
    margin: 0 0 0.5rem;
}

.footer-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-categories a {
    color: rgba(255, 255, 255, 0.88);
}
.footer-categories a:hover {
    color: var(--brand-gold-light);
    text-decoration: none;
}

.footer-categories li[aria-current="page"] {
    color: var(--brand-gold-light);
    font-weight: 600;
}

.footer-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 720px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-logo { margin: 0 auto; }
}

/* =============================================================================
   Utility
   ============================================================================= */

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }

/* =============================================================================
   Lightbox
   ============================================================================= */

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

body.lightbox-open { overflow: hidden; }
body.lightbox-open .site-header { visibility: hidden; }

.lightbox-empty { display: none; }

.lightbox-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(12, 16, 22, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: lightbox-fade 0.2s ease-out;
}

@keyframes lightbox-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-stage {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.lightbox-image {
    max-width: 100%;
    max-height: calc(100vh - 4rem);
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    pointer-events: auto;
}

.lightbox-close,
.lightbox-nav {
    position: fixed;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    cursor: pointer;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.lightbox-close:active,
.lightbox-nav:active {
    transform: scale(0.95);
}

.lightbox-close {
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.1rem;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    line-height: 1;
    padding-bottom: 0.2rem;
}

.lightbox-nav:active { transform: translateY(-50%) scale(0.95); }

.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

.lightbox-counter {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
}

.lightbox-spinner {
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: lightbox-spin 0.8s linear infinite;
    pointer-events: none;
}

@keyframes lightbox-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 720px) {
    .lightbox-backdrop { padding: 0.5rem; }
    .lightbox-close { top: 0.75rem; right: 0.75rem; }
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
    .lightbox-nav { width: 2.5rem; height: 2.5rem; font-size: 1.5rem; }
}
