:root {
  /* Palette extracted directly from References/Jullis diving.jpg */
  --sky: #8acef3;
  --sky-soft: #bae4fa;
  --sky-deep: #64b8ea;
  --water-mid: #4a88ad;
  --water-deep: #386887;
  --navy: #264562;
  --abyss: #13293e;
  --white: #fdfefe;
  --paper: #fafdff;

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;

  --shadow-card: 0 18px 40px -12px rgba(19, 41, 62, 0.28);
  --shadow-float: 0 24px 48px -16px rgba(19, 41, 62, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--sky);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Funny Verification Gate ---------- */
body.gate-locked {
  overflow: hidden;
  height: 100vh;
}

.verify-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at top, var(--sky) 0%, var(--water-mid) 55%, var(--navy) 100%);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.verify-gate.is-unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.verify-card {
  width: min(500px, 100%);
  background: var(--white);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 32px 70px rgba(19, 41, 62, 0.42);
  border: 2px solid rgba(138, 206, 243, 0.6);
  text-align: center;
}

.verify-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.verify-title {
  margin: 14px 0 6px;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
}

.verify-subtitle {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: var(--water-deep);
}

.verify-steps {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.verify-step-pill {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--sky-soft);
  color: var(--water-deep);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.verify-step-pill.active {
  background: var(--navy);
  color: var(--white);
  transform: scale(1.1);
}

.verify-step-pill.done {
  background: var(--water-mid);
  color: var(--white);
}

.verify-question {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}

.ai-chip {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  vertical-align: middle;
  margin-left: 4px;
}

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

.verify-opt {
  padding: 13px 14px;
  border-radius: 12px;
  border: 2px solid var(--sky-soft);
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.verify-opt:hover {
  transform: translateY(-2px);
  border-color: var(--water-mid);
  background: var(--sky-soft);
}

.verify-opt.selected {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.verify-opt:disabled {
  cursor: default;
  transform: none;
  opacity: 0.55;
}

.verify-opt.selected:disabled {
  opacity: 1;
}

.verify-opt.is-correct:disabled {
  opacity: 1;
  background: #2f855a;
  border-color: #2f855a;
  color: var(--white);
}

.verify-opt.is-wrong:disabled {
  opacity: 1;
  background: #c53030;
  border-color: #c53030;
  color: var(--white);
}

.verify-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid var(--sky-soft);
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}

.verify-textarea:focus {
  border-color: var(--water-mid);
}

.verify-feedback {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(138, 206, 243, 0.25);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.verify-actions {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.verify-next,
.verify-enter {
  margin-top: 16px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.verify-actions .verify-next,
.verify-actions .verify-enter {
  margin-top: 0;
}

.verify-next:hover,
.verify-enter:hover {
  transform: translateY(-2px);
  background: var(--water-deep);
}

.verify-panel[hidden],
.verify-feedback[hidden],
.verify-next[hidden],
.verify-enter[hidden] {
  display: none;
}

/* ---------- Chapter Navigation Dots ---------- */
.chapter-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chapter-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(253, 254, 254, 0.5);
  border: 2px solid var(--navy);
  transition: transform 0.25s ease, background 0.25s ease;
}

.chapter-dot:hover,
.chapter-dot.active {
  transform: scale(1.3);
  background: var(--white);
}

.dot-label {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chapter-dot:hover .dot-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ---------- Floating Customize Studio Bar ---------- */
.studio-bar {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 45;
}

.studio-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(38, 69, 98, 0.2);
  background: rgba(253, 254, 254, 0.88);
  backdrop-filter: blur(10px);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(19, 41, 62, 0.14);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

body.edit-mode .studio-btn {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ---------- 1. Hero Section (100vw scroll-scrubbed video) ---------- */
.hero-track {
  position: relative;
  width: 100vw;
  height: 320vh;
  background: #10272d;
}

.hero-sticky {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #10272d;
}

.hero-video {
  width: min(1280px, 100vw);
  max-height: 100vh;
  aspect-ratio: 16 / 9;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 48px 24px 52px;
  pointer-events: none;
  text-align: center;
  transition: opacity 0.35s ease;
}

.hero-eyebrow {
  margin: 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(253, 254, 254, 0.82);
  backdrop-filter: blur(8px);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 6px 28px rgba(38, 69, 98, 0.45);
  letter-spacing: -0.01em;
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(19, 41, 62, 0.5);
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border-radius: 999px;
  border: 2px solid var(--white);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--white);
  animation: wheelBounce 1.6s infinite ease-in-out;
}

@keyframes wheelBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0.2; }
}

.hero-progress-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(253, 254, 254, 0.25);
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--navy);
  transition: width 0.06s linear;
}

/* ---------- Shared Section Styling ---------- */
.section {
  position: relative;
  width: 100%;
  padding: 100px 24px 120px;
  overflow: hidden;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  margin: 12px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
  color: var(--navy);
}

.section-header p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--navy);
  opacity: 0.85;
}

.section-header.light h2,
.section-header.light p {
  color: var(--white);
}

.chapter-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(253, 254, 254, 0.55);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-header.light .chapter-tag {
  background: rgba(253, 254, 254, 0.2);
  color: var(--white);
  border: 1px solid rgba(253, 254, 254, 0.35);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Photo Cards (Polaroid Memory Frames) ---------- */
.photo-card {
  position: relative;
  margin: 0;
  width: 240px;
  background: var(--white);
  padding: 12px 12px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  user-select: none;
}

.photo-card:hover {
  transform: translateY(-10px) rotate(0deg) scale(1.03) !important;
  box-shadow: var(--shadow-float);
  z-index: 10;
}

.tilt-left { transform: rotate(-4.5deg); }
.tilt-left-sm { transform: rotate(-2.5deg); }
.tilt-right { transform: rotate(4.5deg); }
.tilt-right-sm { transform: rotate(2.5deg); }

.photo-tape {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 72px;
  height: 22px;
  background: rgba(186, 228, 250, 0.85);
  border-left: 1px dashed rgba(38, 69, 98, 0.2);
  border-right: 1px dashed rgba(38, 69, 98, 0.2);
  box-shadow: 0 2px 6px rgba(19, 41, 62, 0.1);
}

.photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--sky-soft), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder[hidden],
.photo-img[hidden] {
  display: none;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--navy);
  text-align: center;
  padding: 16px;
}

.ph-icon {
  font-size: 28px;
}

.ph-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}

.ph-hint {
  font-size: 12px;
  opacity: 0.72;
}

.photo-caption {
  margin-top: 12px;
  font-family: var(--font-hand);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.1;
}

body.edit-mode .photo-card {
  outline: 2px dashed var(--water-mid);
  outline-offset: 4px;
}

body.edit-mode .photo-caption {
  cursor: text;
  background: rgba(138, 206, 243, 0.2);
  border-radius: 6px;
  padding: 2px 6px;
}

/* ---------- 2. Jullis Sitting Section ---------- */
.section-sitting {
  background: linear-gradient(180deg, var(--sky) 0%, #7bc6f0 100%);
  padding-bottom: 160px;
}

.sitting-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.photo-cluster {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
}

.sitting-character {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.jullis-sitting {
  width: clamp(260px, 30vw, 390px);
  filter: drop-shadow(0 20px 30px rgba(38, 69, 98, 0.22));
  animation: gentleBob 4.5s ease-in-out infinite;
}

.pool-ledge {
  position: absolute;
  bottom: 10px;
  width: 90%;
  height: 24px;
  border-radius: 999px;
  background: rgba(56, 104, 135, 0.22);
  filter: blur(6px);
}

@keyframes gentleBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 90px;
}

/* ---------- 3. Jullis Diving Section ---------- */
.section-diving {
  background: linear-gradient(180deg, var(--water-mid) 0%, var(--water-deep) 100%);
  padding-top: 90px;
  padding-bottom: 120px;
}

.diving-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
}

.diving-col {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.diving-character {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jullis-diving {
  width: clamp(180px, 20vw, 250px);
  filter: drop-shadow(0 22px 32px rgba(19, 41, 62, 0.38));
  transition: transform 0.12s linear;
}

.splash-rings span {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 180px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(253, 254, 254, 0.45);
  animation: ripple 3s infinite ease-out;
}

.splash-rings span:nth-child(2) {
  animation-delay: 1.5s;
}

@keyframes ripple {
  0% { transform: translateX(-50%) scale(0.6); opacity: 0.8; }
  100% { transform: translateX(-50%) scale(1.6); opacity: 0; }
}

/* ---------- 4. Jullis Scuba Section (Underwater) ---------- */
.section-scuba {
  background: linear-gradient(180deg, var(--water-deep) 0%, var(--navy) 55%, var(--abyss) 100%);
  min-height: 105vh;
  padding-top: 100px;
  padding-bottom: 140px;
}

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

.scuba-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  gap: 36px;
  min-height: 540px;
}

.scuba-character {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  justify-content: center;
}

.jullis-scuba {
  width: clamp(270px, 32vw, 410px);
  filter: drop-shadow(0 24px 36px rgba(10, 24, 38, 0.55));
  animation: swimFloat 5.5s ease-in-out infinite;
}

@keyframes swimFloat {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  50% { transform: translate(10px, -16px) rotate(2deg); }
}

.underwater-card {
  background: rgba(253, 254, 254, 0.96);
  box-shadow: 0 22px 44px rgba(10, 24, 38, 0.5);
}

.pos-1 { grid-column: 1; grid-row: 1; }
.pos-2 { grid-column: 3; grid-row: 1; }
.pos-3 { grid-column: 3; grid-row: 2; justify-self: start; }

/* ---------- 5. Jullis Exiting + Handwritten Letter ---------- */
.section-exiting {
  background: linear-gradient(180deg, var(--abyss) 0%, var(--water-mid) 18%, var(--sky) 55%, var(--sky-soft) 100%);
  padding-top: 130px;
  padding-bottom: 48px;
}

.exiting-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.exiting-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.jullis-exiting {
  width: clamp(320px, 44vw, 560px);
  filter: drop-shadow(0 20px 32px rgba(19, 41, 62, 0.25));
}

.deck-photo {
  margin-top: -40px;
  align-self: flex-start;
  width: 210px;
}

/* Handwritten Letter Card */
.letter-card {
  position: relative;
  background: var(--paper);
  border-radius: 18px;
  padding: 40px 36px 36px;
  box-shadow: 0 26px 56px -14px rgba(19, 41, 62, 0.3);
  border: 1px solid rgba(74, 136, 173, 0.25);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 35px,
    rgba(138, 206, 243, 0.32) 36px
  );
  background-position: 0 28px;
}

.letter-stamp {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 58px;
  height: 68px;
  border: 2px dashed var(--water-mid);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--water-mid);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(6deg);
  background: rgba(186, 228, 250, 0.22);
}

.letter-stamp strong {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--navy);
}

.letter-date {
  margin: 0 0 18px;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--water-mid);
}

.letter-body {
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  line-height: 36px;
  color: var(--navy);
  white-space: pre-wrap;
  outline: none;
  min-height: 320px;
}

body.edit-mode .letter-body {
  background: rgba(138, 206, 243, 0.14);
  border-radius: 10px;
  padding: 6px 10px;
  cursor: text;
  outline: 2px dashed var(--water-mid);
}

.letter-hint {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--water-deep);
}

.site-footer {
  margin-top: 88px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
  opacity: 0.85;
}

/* ---------- 6. Photo Album Section ---------- */
.section-album {
  background: linear-gradient(180deg, var(--sky-soft) 0%, var(--white) 45%, var(--sky-soft) 100%);
  padding-top: 90px;
  padding-bottom: 64px;
}

.album-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: -24px auto 40px;
  flex-wrap: wrap;
}

.album-filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(38, 69, 98, 0.22);
  background: rgba(253, 254, 254, 0.85);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.album-filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.album-grid {
  columns: 4 240px;
  column-gap: 20px;
}

.album-item {
  break-inside: avoid;
  margin: 0 0 20px;
  background: var(--white);
  padding: 10px 10px 12px;
  border-radius: 14px;
  box-shadow: 0 12px 28px -10px rgba(19, 41, 62, 0.2);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
  cursor: pointer;
}

.album-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px -12px rgba(19, 41, 62, 0.3);
}

.album-item[hidden] {
  display: none;
}

.album-item img,
.album-item video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  background: var(--sky-soft);
}

.album-item.is-video {
  cursor: default;
}

.album-item-badge {
  margin-top: 8px;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  color: var(--water-deep);
  text-align: center;
}

/* ---------- Lightbox Modal ---------- */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(19, 41, 62, 0.88);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox-content {
  max-width: 82vw;
  max-height: 86vh;
  background: var(--white);
  padding: 16px 16px 20px;
  border-radius: 16px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.lightbox-content img {
  max-height: 70vh;
  max-width: 78vw;
  border-radius: 10px;
  object-fit: contain;
}

.lightbox-content p {
  margin: 14px 0 0;
  font-family: var(--font-hand);
  font-size: 1.8rem;
  color: var(--navy);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(253, 254, 254, 0.18);
  border: 1px solid rgba(253, 254, 254, 0.35);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(253, 254, 254, 0.32);
  transform: scale(1.08);
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .sitting-stage,
  .diving-stage,
  .scuba-stage,
  .exiting-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .scuba-character {
    grid-column: 1;
    grid-row: 1;
  }

  .pos-1, .pos-2, .pos-3 {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
  }

  .deck-photo {
    align-self: center;
    margin-top: 16px;
  }

  .chapter-nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jullis-sitting,
  .jullis-scuba,
  .scroll-wheel,
  .splash-rings span {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
