@font-face {
  font-family: Outfit;
  src: url("/assets/outfit.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --blue: #1846cf;
  --ink: #123231;
  --ice: #e3f3f5;
  --mint: #bde2d2;
  --orange: #ff7847;
  --yellow: #ffdd75;
  --paper: #f9fcfa;
  --display: Outfit, "Trebuchet MS", sans-serif;
  --body: "Trebuchet MS", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
button,
input,
textarea {
  font: inherit;
}
a {
  color: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
button {
  color: inherit;
}
a {
  text-underline-offset: 5px;
}
.skip {
  position: absolute;
  left: 15px;
  top: -100px;
  background: var(--yellow);
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 15px;
}
.masthead {
  max-width: 1480px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 5vw;
}
.wordmark {
  font-family: var(--display);
  font-size: 35px;
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
}
.wordmark span {
  color: var(--blue);
}
nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
}
nav a {
  text-decoration: none;
}
nav button {
  border: 1px solid #12323144;
  border-radius: 30px;
  background: transparent;
  padding: 8px 16px;
  font-size: 12px;
}
.hero {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 35px;
  align-items: center;
  padding: 64px 5vw 90px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 750;
}
h1 {
  font-size: clamp(62px, 7.7vw, 114px);
}
h1 span {
  color: var(--blue);
}
.intro {
  max-width: 340px;
  margin: 26px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--blue);
  color: white;
  padding: 17px 24px;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  background: #103aa9;
  transform: translateY(-3px);
}
.button span {
  font-size: 24px;
  line-height: 1;
}
.small-note {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 15px;
  max-width: 340px;
}
.hero-art {
  position: relative;
  transform: rotate(3deg);
  background: var(--paper);
  padding: 13px 13px 0;
  box-shadow: 0 18px 40px #0000001a;
  animation: arrive 0.8s ease both;
}
.hero-art img {
  aspect-ratio: 1.17;
  object-fit: cover;
}
.hero-art figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 5px;
  font-size: 12px;
}
.hero-art figcaption span:last-child {
  font-size: 12px;
  letter-spacing: 0.03em;
}
.stamp {
  position: absolute;
  right: -20px;
  bottom: 65px;
  background: var(--yellow);
  border-radius: 50%;
  width: 126px;
  height: 126px;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.2;
  font-size: 14px;
  font-weight: 800;
  transform: rotate(-16deg);
  animation: bob 5s ease-in-out infinite;
}
.ribbon {
  display: flex;
  justify-content: space-evenly;
  gap: 30px;
  overflow: hidden;
  background: var(--blue);
  color: var(--ice);
  padding: 20px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 2px;
  white-space: nowrap;
}
.section {
  padding: 85px 5vw;
  max-width: 1480px;
  margin: auto;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 35px;
}
.section-heading > p {
  max-width: 290px;
  font-size: 15px;
}
h2 {
  font-size: clamp(44px, 5vw, 72px);
}
h3 {
  font-size: clamp(36px, 4vw, 55px);
}
.moods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 35px 0 25px;
}
.moods button {
  border: 1px solid #12323155;
  background: transparent;
  border-radius: 40px;
  padding: 12px 23px;
  font-size: 14px;
}
.moods button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.adventure {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 30px;
  background: var(--mint);
  border-radius: 12px;
  padding: 48px;
}
.adventure-copy > p {
  max-width: 490px;
  margin-top: 25px;
}
.trip-label {
  font-size: 14px;
  font-weight: 700;
}
.trip-kit {
  font-size: 12px;
  letter-spacing: 0.4px;
}
.compass {
  position: relative;
  width: 240px;
  height: 240px;
  border: 1px solid #12323177;
  border-radius: 50%;
  justify-self: center;
  display: grid;
  place-content: center;
  text-align: center;
}
.compass span {
  position: absolute;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
}
.north {
  top: 10px;
  left: 48%;
}
.south {
  bottom: 10px;
  left: 48%;
}
.east {
  right: 14px;
  top: 44%;
}
.west {
  left: 14px;
  top: 44%;
}
.compass p {
  font-size: 12px;
  letter-spacing: normal;
  margin-top: 80px;
}
.needle {
  position: absolute;
  left: calc(50% - 9px);
  top: 42px;
  width: 18px;
  height: 80px;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 100%, 50% 82%, 0 100%);
  transform-origin: 50% 100%;
  transition: transform 0.8s ease;
}
.night {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 75px;
  align-items: center;
  padding-top: 20px;
}
.night figure {
  background: var(--paper);
  padding: 12px;
  transform: rotate(-2deg);
}
.night img {
  aspect-ratio: 1.25;
  object-fit: cover;
}
.night figcaption {
  font-size: 12px;
  padding: 13px 3px 3px;
}
.night h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
}
.night p {
  margin-top: 24px;
  max-width: 400px;
}
.text-link {
  display: inline-block;
  border: 0;
  background: transparent;
  padding: 0;
  text-decoration: underline;
  font-size: 14px;
  font-weight: 700;
}
.night .text-link {
  margin-top: 25px;
}
.postcards {
  background: var(--yellow);
  max-width: none;
}
.postcards > .section-heading,
.postcard-maker {
  max-width: 1332px;
  margin-left: auto;
  margin-right: auto;
}
.postcard-maker {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
}
.postcard-preview {
  padding: 15px 15px 0;
  background: var(--paper);
  box-shadow: 0 8px 20px #00000012;
  transform: rotate(-1deg);
}
.postcard-preview img {
  aspect-ratio: 1.75;
  object-fit: cover;
}
.postcard-preview p {
  padding: 20px 12px;
  min-height: 65px;
  font-family: Georgia, serif;
  font-size: 17px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 25px;
}
legend,
form > label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
fieldset label {
  display: block;
  font-size: 14px;
  margin: 8px 0;
}
input {
  accent-color: var(--blue);
}
textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 14px;
  margin: 0 0 18px;
  border: 1px solid #12323177;
  background: #ffffff88;
  border-radius: 7px;
  resize: vertical;
  color: var(--ink);
  font-size: 15px;
}
.puffin-break {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.puffin-break p {
  max-width: 370px;
  margin-top: 24px;
}
.picnic {
  text-align: center;
}
.picnic-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.picnic-items button {
  background: var(--paper);
  border: 1px solid #12323122;
  border-radius: 50%;
  width: 68px;
  height: 68px;
  font-size: 32px;
  transition: transform 0.2s;
}
.picnic-items button:hover {
  transform: translateY(-8px) rotate(8deg);
}
.picnic-items button[aria-pressed="true"] {
  background: var(--mint);
  border: 3px solid var(--blue);
}
.picnic #picnic-status {
  max-width: none;
  min-height: 52px;
  font-size: 14px;
}
.picnic .text-link {
  margin-top: 15px;
}
footer {
  background: var(--ink);
  color: var(--ice);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  padding: 45px 5vw;
  font-size: 12px;
}
footer .wordmark span {
  color: var(--mint);
}
footer p {
  max-width: 390px;
}
footer a:last-child {
  white-space: nowrap;
}
.motion-paused * {
  animation-play-state: paused !important;
  transition: none !important;
}
.motion-paused {
  scroll-behavior: auto;
}
@keyframes bob {
  50% {
    transform: translateY(-9px) rotate(-10deg);
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(25px) rotate(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(3deg);
  }
}
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
    gap: 45px;
  }
  .hero-copy {
    max-width: 620px;
  }
  .hero-art {
    max-width: 650px;
    margin: 0 10px;
  }
  .hero-art img {
    aspect-ratio: 1.5;
  }
  .intro {
    max-width: 440px;
  }
  h1 {
    font-size: 85px;
  }
  .night {
    gap: 35px;
  }
  .postcard-maker {
    gap: 30px;
  }
  .adventure {
    padding: 30px;
  }
  .compass {
    width: 190px;
    height: 190px;
  }
  .puffin-break {
    gap: 20px;
  }
  .section {
    padding: 60px 6vw;
  }
  .ribbon {
    justify-content: flex-start;
    font-size: 12px;
  }
  .masthead {
    padding: 25px 6vw;
  }
  .night {
    padding-top: 0;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  nav {
    gap: 12px;
  }
  nav a {
    font-size: 12px;
  }
  nav button {
    font-size: 12px;
    padding: 8px;
  }
  nav a:first-child {
    display: none;
  }
  .wordmark {
    font-size: 29px;
  }
  .hero {
    padding: 30px 6vw 60px;
    overflow: clip;
  }
  h1 {
    font-size: 72px;
  }
  .hero-art {
    margin: 0 5px;
  }
  .stamp {
    width: 90px;
    height: 90px;
    font-size: 12px;
    right: -12px;
    bottom: 50px;
  }
  .hero-art figcaption {
    font-size: 12px;
  }
  .hero-art figcaption span:last-child {
    display: none;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 25px;
    max-width: 100%;
  }
  .adventure,
  .night,
  .postcard-maker,
  .puffin-break {
    grid-template-columns: 1fr;
  }
  .compass {
    width: 190px;
    height: 190px;
    margin-top: 10px;
  }
  .moods {
    gap: 7px;
  }
  .moods button {
    font-size: 12px;
    padding: 10px 13px;
  }
  .night {
    gap: 40px;
  }
  .postcard-maker {
    gap: 35px;
  }
  .picnic-items button {
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
  .picnic-items {
    gap: 8px;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 35px 6vw;
  }
  .section {
    padding: 48px 6vw;
  }
  .night {
    padding-top: 5px;
  }
  h2 {
    font-size: 49px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
