:root {
  color-scheme: light;
  --ink: #142a29;
  --paper: #f5f1e8;
  --teal: #17524c;
  --line: #d6dbd0;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.masthead, .masthead nav { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; align-items: center; }
.masthead { justify-content: space-between; padding-block: 1.2rem; }
.masthead a { text-decoration: none; }
.masthead a:hover { text-decoration: underline; }
.brand { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.hero {
  background: linear-gradient(90deg, #092422f7 10%, #0b2523cf 55%, #0b252378),
    #123330 url('/assets/cairns-evening-thumbnail.jpg') center / cover no-repeat;
  color: white;
  border-radius: 1rem;
  padding: clamp(1.25rem, 5vw, 4rem);
}
.hero-copy { max-width: 44rem; }
.eyebrow { margin: 0 0 .5rem; font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .15em; }
.hero .eyebrow { color: #c2e4d6; }
h1, h2 { margin: 0; font: normal clamp(2.6rem, 7vw, 5.4rem)/1.04 Georgia, serif; overflow-wrap: anywhere; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
form { margin-top: 1.5rem; }
label { display: block; margin-bottom: .4rem; font-weight: 700; }
.search { display: flex; flex-wrap: wrap; gap: .6rem; }
input, button { border-radius: .5rem; font: inherit; padding: .75rem 1rem; }
input { flex: 1 1 16rem; min-width: 0; border: 1px solid var(--line); background: white; color: var(--ink); }
button { flex: 0 1 auto; border: 1px solid transparent; background: #d3efc1; color: #133027; font-weight: 800; cursor: pointer; }
button:hover { background: #e9f9dc; }
:focus-visible { outline: 3px solid #c2792c; outline-offset: 3px; }
#experiences { margin-top: 2rem; scroll-margin-top: 1rem; }
.destinations { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.destinations a { padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 2rem; text-decoration: none; background: #fffdf7; }
.destinations a:hover { color: white; background: var(--teal); }
.disclosure, .fallback { font-size: .95rem; color: #395451; }
.fallback a { font-weight: 700; }
footer { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-block: 1.5rem; font-size: .9rem; }
.compare-jump { display: inline-block; margin-top: 1.15rem; font-weight: 700; color: #d3efc1; }
#compare { margin-block: clamp(2.75rem, 7vw, 5rem); scroll-margin-top: 1rem; }
.compare-intro { max-width: 38rem; }
.compare-intro > p:last-child { color: #395451; }
.travel-styles { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.4rem; }
.travel-styles button, .compare-button, .remove-destination { background: #fffdf7; border-color: var(--line); padding: .45rem .75rem; font-size: .88rem; min-height: 44px; }
.travel-styles button { border-radius: 2rem; }
.travel-styles button[aria-pressed="true"], .compare-button[aria-pressed="true"] { background: var(--teal); color: white; border-color: var(--teal); }
.compare-button[aria-disabled="true"] { opacity: .5; cursor: default; }
.atlas, .comparison-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.atlas-card, .comparison-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .9rem; background: #fffdf7; }
.atlas-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 13rem;
  color: #fff;
  padding: 1rem 1.15rem;
  background: linear-gradient(135deg, var(--cover-dark), var(--cover-light));
}
.atlas-thumbnail, .atlas-cover::before { position: absolute; inset: 0; }
.atlas-thumbnail { z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.12) contrast(1.07) saturate(1.14); }
.atlas-cover::before {
  content: "";
  z-index: -1;
  background: linear-gradient(to top, rgb(4 13 20 / 94%), rgb(4 13 20 / 73%) 42%, rgb(4 13 20 / 16%) 73%, transparent);
}
.atlas-cover.ocean { --cover-dark: #0a333b; --cover-light: #176264; }
.atlas-cover.forest { --cover-dark: #1c3927; --cover-light: #47653d; }
.atlas-cover.dusk { --cover-dark: #32263e; --cover-light: #694962; }
.atlas-cover.clay { --cover-dark: #472b20; --cover-light: #8a4b30; }
.atlas-cover .eyebrow { letter-spacing: .1em; }
.atlas-cover h3, .comparison-card h4 { margin: 0; font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.12 Georgia, serif; }
.atlas-cover h3 {
  font: 800 clamp(1.85rem, 5.7vw, 2.65rem)/1.04 system-ui, sans-serif;
  letter-spacing: -.035em;
  text-wrap: balance;
  text-shadow: 0 2px 7px #000;
}
.atlas-cover .eyebrow, .atlas-headline { text-shadow: 0 1px 5px #000; }
.atlas-headline { margin: .4rem 0 0; }
.atlas-body { padding: .9rem 1.15rem 1rem; }
.atlas-body > p { margin: 0 0 .75rem; min-height: 3.2em; }
.atlas-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; }
.atlas-link { font-size: .9rem; font-weight: 750; }
.shortlist { background: #e8eee3; border-radius: 1rem; padding: clamp(1rem, 3vw, 1.6rem); margin-top: 1.3rem; }
.shortlist h3 { margin: 0; font: 400 1.75rem/1.1 Georgia, serif; }
.comparison-card { padding: 1rem; }
.comparison-card dt { font-weight: 800; font-size: .85rem; }
.comparison-card dd { margin: 0 0 .75rem; }
.comparison-card .remove-destination { display: block; margin-top: .7rem; }
@media (max-width: 840px) {
  .atlas, .comparison-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .atlas, .comparison-grid { grid-template-columns: 1fr; }
  .atlas-body > p { min-height: 0; }
}
.compare-jump[hidden] { display: none; }
.shortlist { margin: 0 0 1.3rem; }
