:root {
    --marine: #0B3D42;
    --lagoon: #2E6E71;
    --dune: #E8C88A;
    --terracotta: #C97A50;
    --salt: #F7F4EE;
    --driftwood: #B8AFA0;
    --tide: #132A3A;
    --ink: var(--color-ink, #0B3D42);
    --surface: var(--color-surface, #F7F4EE);
    --line: rgba(184, 175, 160, 0.58);
    --line-dark: rgba(247, 244, 238, 0.18);
    --muted: #6F7976;
    --success: #286747;
    --danger: #9C3D32;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Instrument Sans', 'Segoe UI', sans-serif;
    --container: 1180px;
    --wide: 1440px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    background: var(--salt);
    color: var(--marine);
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background:
        linear-gradient(180deg, rgba(247, 244, 238, 0.96) 0%, rgba(247, 244, 238, 1) 46%, rgba(235, 239, 235, 0.82) 100%);
    color: var(--marine);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
    letter-spacing: 0;
}

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

p {
    margin: 0;
}

p + p {
    margin-top: 1rem;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 24px;
    top: 12px;
    z-index: 100;
    transform: translateY(-160%);
    padding: 0.65rem 1rem;
    background: var(--dune);
    color: var(--marine);
    font-weight: 600;
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--lagoon);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
}

.eyebrow:before,
.section-kicker:before {
    content: '';
    width: 44px;
    height: 1px;
    margin-right: 14px;
    background: currentColor;
}

.eyebrow-light,
.eyebrow-light:before {
    color: var(--dune);
}

.section-kicker .eyebrow {
    margin: 0;
}

.section-kicker .eyebrow:before {
    display: none;
}

.section-kicker .section-index {
    color: var(--muted);
}

.section-spacious {
    padding: 144px 0;
}

.section-salt {
    background: rgba(247, 244, 238, 0.72);
}

.section-deep {
    padding: 150px 0;
    background: var(--tide);
    color: var(--salt);
}

.section {
    padding: 112px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 64px;
}

.section-title,
.section-header h2,
.section-heading-row h2,
.editorial-heading h2,
.footer-lead h2,
.page-hero h1,
.hero-content h1,
.login-panel h1,
.member-hero-copy h1,
.account-intro h1,
.contact-copy h2,
.profile-statement h2,
.service-panel h1,
.admin-topbar h1,
.admin-panel h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-content h1 {
    max-width: 10ch;
    font-size: 96px;
}

.page-hero h1,
.login-panel h1,
.member-hero-copy h1,
.account-intro h1,
.footer-lead h2 {
    font-size: 74px;
}

.section-title,
.section-header h2,
.section-heading-row h2,
.editorial-heading h2,
.contact-copy h2,
.profile-statement h2,
.service-panel h1,
.admin-topbar h1 {
    font-size: 56px;
}

.admin-panel h2 {
    font-size: 36px;
}

.section-copy,
.section-header p,
.section-heading-row p,
.editorial-copy,
.hero-content p,
.page-hero p,
.login-panel p,
.member-hero-copy p,
.account-intro p,
.contact-copy p,
.profile-statement p,
.service-panel p {
    color: rgba(11, 61, 66, 0.74);
    font-size: 17px;
    line-height: 1.8;
}

.section-deep .section-heading-row p,
.section-deep .benefit-row p,
.page-hero p,
.hero-content p {
    color: rgba(247, 244, 238, 0.82);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.78rem 1.35rem;
    border: 1px solid var(--dune);
    border-radius: 0 28px 28px 0;
    background: var(--dune);
    color: var(--marine);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 650;
    text-transform: uppercase;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus {
    background: var(--terracotta);
    border-color: var(--terracotta);
    color: var(--salt);
    transform: translateX(2px);
}

.button-outline {
    background: transparent;
    border-color: rgba(11, 61, 66, 0.35);
    color: var(--marine);
}

.button-light,
.button-gold {
    background: var(--dune);
    border-color: var(--dune);
    color: var(--marine);
}

.button-ghost {
    background: transparent;
    border-color: rgba(247, 244, 238, 0.46);
    color: var(--salt);
}

.section-deep .button-outline,
.site-footer .button-outline,
.page-hero .button-outline,
.hero-home .button-outline {
    border-color: rgba(247, 244, 238, 0.42);
    color: var(--salt);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--lagoon);
    font-size: 0.86rem;
    font-weight: 650;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
}

.text-link-light {
    color: var(--dune);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(247, 244, 238, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(184, 175, 160, 0.32);
    transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(247, 244, 238, 0.96);
    border-color: rgba(184, 175, 160, 0.62);
}

.topbar {
    background: var(--marine);
    color: rgba(247, 244, 238, 0.86);
    font-size: 0.78rem;
}

.topbar-inner,
.nav-shell,
.member-strip-inner,
.footer-bottom,
.admin-table-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar-inner {
    min-height: 36px;
}

.topbar-promise span {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 10px;
    background: var(--dune);
}

.topbar-meta {
    display: flex;
    gap: 18px;
}

.topbar-meta strong {
    color: var(--dune);
    font-weight: 600;
}

.header-main {
    background: transparent;
}

.nav-shell {
    min-height: 86px;
}

.brandmark,
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brandmark-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--marine);
    background: transparent;
    color: var(--marine);
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.brandmark-footer .brandmark-badge,
.admin-brand .brandmark-badge {
    border-color: rgba(247, 244, 238, 0.5);
    color: var(--salt);
}

.brandmark-text strong,
.admin-brand span {
    display: block;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1;
}

.brandmark-text small,
.admin-brand small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
}

.brandmark-footer .brandmark-text small,
.admin-brand small {
    color: rgba(247, 244, 238, 0.62);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.site-nav a:not(.nav-account) {
    color: rgba(11, 61, 66, 0.78);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
}

.site-nav a.is-active {
    color: var(--marine);
}

.nav-account {
    padding: 0.74rem 1rem;
    border-left: 1px solid rgba(11, 61, 66, 0.28);
    color: var(--marine);
    font-size: 0.82rem;
    font-weight: 650;
    text-transform: uppercase;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 0;
    border: 0;
    background: transparent;
    color: var(--marine);
    font-weight: 650;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-toggle i,
.nav-toggle i:before,
.nav-toggle i:after {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
}

.nav-toggle i {
    position: relative;
}

.nav-toggle i:before,
.nav-toggle i:after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle i:before {
    top: -7px;
}

.nav-toggle i:after {
    top: 7px;
}

.flash {
    width: min(calc(100% - 40px), var(--container));
    margin: 24px auto 0;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    background: rgba(247, 244, 238, 0.94);
    color: var(--marine);
}

.flash-success {
    border-left: 5px solid var(--success);
}

.flash-error {
    border-left: 5px solid var(--danger);
}

.hero-home {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--tide);
    background-position: center;
    background-size: cover;
    color: var(--salt);
}

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

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(19, 42, 58, 0.86), rgba(19, 42, 58, 0.34) 48%, rgba(19, 42, 58, 0.12)),
        linear-gradient(180deg, rgba(19, 42, 58, 0.24), rgba(19, 42, 58, 0.68));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), var(--wide));
    margin: 0 auto;
    padding: 0 0 92px 8vw;
}

.hero-content p {
    max-width: 640px;
    margin: 26px 0 34px;
}

.hero-caption,
.hero-scroll {
    position: absolute;
    z-index: 1;
    color: rgba(247, 244, 238, 0.72);
    font-size: 0.78rem;
}

.hero-caption {
    right: 40px;
    bottom: 34px;
}

.hero-scroll {
    left: 40px;
    top: 48%;
    writing-mode: vertical-rl;
    text-transform: uppercase;
}

.trust-bar {
    background: var(--salt);
    border-bottom: 1px solid var(--line);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-grid div {
    padding: 28px 24px;
    border-left: 1px solid var(--line);
    color: rgba(11, 61, 66, 0.76);
    font-size: 0.86rem;
}

.trust-grid div:first-child {
    border-left: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    color: var(--marine);
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.1;
}

.editorial-intro {
    padding: 156px 0;
}

.section-intro .editorial-intro,
.editorial-intro .container,
.benefits-intro .container {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 88px;
    align-items: start;
}

.editorial-copy {
    max-width: 650px;
    padding-top: 56px;
}

.section-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.45fr);
    gap: 80px;
    align-items: end;
    margin-bottom: 78px;
}

.benefit-list {
    border-top: 1px solid var(--line-dark);
}

.benefit-row {
    display: grid;
    grid-template-columns: 88px 0.42fr 1fr;
    gap: 40px;
    padding: 38px 0;
    border-bottom: 1px solid var(--line-dark);
}

.benefit-index {
    color: var(--dune);
    font-family: var(--font-display);
    font-size: 2rem;
}

.benefit-label {
    color: var(--dune);
    font-size: 0.8rem;
    font-weight: 650;
    text-transform: uppercase;
}

.benefit-row h3 {
    margin: 0 0 8px;
    color: var(--salt);
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 500;
    line-height: 1.08;
}

.story-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr);
    gap: 86px;
    align-items: center;
    padding: 150px 0;
    padding-left: max(20px, calc((100vw - var(--container)) / 2));
    padding-right: max(20px, calc((100vw - var(--container)) / 2));
}

.story-split .container {
    display: grid;
    grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1fr);
    gap: 86px;
    align-items: center;
}

.story-image,
.rate-image,
.specials-image,
.member-hero-image,
.login-image,
.service-art-card {
    position: relative;
    overflow: hidden;
}

.story-image img,
.rate-image img,
.specials-image img,
.member-hero-image img,
.login-image img,
.service-art-card img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.image-note {
    position: absolute;
    left: 20px;
    bottom: 18px;
    padding: 0.4rem 0.65rem;
    background: rgba(11, 61, 66, 0.72);
    color: var(--salt);
    font-size: 0.76rem;
}

.story-content h2,
.rate-content h2,
.specials-copy h2,
.gallery-statement h2,
.process-intro h2 {
    margin: 0 0 24px;
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 500;
    line-height: 1;
}

.check-list {
    display: grid;
    gap: 18px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 34px;
}

.check-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 18px;
    height: 1px;
    background: var(--terracotta);
}

.destination-section {
    padding: 144px 0;
}

.destination-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.destination-card {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: var(--tide);
    color: var(--salt);
}

.destination-card:nth-child(2) {
    margin-top: 88px;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
    transition: transform 900ms ease, opacity 500ms ease;
}

.destination-card:hover img {
    transform: scale(1.035);
    opacity: 0.72;
}

.destination-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 32px;
    background: linear-gradient(180deg, rgba(19, 42, 58, 0), rgba(19, 42, 58, 0.86));
}

.destination-overlay span {
    color: var(--dune);
    font-size: 0.78rem;
    font-weight: 650;
    text-transform: uppercase;
}

.destination-overlay h3 {
    margin: 12px 0;
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1;
}

.destination-overlay p {
    color: rgba(247, 244, 238, 0.82);
}

.testimonial-feature {
    padding: 140px 0;
    background: var(--marine);
    color: var(--salt);
}

.testimonial-feature .container,
.testimonial-editorial-grid,
.member-profile-grid,
.contact-grid,
.account-grid,
.service-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 88px;
    align-items: center;
}

.quote-mark {
    display: block;
    color: var(--dune);
    font-family: var(--font-display);
    font-size: 88px;
    line-height: 0.7;
}

.featured-quote,
.testimonial-large blockquote,
.story-note blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 500;
    line-height: 1.14;
}

.testimonial-aside,
.testimonial-context {
    padding-top: 80px;
    border-top: 1px solid rgba(247, 244, 238, 0.25);
}

.testimonial-aside strong,
.testimonial-large p,
.testimonial-context h2,
.testimonial-context p {
    color: var(--salt);
}

.testimonial-aside span,
.testimonial-context span {
    color: rgba(247, 244, 238, 0.66);
}

.final-cta {
    padding: 136px 0;
}

.final-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) auto;
    gap: 48px;
    align-items: end;
    padding-top: 58px;
    border-top: 1px solid var(--line);
}

.final-cta h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 500;
    line-height: 1;
}

.page-hero {
    position: relative;
    min-height: 72vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    background: var(--tide);
    color: var(--salt);
}

.page-hero-tall {
    min-height: 80vh;
}

.page-hero-media {
    position: absolute;
    inset: 0;
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.78;
}

.page-hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(19, 42, 58, 0.84), rgba(19, 42, 58, 0.36) 52%, rgba(19, 42, 58, 0.12)),
        linear-gradient(180deg, rgba(19, 42, 58, 0.1), rgba(19, 42, 58, 0.72));
}

.page-hero-content {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), var(--wide));
    margin: 0 auto;
    padding: 0 0 96px 9vw;
}

.page-hero-content h1 {
    max-width: 12ch;
}

.page-hero-content p {
    max-width: 650px;
    margin-top: 28px;
}

.about-gallery {
    padding: 150px 0;
}

.gallery-composition {
    display: grid;
    grid-template-columns: 0.9fr 0.72fr 0.9fr;
    gap: 24px;
    align-items: center;
}

.gallery-composition figure {
    margin: 0;
}

.gallery-main img,
.gallery-secondary img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

.gallery-secondary {
    margin-top: 110px;
}

.gallery-secondary img {
    height: 460px;
}

.gallery-composition figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.78rem;
}

.gallery-statement {
    padding: 24px 0 0 28px;
}

.values-section {
    padding: 144px 0;
    background: var(--marine);
    color: var(--salt);
}

.values-grid,
.value-grid,
.process-grid,
.steps-grid,
.service-grid,
.member-action-grid,
.story-columns,
.benefit-detail-grid {
    display: grid;
    gap: 1px;
}

.values-grid,
.value-grid,
.steps-grid,
.service-grid,
.member-action-grid,
.benefit-detail-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.values-card,
.value-card,
.process-card,
.service-card,
.member-action,
.benefit-detail,
.story-note,
.stats-card {
    padding: 34px;
    border: 1px solid var(--line);
    background: rgba(247, 244, 238, 0.42);
}

.values-card,
.value-card {
    border-color: rgba(247, 244, 238, 0.18);
    background: transparent;
}

.values-card h3,
.value-card h3,
.process-card h3,
.service-card h3,
.member-action h3,
.benefit-detail h3 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.1;
}

.values-card p,
.value-card p,
.service-card p,
.member-action p,
.benefit-detail p {
    color: rgba(11, 61, 66, 0.72);
}

.values-card p,
.value-card p {
    color: rgba(247, 244, 238, 0.74);
}

.value-card span,
.values-card span {
    display: block;
    margin-bottom: 28px;
    color: var(--dune);
    font-family: var(--font-display);
    font-size: 2rem;
}

.process-section,
.membership-steps {
    padding: 144px 0;
}

.process-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
    gap: 80px;
}

.process-list,
.steps-grid {
    padding: 0;
    margin: 0;
    list-style: none;
}

.process-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.process-list li {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.process-list strong {
    color: var(--terracotta);
}

.benefits-intro {
    padding: 150px 0;
}

.benefit-detail-section {
    padding: 120px 0 150px;
}

.benefit-detail {
    min-height: 330px;
    background: transparent;
}

.benefit-detail-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    color: var(--terracotta);
    font-size: 0.82rem;
    font-weight: 650;
    text-transform: uppercase;
}

.rate-section,
.specials-section {
    padding: 140px 0;
}

.rate-section {
    display: grid;
    grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1fr);
    gap: 86px;
    align-items: center;
    padding-left: max(20px, calc((100vw - var(--container)) / 2));
    padding-right: max(20px, calc((100vw - var(--container)) / 2));
}

.rate-section .container,
.specials-inner {
    display: grid;
    grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1fr);
    gap: 86px;
    align-items: center;
}

.specials-section {
    background: var(--tide);
    color: var(--salt);
}

.specials-copy p {
    color: rgba(247, 244, 238, 0.78);
}

.membership-steps .steps-grid li {
    padding: 34px;
    border-top: 1px solid var(--line);
}

.membership-steps .steps-grid article {
    padding: 34px;
    border-top: 1px solid var(--line);
}

.membership-steps .steps-grid strong,
.membership-steps .steps-grid span {
    display: block;
    margin-bottom: 18px;
    color: var(--terracotta);
}

.testimonial-editorial {
    background: var(--marine);
    color: var(--salt);
}

.testimonial-context {
    border-top-color: rgba(247, 244, 238, 0.22);
}

.story-list {
    padding-top: 136px;
}

.story-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-note {
    min-height: 330px;
    background: transparent;
}

.story-note span,
.service-number,
.member-action span {
    display: block;
    margin-bottom: 28px;
    color: var(--terracotta);
    font-family: var(--font-display);
    font-size: 2rem;
}

.story-note blockquote {
    font-size: 32px;
}

.story-note p {
    margin-top: 28px;
    color: rgba(11, 61, 66, 0.72);
}

.story-note em {
    display: block;
    color: var(--lagoon);
    font-style: normal;
}

.member-strip {
    background: var(--marine);
    color: rgba(247, 244, 238, 0.86);
}

.member-strip-inner {
    min-height: 54px;
}

.member-strip-links {
    display: flex;
    gap: 18px;
}

.member-strip a {
    color: var(--dune);
    font-weight: 650;
}

.login-section {
    min-height: calc(100vh - 122px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
    background: var(--salt);
}

.login-image {
    min-height: 720px;
}

.login-panel {
    align-self: center;
    padding: 92px 10vw 92px 72px;
}

.login-panel p {
    margin: 24px 0 34px;
}

.login-assist {
    color: var(--muted);
    font-size: 0.9rem;
}

.login-assist a {
    color: var(--lagoon);
    border-bottom: 1px solid currentColor;
}

.member-hero {
    padding: 126px 0 112px;
}

.member-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.82fr);
    gap: 86px;
    align-items: center;
}

.member-hero-image img {
    min-height: 540px;
}

.member-actions {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.member-action {
    background: transparent;
}

.primary-action {
    background: var(--marine);
    color: var(--salt);
}

.primary-action p {
    color: rgba(247, 244, 238, 0.75);
}

.profile-links {
    border-top: 1px solid var(--line);
}

.profile-links a {
    display: block;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.profile-links span,
.contact-lines span {
    display: block;
    color: var(--terracotta);
    font-size: 0.78rem;
    font-weight: 650;
    text-transform: uppercase;
}

.profile-links strong,
.contact-lines strong {
    display: block;
    margin-top: 6px;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.15;
}

.account-section {
    min-height: 80vh;
}

.account-grid {
    align-items: start;
}

.contact-section {
    background: var(--salt);
}

.contact-lines {
    display: grid;
    gap: 24px;
    margin-top: 44px;
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

.form-panel {
    padding: 44px;
    border: 1px solid var(--line);
    background: rgba(247, 244, 238, 0.48);
}

.field {
    margin-bottom: 26px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: rgba(11, 61, 66, 0.72);
    font-size: 0.78rem;
    font-weight: 650;
    text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 0.75rem 0 0.85rem;
    border: 0;
    border-bottom: 1px solid rgba(11, 61, 66, 0.36);
    border-radius: 0;
    background: transparent;
    color: var(--marine);
    outline: 0;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-bottom-color: var(--terracotta);
}

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

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.field-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}

.grid-three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
}

.section-card,
.benefit-card,
.member-card,
.testimonial-card,
.hero-card {
    padding: 34px;
    border: 1px solid var(--line);
    background: rgba(247, 244, 238, 0.62);
}

.section-card h2,
.benefit-card h2,
.member-card h2,
.section-card h3,
.benefit-card h3,
.member-card h3,
.testimonial-card h3 {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.1;
}

.service-panel {
    padding: 126px 0 80px;
}

.service-panel-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.74fr);
}

.service-art-card {
    border: 1px solid var(--line);
}

.service-embed {
    padding-bottom: 120px;
}

.service-embed iframe {
    width: 100%;
    min-height: 72vh;
    border: 1px solid var(--line);
    background: #fff;
}

.site-footer {
    padding: 132px 0 34px;
    background: var(--tide);
    color: rgba(247, 244, 238, 0.78);
}

.footer-lead {
    padding-bottom: 92px;
}

.footer-lead h2 {
    max-width: 10ch;
    color: var(--salt);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.42fr) minmax(240px, 0.5fr);
    gap: 72px;
    padding-top: 44px;
    border-top: 1px solid var(--line-dark);
}

.footer-brand p {
    max-width: 420px;
    margin-top: 22px;
}

.footer-grid h4 {
    margin: 0 0 22px;
    color: var(--dune);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.footer-nav,
.footer-contact {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer-bottom {
    margin-top: 72px;
    padding-top: 24px;
    border-top: 1px solid var(--line-dark);
    color: rgba(247, 244, 238, 0.54);
    font-size: 0.82rem;
}

.admin-body {
    background: #F1EFE8;
}

.admin-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    padding: 34px 28px;
    background: var(--tide);
    color: rgba(247, 244, 238, 0.82);
}

.admin-brand {
    color: var(--salt);
}

.admin-nav {
    display: grid;
    gap: 2px;
    margin-top: 48px;
}

.admin-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(247, 244, 238, 0.14);
    color: rgba(247, 244, 238, 0.72);
}

.admin-nav a.is-active {
    color: var(--dune);
}

.admin-main {
    min-width: 0;
    padding: 48px;
}

.admin-topbar {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.admin-topbar p {
    margin-top: 12px;
    color: var(--muted);
}

.admin-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 34px;
}

.stats-card {
    background: rgba(247, 244, 238, 0.68);
}

.stats-card strong {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 500;
    line-height: 1;
}

.stats-card span {
    color: var(--muted);
    font-size: 0.86rem;
}

.admin-panel {
    margin-bottom: 34px;
    padding: 34px;
    border: 1px solid var(--line);
    background: rgba(247, 244, 238, 0.72);
}

.admin-panel table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.admin-panel th,
.admin-panel td {
    padding: 16px 12px;
    border-bottom: 1px solid rgba(184, 175, 160, 0.52);
    text-align: left;
    vertical-align: top;
}

.admin-panel th {
    color: var(--lagoon);
    font-size: 0.76rem;
    text-transform: uppercase;
}

.admin-table-actions {
    align-items: end;
    margin-bottom: 14px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.empty-state {
    padding: 44px;
    border: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 28px;
}

.pagination-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pagination-note,
.inline-note {
    color: var(--muted);
    font-size: 0.88rem;
}

.inline-note {
    margin-top: 10px;
}

body.has-motion .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

body.has-motion .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .hero-content h1 {
        font-size: 78px;
    }

    .page-hero h1,
    .login-panel h1,
    .member-hero-copy h1,
    .account-intro h1,
    .footer-lead h2 {
        font-size: 60px;
    }

    .section-title,
    .section-header h2,
    .section-heading-row h2,
    .editorial-heading h2,
    .contact-copy h2,
    .profile-statement h2,
    .service-panel h1,
    .admin-topbar h1,
    .story-content h2,
    .rate-content h2,
    .specials-copy h2,
    .gallery-statement h2,
    .process-intro h2 {
        font-size: 46px;
    }

    .section-intro .editorial-intro,
    .editorial-intro .container,
    .benefits-intro .container,
    .story-split,
    .story-split .container,
    .rate-section,
    .rate-section .container,
    .specials-inner,
    .testimonial-feature .container,
    .testimonial-editorial-grid,
    .member-profile-grid,
    .contact-grid,
    .account-grid,
    .service-panel-grid,
    .member-hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .login-section {
        grid-template-columns: 1fr;
    }

    .login-image {
        min-height: 420px;
    }

    .login-panel {
        padding: 72px 40px;
    }
}

@media (max-width: 880px) {
    body {
        font-size: 16px;
    }

    .section-spacious,
    .section,
    .section-deep,
    .editorial-intro,
    .story-split,
    .destination-section,
    .testimonial-feature,
    .about-gallery,
    .values-section,
    .process-section,
    .benefits-intro,
    .benefit-detail-section,
    .rate-section,
    .specials-section,
    .membership-steps,
    .member-actions,
    .member-profile-band,
    .contact-section,
    .account-section,
    .service-panel,
    .final-cta {
        padding-top: 88px;
        padding-bottom: 88px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-shell {
        flex-wrap: wrap;
        min-height: 78px;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px 0 24px;
        border-top: 1px solid var(--line);
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-account {
        padding-left: 0;
        border-left: 0;
    }

    .topbar-inner,
    .member-strip-inner,
    .footer-bottom,
    .admin-table-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-home {
        min-height: 82vh;
    }

    .hero-content,
    .page-hero-content {
        padding-left: 0;
        padding-bottom: 72px;
    }

    .hero-content h1,
    .page-hero h1,
    .login-panel h1,
    .member-hero-copy h1,
    .account-intro h1,
    .footer-lead h2 {
        font-size: 48px;
    }

    .section-title,
    .section-header h2,
    .section-heading-row h2,
    .editorial-heading h2,
    .contact-copy h2,
    .profile-statement h2,
    .service-panel h1,
    .admin-topbar h1,
    .story-content h2,
    .rate-content h2,
    .specials-copy h2,
    .gallery-statement h2,
    .process-intro h2,
    .final-cta h2 {
        font-size: 38px;
    }

    .section-heading-row,
    .section-intro .editorial-intro,
    .trust-grid,
    .destination-grid,
    .gallery-composition,
    .values-grid,
    .value-grid,
    .steps-grid,
    .service-grid,
    .member-action-grid,
    .story-columns,
    .benefit-detail-grid,
    .admin-summary,
    .grid-two,
    .grid-three,
    .footer-grid,
    .field-grid,
    .final-cta-inner {
        grid-template-columns: 1fr;
    }

    .destination-card:nth-child(2),
    .gallery-secondary {
        margin-top: 0;
    }

    .destination-card,
    .gallery-main img,
    .gallery-secondary img,
    .story-image img,
    .rate-image img,
    .specials-image img,
    .member-hero-image img,
    .service-art-card img {
        min-height: 360px;
        height: 360px;
    }

    .benefit-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding: 32px 20px;
    }

    .admin-panel {
        overflow-x: auto;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .brandmark-text strong {
        font-size: 1.12rem;
    }

    .brandmark-badge {
        width: 38px;
        height: 38px;
    }

    .hero-content h1,
    .page-hero h1,
    .login-panel h1,
    .member-hero-copy h1,
    .account-intro h1,
    .footer-lead h2 {
        font-size: 40px;
    }

    .section-title,
    .section-header h2,
    .section-heading-row h2,
    .editorial-heading h2,
    .contact-copy h2,
    .profile-statement h2,
    .service-panel h1,
    .admin-topbar h1,
    .story-content h2,
    .rate-content h2,
    .specials-copy h2,
    .gallery-statement h2,
    .process-intro h2,
    .final-cta h2,
    .featured-quote,
    .testimonial-large blockquote {
        font-size: 32px;
    }

    .story-note blockquote {
        font-size: 26px;
    }

    .form-panel,
    .values-card,
    .value-card,
    .process-card,
    .service-card,
    .member-action,
    .benefit-detail,
    .story-note,
    .stats-card,
    .admin-panel {
        padding: 24px;
    }

    .login-panel {
        padding: 56px 20px;
    }

    .hero-caption,
    .hero-scroll {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *:before,
    *:after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
