/* Homepage, bespoke variant.
   Built on the original design tokens in styles.css (the Paris / Lisbon templates):
   #fcf6f3 paper, #30362c green-ink, #8b0000 CTA red, #f0d0d0 pale pink, #ffd100 gold (used sparingly);
   Source Serif 4 headings, Oxygen body, square-cornered buttons, 16px image radius.
   No zoom/pan on images, no gradients-on-text, no glyph decoration. */

.home-bespoke {
    --paper: #fcf6f3;
    --ink: #30362c;
    --red: #8b0000;
    --pale: #f0d0d0;
    --line: rgba(48, 54, 44, 0.16);
    --serif: "Source Serif 4", Georgia, serif;
    --sans: "Oxygen", sans-serif;
    --radius: 16px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
}

.home-bespoke .main {
    padding: 0;
}

.home-bespoke .wrap {
    width: 100%;
    max-width: 1230px;
    margin-inline: auto;
    padding-inline: 15px;
}

.home-bespoke em {
    font-style: italic;
    color: inherit;
}

.home-bespoke h2,
.home-bespoke h3 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -0.2px;
}

/* header: transparent over the hero, burgundy once scrolled ------------- */

.home-bespoke > .header {
    background: transparent;
    transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s;
}

.home-bespoke > .header.scrolled {
    background: rgba(139, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* shared bits ------------------------------------------------------------ */

.home-bespoke .k,
.home-bespoke .ey {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}

.home-bespoke section {
    margin-block: 0;
}

.home-bespoke .dests,
.home-bespoke .company,
.home-bespoke .rail-wrap,
.home-bespoke .journal {
    padding-block: 72px 0;
}

.home-bespoke h2 {
    font-size: 40px;
    line-height: 1.15;
}

.home-bespoke .sec-head {
    margin-bottom: 32px;
    max-width: 640px;
}

.home-bespoke .sec-head p {
    margin: 12px 0 0;
    font-size: 17px;
    line-height: 1.6;
}

.home-bespoke .flourish,
.home-bespoke .ornament,
.home-bespoke .arr,
.home-bespoke .c,
.home-bespoke .go,
.home-bespoke .cta-secondary__play,
.home-bespoke .cta-secondary span[aria-hidden],
.home-bespoke .frame,
.home-bespoke .bgtex,
.home-bespoke .rating,
.home-bespoke .stage,
.home-bespoke .num,
.home-bespoke .ticker .bar {
    display: none;
}

/* buttons: same as the destination templates (.btn-red, outline) -------- */

.home-bespoke .cta-primary,
.home-bespoke .cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 12px 24px;
    border: 2px solid var(--red);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
    transition: all 0.3s;
}

.home-bespoke .cta-primary {
    background: var(--red);
    color: #fff;
}

.home-bespoke .cta-primary:hover,
.home-bespoke .cta-primary:focus-visible {
    border-color: #4b0101;
    color: #fff;
}

.home-bespoke .cta-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.home-bespoke .cta-secondary:hover,
.home-bespoke .cta-secondary:focus-visible {
    background: var(--ink);
    color: #fff;
}

.home-bespoke .cta-row,
.home-bespoke .btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* hero ------------------------------------------------------------------- */

.home-bespoke .hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 640px;
    padding-block: 120px 56px;
    color: #fff;
    background: #1d1a18;
    overflow: hidden;
}

@media (min-width: 992px) {
    .home-bespoke .hero {
        min-height: 100vh;
        min-height: 100svh;
    }
}

.home-bespoke .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.home-bespoke .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 16, 14, 0.72) 0%, rgba(20, 16, 14, 0.38) 55%, rgba(20, 16, 14, 0.18) 100%);
}

.home-bespoke .hero-bg::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 160px;
    z-index: 1;
    background: linear-gradient(rgba(20, 16, 14, 0.55), rgba(20, 16, 14, 0));
}

.home-bespoke .hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.8s ease;
}

.home-bespoke .hero-bg img.is-active {
    opacity: 1;
}

.home-bespoke .hero-bg img:nth-child(1) { object-position: 70% 40%; }
.home-bespoke .hero-bg img:nth-child(2) { object-position: 60% 40%; }
.home-bespoke .hero-bg img:nth-child(3) { object-position: 40% 35%; }

.home-bespoke .hero .wrap {
    position: relative;
    z-index: 1;
}

.home-bespoke .hero-flag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    margin-bottom: 24px;
    white-space: nowrap;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #fff;
}

.home-bespoke .hero-flag .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 6px 14px 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.home-bespoke .hero-flag__text {
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    padding-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-bespoke .hero-flag:hover .hero-flag__text {
    border-bottom-color: #fff;
}

.home-bespoke .hero-flag:hover .tag {
    background: #fff;
    border-color: #fff;
    color: #8b0000;
}


@media (max-width: 574.98px) {
    .home-bespoke .hero-flag__title { display: none; }
}

.home-bespoke .headline {
    max-width: 720px;
    margin: 0;
    font-family: var(--serif);
    font-size: 72px;
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.36px;
    color: #fff;
}

.home-bespoke .subhead {
    max-width: 560px;
    margin: 24px 0 32px;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.home-bespoke .hero .cta-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.85);
}

.home-bespoke .hero .cta-secondary:hover {
    background: #fff;
    color: var(--ink);
}

.home-bespoke .trust {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin-top: 32px;
    font-size: 14px;
    color: #fff;
}

.home-bespoke .trust .stars {
    color: #ffd100;
    letter-spacing: 2px;
}

.home-bespoke .trust .div {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.5);
}

.home-bespoke .trust .src {
    font-style: normal;
    opacity: 0.85;
}

.home-bespoke .ticker {
    margin-top: 28px;
}

.home-bespoke .dots {
    display: flex;
    gap: 20px;
}

.home-bespoke .dots button {
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 4px 0;
    font: inherit;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.home-bespoke .dots button[aria-current="true"] {
    color: #fff;
    border-bottom-color: #fff;
}

/* destinations ----------------------------------------------------------- */

.home-bespoke .triptych {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.home-bespoke .dest {
    display: block;
    color: inherit;
}

.home-bespoke .dest .dest-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.home-bespoke .dest .city {
    margin: 0;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.home-bespoke .dest:hover .city {
    color: var(--red);
}

.home-bespoke .dest .desc {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.5;
}

.home-bespoke .dest-meta {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 700;
}

.home-bespoke .dest .desc {
    margin-bottom: 0;
}

.home-bespoke .explore-journey {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.home-bespoke .dest:hover .explore-journey,
.home-bespoke .card:hover .explore-journey {
    color: var(--red);
}

.home-bespoke .dest:hover .explore-journey img,
.home-bespoke .card:hover .explore-journey img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(100%) saturate(5000%) hue-rotate(340deg) brightness(85%);
}

/* feature: A New Day in Paris, the pale info-block pattern ---------------- */

.home-bespoke .feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(1200px, calc(100% - 30px));
    margin: 72px auto 0;
    background: #efe4d2;
    border-radius: var(--radius);
    overflow: hidden;
}

.home-bespoke .feature .bg {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
}

.home-bespoke .feature .wrap {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    padding: 0;
}

.home-bespoke .feature .inner {
    margin: auto;
    padding: 56px 48px;
    max-width: 560px;
    text-align: center;
}

.home-bespoke .feature .k .new {
    margin-right: 6px;
}

.home-bespoke .feature h2 {
    font-size: 44px;
    line-height: 1.1;
}

.home-bespoke .feature p {
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.6;
}

.home-bespoke .moments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.home-bespoke .moments span {
    background: #fff;
    border-radius: 32px;
    padding: 4px 14px;
    font-size: 14px;
}

.home-bespoke .invest {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.home-bespoke .feature .cta-row {
    justify-content: center;
}

/* company ---------------------------------------------------------------- */

.home-bespoke .company {
    position: relative;
}

.home-bespoke .company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.home-bespoke .company p {
    margin: 20px 0 0;
    font-size: 17px;
    line-height: 1.7;
}

.home-bespoke .tagline {
    margin-top: 24px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
}

.home-bespoke .trustline {
    margin-top: 28px;
    font-size: 14px;
}

.home-bespoke .trustline .dot {
    margin-inline: 4px;
}

.home-bespoke .photo .img {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: #ddd;
}

.home-bespoke .photo .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.4s ease;
}

.home-bespoke .photo .slide.active {
    opacity: 1;
}

.home-bespoke .stats {
    display: flex;
    gap: 48px;
    margin-top: 24px;
}

.home-bespoke .stat-cell .n {
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
    color: var(--red);
}

.home-bespoke .stat-cell .l {
    margin-top: 6px;
    font-size: 14px;
}

/* signature journeys rail ------------------------------------------------ */

.home-bespoke .rail-head,
.home-bespoke .mast {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.home-bespoke .see-all,
.home-bespoke .view {
    font-size: 15px;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.home-bespoke .rail {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: thin;
}

.home-bespoke .card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    display: block;
    color: inherit;
}

.home-bespoke .card .ph {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 14px;
}

.home-bespoke .card .ph img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.home-bespoke .hc-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 4px;
}

.home-bespoke .card h3 {
    font-size: 21px;
    line-height: 1.25;
    font-weight: 600;
}

.home-bespoke .card:hover h3 {
    color: var(--red);
}

.home-bespoke .card .meta {
    margin-top: 6px;
    font-size: 14px;
    color: rgba(48, 54, 44, 0.8);
}

.home-bespoke .card-price {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
}

/* journal ---------------------------------------------------------------- */

.home-bespoke .journal-grid {
    display: block;
}

.home-bespoke .stories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-bespoke .story {
    display: block;
    color: inherit;
}

.home-bespoke .story .row-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 14px;
}

.home-bespoke .story .ey {
    margin-bottom: 6px;
}

.home-bespoke .story h3 {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
}

.home-bespoke .story:hover h3 {
    color: var(--red);
}

.home-bespoke .story .meta {
    margin-top: 8px;
    font-size: 14px;
}

.home-bespoke .story .arrow {
    display: block;
    margin-top: 8px;
    font-weight: 700;
    color: var(--red);
}

/* closing band: the dark-green info-block-2 pattern ----------------------- */

.home-bespoke .cta-band {
    width: min(1200px, calc(100% - 30px));
    margin: 72px auto 0;
    padding: 64px 24px;
    background: var(--ink);
    border-radius: var(--radius);
    color: #fff;
    text-align: center;
}

.home-bespoke .cta-band .bg {
    display: none;
}

.home-bespoke .cta-band .k {
    color: #ffd100;
}

.home-bespoke .cta-band h2 {
    font-size: 44px;
    color: #fff;
}

.home-bespoke .cta-band p {
    max-width: 520px;
    margin: 14px auto 28px;
    font-size: 17px;
    line-height: 1.6;
}

.home-bespoke .cta-band .btns {
    justify-content: center;
}

.home-bespoke .cta-band .cta-primary {
    background: #fff;
    border-color: #fff;
    color: var(--red);
}

.home-bespoke .cta-band .cta-secondary {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}

.home-bespoke .cta-band .cta-secondary:hover {
    background: #fff;
    color: var(--ink);
}

/* topic links ------------------------------------------------------------ */

.home-bespoke .section-topic-links {
    padding-top: 72px;
    padding-bottom: 56px;
}

.home-bespoke .section-topic-links h2 {
    font-size: 28px;
}

.home-bespoke .topic-links__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-bespoke .topic-links__list a {
    display: block;
    padding: 6px 14px;
    border: 1px solid var(--pale);
    border-radius: 32px;
    background: #fff;
    font-size: 14px;
    color: var(--ink);
    text-decoration: none;
    transition: all 0.2s;
}

.home-bespoke .topic-links__list a:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* responsive ------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .home-bespoke .headline { font-size: 56px; }
    .home-bespoke .triptych { grid-template-columns: repeat(2, 1fr); }
    .home-bespoke .stories { grid-template-columns: repeat(2, 1fr); }
    .home-bespoke .company-grid { grid-template-columns: 1fr; gap: 32px; }
    .home-bespoke .feature { grid-template-columns: 1fr; }
    .home-bespoke .feature .bg { grid-column: 1; grid-row: 1; min-height: 0; height: 280px; }
    .home-bespoke .feature .wrap { grid-column: 1; grid-row: 2; }
}

@media (max-width: 574.98px) {
    .home-bespoke .hero { min-height: 640px; padding-block: 112px 40px; }
    .home-bespoke .headline { font-size: 40px; }
    .home-bespoke .subhead { font-size: 16px; }
    .home-bespoke h2,
    .home-bespoke .feature h2,
    .home-bespoke .cta-band h2 { font-size: 28px; }
    .home-bespoke .triptych,
    .home-bespoke .stories { grid-template-columns: 1fr; }
    .home-bespoke .cta-row .cta-primary,
    .home-bespoke .cta-row .cta-secondary,
    .home-bespoke .btns .cta-primary,
    .home-bespoke .btns .cta-secondary { flex: 1 1 100%; }
    .home-bespoke .rail-head,
    .home-bespoke .mast { flex-direction: column; align-items: flex-start; }
    .home-bespoke .card { flex-basis: 76%; }
    .home-bespoke .feature .inner { padding: 36px 20px; }
    .home-bespoke .dests,
    .home-bespoke .company,
    .home-bespoke .rail-wrap,
    .home-bespoke .journal { padding-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-bespoke .hero-bg img,
    .home-bespoke .photo .slide { transition: none; }
}

.home-bespoke .dest:nth-child(1) .dest-img { object-position: 50% 50%; }
.home-bespoke .dest:nth-child(3) .dest-img { object-position: 40% 50%; }

/* hero rating logos: slightly smaller than the destination-page pill */
.home-bespoke .trust .review-pill__logo {
    width: 20px;
    height: 20px;
    border-width: 1.5px;
}

.home-bespoke .trust .review-pill__logo + .review-pill__logo {
    margin-left: -5px;
}

/* hero flag: show it is a link */
.home-bespoke .hero-flag .arr {
    display: inline;
    margin-left: 8px;
    transition: transform 0.2s;
}

.home-bespoke .hero-flag:hover .arr {
    transform: translateX(3px);
}

/* "Reviewed on" line: logo beside each provider */
.home-bespoke .trustline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
}

.home-bespoke .trustline .ota {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.home-bespoke .trustline .ota-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

/* closing band: dotted route between the cities */
.home-bespoke .cta-band {
    position: relative;
    overflow: hidden;
}

.home-bespoke .cta-band > *:not(.cta-art) {
    position: relative;
    z-index: 1;
}

.home-bespoke .cta-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.home-bespoke .cta-art .trail {
    opacity: 0.45;
}

.home-bespoke .cta-art .pin {
    opacity: 0.9;
}

.home-bespoke .js-anim .cta-art .trail-reveal {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}

.home-bespoke .js-anim .cta-art .pin {
    opacity: 0;
    transform: translateY(-10px);
}

.home-bespoke .js-anim .cta-band.in-view .trail-reveal {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 5s cubic-bezier(0.45, 0, 0.25, 1);
}

.home-bespoke .js-anim .cta-band.in-view .pin {
    opacity: 0.9;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.3, 1.4, 0.5, 1);
}

.home-bespoke .js-anim .cta-band.in-view .pin-1 { transition-delay: 1.2s; }
.home-bespoke .js-anim .cta-band.in-view .pin-2 { transition-delay: 2.7s; }
.home-bespoke .js-anim .cta-band.in-view .pin-3 { transition-delay: 4.2s; }

/* sparkle in the NEW label */
.home-bespoke .hero-flag .spark {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #f2d27a;
    margin-top: -1px;
    transform-origin: center;
    animation: spark-twinkle 3.2s ease-in-out infinite;
}

.home-bespoke .hero-flag:hover .spark {
    color: #8b0000;
}

@keyframes spark-twinkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(0.72) rotate(45deg); opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
    .home-bespoke .hero-flag .spark { animation: none; }
}

/* hero video background */
.home-bespoke .hero-bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}
