/* =========================================================
   Cioclovina Tribe — homepage sections
   ========================================================= */

/* ---------- 02 hero ---------- */

.ct-hero {
    position: relative;
    min-height: min(100svh, 900px);
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(5rem, 3rem + 8vw, 9rem);
    padding-top: 8rem;
    overflow: hidden;
    background: var(--ct-forest-dark);
}
.ct-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ct-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    animation: ct-hero-zoom 18s var(--ct-ease-out) forwards;
}
@keyframes ct-hero-zoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .ct-hero__media img { animation: none; }
}
.ct-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(7, 22, 16, .88) 0%, rgba(7, 22, 16, .45) 38%, rgba(7, 22, 16, .1) 62%, rgba(7, 22, 16, .5) 100%),
        linear-gradient(to right, rgba(7, 22, 16, .6) 0%, rgba(7, 22, 16, 0) 55%);
}
.ct-hero__inner { position: relative; z-index: 1; width: 100%; }
.ct-hero__eyebrow {
    color: rgba(250, 248, 243, .8);
    margin-bottom: 1.1rem;
}
.ct-hero__eyebrow::before { background: var(--ct-green-bright); opacity: 1; }
.ct-hero__title {
    color: var(--ct-off-white);
    font-size: var(--ct-display-1);
    max-width: 22ch;
    margin-bottom: 1.4rem;
}
.ct-hero__title em { font-style: normal; color: var(--ct-green-bright); display: block; }
.ct-hero__text {
    color: rgba(250, 248, 243, .84);
    max-width: 42ch;
    font-size: clamp(1rem, .95rem + .3vw, 1.125rem);
    margin-bottom: 2rem;
}
.ct-hero__actions { display: flex; flex-wrap: wrap; gap: .875rem; align-items: center; }

.ct-hero__note {
    position: absolute;
    right: clamp(1rem, -1rem + 8vw, 7rem);
    top: 22%;
    z-index: 1;
    color: rgba(250, 248, 243, .92);
    font-family: var(--ct-font-script);
    font-size: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
    line-height: 1.15;
    text-align: left;
    transform: rotate(-4deg);
    text-shadow: 0 2px 18px rgba(7, 22, 16, .6);
    pointer-events: none;
}
.ct-hero__note--low {
    top: auto;
    bottom: 18%;
    right: clamp(1rem, -2rem + 6vw, 5rem);
    font-size: clamp(1.1rem, .9rem + .7vw, 1.5rem);
    transform: rotate(5deg);
    color: rgba(250, 248, 243, .75);
}

.ct-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: .5rem;
    font-size: .625rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(250, 248, 243, .6);
}
.ct-hero__scroll span {
    display: block;
    width: 1px;
    height: 42px;
    background: linear-gradient(to bottom, rgba(250, 248, 243, .7), rgba(250, 248, 243, 0));
}

/* ---------- 03 value strip ---------- */

/* A full-bleed band of torn paper laid over the hero, flowing straight into the
   section beneath it — not a floating card. Hence no radius and no shadow. */
.ct-values {
    position: relative;
    z-index: 2;
    margin-top: clamp(-5rem, -4vw - 3rem, -3rem);
    margin-bottom: 0;
}
.ct-values__card {
    position: relative;
    background: var(--ct-off-white);
    /* runs the full width of the page; only the top and bottom are brushed away */
    padding: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem) clamp(1.25rem, .6rem + 2.4vw, 4rem);
}
.ct-values__card::before,
.ct-values__card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 22px;
    background: var(--ct-off-white);
    -webkit-mask-image: url("../img/torn-edge-rough.svg");
    mask-image: url("../img/torn-edge-rough.svg");
    -webkit-mask-size: 1600px 22px;
    mask-size: 1600px 22px;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    filter: blur(2px);
    pointer-events: none;
}
.ct-values__card::before { top: -14px; }
.ct-values__card::after { bottom: -14px; transform: scaleY(-1); }

.ct-values__inner {
    display: grid;
    grid-template-columns: repeat(var(--strip-cols, 4), 1fr);
    gap: clamp(1rem, .5rem + 1.6vw, 2.5rem);
}

/* the band sits right on top of the section below it, as in the reference */
.ct-values + .ct-host { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.ct-values--flat { margin-top: 0; }
.ct-values__card--divided .ct-value + .ct-value,
.ct-values__inner--divided .ct-value + .ct-value { border-left: 1px solid var(--ct-line); padding-left: clamp(.75rem, .4rem + 1vw, 1.75rem); }

.ct-value { display: flex; gap: 1.05rem; align-items: center; }
.ct-value__icon { width: 42px; height: 42px; flex: none; color: var(--ct-ink); }
.ct-value__title {
    font-family: var(--ct-font-sans);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: 0;
    color: var(--ct-ink);
    margin-bottom: .2rem;
}
.ct-value__text { font-size: .875rem; color: var(--ct-ink-soft); line-height: 1.35; }

/* ---------- 04 host ---------- */

.ct-host { background: var(--ct-cream); }
.ct-host__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2rem, 1rem + 4vw, 4.5rem);
    /* photo and text run to the same height, aligned at the top */
    align-items: stretch;
}
.ct-host__media {
    position: relative;
    display: flex;
}
.ct-host__media img { height: 100%; }
/* The media block bleeds toward whichever edge it actually sits against: it is
   the left column on the homepage and the right one on "our story". A fixed
   left bleed would drag the image over the text on that page. */
/* it reaches for the screen edge but keeps a sliver of margin, so the rounded
   corners stay visible instead of being sliced off */
.ct-host__grid > .ct-host__media:first-child {
    margin-left: calc(-1 * var(--ct-bleed) + clamp(.5rem, 1vw, 1.25rem));
}
.ct-host__grid > .ct-host__media:last-child {
    margin-right: calc(-1 * var(--ct-bleed) + clamp(.5rem, 1vw, 1.25rem));
}
.ct-host__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.ct-host__grid > .ct-host__media img {
    border-radius: var(--ct-radius-lg);
}
.ct-host__note {
    position: absolute;
    /* low on the photo, clear of anyone's face */
    bottom: 1.25rem;
    left: clamp(1rem, 4vw, 3rem);
    transform: rotate(-5deg);
    color: var(--ct-brown);
    background: var(--ct-off-white);
    padding: .3rem .7rem .35rem;
    border-radius: var(--ct-radius-sm);
    box-shadow: var(--ct-shadow-sm);
    max-width: min(70%, 30ch);
}
/* the media bleeds past the left edge of the screen, so the note has to be
   pushed back in by the width of that bleed or it gets cut off */
.ct-host__grid > .ct-host__media:first-child .ct-host__note {
    left: calc(var(--ct-bleed) + clamp(1rem, 2vw, 2rem));
}
/* the hosts' name reads as a heavier, tighter serif, with no rule before the
   eyebrow — matching the reference layout */
.ct-host__body .ct-eyebrow::before { display: none; }
.ct-host__body h2 {
    margin-bottom: 1.25rem;
    font-weight: 600;
    letter-spacing: -.02em;
}
.ct-host__body p { color: var(--ct-ink-soft); max-width: 56ch; }
.ct-host__sign { margin-top: 1.5rem; }
.ct-host__contact {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ct-line);
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
}
.ct-host__contact a, .ct-host__contact span {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .9375rem;
    color: var(--ct-ink);
}
.ct-host__contact svg { width: 38px; height: 38px; padding: 10px; border-radius: var(--ct-radius-pill); background: var(--ct-forest-deep); color: var(--ct-off-white); flex: none; }
.ct-host__contact small { display: block; color: var(--ct-ink-soft); font-size: .75rem; line-height: 1.2; }

/* ---------- 05 accommodation ---------- */

.ct-stay { background: var(--ct-forest-deep); color: var(--ct-ink-invert); position: relative; overflow: hidden; }
.ct-stay__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--ct-space-lg);
    margin-bottom: var(--ct-space-lg);
}
/* the title is meant to break exactly where the <br> is: two lines, not three,
   so the green band stays short */
.ct-stay__head h2 { max-width: 34ch; }

/* Homepage rhythm: the band hugs the cards, exactly as in the reference —
   short padding above and below, and the title sits close to the first row. */
.ct-stay--compact { padding-block: clamp(2.5rem, 1.8rem + 1.8vw, 3.75rem); }
.ct-stay--compact .ct-stay__head h2 { font-size: clamp(1.9rem, 1.15rem + 2.1vw, 3.25rem); }
.ct-stay--compact .ct-stay__head { margin-bottom: clamp(1rem, .6rem + .9vw, 1.6rem); }
.ct-stay--compact .ct-cards { --rail-gap: clamp(.85rem, .6rem + .5vw, 1.15rem); padding-bottom: 0; }
.ct-stay--compact .ct-cards__nav { margin-top: .9rem; }

.ct-cards {
    --rail-gap: clamp(.65rem, .4rem + .6vw, 1rem);
    --rail-per-view: 4;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--rail-per-view) - 1) * var(--rail-gap)) / var(--rail-per-view));
    gap: var(--rail-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: .5rem;
}
.ct-cards::-webkit-scrollbar { display: none; }

.ct-stay-card {
    position: relative;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    color: var(--ct-off-white);
    background: rgba(250, 248, 243, .045);
    border: 1px solid rgba(250, 248, 243, .16);
    border-radius: var(--ct-radius-md);
    padding: .6rem;
    transition: border-color var(--ct-t-base) var(--ct-ease), background var(--ct-t-base) var(--ct-ease), transform var(--ct-t-base) var(--ct-ease);
}
.ct-stay-card:hover {
    border-color: rgba(114, 169, 68, .55);
    background: rgba(250, 248, 243, .07);
    transform: translateY(-2px);
}
.ct-stay-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
}
.ct-stay-card__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--ct-t-image) var(--ct-ease-out);
}
.ct-stay-card:hover .ct-stay-card__media img { transform: scale(1.04); }
.ct-stay-card__body { padding: .9rem .35rem .3rem; display: flex; flex-direction: column; flex: 1; }
.ct-stay-card__name {
    font-family: var(--ct-font-serif);
    font-size: 1.2rem;
    line-height: 1.15;
    color: var(--ct-off-white);
    margin-bottom: .6rem;
}
.ct-stay-card__foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.ct-stay-card__price { font-size: .875rem; color: rgba(250, 248, 243, .72); }
.ct-stay-card__arrow {
    width: 32px; height: 32px;
    border-radius: var(--ct-radius-pill);
    border: 1px solid rgba(250, 248, 243, .35);
    display: grid;
    place-items: center;
    color: var(--ct-off-white);
    flex: none;
    transition: background var(--ct-t-base) var(--ct-ease), transform var(--ct-t-base) var(--ct-ease), border-color var(--ct-t-base) var(--ct-ease);
}
.ct-stay-card:hover .ct-stay-card__arrow { background: var(--ct-green-bright); border-color: var(--ct-green-bright); transform: translateX(3px); }
.ct-stay-card__tag {
    position: absolute;
    top: .85rem; left: .85rem;
    background: rgba(250, 248, 243, .92);
    color: var(--ct-forest-deep);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .3rem .6rem;
    border-radius: var(--ct-radius-pill);
}

.ct-cards__nav { display: flex; gap: .25rem; margin-top: .75rem; justify-content: center; }
.ct-cards__dot {
    /* 7px dot, 44px touch target */
    width: 28px; height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
}
.ct-cards__dot::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(250, 248, 243, .3);
    transition: background var(--ct-t-base) var(--ct-ease);
}
.ct-cards__dot.is-active::before { background: var(--ct-green-bright); }

/* ---------- 06 experiences ---------- */

.ct-exp { background: var(--ct-off-white); }
.ct-exp__grid {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: clamp(1.5rem, .5rem + 3vw, 3.25rem);
    /* the photo takes its height from the text beside it instead of dictating
       the height of the whole section */
    align-items: stretch;
}
.ct-exp__media {
    position: relative;
    display: flex;
    /* section sits in .ct-container--wide */
    margin-left: calc(-1 * var(--ct-bleed-wide));
}
.ct-exp__media img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 0 var(--ct-radius-lg) var(--ct-radius-lg) 0;
}
.ct-exp__note {
    position: absolute;
    bottom: 1.25rem;
    right: 1.5rem;
    transform: rotate(-6deg);
    text-align: right;
    color: var(--ct-off-white);
    text-shadow: 0 2px 14px rgba(7, 22, 16, .5);
}
.ct-exp__body h2 { margin-bottom: 1rem; }

.ct-exp-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .875rem;
    margin-top: 2rem;
}
.ct-exp-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--ct-radius-sm);
    overflow: hidden;
    background: var(--ct-forest-deep);
    color: var(--ct-off-white);
}
.ct-exp-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform var(--ct-t-image) var(--ct-ease-out);
}
.ct-exp-card:hover img { transform: scale(1.05); }
.ct-exp-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .7rem .75rem .8rem;
}
.ct-exp-card__title {
    font-family: var(--ct-font-sans);
    font-size: .8125rem;
    line-height: 1.25;
}
.ct-exp-card__body svg { flex: none; color: rgba(250, 248, 243, .8); transition: transform var(--ct-t-base) var(--ct-ease); }
.ct-exp-card:hover .ct-exp-card__body svg { transform: translateX(4px); color: var(--ct-green-bright); }

/* ---------- 07 wild romance ---------- */

.ct-romance {
    position: relative;
    background: var(--ct-forest-dark);
    color: var(--ct-ink-invert);
    overflow: hidden;
}
.ct-romance__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 0;
}
.ct-romance__media { position: relative; min-height: 420px; }
.ct-romance__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-romance__body {
    padding: clamp(2.5rem, 1.5rem + 4vw, 6rem) clamp(1.5rem, .5rem + 4vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ct-romance__body h2 { margin-bottom: 1.25rem; }
.ct-romance__body .ct-lead { margin-bottom: 2rem; }
.ct-romance__price { font-size: .875rem; color: rgba(250, 248, 243, .6); margin-top: 1.25rem; }

/* ---------- 08 gastronomy ---------- */

.ct-food { background: var(--ct-cream); }
.ct-food__grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(1.5rem, .5rem + 4vw, 4rem);
    align-items: center;
}
.ct-food__media {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: .875rem;
    align-items: center;
    /* section sits in .ct-container */
    margin-right: calc(-1 * var(--ct-bleed));
}
.ct-food__media img:last-child { border-radius: var(--ct-radius-md) 0 0 var(--ct-radius-md); }
.ct-food__media img { border-radius: var(--ct-radius-md); width: 100%; }
.ct-food__media img:first-child { aspect-ratio: 4 / 3; object-fit: cover; }
.ct-food__media img:last-child { aspect-ratio: 3 / 4; object-fit: cover; }
.ct-food__note { margin-top: 1.5rem; display: block; }
.ct-food__list { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .75rem; max-width: 30rem; }
.ct-food__list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    padding-bottom: .6rem;
    border-bottom: 1px dashed var(--ct-line);
    font-size: .9375rem;
}
.ct-food__list strong { font-weight: 600; }
.ct-food__list span { color: var(--ct-green); font-weight: 600; white-space: nowrap; }

/* ---------- 09 reviews ---------- */

.ct-quote {
    position: relative;
    min-height: 460px;
    display: grid;
    align-items: center;
    color: var(--ct-off-white);
    overflow: hidden;
}
.ct-quote__media { position: absolute; inset: 0; }
.ct-quote__media img { width: 100%; height: 100%; object-fit: cover; }
.ct-quote__media::after {
    content: "";
    position: absolute;
    inset: 0;
    /* two quotes now span the full container, so the right side has to stay dark enough to read on */
    background: linear-gradient(to right, rgba(7, 22, 16, .88) 0%, rgba(7, 22, 16, .72) 60%, rgba(7, 22, 16, .5) 100%);
}
.ct-quote__inner { position: relative; z-index: 1; padding-block: var(--ct-section-y); }
.ct-quote__mark { font-family: var(--ct-font-serif); font-size: 4rem; line-height: .6; color: var(--ct-green-bright); }
.ct-quote blockquote { margin: 1rem 0 1.25rem; font-family: var(--ct-font-serif); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.25rem); line-height: 1.3; max-width: 22ch; }
.ct-quote__stars { color: var(--ct-gold); letter-spacing: .2em; }
.ct-quote__author { font-size: .875rem; color: rgba(250, 248, 243, .7); margin-top: .5rem; }
.ct-quote__note { position: absolute; right: 6%; top: 18%; transform: rotate(-5deg); }
.ct-quote__side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px; height: 44px;
    border-radius: var(--ct-radius-pill);
    border: 1px solid rgba(250, 248, 243, .4);
    background: rgba(7, 22, 16, .35);
    color: var(--ct-off-white);
    display: grid; place-items: center;
    cursor: pointer;
    transition: background var(--ct-t-base) var(--ct-ease);
}
.ct-quote__side:hover { background: rgba(250, 248, 243, .2); }
.ct-quote__side[hidden] { display: none; }
.ct-quote__side--prev { left: clamp(.75rem, 2vw, 2.5rem); }
.ct-quote__side--next { right: clamp(.75rem, 2vw, 2.5rem); }
.ct-quote__slides {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 1rem + 2vw, 3.5rem);
    align-items: start;
}
.ct-quote__slide { display: none; }
.ct-quote__slide.is-active { display: block; }
.ct-quote__placeholder {
    display: inline-block;
    margin-top: 1rem;
    font-size: .6875rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ct-gold);
    border: 1px dashed rgba(194, 161, 90, .6);
    padding: .3rem .6rem;
    border-radius: var(--ct-radius-xs);
}

/* ---------- 10 useful info ---------- */

.ct-info { background: var(--ct-off-white); }
.ct-info__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(1rem, .5rem + 1.5vw, 2rem);
}
.ct-info__item { display: flex; gap: .75rem; align-items: flex-start; }
.ct-info__item svg { width: 28px; height: 28px; color: var(--ct-green); flex: none; }
.ct-info__item strong { display: block; font-size: .9375rem; line-height: 1.25; }
.ct-info__item span { font-size: .8125rem; color: var(--ct-ink-soft); line-height: 1.35; }

/* ---------- 11 getting there ---------- */

.ct-road { background: var(--ct-cream); overflow: hidden; }
.ct-road__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, .5rem + 4vw, 4.5rem);
    align-items: center;
}
.ct-road__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ct-radius-md); }
.ct-road__steps { list-style: none; margin: 1.75rem 0 2rem; padding: 0; display: grid; gap: 1.1rem; counter-reset: road; }
.ct-road__steps li {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: .9rem;
    align-items: start;
    font-size: .9375rem;
    color: var(--ct-ink-soft);
}
.ct-road__steps li::before {
    counter-increment: road;
    content: counter(road, decimal-leading-zero);
    font-family: var(--ct-font-serif);
    font-size: 1rem;
    color: var(--ct-green);
    padding-top: .1rem;
}
.ct-road__steps strong { color: var(--ct-ink); font-weight: 600; }
.ct-road__coords {
    font-family: var(--ct-font-sans);
    font-size: .6875rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ct-ink-soft);
    margin-top: 1.5rem;
}

/* ---------- 12 final CTA ---------- */

.ct-final {
    position: relative;
    min-height: 420px;
    display: grid;
    align-items: center;
    color: var(--ct-off-white);
    overflow: hidden;
}
.ct-final__media { position: absolute; inset: 0; }
.ct-final__media img { width: 100%; height: 100%; object-fit: cover; }
.ct-final__media::after { content: ""; position: absolute; inset: 0; background: rgba(7, 22, 16, .68); }
.ct-final__inner {
    position: relative;
    z-index: 1;
    padding-block: var(--ct-section-y);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 1rem + 3vw, 4rem);
    flex-wrap: wrap;
}
.ct-final h2 { max-width: 16ch; margin-bottom: .75rem; }
.ct-final .ct-lead { color: rgba(250, 248, 243, .8); }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
    .ct-host__media,
    .ct-exp__media,
    .ct-host__grid > .ct-host__media:first-child,
    .ct-host__grid > .ct-host__media:last-child { margin-left: 0; margin-right: 0; }
    .ct-food__media { margin-right: 0; }
    .ct-host__media img,
    .ct-host__grid > .ct-host__media:first-child img,
    .ct-host__grid > .ct-host__media:last-child img,
    .ct-exp__media img { border-radius: var(--ct-radius-md); }
    .ct-food__media img:last-child { border-radius: var(--ct-radius-md); }
    .ct-values__inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .ct-values__card--divided .ct-value + .ct-value,
    .ct-values__inner--divided .ct-value + .ct-value { border-left: 0; padding-left: 0; }
    .ct-host__grid,
    .ct-exp__grid,
    .ct-food__grid,
    .ct-road__grid { grid-template-columns: 1fr; }
    .ct-exp__media img { aspect-ratio: 16 / 10; }
    .ct-exp__note { left: 1rem; }
    .ct-romance__grid { grid-template-columns: 1fr; }
    .ct-romance__media { min-height: 300px; }
    .ct-info__grid { grid-template-columns: repeat(3, 1fr); row-gap: 1.75rem; }
    .ct-hero__note { display: none; }
}

@media (max-width: 1024px) {
    .ct-cards { --rail-per-view: 2.4; }
}

@media (max-width: 768px) {
    .ct-cards { --rail-per-view: 1.35; }
    .ct-hero { min-height: 92svh; padding-bottom: 4.5rem; }
    .ct-hero__title { max-width: 18ch; }
    .ct-hero__actions .ct-btn { flex: 1 1 auto; }
    .ct-exp-cards { grid-template-columns: repeat(2, 1fr); }
    .ct-stay__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .ct-food__media { grid-template-columns: 1fr 1fr; }
    .ct-quote__slides { grid-template-columns: 1fr; }
}

/* the handwritten note needs the outer gutter the two-up quotes now use */
@media (max-width: 1399px) {
    .ct-quote__note { display: none; }
}

@media (max-width: 768px) {
    .ct-final__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .ct-values { margin-top: -2rem; }
    .ct-values__inner { grid-template-columns: 1fr; }
    .ct-info__grid { grid-template-columns: 1fr 1fr; }
    .ct-host__contact { gap: 1rem; }
    .ct-hero__scroll { display: none; }
}

/* ---------- edge decorations ---------- */

/* Cut-outs parked in the outer gutter, beside the content column. They scale
   with whatever gutter the viewport leaves and sit behind the text, so a wide
   screen shows them fully and a narrow one simply drops them. */
.ct-decor {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    width: clamp(110px, calc((100vw - var(--ct-container)) / 2 + 3rem), 260px);
}
.ct-decor--wide {
    width: clamp(100px, calc((100vw - var(--ct-container-wide)) / 2 + 3rem), 230px);
}
.ct-decor picture,
.ct-decor img { display: block; width: 100%; height: auto; }

/* keep the text column above every ornament */
.ct-section > .ct-container,
.ct-final__inner { position: relative; z-index: 1; }

.ct-decor--host-right {
    right: 0;
    bottom: 0;
    opacity: .75;
}
.ct-decor--stay-right {
    right: .5rem;
    top: clamp(1rem, 4vw, 4rem);
    width: clamp(90px, calc((100vw - var(--ct-container-wide)) / 2 + 2rem), 170px);
    opacity: .5;
}
.ct-decor--exp-right {
    right: 0;
    bottom: 0;
    width: clamp(100px, calc((100vw - var(--ct-container-wide)) / 2 + 3rem), 230px);
    opacity: .8;
}
.ct-decor--food-left {
    left: 0;
    bottom: 1.5rem;
    opacity: .8;
}
.ct-decor--final-left {
    left: 0;
    bottom: 0;
    width: clamp(100px, calc((100vw - var(--ct-container-wide)) / 2 + 3rem), 210px);
    opacity: .85;
}

/* watercolour ridge line, centred under the useful-info grid */
.ct-decor--info-band {
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(760px, 82vw);
    opacity: .16;
}

/* A side ornament only earns its place once the outer gutter can hold most of
   it; below that it would just sit behind the paragraph. The thresholds are the
   container width plus enough gutter for a ~120px cut-out on each side. */
@media (max-width: 1419px) {
    .ct-decor--host-right,
    .ct-decor--food-left { display: none; }
}

@media (max-width: 1619px) {
    .ct-decor--stay-right,
    .ct-decor--exp-right,
    .ct-decor--final-left { display: none; }
}

/* the ridge line is a centred backdrop, not a side ornament */
@media (max-width: 767px) {
    .ct-decor--info-band { display: none; }
}

/* ---------- hero: one line, last word swaps ---------- */

.ct-hero__title--swap {
    max-width: 26ch;
    display: block;
}
.ct-swap {
    position: relative;
    display: inline-grid;
    vertical-align: baseline;
    color: var(--ct-green-bright);
}
/* every candidate word occupies the same grid cell, so the line never jumps */
.ct-swap__word {
    grid-area: 1 / 1;
    transition: opacity 420ms var(--ct-ease-out), transform 420ms var(--ct-ease-out), filter 420ms var(--ct-ease-out);
}
.ct-swap__word.is-leaving {
    opacity: 0;
    transform: translateY(-.18em);
    filter: blur(3px);
}
.ct-swap__word.is-entering {
    opacity: 0;
    transform: translateY(.18em);
    filter: blur(3px);
}

@media (prefers-reduced-motion: reduce) {
    .ct-swap__word { transition: none; filter: none; transform: none; }
}
