@font-face {
  font-family: "Work Sans";
  src: url("assets/work-sans.woff") format("woff");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #fbf8f5;
  --paper: #fffcfa;
  --ink: #291b27;
  --muted: #635460;
  --plum: #5b234a;
  --plum-hover: #421736;
  --line: #e8dcdE;
  --rose: #f4e7ee;
  font-family: "Work Sans", system-ui, sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--page);
  overflow-wrap: break-word;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a7417d; outline-offset: 4px; }

.icons, .visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 12px; background: white; }
svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; stroke-width: 1.65; fill: none; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.header { border-bottom: 1px solid var(--line); }
.header-inner, main, .footer { width: min(100% - 3rem, 73rem); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.15rem; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { width: 7.85rem; }
.navigation { display: flex; gap: .3rem; }
.navigation a {
  display: inline-flex; align-items: center; gap: .45rem; padding: .54rem .85rem;
  text-decoration: none; color: var(--muted); font-weight: 550; border-radius: .6rem;
}
.navigation a[href="#plan"] { display: none; }
.navigation a:hover, .navigation [aria-current="page"] { background: var(--rose); color: var(--plum); }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: .55rem; min-height: 2.8rem;
  padding: .68rem 1.05rem; border: 1px solid transparent; border-radius: .55rem;
  text-decoration: none; font-weight: 650; line-height: 1.25; cursor: pointer;
}
.button-primary { background: var(--plum); color: white; }
.button-primary:hover { background: var(--plum-hover); }
.button-light { color: var(--plum); background: #fffaf7; }
.button-light:hover { background: var(--rose); }
.button-outline { color: var(--plum); border-color: #ccafc0; background: var(--paper); }
.button-outline:hover { background: var(--rose); }

main { min-height: 70vh; padding-top: 1.7rem; }
main:focus { outline: none; }
.hero {
  min-height: 28rem; border-radius: 1rem; position: relative; isolation: isolate;
  overflow: hidden; display: flex; align-items: center; padding: 3rem 4.15rem; color: #fff;
  background: #173a38;
}
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-image { object-fit: cover; object-position: center 51%; }
.hero::after { content: ""; background: linear-gradient(90deg, #200f25dd 0%, #21132ab8 23%, #24172e52 56%, #15262608 100%); }
.hero h1 { font-size: clamp(3.4rem, 7vw, 6rem); font-weight: 650; line-height: .99; letter-spacing: -.066em; }
.hero p { margin-top: 1.25rem; max-width: 28rem; font-size: clamp(1rem, 1.55vw, 1.17rem); }
.hero .button { margin-top: 1.5rem; }
.hero-location {
  position: absolute; bottom: 1.3rem; right: 1.45rem; display: flex; align-items: center;
  gap: .35rem; font-weight: 530; font-size: .87rem; padding: .35rem .65rem; border-radius: 2rem;
  background: #1b1528bb;
}
.hero-location svg { width: 1rem; height: 1rem; }

.section { padding-top: 2.35rem; }
.section-heading { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.05rem; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.15rem); font-weight: 650; letter-spacing: -.05em; line-height: 1.13; }
.text-link { display: inline-flex; color: var(--plum); font-weight: 650; text-decoration: underline; text-underline-offset: .25em; }
.text-link:hover { color: #8b3568; }
.trip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.trip-card { overflow: hidden; border-radius: .8rem; border: 1px solid var(--line); background: var(--paper); }
.trip-photo { position: relative; aspect-ratio: 1.67; background: #ebe0df; }
.trip-photo img { width: 100%; height: 100%; object-fit: cover; }
.icon-button {
  display: grid; place-items: center; border: 1px solid #eeeaeb; width: 2.65rem; height: 2.65rem;
  border-radius: 50%; color: var(--plum); background: var(--paper);
}
.icon-button:hover, .icon-button[aria-pressed="true"] { background: #f9e3ee; }
.icon-button[aria-pressed="true"] svg { fill: var(--plum); }
.save-trip { position: absolute; right: .7rem; top: .7rem; }
.trip-copy { padding: .95rem 1rem 1.05rem; }
.place { font-size: .84rem; color: var(--plum); font-weight: 650; }
.trip-copy h3 { font-size: 1.31rem; font-weight: 650; letter-spacing: -.035em; line-height: 1.15; margin: .25rem 0 .45rem; }
.trip-description { color: var(--muted); }
.trip-details-link { background: none; border: none; padding: .55rem 0 .3rem; margin-top: .2rem; }
.offer-strip { display: flex; align-items: center; justify-content: space-between; gap: 1.35rem; margin-top: 2.1rem; background: var(--rose); border-radius: .8rem; padding: 1.5rem; }
.offer-strip h2 { font-size: 1.55rem; margin-bottom: .25rem; }
.offer-strip p { color: var(--muted); }
.offer-links { display: flex; flex-wrap: wrap; gap: .5rem; }

.interior { padding: 1.45rem 0 2.4rem; }
.interior h1 { font-size: clamp(2.15rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -.06em; font-weight: 650; margin-bottom: 1.15rem; }
.explore-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; margin-bottom: 1.25rem; }
.search-label {
  width: min(100%, 25rem); padding: 0 .8rem; align-items: center; display: flex; gap: .55rem;
  border: 1px solid #d8cbd2; border-radius: .55rem; color: var(--plum); background: var(--paper);
}
.search-label:focus-within { outline: 2px solid var(--plum); outline-offset: 2px; }
.search-label input { width: 100%; padding: .7rem .1rem; min-height: 2.8rem; border: 0; background: transparent; color: var(--ink); }
.search-label input:focus { outline: none; }
.filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.filters button { min-height: 2.65rem; background: var(--paper); color: var(--plum); border: 1px solid #d8cbd2; border-radius: 2rem; padding: .4rem .85rem; }
.filters button:hover { background: var(--rose); }
.filters button[aria-pressed="true"] { color: white; background: var(--plum); border-color: var(--plum); }
.empty { border: 1px solid var(--line); border-radius: .8rem; padding: 2.35rem 1rem; text-align: center; background: var(--paper); }
.empty svg { width: 2rem; height: 2rem; color: var(--plum); margin-bottom: .65rem; }
.empty p { margin: .5rem 0 1.05rem; color: var(--muted); }
.plan-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 2rem; }
.intro { color: var(--muted); font-size: 1.12rem; max-width: 28rem; }
.form-card { display: grid; gap: 1.05rem; background: var(--paper); border: 1px solid var(--line); border-radius: .8rem; padding: 1.55rem; }
.form-card label { display: block; font-weight: 620; min-width: 0; }
.form-card input, .form-card textarea {
  width: 100%; min-width: 0; min-height: 2.9rem; margin-top: .35rem; padding: .65rem .72rem; font-weight: 400;
  color: var(--ink); border: 1px solid #d8cbd2; background: white; border-radius: .5rem;
}
textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.optional { font-size: .85rem; color: var(--muted); font-weight: 400; }
.form-card .button { justify-self: start; }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; padding: 1.15rem 0 1.5rem; border-top: 1px solid var(--line); margin-top: 2rem; color: var(--plum); font-size: .95rem; }
.footer a { text-underline-offset: .22em; }

dialog { border: 1px solid var(--line); border-radius: 1rem; width: min(calc(100% - 2rem), 33rem); padding: 0; overflow: auto; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #281623af; }
.close-details { position: absolute; top: .75rem; right: .75rem; }
.detail-image { width: 100%; aspect-ratio: 2; object-fit: cover; background: var(--rose); }
.detail-content { padding: 1.25rem 1.5rem 1.5rem; }
.detail-content h2 { margin: .2rem 0 .65rem; }
.detail-content .button { margin-top: 1rem; }

@media (max-width: 700px) {
  .header-inner, main, .footer { width: calc(100% - 2rem); }
  .header-inner { min-height: 4.25rem; }
  .brand img { width: 6.6rem; }
  .header-action { display: none; }
  .navigation {
    position: fixed; z-index: 2; left: 0; right: 0; bottom: 0; display: grid;
    grid-template-columns: repeat(4, 1fr); gap: .15rem; padding: .4rem .55rem calc(.4rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: var(--paper);
  }
  .navigation a, .navigation a[href="#plan"] {
    display: flex; flex-direction: column; justify-content: center; gap: .2rem; text-align: center;
    padding: .35rem .15rem; min-height: 3rem; font-size: .78rem;
  }
  body { padding-bottom: calc(4.2rem + env(safe-area-inset-bottom)); }
  main { padding-top: .95rem; }
  .hero { min-height: 23rem; padding: 1.4rem 1.35rem 2.3rem; }
  .hero::after { background: linear-gradient(90deg, #200f25e0, #21132a70 70%, #21132a35); }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 4.8rem); }
  .hero p { max-width: 18rem; margin-top: .95rem; }
  .hero-location { bottom: .66rem; right: .68rem; font-size: .75rem; }
  .section { padding-top: 1.65rem; }
  .trip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .offer-strip { align-items: start; flex-direction: column; padding: 1.2rem; }
  .plan-layout { grid-template-columns: 1fr; gap: 1.15rem; }
  .interior { padding: 1rem 0 1.5rem; }
}

@media (max-width: 460px) {
  .trip-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1rem; }
  .form-row { grid-template-columns: 1fr; }
}
