/* ==========================================================================
   Sumba Waterfall — Sections & page layouts
   ========================================================================== */

/* Grid safety: prevent intrinsic image widths from blowing out grid/flex tracks */
[class*="__grid"] > *, .sw-spread > *, .sw-cards > *, .sw-eco > *,
.sw-hero__content, .sw-shead--columns > *, .sw-facts > * { min-width: 0; }

/* Frames -------------------------------------------------------------------- */
.sw-frame { position: relative; overflow: hidden; background: var(--stone-2); aspect-ratio: 16 / 10; }
.sw-frame img { width: 100%; height: 100%; object-fit: cover; }
.sw-frame::after {
    content: ''; position: absolute; inset: 12px; pointer-events: none;
    border: 1px solid rgba(251, 249, 244, .38);
}
.sw-frame--wide { aspect-ratio: 21 / 9; }
.sw-frame--tall, .sw-frame--portrait, .sw-frame--card { aspect-ratio: 4 / 5; }
.sw-frame--square { aspect-ratio: 1; }
@media (max-width: 767px) { .sw-frame--wide { aspect-ratio: 4 / 3; } }

figcaption { margin-top: .85rem; font-size: .75rem; letter-spacing: .04em; color: var(--muted); }

/* Section head ------------------------------------------------------------- */
.sw-shead { margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 760px; }
.sw-shead__title { font-size: clamp(2rem, 4vw, 3.4rem); }
.sw-shead__text { margin-top: 1.25rem; font-size: 1.05rem; color: var(--text-soft); max-width: 56ch; }
.sw-shead--split { max-width: 760px; }
.sw-shead--columns { max-width: none; display: grid; gap: 1.5rem 6rem; align-items: start; }
@media (min-width: 1024px) {
    .sw-shead--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Prose -------------------------------------------------------------------- */
.sw-prose { color: var(--text-soft); font-size: 1.0625rem; line-height: 1.85; max-width: 70ch; }
.sw-prose > * + * { margin-top: 1.2em; }
.sw-prose h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); margin-top: 2.2em; color: var(--ink); line-height: 1.25; }
.sw-prose h4 { font-size: 1.2rem; margin-top: 1.8em; }
.sw-prose strong { color: var(--text); font-weight: 600; }
.sw-prose a {
    color: var(--ink); text-decoration: underline; text-decoration-color: var(--bronze-2);
    text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s var(--ease);
}
.sw-prose a:hover { color: var(--bronze); }
.sw-prose ul, .sw-prose ol { padding-left: 1.2rem; }
.sw-prose li + li { margin-top: .5em; }
.sw-prose li::marker { color: var(--bronze-2); }
.sw-prose p { overflow-wrap: break-word; }
.sw-prose--light { color: rgba(243, 239, 230, .78); }
.sw-prose--light a { color: var(--stone); }
.sw-prose--entry img { margin-block: 2rem; }

.sw-lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.8; color: var(--text); margin-bottom: 1rem; }
.sw-lead > p:first-child::first-letter {
    float: left; font-family: var(--serif); font-size: 4.4em; line-height: .82;
    padding: .06em .12em 0 0; color: var(--bronze);
}

/* Page hero (inner pages) -------------------------------------------------- */
.sw-phead {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; align-items: center;
    min-height: clamp(440px, 64vh, 660px);
    padding-block: clamp(4rem, 9vw, 6.5rem);
    background: radial-gradient(120% 90% at 50% 0%, var(--moss) 0%, var(--ink) 72%);
    color: var(--stone); text-align: center;
}
.sw-phead__media { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.sw-phead__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.sw-phead__media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(14, 21, 17, .6) 0%, rgba(14, 21, 17, .48) 45%, rgba(14, 21, 17, .78) 100%);
}
.sw-phead__inner { display: grid; justify-items: center; gap: 1.4rem; }
.sw-crumbs ol {
    list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
    font-size: .78rem; letter-spacing: .06em; color: rgba(243, 239, 230, .75);
}
.sw-crumbs li { min-width: 0; }
.sw-crumbs li + li::before { content: '/'; margin-right: .5rem; color: var(--bronze-2); }
.sw-crumbs a { transition: color .25s var(--ease); }
.sw-crumbs a:hover { color: var(--stone); }
.sw-crumbs li[aria-current] { color: var(--sand); max-width: min(60ch, 80vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sw-phead__tag {
    display: inline-flex; align-items: center; padding: .55rem 1.2rem;
    border: 1px solid rgba(243, 239, 230, .35); background: rgba(22, 32, 27, .3);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: .68rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--sand);
}
.sw-phead__title {
    color: var(--stone); font-size: clamp(2.15rem, 5.2vw, 4.4rem); line-height: 1.08; letter-spacing: -.015em;
    max-width: 20ch; text-shadow: 0 2px 30px rgba(14, 21, 17, .35);
}
.sw-phead__lead { max-width: 60ch; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.8; color: rgba(243, 239, 230, .86); }
.sw-phead__lead strong { color: var(--stone); }
.sw-phead__byline { justify-content: center; margin-top: .25rem; }
.sw-phead__caption { position: absolute; right: var(--gutter); bottom: 1.25rem; font-size: .72rem; letter-spacing: .04em; color: rgba(243, 239, 230, .65); }
@media (max-width: 640px) {
    .sw-phead__caption { display: none; }
    .sw-crumbs li[aria-current] { max-width: 70vw; }
    .sw-phead__byline { flex-direction: column; gap: .3rem; }
    .sw-phead__byline span + span::before { display: none; }
}

/* Quick answer ------------------------------------------------------------- */
.sw-qa { margin-top: clamp(3.5rem, 7vw, 6rem); }
.sw-qa__grid { display: grid; gap: 1.5rem 4rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); border-block: 1px solid var(--line); }
.sw-qa__label { margin: 0; align-self: start; }
.sw-qa__text { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.5; color: var(--ink); }
.sw-qa__text p + p { margin-top: .8em; }
.sw-qa__text a { text-decoration: underline; text-decoration-color: var(--bronze-2); text-underline-offset: .2em; }
.sw-qa__points { list-style: none; display: grid; gap: 1.5rem 2rem; margin-top: 2.5rem; }
.sw-qa__points li { padding-top: 1.1rem; border-top: 1px solid var(--line-soft); display: grid; gap: .5rem; }
.sw-qa__n { font-family: var(--serif); color: var(--bronze); font-size: 1rem; }
.sw-qa__points p { font-size: .95rem; color: var(--text-soft); line-height: 1.7; }
@media (min-width: 768px) { .sw-qa__points { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
@media (min-width: 1024px) { .sw-qa__grid { grid-template-columns: 3fr 9fr; } }

/* Article ------------------------------------------------------------------ */
.sw-article { padding-block: clamp(3.5rem, 7vw, 6rem); }
.sw-article__grid { display: grid; gap: 3rem; }
.sw-article--prose .sw-article__body, .sw-article__grid:not(.has-toc) .sw-article__body { max-width: 820px; }
/* Single posts & default pages: centre the reading column under the centred hero */
.sw-article--prose .sw-article__body { width: 100%; margin-inline: auto; }
.sw-article--prose .sw-prose { margin-inline: auto; }
.sw-toc { display: none; }
@media (min-width: 1100px) {
    .sw-article__grid.has-toc { grid-template-columns: 3.4fr 8.6fr; gap: 5rem; }
    .sw-toc { display: block; }
    .sw-toc nav { position: sticky; top: calc(var(--header-h) + 2.5rem); max-height: calc(100vh - var(--header-h) - 4rem); overflow-y: auto; }
}
.sw-toc ol { list-style: none; border-left: 1px solid var(--line); }
.sw-toc a {
    position: relative; display: grid; grid-template-columns: 2.2rem 1fr; gap: .25rem;
    padding: .6rem 0 .6rem 1.25rem; font-size: .83rem; line-height: 1.45; color: var(--muted);
    transition: color .25s var(--ease);
}
.sw-toc a::before {
    content: ''; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px;
    background: var(--ink); transform: scaleY(0); transition: transform .35s var(--ease);
}
.sw-toc__n { font-family: var(--serif); color: var(--bronze-2); }
.sw-toc a:hover, .sw-toc a.is-active { color: var(--ink); }
.sw-toc a.is-active::before { transform: scaleY(1); }

.sw-sec { padding-block: clamp(2.5rem, 4.5vw, 3.5rem); border-top: 1px solid var(--line-soft); scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.sw-lead + .sw-sec, .sw-article__body > .sw-sec:first-child { border-top: 0; }
.sw-sec__head { display: grid; gap: .6rem; margin-bottom: 1.75rem; }
.sw-sec__num { font-family: var(--serif); font-size: 1.05rem; color: var(--bronze); }
.sw-sec__head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; max-width: 24ch; }
.sw-sec__figure { margin-bottom: 2rem; }

.sw-back { margin-top: 3rem; }
.sw-back a { display: inline-flex; align-items: center; gap: .6rem; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: .4rem; }
.sw-back a:hover { color: var(--bronze); border-color: var(--bronze); }

/* Timeline variant */
.sw-article--timeline .sw-sec--day { position: relative; padding-left: clamp(4.75rem, 8vw, 6.5rem); border-top: 0; }
.sw-article--timeline .sw-sec--day::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: clamp(1.6rem, 2.8vw, 2.25rem); width: 1px; background: var(--line);
}
.sw-day {
    position: absolute; left: 0; top: clamp(2.2rem, 4vw, 3rem);
    width: clamp(3.25rem, 5.6vw, 4.5rem); aspect-ratio: 1; border-radius: 50%;
    display: grid; place-content: center; text-align: center;
    background: var(--stone); border: 1px solid var(--bronze-2);
    font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.45rem); line-height: 1; color: var(--ink);
}
.sw-day small { font-family: var(--sans); font-size: .52rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin-bottom: .2rem; }

/* FAQ ---------------------------------------------------------------------- */
.sw-faq { padding-block: clamp(4.5rem, 9vw, 7.5rem); background: var(--paper); border-block: 1px solid var(--line-soft); }
.sw-faq__grid { display: grid; gap: 2rem; }
.sw-faq__tabs {
    display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .5rem; scrollbar-width: none;
}
.sw-faq__tabs::-webkit-scrollbar { display: none; }
.sw-faq__tab {
    flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: .6rem;
    min-height: 44px; padding: .6rem 1rem; border: 1px solid var(--line); font-size: .85rem; color: var(--text-soft);
    transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.sw-faq__tab .ti { font-size: 1.1rem; color: var(--bronze-2); }
.sw-faq__count { font-size: .7rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.sw-faq__tab:hover { color: var(--ink); border-color: var(--ink); }
.sw-faq__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--stone); }
.sw-faq__tab[aria-selected="true"] .ti, .sw-faq__tab[aria-selected="true"] .sw-faq__count { color: var(--sand); }
@media (min-width: 1024px) {
    .sw-faq__grid { grid-template-columns: 4fr 8fr; gap: 5rem; align-items: start; }
    .sw-faq__grid.is-single { grid-template-columns: 1fr; max-width: 880px; }
    .sw-faq__tabs {
        position: sticky; top: calc(var(--header-h) + 2rem); flex-direction: column; gap: 0; overflow: visible;
        margin: 0; padding: 0; border-top: 1px solid var(--line);
    }
    .sw-faq__tab {
        width: 100%; justify-content: flex-start; border: 0; border-bottom: 1px solid var(--line);
        padding: 1.05rem 0 1.05rem 1rem; position: relative; text-align: left; background: none !important;
    }
    .sw-faq__tab::before {
        content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 0; background: var(--bronze);
        transition: height .3s var(--ease), top .3s var(--ease);
    }
    .sw-faq__tab-t { flex: 1; }
    .sw-faq__tab[aria-selected="true"] { color: var(--ink); }
    .sw-faq__tab[aria-selected="true"]::before { height: 60%; top: 20%; }
    .sw-faq__tab[aria-selected="true"] .sw-faq__count { color: var(--bronze); }
    .sw-faq__tab[aria-selected="true"] .ti { color: var(--bronze); }
}
.sw-faq__panel { border-top: 1px solid var(--line); }
.sw-faq__panel:focus-visible { outline-offset: 6px; }
.sw-faq__item { border-bottom: 1px solid var(--line); }
.sw-faq__item summary {
    list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start;
    padding: 1.4rem 0;
}
.sw-faq__item summary::-webkit-details-marker { display: none; }
.sw-faq__item summary h3 {
    font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.4; font-weight: 400; transition: color .25s var(--ease);
}
.sw-faq__item summary:hover h3 { color: var(--bronze); }
.sw-faq__icon { position: relative; width: 28px; height: 28px; margin-top: .15rem; border: 1px solid var(--line); border-radius: 50%; }
.sw-faq__icon::before, .sw-faq__icon::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: var(--ink);
    transform: translate(-50%, -50%); transition: transform .35s var(--ease);
}
.sw-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.sw-faq__item[open] .sw-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.sw-faq__item[open] .sw-faq__icon { border-color: var(--ink); }
.sw-faq__answer { padding: 0 3rem 1.6rem 0; font-size: 1rem; }
.sw-faq__item::details-content { block-size: 0; overflow-y: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.sw-faq__item[open]::details-content { block-size: auto; }

/* Related / index ---------------------------------------------------------- */
.sw-related { padding-block: clamp(4rem, 8vw, 6.5rem); }
.sw-related__grid { display: grid; gap: 2rem 5rem; }
.sw-related__title { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.sw-index { list-style: none; border-top: 1px solid var(--line); }
.sw-index li { border-bottom: 1px solid var(--line); }
.sw-index a { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: center; padding: 1.3rem 0; }
.sw-index__n { font-family: var(--serif); color: var(--bronze-2); }
.sw-index__t { font-family: var(--serif); font-size: clamp(1.1rem, 1.7vw, 1.4rem); line-height: 1.3; color: var(--ink); transition: color .3s var(--ease), transform .4s var(--ease); }
.sw-index .ti { font-size: 1.25rem; color: var(--muted); transition: transform .4s var(--ease), color .3s var(--ease); }
.sw-index a:hover .sw-index__t { color: var(--bronze); transform: translateX(6px); }
.sw-index a:hover .ti { color: var(--bronze); transform: translate(3px, -3px); }
@media (min-width: 1024px) { .sw-related__grid { grid-template-columns: 4fr 8fr; } }

/* CTA ---------------------------------------------------------------------- */
.sw-cta { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--stone); padding-block: clamp(6rem, 13vw, 10.5rem); text-align: center; }
.sw-cta__media { position: absolute; inset: 0; z-index: -1; }
.sw-cta__media img { width: 100%; height: 100%; object-fit: cover; }
.sw-cta__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 21, 17, .55), rgba(14, 21, 17, .78)); }
.sw-cta__inner { display: grid; justify-items: center; gap: 1.5rem; }
.sw-cta__rule { width: 1px; height: 56px; background: var(--bronze-2); }
.sw-cta__title { color: var(--stone); font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 16ch; }
.sw-cta__text { max-width: 46ch; font-size: 1.05rem; color: rgba(243, 239, 230, .82); }
.sw-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; margin-top: .75rem; }

/* Contact & form ----------------------------------------------------------- */
.sw-contact { margin-top: clamp(3.5rem, 7vw, 6rem); padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--paper); border-block: 1px solid var(--line-soft); }
.sw-contact__grid { display: grid; gap: 3rem 6rem; }
.sw-channels { list-style: none; margin-top: 2.5rem; border-top: 1px solid var(--line); }
.sw-channels li { border-bottom: 1px solid var(--line); }
.sw-channels a { display: grid; grid-template-columns: 2rem 7rem 1fr; gap: 1rem; align-items: center; padding: 1.1rem 0; }
.sw-channels .ti { font-size: 1.25rem; color: var(--bronze); }
.sw-channels__label { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.sw-channels__value { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); overflow-wrap: anywhere; transition: color .25s var(--ease); }
.sw-channels a:hover .sw-channels__value { color: var(--bronze); }
@media (max-width: 520px) { .sw-channels a { grid-template-columns: 2rem 1fr; } .sw-channels__label { display: none; } }
@media (min-width: 1024px) { .sw-contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

.sw-form { display: grid; gap: 1.6rem; align-content: start; }
.sw-field { display: grid; gap: .35rem; }
.sw-field label { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.sw-field input, .sw-field textarea {
    width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
    padding: .8rem 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.sw-field textarea { resize: vertical; min-height: 120px; }
.sw-field input:focus-visible, .sw-field textarea:focus-visible { outline: none; border-color: var(--pool); box-shadow: 0 1px 0 0 var(--pool); }
.sw-field [aria-invalid="true"] { border-color: #9b3b2f; box-shadow: 0 1px 0 0 #9b3b2f; }
.sw-field__error { display: flex; align-items: flex-start; gap: .45rem; font-size: .8rem; line-height: 1.5; color: #9b3b2f; }
.sw-field__error .ti { flex: none; margin-top: .1rem; font-size: 1rem; }
.sw-form__submit { justify-self: start; margin-top: .5rem; }
.sw-form--dark .sw-field label { color: rgba(243, 239, 230, .6); }
.sw-form--dark .sw-field input, .sw-form--dark .sw-field textarea { color: var(--stone); border-color: var(--line-light); }
.sw-form--dark .sw-field input:focus-visible, .sw-form--dark .sw-field textarea:focus-visible { border-color: var(--sand); box-shadow: 0 1px 0 0 var(--sand); }
.sw-form--dark [aria-invalid="true"] { border-color: #e39a8a; box-shadow: 0 1px 0 0 #e39a8a; }
.sw-form--dark .sw-field__error { color: #e39a8a; }

/* HOME: hero --------------------------------------------------------------- */
.sw-hero {
    position: relative; isolation: isolate; overflow: hidden; color: var(--stone); background: var(--ink);
    margin-top: calc(var(--header-h) * -1);
    min-height: 640px;
}
.sw-hero__media { position: absolute; inset: 0; z-index: -1; }
.sw-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.sw-hero__media::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 21, 17, .5) 0%, rgba(14, 21, 17, .18) 45%, rgba(14, 21, 17, 0) 70%),
        linear-gradient(180deg, rgba(14, 21, 17, .45) 0%, rgba(14, 21, 17, .08) 32%, rgba(14, 21, 17, .35) 62%, rgba(14, 21, 17, .86) 100%);
}
@media (max-width: 640px) { .sw-hero .sw-eyebrow { display: none; } }
.sw-hero__inner {
    min-height: inherit; display: flex; flex-direction: column; justify-content: flex-end; gap: 2.5rem;
    padding-top: calc(var(--header-h) + 4rem); padding-bottom: 2rem;
}
.sw-hero__title { color: var(--stone); font-size: clamp(2.7rem, 11.5vw, 10rem); line-height: .95; letter-spacing: -.02em; font-weight: 400; font-kerning: normal; overflow-wrap: break-word; }
.sw-hero__subtitle { margin-top: 1.5rem; font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.85rem); line-height: 1.35; max-width: 32ch; }
.sw-hero__desc { margin-top: 1rem; max-width: 50ch; color: rgba(243, 239, 230, .8); }
.sw-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.sw-hero__links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 1.5rem; }
.sw-hero__links a { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: rgba(243, 239, 230, .85); border-bottom: 1px solid var(--line-light); padding-bottom: .2rem; }
.sw-hero__links a:hover { color: var(--stone); border-color: var(--stone); }
.sw-hero__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line-light); }
.sw-hero__caption { font-size: .75rem; color: rgba(243, 239, 230, .7); letter-spacing: .04em; }
@media (min-width: 768px) { .sw-hero { min-height: clamp(720px, 100svh, 1040px); } }
@media (max-width: 479px) { .sw-hero__desc { display: none; } .sw-hero__inner { gap: 1.75rem; } }

/* HOME: welcome & facts ---------------------------------------------------- */
.sw-welcome { padding-block: clamp(5rem, 10vw, 8.5rem); }
.sw-welcome__grid { display: grid; gap: 3rem 6rem; align-items: start; }
.sw-statement { font-family: var(--serif); font-size: clamp(1.45rem, 2.5vw, 2.15rem); line-height: 1.42; color: var(--ink); margin-bottom: 2.25rem; }
.sw-welcome__figure { width: 100%; }
@media (min-width: 1024px) {
    .sw-welcome__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sw-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; margin: clamp(4rem, 8vw, 6rem) 0 0; border-top: 1px solid var(--line); padding-top: 2.5rem; }
.sw-facts__item { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: .6rem; align-content: start; }
.sw-facts__num { align-self: end; }
.sw-facts__unit { align-self: start; }
.sw-facts dt { display: contents; }
.sw-facts__num { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.05; color: var(--ink); font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.sw-facts__unit { font-size: .66rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); }
.sw-facts dd { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.55; max-width: 30ch; }
@media (min-width: 1024px) { .sw-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 3rem; } }

/* HOME: waterfall spreads -------------------------------------------------- */
.sw-falls { padding-block: clamp(5rem, 10vw, 8rem); background: var(--paper); border-block: 1px solid var(--line-soft); }
.sw-spread { display: grid; gap: 2.5rem 6rem; align-items: center; }
.sw-spread + .sw-spread { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.sw-spread__media { position: relative; }
.sw-spread__num {
    position: absolute; left: clamp(1.25rem, 2.5vw, 2rem); bottom: clamp(1rem, 2vw, 1.5rem);
    font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(251, 249, 244, .9); pointer-events: none;
    text-shadow: 0 0 30px rgba(14, 21, 17, .25);
}
.sw-spread__index { font-size: .7rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1rem; }
.sw-spread__title { font-size: clamp(1.8rem, 3.2vw, 2.75rem); margin-bottom: 1.75rem; max-width: 20ch; }
.sw-spread .sw-prose { font-size: 1rem; margin-bottom: 2rem; }
@media (min-width: 1024px) {
    .sw-spread { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6rem; align-items: stretch; }
    .sw-spread.is-flipped .sw-spread__media { order: 2; }
    .sw-spread__media { height: 100%; }
    .sw-spread__media .sw-frame { aspect-ratio: auto; height: 100%; min-height: 560px; }
    .sw-spread__body { display: flex; flex-direction: column; justify-content: flex-start; }
    .sw-spread__body .sw-link { align-self: flex-start; margin-top: auto; }
}
.sw-spread + .sw-spread { padding-top: clamp(4.5rem, 10vw, 8rem); border-top: 1px solid var(--line-soft); }

/* HOME: gallery strip ------------------------------------------------------ */
.sw-strip { padding-block: clamp(3.5rem, 6vw, 5rem) 0; }
.sw-strip__track { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
.sw-strip__item { min-width: 0; }
.sw-strip__item .sw-frame { aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .sw-strip__track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; } }
.sw-strip__item img { transition: transform 1.2s var(--ease); }
.sw-strip__item:hover img { transform: scale(1.04); }

/* HOME: itineraries -------------------------------------------------------- */
.sw-itins { padding-block: clamp(5rem, 10vw, 8rem); }
.sw-cards { list-style: none; display: grid; gap: 3rem 2rem; align-items: stretch; }
.sw-card { display: flex; flex-direction: column; height: 100%; }
.sw-card__media { display: block; }
.sw-card__media img { transition: transform 1.2s var(--ease); }
.sw-card:hover .sw-card__media img { transform: scale(1.04); }
.sw-card__body { flex: 1; display: flex; flex-direction: column; gap: .9rem; padding-top: 1.5rem; }
.sw-card__num { font-family: var(--serif); color: var(--bronze); }
.sw-card__title { font-size: clamp(1.4rem, 2.1vw, 1.75rem); line-height: 1.2; }
.sw-card__title a:hover { color: var(--bronze); }
.sw-card__text { font-size: .95rem; color: var(--text-soft); line-height: 1.75; }
.sw-card__text { flex: 1; }
.sw-card .sw-link { align-self: flex-start; margin-top: .75rem; }
@media (min-width: 768px) { .sw-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* HOME: eco split ---------------------------------------------------------- */
.sw-eco { display: grid; background: var(--ink); }
.sw-eco__media { min-height: 360px; position: relative; overflow: hidden; }
.sw-eco__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sw-eco__panel { padding: clamp(3rem, 7vw, 6rem) var(--gutter); display: grid; align-content: center; gap: 1.75rem; }
.sw-eco__title { color: var(--stone); font-size: clamp(1.9rem, 3.4vw, 3rem); max-width: 16ch; }
.sw-eco .sw-prose { font-size: .98rem; }
@media (min-width: 1024px) {
    .sw-eco { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: clamp(560px, 86vh, 860px); }
    .sw-eco__panel { padding-inline: clamp(3rem, 5vw, 5.5rem); }
}

.sw-closing { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.sw-closing__inner { display: grid; gap: 1rem 3rem; max-width: 980px; }
.sw-closing__mark { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--bronze-2); }
.sw-closing .sw-prose { font-size: .98rem; }
@media (min-width: 768px) { .sw-closing__inner { grid-template-columns: auto 1fr; } }

/* HOME: plan & enquiry ----------------------------------------------------- */
.sw-plan { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--stone); padding-block: clamp(5rem, 10vw, 8.5rem); }
.sw-plan__media { position: absolute; inset: 0; z-index: -1; opacity: .28; }
.sw-plan__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); }
.sw-plan__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 20%, rgba(22, 32, 27, .6)); }
.sw-plan__grid { display: grid; gap: 3.5rem 7rem; align-items: start; }
.sw-plan__title { color: var(--stone); font-size: clamp(2.3rem, 4.8vw, 4rem); max-width: 14ch; }
.sw-plan__text { margin: 1.5rem 0 2rem; max-width: 42ch; color: rgba(243, 239, 230, .8); font-size: 1.05rem; }
@media (min-width: 1024px) { .sw-plan__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Posts, search, 404 ------------------------------------------------------- */
.sw-posts { padding-block: clamp(3.5rem, 7vw, 6rem); }
.sw-postgrid { list-style: none; display: grid; gap: clamp(1.5rem, 2.4vw, 2.25rem); }
.sw-postgrid > li { display: flex; }
@media (min-width: 640px) { .sw-postgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
    .sw-postgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sw-postgrid__featured { grid-column: 1 / -1; }
}
.sw-postcard {
    position: relative; flex: 1; display: flex; flex-direction: column;
    background: var(--paper); border: 1px solid var(--line-soft);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s var(--ease);
}
.sw-postcard > * { min-width: 0; }
.sw-postcard:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 32px 60px -40px rgba(22, 32, 27, .5); }
.sw-postcard:focus-within { outline: 2px solid var(--pool); outline-offset: 3px; }
.sw-postcard__media { aspect-ratio: 3 / 2; }
.sw-postcard__media img { transition: transform 1.2s var(--ease); }
.sw-postcard:hover .sw-postcard__media img { transform: scale(1.04); }
.sw-postcard__placeholder {
    position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.2rem; color: var(--sand);
    background: radial-gradient(120% 90% at 50% 0%, var(--moss) 0%, var(--ink) 72%);
}
.sw-postcard__body { flex: 1; display: flex; flex-direction: column; gap: .85rem; padding: 1.4rem 1.5rem 1.6rem; }
.sw-postcard__title { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.25; }
.sw-postcard__title a { transition: color .3s var(--ease); }
.sw-postcard__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.sw-postcard__title a:focus-visible { outline: none; }
.sw-postcard:hover .sw-postcard__title a { color: var(--bronze); }
.sw-postcard__excerpt {
    font-size: .94rem; line-height: 1.7; color: var(--text-soft);
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
.sw-postcard .sw-link { align-self: flex-start; margin-top: auto; }
.sw-postcard:hover .sw-link { color: var(--bronze); border-color: var(--bronze); }
.sw-postcard:hover .sw-link .ti-arrow-right { transform: translateX(4px); }
@media (min-width: 1024px) {
    .sw-postcard--featured { display: grid; grid-template-columns: 7fr 5fr; }
    .sw-postcard--featured .sw-postcard__media { aspect-ratio: auto; min-height: 440px; }
    .sw-postcard--featured .sw-postcard__body { justify-content: center; gap: 1.1rem; padding: clamp(2rem, 3.5vw, 3.5rem); }
    .sw-postcard--featured .sw-postcard__title { font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1.15; }
    .sw-postcard--featured .sw-postcard__excerpt { font-size: 1.02rem; -webkit-line-clamp: 4; }
    .sw-postcard--featured .sw-link { margin-top: .5rem; }
}
.sw-empty { max-width: 640px; }
.sw-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 3rem; }
.sw-pagination .page-numbers { min-width: 44px; min-height: 44px; display: grid; place-items: center; border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.sw-pagination .page-numbers.current, .sw-pagination a.page-numbers:hover { background: var(--ink); color: var(--stone); border-color: var(--ink); }

.sw-search { display: grid; gap: .5rem; margin-top: 2rem; max-width: 520px; }
.sw-search__label { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: inherit; opacity: .75; }
.sw-search__row { display: flex; }
.sw-search input {
    flex: 1; min-width: 0; font: inherit; padding: .8rem 1rem; border: 1px solid var(--line); border-right: 0; border-radius: 0;
    background: var(--paper); color: var(--ink);
}
.sw-search input:focus-visible { outline: 2px solid var(--pool); outline-offset: 0; }

.sw-404 { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--stone); min-height: 78vh; display: grid; align-items: center; }
.sw-404__media { position: absolute; inset: 0; z-index: -1; }
.sw-404__media img { width: 100%; height: 100%; object-fit: cover; }
.sw-404__media::after { content: ''; position: absolute; inset: 0; background: rgba(14, 21, 17, .7); }
.sw-404__inner { padding-block: 6rem; display: grid; gap: 1.25rem; justify-items: start; }
.sw-404__code { font-family: var(--serif); font-size: clamp(5rem, 16vw, 11rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--sand); }
.sw-404__title { color: var(--stone); font-size: clamp(2rem, 4.5vw, 3.5rem); max-width: 18ch; }
.sw-404__text { color: rgba(243, 239, 230, .8); max-width: 48ch; }
.sw-404 .sw-search__row .sw-btn { border-color: var(--stone); }
