/* Home immersive hero and starter; the shared shell remains unchanged. */
.cw-home-page .cw-site-header .brand { gap:12px; font-size:1.05rem; letter-spacing:.1em; padding-block:4px; }
.cw-home-page .cw-site-header .brand svg { width:28px; height:28px; flex:none; }
.cw-home { --home-surface:var(--paper); --home-gutter:clamp(20px,4vw,64px); width:100%; max-width:none; margin:0; padding:0; color:var(--deep-ocean); background:var(--paper); }
.cw-home .home-container { width:min(calc(100% - 2 * var(--home-gutter)),1200px); margin-inline:auto; }
.cw-home .home-hero { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:auto minmax(0,1fr) minmax(0,1fr) auto; padding:0; }
.cw-home .home-hero__art { grid-column:1; grid-row:1 / 3; position:absolute; inset:0; z-index:-2; pointer-events:none; background:#62b4bc; }
.cw-home .home-hero__art picture,.cw-home .home-hero__art img { display:block; width:100%; height:100%; }
.cw-home .home-hero__art img { object-fit:cover; object-position:50% 56%; }
.cw-home .home-hero__content { grid-column:1; grid-row:1; position:relative; max-width:800px; text-align:center; padding:30px 0 40px; }
/* A local scrim behind the copy leaves the horizon and water at full color. */
.cw-home .home-hero__content::before { content:""; position:absolute; z-index:-1; inset:-24px -24px 0; background:radial-gradient(ellipse at 50% 40%,rgba(255,253,246,.82),rgba(255,253,246,.55) 70%,transparent 100%); -webkit-mask-image:linear-gradient(90deg,transparent,#000 100px,#000 calc(100% - 100px),transparent),linear-gradient(transparent,#000 40px,#000 calc(100% - 40px),transparent); mask-image:linear-gradient(90deg,transparent,#000 100px,#000 calc(100% - 100px),transparent),linear-gradient(transparent,#000 40px,#000 calc(100% - 40px),transparent); -webkit-mask-composite:source-in; mask-composite:intersect; }
.cw-home .home-brand { display:flex; align-items:center; justify-content:center; gap:14px; font-size:clamp(24px,2.9vw,38px); font-weight:550; letter-spacing:.12em; margin-bottom:0; }
.cw-home .home-brand svg { width:52px; height:52px; flex:none; fill:none; stroke:currentColor; stroke-width:1.3; }
.cw-home .home-brand-ribbon { display:block; width:min(300px,65%); height:24px; margin:10px auto 26px; stroke:#8c9c8e; stroke-width:1.2; }
.cw-home .home-brand-ribbon path:last-child { stroke:#b9a66f; stroke-width:.9; }
.cw-home h1 { max-width:24ch; margin:0 auto; font-size:clamp(27.2px,17px + 1.87vw,45.9px); line-height:1.1; letter-spacing:-.035em; text-wrap:balance; }
.cw-home h1 span,.cw-home h1 strong { display:block; }
.cw-home h1 span { width:fit-content; margin-inline:auto; font-size:.782em; font-weight:400; }
.cw-home h1 strong { width:fit-content; margin-inline:auto; font-weight:600; }
.cw-home .home-lead { max-width:52ch; margin:18px auto 0; font-size:clamp(17px,15.6px + .2vw,19px); line-height:1.6; }
.cw-home .home-starter-wrap { grid-column:1; grid-row:2 / 4; z-index:1; max-width:960px; }
.cw-home .home-starter { display:grid; grid-template-columns:1fr 1fr 1fr auto; gap:6px; align-items:stretch; padding:8px; border:1px solid rgba(20,61,70,.2); border-radius:10px; background:#fffdf9; box-shadow:0 6px 18px rgba(20,61,70,.12); }
.cw-home .home-starter > button { min-width:0; min-height:52px; padding:8px 12px; text-align:left; font:inherit; line-height:1.45; border:1px solid #d1ddda; border-radius:7px; color:var(--deep-ocean); background:#fff; cursor:pointer; }
.cw-home .home-starter > button:hover { border-color:var(--green); background:#f1f6f3; }
.cw-home .home-starter__label { display:block; font-size:11px; font-weight:600; margin-bottom:2px; }
.cw-home [data-starter-value] { display:block; font-size:13px; overflow-wrap:anywhere; }
.cw-home a.cw-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:10px 16px; min-height:44px; font-size:14px; min-width:44px; color:#fff; background:var(--green); font-weight:500; line-height:1.4; text-decoration:none; }
.cw-home a.cw-button:hover { background:var(--deep-ocean); }
.cw-home a[aria-disabled="true"] { opacity:.7; cursor:wait; }
.cw-home .home-alpha-note { width:min(calc(100% - 40px),960px); margin:10px auto 0; text-align:right; color:#526871; font-size:11px; line-height:1.5; }
.cw-home #home-starter-status { grid-column:1; grid-row:4; width:min(calc(100% - 40px),960px); margin:0 auto; padding:0; color:#7c2725; background:#fffdf9; border-radius:6px; }
.cw-home #home-starter-status:not(:empty) { margin-top:10px; padding:12px; }
.cw-home .home-possibilities { padding:32px 0 32px; }
.cw-home .home-section-copy { text-align:center; }
.cw-home h2 { margin:0; font-size:clamp(22px,17px + .7vw,28px); font-weight:450; line-height:1.25; letter-spacing:-.025em; }
.cw-home .journey-art { width:min(calc(100% - 40px),740px); margin:14px auto 0; pointer-events:none; }
.cw-home .journey-art__viewport { position:relative; aspect-ratio:1728 / 520; overflow:hidden; background:var(--home-surface); }
.cw-home .journey-art picture,.cw-home .journey-art img { display:block; width:100%; height:100%; }
.cw-home .journey-art img { object-fit:cover; object-position:center; }
/* Fade only the outer edges; anchors, rope and central nodes remain clear. */
.cw-home .journey-art__viewport::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,var(--home-surface),rgba(250,248,245,.4) 4%,transparent 12%,transparent 88%,rgba(250,248,245,.4) 96%,var(--home-surface)),linear-gradient(to bottom,var(--home-surface),rgba(250,248,245,.65) 5%,rgba(250,248,245,.18) 12%,transparent 20%,transparent 80%,rgba(250,248,245,.18) 88%,rgba(250,248,245,.65) 95%,var(--home-surface)); }

/* Native top-layer dialogs avoid hero clipping and provide modal keyboard behavior. */
.home-selector { width:min(640px,calc(100% - 32px)); max-height:min(560px,calc(100dvh - 32px)); margin:auto; padding:18px; overflow:auto; border:1px solid var(--line); border-radius:10px; background:var(--paper); color:var(--deep-ocean); font-size:14px; }
.home-selector::backdrop { background:rgba(20,61,70,.45); }
.home-selector__heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:12px; }
.home-selector h2 { font-size:22px; }
.home-selector h3 { font-size:15px; margin:14px 0 8px; }
.home-selector button { font:inherit; min-height:36px; padding:6px 10px; border:1px solid #bdcfca; border-radius:6px; color:var(--green); background:#fff; cursor:pointer; }
.home-selector button:disabled { opacity:1; color:#526871; border-style:dashed; background:#f0f2f0; cursor:not-allowed; }
.home-selector button[aria-pressed="true"],.home-selector button.is-boundary { color:var(--deep-ocean); border-color:var(--green); background:#deeeea; }
.home-selector .is-preview { background:#e3f0ed; }
.home-selector button.is-preview-end { outline:2px solid var(--green); }
.home-selector .compact-choice-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.home-selector .compact-choice-grid button { display:flex; justify-content:space-between; gap:8px; align-items:center; text-align:left; min-width:0; overflow-wrap:anywhere; font-size:14px; }
.home-selector .compact-check { flex:none; }
.home-selector__areas { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.home-selector__search { display:block; margin:12px 0; }
.home-selector input[type="search"],.home-selector input[type="date"] { display:block; width:100%; padding:8px 10px; min-width:0; min-height:38px; font:inherit; border:1px solid #bdcfca; border-radius:6px; background:#fff; color:var(--deep-ocean); }
.home-selector__utilities { display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin-top:20px; }
.home-selector label:has(input[type="checkbox"]) { display:flex; gap:8px; align-items:center; min-height:44px; }
.home-selector input[type="checkbox"] { width:20px; height:20px; }
.home-selector #compact-month-years { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.home-selector .compact-month-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.home-selector #compact-month-status { line-height:1.6; }
.home-selector #compact-exact-dates:not([hidden]) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:16px 0; }
.home-selector .compact-selected-destinations { margin-top:20px; padding-top:16px; border-top:1px solid var(--line); }
.home-selector .compact-selected-heading { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between; }
.home-selector .compact-destination-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.home-selector .compact-destination-chips > span { display:flex; align-items:center; gap:8px; padding-left:10px; background:#e4efeb; border-radius:6px; }
@media (max-width:880px) and (min-width:768px) {
 .cw-home .home-starter { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:767px) {
 .cw-home-page .cw-site-header .brand { font-size:.93rem; gap:9px; }
 .cw-home-page .cw-site-header .brand svg { width:25px; height:25px; }
 .cw-home .home-hero { padding:0; }
 .cw-home .home-hero__art img { object-position:50% 54%; }
 .cw-home .home-brand { font-size:clamp(20px,5.5vw,29px); gap:9px; letter-spacing:.08em; margin-bottom:0; }
 .cw-home .home-brand svg { width:40px; height:40px; }
 .cw-home .home-brand-ribbon { margin:8px auto 22px; height:20px; }
 .cw-home h1 { font-size:clamp(25.5px,5.1vw + 6.8px,32.3px); max-width:21ch; line-height:1.13; }
 .cw-home .home-starter { grid-template-columns:minmax(0,1fr); padding:8px; }
 .cw-home .home-starter > button { min-height:52px; }
 .cw-home .home-hero__content { padding:24px 0 36px; }
 .cw-home .home-hero__content::before { inset-inline:-12px; }
 .cw-home .home-alpha-note { text-align:center; }
 .cw-home .journey-art { width:min(calc(100% - 32px),480px); margin-top:12px; }
 .cw-home .journey-art__viewport { aspect-ratio:970 / 450; }
 .home-selector { padding:16px; }
 .home-selector h2 { font-size:20px; }
 .home-selector button { min-height:44px; }
 .home-selector input[type="search"],.home-selector input[type="date"] { min-height:44px; font-size:16px; }
 .home-selector .compact-choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .home-selector #compact-month-years { grid-template-columns:minmax(0,1fr); }
 .home-selector #compact-exact-dates:not([hidden]) { grid-template-columns:minmax(0,1fr); }
}
@media (forced-colors:active) {
 .cw-home .home-hero__art { display:none; }
 .cw-home .home-hero__content::before { display:none; }
 .cw-home a.cw-button { color:ButtonText; background:ButtonFace; border:1px solid ButtonText; }
}

/* The starter spans two equal grid tracks; the ocean ends at its midpoint. */
.cw-home .home-possibilities .home-possibilities-ribbon { width:180px; height:16px; margin:6px auto; }
.cw-home .journey-art { position:relative; isolation:isolate; margin-top:8px; }
/* Multiply the translucent wash over the artwork's cream canvas so it reads as
   one setting, while leaving the source artwork and its accepted edge fade intact. */
.cw-home .journey-art::before { content:""; position:absolute; z-index:1; top:-32px; bottom:-32px; left:50%; width:min(960px,calc(100vw - 24px)); transform:translateX(-50%); pointer-events:none; background:radial-gradient(ellipse closest-side,rgba(143,191,181,.22),rgba(173,207,195,.1) 60%,transparent 100%); mix-blend-mode:multiply; }
@media (forced-colors:active) {
 .cw-home .journey-art::before,.cw-home .home-brand-ribbon { display:none; }
}
