/* Sun & Summit Destinations — cream brand band with the compass banner; teal ink, gold accents. */
:root {
  --bg: #f5f6ec;
  --surface: #fffffa;
  --ink: #173b40;
  --muted: #5b7275;
  --line: #dde2d2;
  --band: #fbfcee;
  --band-ink: #1c4d52;
  --teal: #1c4d52;
  --on-teal: #ffffff;
  --gold: #a07a32;
  --sand: #f3e8cc;
  --sand-ink: #6b5222;
  --ok: #2b7a4f;
  --warn: #a5482a;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f2427; --surface: #163236; --ink: #eef1e6; --muted: #9db3b3; --line: #264549;
    --teal: #8cc5c6; --on-teal: #0f2427; --gold: #d9b36b; --sand: #3a3220; --sand-ink: #ecd6a4;
    --ok: #6fcf9b; --warn: #f08f6c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f2427; --surface: #163236; --ink: #eef1e6; --muted: #9db3b3; --line: #264549;
  --teal: #8cc5c6; --on-teal: #0f2427; --gold: #d9b36b; --sand: #3a3220; --sand-ink: #ecd6a4;
  --ok: #6fcf9b; --warn: #f08f6c; color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--teal) 55%, transparent); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.test-banner { background: var(--sand); color: var(--sand-ink); font-size: 14px; font-weight: 600; text-align: center; padding: 8px max(16px, env(safe-area-inset-left, 0px)); }

/* Brand band — stays cream in both themes so the banner artwork sits on its own paper */
.mast { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.mast .wrap { padding-block: 18px 64px; display: grid; gap: 22px; position: relative; z-index: 1; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--band-ink); text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; }
.nav-links a { color: var(--band-ink); text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; }
.nav-links a:hover { opacity: 1; text-decoration: underline; }
.banner { width: 100%; max-width: 640px; height: auto; }
.mast h1 { font-size: clamp(30px, 5vw, 48px); font-weight: 700; letter-spacing: -.025em; max-width: 18ch; }
.mast .lede { max-width: 58ch; font-size: 18px; color: #3d5c60; }
.mast .cta { display: flex; flex-wrap: wrap; gap: 10px; }
.perks { display: flex; flex-wrap: wrap; gap: 10px; }
.perk { border: 1px solid rgba(28, 77, 82, .3); background: #fffffa; color: #1c4d52; border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.waves { position: absolute; inset: auto 0 0 0; height: 46px; z-index: 0; width: 100%; }
.waves path { fill: var(--bg); }

main .wrap { padding-block: 44px 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 60px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 34px); letter-spacing: -.02em; }
.section-head p { color: var(--muted); max-width: 50ch; }

.btn { font: 600 15px var(--body); border-radius: 10px; padding: 11px 18px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn:hover { border-color: var(--teal); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.mast .btn.primary { background: #1c4d52; border-color: #1c4d52; color: #fff; }
.mast .btn { background: #fffffa; color: #1c4d52; border-color: rgba(28, 77, 82, .3); }
.btn.primary:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .55; cursor: default; }
.btn.small { padding: 7px 12px; font-size: 14px; }

/* Destinations */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 14px var(--body); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 18px; }
.dest { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: 150px 1fr; }
.dest .art { position: relative; overflow: hidden; }
.dest .art img, .dest .art canvas, .idea .thumb img, .idea .thumb canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dest .body { padding: 14px 16px 16px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.dest h3 { font-size: 18px; }
.dest p { color: var(--muted); font-size: 14px; }
.dest .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.kind { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.guide-link { font-size: 14px; font-weight: 600; color: var(--teal); text-decoration: none; }
.guide-link:hover { text-decoration: underline; }

/* Request form */
.desk { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
form.request { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 16px; min-width: 0; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
legend { font-family: var(--display); font-weight: 700; font-size: 18px; padding: 0; margin-bottom: 4px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 14px; }
.field .hint { font-size: 13px; color: var(--muted); }
input, select, textarea { min-width: 0; font: 16px var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; }
textarea { min-height: 90px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-size: 15px; border-radius: 10px; padding: 10px 12px; }
.msg.error { background: color-mix(in srgb, var(--warn) 12%, transparent); color: var(--warn); }
.msg.success { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); }
aside.side { display: grid; gap: 16px; min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 12px; min-width: 0; }
.panel h3 { font-size: 19px; }
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; counter-increment: step; }
.steps li::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; background: var(--sand); color: var(--sand-ink); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.contact-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.contact-line code { font: 14px var(--body); user-select: all; overflow-wrap: anywhere; }

/* Get Inspired */
.ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.idea { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); text-decoration: none; }
.idea:hover { border-color: var(--gold); }
.idea:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); }
.idea .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.idea .txt { padding: 12px 14px 14px; display: grid; gap: 6px; align-content: start; }
.idea h3 { font-size: 16px; line-height: 1.25; }
.idea .tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.idea .more { color: var(--teal); font-size: 13px; font-weight: 600; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.about p { max-width: 60ch; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 12px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin-top: 8px; color: var(--muted); }

footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 24px; color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px) { .desk, .about { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row, .row3 { grid-template-columns: 1fr; } .nav-links { display: none; } form.request { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Price estimate on the request form */
.estimate { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--sand); color: var(--sand-ink); font-size: 15px; line-height: 1.45; }
.estimate strong { font-size: 18px; }
.estimate.warn { background: rgba(200, 40, 30, .1); color: inherit; border: 1px solid rgba(200, 40, 30, .35); }

/* Resort finder */
.finder { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; margin-bottom: 14px; }
.dest-count { margin-top: 14px; font-size: 14px; color: var(--muted); }
.dest-grid { margin-top: 10px; }
.dest-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dest-tags span { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--sand); color: var(--sand-ink); }
.dest-more { display: flex; justify-content: center; margin-top: 18px; }
@media (max-width: 560px) {
  .finder { grid-template-columns: 1fr; }
  #destinations > * { min-width: 0; }
  #destinations .chips { flex-wrap: nowrap; overflow-x: auto; max-width: calc(100% + 32px); padding-bottom: 4px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  #destinations .chips .chip { flex: none; }
}
.field select, .field input { min-width: 0; max-width: 100%; }
.dest .art { display: block; }
.dest-name { color: inherit; text-decoration: none; }
.dest-name:hover { text-decoration: underline; }
