/* Home composition; Atlas map presentation in atlas.shared.css, shared chrome in navigation.css. */
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink)}a{color:inherit;text-decoration:none}.wrap{max-width:1440px;margin:auto;padding-inline:var(--tyit-page-gutter)}
.indexline{display:flex;align-items:center;color:var(--ink);gap:clamp(12px,2vw,30px);margin-bottom:var(--tyit-heading-content-gap)}
.journey-entry{margin:0 0 28px}.journey-entry .indexline{margin-bottom:12px}
@media(max-width:650px){
.journey-entry{margin-bottom:23px}
}

.home-journey-search{display:block;margin:-4px 0 18px}.home-journey-search input{width:min(100%,480px);padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--paper);color:var(--ink);font:var(--tyit-weight-body) var(--tyit-type-standard)/var(--tyit-leading-label) var(--tyit-font-structural)}.home-journey-search input:focus-visible{outline:2px solid var(--teal);outline-offset:2px}#home-journey-results .journey-card[hidden]{display:none}

/* Perspectives and atlas components */
/* Home owns edition composition only; selector, type roles and arrows are shared. */
.home-feature{margin:var(--tyit-editorial-section-half) 0;min-width:0;color:var(--ink);container:home-edition/inline-size}
.home-feature>.indexline{margin:0 0 var(--tyit-heading-content-gap);padding:0}
.edition-headline{color:var(--teal);font:var(--tyit-weight-editorial) var(--tyit-type-discovery-title)/var(--tyit-leading-heading) var(--tyit-font-editorial);margin:0 0 var(--tyit-opening-title-gap)}
.edition-columns{display:grid;gap:var(--tyit-heading-content-gap);align-items:start}
.edition-lead,.edition-support,.edition-copy{min-width:0}
.edition-columns figure{margin:0;min-width:0;aspect-ratio:4/3}
.edition-columns img{display:block;width:100%;height:100%;object-fit:cover}
.edition-lead .edition-copy{padding-top:var(--tyit-opening-label-gap)}
.edition-label{margin:0 0 5px;color:var(--forest)}
.edition-columns h4{margin:0 0 10px}
.edition-excerpt{margin:0;max-width:var(--tyit-prose-max)}
.edition-side{display:grid;gap:0}
.edition-support{display:flow-root;padding:clamp(12px,1.4vw,20px) 0;border-bottom:1px solid var(--line)}
.edition-support figure{float:left;width:min(32%,12rem);margin:0 var(--tyit-opening-label-gap) 5px 0}
.edition-regional .edition-support:first-child{padding-top:0}
/* Regional geometry follows the lead's natural height; the controller measures
   actual copy including its arrow. Unfit compositions retain ordinary flow. */
.edition-regional[data-fit="stacked"]{grid-template-columns:minmax(0,1fr)}
.edition-regional[data-fit="bounded"] .edition-side{height:var(--edition-lead-height);grid-template-rows:repeat(3,minmax(0,1fr))}
.edition-regional[data-fit="bounded"] .edition-support{min-height:0}
.edition-regional[data-fit="bounded"] .edition-support:last-child{padding-bottom:0;border-bottom:0}
.edition-taste-intro{display:flow-root;margin-bottom:var(--tyit-heading-content-gap)}
.edition-taste-intro>.selector-card{float:left;margin:0 var(--tyit-opening-content-gap) 8px 0}
.edition-taste-intro .edition-excerpt{max-width:none}
.edition-subtastes,.edition-triptych{gap:0;border-top:1px solid var(--line)}
.edition-subtastes .edition-support figure{aspect-ratio:1/1}
.edition-prose-end{white-space:nowrap}
.edition-link{display:inline-flex;align-items:center;min-width:28px;vertical-align:middle}
/* Use the established shared editorial-spread narrow/regular transition. */
@media(min-width:761px){
  .edition-subtastes{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--tyit-opening-content-gap)}
}
/* Three equally weighted stories need three usable tracks; otherwise use the
   same flowing story as the narrow layout, rather than leave an orphan track.
   48rem allows three 15rem tracks and two gaps of 1.5rem. */
@container home-edition (min-width:48rem){
  .edition-triptych{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--tyit-heading-content-gap);border-bottom:1px solid var(--line)}
  .edition-triptych .edition-support{border-bottom:0}
  .edition-triptych .edition-support figure{float:none;width:auto;margin:0}
  .edition-triptych .edition-copy{padding-top:var(--tyit-opening-label-gap)}
}
.home-discovery>.indexline{margin:var(--tyit-related-block-gap) 0 var(--tyit-heading-content-gap)}
.discovery-controls{margin:0 0 30px;padding:0;background:none;border:0}.discovery-rails{display:grid;}.discovery-rail{display:flex;align-content:end;gap:4px;}


.discovery-small{display:none}.discovery-small select{width:100%;padding:12px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--paper);font:var(--tyit-type-standard) var(--tyit-font-structural);color:var(--ink)}
.result-heading{display:flex;align-items:center;gap:15px}.result-heading button{appearance:none;border:0;background:none;color:var(--forest);font:var(--tyit-type-small) var(--tyit-font-structural);text-decoration:underline;text-transform:none;letter-spacing:0;cursor:pointer}.home-discovery .journey-entry-grid{margin-bottom:0}.home-discovery [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){
.selector-card{transition:none}
}
.discovery-rails{grid-template-columns:auto auto;justify-content:space-between;align-items:center;}

/* Narrow-width refinement; component styles remain scoped to the homepage. */
.perspective-heading{font:700 11px/1.4 var(--tyit-font-structural);letter-spacing:.14em;background:none;padding:0 0 6px;color:var(--forest)}
@media(max-width:650px){.perspective-heading{padding-bottom:2px}}
@container atlas-stage (max-width:400px){.home-map.is-world .perspective-heading{display:none}}

.discovery-controls{position:relative;padding-right:56px}
#discovery-clear{position:absolute;right:0;top:8px;border:1px solid var(--line);background:var(--paper);color:var(--forest);cursor:pointer;font:24px/1 var(--tyit-font-structural);text-decoration:none;display:grid;place-items:center}
.discovery-choice:disabled{opacity:.3;filter:grayscale(1);cursor:default}
/* Home discovery: unselected choices remain active until another is hovered/focused. */
.discovery-rails:has(.discovery-choice:is(:hover,:focus-visible)) .discovery-choice:not(:is(:hover,:focus-visible)):not([aria-pressed="true"]) .selector-card__art{filter:grayscale(.85) saturate(.3)}
/* Two-row Atlas rails require enough space for all 14 compact biome cards (676-1164px). */
@container atlas-stage (min-width:676.5px) and (max-width:1163.5px){

.discovery-rails{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;}
.discovery-rails>.discovery-rail{width:100%;max-width:100%;}.discovery-small{display:none}
.discovery-rails{padding-right:0}.taste-rail{padding-right:0}
}
.discovery-stage>.indexline{margin:var(--tyit-related-block-gap) 0 0;flex:none;min-height:20px}
.discovery-stage .discovery-controls{margin:0;flex:none}
.discovery-rail{min-height:44px;padding:4px 2px 5px;align-items:center;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;flex-wrap:nowrap;min-width:0}
.discovery-rails{gap:8px 20px}

@media(max-width:1100px){

 .discovery-rails{gap:4px}.discovery-rail{gap:4px;min-height:44px}
}





/* Natural text height; the resource footer never clips wrapped copy. */





/* M105.5: the full selector rails and clear control share one row.
   The compact dropdown and clear action use the same row. */
.discovery-stage .discovery-controls{display:flex;align-items:center;min-width:0;padding-right:56px}
.discovery-stage .discovery-controls>.discovery-rails{flex:1;min-width:0}
.discovery-stage #discovery-clear{top:50%;bottom:auto;transform:translateY(-50%)}
@container atlas-stage (max-width:676px){

  .discovery-rails{display:none}
  .discovery-stage .discovery-controls{display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:auto;align-items:center;gap:8px;padding-right:0}
  .discovery-controls>.discovery-small{grid-column:1;grid-row:1}
  .discovery-small{display:block;min-width:0}
  .discovery-small select{padding:11px 8px}
  .discovery-stage #discovery-clear{position:static;grid-column:2;grid-row:1;top:auto;right:auto;transform:none;align-self:center;justify-self:end;width:44px;height:44px}
}

/* M20: the bottom rail and perspective preview are both canonical compact
   taxonomy cards; geography and viewport sizing stay with the Atlas stage. */
.discovery-controls .selector-card--compact{flex:0 0 44px}
/* Journey search shares the selector rail’s 676px compact threshold and
   its bordered, full-width control geometry on narrow layouts. */
.home-discovery{container:home-journeys/inline-size}
.home-discovery .result-heading{min-width:0}
.home-discovery .result-heading>span{flex:0 1 auto}
.home-discovery .result-heading .home-journey-search{order:2;margin:0 0 0 auto;display:flex;align-items:center;gap:9px;min-width:0;width:min(260px,35%);flex:0 1 auto;padding:9px 12px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--paper);font-family:var(--tyit-font-structural)}
.home-discovery .result-heading .home-journey-search .tyit-search-icon{flex:none;width:17px;height:17px;color:var(--ink);pointer-events:none}
.home-discovery .result-heading .home-journey-search input{min-width:0;width:100%;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);font:var(--tyit-weight-body) var(--tyit-type-small)/var(--tyit-leading-label) var(--tyit-font-structural);text-transform:none;letter-spacing:normal;outline:none}
.home-discovery .result-heading .home-journey-search:focus-within{outline:2px solid var(--teal);outline-offset:2px}
@container home-journeys (max-width:676px){

  .home-discovery .result-heading{flex-wrap:wrap;row-gap:10px}
  .home-discovery .result-heading .home-journey-search{flex:0 0 calc(100% - 52px);width:calc(100% - 52px);box-sizing:border-box;min-height:45px;margin:0;padding:11px 8px;border-radius:var(--radius-control)}
}

/* Restored original three homepage volume choices (M122.05). */
.choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-bottom:62px}
.choice{container:home-choice/inline-size;background:color-mix(in srgb,var(--gateway-color),var(--paper) var(--surface-wash));position:relative;min-height:296px;border-radius:var(--radius-control);padding:23px 24px 22px;display:flex;flex-direction:column;overflow:hidden;isolation:isolate}
.choice:focus-visible{outline:3px solid var(--clay);outline-offset:4px}
.choice:hover .choice-bottom{text-decoration:underline;text-underline-offset:3px}
.choice:before{content:"";position:absolute;z-index:-1;width:340px;height:340px;border:1px solid currentColor;border-radius:50%;right:-152px;top:69px;opacity:.18}
.choice:after{content:"";position:absolute;z-index:-1;width:250px;height:250px;border:1px solid currentColor;border-radius:50%;right:-106px;top:115px;opacity:.14}
.choice.retros{--gateway-color:var(--forest);color:var(--tyit-text-on-dark)}
.choice.experience{--gateway-color:var(--sage);color:var(--ink)}
.choice.about{--gateway-color:var(--clay);color:var(--tyit-text-on-dark)}
.choice-top{display:flex;align-items:center;gap:5px;font-family:var(--tyit-font-structural);font-size:var(--tyit-type-small);font-weight:var(--tyit-weight-body);letter-spacing:var(--tyit-structural-tracking);line-height:var(--tyit-leading-label);white-space:nowrap;text-transform:uppercase;margin-bottom:20px}
.choice-top b{font-weight:inherit;white-space:nowrap}
.choice.experience .choice-top span{font-size:var(--tyit-type-compact-nav);font-weight:var(--tyit-weight-body);text-transform:none;letter-spacing:.09em}
.choice-heading{display:flex;align-items:center;gap:.55em;min-width:0;margin-bottom:15px;font-size:min(var(--tyit-type-discovery-title),12cqi)}
.choice-icon{flex:none;width:1.2em;height:1.2em;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;margin:0}
.choice-icon svg{width:.8em;height:.8em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.choice h2{font:var(--tyit-weight-editorial) 1em/var(--tyit-leading-heading) var(--tyit-font-editorial);letter-spacing:-.04em;margin:0;white-space:nowrap}
.choice p{margin:0 0 20px;font-size:var(--tyit-type-standard);line-height:var(--tyit-leading-body);max-width:32ch}
.choice-bottom{margin-top:auto;border-top:1px solid currentColor;padding-top:13px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-family:var(--tyit-font-structural);font-size:var(--tyit-type-small);font-weight:var(--tyit-weight-body);letter-spacing:var(--tyit-structural-tracking);text-transform:uppercase;white-space:nowrap}
.choice-short{display:none}
/* Equal-width choices share the same visibility threshold; never leave a dangling prefix. */
@container home-choice (max-width:calc(285px + (100vw - 390px) * .095)){.choice-top{display:none}}
@container home-choice (max-width:240px){.choice-long{display:none}.choice-short{display:inline}.choice-heading{gap:.4em}}

/* D1 disclosure: the button interrupts one continuous rule. */
.home-journey-more-wrap{margin:18px 0 38px}
.home-journey-more{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2vw,30px);width:100%;border:0;background:transparent;color:var(--forest);font:var(--tyit-weight-label) var(--tyit-type-small)/1.5 var(--tyit-font-structural);letter-spacing:var(--tyit-structural-tracking);text-transform:uppercase;cursor:pointer;padding:10px 0}
.home-journey-more::before,.home-journey-more::after{content:"";height:1px;flex:1;background:var(--line)}
.home-journey-more:hover{text-decoration:underline;text-underline-offset:4px}
.home-journey-more:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
.home-journey-more[hidden]{display:none!important}
@media(max-width:760px){
.choices{grid-template-columns:minmax(0,1fr);gap:10px;padding-bottom:38px}.choice{min-height:244px;padding:20px}.choice-top{margin-bottom:15px}.choice-heading{margin-bottom:12px}.choice p{margin-bottom:16px}
}

/* Homepage hero, discovery composition and homepage card presentation. */
.home-hero{position:relative;isolation:isolate;height:100svh;margin-inline:calc(-1 * var(--tyit-page-gutter));overflow:hidden;background:#292723;color:white;--accent:var(--gold)}
.home-hero>.immersive-photo{display:contents}
.home-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--hero-desktop,50% 50%);filter:brightness(1.06) saturate(1.08);z-index:-2}
.home-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(27,54,50,.30),rgba(27,54,50,.48) 22%,rgba(27,54,50,.48) 49%,rgba(27,54,50,.08) 68%,transparent 78%)}
.home-hero.is-photo-loading::before{background:none}
[data-home-header]{margin-bottom:calc(-1 * var(--header-height))}
[data-home-header]:not(.is-scroll-floating){background:transparent;color:white;box-shadow:none;--brandmark-color:var(--gold);--header-color:white}
[data-home-header]:not(.is-scroll-floating)::before{background:transparent}
.home-headline{position:absolute;top:22%;left:4.10256vw;right:12px;margin:0;max-width:none;font:700 min(calc(var(--tyit-type-display) * 1.6),19.48718vw,10svh)/1.02 var(--tyit-font-editorial);letter-spacing:-.015em;color:white;font-synthesis:none}
.home-headline .line{display:block;white-space:nowrap;width:max-content}.home-headline .line:nth-child(2){margin-left:min(30px,7.6923vw)}.home-headline .line:nth-child(3){margin-left:min(90px,23.0769vw);margin-top:5px}
.home-headline em{position:relative;font-style:italic;font-weight:700;color:var(--gold)}.home-headline em::after{content:"";position:absolute;left:1px;right:1px;bottom:-.14em;height:.18em;background:currentColor;clip-path:var(--tyit-rhomboid-shape)}
.home-headline .wide-lines{display:none}
@media(max-width:400px) and (max-height:760px){.home-headline{font-size:min(17vw,10svh)}}
.home-description{position:absolute;right:0;bottom:5%;width:94%;font-size:min(var(--tyit-type-standard),3svh);font-family:var(--tyit-font-editorial);text-align:left}.home-description p{margin:0;padding:10px 12px}.home-description .lead{background:var(--gold);color:var(--ink);font-size:inherit;line-height:1.3}.home-description .lead strong{font-size:var(--tyit-type-section);font-weight:700;line-height:1}.home-description .continuation{background:var(--forest);color:white;font-size:inherit;line-height:1.3}.home-description .continuation strong{font-size:var(--tyit-type-section);font-weight:700;line-height:1.1}
@media(min-width:651px){.home-description{width:min(54%,510px)}.home-hero::before{background:linear-gradient(90deg,rgba(27,54,50,.48),rgba(27,54,50,.24) 50%,transparent 85%),linear-gradient(180deg,rgba(27,54,50,.32),transparent 20%)}}
@media(min-width:760px){.home-headline{font-size:min(calc(var(--tyit-type-display) * 2),10.5vw,16svh);top:23%;left:5vw}.home-headline .narrow-lines{display:none}.home-headline .wide-lines{display:block}.home-headline .wide-lines .line:nth-child(2){margin-left:5vw;word-spacing:normal}}
@media(min-width:1051px){.home-description{width:min(44%,640px);bottom:8%;font-size:min(var(--tyit-type-standard),2.8svh)}.home-description p{padding:16px 20px}}
.home-hero+main .home-discovery{margin-top:28px}

/* Restore the natural world-map ratio: width-calibrated SVG text is otherwise shrunk by meet letterboxing. */
.home-hero+main .discovery-stage{height:auto;max-height:none;min-height:0;gap:8px}
.home-hero+main .discovery-stage .home-map.is-world{flex:none;min-height:0;aspect-ratio:280/180}
.home-hero+main .discovery-stage .home-map:not(.is-world){flex:none;min-height:620px;aspect-ratio:280/180}
.home-locator{left:0;bottom:5%;flex-direction:column;gap:1px;padding:3px 4px 2px;white-space:nowrap}
.home-cross{width:43px;height:48px;top:-17px;right:-10px}.home-cross::before{top:0;right:12px;width:2px;height:30px}.home-cross::after{top:17px;right:-1px;width:39px;height:2px}
@media(max-width:650px){
  .home-hero{display:flex;flex-direction:column;height:100svh;padding-top:clamp(85px,18svh,190px);padding-bottom:clamp(16px,4svh,36px);gap:24px}
  .home-hero-photo{object-position:var(--hero-mobile,50% 50%)}
  .home-headline{position:relative;inset:auto;margin-inline:4.10256vw 12px;margin-bottom:0;flex:none}
  .home-description{position:relative;inset:auto;transform:none;align-self:flex-end;order:2;flex:none}
  .home-locator{position:relative;inset:auto;transform:rotate(180deg);writing-mode:vertical-rl;align-self:flex-end;order:1;margin:auto 0 auto auto;flex:none}
  /* The locator is rotated 180deg: place the intersection outside its visible top-left edge. */
  .home-cross{top:auto;bottom:-33px;right:-15px}
  .home-hero+main .discovery-stage .home-map:not(.is-world){min-height:0;aspect-ratio:3/5}
}
@media(max-width:650px) and (max-height:600px){.home-hero{padding-top:clamp(68px,12svh,78px);padding-bottom:12px;gap:12px}.home-headline{font-size:min(calc(var(--tyit-type-display) * 1.6),16vw,8.5svh)}}

.home-hero-credit{font:var(--tyit-type-small)/1.4 var(--tyit-font-structural);color:var(--muted);padding:0 var(--tyit-page-gutter) 20px}.home-hero-credit a{color:inherit}

.home-short-heading{display:none}@media(max-width:650px){
.home-long-heading{display:none}.home-short-heading{display:inline}
}

/* Homepage caption role; uses canonical palette and structural font. */

/* Canonical discovery/feature label colours remain owned by home.css. */


.home-wide-copy{display:none}@media(min-width:1051px){
.home-wide-copy{display:inline}
}

@media(min-width:651px){
.home-locator{flex-direction:row;align-items:center;gap:.6em;max-width:calc(46vw - 44px);padding:.65em 1em}.home-cross{width:2.8em;height:3em;top:-1em;right:-.65em}.home-cross::before{width:.13em;height:2em;right:.8em}.home-cross::after{height:.13em;width:2.6em;top:1.1em;right:-.07em}.home-coords:not([hidden])::before{content:"· ";margin-right:.25em}
}

/* Intermediate hero locator fits the space beside the 54% introduction. */
@media(min-width:651px) and (max-width:1050px){
  .home-locator{white-space:normal;flex-wrap:wrap}
  .home-coords{white-space:nowrap}
}


/* Atlas: one container-based scale, resolved as screen pixels by home-review.js.
   World labels and counts are cartographic roles, not prose typography.
   The compact endpoints protect the 350px minimum; the wide caps avoid oversized markers.
   Regional and country labels continue to use the existing shared editorial roles. */
.home-hero+main .home-map{container-type:inline-size}
.home-hero+main .home-map.is-world svg#discovery-map{
  font-size:clamp(13px,calc(6.9px + 1.71cqi),30px);
  --atlas-count-size:clamp(13px,calc(9.1px + 1.10cqi),24px);
  --atlas-marker-size:clamp(26px,calc(12.4px + 3.82cqi),64px);
}
/* Atlas inherits the canonical light cartographic palette. */
