:root {
  --bg: #f8f4ec;
  --card: #fffdf8;
  --ink: #1c2a2d;
  --soft: #55666a;
  --line: #e4dccd;
  --sea: #0c6a63;
  --sea-soft: #e2f0ec;
  --sun: #965a0d;
  --sun-soft: #fbefd9;
  --radius: 18px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101a1c;
    --card: #172327;
    --ink: #e9efed;
    --soft: #a3b3b2;
    --line: #2a3a3e;
    --sea: #6fd0c2;
    --sea-soft: #173a37;
    --sun: #f0b45e;
    --sun-soft: #3a2c16;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--sans);
}
img { max-width: 100%; display: block; }
a { color: var(--sea); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }

/* hero */
.hero { position: relative; min-height: 64svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 20, 22, 0) 30%, rgba(5, 20, 22, .78) 100%);
}
.hero-text { position: relative; z-index: 1; color: #fff; padding: 28px 22px 34px; max-width: 760px; width: 100%; margin: 0 auto; }
.eyebrow { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 6px; opacity: .92; }
.hero h1 { font-size: clamp(64px, 18vw, 120px); letter-spacing: -.01em; }
.lede { font-size: 19px; margin: 8px 0 0; max-width: 34em; }

main { max-width: 760px; margin: 0 auto; padding: 8px 18px 40px; }
section { padding: 34px 0 6px; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }
.sec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
h2 { font-size: 38px; }
.intro { color: var(--soft); margin: 0 0 18px; }
.small { color: var(--soft); font-size: 15px; }
.date { color: var(--sun); font-size: 14px; font-weight: 600; letter-spacing: .02em; margin: 0 0 2px; }

/* copy buttons: hidden without JavaScript */
.copy {
  display: none; flex: none;
  font: 600 14px/1 var(--sans); color: var(--sea);
  background: var(--sea-soft); border: 0; border-radius: 999px;
  min-height: 44px; padding: 0 16px; cursor: pointer;
}
.js .copy { display: inline-flex; align-items: center; }
.copy.done { background: var(--sea); color: var(--bg); }
.copy:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

/* route */
.route { list-style: none; margin: 0 0 22px; padding: 0; position: relative; }
.route::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.route li { position: relative; padding: 0 0 14px 30px; display: grid; gap: 2px; }
.route li::before {
  content: ""; position: absolute; left: 1px; top: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--sea);
}
.route li.stay::before { background: var(--sea); }
.route li.stay { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px 12px 30px; margin: 0 0 14px; }
.route li.stay::before { left: 1px; top: 16px; }
.r-when { font-size: 14px; color: var(--sun); font-weight: 600; }
.route li.stay .r-when { color: var(--sea); }
.r-what b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.15; }
.route li.fly .r-what b { font-family: var(--sans); font-weight: 600; font-size: 17px; }
.r-what { color: var(--soft); }
.route li .r-what b { color: var(--ink); }

.whys { display: grid; gap: 12px; margin-bottom: 26px; }
.why { background: var(--sun-soft); border-radius: var(--radius); padding: 16px 18px; }
.why h3 { font-size: 24px; margin-bottom: 4px; }
.why p { margin: 0; }

/* days */
.city { font-size: 30px; margin: 22px 0 12px; color: var(--sea); }
.days { display: grid; gap: 14px; align-items: start; }
.day { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.day .ph { width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; }
.day-body { padding: 14px 16px 10px; }
.day-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.day h4 { font-size: 26px; }
.slot { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.when { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); padding-top: 3px; }

/* travel */
.leg { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; }
.leg h3 { font-size: 26px; margin-bottom: 2px; }
.leg p { margin: 8px 0; }
details { margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; color: var(--sea); min-height: 44px; display: flex; align-items: center; gap: 8px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "▸"; transition: transform .15s ease; }
details[open] > summary::before { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { summary::before { transition: none; } }
.flights { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.flights li { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.flights li.pick { border-color: var(--sea); background: var(--sea-soft); }
.fl-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.fl-mid { color: var(--soft); font-size: 15px; }
.fl-price { margin-top: 2px; }
.note { display: block; color: var(--soft); font-size: 14px; }
.tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--bg); background: var(--sea); border-radius: 999px; padding: 4px 9px; }

/* hotels */
.hotel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.hotel-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hotel h3 { font-size: 30px; }
.meta { margin: 2px 0 0; color: var(--soft); }
.score { display: flex; align-items: center; gap: 8px; flex: none; }
.score b { font-size: 22px; background: var(--sea); color: var(--bg); border-radius: 12px 12px 12px 3px; padding: 6px 9px; }
.score span { font-size: 12px; color: var(--soft); line-height: 1.25; }
.sub { margin: 14px 0 4px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--soft); }
.rooms { list-style: none; padding: 0; margin: 0; }
.rooms li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.rooms b { font-size: 19px; }
.stay { margin: 10px 0; }
.good { margin: 8px 0; padding-left: 20px; }
.good li { margin: 3px 0; }
.catch { background: var(--sun-soft); border-radius: 12px; padding: 10px 12px; }
.ext { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* costs */
.costs { list-style: none; padding: 0; margin: 0; }
.costs li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.costs li span { display: block; color: var(--soft); font-size: 14px; }
.amt { text-align: right; flex: none; font-size: 15px; color: var(--soft); }
.amt b { color: var(--ink); font-size: 18px; }
.total { display: grid; gap: 2px; background: var(--sea-soft); border-radius: var(--radius); padding: 16px 18px; margin: 16px 0 8px; }
.total b { font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--ink); }
.total span { color: var(--soft); }

.plain, .check { padding-left: 20px; }
.plain li, .check li { margin: 8px 0; }

footer { max-width: 760px; margin: 0 auto; padding: 10px 18px 50px; color: var(--soft); font-size: 14px; }
footer ul { padding-left: 18px; }
footer li { overflow-wrap: anywhere; }

@media (min-width: 720px) {
  .whys { grid-template-columns: repeat(3, 1fr); }
  .days { grid-template-columns: 1fr 1fr; }
  .day .ph { aspect-ratio: 16 / 8; }
}
textarea.manual { width: 100%; font: 15px/1.45 var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--sea); border-radius: 12px; padding: 10px; margin: 0 0 12px; }
