/* retreat.css */
/* Styles for retreat.html only. Loaded after style.css so it can sit on top of
   the shared header, footer and utility styles without affecting other pages. */

.rt-page,
:root {
    /* Retreat palette (from the Figma retreat design) */
    --rt-green: #108843;
    --rt-green-deep: #073d1e;
    --rt-ink: #021a0c;
    --rt-ink-soft: #052010;
    --rt-cream: #faf6f1;
    --rt-neutral-200: #e8e8e8;
    --rt-neutral-500: #a4a4a4;

    --rt-serif: 'Sanchez', Georgia, 'Times New Roman', serif;
    --rt-sans: 'Satoshi', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    /* Horizontal gutter: the design uses a 100/1440 margin, i.e. ~6.94vw */
    --rt-gutter: clamp(1rem, 6.94vw, 100px);
}

/* ---------------------------------------------------------------- layout */

/* The design lays 1240px of content inside a 1440px frame with 100px margins,
   so the cap includes the gutters. The shared .container caps at 1200px total,
   which is why the retreat sections use this one instead. */
.rt-container {
    width: 100%;
    max-width: calc(1240px + 2 * var(--rt-gutter));
    margin: 0 auto;
    padding: 0 var(--rt-gutter);
}

.rt-display {
    font-family: var(--rt-serif);
    font-weight: 400;
    line-height: 1.2;
    text-transform: capitalize;
    color: #fff;
    margin: 0;
    font-size: clamp(1.75rem, 3.33vw, 3rem);
}

.rt-display--dark {
    color: #000;
}

.rt-eyebrow {
    font-family: var(--rt-serif);
    font-size: clamp(1.125rem, 1.67vw, 1.5rem);
    text-transform: capitalize;
    color: #fff;
    margin: 0 0 var(--space-md);
}

.rt-eyebrow--dark {
    color: #000;
}

/* ---------------------------------------------------------------- buttons */

.rt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: var(--rt-sans);
    font-weight: 700;
    font-size: 0.8125rem;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast),
        border-color var(--transition-fast), transform var(--transition-fast);
}

.rt-btn-primary {
    background-color: var(--rt-green);
    border-color: var(--rt-green);
    color: #fff;
}

.rt-btn-primary:hover,
.rt-btn-primary:focus-visible {
    background-color: #0c6c35;
    border-color: #0c6c35;
    color: #fff;
    transform: translateY(-2px);
}

.rt-btn-ghost {
    background-color: transparent;
    border-color: #fff;
    color: var(--rt-green);
}

.rt-btn-ghost:hover,
.rt-btn-ghost:focus-visible {
    background-color: #fff;
    color: var(--rt-green-deep);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------------- 1. hero */

.rt-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100svh;
    padding: calc(80px + var(--space-xxl)) 0 0;
    overflow: hidden;
    /* the photo sits at 70% over black, as in the design */
    background-color: #000;
    color: #fff;
}

.rt-hero-bg,
.rt-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.rt-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.rt-hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.rt-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    width: 100%;
    max-width: calc(1240px + 2 * var(--rt-gutter));
    margin: 0 auto;
    padding: 0 var(--rt-gutter);
    flex: 1 0 auto;
}

.rt-hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    max-width: 796px;
}

.rt-hero-text h1 {
    font-family: var(--rt-serif);
    font-weight: 400;
    font-size: clamp(2rem, 3.61vw, 3.25rem);
    line-height: 1.2;
    text-transform: capitalize;
    color: #fff;
    margin: 0;
}

/* The short rule + dot that sits opposite the hero heading */
.rt-hero-rule {
    display: none;
    flex: 0 0 auto;
    align-self: center;
    width: 118px;
    height: 10px;
    position: relative;
}

.rt-hero-rule::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background-color: #fff;
    transform: translateY(-50%);
}

.rt-hero-rule::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 0;
    top: 50%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.8);
}

.rt-hero-foot {
    position: relative;
    width: 100%;
    padding-bottom: var(--space-lg);
}

.rt-scroll-cue {
    display: flex;
    justify-content: center;
    margin: var(--space-sm) auto 0;
    padding-top: 12px;
    width: min(540px, 70vw);
    border-top: 1px solid rgba(255, 255, 255, 0.85);
    font-family: var(--rt-serif);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
}

/* ------------------------------------------------------------- marquee */

.rt-marquee {
    width: 100%;
    overflow: hidden;
    user-select: none;
}

.rt-marquee-track {
    display: flex;
    width: max-content;
    animation: rt-marquee 36s linear infinite;
}

.rt-marquee-group {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
    font-family: var(--rt-serif);
    font-weight: 400;
    font-size: clamp(3.5rem, 9.38vw, 8.4375rem);
    line-height: 1.1;
    text-transform: capitalize;
    white-space: nowrap;
    color: #fff;
}

.rt-marquee-group--muted {
    color: rgba(255, 255, 255, 0.5);
}

.rt-dot {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: currentColor;
}

@keyframes rt-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-marquee-track,
    .rt-band-track {
        animation: none;
    }
}

/* --------------------------------------------------------- 2. build up */

.rt-buildup {
    background-color: var(--rt-cream);
    padding: var(--space-xxl) 0;
    color: #000;
}

.rt-buildup .rt-display {
    color: #000;
    max-width: 1000px;
    margin-bottom: var(--space-xxl);
}

.rt-problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 38px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rt-problem {
    display: flex;
    flex-direction: column;
}

/* a fixed illustration box keeps the four captions on a shared baseline */
.rt-problem img {
    display: block;
    width: 200px;
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center bottom;
    margin: 0 auto var(--space-xl);
}

.rt-problem h3 {
    min-height: 2.5em;
    font-family: var(--rt-serif);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.25;
    text-transform: capitalize;
    color: #000;
    margin: 0 0 var(--space-md);
}

.rt-problem p {
    font-family: var(--rt-sans);
    font-size: 0.875rem;
    line-height: 1.35;
    text-transform: capitalize;
    color: #000;
    margin: 0;
    max-width: 251px;
}

/* --------------------------------------------- 3. picture your retreat */

.rt-picture {
    background-color: var(--rt-ink);
    padding: var(--space-xxl) 0;
}

.rt-picture .rt-display {
    margin-bottom: var(--space-xxl);
}

.rt-picture-grid {
    display: grid;
    grid-template-columns: 290fr 306fr 290fr 306fr;
    grid-template-rows: 412px 411px;
    gap: 16px;
}

.rt-shot,
.rt-note {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
}

.rt-shot {
    position: relative;
    background-color: #000;
}

/* absolutely positioned so the photo fills the card whether its height comes
   from the desktop grid row or the mobile min-height */
.rt-shot img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rt-shot::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.rt-note {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-lg);
    background-color: var(--rt-green-deep);
    padding: 24px;
}

.rt-note h3 {
    font-family: var(--rt-serif);
    font-weight: 400;
    font-size: 1rem;
    text-transform: capitalize;
    color: #fff;
    margin: 0;
}

.rt-note p {
    font-family: var(--rt-sans);
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 1.4;
    text-transform: capitalize;
    color: #fff;
    margin: 0;
    max-width: 210px;
}

.rt-shot--c {
    grid-column: 1 / 3;
}

.rt-note--c {
    grid-column: 3 / 5;
}

.rt-note--c p {
    max-width: none;
}

/* ----------------------------------------------------- 4. two retreats */

.rt-offers {
    background-color: #000;
    padding: var(--space-xxl) 0;
}

.rt-offers .rt-display {
    max-width: 931px;
    margin-bottom: 60px;
}

.rt-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.rt-offer {
    position: relative;
    isolation: isolate;
    display: flex;
    border-radius: 4px;
    padding: 24px;
    overflow: hidden;
}

.rt-offer-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.rt-offer::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(248deg, rgba(0, 0, 0, 0.56) 32%, rgba(102, 102, 102, 0) 100%);
}

.rt-offer-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    width: 100%;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.rt-offer-panel header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rt-offer-panel h3 {
    font-family: var(--rt-serif);
    font-weight: 400;
    font-size: clamp(1.375rem, 1.94vw, 1.75rem);
    line-height: 1.2;
    text-transform: capitalize;
    color: var(--rt-neutral-200);
    margin: 0;
}

.rt-offer-strap {
    font-family: var(--rt-serif);
    font-size: 1.25rem;
    line-height: 1.25;
    text-transform: capitalize;
    color: #fff;
    margin: 0;
    max-width: 251px;
}

.rt-offer-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: auto;
}

.rt-offer-ideal {
    font-family: var(--rt-sans);
    font-weight: 700;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.35;
    text-transform: capitalize;
    color: #fff;
    margin: 0;
    max-width: 402px;
}

.rt-offer-body h4 {
    font-family: var(--rt-sans);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #fff;
    margin: 0;
}

.rt-gains {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rt-gains li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    font-family: var(--rt-sans);
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 1.35;
    text-transform: capitalize;
    color: rgba(255, 255, 255, 0.7);
}

.rt-gains li:last-child {
    border-bottom: 0;
}

.rt-gains li::before {
    content: '';
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
}

.rt-offer-actions {
    display: flex;
    gap: var(--space-md);
}

.rt-offer-actions .rt-btn {
    flex: 1 1 0;
    min-width: 0;
}

/* ------------------------------------------------------ 5. how it works */

.rt-process {
    background-color: var(--rt-cream);
    padding: var(--space-xxl) 0;
}

.rt-process .rt-display {
    margin-bottom: var(--space-xxl);
}

.rt-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 23px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: none;
}

.rt-step {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background-color: #fff;
    border-radius: 8px;
    padding: 24px;
    grid-column: span 2;
}

.rt-step--wide {
    grid-column: span 3;
}

.rt-step:not(.rt-step--wide) {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    gap: var(--space-xl);
}

.rt-step img {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
    flex: 0 0 auto;
}

.rt-step:not(.rt-step--wide) img {
    margin: 0 auto;
}

.rt-step-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    flex: 1 1 auto;
    min-width: 0;
}

.rt-step-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.rt-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid var(--rt-neutral-500);
    border-radius: 50%;
    font-family: var(--rt-sans);
    font-weight: 500;
    font-size: 1rem;
    color: #000;
    position: relative;
}

/* the short connector line between the number and its label */
.rt-step-num::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--rt-neutral-500);
}

.rt-step-label {
    font-family: var(--rt-serif);
    font-weight: 400;
    font-size: 1rem;
    text-transform: capitalize;
    color: #000;
    margin-left: 38px;
}

/* only once the steps are on the full-width grid is there room for this */
@media (min-width: 1101px) {
    .rt-step-label {
        white-space: nowrap;
    }
}

.rt-step-text p:not(.rt-step-head) {
    font-family: var(--rt-sans);
    font-size: 0.875rem;
    line-height: 1.35;
    text-transform: capitalize;
    color: #000;
    margin: 0;
    max-width: 350px;
}

.rt-step--wide .rt-step-text p:not(.rt-step-head) {
    max-width: 251px;
}

/* --------------------------------------------------- 6. built around you */

.rt-tailored {
    position: relative;
    /* the design's 135px at a 1440 frame; the phrase repeats to fill the
       width rather than stretching, and the overrun is clipped */
    --rt-band-size: clamp(3rem, 9.38vw, 8.4375rem);
    background-color: var(--rt-ink-soft);
    overflow: hidden;
}

.rt-tailored-grid {
    display: grid;
    grid-template-columns: 468px 1fr;
}

.rt-tailored-shot {
    position: relative;
    margin: 0;
    min-height: 100%;
}

.rt-tailored-shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rt-tailored-shot::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.rt-tailored-body {
    padding: 70px;
    /* room at the foot for the oversized band that overlaps this panel */
    padding-bottom: calc(var(--rt-band-size) + var(--space-lg));
}

.rt-tailored-body .rt-display {
    max-width: 660px;
    margin-bottom: 60px;
}

.rt-tailored-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px;
}

.rt-tailored-cols h3 {
    font-family: var(--rt-sans);
    font-weight: 500;
    font-size: 1.25rem;
    color: #fff;
    margin: 0 0 var(--space-md);
}

.rt-italic {
    font-family: var(--rt-sans);
    font-style: italic;
    font-size: 0.875rem;
    line-height: 1.4;
    text-transform: capitalize;
    color: #fff;
    margin: 0 0 var(--space-md);
}

.rt-tailored-cols > div:first-child .rt-italic {
    font-size: 1rem;
}

.rt-ruled {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.rt-ruled li {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    font-family: var(--rt-sans);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.35;
    text-transform: capitalize;
    color: #fff;
}

.rt-ruled li:last-child {
    border-bottom: 0;
}

/* Oversized display type lying across the foot of the section, bleeding past the
   bottom edge exactly as the design does. Scrolls continuously like the hero
   marquee: two identical groups, shifted by half the track for a seamless loop. */
.rt-band {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.32em;
    display: block;
    margin: 0;
    overflow: hidden;
    font-family: var(--rt-serif);
    font-weight: 400;
    font-size: var(--rt-band-size);
    line-height: 1.2;
    text-transform: capitalize;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.rt-band-track {
    display: flex;
    width: max-content;
    animation: rt-marquee 48s linear infinite;
}

.rt-band-group {
    display: flex;
    align-items: center;
    gap: 0.237em;
    padding-right: 0.237em;
}

/* the separator scales with the type, as the design's 20px dot does at 135px */
.rt-band .rt-dot {
    width: 0.148em;
    height: 0.148em;
}

/* ------------------------------------------------------------- 7. FAQ */

.rt-faq {
    background-color: var(--rt-cream);
    padding: var(--space-xxl) 0;
}

.rt-faq-grid {
    display: grid;
    grid-template-columns: 565fr 611fr;
    gap: 64px;
    align-items: start;
}

.rt-faq-aside .rt-display {
    margin-bottom: 80px;
}

.rt-faq-tabs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
}

.rt-faq-tab {
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    background-color: #fff;
    font-family: var(--rt-sans);
    font-weight: 500;
    font-size: clamp(1rem, 1.39vw, 1.25rem);
    line-height: 1.2;
    color: #000;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.rt-faq-tab.is-active {
    background-color: var(--rt-green);
    color: #fff;
}

.rt-faq-tab:hover:not(.is-active),
.rt-faq-tab:focus-visible:not(.is-active) {
    background-color: var(--rt-neutral-200);
}

.rt-accordion {
    display: flex;
    flex-direction: column;
    gap: 31px;
}

.rt-acc-item {
    border-bottom: 1px solid var(--rt-neutral-500);
    padding: 10px 24px 0;
}

.rt-acc-item h3 {
    margin: 0;
}

.rt-acc-trigger {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    padding: 0 0 24px;
    border: 0;
    background: none;
    font-family: var(--rt-sans);
    font-weight: 500;
    font-size: clamp(1rem, 1.39vw, 1.25rem);
    line-height: 1.3;
    color: #000;
    text-align: left;
    cursor: pointer;
}

/* plus / minus glyph, drawn so it animates between the two states */
.rt-acc-icon {
    position: relative;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
}

.rt-acc-icon::before,
.rt-acc-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background-color: #000;
    transform: translate(-50%, -50%);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.rt-acc-icon::before {
    width: 16px;
    height: 1.5px;
}

.rt-acc-icon::after {
    width: 1.5px;
    height: 16px;
}

.rt-acc-item.is-open .rt-acc-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.rt-acc-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-medium);
}

.rt-acc-item.is-open .rt-acc-body {
    grid-template-rows: 1fr;
}

.rt-acc-body > p {
    min-height: 0;
    overflow: hidden;
    margin: 0;
    /* padding is held back until the item opens, so the closed row collapses to 0 */
    padding-bottom: 0;
    font-family: var(--rt-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: #000;
}

.rt-acc-item.is-open .rt-acc-body > p {
    padding-bottom: 50px;
}

/* ------------------------------------------- brochure request modal -- */

.rt-modal {
    /* style.css resets every element to margin:0, which defeats the
       browser's own centring for a modal dialog - put it back */
    margin: auto;
    width: min(560px, calc(100vw - 2 * var(--rt-gutter)));
    max-height: calc(100vh - 2rem);
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    overflow: visible;
}

.rt-modal::backdrop {
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.rt-modal-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background-color: var(--rt-ink-soft);
    color: #fff;
}

.rt-modal-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: none;
    font-size: 1.75rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.rt-modal-close:hover,
.rt-modal-close:focus-visible {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.rt-modal-eyebrow {
    margin: 0;
    font-family: var(--rt-serif);
    font-size: 1rem;
    text-transform: capitalize;
    color: rgba(255, 255, 255, 0.7);
}

.rt-modal-title {
    margin: 0;
    font-family: var(--rt-serif);
    font-weight: 400;
    font-size: clamp(1.375rem, 3.2vw, 1.75rem);
    line-height: 1.2;
    text-transform: capitalize;
    color: #fff;
}

.rt-modal-intro {
    margin: 0 0 var(--space-xs);
    font-family: var(--rt-sans);
    font-size: 0.875rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.75);
}

/* ---- fields ---- */

.rt-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rt-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-md);
}

.rt-field label {
    font-family: var(--rt-sans);
    font-weight: 500;
    font-size: 0.8125rem;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.8);
}

.rt-field label span {
    color: var(--rt-green);
}

.rt-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.06);
    font-family: var(--rt-sans);
    font-size: 0.9375rem;
    color: #fff;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.rt-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.rt-field input:focus {
    outline: none;
    border-color: var(--rt-green);
    background-color: rgba(255, 255, 255, 0.1);
}

.rt-field input[aria-invalid="true"] {
    border-color: #ff8a7a;
}

.rt-field-error {
    font-family: var(--rt-sans);
    font-size: 0.75rem;
    line-height: 1.3;
    color: #ff8a7a;
}

.rt-field-error:empty {
    display: none;
}

.rt-field--captcha input {
    max-width: 140px;
}

.rt-captcha-prompt {
    margin: 0;
    font-family: var(--rt-sans);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.rt-captcha-q {
    font-family: var(--rt-serif);
    font-size: 1rem;
    color: #fff;
}

/* the honeypot has to be reachable by bots but never seen by people */
.rt-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---- status + actions ---- */

.rt-modal-status {
    margin: 0;
    font-family: var(--rt-sans);
    font-size: 0.8125rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.rt-modal-status:empty {
    display: none;
}

.rt-modal-status.is-error {
    color: #ff8a7a;
}

.rt-modal-status.is-success {
    color: #7fd6a0;
}

.rt-modal-actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
    margin-top: var(--space-xs);
}

.rt-modal-submit {
    flex: 1 1 auto;
}

.rt-modal-submit[disabled] {
    opacity: 0.6;
    cursor: progress;
}

.rt-btn-quiet {
    background: none;
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.rt-btn-quiet:hover,
.rt-btn-quiet:focus-visible {
    border-color: #fff;
    color: #fff;
}

/* ---------------------------------------------------------- responsive */

/* Tablet: the four-across and four-column grids fold to two */
@media (max-width: 1100px) {
    .rt-problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .rt-picture-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .rt-shot {
        min-height: 320px;
    }

    .rt-shot--c,
    .rt-note--c {
        grid-column: auto;
    }

    .rt-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .rt-step,
    .rt-step--wide {
        grid-column: span 1;
    }

    /* two-up columns are too narrow to keep the illustration beside the text,
       so the wide cards stack like the others */
    .rt-step--wide {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-end;
        gap: var(--space-xl);
    }

    .rt-step--wide img {
        order: -1;
        margin: 0 auto;
    }

    .rt-step--wide .rt-step-text p:not(.rt-step-head) {
        max-width: 350px;
    }

    .rt-tailored-grid {
        grid-template-columns: 1fr;
    }

    .rt-tailored-shot {
        min-height: 340px;
    }

    .rt-tailored-shot img {
        position: relative;
    }

    .rt-tailored-body {
        padding: var(--space-xxl) var(--rt-gutter);
        padding-bottom: calc(var(--rt-band-size) + var(--space-lg));
    }

    .rt-faq-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .rt-faq-aside .rt-display {
        margin-bottom: var(--space-xl);
    }
}

@media (max-width: 900px) {
    .rt-offer-grid {
        grid-template-columns: 1fr;
    }

    .rt-offer-panel {
        gap: var(--space-xl);
    }

    .rt-offer-strap {
        max-width: none;
    }
}

/* Mobile: everything stacks, matching the 430px-wide Figma frames */
@media (max-width: 767px) {
    :root {
        /* the mobile frames use a flat 16px margin, not the desktop ratio */
        --rt-gutter: 16px;
    }

    /* the 430px design carries no band, so it is dropped rather than shrunk */
    .rt-band {
        display: none;
    }

    /* with no band there is nothing to clear at the foot of the panel */
    .rt-tailored-body {
        padding-bottom: var(--space-xl);
    }

    .rt-hero {
        padding-top: calc(70px + var(--space-xl));
    }

    .rt-hero-inner {
        align-items: flex-start;
    }

    .rt-hero-text {
        gap: var(--space-lg);
    }

    .rt-scroll-cue {
        width: min(320px, 85vw);
    }

    .rt-buildup,
    .rt-picture,
    .rt-offers,
    .rt-process,
    .rt-faq {
        padding: var(--space-xl) 0;
    }

    .rt-buildup .rt-display,
    .rt-picture .rt-display,
    .rt-offers .rt-display,
    .rt-process .rt-display,
    .rt-tailored-body .rt-display {
        margin-bottom: var(--space-xl);
    }

    .rt-problem-grid,
    .rt-picture-grid,
    .rt-steps {
        grid-template-columns: 1fr;
    }

    .rt-problem img {
        margin-bottom: var(--space-lg);
    }

    .rt-problem p,
    .rt-note p,
    .rt-step-text p:not(.rt-step-head),
    .rt-step--wide .rt-step-text p:not(.rt-step-head) {
        max-width: none;
    }

    .rt-note {
        min-height: 220px;
    }

    .rt-step,
    .rt-step--wide {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-lg);
    }

    .rt-step img,
    .rt-step--wide img {
        order: -1;
        margin: 0 auto;
    }

    .rt-step-text {
        gap: var(--space-md);
    }

    .rt-offer,
    .rt-offer-panel {
        padding: 16px;
    }

    .rt-offer-actions {
        flex-direction: column;
    }

    .rt-tailored-cols {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .rt-faq-tabs {
        align-self: stretch;
    }

    .rt-modal-panel {
        padding: var(--space-lg) var(--space-md) var(--space-xl);
    }

    .rt-field-row {
        grid-template-columns: 1fr;
    }

    .rt-modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rt-faq-tab {
        width: 100%;
    }

    .rt-acc-item {
        padding: 10px 0 0;
    }

    .rt-acc-trigger {
        gap: var(--space-sm);
        padding-bottom: var(--space-md);
    }

    .rt-acc-item.is-open .rt-acc-body > p {
        padding-bottom: var(--space-lg);
    }

    .rt-marquee-track {
        animation-duration: 22s;
    }
}

@media (min-width: 992px) {
    .rt-hero-rule {
        display: block;
    }
}


/* Collection notice under the brochure form */
.rt-modal-fine {
    margin: 0;
    font-family: var(--rt-sans);
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}

.rt-modal-fine a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}

.rt-modal-fine a:hover,
.rt-modal-fine a:focus-visible {
    color: #fff;
}
