/* ==========================================================================
   HOME — reworked layout, 11 Nov 2026
   Source: "Reworked SVG Layouts Only / Web 1920 – 1.svg" (1920 × 10832).
   Every number below is a design pixel read from that SVG; --hu is one
   design pixel, scaling down with the viewport below 1920.
   Loaded after styles.css + components.css; Home only (.page-home).
   ========================================================================== */
.page-home { --hu: min(1px, calc(100vw / 1920)); --t20: max(15px, calc(20 * var(--hu))); --t24: max(17px, calc(24 * var(--hu))); }

/* ---------- Buttons added by the rework ---------- */
.btn.is-pink { --btn-bg: var(--pink); --btn-fg: var(--maroon-warm); --btn-hover-bg: #e98dba; --btn-hover-fg: var(--maroon-warm); }
.btn.is-aqua-book { --btn-bg: #e66f24; --btn-fg: var(--ink); --btn-hover-bg: #c95d1a; --btn-hover-fg: var(--ink); }
.btn.is-midnight-book { --btn-bg: #aac0d5; --btn-fg: var(--ink); --btn-hover-bg: #8fa9c2; --btn-hover-fg: var(--ink); }
.btn.is-fixed { min-width: 230px; justify-content: space-between; }

/* ---------- Hero map: labels appear with the zone colour on hover (SVG: 32px cream) ---------- */
@media (min-width: 768px) {
  .page-home .hero_map { top: 5.04%; }                                  /* red field y154–884 */
}
@media (hover: hover) and (min-width: 768px) {
  .page-home .hero_map_label { fill: var(--cream); font-weight: 700; font-size: 32px; letter-spacing: 0; opacity: 0; transform-box: fill-box; transform-origin: center; transform: translate(582.502px, 99.857px); /* keep the SVG offset: a CSS transform replaces the transform attribute */ transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out); }
  .page-home .hero_map_zone:hover .hero_map_label, .page-home .hero_map_zone:focus-visible .hero_map_label { opacity: 1; transform: translate(582.502px, 93.857px); }
  .page-home .hero_map_zone.is-courtyard:hover path, .page-home .hero_map_zone.is-courtyard:focus-visible path { fill: var(--maroon-rust); }
}

/* ---------- Link-out: Borsari (terracotta) | Les Bains Publics (blue-grey), y1682–2822 ---------- */
@media (min-width: 992px) {
  .page-home .link-out { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(1140 * var(--hu)); margin-top: calc(-7 * var(--hu)); position: relative; z-index: 1; }
  .page-home .has-hot-cold .why-start_heading, .page-home .has-hot-cold .why-start_text { padding-left: calc(140 * var(--hu)); }
  .page-home .link-out_panel.is-borsari { background: var(--terracotta); }
  .page-home .link-out_body { width: calc(356 * var(--hu)); min-width: 250px; margin-left: calc(140 * var(--hu)); padding-top: calc(108 * var(--hu)); }
  .page-home .is-borsari .link-out_heading { margin-left: calc(10 * var(--hu)); }
  .page-home .link-out_lead { margin: calc(42 * var(--hu)) 0 0 calc(13 * var(--hu)); font-size: var(--t24); line-height: 1.1667; }
  .page-home .link-out_lead strong { font-weight: 600; }
  .page-home .link-out_body .link-out_copy { margin: calc(16 * var(--hu)) 0 0 calc(13 * var(--hu)); font-size: var(--t20); line-height: 1.1; max-width: calc(325 * var(--hu)); }
  .page-home .link-out_panel.is-borsari .btn { margin-top: calc(103 * var(--hu)); }
  .page-home .link-out_tag.is-photo { left: 52.6%; top: calc(42 * var(--hu)); width: 42.5%; height: calc(870 * var(--hu)); object-fit: cover; }
  .page-home .link-out_membership { left: calc(140 * var(--hu)); bottom: calc(70 * var(--hu)); }
  .page-home .link-out_panel.is-bains-publics { grid-template-rows: 575fr 565fr; }
  .page-home .link-out_text { background: #aac0d5; padding: calc(121 * var(--hu)) calc(40 * var(--hu)) calc(16 * var(--hu)) calc(146 * var(--hu)); }
  .page-home .link-out_text .link-out_copy { margin-top: calc(47 * var(--hu)); padding-left: 0; max-width: calc(507 * var(--hu)); font-size: var(--t20); line-height: 1.1; }
  .page-home .link-out_text .link-out_actions { display: flex; flex-wrap: wrap; gap: 12px calc(47.5 * var(--hu)); margin: calc(37 * var(--hu)) 0 0; }
  .page-home .link-out_text .btn { position: relative; left: auto; top: auto; }
  .page-home .link-out_text .btn.is-baths { --btn-bg: #e66f24; --btn-hover-bg: #c95d1a; }
}
.page-home .link-out_panel.is-borsari { background: var(--terracotta); }
.page-home .link-out_text { background: #aac0d5; }

/* ---------- Venue teasers: tabs 65, panels 640 × 1035 (y2823–3923), copy under the drawing ---------- */
@media (min-width: 992px) {
  .page-home .venue-teaser_tab { height: calc(65 * var(--hu)); }
  .page-home .venue-teaser_panel { aspect-ratio: 640 / 1035; }
  .page-home .venue-teaser_panel > .venue-teaser_heading,
  .page-home .venue-teaser_panel > .venue-teaser_copy,
  .page-home .venue-teaser_panel > .venue-teaser_cta { left: var(--cx, 50%); translate: -50% 0; }
  .page-home .venue-teaser_heading { top: 11.6%; }
  .page-home .venue-teaser_panel > .venue-teaser_copy { top: 61.3%; width: calc(var(--cw, 446) * var(--hu)); font-size: var(--t20); line-height: 1.5; }
  .page-home .venue-teaser_panel > .venue-teaser_cta { top: 80.75%; }
  .page-home .venue-teaser.is-cafe-des-bains { --cx: 54.4%; --cw: 400; }
  .page-home .venue-teaser.is-le-quartier { --cx: 50.1%; }
  .page-home .venue-teaser.is-le-cercle { --cx: 46.4%; --cw: 406; }
  .page-home .venue-teaser.is-cafe-des-bains .venue-teaser_illustration { left: 22.27%; top: 26.86%; width: 62.67%; }
  .page-home .venue-teaser.is-le-quartier .venue-teaser_illustration { left: 12.7%; top: 30.34%; width: 74.55%; }
  .page-home .venue-teaser.is-le-cercle .venue-teaser_illustration { left: 16.47%; top: 20.22%; width: 62.2%; }
}
.venue-teaser_illustration { transition: transform 900ms var(--ease-out); }
.venue-teaser:hover .venue-teaser_illustration, .venue-teaser:focus-visible .venue-teaser_illustration { transform: translateY(-8px) scale(1.03); }

/* ---------- This season at LôDzè: heading band (253) + 3 × 640 grid ---------- */
.season { background: var(--cream); container-type: normal; }
.season_head { display: grid; justify-items: center; align-content: start; min-height: calc(253 * var(--hu)); padding: calc(74 * var(--hu)) 24px calc(12 * var(--hu)); text-align: center; }
.season_heading { font-family: var(--font); font-weight: 700; font-size: clamp(40px, calc(80 * var(--hu)), 80px); line-height: 1; letter-spacing: .005em; text-transform: uppercase; color: var(--terracotta); margin: 0; }
.season_down { margin-top: calc(17 * var(--hu)); }
.has-motion .season_down svg { animation: season-nudge 2.4s var(--ease-out) infinite; }
@keyframes season-nudge { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 5px; } }

.season_grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(calc(640 * var(--hu)), auto); scroll-margin-top: 88px; }
@media (min-width: 1200px) { .season_grid { grid-template-rows: minmax(calc(640 * var(--hu)), auto) minmax(calc(639 * var(--hu)), auto) minmax(calc(638 * var(--hu)), auto) minmax(calc(640 * var(--hu)), auto); } }
/* 19 Nov 2026 winter update: Aqua Gym + New Year's Day Brunch rows removed; 4 rows. Photo spans per breakpoint keep the grid hole-free */
@media (min-width: 1200px) { .season-cell.is-span2-desktop { grid-column: span 2; } }
@media (min-width: 768px) and (max-width: 1199px) { .season-cell.is-span2-tablet { grid-column: span 2; } }
.voucher-band { scroll-margin-top: 88px; }
.season-cell { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: calc(var(--pt, 59) * var(--hu)) calc(40 * var(--hu)) calc(var(--pb, 50) * var(--hu)) calc(140 * var(--hu)); color: var(--ink); }
.season-cell.is-mid { padding-left: calc(52 * var(--hu)); }
.season-cell.is-last { padding-left: calc(102 * var(--hu)); }
.season-cell.has-seam { z-index: 2; }
.season-cell.is-pink { background: var(--pink); }
.season-cell.is-terracotta, .season-cell.is-hotel-title { background: var(--terracotta); color: var(--cream); }
.season-cell.is-olive { background: #70772e; color: var(--cream); }
.season-cell.is-aqua { background: #aac0d5; }
.season-cell.is-midnight { background: #b1e3fa; }

.season-cell.is-photo { padding: 0; overflow: hidden; background: var(--maroon-2); }
.season-cell.is-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.season-cell.is-poster { background: #103b40; }
.season-cell.is-poster img { left: 13.6%; width: 72.8%; }   /* poster 466 wide, full cell height, on #103b40 */
.season-cell.is-wide { grid-column: span 2; }
/* photos breathe slowly under the pointer */
@media (hover: hover) { .has-motion .season-cell.is-photo.is-visible:hover img { transform: scale(1.04); transition-duration: 1800ms; } }

/* venue lock-up (LES / BAINS PUBLICS, HOTEL / BORSARI, GIFT / VOUCHERS) */
.season-cell_venue { font-family: var(--font); font-weight: 700; font-size: clamp(48px, calc(80 * var(--hu)), 80px); line-height: .8375; letter-spacing: .005em; text-transform: uppercase; margin: 0; }
.season-cell_venue_small { display: block; font-size: .5em; line-height: 1.1; letter-spacing: 0; margin-bottom: -.05em; }
.season-cell_subline { margin: calc(35 * var(--hu)) 0 0; font-weight: 700; font-size: var(--t24); line-height: 1.1667; color: var(--maroon-rust); }
.season-cell_desc { margin: calc(2 * var(--hu)) 0 0; font-size: var(--t20); line-height: 1.4; color: var(--maroon-rust); }
.season-cell_details { margin: calc(9 * var(--hu)) 0 0; font-weight: 700; font-style: italic; font-size: var(--t24); line-height: 1.25; color: var(--maroon-rust); }
.season-cell_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: auto; }
.season .btn { font-size: 20px; }

.season-cell.is-bains { --pt: 120; --pb: 61; }
.season-cell_flag { position: absolute; top: 0; left: calc(140 * var(--hu)); display: flex; align-items: center; min-width: min(260px, 60%); height: 49px; padding: 0 16px; background: var(--gold); color: var(--maroon); font-weight: 800; font-size: 20px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }

.season-cell.is-hotel-title { --pt: 242; }

/* package cells: title / dates / copy at the top, price tag + button pinned to the foot */
.season-cell_title { font-family: var(--font); font-weight: 700; font-size: clamp(30px, calc(40 * var(--hu)), 40px); line-height: 1; text-transform: uppercase; color: var(--maroon-rust); margin: 0; }
.season-cell.is-ink-title .season-cell_title { color: var(--ink); }
.season-cell.is-terracotta .season-cell_title, .season-cell.is-olive .season-cell_title { color: var(--cream); }
.season-cell_title_small { display: block; font-size: .75em; line-height: 1.1; margin-bottom: .035em; }
.season-cell_dates { margin: calc((10 + var(--dg, 0)) * var(--hu)) 0 0; font-weight: 600; font-size: var(--t24); line-height: 1.1667; }
.season-cell_dates.is-bold { font-weight: 700; }
.season-cell_copy { margin: calc((26 + var(--cg, 0)) * var(--hu)) 0 0; max-width: calc(var(--cw, 403) * var(--hu)); min-width: min(100%, 260px); font-size: var(--t20); line-height: 1.5; }
.season-cell_copy.is-lead { font-weight: 600; font-size: var(--t24); line-height: 1.1667; max-width: calc(var(--cw, 440) * var(--hu)); }
.season-cell .price-tag { margin: auto 0 0; }
.season-cell .price-tag + .season-cell_actions { margin-top: calc(var(--gap, 36) * var(--hu)); }
.season-cell.is-package .season-cell_copy { margin-bottom: 24px; }

.season-cell.is-brunch { --pt: 46; --pb: 48; --gap: 29; }
.season-cell.is-brunch .season-cell_dates { margin-top: calc(10 * var(--hu)); }
.season-cell.is-brunch .season-cell_copy { margin-top: calc(31 * var(--hu)); margin-bottom: 24px; }
.season-cell > .badge { position: absolute; z-index: 2; top: calc(24 * var(--hu)); right: calc(142 * var(--hu)); }

/* round arrow sitting on the seam between a text cell and its photo */
.season-seam { position: absolute; z-index: 3; top: calc(var(--st, 288) * var(--hu)); right: calc(var(--sr, -28) * var(--hu)); }
.season-seam.is-back { right: auto; left: calc(-36 * var(--hu)); }

/* ---------- Gift vouchers band (y7369–7813) ---------- */
.voucher-band { position: relative; overflow: hidden; background: var(--maroon-warm); color: var(--cream); min-height: calc(444 * var(--hu)); }
.voucher-band_ribbon { position: absolute; left: 0; top: 0; width: 100%; height: auto; pointer-events: none; }
.voucher-band > :not(.voucher-band_ribbon) { position: absolute; z-index: 1; }
.voucher-band_title { left: calc(140 * var(--hu)); top: calc(19 * var(--hu)); }
.voucher-band .season-cell_subline { margin-top: calc(16 * var(--hu)); color: inherit; }
.voucher-band .season-cell_details { margin-top: calc(9 * var(--hu)); color: inherit; }
.voucher-band_copy { left: calc(692 * var(--hu)); top: calc(84 * var(--hu)); width: calc(600 * var(--hu)); font-weight: 600; }
.voucher-band_copy p { margin: 0; font-size: max(15px, calc(20 * var(--hu))); line-height: 1.15; max-width: calc(425 * var(--hu)); }
.voucher-band_copy .voucher-band_lead { font-size: var(--t24); line-height: 1.1667; max-width: calc(430 * var(--hu)); margin-bottom: calc(23 * var(--hu)); }
.voucher-band_cta { left: calc(1244 * var(--hu)); top: calc(346 * var(--hu)); min-width: min(260px, 100%); justify-content: space-between; }

/* ---------- Getting here (y7813–8512): copy left, regional map right ---------- */
.page-home .practical.is-map { position: relative; min-height: calc(699 * var(--hu)); padding: calc(53 * var(--hu)) calc(60 * var(--hu)) calc(60 * var(--hu)) calc(130 * var(--hu)); color: var(--ink); }
.page-home .practical_text { max-width: calc(700 * var(--hu)); }
.page-home .practical.is-map .practical_heading { font-size: clamp(44px, calc(80 * var(--hu)), 80px); line-height: 1; letter-spacing: .005em; margin: 0; }
.page-home .practical.is-map .practical_address { margin: calc(10 * var(--hu)) 0 0; font-weight: 600; font-size: var(--t24); line-height: 1.1667; }
.page-home .practical.is-map .practical_copy { margin: calc(12 * var(--hu)) 0 0; max-width: calc(512 * var(--hu)); font-size: var(--t20); line-height: 1.15; }
.page-home .practical.is-map .practical_contact { display: flex; flex-wrap: wrap; gap: 4px calc(20 * var(--hu)); margin: calc(42 * var(--hu)) 0 0; max-width: none; font-weight: 700; font-size: clamp(26px, calc(40 * var(--hu)), 40px); line-height: 1.1; }
.page-home .practical.is-map .practical_contact a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 500ms var(--ease-out); }
.page-home .practical.is-map .practical_contact a:hover, .page-home .practical.is-map .practical_contact a:focus-visible { background-size: 100% 2px; }
.page-home .practical_map { position: absolute; left: calc(870 * var(--hu)); top: calc(107 * var(--hu)); width: calc(930 * var(--hu)); height: auto; }

/* ---------- Social feed: 150 to the heading baseline, 156 under the posts (section 1012 tall) ---------- */
@media (min-width: 992px) { .page-home .social-feed { padding-top: calc(95 * var(--hu)); padding-bottom: calc(156 * var(--hu)); } }

/* ---------- Below the desktop design: engineered interpretation (no design source) ---------- */
@media (max-width: 1199px) {
  .season_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(50vw, auto); }
  .season-cell, .season-cell.is-mid, .season-cell.is-last { padding: 48px 28px 40px 40px; }
  .season-cell.is-bains { padding-top: 96px; }
  .season-cell.is-hotel-title { justify-content: center; padding-top: 40px; }
  .season-cell.is-brunch { grid-column: span 2; }
  .season-cell_flag { left: 40px; }
  .season-cell_copy, .season-cell_copy.is-lead { max-width: 520px; }
  .season-cell > .badge { top: 24px; right: 24px; }
  .season-seam { display: none; }
  .voucher-band { display: grid; gap: 24px; padding: 48px 40px 0; min-height: 0; }
  .voucher-band > :not(.voucher-band_ribbon) { position: static; width: auto; }
  .voucher-band_copy p, .voucher-band_copy .voucher-band_lead { max-width: 620px; }
  .voucher-band_cta { justify-self: start; }
  .voucher-band_ribbon { position: static; order: 9; width: calc(100% + 80px); max-width: none; margin: 8px -40px 0; height: auto; aspect-ratio: 1920 / 72; object-fit: cover; object-position: 0 67%; }   /* the horizontal brick course only */
  .page-home .practical.is-map { display: grid; gap: 32px; padding: 56px 40px; min-height: 0; }
  .page-home .practical_text { max-width: none; }
  .page-home .practical.is-map .practical_copy { max-width: 620px; }
  .page-home .practical_map { position: static; width: min(100%, 760px); justify-self: center; }
}
@media (max-width: 767px) {
  .season_head { padding: 48px 24px 24px; }
  .season_down { margin-top: 16px; }
  .season_grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .season-cell, .season-cell.is-mid, .season-cell.is-last { padding: 40px 24px; }
  .season-cell.is-bains { padding-top: 88px; }
  .season-cell.is-hotel-title { padding: 32px 24px; }
  .season-cell.is-photo { aspect-ratio: 1; }
  .season-cell.is-photo.is-wide { aspect-ratio: 3 / 2; }
  .season-cell.is-wide, .season-cell.is-brunch { grid-column: auto; }
  .season-cell_flag { left: 24px; }
  .season-cell .price-tag { margin-top: 8px; }
  .season-cell_actions { margin-top: 24px; }
  .voucher-band { padding: 40px 24px 0; }
  .voucher-band_ribbon { width: calc(100% + 48px); margin: 8px -24px 0; }
  .page-home .practical.is-map { padding: 40px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .has-motion .season_down svg { animation: none; }
  .venue-teaser:hover .venue-teaser_illustration, .venue-teaser:focus-visible .venue-teaser_illustration { transform: none; }
  .page-home .hero_map_label { transition: none; transform: translate(582.502px, 93.857px); }
}

/* hover sweep must stay inside the button (a static button lets its ::before fill the whole panel) */
.page-home .link-out .link-out_text .btn { position: relative; left: auto; top: auto; }

/* Hotel Borsari panel: Book (as drawn) + a link to the new hotel page */
.page-home .link-out_actions.is-hotel { display: flex; flex-wrap: wrap; gap: 12px 16px; margin: calc(103 * var(--hu)) 0 0; position: static; }
.page-home .link-out_actions.is-hotel .btn { margin: 0; }
.page-home .link-out_actions.is-hotel .btn.is-outline { --outline-fg: var(--cream); color: var(--cream); }
.page-home .link-out_panel.is-borsari .link-out_actions.is-hotel .btn { margin-top: 0; }

/* Quick fixes 24 Nov 2026 (Thomas Reymond): START HERE is plain text now (no link, no map film) */
.hero_trigger.is-static { cursor: default; text-align: center; }
.hero_headline .hero_trigger.is-static > span, .has-motion .hero:not(.is-assembled) .hero_trigger.is-static > span { background: none; padding-bottom: 0; }
/* Practical information under "Getting here" */
.page-home .practical.is-map .practical_subheading { margin: calc(30 * var(--hu)) 0 0; font-family: var(--font); font-weight: 700; font-size: var(--t24); line-height: 1.1667; text-transform: uppercase; letter-spacing: .02em; }
.page-home .practical.is-map .practical_info { margin: calc(8 * var(--hu)) 0 0; max-width: calc(560 * var(--hu)); font-size: var(--t20); line-height: 1.3; }
@media (max-width: 1199px) { .page-home .practical.is-map .practical_info { max-width: 620px; } }

/* ---------- Why start @: "Winter Offers" button under the body copy (26 Nov 2026; ported from the 25 Nov designer snapshot, delta only) ---------- */
.why-start_cta { margin-top: 28px; }
