:root {
  color-scheme:light;
  --ink:#18332d;
  --muted:#4d635b;
  --green:#173e38;
  --paper:#f7f5ed;
  --card:#fffefa;
  --line:#d7dfd6;
  --lime:#e3efb1;
}

* {
  box-sizing:border-box;
}

html {
  scroll-padding-top:5rem;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.55 system-ui,-apple-system,sans-serif;
}

button,input,textarea,select {
  font:inherit;
}

a {
  color:#235e4d;
  text-underline-offset:.2em;
}

button {
  cursor:pointer;
}

button:disabled,input:disabled,select:disabled {
  cursor:default;
  opacity:.65;
}

[hidden] {
  display:none!important;
}

:focus-visible {
  outline:3px solid #a85a17;
  outline-offset:3px;
}

.wrap {
  width:min(1120px,calc(100% - 40px));
  margin-inline:auto;
}

.hero {
  background:radial-gradient(ellipse at 96% 100%,#356957,transparent 55%),var(--green);
  color:#fffdf3;
}

.mast,.hero-copy {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
}

.mast {
  padding:21px 0;
  border-bottom:1px solid #779387;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.12em;
}

.hero-copy {
  padding:37px 0 43px;
}

.hero-copy p {
  margin:0;
}

.hero h1 {
  font-size:clamp(3rem,9vw,6rem);
  line-height:1.05;
  letter-spacing:-.06em;
  margin:9px 0 15px;
}

.eyebrow {
  font-size:.75rem;
  letter-spacing:.15em;
  font-weight:800;
  color:#386152;
  margin:0 0 7px;
}

.hero .eyebrow {
  color:#e3efb1;
}

.stamp {
  width:175px;
  aspect-ratio:1;
  border:1px solid #a7c39a;
  border-radius:50%;
  display:grid;
  place-content:center;
  text-align:center;
  color:var(--lime);
  flex-shrink:0;
}

.stamp strong {
  font-size:3.2rem;
  line-height:1.1;
}

.jump {
  position:sticky;
  top:0;
  z-index:2;
  background:var(--paper);
  border-bottom:1px solid var(--line);
}

.jump .wrap {
  display:flex;
  gap:23px;
  overflow:auto;
}

.jump a {
  flex-shrink:0;
  padding:12px 0;
  color:var(--ink);
  text-decoration:none;
  font-weight:700;
}

main {
  padding:26px 0;
}

.summary {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-bottom:35px;
}

.summary>div,.panel {
  background:var(--card);
  border:1px solid var(--line);
  border-radius:17px;
  padding:20px;
}

.summary span,.summary small,.muted {
  color:var(--muted);
}

.summary strong {
  display:block;
  font-size:clamp(1.1rem,3.1vw,2rem);
}

progress {
  display:block;
  width:100%;
  height:9px;
  margin-top:7px;
  accent-color:#4f8066;
}

.summary small {
  font-size:.78rem;
}

h2,h3,p {
  margin-top:0;
}

h2 {
  font-size:clamp(1.7rem,4vw,2.5rem);
  line-height:1.15;
  margin-bottom:8px;
}

h3 {
  font-size:1.45rem;
  line-height:1.2;
  margin-bottom:9px;
}

.dates {
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:7px;
  margin:16px 0;
}

.dates button,.map-stops button {
  background:#eff3e8;
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:10px;
  min-height:44px;
  padding:6px;
}

.dates strong,.dates small {
  display:block;
}

.dates strong {
  font-size:1.25rem;
}

.dates button[aria-pressed=true],.map-stops button[aria-pressed=true] {
  background:var(--green);
  color:white;
}

.day-grid,.lower-grid,.family {
  display:grid;
  grid-template-columns:1.12fr 1fr;
  gap:16px;
}

.day,.map-panel,.lower-grid>* {
  min-width:0;
}

.stop {
  border-top:1px solid var(--line);
  padding:13px 0;
}

.stop:first-child {
  margin-top:13px;
}

.stop:last-child {
  padding-bottom:0;
}

.stop h4 {
  margin:3px 0 8px;
  font-size:1.05rem;
}

.stop time {
  font-size:.83rem;
  font-weight:750;
  color:#386152;
}

.stop p {
  margin:0 0 8px;
}

.links,.input-line,.map-stops {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.links {
  margin-bottom:9px;
}

.button {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:7px 12px;
  border-radius:9px;
  border:1px solid var(--green);
  background:var(--green);
  color:white;
  text-decoration:none;
  font-weight:700;
}

.secondary {
  background:#edf3e6;
  color:var(--green);
  border-color:var(--line);
}

.map-stops {
  margin-bottom:12px;
}

.map iframe {
  display:block;
}

.map-panel iframe {
  width:100%;
  height:315px;
  border:1px solid var(--line);
  border-radius:11px;
  background:#edf3e6;
}

.map-panel #map-caption {
  margin:8px 0 0;
}

.access {
  padding:15px 19px;
  margin:14px 0 28px;
  background:#e8eedf;
  border-radius:12px;
}

.access p {
  margin:4px 0 8px;
}

.lower-grid {
  margin-bottom:16px;
}

.check-row {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  border-bottom:1px solid var(--line);
}

input[type=checkbox] {
  width:20px;
  height:20px;
  accent-color:#356957;
  flex-shrink:0;
}

.budget-row {
  display:grid;
  grid-template-columns:1fr minmax(90px,120px) auto;
  gap:8px;
  align-items:center;
  margin:7px 0;
}

.total {
  font-weight:800;
  margin:15px 0 0;
}

.family p {
  margin:8px 0;
}

.family label {
  display:block;
  font-weight:750;
  margin-bottom:5px;
}

.family textarea {
  display:block;
  width:100%;
  margin-bottom:8px;
  resize:vertical;
}

.input-line input {
  min-width:0;
  flex:1;
}

.family form {
  min-width:0;
}

input:not([type=checkbox]),textarea,select {
  color:var(--ink);
  border:1px solid #8d9e94;
  border-radius:7px;
  background:white;
  padding:7px;
  min-height:44px;
  width:100%;
}

.stop select {
  width:auto;
}

.stop label {
  font-size:.88rem;
}

.family [role=status] {
  font-weight:650;
}

#feedback {
  position:fixed;
  z-index:3;
  bottom:12px;
  inset-inline:16px;
  margin:auto;
  max-width:550px;
  padding:12px 16px;
  background:#173e38;
  color:white;
  border-radius:12px;
  pointer-events:none;
}

footer {
  border-top:1px solid var(--line);
  padding:16px 0 24px;
  font-size:.8rem;
  display:flex;
  justify-content:space-between;
  gap:10px;
}

@media(max-width:740px) {
  .day-grid,.lower-grid,.family {
    grid-template-columns:1fr;
  }
  .wrap {
    width:calc(100% - 28px);
  }
  .hero-copy {
    padding:29px 0;
  }
  .stamp {
    width:105px;
  }
  .stamp strong {
    font-size:2rem;
  }
  .stamp span {
    font-size:.8rem;
  }
  .summary {
    gap:6px;
  }
  .summary>div {
    padding:9px;
  }
  .summary span {
    font-size:.8rem;
  }
  .panel {
    padding:15px;
  }
  .map-panel iframe {
    height:265px;
  }
  .dates {
    gap:4px;
  }
  .jump .wrap {
    gap:16px;
  }
}

@media print {
  .jump,#family,.map-panel,.dates,#feedback,button,select {
    display:none!important;
  }
  .day-grid,.lower-grid {
    display:block;
  }
  .hero {
    background:white;
    color:#18332d;
  }
  .wrap {
    width:100%;
  }
}
