:root {
  --paper: #f8f1e7;
  --card: #fffaf2;
  --ink: #26342d;
  --forest: #234136;
  --sage: #859b82;
  --stone: #d7c8b6;
  --line: rgba(35, 65, 54, 0.16);
  --rose: #c78f8d;
  --amber: #b67a52;
  --shadow: 0 18px 46px rgba(53, 58, 48, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(199, 143, 141, 0.16), transparent 28rem),
    linear-gradient(140deg, #fffaf2, var(--paper));
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

.is-hidden {
  display: none !important;
}

.itinerary {
  position: relative;
  width: min(1360px, 100%);
  margin: 0 auto;
  padding: 16px 16px 56px;
}

.hero {
  position: relative;
  min-height: 54vh;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  margin: -16px -16px 24px;
  background: var(--forest);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 37, 31, 0.86), rgba(24, 37, 31, 0.08));
}

.hero-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 28px 22px;
  color: #fffaf2;
}

.eyebrow,
.date {
  margin: 0 0 8px;
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3c8c5;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 13vw, 7rem);
  line-height: 0.9;
}

h2 {
  color: var(--forest);
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
}

p {
  line-height: 1.62;
}

.hero-copy p {
  max-width: 700px;
  margin: 12px 0 0;
  color: rgba(255, 250, 242, 0.86);
  font-weight: 650;
}

.intro {
  margin: -8px 0 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--rose);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.88);
  box-shadow: var(--shadow);
  color: rgba(38, 52, 45, 0.78);
  font-size: 1.05rem;
}

.intro .eyebrow {
  margin-bottom: 4px;
}

.days {
  display: grid;
  gap: 16px;
}

.day {
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.84);
  box-shadow: var(--shadow);
}

.photo-grid {
  display: grid;
  gap: 10px;
  margin: -20px -20px 18px;
}

.day-media {
  position: relative;
  width: calc(100% + 40px);
  margin: -20px -20px 18px;
  overflow: hidden;
  background: var(--stone);
}

.day-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(24, 37, 31, 0.58), transparent);
  pointer-events: none;
}

.day-media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 230px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.day-media figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  color: #fffaf2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-grid .day-media {
  width: 100%;
  margin: 0;
  border-radius: 18px;
}

.photo-grid .day-media img {
  min-height: 220px;
}

.day-media.is-small {
  width: min(100%, 560px);
  margin: -2px auto 18px;
  border-radius: 18px;
}

.day-media.is-small img {
  min-height: 0;
  aspect-ratio: 3 / 2;
}

.photo-grid .day-media.is-small {
  width: 100%;
  margin: 0;
}

.photo-grid .day-media.is-small img {
  min-height: 160px;
}

.mystery-media img {
  filter: blur(12px) saturate(0.78) contrast(0.9);
  transform: scale(1.06);
}

.day.important {
  border-color: rgba(182, 122, 82, 0.42);
  background: #fff1dc;
}

.day.secret {
  border-color: rgba(35, 65, 54, 0.22);
  background:
    linear-gradient(135deg, rgba(35, 65, 54, 0.08), rgba(255, 250, 242, 0.9)),
    #f4eee3;
}

.day.quiet {
  background: rgba(244, 248, 239, 0.88);
}

.day > p:not(.date) {
  margin: 12px 0 18px;
  color: rgba(38, 52, 45, 0.78);
}

.tebay-stop {
  display: grid;
  gap: 14px;
  margin: 4px 0 20px;
  padding: 14px;
  border: 1px solid rgba(182, 122, 82, 0.3);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 241, 220, 0.92), rgba(244, 248, 239, 0.84)),
    #fff7ea;
}

.tebay-copy .eyebrow {
  margin: 0 0 4px;
}

.tebay-copy h3 {
  margin: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 8vw, 2.8rem);
  line-height: 0.98;
}

.tebay-copy p:last-child {
  margin: 8px 0 0;
  color: rgba(38, 52, 45, 0.78);
}

.tebay-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tebay-photo-grid img {
  display: block;
  width: 100%;
  min-height: 112px;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(35, 65, 54, 0.13);
}

dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

dl div {
  display: grid;
  gap: 3px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
}

.important dd:first-of-type,
.important dt + dd {
  color: #7a4728;
}

.surprise-unlock {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.surprise-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--forest);
  color: #fffaf2;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.surprise-button:hover {
  transform: translateY(-1px);
}

.surprise-button.is-ready {
  background: var(--amber);
}

.surprise-unlock p {
  margin: 10px 0 0;
  color: rgba(38, 52, 45, 0.72);
  font-size: 0.95rem;
}

.surprise-page {
  min-height: 100vh;
}

.surprise-hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: end center;
  overflow: hidden;
  padding: 18px;
  background: var(--forest);
}

.surprise-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surprise-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(24, 37, 31, 0.9), rgba(24, 37, 31, 0.18)),
    radial-gradient(circle at 30% 25%, rgba(255, 250, 242, 0.16), transparent 22rem);
}

.surprise-panel {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  margin-bottom: 8vh;
  padding: 24px;
  border: 1px solid rgba(255, 250, 242, 0.22);
  border-radius: 26px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  color: var(--ink);
}

.surprise-panel h1 {
  color: var(--forest);
  font-size: clamp(3rem, 14vw, 6.4rem);
}

.surprise-panel p {
  margin: 16px 0;
  color: rgba(38, 52, 45, 0.78);
  font-size: 1.08rem;
}

.surprise-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--forest);
  color: #fffaf2;
  font-weight: 850;
  text-decoration: none;
}

.surprise-details {
  position: relative;
  width: min(980px, 100%);
  margin-block: 8vh;
}

.surprise-details h1 {
  max-width: 780px;
}

.surprise-mood {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.mood-gallery {
  display: grid;
  gap: 10px;
}

.mood-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.mood-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(to top, rgba(24, 37, 31, 0.62), transparent);
}

.mood-media img {
  display: block;
  width: 100%;
  min-height: 210px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mood-media figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  color: #fffaf2;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.poem-card {
  display: grid;
  gap: 8px;
  justify-items: start;
  width: min(300px, 100%);
}

.poem-card img {
  width: 92px;
  border: 1px solid rgba(182, 122, 82, 0.24);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 12px 24px rgba(53, 58, 48, 0.1);
}

.poem-bubble {
  position: relative;
  padding: 12px 14px;
  border: 1px solid rgba(182, 122, 82, 0.28);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: 0 14px 30px rgba(53, 58, 48, 0.12);
}

.poem-bubble::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 34px;
  width: 16px;
  height: 16px;
  border-left: 1px solid rgba(182, 122, 82, 0.28);
  border-top: 1px solid rgba(182, 122, 82, 0.28);
  background: rgba(255, 250, 242, 0.94);
  transform: rotate(45deg);
}

.poem-card .eyebrow {
  margin-bottom: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.poem-card p:last-child {
  margin: 8px 0 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 1.18;
}

.reveal-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.72);
}

.reveal-card.whisky-moment {
  border-color: rgba(182, 122, 82, 0.42);
  background:
    linear-gradient(135deg, rgba(182, 122, 82, 0.18), rgba(255, 250, 242, 0.78)),
    rgba(255, 250, 242, 0.78);
}

.whisky-moment h2 {
  font-size: clamp(2.6rem, 12vw, 4.8rem);
}

.reveal-media {
  position: relative;
  margin: -18px -18px 18px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.reveal-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(to top, rgba(24, 37, 31, 0.62), transparent);
}

.reveal-media img {
  display: block;
  width: 100%;
  min-height: 230px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.reveal-media figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  left: 14px;
  z-index: 1;
  color: #fffaf2;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal-card h2 {
  font-size: clamp(2rem, 8vw, 3rem);
}

.reveal-card p:not(.date) {
  color: rgba(38, 52, 45, 0.78);
}

@media (min-width: 760px) {
  .itinerary {
    padding-inline: 28px;
  }

  .hero {
    min-height: 560px;
    margin-inline: -28px;
    border-radius: 0 0 44px 44px;
  }

  .hero-copy {
    padding: 48px;
  }

  .intro {
    width: min(920px, 100%);
    margin: 0 0 24px;
    font-size: 1.18rem;
  }

  .days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
  }

  .day {
    padding: 24px;
  }

  .photo-grid {
    margin: -24px -24px 20px;
  }

  .photo-grid.split {
    grid-template-columns: minmax(150px, 0.62fr) minmax(0, 1.38fr);
  }

  .photo-grid.adventure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid .day-media img {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .photo-grid.split .day-media.is-small img {
    min-height: 220px;
    aspect-ratio: 4 / 5;
  }

  .photo-grid.adventure-grid .day-media.is-small {
    max-width: 560px;
  }

  .day-media {
    width: calc(100% + 48px);
    margin: -24px -24px 20px;
  }

  .day-media img {
    min-height: 270px;
    aspect-ratio: 16 / 10;
  }

  .day-media.is-small {
    width: min(100%, 560px);
    margin: 0 auto 20px;
  }

  .day-media.is-small img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .day.important,
  .day.secret {
    grid-column: span 2;
  }

  .day.tebay-day {
    grid-column: span 2;
  }

  .tebay-stop {
    grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    padding: 16px;
  }

  .tebay-photo-grid img {
    min-height: 138px;
  }

  .day.feature-day {
    grid-column: span 2;
  }

  .day h2 {
    font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  }

  .surprise-hero {
    padding: 44px;
    place-items: end start;
  }

  .surprise-panel {
    padding: 34px;
  }

  .surprise-details {
    width: min(1120px, 100%);
  }

  .mood-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mood-media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .poem-card {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 2;
    width: 250px;
    backdrop-filter: blur(10px);
  }

  .surprise-details > .eyebrow,
  .surprise-details > h1,
  .surprise-details > p {
    max-width: calc(100% - 310px);
  }

  .poem-card p:last-child {
    font-size: 0.86rem;
  }

  .reveal-card.has-image {
    display: grid;
    grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1fr);
    gap: 0 24px;
    padding: 22px 22px 22px 0;
  }

  .reveal-card.has-image > :not(.reveal-media) {
    grid-column: 2;
  }

  .reveal-media {
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: stretch;
    margin: -22px 0 -22px -1px;
    border-radius: 18px 0 0 18px;
  }

  .reveal-media img {
    height: 100%;
    min-height: 320px;
    aspect-ratio: auto;
  }

}

@media (min-width: 1100px) {
  .itinerary {
    width: 100%;
    max-width: none;
    padding-inline: clamp(18px, 3vw, 52px);
  }

  .hero {
    min-height: 520px;
    margin-inline: calc(clamp(18px, 3vw, 52px) * -1);
  }

  .intro,
  .days {
    width: min(100%, 1480px);
    margin-inline: auto;
  }

  .days {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .day.important {
    grid-column: span 2;
  }

  .day.tebay-day {
    grid-column: span 2;
  }

  .day.secret {
    grid-column: span 1;
  }

  .day.arrival-day {
    grid-column: span 3;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 0 28px;
    padding: 24px 28px 24px 24px;
  }

  .day.arrival-day > .photo-grid {
    grid-column: 1;
    grid-row: 1 / span 5;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
  }

  .day.arrival-day > :not(.photo-grid) {
    grid-column: 2;
  }

  .day.arrival-day .day-media img,
  .day.arrival-day .day-media.is-small img {
    min-height: 300px;
    aspect-ratio: 4 / 3;
  }

  .day.feature-day {
    grid-column: span 3;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
    gap: 0 28px;
    padding: 24px 28px 24px 24px;
  }

  .day.feature-day > .photo-grid {
    grid-row: 1 / span 5;
    margin: 0;
  }

  .day.feature-day > :not(.photo-grid) {
    grid-column: 2;
  }

  .day-media img,
  .photo-grid .day-media img {
    min-height: 240px;
  }

  .day-media.is-small img,
  .photo-grid .day-media.is-small img {
    min-height: 0;
  }

  h2 {
    font-size: clamp(2.1rem, 3vw, 3.4rem);
  }
}
