@font-face {
  font-family: "Barlow Condensed";
  src: url("barlow-condensed-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #203f34;
  --ink: #203f34;
  --paper: #f7f5ea;
  --line: #b7b8a7;
  --accent: #8f432d;
  --gold: #f4c768;
  --muted: #506052;
  --display: "Barlow Condensed", "Avenir Next Condensed", "Arial Narrow", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page-inset: clamp(1rem, 4.2vw, 4rem);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
:root.strong-contrast {
  --forest: #10291e;
  --ink: #10291e;
  --paper: #fff;
  --line: #596954;
  --accent: #763318;
  --muted: #2b3d30;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.018em;
}
h1 { line-height: 1.02; }
h2 { line-height: 1.1; }
.eyebrow {
  font: 600 .79rem/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
header, main { padding-inline: var(--page-inset); }
header {
  padding-block: .7rem;
  gap: 1.1rem;
  border-bottom: 1px solid var(--ink);
}
.brand {
  gap: .64rem;
  letter-spacing: 0;
  color: var(--forest);
  white-space: nowrap;
}
.brand .wordmark { font: 700 2rem/1 var(--display); letter-spacing: -.025em; }
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--forest);
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
  border-radius: 3px;
}
.brand-mark i {
  position: relative;
  margin: -.29rem .18rem 0 0;
  width: 1.12rem;
  height: 1.12rem;
  border: .13rem solid var(--gold);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 39%, var(--gold) 39% 47%, transparent 47%),
    linear-gradient(155deg, transparent 50%, var(--gold) 50% 58%, transparent 58%);
}
.brand-mark i::after {
  content: "";
  position: absolute;
  left: 81%;
  top: 83%;
  width: .15rem;
  height: .65rem;
  background: var(--gold);
  transform: rotate(-42deg);
  transform-origin: top;
}
header nav { gap: clamp(1rem, 2.6vw, 2.5rem); font-weight: 600; }
#settings-button {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  font-size: inherit;
  font-weight: 600;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding-inline: 1rem 0;
  background: transparent;
}
#settings-button:hover { text-decoration: underline; text-underline-offset: .2em; }
.reading-symbol { font: 700 1.15em/1 Georgia, serif; }
button, .primary { border-radius: 3px; }
.primary {
  font-weight: 700;
  line-height: 1.4;
  background: var(--forest);
  border-color: var(--forest);
}
.primary:hover { background: #315343; }
:where(.quiet, .panel-note) { color: var(--muted); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline-offset: 3px;
}
main:has(> .hero) { padding-top: 0; }
main > .hero {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template: "heading print" auto "action print" auto / minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 0 clamp(1.7rem, 4.8vw, 5rem);
  align-content: center;
  align-items: stretch;
  padding: clamp(2.2rem, 4vw, 4rem) var(--page-inset);
  margin-inline: calc(0px - var(--page-inset));
  color: #fff9e9;
  background: var(--forest);
}
.hero.brisbane-plate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--forest) 8%, rgb(32 63 52 / 98%) 28%, rgb(32 63 52 / 79%) 62%, rgb(32 63 52 / 66%)),
    var(--hero-plan, url("brisbane-plan.webp")) right 48% / auto 185% no-repeat;
}
@media (max-width: 720px) {
  .hero.brisbane-plate { --hero-plan: url("brisbane-plan-small.webp"); }
}
.strong-contrast .hero.brisbane-plate::before { display: none; }
.hero .hero-heading { grid-area: heading; align-self: end; }
.hero .hero-copy { grid-area: action; align-self: start; padding: 0; }
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: .62rem;
  margin: 0 0 .8rem;
  color: var(--gold);
}
.hero .eyebrow::before {
  content: "";
  width: 1.8rem;
  height: .15rem;
  background: currentColor;
}
main .hero h1 {
  font-size: clamp(3.3rem, 6.2vw, 6rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  margin: 0 0 1rem;
}
.hero .hero-question, .hero .resume-context {
  max-width: 34ch;
  font: 400 clamp(1.05rem, 1.55vw, 1.48rem)/1.5 var(--serif);
  color: #fff9e9;
  margin: 0 0 1.55rem;
}
.hero .resume-note {
  background: #e8ecdc;
  color: var(--forest);
  border-left: 3px solid var(--gold);
  padding: .7rem 1rem;
  overflow-wrap: anywhere;
  margin: .6rem 0 1rem;
}
.hero .resume-note strong { font-size: .9rem; }
.hero .resume-note p { margin: .3rem 0 0; line-height: 1.5; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.15rem; }
.hero-actions .primary, .banner .primary {
  background: var(--gold);
  color: #20372b;
  border: 1px solid var(--gold);
  text-align: center;
}
.hero-actions .primary:hover, .banner .primary:hover { background: #ffdb90; }
.hero .hero-actions a:not(.primary) {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: .5rem 0;
  min-height: 44px;
  color: #fff9e9;
  font-weight: 600;
  font-size: .91rem;
}
.hero .hero-saving {
  margin: 1rem 0 0;
  font-size: .86rem;
  line-height: 1.45;
  color: #e0e5d8;
}
.hero .hero-photo {
  position: relative;
  grid-area: print;
  align-self: center;
  min-width: 0;
  width: auto;
  margin: 0 .55rem .5rem 0;
  background: #fff9ea;
  color: #253b2d;
  padding: clamp(.42rem, .75vw, .72rem);
  box-shadow: .55rem .5rem 0 var(--gold);
}
.hero-photo > a { display: block; }
main .hero .hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1.62;
  object-fit: cover;
  object-position: 50% 54%;
  filter: none;
}
.hero .photo-caption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding: .52rem .14rem .04rem;
  font: 500 .77rem/1.4 var(--mono);
}
.hero .photo-caption span:first-child { font-weight: 700; }
.hero .photo-caption span + span { font-weight: 400; }
.hero a:focus-visible, .banner a:focus-visible, footer a:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
  box-shadow: 0 0 0 4px #203f34;
}
.home-guide { border-block: 1px solid var(--line); }
.how-toggle {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  width: 100%;
  min-height: 48px;
  padding: .42rem 1.8rem .45rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}
.how-toggle strong { display: block; font: 700 1.18rem/1.2 var(--display); }
.how-toggle span { display: block; font-size: .92rem; line-height: 1.4; }
.how-toggle::after {
  content: "";
  position: absolute;
  top: calc(50% - .36rem);
  right: .45rem;
  width: .5rem;
  height: .5rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.how-toggle[aria-expanded="true"]::after { transform: rotate(225deg); top: calc(50% - .1rem); }
.how-toggle[aria-expanded="false"] + .intro-strip { display: none; }
.how-toggle .mobile-guide-summary { display: none; }
.how-toggle:hover strong { text-decoration: underline; text-underline-offset: .15em; }
.home-guide > .intro-strip {
  gap: 0;
  margin: 0;
  padding: 1.5rem 0;
  border: 0;
}
.intro-strip > div {
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  align-items: start;
  gap: .85rem;
  padding-inline: clamp(1rem, 2.1vw, 2rem);
}
.intro-strip > div:first-child { padding-left: 0; }
.intro-strip > div:last-child { padding-right: 0; }
.intro-strip > div + div { border-left: 1px solid var(--line); }
.intro-strip p { font-size: .93rem; line-height: 1.5; }
.intro-strip strong { font: 700 1.43rem/1.1 var(--display); margin: .02rem 0 .38rem; }
.step-icon { display: block; width: 1.55rem; height: 1.55rem; position: relative; color: var(--accent); }
.step-icon::before, .step-icon::after { position: absolute; content: ""; }
.step-lens::before { width: .88rem; height: .88rem; left: .08rem; top: .08rem; border: 2px solid; border-radius: 50%; }
.step-lens::after { width: .65rem; height: 2px; background: currentColor; left: .93rem; top: 1.15rem; transform: rotate(45deg); }
.step-pin::before { width: .93rem; height: .93rem; left: .24rem; top: .05rem; border: 2px solid; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.step-pin::after { inset: .43rem auto auto .61rem; border: 2px solid; width: .2rem; height: .2rem; border-radius: 50%; }
.step-book::before, .step-book::after { top: .23rem; width: .65rem; height: 1rem; border: 2px solid; }
.step-book::before { left: 0; border-radius: 2px 4px 0 2px; transform: skewY(9deg); }
.step-book::after { left: .74rem; border-radius: 4px 2px 2px 0; transform: skewY(-9deg); }
.home-archive-heading { margin-block: 0 1.3rem; }
.home-archive-heading .eyebrow { color: var(--accent); margin-bottom: .35rem; }
.home-archive-heading h2 { font-size: clamp(2.25rem, 4.2vw, 4rem); }
.home-archive-heading > a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.banner {
  color: #fff9e9;
  background: var(--forest);
  border-left: .5rem solid var(--gold);
  padding: clamp(1.5rem, 3.2vw, 3rem);
}
.banner .eyebrow { color: var(--gold); }
.banner h2 { text-wrap: balance; }
.banner .primary { flex: none; }
footer {
  max-width: 1600px;
  margin: auto;
  align-items: center;
  justify-content: flex-start;
  padding: 1.1rem var(--page-inset);
  background: var(--forest);
  border-top: 3px solid var(--gold);
  color: #fff9e9;
  font-size: .86rem;
}
.footer-name { margin-right: auto; font: 700 1.5rem/1.1 var(--display); }
#settings { border: 1px solid var(--ink); border-top: .42rem solid var(--gold); border-radius: 2px; }
#settings h2 { margin-bottom: .65rem; }
#settings .check { border-top: 1px solid var(--line); }
#settings .primary { margin-top: 1rem; }
@media (max-width: 880px) {
  main > .hero { column-gap: 1.55rem; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
  .hero .photo-caption { justify-content: start; }
}
@media (max-width: 720px) {
  header { padding-block: .4rem .25rem; flex-wrap: wrap; gap: .15rem 1rem; }
  .brand .wordmark { font-size: 1.7rem; }
  .brand-mark { width: 1.9rem; height: 1.9rem; }
  header nav { max-width: none; gap: .12rem 1rem; font-size: .9rem; }
  #settings-button { padding-inline: .55rem 0; }
  main > .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .7rem;
    padding-block: 1rem 1.25rem;
  }
  .hero .hero-heading { order: 0; align-self: auto; }
  .hero .hero-copy { display: contents; }
  .hero .hero-actions { order: 1; gap: .4rem 1rem; }
  .hero .hero-actions .primary { padding: .58rem .9rem; }
  .hero .hero-photo { order: 2; align-self: stretch; }
  .hero .hero-question, .hero .resume-context { order: 3; }
  .hero .resume-note { order: 4; }
  .hero .hero-saving { order: 5; }
  .hero .eyebrow { margin-bottom: .45rem; }
  main .hero h1 { font-size: clamp(2.5rem, 9.8vw, 3.7rem); margin: 0; }
  main .hero .hero-photo { width: auto; margin: 0 .4rem .4rem 0; box-shadow: .4rem .4rem 0 var(--gold); }
  main .hero .hero-photo img { aspect-ratio: 1.86; }
  main .hero .photo-caption { font-size: .76rem; padding: .4rem .05rem .05rem; }
  .hero .hero-question, .hero .resume-context { margin-bottom: .85rem; max-width: 45ch; }
  .hero .hero-saving { margin-top: .6rem; }
  .how-toggle { display: block; }
  .how-toggle .mobile-guide-summary { display: block; }
  .how-toggle .desktop-guide-summary { display: none; }
  .home-guide > .intro-strip { padding: .1rem 0 .4rem; }

  .intro-strip > div { padding: .9rem 0; }
  .intro-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .home-archive-heading { gap: .25rem; }
  footer { align-items: start; gap: .5rem; }
}
@media (max-width: 400px) {
  header nav { gap: 0 .65rem; }
  .reading-symbol { display: none; }
  #settings-button { border: 0; padding-left: 0; }
}
@media (forced-colors: active) {
  .brand-mark { border: 1px solid CanvasText; }
  .hero .hero-photo { border: 1px solid CanvasText; }
}

.home-country-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem 1.25rem;
  padding: .55rem 0;
}
.home-country-picker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem .8rem;
  max-width: 100%;
  font-weight: 600;
}
.home-country-picker select {
  width: auto;
  max-width: 100%;
  min-height: 44px;
  padding: .4rem 2.1rem .4rem .65rem;
  border: 1px solid var(--muted);
  border-radius: 3px;
  background-color: #fffef9;
  color: var(--ink);
  font: inherit;
}
@media (any-pointer: coarse) and (min-width: 721px) {
  .home-country-picker { position: relative; }
  .home-country-picker select { -webkit-appearance: none; appearance: none; }
  .home-country-picker::after {
    content: "";
    position: absolute;
    right: .85rem;
    bottom: calc(50% - .1rem);
    width: .45rem;
    height: .45rem;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    pointer-events: none;
  }
}
.home-country-bar > span { font: .88rem/1.4 var(--mono); color: var(--muted); }
.country-welcome { max-width: 40rem; margin: clamp(1rem, 6vh, 4rem) 0; }
.country-welcome h1 { margin-bottom: 1rem; }
.country-welcome p { max-width: 45ch; }
main > .hero + .home-archive-heading { margin-top: clamp(1.6rem, 3vw, 3rem); }
.home-city-cards .home-city-case {
  display: block;
  margin-top: .4rem;
  font: 500 1rem/1.5 "Avenir Next", "Segoe UI", Arial, sans-serif;
  letter-spacing: normal;
}
@media (max-width: 720px) {
  .home-country-bar { padding-block: .3rem; }
  .home-country-bar > span { display: none; }
  .home-country-bar .home-country-picker { flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); }
  .home-country-picker select { min-width: 0; max-width: 100%; }
}
@media (max-width: 360px) {
  .large-text .hero .eyebrow::before { display: none; }
  main .hero h1 { font-size: clamp(2.1rem, 10.8vw, 2.5rem); }
  header nav { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 4.6rem), 1fr)); gap: .16rem .42rem; }
  header nav a, header nav button { line-height: 1.2; }
  #settings-button { padding-block: .2rem; }
}
@media (min-width: 721px) {
  main > .hero { padding-block: clamp(1.45rem, 4vh, 3rem); }
  main .hero h1 { font-size: clamp(2.8rem, 5.3vw, 5.5rem); }
  .home-city-cards:has(> .card:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-city-cards:has(> .card:only-child) { grid-template-columns: 1fr; }
  .home-city-cards > .card:only-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-content: start;
  }
  .home-city-cards > .card:only-child .card-image {
    grid-row: 1 / span 4;
    min-height: 100%;
    aspect-ratio: auto;
    border-bottom: 0;
  }
  .home-city-cards > .card:only-child .shortlist-button { justify-self: start; }
}
