/* NeurIPS Sydney 2026 meetup page: Sydney Harbour at golden hour.
   Standalone (layout: null), so nothing here touches the rest of the site. */

:root {
  --cream: #fff8ee;
  --paper: #fffdf8;
  --ink: #1f2b4d;
  --ink-soft: #4a5577;
  --harbour: #2c7aa0;
  --harbour-deep: #1d5a7a;
  --peach: #f7b89b;
  --sun: #f3b23c;
  --sun-soft: #ffe2a3;
  --lav: #cfc4ec;
  --sand-card: #fdebc8;
  --peach-card: #ffdccb;
  --sea-card: #d3ebf3;
  --lav-card: #e7e0fa;
  --sage-card: #dcebd2;
  --hand: "Caveat Brush", "Caveat", "Comic Sans MS", cursive;
  --script: "Caveat", "Caveat Brush", cursive;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--harbour-deep);
}

.wrap {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- hand-drawn underline ---------- */
.swash {
  position: relative;
  white-space: nowrap;
}
.swash svg {
  position: absolute;
  left: -2%;
  bottom: -0.32em;
  width: 104%;
  height: 0.45em;
  overflow: visible;
}
.swash path {
  fill: none;
  stroke: var(--sun);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw 1.1s 0.5s cubic-bezier(0.6, 0, 0.3, 1) forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- top bar ---------- */
.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  padding: 18px 0;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}
.brand svg {
  width: 46px;
  height: 24px;
}
.topnav {
  display: flex;
  gap: 26px;
  font-size: 15px;
  font-weight: 700;
}
.topnav a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
}
.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  border-radius: 3px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.topnav a:hover::after,
.topnav a.cta::after {
  transform: scaleX(1);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 0 0 80px;
  min-height: max(100vh, 720px);
  overflow: hidden;
  isolation: isolate;
}
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-copy {
  padding-top: clamp(96px, 14vh, 150px);
  max-width: 600px;
}
.kicker {
  font-family: var(--script);
  font-size: 26px;
  color: var(--ink-soft);
  margin: 0 0 4px;
}
.hero h1 {
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(58px, 9vw, 108px);
  line-height: 0.95;
  margin: 0;
  letter-spacing: 0.005em;
  position: relative;
}
.hero h1 .rays {
  display: inline-block;
  vertical-align: top;
  width: 0.5em;
  height: 0.5em;
  margin: -0.12em 0 0 0.08em;
  overflow: visible;
}
.hero h1 .rays path {
  stroke: var(--sun);
  stroke-width: 5;
  stroke-linecap: round;
  transform-origin: 0% 100%;
  animation: ray 2.8s ease-in-out infinite;
}
.hero h1 .rays path:nth-child(2) {
  animation-delay: 0.25s;
}
.hero h1 .rays path:nth-child(3) {
  animation-delay: 0.5s;
}
@keyframes ray {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.82);
  }
}
.hero h2 {
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 52px);
  margin: 6px 0 22px 0.6em;
  line-height: 1.1;
}
.tagline {
  font-family: var(--script);
  font-size: clamp(26px, 3vw, 33px);
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}
.lede {
  font-size: 18px;
  max-width: 34em;
  margin: 0 0 22px;
  color: #28355a;
}
.note {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(253, 228, 180, 0.88);
  border-radius: 18px;
  padding: 14px 22px 14px 16px;
  box-shadow: 0 10px 30px -18px rgba(90, 50, 10, 0.5);
  backdrop-filter: blur(4px);
  transform: rotate(-1.2deg);
}
.note svg {
  width: 44px;
  height: 44px;
  flex: none;
}
.note p {
  margin: 0;
  font-family: var(--script);
  font-size: 23px;
  line-height: 1.2;
  border-left: 2px solid rgba(31, 43, 77, 0.35);
  padding-left: 16px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font: 800 17px/1 var(--body);
  color: var(--ink);
  background: var(--sun);
  padding: 16px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow:
    0 2px 0 #c98a1c,
    0 12px 24px -12px rgba(160, 90, 10, 0.7);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #c98a1c;
}
.btn svg {
  width: 20px;
  height: 20px;
}
.hint {
  font-family: var(--script);
  font-size: 22px;
  color: var(--ink-soft);
}

/* animated bits of the scene */
.sun-glow {
  animation: glow 6s ease-in-out infinite;
  transform-origin: 1150px 470px;
}
@keyframes glow {
  50% {
    transform: scale(1.08);
    opacity: 0.75;
  }
}
.shimmer rect {
  animation: shimmer 3.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes shimmer {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 0.9;
  }
  50% {
    transform: scaleX(0.55);
    opacity: 0.45;
  }
}
.cloud {
  animation: drift 90s linear infinite;
}
.cloud.slow {
  animation-duration: 140s;
}
@keyframes drift {
  from {
    transform: translateX(-200px);
  }
  to {
    transform: translateX(260px);
  }
}
.ferry {
  animation: ferry 70s linear infinite;
}
@keyframes ferry {
  from {
    transform: translateX(-160px);
  }
  to {
    transform: translateX(1600px);
  }
}
.yacht {
  animation: bob 5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: bottom center;
}
@keyframes bob {
  50% {
    transform: translateY(4px) rotate(2deg);
  }
}
.gull {
  animation: flap 1.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.gull:nth-of-type(2) {
  animation-delay: 0.5s;
}
.gull:nth-of-type(3) {
  animation-delay: 0.9s;
}
@keyframes flap {
  50% {
    transform: scaleY(0.55) translateY(3px);
  }
}
.gulls {
  animation: glide 40s linear infinite;
}
@keyframes glide {
  from {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-120px, -20px);
  }
  to {
    transform: translate(0, 0);
  }
}

.wave-edge {
  display: block;
  width: 100%;
  height: 70px;
  margin-top: -69px;
  position: relative;
  z-index: 2;
}

/* ---------- sections ---------- */
section {
  padding: 56px 0;
}
.sec-title {
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.05;
  text-align: center;
  margin: 0 0 8px;
}
.sec-title .dash {
  display: inline-block;
  width: 0.7em;
  height: 0.6em;
  vertical-align: middle;
  margin: 0 0.25em;
}
.sec-sub {
  text-align: center;
  font-family: var(--script);
  font-size: 25px;
  color: var(--ink-soft);
  margin: 0 0 38px;
}

/* activity cards (also the picker) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 26px 18px 20px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition:
    transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1),
    box-shadow 0.2s,
    border-color 0.2s;
  box-shadow: 0 14px 30px -24px rgba(60, 40, 10, 0.6);
}
.card:nth-child(1) {
  background: var(--sand-card);
  --tilt: -1deg;
}
.card:nth-child(2) {
  background: var(--peach-card);
  --tilt: 0.8deg;
}
.card:nth-child(3) {
  background: var(--sea-card);
  --tilt: -0.6deg;
}
.card:nth-child(4) {
  background: var(--lav-card);
  --tilt: 1deg;
}
.card:nth-child(5) {
  background: var(--paper);
  border: 2px dashed #d9a441;
  --tilt: -0.8deg;
}
.card:hover {
  transform: rotate(var(--tilt)) translateY(-4px);
}
.card:focus-visible {
  outline: 3px solid var(--harbour);
  outline-offset: 3px;
}
.card .ico {
  width: 74px;
  height: 64px;
  margin-bottom: 10px;
}
.card .ico * {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card .ico .fill-sea {
  fill: #7cc1dc;
  stroke: var(--ink);
}
.card .ico .fill-sun {
  fill: var(--sun);
  stroke: none;
}
.card h3 {
  font-family: var(--hand);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  margin: 0 0 8px;
}
.card .when {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.card:nth-child(5) .when {
  background: var(--sand-card);
}
.card .when.star {
  background: var(--sun);
}
.card p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.5;
  color: #34405f;
}
.card .toggle {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
  border-radius: 999px;
  padding: 7px 16px;
  border: 2px solid var(--ink);
  background: transparent;
  transition:
    background 0.2s,
    color 0.2s;
}
.card .toggle .on {
  display: none;
}
.card[aria-pressed="true"] {
  border-color: var(--ink);
  transform: rotate(var(--tilt)) translateY(-4px);
  box-shadow: 0 18px 34px -20px rgba(31, 43, 77, 0.6);
}
.card[aria-pressed="true"] .toggle {
  background: var(--ink);
  color: #fff;
}
.card[aria-pressed="true"] .toggle .on {
  display: inline;
}
.card[aria-pressed="true"] .toggle .off {
  display: none;
}
.card .stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  transform: scale(0) rotate(-30deg);
  transition: transform 0.35s cubic-bezier(0.3, 1.8, 0.5, 1);
}
.card[aria-pressed="true"] .stamp {
  transform: scale(1) rotate(-12deg);
}
.cards-foot {
  text-align: center;
  margin-top: 26px;
  font-family: var(--script);
  font-size: 23px;
  color: var(--ink-soft);
}

/* welcome + quote */
.welcome {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}
.welcome h2 {
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(38px, 4.4vw, 50px);
  margin: 0 0 22px;
  line-height: 1.05;
}
.who {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}
.who li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
}
.who svg {
  width: 40px;
  height: 40px;
}
.who svg * {
  fill: none;
  stroke: #b8701d;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.who b {
  display: block;
  font-weight: 800;
}
.who span {
  color: var(--ink-soft);
  font-size: 15.5px;
}
.quote {
  position: relative;
  text-align: center;
  padding: 40px 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 226, 163, 0.9), transparent 45%),
    linear-gradient(160deg, #e9e2fb 0%, #ffe0cf 60%, #ffe9bd 100%);
}
.quote p {
  font-family: var(--hand);
  font-size: clamp(32px, 3.6vw, 42px);
  line-height: 1.12;
  margin: 0;
}
.quote small {
  display: block;
  margin-top: 14px;
  font-family: var(--script);
  font-size: 27px;
}

/* ---------- the postcard form ---------- */
#count-me-in {
  position: relative;
  z-index: 2;
  padding: 40px 0 90px;
  background: linear-gradient(180deg, var(--cream) 0%, #fdeedd 100%);
}
.postcard-stage {
  position: relative;
  perspective: 1800px;
  max-width: 980px;
  margin: 0 auto;
}
.postcard {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.5, 0, 0.2, 1);
  display: grid;
}
.postcard.is-sent {
  transform: rotateY(180deg);
}
.face {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--paper);
  border-radius: 14px;
  box-shadow:
    0 1px 0 #e9dcc6,
    0 30px 60px -30px rgba(80, 50, 20, 0.55);
  background-image:
    radial-gradient(rgba(180, 140, 90, 0.07) 1px, transparent 1px), linear-gradient(var(--paper), var(--paper));
  background-size: 6px 6px;
}
.face.back {
  transform: rotateY(180deg);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 248, 238, 0) 40%, rgba(255, 248, 238, 0.9)),
    linear-gradient(180deg, #c6ccef 0%, #f7cbc0 45%, #ffdba0 100%);
}
.face.back h3 {
  font-family: var(--hand);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 64px);
  margin: 0 0 6px;
  line-height: 1;
}
.face.back p {
  margin: 0 auto 8px;
  max-width: 30em;
}
.face.back .script {
  font-family: var(--script);
  font-size: 28px;
}
.face.back .again {
  background: none;
  border: 0;
  font: 700 15px var(--body);
  color: var(--harbour-deep);
  text-decoration: underline;
  cursor: pointer;
  margin-top: 10px;
}
.front {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  padding: 34px 38px 30px;
  gap: 0 38px;
}
.front .left {
  border-right: 2px solid #eadcc4;
  padding-right: 34px;
}
.front h3 {
  font-family: var(--hand);
  font-weight: 400;
  font-size: 40px;
  margin: 0 0 2px;
  line-height: 1.05;
}
.front .sub {
  font-family: var(--script);
  font-size: 22px;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.label {
  display: block;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 8px;
}
.label em {
  font-style: normal;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.chip {
  font: 700 15px/1 var(--body);
  color: var(--ink);
  background: #fff;
  border: 2px solid #e3d3b8;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.chip:hover {
  border-color: var(--ink);
}
.chip[aria-pressed="true"],
.chip input:checked + span {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.chip.radio {
  padding: 0;
  overflow: hidden;
}
.chip.radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip.radio span {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
}
.chip.radio:focus-within {
  outline: 3px solid var(--harbour);
  outline-offset: 2px;
}
.field {
  margin-bottom: 16px;
}
.field input,
.field textarea {
  width: 100%;
  font: 600 17px/1.4 var(--body);
  color: var(--ink);
  border: 0;
  border-bottom: 2px dotted #cdb894;
  background: transparent;
  padding: 6px 2px;
  outline: none;
  border-radius: 0;
}
.field textarea {
  resize: vertical;
  min-height: 70px;
  font-family: var(--script);
  font-size: 23px;
  line-height: 1.25;
  background-image: repeating-linear-gradient(transparent 0 28px, #eadcc4 28px 30px);
  border-bottom: 0;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--harbour);
}
.field input::placeholder,
.field textarea::placeholder {
  color: #b5a587;
  font-weight: 500;
}
.reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.reveal > div {
  overflow: hidden;
}
.reveal.open {
  grid-template-rows: 1fr;
}
.right {
  position: relative;
  display: flex;
  flex-direction: column;
}
.stamp-box {
  align-self: flex-end;
  width: 92px;
  height: 108px;
  padding: 6px;
  background: #fff;
  border: 2px dashed #e0c9a4;
  transform: rotate(4deg);
  margin-bottom: 4px;
  position: relative;
}
.stamp-box svg {
  width: 100%;
  height: 100%;
  display: block;
}
.postmark {
  position: absolute;
  right: 66px;
  top: 30px;
  width: 116px;
  height: 116px;
  opacity: 0.55;
  pointer-events: none;
  transform: rotate(-14deg);
}
.right .addr {
  margin-top: 18px;
}
.send-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.privacy {
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 17em;
  line-height: 1.4;
}
.err {
  color: #b23a2a;
  font-weight: 700;
  font-size: 14px;
  min-height: 1.2em;
  margin: 6px 0 0;
}
.hp {
  position: absolute;
  left: -9999px;
}
.coo {
  position: absolute;
  width: 250px;
  right: -110px;
  bottom: -64px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 10px 12px rgba(80, 50, 20, 0.25));
}
.coo img {
  width: 100%;
  height: auto;
  display: block;
}
.coo .shades {
  position: absolute;
  left: 13.5%;
  top: 46%;
  width: 22%;
}

/* time-slot picker */
.slots {
  margin-bottom: 20px;
}
.slot-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  align-items: start;
  padding: 7px 0;
  border-bottom: 1px dashed #eadcc4;
}
.slot-day {
  font-weight: 800;
  font-size: 14px;
  padding-top: 6px;
  line-height: 1.25;
}
.slots .chips {
  margin: 0;
  gap: 6px;
}
.chip.sm {
  font-size: 13.5px;
  padding: 7px 11px;
}
.chip.sm i {
  font-style: normal;
  font-weight: 600;
  opacity: 0.7;
}
.poster-plug {
  flex-basis: 100%;
  font-family: var(--script);
  font-size: 19px;
  line-height: 1.2;
  color: var(--harbour-deep);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}
.poster-plug:hover {
  color: var(--ink);
}
.slot-note {
  font-family: var(--script);
  font-size: 20px;
  color: var(--ink-soft);
  margin: 8px 0 0;
}

/* sticky "you picked" pill */
.picked-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 140%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 16px 40px -14px rgba(20, 25, 50, 0.7);
  transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.picked-bar.show {
  transform: translate(-50%, 0);
}
.picked-bar .btn {
  padding: 10px 18px;
  font-size: 15px;
  box-shadow: none;
}

/* ---------- closing ---------- */
.closing {
  position: relative;
  padding: 80px 0 0;
  background: linear-gradient(180deg, #fdeedd 0%, #f9d9c4 40%, #d7c6ea 100%);
  overflow: hidden;
  text-align: center;
}
.whoami {
  margin: 0 0 18px;
  font-family: var(--script);
  font-size: 26px;
}
.whoami a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.whoami a:hover {
  color: var(--harbour-deep);
}
.closing .script {
  font-family: var(--hand);
  font-size: clamp(46px, 6vw, 72px);
  margin: 0;
  transform: rotate(-3deg);
  display: inline-block;
}
.closing .script svg {
  width: 0.55em;
  height: 0.55em;
  vertical-align: middle;
  margin-left: 0.15em;
  animation: beat 1.8s ease-in-out infinite;
}
.closing .script svg path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
}
@keyframes beat {
  0%,
  100% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.15);
  }
}
.closing .skyline {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 20px;
}
.closing .skyline path,
.closing .skyline line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
footer {
  background: var(--ink);
  color: #e6e3f2;
  font-size: 14.5px;
  padding: 22px 0;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
footer a {
  color: var(--sun-soft);
}

/* confetti */
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}
.confetti i {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 14px;
  border-radius: 3px;
  animation: fall linear forwards;
}
@keyframes fall {
  to {
    transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot));
  }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .topnav a:not(.cta):not(.whoami-link) {
    display: none;
  }
  .hero {
    min-height: 0;
    padding-bottom: 70vw;
    background: linear-gradient(180deg, #b8c6ee 0%, #e3c9e3 30%, #f8c9b4 62%, #ffd8a0 88%, #ffe6b0 100%);
  }
  .scene {
    top: auto;
    height: 92vw;
  }
  .scene .sky {
    display: none;
  }
  .sec-title .dash {
    display: none;
  }
  .card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 0 14px;
    text-align: left;
    align-items: start;
    padding: 18px 18px 16px;
  }
  .card .ico {
    grid-row: span 4;
    width: 58px;
    height: 52px;
  }
  .card .toggle {
    justify-self: start;
  }
  .card p {
    margin-bottom: 10px;
  }
  .card .when {
    justify-self: start;
  }
  .hero-copy {
    padding-top: 92px;
  }
  .welcome {
    grid-template-columns: 1fr;
  }
  .front {
    grid-template-columns: 1fr;
    padding: 26px 22px 24px;
  }
  .front .left {
    border-right: 0;
    border-bottom: 2px solid #eadcc4;
    padding: 0 0 10px;
    margin-bottom: 18px;
  }
  .stamp-box {
    position: absolute;
    top: -6px;
    right: 0;
    width: 70px;
    height: 84px;
  }
  .postmark {
    display: none;
  }
  .right .addr {
    margin-top: 0;
  }
  .right .addr .field:first-child {
    padding-right: 84px;
  }
  .coo {
    width: 170px;
    right: -10px;
    bottom: -52px;
  }
  .send-row {
    padding-bottom: 50px;
  }
}
@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .hero {
    padding-bottom: 78vw;
  }
  .note p {
    font-size: 20px;
  }
  .picked-bar {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* WhatsApp group links */
.btn.ghost {
  background: rgba(255, 253, 248, 0.85);
  box-shadow: 0 10px 24px -16px rgba(60, 40, 10, 0.6);
  border: 2px solid #25a35a;
  color: #146c3b;
}
.btn.ghost svg,
.btn.wa svg {
  width: 20px;
  height: 20px;
}
.btn.wa {
  background: #25d366;
  color: #0b3d22;
  box-shadow:
    0 2px 0 #1a9e4b,
    0 12px 24px -12px rgba(10, 90, 40, 0.6);
  margin-top: 14px;
}
.wa-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 8px !important;
}
@media (max-width: 860px) {
  .topnav {
    gap: 16px;
  }
  .brand {
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  .brand span,
  .brand {
    white-space: nowrap;
  }
}
.topnav a {
  white-space: nowrap;
}
@media (max-width: 420px) {
  .topnav {
    gap: 12px;
    font-size: 14px;
  }
  .brand svg {
    width: 36px;
  }
}
@media (max-width: 480px) {
  .brand-text {
    display: none;
  }
}
