:root {
  color-scheme: light;
  --brand: #176951;
  --ink: #153039;
  --muted: #5a6d72;
  --line: #d8e2df;
  --blue: #277f9f;
  font-family: Inter, Aptos, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  letter-spacing: 0;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: var(--brand); text-underline-offset: 4px; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
button, a, input, select, textarea, summary { outline-offset: 5px; }
:focus-visible { outline: 3px solid #277f9f; }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; text-wrap: balance; }
.project-header { min-height: 68px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px max(24px, calc((100% - 1240px) / 2)); }
.project-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 750; text-decoration: none; color: var(--ink); }
.project-brand img { width: 29px; height: 29px; }
.project-header nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.project-header nav a { color: var(--muted); text-decoration: none; }
.eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; line-height: 1.5; color: var(--brand); }
.project-intro { max-width: 1240px; margin: auto; padding: 46px 0 30px; }
.project-intro h1 { font-size: 44px; margin: 8px 0 14px; }
.project-intro p:last-child { color: var(--muted); line-height: 1.6; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1240px; margin: 0 auto 60px; }
.study-link { text-decoration: none; color: var(--ink); display: block; min-width: 0; }
.study-link img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 5px; transition: filter .2s; }
.study-link:hover img { filter: brightness(1.045); }
.study-mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 3 / 2; border-radius: 5px; overflow: hidden; }
.study-mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
.study-mosaic img:first-child { object-position: center 63%; }
.study-mosaic img:last-child { object-position: 80% center; }
.study-link .eyebrow { margin-top: 22px; display: flex; align-items: center; gap: 8px; }
.study-link h2 { font-size: 30px; margin: 8px 0 12px; }
.study-link .link-command { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 700; }
.study-link .link-command svg { width: 18px; height: 18px; }
.project-footer { max-width: 1240px; margin: auto; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.7; }
.project-footer summary { cursor: pointer; font-weight: 600; }
.project-footer details p { max-width: 840px; margin: 12px 0 0; }
.project-footer > p { margin-top: 16px; }
.project-footer .footer-line { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.study-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1240px; margin: auto; padding: 17px 0; }
.study-kicker a { text-decoration: none; }
.study-kicker span { color: var(--muted); font-size: 12px; }
.cheetah-opening { margin-bottom: 40px; }
.trip-opening { max-width: 1240px; margin: 0 auto; padding-top: 20px; }
.trip-heading { margin-bottom: 30px; }
.trip-heading h1 { font-size: 44px; line-height: 1.15; }
.trip-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trip-choice { min-width: 0; border: 0; background: transparent; padding: 0; text-align: left; color: var(--ink); display: flex; flex-direction: column; }
.trip-choice img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 5px; transition: filter .2s; }
.trip-choice[value="roadtrip"] img { object-position: 82% center; }
.trip-choice:hover img { filter: brightness(1.055); }
.trip-choice:hover > span { color: var(--brand); }
.trip-choice > span { display: block; font-size: 21px; font-weight: 650; line-height: 1.3; padding: 17px 0; min-height: 91px; }
.trip-choice small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 8px; }
.trip-alternatives { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 8px; }
.trip-duration { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.trip-duration label { font-weight: 650; }
.trip-duration select { min-height: 44px; border: 1px solid var(--line); border-radius: 4px; padding: 10px 14px; color: var(--ink); background: white; max-width: 100%; }
.opening-image { width: 100%; height: min(49vh, 490px); min-height: 290px; display: block; object-fit: cover; object-position: center 66%; }
.opening-choice { display: flex; align-items: center; justify-content: space-between; max-width: 1240px; gap: 50px; margin: auto; padding: 30px 0; }
.opening-choice h1 { font-size: 44px; line-height: 1.1; max-width: 680px; }
.binary-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 320px; }
.command { min-height: 50px; padding: 12px 23px; border: 1px solid var(--brand); background: var(--brand); color: #fff; border-radius: 5px; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; }
.command:hover { background: #0c4838; }
.command.secondary { background: white; color: var(--brand); }
.command.secondary:hover { background: #edf5f1; }
.text-command { background: none; border: 0; padding: 12px 0; min-height: 44px; color: var(--muted); text-decoration: underline; text-underline-offset: 5px; }
.flow-stage { max-width: 1240px; margin: 0 auto; padding: 35px 0 44px; min-height: 620px; }
.stage-heading { margin-bottom: 30px; }
.stage-heading h1 { font-size: 40px; line-height: 1.15; }
.stage-heading p { font-size: 15px; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.photo-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border: 0; padding: 0; margin: 0; }
.destination-choices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photo-choice { position: relative; min-width: 0; text-align: left; padding: 0; background: white; border: 2px solid var(--line); border-radius: 6px; overflow: hidden; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; }
.photo-choice > img, .photo-choice .stay-pair { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.photo-choice > span:last-child { padding: 16px 18px; font-size: 18px; font-weight: 650; display: block; }
.photo-choice small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 7px; line-height: 1.5; }
.photo-choice:hover { border-color: var(--brand); }
.photo-choice:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.photo-choice input { position: absolute; top: 14px; right: 14px; width: 23px; height: 23px; accent-color: var(--brand); margin: 0; }
.photo-choice:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; }
.stay-pair { display: grid !important; grid-template-columns: 1fr 1fr; gap: 3px; overflow: hidden; }
.stay-pair img { width: 100%; height: 100%; min-width: 0; object-fit: cover; }
.stay-pair img:first-child { object-position: 80% center; }
.stage-actions { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.stage-actions .finish { margin-left: auto; }
.night-allocation { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 26px; max-width: 680px; }
.night-allocation > label { font-weight: 650; display: block; margin-bottom: 14px; }
.night-allocation input { width: 100%; accent-color: var(--brand); min-height: 40px; }
.night-totals { display: flex; justify-content: space-between; gap: 18px; font-size: 15px; }
.night-totals strong { font-size: 23px; font-variant-numeric: tabular-nums; }
.night-strip { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 4px; margin: 18px 0 8px; }
.night-strip span { height: 32px; background: var(--brand); border-radius: 3px; }
.night-strip span.hotel { background: var(--blue); }
.hotel-label { color: var(--blue); }
.camper-details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.camper-details fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.camper-details legend { font-weight: 650; margin-bottom: 12px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented label { border: 1px solid var(--line); padding: 13px 10px; border-radius: 4px; display: flex; gap: 8px; align-items: center; font-size: 14px; cursor: pointer; }
.segmented label:has(input:checked) { border-color: var(--brand); background: #edf5f1; }
input[type=radio] { accent-color: var(--brand); flex-shrink: 0; }
.range-preference { grid-column: 1 / -1; max-width: 510px; }
.range-preference label { display: block; font-weight: 650; margin-bottom: 12px; }
.range-preference select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--ink); }
.range-preference p { font-size: 13px; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.no-preference { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin-top: 16px; }
.short-stage { max-width: 650px; padding: 100px 0 70px; }
.short-stage textarea { width: 100%; min-height: 130px; resize: vertical; padding: 16px; border: 1px solid var(--line); border-radius: 5px; margin-top: 14px; }
.complete-mark { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; color: var(--brand); background: #eaf4ee; border-radius: 50%; margin-bottom: 22px; }
.complete-mark svg { width: 25px; height: 25px; }
.complete-summary { font-size: 16px; color: var(--muted); line-height: 1.7; margin: 20px 0 30px; }
.error-banner { max-width: 1240px; margin: 12px auto; padding: 14px 18px; background: #fff0ed; color: #96341f; border-left: 3px solid #bc533b; }
.error-banner p { display: inline; }
.error-banner a { margin-left: 12px; color: inherit; }
.bot-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 1300px) {
  .trip-opening { margin-left: 32px; margin-right: 32px; }
  .project-intro, .project-grid, .project-footer, .study-kicker, .opening-choice, .flow-stage, .error-banner { margin-left: 32px; margin-right: 32px; }
  .short-stage { margin-left: auto; margin-right: auto; }
}
@media (max-width: 800px) {
  .trip-opening { margin-left: 20px; margin-right: 20px; padding-top: 15px; }
  .trip-heading h1 { font-size: 36px; }
  .trip-choices { grid-template-columns: 1fr 1fr; gap: 14px; }
  .destination-choices { grid-template-columns: 1fr 1fr; }
  .project-header { padding: 15px 20px; min-height: 62px; }
  .project-header nav { gap: 16px; }
  .project-intro, .project-grid, .project-footer, .study-kicker, .opening-choice, .flow-stage, .error-banner { margin-left: 20px; margin-right: 20px; }
  .project-intro { padding-top: 30px; }
  .project-intro h1 { font-size: 34px; }
  .project-grid { gap: 22px; }
  .study-link h2 { font-size: 26px; }
  .opening-image { min-height: 240px; height: 350px; object-position: center; }
  .opening-choice { flex-direction: column; align-items: stretch; gap: 24px; padding: 26px 0; }
  .opening-choice h1 { font-size: 36px; max-width: 520px; }
  .binary-choice { min-width: 0; max-width: 450px; }
  .flow-stage { padding-top: 25px; min-height: 580px; }
  .stage-heading h1 { font-size: 34px; }
  .photo-choices { gap: 12px; }
  .photo-choice > span:last-child { padding: 12px; font-size: 16px; }
  .short-stage { padding-top: 80px; }
}
@media (max-width: 540px) {
  .trip-opening { margin-left: 16px; margin-right: 16px; padding-top: 12px; }
  .trip-heading { margin-bottom: 24px; }
  .trip-heading h1 { font-size: 34px; }
  .trip-choices { gap: 10px 14px; }
  .trip-choice > span { font-size: 16px; padding: 12px 0; min-height: 82px; }
  .trip-choice small { font-size: 12px; margin-top: 6px; }
  .trip-alternatives { margin-top: 0; }
  .trip-duration { display: grid; gap: 10px; }
  .study-mosaic { aspect-ratio: 16 / 10; }
  .project-intro, .project-grid, .project-footer, .study-kicker, .opening-choice, .flow-stage, .error-banner { margin-left: 16px; margin-right: 16px; }
  .project-header { padding: 12px 16px; }
  .project-header nav { font-size: 12px; gap: 13px; }
  .project-brand { font-size: 15px; gap: 6px; }
  .project-grid { grid-template-columns: 1fr; gap: 35px; margin-bottom: 38px; }
  .project-intro h1 { font-size: 32px; }
  .study-link img { aspect-ratio: 16 / 10; }
  .study-link .eyebrow { margin-top: 16px; }
  .study-link h2 { font-size: 28px; }
  .study-kicker { padding: 14px 0; }
  .study-kicker span { font-size: 11px; }
  .opening-image { height: auto; min-height: 0; aspect-ratio: 3 / 2; object-fit: contain; }
  .opening-choice h1 { font-size: 34px; }
  .cheetah-opening { margin-bottom: 15px; }
  .stage-heading h1 { font-size: 32px; }
  .stage-heading { margin-bottom: 24px; }
  .photo-choices { grid-template-columns: 1fr; gap: 14px; }
  .photo-choice { display: grid; grid-template-columns: 43% 1fr; min-height: 130px; }
  .photo-choice > img, .photo-choice .stay-pair { height: 100%; min-height: 130px; aspect-ratio: auto; }
  .photo-choice > span:last-child { align-self: center; padding: 16px 28px 16px 14px; }
  .photo-choice input { top: 10px; right: 8px; width: 18px; height: 18px; }
  #camperForm .photo-choice > img { object-fit: contain; background: #f0f5f2; }
  .camper-details { grid-template-columns: 1fr; gap: 26px; }
  .stage-actions { gap: 10px; }
  .short-stage { padding-top: 60px; min-height: 510px; }
  .night-totals { font-size: 13px; }
  .night-strip { gap: 3px; }
  .night-strip span { height: 26px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
