:root {
  --sky: #1557d6;
  --sky-deep: #0f46b3;
  --ink: #0a2a52;
  --ink-soft: #3d5878;
  --ice: #e4f1fc;
  --line: #bcd7ef;
  --control: #6f93b6;
  --white: #fff;
  --go: #ff6b1a;
  --go-hover: #ff8440;
  --error: #b3261e;

  --display: "Bitter", Rockwell, Georgia, serif;
  --figure: "Sofia Sans Condensed", "Arial Narrow", sans-serif;
  --hand: "Patrick Hand", "Segoe Print", cursive;
  --text: "Sofia Sans", "Segoe UI", system-ui, sans-serif;

  --gap: clamp(14px, 4vw, 32px);
  --pad: clamp(20px, 5.4vw, 44px);
  --radius: 20px;
  --long-head: clamp(2.125rem, 9.4vw, 3rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--line) var(--sky-deep);
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.45;
}

main {
  flex: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gap) clamp(48px, 9vw, 88px);
}

::selection {
  background: var(--ink);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.site-footer :focus-visible,
.closing :focus-visible {
  outline-color: var(--white);
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: var(--header-top, 0);
  z-index: 4;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px var(--gap);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", var(--text);
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.logo-first {
  display: block;
  margin-bottom: 2px;
  color: #3b6e99;
  font-family: var(--text);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.logo-rest {
  display: block;
}

.logo svg {
  flex: none;
  width: 40px;
  height: 40px;
}

.logo {
  grid-column: 1 / -1;
}

.header-inner .btn-small {
  grid-column: 2;
  grid-row: 2;
}

.site-nav {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  gap: 4px;
  margin-left: -12px;
}

.site-nav a {
  display: block;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--ice);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--sky);
  text-underline-offset: 6px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 10px;
  font: 800 1.1875rem/1.1 var(--text);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn-go {
  background: var(--go);
  color: var(--ink);
}

.btn-go:hover {
  background: var(--go-hover);
}

.btn-line {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-line:hover {
  background: var(--ice);
}

.btn-small {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 1.0625rem;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Founding banner */

.banner {
  background: var(--ink);
  color: var(--white);
  padding: 9px var(--gap);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
}

/* The pass */

.strap {
  width: 34px;
  height: clamp(30px, 5vw, 44px);
  margin: 0 auto -18px;
  position: relative;
  z-index: 1;
  background: var(--ink);
  border-radius: 0 0 4px 4px;
}

.pass {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px -14px rgb(6 26 71 / 0.6);
}

.pass-slot {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 62px;
  height: 14px;
  margin-left: -31px;
  border-radius: 8px;
  background: var(--sky);
  box-shadow: inset 0 2px 3px rgb(6 26 71 / 0.45);
}

.pass-main {
  padding: 42px var(--pad) 24px;
}

.pass-stub {
  position: relative;
  padding: 20px var(--pad);
}

/* Perforation: notches at each edge and a row of holes between them. */
.pass-stub::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: -3px;
  height: 6px;
  background: radial-gradient(circle, var(--sky) 2.6px, transparent 3px) 0 0 / 14px 6px round no-repeat;
}

.notch {
  position: absolute;
  top: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: inset 0 2px 3px rgb(6 26 71 / 0.35);
}

.notch-a {
  left: -12px;
  clip-path: inset(0 0 0 50%);
}

.notch-b {
  right: -12px;
  clip-path: inset(0 50% 0 0);
}

/* Home */

.hero h1 {
  font-size: clamp(2.625rem, 14vw, 4.25rem);
}

.hero .lede {
  margin-top: 14px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.season {
  margin-top: 16px;
}

.season-dates {
  font-weight: 700;
}

.months {
  display: grid;
  grid-template-columns: repeat(6, 36px);
  justify-content: space-between;
  margin-top: 10px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

.months li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hole {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  outline: 1.5px dashed var(--line);
  outline-offset: 2px;
}

.hole::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: inset 0 3px 4px rgb(6 26 71 / 0.45);
}

.hero .stub-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trust {
  margin-top: clamp(28px, 6vw, 44px);
  display: grid;
  gap: 16px;
  color: var(--white);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 14px;
  text-wrap: balance;
}

.trust svg {
  flex: none;
  width: 30px;
  height: 30px;
}

/* Page headings on the blue ground */

.page-head {
  padding: clamp(28px, 6vw, 56px) 0 clamp(20px, 4vw, 32px);
  color: var(--white);
}

.page-head h1 {
  font-size: clamp(2.75rem, 12vw, 4rem);
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}

.plan .pass-main {
  padding-top: 38px;
}

.depth {
  margin-top: 16px;
  font-size: 1.1875rem;
  font-weight: 600;
}

.depth strong {
  display: block;
  font-family: var(--figure);
  font-size: clamp(5.25rem, 26vw, 6.5rem);
  font-weight: 800;
  line-height: 0.85;
  color: var(--sky);
}

.plan-note {
  margin-top: 12px;
  font-family: var(--hand);
  font-size: 1.375rem;
  line-height: 1.2;
}

.fares {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fares div {
  display: flex;
  flex-direction: column;
}

.fares dt {
  font-weight: 600;
}

.fares dd {
  font-family: var(--figure);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
}

.included {
  margin-top: var(--gap);
  padding: 26px var(--pad);
  background: var(--ice);
  border-radius: var(--radius);
}

.plan h2,
.included h2,
.section h2,
.pay h2 {
  font-size: clamp(1.75rem, 6vw, 2.25rem);
}

.checks {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.checks li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: inset 0 2px 3px rgb(6 26 71 / 0.45);
}

.small-print {
  margin-top: 24px;
  display: grid;
  gap: 4px;
  color: var(--white);
}

.closing {
  margin-top: 24px;
}

.closing .btn {
  width: 100%;
  border-color: var(--white);
}

/* About */

.intro {
  display: grid;
}

.intro .pass-main {
  padding-bottom: 28px;
}

.intro h1 {
  font-size: var(--long-head);
}

.photo {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  align-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px dashed var(--line);
  border-radius: 10px;
  background: var(--ice);
  color: var(--ink-soft);
  font-weight: 600;
}

.photo svg {
  width: 40px;
  height: 40px;
}

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

.section {
  margin-top: clamp(36px, 8vw, 64px);
}

.on-sky {
  color: var(--white);
}

.map {
  margin-top: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px;
}

.map svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-note {
  margin-top: 8px;
  font-size: 1rem;
  text-wrap: balance;
}

.promise {
  padding: 26px var(--pad);
  background: var(--white);
  border-radius: var(--radius);
}

.promise p {
  font-size: 1.25rem;
  line-height: 1.3;
}

.promise-big {
  display: block;
  margin: 2px 0 6px;
  font-family: var(--figure);
  font-size: clamp(4.5rem, 22vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--sky);
}

.promise h2 {
  margin-bottom: 14px;
}

.promise p + p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--hand);
  font-size: 1.5rem;
  line-height: 1.2;
}

.faq {
  margin-top: 16px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq details + details {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 12px var(--pad);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  background: var(--ice);
}

.faq summary:focus-visible {
  outline-offset: -4px;
}

.faq summary svg {
  flex: none;
  width: 22px;
  height: 22px;
  transition: transform 0.25s var(--ease-out);
}

.faq details[open] summary svg {
  transform: rotate(180deg);
}

.faq details p {
  padding: 0 var(--pad) 18px;
}

/* Before and after slider */

.compare {
  --split: 50%;
  position: relative;
  display: block;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  border-radius: 10px;
  background: var(--ice);
  color: var(--ink);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.compare-layer {
  position: absolute;
  inset: 0;
}

.compare-layer svg,
.compare-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare-before {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.compare-label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0 12px 1px;
  border-radius: 99px;
  background: var(--white);
  font-family: var(--hand);
  font-size: 1.25rem;
  line-height: 1.3;
}

.compare-label-after {
  left: auto;
  right: 10px;
}

.compare-sample {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 1;
  padding: 3px 12px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transform: translateX(-50%);
  pointer-events: none;
}

.compare input {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 4px;
  margin-left: -2px;
  background: var(--ink);
  pointer-events: none;
}

.compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
}

.compare-knob svg {
  width: 26px;
  height: 26px;
}

.compare input:focus-visible ~ .compare-handle .compare-knob {
  background: var(--ice);
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* Sign up */

.field {
  margin-top: 16px;
}

.field:first-child {
  margin-top: 0;
}

.field label,
.field legend {
  display: block;
  margin-bottom: 6px;
  padding: 0;
  font-weight: 700;
}

.optional {
  font-weight: 400;
  color: var(--ink-soft);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--control);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  caret-color: var(--sky);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--ink);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--sky);
  outline: 2px solid var(--sky);
  outline-offset: 0;
}

.field[data-invalid] input[type],
.field[data-invalid] textarea,
.field[data-invalid] .choice span {
  border-color: var(--error);
}

.error {
  margin-top: 6px;
  color: var(--error);
  font-size: 1rem;
  font-weight: 600;
}

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

.choices-2 {
  grid-template-columns: 1fr 1fr;
}

.choice {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.field .choice {
  margin: 0;
  font-weight: 400;
}

.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.choice span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border: 2px solid var(--control);
  border-radius: 10px;
  font-weight: 700;
  line-height: 1.15;
  transition: border-color 0.15s, background-color 0.15s;
}

.choice span::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  outline: 1.5px dashed var(--control);
  outline-offset: 1px;
}

.choice:hover span {
  border-color: var(--ink);
}

.choice input:checked + span {
  border-color: var(--sky);
  background: var(--ice);
}

.choice input:checked + span::before {
  background: var(--sky);
  outline-color: transparent;
  box-shadow: inset 0 2px 3px rgb(6 26 71 / 0.45);
}

.choice input:focus-visible + span {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.trap {
  position: absolute;
  left: -9999px;
}

.receipt {
  font-variant-numeric: tabular-nums;
}

.receipt-hint {
  color: var(--ink-soft);
  min-height: 3.2em;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0;
}

.receipt-total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  align-items: baseline;
  font-weight: 700;
}

.receipt-total strong {
  font-family: var(--figure);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
}

.receipt-tax {
  color: var(--ink-soft);
  font-size: 1rem;
}

.submit {
  width: 100%;
  margin-top: 16px;
}

.form-error {
  margin-top: 12px;
  color: var(--error);
  font-weight: 600;
}

.thanks {
  position: relative;
  padding: 42px var(--pad) 32px;
  overflow: hidden;
}

.thanks h2 {
  font-size: var(--long-head);
  max-width: 11em;
}

.thanks p {
  margin-top: 12px;
}

.stamp {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 16px;
  border: 4px solid var(--sky);
  border-radius: 8px;
  color: var(--sky);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  transform: rotate(-5deg);
}

.pay {
  margin-top: var(--gap);
  padding: 26px var(--pad);
  background: var(--ice);
  border-radius: var(--radius);
}

.pay p {
  margin-top: 10px;
}

.pay-email {
  overflow-wrap: anywhere;
  font-weight: 700;
}

.pay-buttons {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay-deposit:empty {
  display: none;
}

.pay-note {
  font-size: 1rem;
  font-weight: 600;
}

[hidden] {
  display: none !important;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px var(--gap) 22px;
  display: grid;
}

.footer-inner p,
.footer-inner a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.footer-name {
  font-weight: 800;
}

.footer-inner a {
  overflow-wrap: anywhere;
}

/* Motion: the one authored moment. Months are punched in sequence on load. */

@keyframes punch {
  from {
    transform: scale(0);
  }
  60% {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

@keyframes chad {
  from {
    transform: translateY(0) rotate(0);
    opacity: 1;
  }
  to {
    transform: translateY(70px) rotate(90deg);
    opacity: 0;
  }
}

@keyframes stamp {
  from {
    transform: rotate(-5deg) scale(1.8);
    opacity: 0;
  }
  to {
    transform: rotate(-5deg) scale(1);
    opacity: 1;
  }
}

.hole::before {
  animation: punch 0.28s var(--ease-out) backwards;
  animation-delay: calc(0.35s + var(--i) * 0.11s);
}

.hole::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 2px rgb(6 26 71 / 0.4);
  opacity: 0;
  pointer-events: none;
  animation: chad 0.6s ease-in backwards;
  animation-delay: calc(0.35s + var(--i) * 0.11s);
}

.stamp {
  animation: stamp 0.3s var(--ease-out) 0.15s backwards;
}

/* Larger screens */

@media (min-width: 720px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 16px;
  }

  .logo,
  .header-inner .btn-small {
    grid-column: auto;
    grid-row: auto;
  }

  .site-nav {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }

  .checks {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }

  .trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .closing .btn {
    width: auto;
    min-width: 260px;
  }
}

@media (min-width: 900px) {
  /* The pass turns landscape and the stub moves to the right. */
  .ticket {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .ticket .pass-main {
    padding-top: 44px;
    padding-bottom: 36px;
  }

  .ticket .pass-stub {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 32px;
  }

  .ticket .pass-stub::before {
    left: -3px;
    right: auto;
    top: 16px;
    bottom: 16px;
    width: 6px;
    height: auto;
    background: radial-gradient(circle, var(--sky) 2.6px, transparent 3px) 0 0 / 6px 14px no-repeat round;
  }

  .ticket .notch {
    left: -12px;
    right: auto;
  }

  .ticket .notch-a {
    top: -12px;
    clip-path: inset(50% 0 0 0);
  }

  .ticket .notch-b {
    top: auto;
    bottom: -12px;
    clip-path: inset(0 0 50% 0);
  }

  .ticket .pass-slot {
    left: 44px;
    margin-left: 0;
  }

  .hero .stub-actions {
    grid-template-columns: 1fr;
  }

  main > .strap,
  .hero-wrap .strap {
    margin-left: 58px;
  }

  .hero .months {
    max-width: 440px;
  }

  .intro.ticket {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

  .intro.ticket .pass-stub {
    padding: 24px;
  }

  .intro .pass-main {
    align-self: center;
    padding-bottom: 44px;
  }

  .signup-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .signup-pass .pass-slot {
    left: 44px;
    margin-left: 0;
  }

  .signup-layout .pass-stub {
    justify-content: flex-start;
  }

  .stub-sticky {
    position: sticky;
    top: calc(var(--bar, 0px) + 20px);
  }

  .before-after {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: var(--gap);
  }

  .before-after .map {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 0;
  }

  .before-after .map-note {
    grid-column: 1;
    font-size: 1.125rem;
    margin-top: 12px;
  }

  .about-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
  }

  .intro h1 {
    font-size: 2.75rem;
  }

  .about-pair .section:last-child {
    display: flex;
  }

  .about-pair .promise {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

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

/* Motion and depth */

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
}

html,
body {
  overflow-x: clip;
}

.snowfall {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.banner,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: clamp(34px, 7vw, 76px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70V38c90-30 190-34 300-14s190 30 320 4 240-34 340-14 170 22 240 2v54z' fill='%230a2a52'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

.btn-go {
  transition: background-color 0.15s, transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn-go:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
}

@keyframes swing {
  0% {
    rotate: -2.6deg;
    translate: 0 -14px;
  }
  34% {
    rotate: 1.3deg;
    translate: 0 0;
  }
  58% {
    rotate: -0.6deg;
  }
  78% {
    rotate: 0.25deg;
  }
  100% {
    rotate: 0deg;
  }
}

.motion .hero,
.motion .intro {
  transform-origin: 50% 0;
  animation: swing 1.7s ease-out both;
}

/* Words rise out of a mask */

.w {
  display: inline-block;
  overflow: clip;
  overflow-clip-margin: 0.1em;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
  vertical-align: top;
}

.w > span {
  display: inline-block;
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}

.motion .split:not(.in) .w > span {
  transform: translateY(118%);
}

.promise-big .w,
.depth strong .w {
  display: inline-block;
}

/* Passes tilt in, panels are wiped clear like a plough pass */

.motion .arrive {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s var(--ease-out);
}

.motion .arrive:not(.in) {
  transform: translateY(46px) rotate(var(--tilt, 0deg));
  opacity: 0;
}

.motion .arrive.in {
  animation: arrive 0.95s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

@keyframes arrive {
  from {
    transform: translateY(46px) rotate(var(--tilt, 0deg));
    opacity: 0;
  }
}

.motion .wipe:not(.wiped) {
  clip-path: inset(0 100% 0 0 round var(--radius));
  transition: clip-path 0.95s cubic-bezier(0.65, 0, 0.35, 1);
}

.motion .wipe.in:not(.wiped) {
  clip-path: inset(0 0 0 0 round var(--radius));
}

/* Ticker */

.ticker-wrap {
  margin: clamp(22px, 5vw, 36px) calc(50% - 50vw) -12px;
  padding: 12px 0;
  overflow: clip;
}

.ticker {
  padding: 12px 0;
  overflow: hidden;
  background: var(--ice);
  color: var(--ink);
  rotate: -1deg;
  scale: 1.02;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker ul {
  display: flex;
  flex: none;
}

.ticker li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.ticker li::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: inset 0 2px 3px rgb(6 26 71 / 0.45);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* Rotating season seal */

.seal {
  display: none;
}

.seal text {
  fill: var(--ink);
  font-size: 12.6px;
  font-weight: 700;
}

@keyframes turn {
  to {
    rotate: 360deg;
  }
}

/* How a snowfall goes */

.story {
  margin-top: clamp(36px, 8vw, 64px);
}

.story h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 6vw, 2.25rem);
}

.story-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.story-card {
  position: relative;
  padding: 14px 14px 18px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px -14px rgb(6 26 71 / 0.6);
}

.story-scene {
  position: relative;
  border-radius: 10px;
  background: var(--ice);
  overflow: hidden;
}

.story-scene > svg {
  display: block;
  width: 100%;
  height: 100%;
}

.story-depth {
  position: absolute;
  top: 8px;
  left: 14px;
  color: var(--sky);
  font-family: var(--figure);
  font-size: clamp(2.75rem, 12vw, 3.5rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  transition: opacity 0.3s;
}

.story-message {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 340px;
  margin-left: auto;
  padding: 8px 14px 8px 8px;
  border-radius: 14px 14px 4px 14px;
  background: var(--sky);
  color: var(--white);
  font-weight: 600;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transform-origin: 100% 100%;
  transition: opacity 0.3s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-photo {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--white);
  color: var(--sky);
}

.story-photo svg {
  width: 26px;
  height: 26px;
}

.story[data-step="2"] .story-message {
  opacity: 1;
  transform: none;
}

.story[data-step="2"] .story-depth {
  opacity: 0;
}

.story-steps {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  padding: 0 6px;
  list-style: none;
}

.story-steps h3 {
  margin: 0 0 2px;
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.15;
}

.story-dots {
  display: none;
}

/* Scroll-driven version: one step on screen at a time */

.story-live {
  height: 320svh;
}

.story-live .story-stage {
  position: sticky;
  top: var(--bar, 0px);
  height: calc(100svh - var(--bar, 0px));
  padding: 14px 0 14px;
}

.story-live .story-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.story-live .story-scene {
  flex: 1;
  min-height: 0;
}

.story-live .story-steps {
  grid-template-areas: "step";
  min-height: 7.4em;
}

.story-live .story-steps li {
  grid-area: step;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-live .story-steps li.is-on {
  opacity: 1;
  transform: none;
}

.story-live .story-dots {
  display: flex;
  gap: 6px;
  padding: 0 6px;
}

.story-dots span {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: var(--line);
  transition: background-color 0.3s;
}

.story-dots span.is-on {
  background: var(--sky);
}

/* Shown when someone stops partway through the snowfall story */

.story-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 12px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.story-hint svg {
  flex: none;
  width: 20px;
  height: 20px;
  animation: nudge 1.1s ease-in-out infinite;
}

.story-hint.is-on {
  opacity: 1;
  transform: none;
}

@keyframes nudge {
  50% {
    transform: translateY(4px);
  }
}

/* Floating Book now button on phones */

.pill {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 22px;
  border: 2px solid var(--white);
  border-radius: 99px;
  background: var(--go);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 26px -10px rgb(6 26 71 / 0.7);
  transform: translate(-50%, 90px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pill span {
  font-weight: 600;
}

.pill.is-on {
  transform: translate(-50%, 0);
}

.pill:focus-visible {
  outline-color: var(--white);
}

@media (min-width: 720px) {
  .pill {
    display: none;
  }
}

@media (min-width: 900px) {
  .motion .hero,
  .motion .intro {
    transform-origin: 75px 0;
  }

  .hero .pass-stub {
    justify-content: center;
    gap: 22px;
  }

  .seal {
    display: block;
    align-self: center;
    width: 132px;
    height: 132px;
    animation: turn 26s linear infinite;
  }

  .story-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .story-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    column-gap: 28px;
    padding: 16px 28px 16px 16px;
  }

  .story-steps {
    align-self: center;
    margin-top: 0;
    gap: 22px;
  }

  .story-steps h3 {
    font-size: 1.75rem;
  }

  .story-dots {
    grid-column: 2;
  }

  .story-live .story-stage {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .story-live .story-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .story-live .story-scene {
    grid-row: 1 / 3;
  }

  .story-live .story-dots {
    align-self: end;
    padding-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}
