:root {
  color-scheme: light;
  --ink: #111820;
  --ink-soft: #26323a;
  --muted: #657078;
  --paper: #fff;
  --mist: #f1f3f3;
  --line: #d9dfe0;
  --accent: #9cff16;
  --accent-dark: #6aa900;
  --field-border: #7c898e;
  --field-chevron: #4c6068;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 1.15rem;
  --motion-fast: 130ms;
  --ease-out: cubic-bezier(.32,.72,0,1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.55; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 20; top: .75rem; left: .75rem; transform: translateY(-160%); background: var(--paper); color: var(--ink); padding: .7rem 1rem; border-radius: .4rem; }
.skip-link:focus { transform: none; }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; background: rgba(11,17,22,.62); color: #fff; border-bottom: 1px solid rgba(255,255,255,.16); }
.header-inner { min-height: 5.25rem; max-width: 1280px; margin: auto; padding: 0 clamp(1.25rem, 5vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { text-decoration: none; display: inline-flex; align-items: baseline; gap: .65rem; white-space: nowrap; }
.brand-mark { color: var(--accent); font-size: 1.72rem; font-weight: 700; letter-spacing: -.08em; line-height: 1; }
.brand-name { font-size: .88rem; font-weight: 600; letter-spacing: .18em; }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.5rem); }
.primary-nav a { color: #f4f6f5; font-size: .95rem; text-decoration: none; transition: color var(--motion-fast) ease; }
.primary-nav a:hover { color: var(--accent); }
.primary-nav .nav-cta { border: 1px solid rgba(156,255,22,.72); border-radius: 999px; padding: .7rem 1.1rem; color: var(--accent); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(39rem, 100svh);
  color: white;
  background: #182127;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9,15,20,.80), rgba(9,15,20,.52) 34%, transparent 73%),
    linear-gradient(0deg, rgba(9,15,20,.72), transparent 34%);
}
.hero-content { width: min(100%, 1280px); min-height: max(39rem, min(100svh, 57.5rem)); margin: auto; padding: 5.25rem clamp(1.25rem, 5vw, 4rem) clamp(1.75rem, 5vh, 3.25rem); display: grid; grid-template-rows: 1fr auto; }
.hero-copy { align-self: center; padding-block: 2rem; }
.hero-flags { display: flex; align-items: center; gap: .65rem; margin-bottom: .95rem; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-size: 1.7rem; line-height: 1.15; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 6.4vw, 6rem); line-height: .98; letter-spacing: -.05em; }
.hero h1 span { display: block; margin-top: .38em; font-size: .49em; letter-spacing: -.025em; }
.hero-copy p { max-width: 30rem; margin: 1.2rem 0 0; color: #f7f8f7; font-size: clamp(1rem, 1.45vw, 1.17rem); }
.button { min-height: 3.35rem; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: .85rem 1.5rem; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: background-color var(--motion-fast) ease, color var(--motion-fast) ease, transform var(--motion-fast) var(--ease-out); }
.button:active { transform: scale(.97); }
.button-primary { color: #10170b; background: var(--accent); }
.button-primary:hover { background: #b3ff55; }

.search-card {
  --ink: #f7fafb;
  --ink-soft: #ecf3f5;
  --field-border: rgb(219 233 240 / 52%);
  --field-chevron: #d8e5e9;
  color-scheme: dark;
  padding: clamp(1rem, 2.2vw, 1.6rem);
  border: 1px solid rgb(245 251 255 / 42%);
  border-radius: clamp(1.1rem, 2vw, 1.5rem);
  background: #202a31;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 .9rem 2.75rem rgb(7 13 17 / 32%);
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .search-card {
    background: linear-gradient(145deg, rgb(240 248 255 / 12%), transparent 62%), rgb(10 16 20 / 64%);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
  }
}

@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
  .search-card {
    background: #202a31;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.search-card h2 { margin: 0 0 .95rem; font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 1.85rem); line-height: 1.1; letter-spacing: -.025em; }
.search-fields { display: grid; grid-template-columns: minmax(21rem, 1fr) minmax(0, 1fr) auto; gap: .75rem; align-items: start; }
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.field label, .field-label { color: var(--ink-soft); font-size: .84rem; font-weight: 650; }
.location-group { min-width: 0; -webkit-user-select: none; user-select: none; }
.period-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.search-fields select, .period-trigger { width: 100%; min-width: 0; min-height: 3rem; border: 1px solid var(--field-border); border-radius: .65rem; padding: .6rem .65rem; background: rgb(7 12 16 / 40%); color: var(--ink); font-size: 1rem; }
.search-fields select {
  appearance: none;
  padding-right: 25px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--field-chevron) 50%),
    linear-gradient(135deg, var(--field-chevron) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 9px) center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.period-trigger { display: flex; align-items: center; justify-content: space-between; gap: .35rem; text-align: start; line-height: 1.22; font-variant-numeric: tabular-nums; cursor: pointer; color: #dce7eb; }
.period-trigger[data-filled] { color: var(--ink); font-weight: 650; }
.period-trigger span:first-child { min-width: 0; overflow-wrap: anywhere; }
.calendar-icon { flex: 0 0 .88rem; block-size: .83rem; position: relative; border: 1.5px solid var(--field-chevron); border-radius: 3px; }
.calendar-icon::before { content: ""; position: absolute; inset: .2rem 0 auto; border-top: 1.5px solid var(--field-chevron); }
.different-location { display: flex; align-items: center; gap: .5rem; min-height: 2.75rem; width: max-content; max-width: 100%; color: var(--ink-soft); font-size: .85rem; cursor: pointer; }
.different-location input { inline-size: 1rem; block-size: 1rem; flex: none; margin: 0; accent-color: var(--ink-soft); }
.search-fields :is(input, select, button):focus-visible, .period-dialog :focus-visible { outline: 2px solid var(--ink-soft); outline-offset: -2px; }
.submit-button { min-height: 3rem; margin-top: 1.6rem; padding: .65rem 1.15rem; white-space: nowrap; }
.search-fields .submit-button:focus-visible { outline-color: #10170b; }

body:has(.period-dialog[open]) { overflow: hidden; }
.period-dialog {
  position: fixed;
  inset: var(--dialog-top, 1rem) auto auto var(--dialog-left, 1rem);
  width: min(42rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100dvh - 1.5rem);
  margin: 0;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #d9dfe0;
  border-radius: 1.1rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1rem 3.25rem #11182035;
}
.period-dialog::backdrop { background: #11182029; }
.period-dialog-content { display: grid; }
.period-header { padding: .95rem 1.1rem 0; }
.period-header h2 { font-family: var(--sans); font-size: 1.15rem; font-weight: 750; line-height: 1.25; letter-spacing: -.02em; margin-bottom: .7rem; }
.period-guidance { margin: .45rem 0 0; color: #3e545c; font-size: .8rem; line-height: 1.35; }
.period-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.period-choice { position: relative; display: grid; grid-template-columns: minmax(0, max-content) max-content max-content; align-items: end; column-gap: .15rem; min-width: 0; padding: .25rem .5rem; border: 1px solid var(--line); border-radius: .75rem; background: #f8faf9; }
.period-choice:has(.period-date[aria-pressed="true"]) { border-color: var(--ink-soft); background: #eef2f2; }
.period-date { display: grid; align-content: end; gap: .12rem; min-width: 0; min-height: 2.75rem; padding: .3rem 0; border: 0; border-radius: .35rem; background: transparent; color: var(--ink); font-size: .87rem; font-weight: 700; line-height: 1.25; text-align: start; cursor: pointer; }
.period-date span, .period-dot, .time-trigger { color: #3e545c; font-size: .8rem; font-weight: 600; line-height: 1.3; }
.period-dot { padding-bottom: .3rem; }
.time-trigger { display: flex; align-items: end; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: .3rem 0; border: 0; border-radius: .45rem; background: transparent; font-variant-numeric: tabular-nums; cursor: pointer; }
.time-trigger span { padding: .12rem .35rem; margin-block-end: -.12rem; border-radius: .4rem; background: #e7ecee; }
.time-trigger[aria-expanded="true"] span { background: #d7e4e6; color: #233b44; }
.time-popover {
  --time-row: 2.75rem;
  position: absolute;
  z-index: 2;
  top: calc(100% + .5rem);
  left: .25rem;
  width: min(9.25rem, calc(100% - .5rem));
  padding: .25rem;
  border: 1px solid #d7e1e3;
  border-radius: .9rem;
  background: #f8fbfa;
  box-shadow: 0 .65rem 1.7rem #11182029, 0 .1rem .25rem #11182012;
}
.time-popover::before {
  content: "";
  position: absolute;
  top: -.34rem;
  left: var(--time-pointer, 50%);
  width: .6rem;
  height: .6rem;
  transform: translateX(-50%) rotate(45deg);
  border-top: 1px solid #d7e1e3;
  border-left: 1px solid #d7e1e3;
  border-top-left-radius: .14rem;
  background: #f8fbfa;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .time-popover {
    background: rgb(248 251 250 / 94%);
    -webkit-backdrop-filter: blur(16px) saturate(1.12);
    backdrop-filter: blur(16px) saturate(1.12);
  }
}
@media (prefers-reduced-transparency: reduce), (forced-colors: active) {
  .time-popover { background: #f8fbfa; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.period-time-menu { position: relative; max-height: calc(5 * var(--time-row)); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #a9b7bd transparent; scroll-snap-type: y proximity; border-radius: .62rem; }
.period-dialog .period-time-menu:focus-visible { outline: none; }
.time-option { display: flex; align-items: center; justify-content: space-between; min-height: var(--time-row); padding: .25rem .57rem; border-radius: .55rem; font-size: .9rem; font-variant-numeric: tabular-nums; scroll-snap-align: start; cursor: pointer; }
.time-option[aria-selected="true"] { background: #e1ece5; color: #1f3a32; font-weight: 750; }
.time-option[aria-selected="true"]::after { content: "✓"; color: #376052; }
.period-time-menu[data-keyboard] .time-option[data-active] { outline: 2px solid #526d75; outline-offset: -2px; }
@media (max-height: 600px) {
  .period-time-menu { max-height: calc(3 * var(--time-row)); }
}
.period-body { padding: .65rem 1.1rem .6rem; }
.calendar-panel { position: relative; }
.calendar-nav { display: flex; justify-content: space-between; position: absolute; inset: 0 0 auto; pointer-events: none; }
.calendar-nav button { width: 2.75rem; height: 2.75rem; border: 0; border-radius: .5rem; padding: 0; color: var(--ink); background: transparent; font-size: 1.65rem; line-height: 1; cursor: pointer; pointer-events: auto; }
.calendar-nav button:disabled { color: #a6abad; cursor: default; }
#calendar-month-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.calendar-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.calendar-month h3 { margin: 0 2.75rem; min-height: 2.75rem; display: grid; place-items: center; text-align: center; font-size: .9rem; line-height: 1.18; }
.calendar-month table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .85rem; text-align: center; }
.calendar-month th { padding: .2rem 0; color: #4c6068; font-size: .7rem; font-weight: 650; }
.calendar-month td { padding: 0; }
.calendar-month td[data-in-range] { background: #eef5e5; }
.calendar-month td button { width: 100%; min-height: 2.45rem; border: 0; border-radius: .4rem; padding: 0; background: transparent; color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.calendar-month td button:disabled { color: #858f94; cursor: default; text-decoration: line-through; }
.calendar-month td button[aria-current="date"]:not(:disabled) { font-weight: 800; text-decoration: underline; text-underline-offset: .2em; }
.calendar-month td[aria-selected="true"] button:not(:disabled) { background: var(--accent); color: var(--ink); font-weight: 800; text-decoration: none; }
.calendar-month td button:focus-visible { outline-offset: -3px; }
@media (hover: hover) {
  .calendar-nav button:not(:disabled):hover, .calendar-month td:not([aria-selected="true"]) button:not(:disabled):hover { background: var(--mist); }
  .time-trigger:not(:disabled):hover span { background: #d7e4e6; }
  .time-option:not([aria-selected="true"]):hover { background: #eef2f2; }
}
.period-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: .55rem; align-items: center; background: var(--paper); border-top: 1px solid var(--line); padding: .55rem 1.1rem .65rem; }
.period-cancel { min-height: 2.75rem; padding: .45rem .7rem; border: 0; border-radius: .5rem; color: var(--ink-soft); background: transparent; cursor: pointer; font-weight: 650; }
.period-actions .button { min-height: 2.75rem; padding: .45rem .95rem; font-size: .9rem; }
.period-actions .button:disabled { color: #616c70; background: #e8edeb; cursor: default; transform: none; }

.section-wrap { max-width: 1240px; margin: auto; padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.25rem, 5vw, 4rem); }
.section-heading { max-width: 48rem; margin: 0 0 2.8rem; }
.section-kicker { margin: 0 0 .8rem; color: #53620f; font-size: .78rem; font-weight: 700; letter-spacing: .16em; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.25rem, 4.8vw, 4rem); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.section-intro { max-width: 39rem; margin: 1rem 0 0; color: var(--muted); font-size: 1.08rem; }
.plan-points { display: grid; gap: .75rem; padding: 0; margin: 0; list-style: none; }
.plan-points li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.2rem; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.plan-index { color: #65751c; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.plan-points h3 { margin: -.25rem 0 .35rem; font-size: 1.08rem; }
.plan-points p { margin: 0; color: var(--muted); }

.site-footer { min-height: 6rem; padding: 1.5rem clamp(1.25rem, 5vw, 4rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem; background: #0b1116; color: white; }
.site-footer .brand-mark { font-size: 1.45rem; }
.site-footer .brand-name { font-size: .74rem; }
.footer-divider { height: 1.8rem; border-left: 1px solid rgba(255,255,255,.28); }
.footer-place { color: #d0d8db; }
.footer-copy { margin-left: auto; color: #a5b0b4; font-size: .82rem; }

@media (max-width: 760px) {
  .header-inner { min-height: 4.5rem; padding-inline: 1.1rem; }
  .brand-mark { font-size: 1.5rem; }
  .brand-name { font-size: .74rem; letter-spacing: .15em; }
  .menu-toggle { width: 2.75rem; height: 2.75rem; display: grid; place-content: center; gap: .38rem; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: transparent; color: white; cursor: pointer; }
  .menu-toggle span { width: 1rem; border-top: 1.5px solid currentColor; transition: transform var(--motion-fast) var(--ease-out); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: .4rem 1.1rem 1.15rem; background: #111820; border-top: 1px solid rgba(255,255,255,.12); }
  .primary-nav.is-open { display: grid; gap: .1rem; }
  .primary-nav a { padding: .8rem .4rem; }
  .primary-nav .nav-cta { margin-top: .35rem; text-align: center; }
  .hero {
    min-height: 100vh;
    min-height: calc(100lvh + 1rem);
  }
  .hero-media img { position: absolute; bottom: 0; height: 118%; object-position: 70% bottom; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(9,15,20,.76), rgba(9,15,20,.37) 72%, rgba(9,15,20,.23)),
      linear-gradient(0deg, rgba(9,15,20,.24), transparent 40%);
  }
  .hero-content { min-height: min(100svh, 42rem); padding: 5.4rem .9rem calc(1.4rem + env(safe-area-inset-bottom, 0px)); }
  .hero-copy { min-height: 11.9rem; display: flex; flex-direction: column; justify-content: center; padding-block: 0 1rem; }
  .hero-flags { font-size: 1.45rem; }
  .hero h1 { font-size: clamp(2.65rem, 9.75vw, 4.3rem); }
  .hero h1 span { font-size: .55em; }
  .hero-copy p { max-width: 37ch; margin-top: .65rem; font-size: .95rem; }
  .search-card { padding: .9rem; }
  .search-card h2 { margin-bottom: .65rem; }
  .search-fields { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .period-trigger, .search-fields select { min-height: 2.75rem; }
  .period-trigger span:first-child { overflow-wrap: normal; }
  .submit-button { margin: .15rem 0 0; width: 100%; min-height: 2.85rem; }
  .period-dialog { inset: auto 0 0; width: 100%; max-height: min(42rem, calc(100dvh - .75rem)); border-radius: 1.1rem 1.1rem 0 0; }
  .period-dialog::backdrop { background: #11182069; }
  .period-header { padding: .85rem .9rem 0; }
  .period-body { padding: .5rem .9rem .55rem; }
  .period-actions { justify-content: space-between; padding: .5rem .9rem calc(.65rem + env(safe-area-inset-bottom, 0px)); }
  .calendar-months { grid-template-columns: minmax(0, 1fr); }
  .calendar-month td button { min-height: 2.75rem; }
  .section-wrap { padding-block: 3rem; }
  .section-heading { margin-bottom: 1.75rem; }
  .section-intro { font-size: 1rem; }
  .site-footer { justify-content: flex-start; gap: .6rem; padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); }
  .footer-copy { flex-basis: 100%; margin: .3rem 0 0; }
}

@media (min-width: 761px) {
  .location-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .65rem; }
  .pickup-field { grid-area: 1 / 1 / 2 / -1; }
  .location-group:has(#return-location-field:not([hidden])) .pickup-field { grid-column-end: 2; }
  #return-location-field { grid-area: 1 / 2 / 2 / -1; }
  .different-location { grid-area: 2 / 1 / 3 / -1; }
}

@media (min-width: 761px) and (max-width: 950px) {
  .search-fields { grid-template-columns: minmax(21rem, 1fr) minmax(0, 1fr); }
  .submit-button { grid-column: 1 / -1; margin-top: 0; }
}

@media (max-width: 360px) {
  .brand-name { font-size: .67rem; }
  .period-trigger[data-filled] { font-size: .875rem; }
  .footer-divider { display: none; }
  .footer-place { flex-basis: 100%; }
}

@media (forced-colors: active) {
  .search-fields select { appearance: auto; padding-right: .65rem; background-image: none; }
  .time-option[data-active] { outline: 2px solid Highlight; outline-offset: -2px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
