@font-face {
  font-family: 'Fraunces';
  src: url('fraunces.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('fraunces-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('figtree.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #1e3a2a;
  --forest-soft: #2b5139;
  --moss: #2f5d3f;
  --hill: #3e7a4e;
  --leaf: #4e8a57;
  --leaf-light: #7db36a;
  --leaf-pale: #a5cf86;
  --vine: #16301f;
  --cream: #f7f0e3;
  --paper: #fffbf3;
  --sand: #efe5d1;
  --line: #e2d5bb;
  --line-strong: #cdbd9e;
  --ink: #1d2a22;
  --muted: #56665b;
  --faint: #a69c88;
  --banana: #f2c14e;
  --banana-deep: #e4ab2a;
  --error: #a3321c;
  --error-bg: #fbe9e3;
  --radius: 28px;
  --shadow: 0 1px 0 rgb(30 58 42 / 0.04), 0 24px 48px -24px rgb(30 58 42 / 0.38);
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
p {
  margin: 0;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 11vw, 120px) 24px clamp(128px, 19vw, 232px);
  background:
    radial-gradient(90% 70% at 50% 100%, rgb(242 193 78 / 0.16), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, var(--forest-soft) 0%, var(--forest) 62%);
  color: var(--cream);
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--banana);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker::before,
.kicker::after {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.7;
}

.title {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(3.4rem, 13vw, 8.25rem);
  font-weight: 900;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 0 rgb(10 26 17 / 0.28);
}

.title-word {
  display: inline-block;
}

.title-ape {
  color: var(--banana);
}

.lede {
  margin-top: 20px;
  color: rgb(247 240 227 / 0.88);
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  line-height: 1.5;
}

.lede-break {
  display: none;
}

.hills {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(120px, 21vw, 280px);
}

.sun {
  fill: var(--banana);
}

.hill-far {
  fill: var(--moss);
}

.trees {
  fill: #284f36;
}

.hill-mid {
  fill: var(--hill);
}

.paws {
  fill: #64a36b;
}

.ground {
  fill: var(--cream);
}

.vines {
  position: absolute;
  z-index: 1;
  top: 0;
  width: clamp(92px, 15vw, 190px);
  height: auto;
  pointer-events: none;
}

.vines-left {
  left: clamp(-24px, -1vw, 0px);
}

.vines-right {
  right: clamp(-24px, -1vw, 0px);
}

.vine {
  transform-box: view-box;
  animation: sway 7s ease-in-out infinite alternate;
}

.vine-a {
  transform-origin: 46px 0;
}

.vine-b {
  transform-origin: 108px 0;
  animation-duration: 5.6s;
  animation-delay: -2s;
}

.vines-right .vine-a {
  transform-origin: 104px 0;
  animation-delay: -3.5s;
}

.vines-right .vine-b {
  transform-origin: 40px 0;
  animation-delay: -1s;
}

.vine-stem {
  fill: none;
  stroke: var(--vine);
  stroke-width: 4;
  stroke-linecap: round;
}

.leaf-1 {
  fill: var(--leaf);
}

.leaf-2 {
  fill: var(--leaf-light);
}

.leaf-3 {
  fill: #3a7348;
}

@keyframes sway {
  from {
    transform: rotate(-2.4deg);
  }
  to {
    transform: rotate(2.4deg);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.kicker,
.title-word,
.lede {
  animation: rise 0.8s var(--ease-out) both;
}

.title-word:nth-child(1) {
  animation-delay: 0.08s;
}

.title-word:nth-child(2) {
  animation-delay: 0.16s;
}

.title-word:nth-child(3) {
  animation-delay: 0.24s;
}

.lede {
  animation-delay: 0.34s;
}

/* Layout */

.layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
  max-width: 1100px;
  margin: clamp(-72px, -6vw, -32px) auto 0;
  padding: 0 16px 56px;
}

@media (min-width: 900px) {
  .layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 32px;
    padding: 0 28px 80px;
  }

  .note {
    position: sticky;
    top: 28px;
  }
}

/* Note */

.note {
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--banana);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-title {
  margin: 16px 0 12px;
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.4vw, 2rem);
  font-weight: 800;
  font-variation-settings: 'opsz' 72, 'SOFT' 100;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.note p + p {
  margin-top: 12px;
}

.note p:not(.tag) {
  color: var(--muted);
}

.contact {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 16px 10px 10px;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}

.contact-link:hover {
  border-color: var(--line-strong);
  background: var(--cream);
}

.contact-link:active {
  transform: scale(0.99);
}

.contact-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--forest);
  color: var(--banana);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-text {
  display: grid;
  min-width: 0;
}

.contact-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.contact-value {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 700;
}

/* Booking card */

.card {
  padding: clamp(24px, 4.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.card-title {
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 900;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  line-height: 1;
  letter-spacing: -0.02em;
}

.card-sub {
  margin-top: 10px;
  color: var(--muted);
}

.noscript {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--sand);
}

.form {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
}

.step {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--banana);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 800;
}

.input {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 12px 18px;
  border: 2px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input::placeholder {
  color: #8e8573;
  font-weight: 500;
}

.input:hover {
  border-color: var(--faint);
}

.input:focus-visible {
  border-color: var(--forest);
  outline: none;
  box-shadow: 0 0 0 4px rgb(242 193 78 / 0.55);
}

.input[aria-invalid='true'] {
  border-color: var(--error);
}

.textarea {
  min-height: 120px;
  padding: 14px 18px;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  resize: vertical;
}

.optional {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 8px;
  vertical-align: 2px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hint {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.93rem;
}

legend + .hint,
.hint-above {
  margin: -4px 0 12px;
}

.error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--error);
  font-size: 0.95rem;
  font-weight: 600;
}

.error::before {
  content: '!';
  display: grid;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--error);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

/* Calendar */

.calendar {
  container-type: inline-size;
  padding: clamp(10px, 2.6vw, 20px);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.cal-month {
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  font-variation-settings: 'opsz' 48, 'SOFT' 100;
  text-align: center;
}

.cal-nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--forest);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.cal-nav:hover:not(:disabled) {
  border-color: var(--line-strong);
  background: var(--sand);
}

.cal-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.cal-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cal-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cal-grid th {
  padding: 6px 0 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cal-grid abbr {
  text-decoration: none;
}

.cal-grid td {
  padding: 2px;
  text-align: center;
}

.day {
  --dot: 40px;
  --dot: min(46px, 13cqi);
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 100%;
  height: max(44px, var(--dot));
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: color 0.18s;
  -webkit-tap-highlight-color: transparent;
}

/* The circle is drawn separately so the tap target can stay 44px tall
   while the circle shrinks to fit narrow phones. */
.day::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: var(--dot);
  height: var(--dot);
  margin: calc(var(--dot) / -2) 0 0 calc(var(--dot) / -2);
  border-radius: 50%;
  transition: background-color 0.18s, transform 0.25s var(--ease-out);
}

.day:focus-visible {
  outline: none;
}

.day:focus-visible::before {
  outline: 3px solid var(--forest);
  outline-offset: 2px;
}

@media (hover: hover) {
  .day:hover:not(:disabled):not([aria-pressed='true'])::before {
    background: var(--sand);
  }
}

.day:active:not(:disabled)::before {
  transform: scale(0.9);
}

.day.is-today {
  font-weight: 800;
}

.day.is-today::before {
  box-shadow: inset 0 0 0 2px var(--leaf);
}

.day[aria-pressed='true'] {
  color: var(--cream);
  font-weight: 800;
}

.day[aria-pressed='true']::before {
  background: var(--forest);
  box-shadow: none;
  animation: pop 0.32s var(--ease-out);
}

.day[aria-pressed='true']::after {
  content: '';
  position: absolute;
  top: calc(50% + var(--dot) / 2 - 11px);
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--banana);
}

.day:disabled {
  color: var(--faint);
  font-weight: 500;
  cursor: default;
}

@keyframes pop {
  0% {
    transform: scale(0.8);
  }
  60% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
  }
}

/* Picked days */

.picked-wrap {
  margin-top: 14px;
}

.picked-empty {
  color: var(--muted);
  font-size: 0.95rem;
}

.picked {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px 0 14px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--forest);
  font-size: 0.95rem;
  font-weight: 700;
  animation: rise 0.3s var(--ease-out) both;
}

.chip-remove {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
}

.chip-remove:hover {
  background: rgb(30 58 42 / 0.08);
}

.chip-remove svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

/* Honeypot */

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Submit */

.form-error {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--error-bg);
  color: var(--error);
  font-weight: 600;
}

.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--banana);
  color: var(--forest);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--banana-deep), 0 14px 28px -14px rgb(228 171 42 / 0.9);
  transition: background-color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.submit:hover {
  background: #f5ca5e;
}

.submit:active {
  transform: translateY(2px);
  box-shadow: 0 0 0 var(--banana-deep), 0 8px 18px -12px rgb(228 171 42 / 0.9);
}

.submit:disabled {
  cursor: progress;
  opacity: 0.85;
}

.submit-paw {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: transform 0.3s var(--ease-out);
}

.submit:hover .submit-paw {
  transform: rotate(-14deg) scale(1.08);
}

.submit[aria-busy='true'] .submit-paw {
  animation: trot 0.7s ease-in-out infinite alternate;
}

@keyframes trot {
  from {
    transform: translateY(0) rotate(-10deg);
  }
  to {
    transform: translateY(-4px) rotate(10deg);
  }
}

/* Thank you */

.thanks {
  padding: clamp(8px, 2vw, 16px) 0;
  text-align: center;
  animation: rise 0.6s var(--ease-out) both;
}

.thanks-paws {
  width: 120px;
  height: 60px;
  margin: 0 auto 8px;
  fill: var(--leaf);
  opacity: 0.85;
}

.thanks-title {
  color: var(--forest);
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  font-weight: 900;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  line-height: 1;
  letter-spacing: -0.02em;
}

.thanks-title:focus {
  outline: none;
}

.thanks-body {
  max-width: 34ch;
  margin: 16px auto 0;
  color: var(--ink);
  font-size: 1.12rem;
}

.thanks-body + .thanks-body {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.02rem;
}

.thanks-body strong {
  color: var(--forest);
}

.signoff {
  margin-top: 26px;
  color: var(--muted);
}

.signature {
  margin-top: 2px;
  color: var(--forest);
  font-family: var(--display);
  font-size: 2.6rem;
  font-style: italic;
  font-weight: 600;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  line-height: 1.1;
}

.signature::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 4px;
  background: var(--banana);
}

.again {
  min-height: 52px;
  margin-top: 30px;
  padding: 12px 26px;
  border: 2px solid var(--forest);
  border-radius: 999px;
  background: transparent;
  color: var(--forest);
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.again:hover {
  background: var(--forest);
  color: var(--cream);
}

/* Footer */

.footer {
  padding: 0 20px 48px;
  color: var(--muted);
  font-size: 0.93rem;
  text-align: center;
}

.footer p + p {
  margin-top: 4px;
}

.footer a {
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.footer a:hover {
  color: var(--forest);
}

.footer-paw {
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  fill: var(--leaf);
  opacity: 0.6;
}

@media (min-width: 640px) {
  .lede-break {
    display: inline;
  }
}

/* Very wide screens: grow the scene with the width so the sun and the
   hill tops are never cropped. */
@media (min-width: 2000px) {
  .hero {
    padding-bottom: 11vw;
  }

  .hills {
    height: 14vw;
  }
}

@media (max-width: 599px) {
  .note-title {
    margin: 12px 0 8px;
  }

  .contact {
    grid-template-columns: 1fr 1fr;
    margin-top: 18px;
  }

  .contact-link {
    min-height: 56px;
    padding: 8px 10px;
    gap: 10px;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .contact-value {
    display: none;
  }

  .contact-label {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
