/* Acute cAbin | SMC Dueling Pianos silent auction
   Palette: Blue Ridge layers from the logo + the cabin's golden siding.
   Type: Jost (Futura-style, mid-century A-frame era) + Source Serif 4 for reading. */

@font-face {
  font-family: "Jost";
  src: url("fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #15291f;          /* the logo's ring green */
  --ink-soft: #435a4e;
  --ridge-900: #1c4565;    /* nearest ridge */
  --ridge-700: #2a6590;
  --ridge-500: #5a90bb;
  --ridge-300: #a3c6e0;
  --ridge-100: #d3e6f3;
  --sky: #eaf3f9;
  --siding: #f2c85b;       /* the cabin's golden siding */
  --siding-hover: #f6d683;
  --star: #d39a14;
  --paper: #ffffff;
  --line: #d6e3ec;
  --link: #22618c;
  --on-deep: #dbe8f2;

  --sans: "Jost", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --serif: "Source Serif", "Iowan Old Style", Georgia, serif;
  --gutter: 20px;
  --max: 1160px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; max-width: 36em; text-wrap: pretty; }
.nw { white-space: nowrap; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ridge-700); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Buttons and links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--siding);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.button:hover { background: var(--siding-hover); }

.text-link {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.0625rem;
}

.note {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* ---------- Top bar ---------- */

.topbar { background: var(--sky); }
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; }
.brand-place { font-family: var(--sans); font-size: 0.875rem; color: var(--ink-soft); }
.topbar-link {
  flex: none;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.topbar-link:hover { background: var(--ink); color: var(--paper); }

/* ---------- Hero: the A-frame window over the Blue Ridge ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--sky);
  padding-top: 24px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 7px 14px 7px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.eyebrow .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--siding);
}
.hero h1 {
  font-size: clamp(2.75rem, 1.4rem + 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.024em;
  max-width: 9em;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.92em;
  color: var(--ridge-900);
  letter-spacing: -0.012em;
}
.lead {
  margin-top: 20px;
  font-size: 1.1875rem;
  line-height: 1.5;
  max-width: 28em;
}
.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 26px;
}
.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.stars {
  color: var(--star);
  letter-spacing: 0.14em;
  font-size: 1.0625rem;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-stamp {
  position: absolute;
  top: 10px;
  right: -4px;
  width: 108px;
  height: 108px;
  color: var(--ridge-900);
  opacity: 0.85;
  transform: rotate(-11deg);
  z-index: 3;
  pointer-events: none;
}
.hero-stamp svg { width: 100%; height: 100%; display: block; }
.gable {
  width: min(80vw, 440px);
  aspect-ratio: 854 / 1067;
  /* An acute peak, roughly the pitch of the cabin's own roof */
  clip-path: polygon(50% 0, 100% 58%, 100% 100%, 0 100%, 0 58%);
  background: var(--ridge-300);
}
.gable img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ridges {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  width: 100%;
  height: 190px;
  display: block;
}
.ridges .r1 { fill: #cfe2f0; }
.ridges .r2 { fill: #a3c6e0; }
.ridges .r3 { fill: #5a90bb; }
.ridges .r4 { fill: var(--ridge-900); }

/* ---------- Prize band with the $279 moment ---------- */

.prize {
  background: var(--ridge-900);
  color: #fff;
  padding-block: 56px 64px;
}
.prize-grid {
  display: grid;
  gap: 44px;
}
.prize-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.015em;
  max-width: 16em;
  color: #fff;
}
.prize-copy p {
  margin: 0 0 20px;
  color: var(--on-deep);
  font-size: 1.0625rem;
}
.prize-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--siding);
  font-family: var(--sans);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--siding);
  padding-bottom: 3px;
}
.prize-link:hover { color: #fff; border-color: #fff; }

.price-note {
  padding: 22px 24px;
  border-left: 3px solid var(--siding);
  color: var(--on-deep);
  max-width: 360px;
}
.price-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
}
.price-note strong {
  color: var(--siding);
  font-weight: 600;
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 7vw + 20px, 112px); }
.section-sky { background: var(--sky); }
.section h2 {
  font-size: clamp(2.1rem, 1.35rem + 2.8vw, 3.4rem);
  margin-bottom: 0.45em;
}
.section-lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  max-width: 38em;
}

.split {
  display: grid;
  gap: 40px;
}

/* ---------- Where you're going ---------- */

.drives h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.drive-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.drive-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 2px dotted var(--ridge-300);
}
.place {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
}
.place small {
  display: block;
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.time {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ridge-900);
}

/* ---------- Why you'll want to stay ---------- */

.photo-grid {
  display: grid;
  gap: 22px 18px;
  margin: 34px 0 48px;
}
.photo-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ridge-100);
  cursor: zoom-in;
}
.photo-btn img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.photo-main .photo-btn img { aspect-ratio: 3 / 2; }
figcaption {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.features-title {
  font-size: 1.375rem;
  margin-bottom: 16px;
}
.features {
  display: grid;
  gap: 12px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.features li {
  position: relative;
  padding-left: 28px;
  max-width: 34em;
}
/* small A-frame markers */
.features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 14px;
  height: 13px;
  background: var(--ridge-700);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.reviews { margin-top: 72px; }
.reviews-header { margin-bottom: 32px; }
.eyebrow-ink { background: transparent; border-color: var(--ridge-300); color: var(--ridge-900); }
.reviews h3 {
  margin-top: 14px;
  font-size: clamp(1.6rem, 1.15rem + 1.4vw, 2.4rem);
  max-width: 16em;
}

.review-featured {
  position: relative;
  margin: 0 0 44px;
  padding: 36px 32px 32px;
  background: var(--paper);
  border: 1px solid var(--ridge-100);
  border-left: 6px solid var(--siding);
  border-radius: 6px;
  max-width: 48em;
}
.review-featured::before {
  content: "“";
  position: absolute;
  top: -22px;
  left: 24px;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--siding);
  pointer-events: none;
}
.stars-lg {
  margin: 0 0 14px;
  color: var(--star);
  font-size: 1.25rem;
  letter-spacing: 0.18em;
}
.review-featured blockquote { margin: 0 0 18px; }
.review-featured blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 0.95rem + 1.4vw, 2rem);
  line-height: 1.3;
  font-weight: 400;
  color: var(--ink);
}
.review-featured blockquote em {
  font-style: italic;
  color: var(--ridge-900);
}
.review-featured figcaption {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
}

.review-grid {
  display: grid;
  gap: 24px;
  margin: 0 0 18px;
}
.review {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--ridge-100);
  border-radius: 6px;
}
.review blockquote { margin: 0 0 10px; }
.review blockquote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.review figcaption {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ridge-900);
}

/* ---------- Your two nights ---------- */

.timeline {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}
.timeline li {
  position: relative;
  padding: 0 0 26px 36px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {           /* the trail between stops */
  content: "";
  position: absolute;
  left: 7px;
  top: 22px;
  bottom: 0;
  border-left: 2px dotted var(--ridge-500);
}
.timeline li:last-child::before { display: none; }
.timeline li::after {            /* the stop */
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--siding);
  border: 2px solid var(--ridge-900);
}
.timeline h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.timeline p { margin: 0; }

.nights-photo .photo-btn img { aspect-ratio: 625 / 527; }

.who { margin-top: 72px; }
.who h3 {
  font-size: 1.375rem;
  margin-bottom: 22px;
}
.who-list {
  display: grid;
  gap: 28px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.who-list li {
  padding: 20px 0 0;
  border-top: 1px solid var(--ridge-300);
}
.who-mark {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: var(--ridge-900);
}
.who-mark svg { width: 100%; height: 100%; display: block; }
.who-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 1.1875rem;
  font-weight: 600;
}

/* ---------- Host ---------- */

.host-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}
.host-portrait {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
}
.host-photo {
  width: 200px;
  height: 200px;
  border-radius: 4px;
  object-fit: cover;
  object-position: center 30%;
  border: 6px solid var(--paper);
  box-shadow: 0 10px 32px rgba(14, 34, 51, 0.12);
}
.host-portrait figcaption {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 2px;
}
.host-portrait figcaption strong {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
}
.host-portrait figcaption span {
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.host-copy h2 { margin-top: 8px; }
.host-copy p { font-size: 1.0625rem; max-width: 36em; }

/* ---------- Why bid tonight ---------- */

.section-deep {
  background: var(--ridge-900);
  color: #fff;
}
.section-deep p { color: var(--on-deep); }
.why-grid {
  display: grid;
  gap: 28px 44px;
  margin-top: 8px;
}
.why-grid h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}
.why-grid p { margin: 0; }
.money {
  display: grid;
  gap: 18px 56px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.money h3 {
  font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem);
  line-height: 1.1;
}
.section-deep .proceeds {
  margin: 8px 0 0;
  font-family: var(--sans);
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--siding);
}

/* ---------- What you win / How to bid ---------- */

.win-grid {
  display: grid;
  gap: 52px;
}
.package-list {
  margin: 6px 0 14px;
  padding: 0;
  list-style: none;
}
.package-list li {
  position: relative;
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid var(--line);
}
.package-list li::before {        /* check mark */
  content: "";
  position: absolute;
  left: 4px;
  top: 1.05em;
  width: 15px;
  height: 8px;
  border-left: 3px solid var(--ridge-700);
  border-bottom: 3px solid var(--ridge-700);
  transform: rotate(-45deg);
}

.steps {
  counter-reset: step;
  margin: 6px 0 22px;
  padding: 0;
  list-style: none;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 10px 0 10px 50px;
  min-height: 52px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ridge-900);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
}
.event {
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
}

.closer {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 68vh;
  display: grid;
  align-items: end;
  background: var(--ridge-900);
}
.closer-bg {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
}
.closer-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.closer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(14, 34, 51, 0.1) 0%, rgba(14, 34, 51, 0.55) 50%, rgba(14, 34, 51, 0.92) 100%);
}
.closer-inner { position: relative; z-index: 2; }
.closer-inner {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: 80px 0 56px;
}
.closer-eyebrow {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--siding);
}
.closer-line {
  margin: 0 0 32px;
  font-family: var(--sans);
  font-size: clamp(2.2rem, 1.1rem + 5vw, 5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.024em;
  max-width: 14em;
  color: #fff;
}
.closer-line em {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--siding);
  letter-spacing: -0.012em;
}
.closer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}
.closer-link {
  color: #fff;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 3px;
}
.closer-link:hover { border-color: #fff; }
.share-help { margin: 18px 0 0; color: rgba(255, 255, 255, 0.75); }
.share-status {
  min-height: 1.5em;
  margin: 6px 0 0;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--siding);
}

/* ---------- Footer ---------- */

.site-footer { background: var(--paper); }
.ridges-footer {
  position: static;
  height: auto;
  aspect-ratio: 1600 / 280;
  min-height: 120px;
}
.footer-body {
  background: var(--ridge-900);
  color: var(--on-deep);
  padding: 22px 0 44px;
  margin-top: -1px;
}
.footer-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}
.footer-grid p { margin: 0 0 0.6em; font-size: 0.9375rem; }
.footer-logo { width: 88px; height: 88px; }
.footer-name {
  font-family: var(--sans);
  font-size: 1.25rem !important;
  font-weight: 600;
  color: #fff;
}
.site-footer a { color: #fff; }

/* ---------- Maker: the student who made this ---------- */

.maker {
  background: var(--sky);
  padding-block: 68px;
}
.maker-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.maker-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  border: 4px solid var(--paper);
  box-shadow: 0 8px 24px rgba(14, 34, 51, 0.1);
}
.maker-copy h2 {
  font-size: clamp(1.6rem, 1.15rem + 1.4vw, 2.2rem);
  margin: 10px 0 14px;
}
.maker-copy p {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  max-width: 44em;
}
.maker-foot {
  color: var(--ink-soft);
  font-size: 0.9375rem !important;
}

@media (min-width: 600px) {
  .maker-grid { grid-template-columns: 160px 1fr; gap: 40px; }
  .maker-photo { width: 160px; height: 160px; }
}

/* ---------- Mobile sticky bar ---------- */

.mobile-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  background: var(--ridge-900);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(14, 34, 51, 0.25);
  font-family: var(--sans);
}
.mobile-bar-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.mobile-bar-info strong {
  flex: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--siding);
}
.mobile-bar-info span {
  font-size: 0.8125rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-bar-link {
  flex: none;
  padding: 9px 16px;
  background: var(--siding);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}
@media (min-width: 760px) {
  .mobile-bar { display: none; }
}
@media (max-width: 759px) {
  body { padding-bottom: 80px; }
}

/* ---------- Photo viewer ---------- */

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.lightbox::backdrop { background: #0e2233; }
.lightbox-figure {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 16px 40px;
}
.lightbox-img {
  max-width: min(1600px, 100%);
  max-height: calc(100dvh - 160px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox-caption {
  max-width: 40em;
  margin-top: 14px;
  color: #e8f1f7;
  text-align: center;
}
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: var(--sans);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox-close { top: 12px; right: 12px; font-size: 1.15rem !important; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Larger screens ---------- */

@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .review-grid { grid-template-columns: 1fr 1fr; gap: 36px 48px; }
  .who-list { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-main { grid-column: 1 / -1; }
  .photo-main .photo-btn img { aspect-ratio: 16 / 9; }
  .host-grid { grid-template-columns: 240px 1fr; gap: 56px; }
  .host-photo { width: 240px; height: 240px; }
}

@media (min-width: 760px) {
  .features { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .money { grid-template-columns: 0.8fr 1.2fr; }
  .footer-grid { grid-template-columns: auto 1fr 1.6fr; gap: 32px; }
  .prize-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; gap: 56px; }
  .price-note { justify-self: end; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stamp { width: 128px; height: 128px; top: 20px; right: -10px; }
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
  .hero { padding-top: 36px; }
  .hero-inner {
    grid-template-columns: 1.3fr 0.85fr;
    align-items: end;
    gap: 48px;
  }
  .hero-copy {
    align-self: center;
    padding-block: 24px 272px;
  }
  .hero h1 { max-width: 9em; }
  .gable { width: min(100%, 460px); justify-self: end; }
  .hero-stamp { width: 150px; height: 150px; top: 14px; right: -24px; }
  .where-copy { position: sticky; top: 32px; align-self: start; }
  .ridges { height: 260px; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .nights-split { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
  .win-grid { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
  .who-list { grid-template-columns: repeat(4, 1fr); }
  .closer-inner { padding: 130px 0 90px; }
}

/* ---------- The one moment of motion: the ridges settle in ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero .ridges path {
    animation: ridge-rise 1.1s cubic-bezier(0.2, 0.75, 0.25, 1) both;
  }
  .hero .ridges .r1 { animation-delay: 0.05s; }
  .hero .ridges .r2 { animation-delay: 0.17s; }
  .hero .ridges .r3 { animation-delay: 0.29s; }
  .hero .ridges .r4 { animation-delay: 0.41s; animation-name: ridge-rise-front; }
  .gable { animation: gable-in 0.9s 0.25s cubic-bezier(0.2, 0.75, 0.25, 1) both; }
}
@keyframes ridge-rise {
  from { transform: translateY(46px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes ridge-rise-front {
  from { transform: translateY(46px); }
  to { transform: none; }
}
@keyframes gable-in {
  from { transform: translateY(28px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
