/* PointWorld — reference-matched composition, 21 November 2026.
   This is intentionally the final cascade, so the original React and catalog
   styles remain intact. All selectors are restricted to the public homepage. */
html.pw-reference-home body {
  background: #eae4d8;
}
html.pw-reference-home #root,
html.pw-reference-home .pw-site {
  max-width: 1536px;
  width: 100%;
  margin-inline: auto;
}
html.pw-reference-home .pw-site {
  box-shadow: 0 7px 32px rgba(13, 36, 43, .12);
}
/* The reference is a 1536px-wide atlas rather than a fluid 100vw layout. */
@media (min-width: 1101px) {
  html.pw-reference-home .pw-header__inner {padding-left: clamp(22px, 8.3vw, 128px);padding-right: 24px}
  html.pw-reference-home .pw-header__actions {gap: 7px;margin-left: 8px}
  html.pw-reference-home .pw-mobile-menu-button {display: grid}
  html.pw-reference-home .pw-hero {height: 355px}
  html.pw-reference-home .pw-hero__photo {background-position: center center; background-size: cover}
  html.pw-reference-home .pw-hero__copy {
    margin-left: clamp(330px, 24.4vw, 375px);
    width: min(625px, 48vw);
    padding-top: 10px;
  }
  html.pw-reference-home .pw-hero__script {
    font: italic 400 clamp(65px, 4.9vw, 75px)/1 "Lobster Two", "Segoe Script", "URW Chancery L", "Monotype Corsiva", cursive;
    letter-spacing: -.04em;
    transform: translateX(-14px) rotate(-2deg);
  }
  html.pw-reference-home .pw-hero__copy > p {margin-top: 12px;margin-bottom: 28px}
  html.pw-reference-home .pw-chips {margin-top: 8px}
  html.pw-reference-home .pw-content-grid {
    grid-template-columns: 258px minmax(0, 1fr);
    gap: 20px;
    padding-left: 10px;
    padding-right: 25px;
    padding-bottom: 10px;
  }
  html.pw-reference-home .pw-planner {top: 0;left: 1px;width: 246px;height: 465px}
  html.pw-reference-home .pw-planner__paper {
    min-height: 462px;
    height: 462px;
    padding: 33px 19px 13px 23px;
    border-radius: 2px;
    background: radial-gradient(ellipse at 42% 40%, #fff9ee 3%, #f6e4c6 95%);
    box-shadow: 4px 6px 12px #7d502f3b;
  }
  html.pw-reference-home .pw-planner__paper h2 {font-size: 24px}
  html.pw-reference-home .pw-planner__links a {font-size: 13px;height: 41px}
  html.pw-reference-home .pw-top-sections {padding-top: 19px}
  html.pw-reference-home .pw-section__heading {margin-bottom: 13px}
  html.pw-reference-home .pw-section__heading h2 {font-size: 30px}
  html.pw-reference-home .pw-countries-grid {gap: 16px}
  html.pw-reference-home .pw-country-card {aspect-ratio: 406 / 187}
  html.pw-reference-home .pw-categories {padding-top: 16px}
  html.pw-reference-home .pw-categories-grid {gap: 10px}
  html.pw-reference-home .pw-category {aspect-ratio: 151 / 111}
  html.pw-reference-home .pw-route-banner {min-height: 216px}
  html.pw-reference-home .pw-route-banner__content {padding-top: 34px;padding-left: clamp(45px,7.1vw,109px)}
  html.pw-reference-home .pw-route-banner__landscape {background-position: center center;background-size:cover}
}
/* Reduce distortion on large and ultrawide monitors: never stretch the artwork. */
html.pw-reference-home .pw-country-card__bg,
html.pw-reference-home .pw-category,
html.pw-reference-home .pw-hero__photo,
html.pw-reference-home .pw-route-banner__landscape {
  background-repeat: no-repeat;
  background-size: cover !important;
}
/* Side-paper texture and irregular edge; separate from every clickable item. */
html.pw-reference-home .pw-planner__paper::after {
  content:"";position:absolute;bottom:-1px;left:0;right:0;height:10px;
  background:#f2ddbb;
  clip-path:polygon(0 20%,8% 60%,15% 23%,23% 76%,31% 31%,39% 65%,47% 28%,56% 79%,64% 27%,72% 68%,80% 22%,91% 64%,100% 20%,100% 100%,0 100%);
  pointer-events:none;
}
html.pw-reference-home .pw-planner__paper h2,
html.pw-reference-home .pw-section__heading h2 {text-wrap: balance}
html.pw-reference-home .pw-section__heading > a {font-weight:700}
/* Clear text in the route banner and make the gold action clearly clickable. */
html.pw-reference-home .pw-route-banner::after {
  background: linear-gradient(90deg,rgba(1,45,64,.94) 0%,rgba(1,47,66,.85) 23%,rgba(1,47,66,.46) 44%,transparent 74%);
}
html.pw-reference-home .pw-route-banner__button {color:#143342}
/* Do not let the consent dialog visually cover the entire banner on desktops. */
html.pw-reference-home .pw-consent {
  max-width: 630px;
  right: 18px;
  padding: 15px 18px;
  box-shadow:0 14px 36px rgba(5,32,45,.25)
}
/* The original photo tiles contain captions; screen readers still access
   descriptive HTML text in their actual links. Decorative photos keep
   identical crops without competing double labels. */
@media (min-width: 831px) and (max-width:1100px) {
  html.pw-reference-home .pw-site {box-shadow:none}
  html.pw-reference-home .pw-top-sections {padding-top:18px}
  html.pw-reference-home .pw-section__heading h2 {font-size:24px}
  html.pw-reference-home .pw-planner__paper {min-height:475px}
  html.pw-reference-home .pw-country-card {aspect-ratio:406/187}
  html.pw-reference-home .pw-category {aspect-ratio:151/111}
}
@media (max-width: 830px) {
  html.pw-reference-home .pw-site {box-shadow:none}
  html.pw-reference-home .pw-planner__paper {height:auto;min-height:0}
  html.pw-reference-home .pw-route-banner__landscape {background-position:62% center}
  html.pw-reference-home .pw-category {background-size:cover !important}
}
@media (max-width: 530px) {
  html.pw-reference-home .pw-hero {height:430px}
  html.pw-reference-home .pw-hero__copy {padding-top:37px}
  html.pw-reference-home .pw-hero__script {font-family:"Segoe Script","Lobster Two","URW Chancery L",cursive;font-size:clamp(38px,10vw,48px);font-weight:400;letter-spacing:-.045em;transform:none}
  html.pw-reference-home .pw-hero__second {font-size:clamp(24px,6.6vw,30px)}
  html.pw-reference-home .pw-hero__copy > p {margin:14px 0 21px;font-size:13.4px}
  html.pw-reference-home .pw-search {width:100%}
  html.pw-reference-home .pw-chips {gap:7px 6px}
  html.pw-reference-home .pw-stats {margin-top:20px}
  html.pw-reference-home .pw-country-card {aspect-ratio:406/187}
  html.pw-reference-home .pw-category {aspect-ratio:151/111;height:auto}
  html.pw-reference-home .pw-route-banner {min-height:260px}
  html.pw-reference-home .pw-route-banner__content {padding-top:35px}
  html.pw-reference-home .pw-consent {left:10px;right:10px;max-width:none}
}
/* Align hero text, form and counters with the approved 1536×1024 reference. */
@media (min-width: 1101px) {
  html.pw-reference-home .pw-hero__copy {padding-top:0}
  html.pw-reference-home .pw-hero__copy > p {margin-bottom:14px}
}
