/* =========================================================
   Skip a Snack This Christmas
   Mobile first, app-style below 960px, site-style above.
   ========================================================= */

:root {
  --pine: #0e2a22;
  --pine-2: #143a2f;
  --pine-3: #1d4d3e;
  --berry: #c62a3f;
  --berry-2: #a51d31;
  --gold: #e9b44c;
  --gold-2: #f6d58c;
  --cream: #fbf4e8;
  --cream-2: #f3e7d2;
  --paper: #fffdf8;
  --ink: #1b1a17;
  --muted: #6b655a;
  --hair: rgba(27, 26, 23, .1);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "DM Sans", "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --nav-h: 44px;
  --tab-h: 52px;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 14px 40px -18px rgba(14, 42, 34, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.32, .72, 0, 1);
}

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

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

button,
a,
.tab,
.list-row {
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
}

/* Default icon style */
svg[viewBox="0 0 24 24"] {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.swap-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg .fill {
  fill: currentColor;
  stroke: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, opacity .2s;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn:active {
  transform: scale(.96);
  opacity: .9;
}

.btn-primary {
  background: var(--berry);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(198, 42, 63, .8);
}

.btn-ghost {
  border-color: rgba(251, 244, 232, .35);
  color: var(--cream);
}

.btn-gold {
  background: var(--gold);
  color: var(--pine);
  box-shadow: 0 10px 24px -12px rgba(233, 180, 76, .9);
}

.btn-soft {
  background: var(--cream-2);
  color: var(--pine);
}

.btn-plain {
  color: var(--muted);
  min-height: 44px;
}

.btn-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: .9rem;
}

.btn-block {
  width: 100%;
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--berry-2);
    transform: translateY(-2px);
  }

  .btn-gold:hover {
    background: var(--gold-2);
    transform: translateY(-2px);
  }

  .btn-ghost:hover {
    border-color: var(--cream);
  }
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: background .2s, transform .2s;
}

.icon-btn svg {
  width: 21px;
  height: 21px;
}

.icon-btn:active {
  transform: scale(.9);
  background: rgba(255, 255, 255, .12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

/* =========================================================
   App shell + screens
   ========================================================= */
.screens {
  position: fixed;
  inset: 0;
}

.screen {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  padding-bottom: calc(var(--tab-h) + var(--safe-b) + 28px);
  background: var(--cream);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .28s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}

.screen.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .32s var(--ease), transform .45s var(--ease), visibility 0s;
  z-index: 1;
}

/* ---------- iOS navigation bar (per screen, mobile) ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: var(--safe-t);
  transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}

.navbar-inner {
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding: 0 8px;
}

.navbar-side {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}

.navbar-title {
  text-align: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .25s var(--ease);
}

.screen.compact .navbar {
  background: rgba(251, 244, 232, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 .5px 0 var(--hair);
}

.screen.compact .navbar-title {
  opacity: 1;
  transform: none;
}

.navbar-dark {
  color: var(--cream);
  margin-bottom: calc(-1 * (var(--nav-h) + var(--safe-t)));
}

.navbar-dark .navbar-brand {
  text-decoration: none;
}

.screen.compact .navbar-dark {
  background: rgba(14, 42, 34, .78);
  box-shadow: 0 .5px 0 rgba(255, 255, 255, .08);
}

/* Large title (iOS style) */
.large-title {
  padding: 6px 0 18px;
}

.large-title h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--pine);
}

.large-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .98rem;
}

.eyebrow {
  margin: 0 0 4px;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--berry);
}

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: var(--safe-b);
  background: rgba(251, 244, 232, .8);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 -.5px 0 var(--hair);
}

.tab {
  height: var(--tab-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-decoration: none;
  color: #8f897d;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: color .2s;
}

.tab svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.8;
  transition: transform .35s var(--spring), fill .2s;
}

.tab.active {
  color: var(--berry);
}

.tab.active svg {
  fill: currentColor;
  fill-opacity: .16;
  stroke-width: 2.1;
}

.tab.bounce svg {
  animation: tabBounce .45s var(--spring);
}

@keyframes tabBounce {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(.82);
  }

  100% {
    transform: scale(1);
  }
}

/* Desktop top nav is hidden on mobile */
.topnav {
  display: none;
}

/* =========================================================
   HOME
   ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + var(--safe-t) + 28px) 0 96px;
  color: var(--cream);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(233, 180, 76, .18), transparent 60%),
    radial-gradient(80% 50% at 100% 100%, rgba(198, 42, 63, .22), transparent 60%),
    linear-gradient(180deg, var(--pine) 0%, var(--pine-2) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: calc(var(--nav-h) + var(--safe-t) - 6px);
  left: -5%;
  right: -5%;
  height: 40px;
  background:
    radial-gradient(circle at 10px 22px, var(--gold) 4px, transparent 5px) 0 0 / 56px 40px repeat-x,
    radial-gradient(circle at 38px 26px, var(--berry) 4px, transparent 5px) 0 0 / 56px 40px repeat-x;
  animation: twinkle 2.4s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 6px rgba(233, 180, 76, .7));
}

@keyframes twinkle {
  from {
    opacity: .45;
  }

  to {
    opacity: 1;
  }
}

.snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 20px;
}

.kicker {
  margin: 20px 0 0;
  font-family: var(--font-ui);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 13vw, 6rem);
  line-height: .95;
  letter-spacing: -.02em;
}

.script-line {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  margin-top: 6px;
}

.hero-sub {
  margin: 0;
  max-width: 34ch;
  font-size: 1.06rem;
  color: rgba(251, 244, 232, .85);
}

.hero-sub strong {
  color: var(--cream);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tag-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 4px;
}

.string {
  width: 2px;
  height: 36px;
  background: linear-gradient(var(--gold), rgba(233, 180, 76, .4));
}

.gift-tag {
  position: relative;
  width: min(300px, 86%);
  padding: 30px 22px 22px;
  background: var(--cream);
  color: var(--ink);
  clip-path: polygon(14% 0, 86% 0, 100% 14%, 100% 100%, 0 100%, 0 14%);
  border-radius: 14px;
  transform-origin: 50% -36px;
  animation: swing 4.5s ease-in-out infinite;
  box-shadow: var(--shadow);
}

.gift-tag::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px dashed rgba(198, 42, 63, .35);
  clip-path: inherit;
  pointer-events: none;
}

.tag-hole {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--pine-2);
  box-shadow: inset 0 0 0 2px var(--gold);
}

.tag-line {
  margin: 4px 0;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--pine);
}

.tag-line span {
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--berry);
  margin-right: 4px;
}

.tag-line em {
  font-style: normal;
  color: var(--berry);
}

@keyframes swing {

  0%,
  100% {
    transform: rotate(-4deg);
  }

  50% {
    transform: rotate(4deg);
  }
}

.countdown {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(251, 244, 232, .06);
  border: 1px solid rgba(251, 244, 232, .12);
}

.countdown-label {
  margin: 0 0 10px;
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(251, 244, 232, .7);
  text-align: center;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}

.countdown-grid div {
  padding: 10px 0;
  border-radius: 12px;
  background: rgba(14, 42, 34, .6);
}

.countdown-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.countdown-grid span {
  font-family: var(--font-ui);
  font-size: .7rem;
  color: rgba(251, 244, 232, .7);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  fill: var(--cream);
  z-index: 2;
}

/* Home blocks */
.block {
  padding: 28px 0 8px;
}

.block-last {
  padding-bottom: 24px;
}

.block-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.block-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--pine);
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--berry);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  padding: 6px 0;
}

.see-all svg {
  width: 18px;
  height: 18px;
}

/* Moments strip (home) */
.strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  padding: 4px 20px 14px;
  scrollbar-width: none;
}

.strip::-webkit-scrollbar {
  display: none;
}

.strip-item {
  position: relative;
  flex: none;
  width: 128px;
  height: 172px;
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--cream-2);
  box-shadow: 0 10px 22px -16px rgba(14, 42, 34, .6);
  transition: transform .25s var(--ease);
}

.strip-item:active {
  transform: scale(.96);
}

.strip-item img,
.strip-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .45));
  pointer-events: none;
}

.strip-more {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  background: var(--pine);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 600;
  text-align: center;
}

.strip-more::after {
  display: none;
}

.strip-more strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--hair);
}

.step h3 {
  margin: 0;
  font-size: 1.02rem;
  font-family: var(--font-ui);
  letter-spacing: -.01em;
}

.step p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.45;
}

.step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--berry);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}

.cta-card {
  position: relative;
  padding: 28px 22px;
  border-radius: 24px;
  color: var(--cream);
  text-align: center;
  background:
    radial-gradient(80% 80% at 0% 0%, rgba(198, 42, 63, .4), transparent 60%),
    radial-gradient(70% 70% at 100% 100%, rgba(233, 180, 76, .25), transparent 60%),
    var(--pine);
  overflow: hidden;
}

.cta-kicker {
  margin: 0 0 6px;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--gold);
}

.cta-card h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.15;
}

/* =========================================================
   MOMENTS
   ========================================================= */
.segmented {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 3px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: rgba(118, 105, 85, .14);
  max-width: 420px;
}

.segmented button {
  position: relative;
  z-index: 1;
  height: 32px;
  font-family: var(--font-ui);
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 9px;
  transition: opacity .2s;
}

.segmented button[aria-selected="false"] {
  opacity: .7;
}

.segmented-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / 3);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .12), 0 3px 1px rgba(0, 0, 0, .04);
  transition: transform .35s var(--spring);
}

.moments-body {
  min-height: 50vh;
}

.moments-section {
  margin-bottom: 26px;
  animation: fadeUp .5s var(--ease) both;
}

.moments-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 10px;
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--pine);
}

.moments-label small {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Featured (cinematic) */
.featured {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 40px -26px rgba(14, 42, 34, .8);
  text-align: left;
}

.featured video,
.featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, transparent 30%, transparent 55%, rgba(0, 0, 0, .65) 100%);
  pointer-events: none;
}

.featured-meta {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.featured-meta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.1;
}

.featured-meta p {
  margin: 2px 0 0;
  font-family: var(--font-ui);
  font-size: .82rem;
  opacity: .85;
}

.featured-play {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.featured-play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--berry);
  color: #fff;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Reels (portrait videos) */
.reels {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -20px;
  padding: 2px 20px 8px;
  scroll-padding: 0 20px;
  scrollbar-width: none;
}

.reels::-webkit-scrollbar {
  display: none;
}

.reel {
  position: relative;
  flex: none;
  width: 42vw;
  max-width: 220px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #111;
  transition: transform .25s var(--ease);
}

.reel:active {
  transform: scale(.97);
}

.reel:first-child {
  margin-left: auto;
}

.reel:last-child {
  margin-right: auto;
}

.reel video,
.reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .55));
  pointer-events: none;
}

/* Shared media chip */
.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.chip svg {
  width: 11px;
  height: 11px;
}

.chip-br {
  right: 8px;
  bottom: 8px;
}

.chip-bl {
  left: 10px;
  bottom: 10px;
}

.chip-tr {
  right: 8px;
  top: 8px;
}

/* Justified gallery */
.gallery {
  position: relative;
  width: 100%;
  transition: height .35s var(--ease);
}

.tile {
  position: absolute;
  overflow: hidden;
  border-radius: 14px;
  background: var(--cream-2);
  transition: top .4s var(--ease), left .4s var(--ease), width .4s var(--ease), height .4s var(--ease), transform .2s var(--ease);
  animation: tileIn .5s var(--ease) both;
}

.tile:active {
  transform: scale(.97);
}

.tile img,
.tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

@keyframes tileIn {
  from {
    opacity: 0;
    transform: scale(.94);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) {

  .tile:hover img,
  .tile:hover video,
  .reel:hover video,
  .strip-item:hover img {
    transform: scale(1.04);
  }
}

.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  border: 1.5px dashed var(--hair);
  border-radius: var(--radius);
}

/* Skeleton */
.skeleton-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.skeleton-grid span {
  height: 150px;
  border-radius: 14px;
  background: linear-gradient(100deg, var(--cream-2) 30%, #fbf1e0 50%, var(--cream-2) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.4s linear infinite;
}

.skeleton-grid span:nth-child(1),
.skeleton-grid span:nth-child(4) {
  height: 210px;
}

@keyframes shimmer {
  to {
    background-position: -150% 0;
  }
}

/* =========================================================
   GIVE
   ========================================================= */
.give-layout {
  display: grid;
  gap: 28px;
}

.group-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--pine);
}

.step-dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--gold);
  font-size: .8rem;
}

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

.swap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 14px;
  text-align: left;
  border-radius: 18px;
  border: 2px solid transparent;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--hair), 0 8px 20px -18px rgba(14, 42, 34, .6);
  transition: transform .2s var(--ease), border-color .25s, box-shadow .25s, background .25s;
}

.swap-card:active {
  transform: scale(.96);
}

.swap-card[aria-checked="true"],
.swap-custom.active {
  border-color: var(--berry);
  background: #fff6f3;
  box-shadow: 0 14px 30px -16px rgba(198, 42, 63, .6);
}

.swap-card[aria-checked="true"]::after,
.swap-custom.active::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--berry) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  animation: pop .35s var(--spring);
}

@keyframes pop {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.swap-icon {
  width: 42px;
  height: 42px;
  color: var(--pine-3);
}

.swap-icon .dots {
  stroke-width: 3.4;
}

.swap-card[aria-checked="true"] .swap-icon,
.swap-custom.active .swap-icon {
  color: var(--berry);
}

.steam {
  animation: steam 2s ease-in-out infinite;
}

@keyframes steam {

  0%,
  100% {
    opacity: .35;
  }

  50% {
    opacity: 1;
  }
}

.swap-name {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.3;
}

.swap-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--pine);
}

.swap-custom {
  cursor: text;
}

.custom-input {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--pine);
  line-height: 1;
}

.custom-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 2px dashed var(--cream-2);
  background: transparent;
  font: inherit;
  font-size: max(16px, 1em);
  /* stops iOS zoom */
  color: inherit;
  padding: 0 0 2px;
  outline: none;
  border-radius: 0;
  -moz-appearance: textfield;
}

.custom-input input:focus {
  border-bottom-color: var(--berry);
}

.custom-input input::-webkit-outer-spin-button,
.custom-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.result {
  position: relative;
  margin-top: 14px;
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--pine);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}

.result::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, rgba(233, 180, 76, .2), transparent 70%);
  pointer-events: none;
}

.result-plates {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.result-plates .plate {
  width: 38px;
  height: 38px;
  animation: plateIn .5s var(--spring) both;
}

.result-plates .more {
  align-self: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
}

@keyframes plateIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.5) rotate(-20deg);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.result-text {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.35;
}

.result-text strong {
  color: var(--gold);
}

#resultCta {
  margin-top: 16px;
  position: relative;
}

.gift-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(120deg, var(--gold), var(--gold-2));
  color: var(--pine);
  animation: fadeUp .4s var(--ease);
}

.gift-summary[hidden] {
  display: none;
}

.gift-summary-label {
  display: block;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
}

.gift-summary strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
}

.gift-summary-meals {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .9rem;
  text-align: right;
}

/* iOS inset grouped list */
.list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--hair), 0 10px 24px -20px rgba(14, 42, 34, .6);
}

.list li+li .list-row::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 70px;
  height: .5px;
  background: var(--hair);
}

.list-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 66px;
  padding: 10px 14px 10px 16px;
  text-align: left;
  text-decoration: none;
  transition: background .15s;
}

.list-row:active {
  background: rgba(0, 0, 0, .05);
}

@media (hover: hover) {
  .list-row:hover {
    background: rgba(14, 42, 34, .03);
  }
}

.list-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-family: var(--font-ui);
}

.list-text strong {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.list-text small {
  font-size: .85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.chev {
  width: 18px;
  height: 18px;
  color: #b6ae9f;
  flex: none;
}

.pill {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--pine);
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 700;
}

.pay-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
}

.pay-badge svg {
  width: 22px;
  height: 22px;
}

.pay-zelle {
  background: #6d1ed4;
}

.pay-venmo {
  background: #008cff;
}

.pay-apple {
  background: #000;
}

.pay-card {
  background: var(--gold);
  color: var(--pine);
}

.footnote {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 4px 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.footnote svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--gold);
  margin-top: 1px;
}

/* =========================================================
   STORY
   ========================================================= */
.story-grid {
  display: grid;
  gap: 28px;
}

.story-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.plate-art {
  width: min(260px, 76%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 180, 76, .25), transparent 70%);
  display: grid;
  place-items: center;
}

.plate-art svg {
  width: 100%;
  filter: drop-shadow(0 18px 24px rgba(14, 42, 34, .18));
}

.steam-lines path {
  animation: rise 3s ease-in-out infinite;
}

.steam-lines path:nth-child(2) {
  animation-delay: .5s;
}

.steam-lines path:nth-child(3) {
  animation-delay: 1s;
}

@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  40% {
    opacity: .9;
  }

  100% {
    opacity: 0;
    transform: translateY(-14px);
  }
}

.stamp {
  position: absolute;
  bottom: 6%;
  right: 8%;
  padding: 6px 12px;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--berry);
  border: 2px solid var(--berry);
  border-radius: 8px;
  transform: rotate(-10deg);
  background: rgba(251, 244, 232, .85);
}

.story-copy .block-title {
  margin-bottom: 12px;
}

.story-copy p {
  color: #3d3a33;
  margin: 0 0 14px;
}

.story-copy blockquote {
  margin: 20px 0;
  padding: 2px 0 2px 16px;
  border-left: 4px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--pine);
}

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

.pillars li {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--hair);
}

.pillars strong {
  font-family: var(--font-display);
  color: var(--berry);
  font-size: 1.08rem;
}

.pillars span {
  font-size: .9rem;
  color: var(--muted);
}

.share-card {
  margin: 34px 0 10px;
  text-align: center;
}

.share-card p {
  margin: 6px auto 18px;
  color: var(--muted);
  max-width: 40ch;
}

.share-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--hair), 0 8px 18px -16px rgba(14, 42, 34, .6);
  font-family: var(--font-ui);
  font-weight: 600;
  text-decoration: none;
  color: var(--pine);
  transition: transform .2s var(--ease);
}

.share-btn svg {
  width: 20px;
  height: 20px;
}

.share-btn:active {
  transform: scale(.96);
}

.footer {
  margin-top: 34px;
  padding: 36px 20px 30px;
  text-align: center;
  background: var(--pine);
  color: rgba(251, 244, 232, .75);
}

.footer-thanks {
  margin: 0 0 8px;
  font-family: var(--font-hand);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--gold);
}

.footer-org {
  margin: 0 0 4px;
  color: var(--cream);
}

.footer-small {
  margin: 0;
  font-size: .85rem;
}

.screen[data-screen="story"] {
  padding-bottom: 0;
}

.screen[data-screen="story"] .footer {
  padding-bottom: calc(var(--tab-h) + var(--safe-b) + 30px);
}

/* =========================================================
   Bottom sheet
   ========================================================= */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(10, 20, 16, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.sheet-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 71;
  max-height: 88vh;
  overflow-y: auto;
  padding: 8px 20px calc(16px + var(--safe-b));
  border-radius: 22px 22px 0 0;
  background: var(--paper);
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .4);
  transform: translateY(105%);
  transition: transform .45s var(--spring);
}

.sheet.show {
  transform: translateY(0);
}

.sheet-grabber {
  width: 38px;
  height: 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .18);
  margin: 0 auto 16px;
}

.sheet-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.sheet-head h3 {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.25rem;
  letter-spacing: -.01em;
}

.sheet-head p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.sheet-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  border: 1.5px dashed rgba(14, 42, 34, .2);
  background: var(--cream);
  transition: background .2s, border-color .2s;
}

.sheet-number span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: .02em;
  color: var(--pine);
  font-variant-numeric: tabular-nums;
}

.sheet-number small {
  font-family: var(--font-ui);
  color: var(--muted);
  font-size: .78rem;
}

.sheet-number.copied {
  border-color: var(--gold);
  border-style: solid;
  background: #fff6df;
}

.sheet-steps {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 10px;
}

.sheet-steps li {
  counter-increment: s;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .95rem;
  line-height: 1.4;
}

.sheet-steps li::before {
  content: counter(s);
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--pine);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: .8rem;
}

.sheet-steps strong {
  color: var(--berry);
}

.sheet-actions {
  display: grid;
  gap: 8px;
}

.sheet-actions [hidden] {
  display: none;
}

/* =========================================================
   Media viewer
   ========================================================= */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 90;
  color: #fff;
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.viewer[hidden] {
  display: none;
}

.viewer.show {
  opacity: 1;
}

.viewer-bg {
  position: absolute;
  inset: 0;
  background: #000;
  transition: opacity .2s;
}

.viewer-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--safe-t) + 8px) 12px 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), transparent);
  transition: opacity .25s;
}

.viewer-count {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}

.viewer-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
}

.viewer-btn svg {
  width: 20px;
  height: 20px;
}

.viewer-track {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
  overscroll-behavior: contain;
}

.viewer-track::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: none;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  padding: calc(var(--safe-t) + 56px) 0 calc(var(--safe-b) + 44px);
}

.slide-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease);
}

.slide img,
.slide video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.slide video {
  background: #000;
}

.slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--safe-b) + 40px);
  padding: 0 24px;
  text-align: center;
  font-size: .95rem;
  pointer-events: none;
}

.viewer-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--safe-b) + 14px);
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}

.viewer-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transition: background .2s, transform .2s;
}

.viewer-dots i.on {
  background: #fff;
  transform: scale(1.25);
}

.viewer-nav {
  display: none;
}

/* =========================================================
   Toast (iOS HUD style)
   ========================================================= */
.toast {
  position: fixed;
  left: 50%;
  top: calc(var(--safe-t) + 12px);
  z-index: 100;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(20, 24, 22, .86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .92rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  transform: translate(-50%, -220%);
  opacity: 0;
  transition: transform .45s var(--spring), opacity .25s;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.burst {
  position: fixed;
  z-index: 95;
  pointer-events: none;
  font-size: 18px;
  line-height: 1;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Tablet (still app-style)
   ========================================================= */
@media (min-width: 640px) {

  .container,
  .hero-inner {
    padding: 0 32px;
  }

  .hero-ctas {
    flex-direction: row;
  }

  .strip {
    padding: 4px 32px 14px;
    scroll-padding: 0 32px;
  }

  .strip-item {
    width: 160px;
    height: 214px;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .swap-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .share-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .skeleton-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reels {
    margin: 0 -32px;
    padding: 2px 32px 8px;
    scroll-padding: 0 32px;
  }

  .reel {
    width: 200px;
  }

  .sheet {
    left: 50%;
    right: auto;
    width: 480px;
    transform: translate(-50%, 105%);
  }

  .sheet.show {
    transform: translate(-50%, 0);
  }
}

/* =========================================================
   Desktop (site-style)
   ========================================================= */
@media (min-width: 960px) {
  :root {
    --tab-h: 0px;
  }

  .tabbar,
  .navbar {
    display: none;
  }

  .topnav {
    display: block;
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0 24px;
    pointer-events: none;
  }

  .topnav-inner {
    pointer-events: auto;
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 64px;
    padding: 0 12px 0 22px;
    border-radius: 999px;
    background: rgba(251, 244, 232, .78);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 0 0 1px var(--hair), 0 20px 40px -24px rgba(14, 42, 34, .5);
    color: var(--pine);
    transition: background .35s, color .35s, box-shadow .35s;
  }

  body[data-screen="home"] .topnav-inner {
    background: rgba(14, 42, 34, .55);
    color: var(--cream);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 20px 40px -24px rgba(0, 0, 0, .5);
  }

  .topnav .brand-mark {
    color: var(--gold);
  }

  body:not([data-screen="home"]) .topnav .brand-mark {
    color: var(--berry);
  }

  .topnav-links {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
  }

  .topnav-links a {
    padding: 9px 16px;
    border-radius: 999px;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: .93rem;
    text-decoration: none;
    opacity: .75;
    transition: background .25s, opacity .25s;
  }

  .topnav-links a:hover {
    opacity: 1;
  }

  .topnav-links a.active {
    opacity: 1;
    background: rgba(14, 42, 34, .08);
  }

  body[data-screen="home"] .topnav-links a.active {
    background: rgba(255, 255, 255, .14);
  }

  .topnav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .topnav .icon-btn:hover {
    background: rgba(127, 127, 127, .15);
  }

  .screen {
    padding-top: 112px;
    padding-bottom: 80px;
  }

  .screen-home {
    padding-top: 0;
  }

  .large-title {
    padding: 10px 0 28px;
  }

  .large-title h1 {
    font-size: 3.6rem;
  }

  .large-sub {
    font-size: 1.1rem;
  }

  /* Hero */
  .hero {
    padding: 150px 0 140px;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .hero::before {
    top: 96px;
  }

  .hero-inner {
    width: 100%;
    grid-template-columns: 1.25fr .85fr;
    grid-template-areas:
      "kicker tag"
      "title  tag"
      "sub    tag"
      "ctas   count";
    column-gap: 64px;
    align-items: start;
  }

  .kicker {
    grid-area: kicker;
  }

  .hero-title {
    grid-area: title;
  }

  .hero-sub {
    grid-area: sub;
    font-size: 1.2rem;
  }

  .hero-ctas {
    grid-area: ctas;
  }

  .tag-wrap {
    grid-area: tag;
    align-self: center;
  }

  .countdown {
    grid-area: count;
  }

  .gift-tag {
    width: 340px;
  }

  .tag-line {
    font-size: 1.75rem;
  }

  .hero-wave {
    height: 90px;
  }

  .block {
    padding: 72px 0 0;
  }

  .block-last {
    padding-bottom: 40px;
  }

  .block-title {
    font-size: 2.4rem;
  }

  .strip {
    max-width: 1160px;
    margin: 0 auto;
    padding: 6px 32px 18px;
  }

  .strip-item {
    width: 200px;
    height: 268px;
    border-radius: 22px;
  }

  .cta-card {
    padding: 56px;
  }

  .cta-card h2 {
    font-size: 2.6rem;
  }

  /* Moments */
  .moments-section {
    margin-bottom: 40px;
  }

  .moments-label {
    font-size: 1.4rem;
  }

  .featured {
    border-radius: 28px;
    max-height: min(560px, 62vh);
  }

  .featured-meta {
    left: 28px;
    right: 28px;
    bottom: 24px;
  }

  .featured-meta h3 {
    font-size: 2rem;
  }

  .featured-play {
    width: 60px;
    height: 60px;
  }

  .reels {
    margin: 0;
    padding: 2px 0 10px;
  }

  .reel {
    width: 230px;
    max-width: none;
    border-radius: 22px;
  }

  .tile {
    border-radius: 18px;
  }

  /* Give: two columns */
  .give-layout {
    grid-template-columns: 1.15fr .85fr;
    gap: 48px;
    align-items: start;
  }

  #payments {
    position: sticky;
    top: 112px;
  }

  .swap-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .swap-card {
    padding: 22px 20px;
  }

  .swap-price,
  .custom-input {
    font-size: 2.4rem;
  }

  .result {
    padding: 30px;
  }

  .list-row {
    min-height: 74px;
  }

  /* Story */
  .story-grid {
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 72px;
  }

  .story-copy .block-title {
    font-size: 2.6rem;
  }

  .share-card {
    margin-top: 80px;
  }

  .screen[data-screen="story"] .footer {
    padding-bottom: 40px;
    margin-top: 80px;
  }

  /* Sheet becomes a centered dialog */
  .sheet {
    top: 50%;
    bottom: auto;
    border-radius: 24px;
    transform: translate(-50%, -46%) scale(.96);
    opacity: 0;
    transition: transform .35s var(--spring), opacity .25s;
    padding: 24px 28px 24px;
  }

  .sheet.show {
    transform: translate(-50%, -50%);
    opacity: 1;
  }

  .sheet-grabber {
    display: none;
  }

  /* Viewer arrows */
  .viewer-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fff;
    transition: background .2s, opacity .2s;
  }

  .viewer-nav:hover {
    background: rgba(255, 255, 255, .26);
  }

  .viewer-nav:disabled {
    opacity: 0;
    pointer-events: none;
  }

  .viewer-nav svg {
    width: 24px;
    height: 24px;
  }

  .viewer-nav.prev {
    left: 24px;
  }

  .viewer-nav.next {
    right: 24px;
  }

  .slide {
    padding: 80px 100px 60px;
  }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .snow {
    display: none;
  }
}

/* Tap a photo in the viewer to hide controls */
.viewer.chrome-off .viewer-top,
.viewer.chrome-off .viewer-dots,
.viewer.chrome-off .slide-caption,
.viewer.chrome-off .viewer-nav {
  opacity: 0;
  pointer-events: none;
}

.viewer-dots,
.slide-caption {
  transition: opacity .25s;
}