:root {
  --bg-lavender: #ebe3f3;
  --bg-cream: #efe2cf;
  --bg-soft: #f6f1f8;
  --ink: #171d14;
  --muted: #5f5a67;
  --purple: #6b4eb2;
  --purple-dark: #4a2d87;
  --pink: #ef4b78;
  --yellow: #f4cf1f;
  --green: #71ce63;
  --cyan: #28b5d2;
  --orange: #f5a33b;
  --card: rgba(255,255,255,.76);
  --border: rgba(23,29,20,.12);
  --shadow: 0 18px 45px rgba(44, 34, 71, .14);
  --round-lg: 28px;
  --max: 1220px;
  --splash: url("/assets/images/rainbow-paint-splash.png");
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 7% 26%, rgba(244, 207, 31, .3), transparent 18rem), radial-gradient(circle at 88% 21%, rgba(40, 181, 210, .18), transparent 20rem), linear-gradient(180deg, var(--bg-lavender) 0%, var(--bg-soft) 45%, #f7f2e8 100%);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", "Avenir Next", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Impact, Haettenschweiler, "Arial Black", "Trebuchet MS", sans-serif;
  font-weight: 900;
  letter-spacing: .015em;
  font-size: 1.65rem;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(44,34,71,.14);
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Black", "Trebuchet MS", sans-serif;
  font-weight: 400;
  letter-spacing: .015em;
  color: #402c78;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

h1, h2, h3 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Black", "Trebuchet MS", sans-serif;
  font-weight: 900;
  letter-spacing: .015em;
  line-height: .95;
  text-transform: uppercase;
}

h1 {
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Black", "Trebuchet MS", sans-serif;
  font-weight: 400;
}

section {
  padding: 48px 0;
}

.rock-hero {
  position: relative;
  overflow: visible;
  padding: 68px 0 46px;
}

.rock-hero-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 58px;
  align-items: center;
}

.rock-hero-copy h1 {
  margin-top: 18px;
  font-size: clamp(2.75rem, 6.35vw, 5.0rem);
  line-height: .95;
}

.rock-author-inline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(44,34,71,.10);
}

.rock-author-inline img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--yellow), var(--pink));
  border: 3px solid #fff;
}

.rock-author-inline span {
  display: block;
  color: var(--muted);
  font-weight: 900;
  font-size: .82rem;
  line-height: 1.15;
}

.rock-author-inline strong {
  display: block;
  color: var(--ink);
  font-weight: 1000;
  line-height: 1.1;
}

.rock-author-action-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.rock-author-action-row .rock-author-inline {
  margin-top: 0;
}

.rock-author-action-row .btn {
  min-height: 70px;
  padding-inline: 24px;
  white-space: nowrap;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.rock-stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
  max-width: 520px;
}

.rock-stat {
  padding: 16px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(44,34,71,.08);
}

.rock-stat strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  color: var(--purple-dark);
  font-weight: 1000;
}

.rock-stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 900;
  font-size: .86rem;
}

.rock-showcase {
  position: relative;
  isolation: isolate;
  overflow: visible;
  min-height: 520px;
}

.rock-showcase-splash {
  position: absolute;
  z-index: 0;
  width: 72%;
  aspect-ratio: 1 / 1;
  background: var(--splash) no-repeat center center / contain;
  pointer-events: none;
}

.rock-showcase-splash-1 {
  left: -18%;
  top: -14%;
  transform: rotate(105deg) scale(1.05);
}

.rock-showcase-splash-2 {
  right: -18%;
  bottom: -16%;
  transform: scaleX(-1) rotate(28deg) scale(1.05);
}

.rock-media-frame {
  position: relative;
  z-index: 1;
  padding: 14px;
  border-radius: 36px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: var(--shadow);
}

.rock-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.rock-media-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #f6f1f8;
}

.rock-media-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
}

.media-type-pill {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23,29,20,.84);
  color: #fff;
  font-weight: 1000;
  font-size: .78rem;
}

.rock-status-card {
  position: absolute;
  z-index: 3;
  left: -20px;
  bottom: -24px;
  width: min(58%, 340px);
  padding: 16px;
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--border);
  box-shadow: 0 18px 34px rgba(44,34,71,.15);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: #221;
  font-weight: 1000;
  font-size: .78rem;
  margin-bottom: 10px;
}

.status-hidden {
  background: linear-gradient(135deg, var(--yellow), #fff1b6);
}

.status-found {
  background: linear-gradient(135deg, var(--green), #d8f7d2);
}

.rock-status-card strong, .rock-status-card small {
  display: block;
}

.rock-status-card strong {
  line-height: 1.18;
  font-size: 1rem;
}

.rock-status-card small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 900;
}

.rock-details-section {
  padding-top: 62px;
}

.rock-details-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 22px;
  align-items: stretch;
}

.rock-panel {
  position: relative;
  border-radius: 34px;
  background: #fff;
  border: 1px solid rgba(95,90,103,.18);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 30px;
}

.rock-panel::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,207,31,.24), transparent 65%);
  pointer-events: none;
}

.rock-panel > * {
  position: relative;
  z-index: 1;
}

.rock-panel h2, .rock-comments-panel h2 {
  font-size: clamp(2.05rem, 4vw, 3.5rem);
  line-height: .96;
}

.rock-detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.rock-detail-list div {
  padding: 16px;
  border-radius: 22px;
  background: rgba(246,241,248,.9);
  border: 1px solid rgba(95,90,103,.10);
}

.rock-detail-list dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.rock-detail-list dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.rock-detail-list code {
  padding: 4px 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(95,90,103,.14);
  font-weight: 1000;
}

.private-detail {
  background: rgba(244,207,31,.18) !important;
}

.rock-note-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(107,78,178,.96), rgba(74,45,135,.96));
  color: #fff;
}

.rock-note-card strong {
  display: block;
  font-size: 1.05rem;
}

.rock-note-card p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.82);
  font-weight: 800;
}

.rock-community-card {
  background: radial-gradient(circle at 16% 20%, rgba(244,207,31,.14), transparent 12rem), radial-gradient(circle at 85% 25%, rgba(40,181,210,.14), transparent 12rem), #fff;
}

.rock-community-card p:not(.section-kicker) {
  color: var(--muted);
  font-weight: 800;
  margin: 16px 0 0;
}

.mini-stats {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.mini-stats > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(95,90,103,.12);
}

.mini-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  color: #fff;
  font-weight: 1000;
}

.mini-stats strong {
  font-weight: 1000;
  line-height: 1.15;
}

.rock-comments-panel {
  position: relative;
  padding: 28px;
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,.90), rgba(255,255,255,.76)), linear-gradient(120deg, rgba(40,181,210,.10), rgba(239,75,120,.08));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: visible;
  isolation: isolate;
}

.rock-comments-panel::before {
  content: "";
  position: absolute;
  inset: -42px;
  z-index: -1;
  background: var(--splash) no-repeat center center / contain;
  opacity: 1;
  pointer-events: none;
  transform: rotate(-8deg) scale(1.02);
}

.last-comments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.last-comment {
  padding: 20px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(95,90,103,.14);
  box-shadow: 0 14px 28px rgba(44,34,71,.10);
}

.last-comment strong {
  color: var(--purple-dark);
  font-weight: 1000;
}

.last-comment p {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 800;
  white-space: pre-wrap;
}

.comment-mentions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.comment-mentions span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(107,78,178,.10);
  color: var(--purple-dark);
  font-weight: 1000;
  font-size: .8rem;
}

#download {
  margin-top: 78px;
}

#download, #download .container {
  position: relative;
  overflow: visible;
}

.download-scene {
  position: relative;
  isolation: isolate;
  overflow: visible;
}

.download-splash {
  position: absolute;
  z-index: 0;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  aspect-ratio: 1 / 1;
  background: var(--splash) no-repeat center center / contain;
  opacity: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) scaleX(var(--flip-x, 1)) scaleY(var(--flip-y, 1)) rotate(var(--rotate, 0deg)) scale(var(--scale, 1));
}

.download-splash-1 {
  --x: 15%;
  --y: 51%;
  --size: 33%;
  --rotate: 280deg;
  --scale: 1.08;
  --flip-x: 1;
  --flip-y: 1;
}

.download-splash-2 {
  --x: 54%;
  --y: 50%;
  --size: 33%;
  --rotate: 29deg;
  --scale: 1.08;
  --flip-x: -1;
  --flip-y: 1;
}

.download-splash-3 {
  --x: 85%;
  --y: 52%;
  --size: 33%;
  --rotate: 441deg;
  --scale: 1.08;
  --flip-x: 1;
  --flip-y: -1;
}

.download {
  text-align: center;
  padding: 70px 28px;
  border-radius: 40px;
  background: radial-gradient(circle at 16% 20%, rgba(244, 207, 31, .14), transparent 12rem), radial-gradient(circle at 85% 25%, rgba(40, 181, 210, .14), transparent 12rem), linear-gradient(135deg, #ffffff, #ffffff);
  border: 1px solid rgba(95, 90, 103, 0.18);
  box-shadow: 0 22px 52px rgba(44, 34, 71, 0.14);
  position: relative;
  z-index: 1;
  overflow: visible;
}

.download h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
}

.store-buttons.store-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
  line-height: 0;
}

.store-badge-link img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .rock-hero-grid, .rock-details-grid {
    grid-template-columns: 1fr;
  }
  .rock-showcase {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 769px) {
  .rock-stats-row, .rock-detail-list, .last-comments {
    grid-template-columns: 1fr;
  }
  .rock-status-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -8px 16px 0;
  }
  .rock-media-grid {
    grid-template-columns: 1fr;
  }
  .rock-media-item:first-child {
    grid-column: auto;
  }
  .rock-panel, .rock-comments-panel {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--max));
  }
  .rock-hero {
    padding-top: 46px;
  }
  .rock-hero-copy h1 {
    font-size: clamp(2.55rem, 14vw, 4.45rem);
    line-height: .98;
  }
  .store-buttons.store-badges {
    flex-direction: column;
    align-items: center;
  }
  .store-badge-link img {
    height: 50px;
  }
  .btn {
    width: 100%;
  }
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .rock-showcase-splash {
    width: 92%;
  }
  .rock-media-frame {
    padding: 10px;
    border-radius: 28px;
  }
  .rock-media-item, .rock-media-item img, .rock-media-item:first-child img {
    border-radius: 20px;
  }
}

/* Final override: force all download splashes to 33% with 36% width */
.download-splash, .download-splash-1, .download-splash-2, .download-splash-3 {
  --size: 33% !important;
  width: 36% !important;
}

/* Rock media sample variants */
.rock-media-grid.images-1 {
  grid-template-columns: 1fr !important;
}

.rock-media-grid.images-1 .rock-media-item:first-child {
  grid-column: auto !important;
}

.rock-media-grid.images-1 .rock-media-item img, .rock-media-grid.images-1 .rock-media-item:first-child img {
  aspect-ratio: 16 / 11 !important;
}

.rock-media-grid.images-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.rock-media-grid.images-2 .rock-media-item:first-child {
  grid-column: auto !important;
}

.rock-media-grid.images-2 .rock-media-item img, .rock-media-grid.images-2 .rock-media-item:first-child img {
  aspect-ratio: 1 / 1 !important;
}

.rock-media-grid.images-3 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.rock-media-grid.images-3 .rock-media-item:first-child {
  grid-column: 1 / -1 !important;
}

.rock-media-grid.images-3 .rock-media-item img {
  aspect-ratio: 4 / 3 !important;
}

.rock-media-grid.images-3 .rock-media-item:first-child img {
  aspect-ratio: 16 / 11 !important;
}

/* one-image-variant-large-media-override
Match the visual height of the 3-image variant.
The 3-image grid is: full-width image + gap + two half-width images,
so a single image needs a much taller ratio than 16/11. */
.rock-media-grid.images-1 .rock-media-item img, .rock-media-grid.images-1 .rock-media-item:first-child img {
  aspect-ratio: 16 / 17 !important;
  height: auto !important;
  object-fit: cover !important;
}

/* title-line-height-final-override */
.rock-hero-copy h1 {
  line-height: 0.95 !important;
}

@media (max-width: 560px) {
  .rock-hero-copy h1 {
    line-height: 0.95 !important;
  }
}

/* equal-height-hero-columns-override
Make the media column (.rock-showcase) and the text column
(.rock-hero-copy) share the same desktop height. */
.rock-hero-grid {
  align-items: stretch !important;
}

.rock-hero-copy, .rock-showcase {
  height: 100% !important;
}

.rock-hero-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.rock-showcase {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

.rock-media-frame {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.rock-media-grid.images-1 {
  flex: 1 1 auto !important;
  height: 100% !important;
}

.rock-media-grid.images-1 .rock-media-item {
  height: 100% !important;
}

.rock-media-grid.images-1 .rock-media-item img, .rock-media-grid.images-1 .rock-media-item:first-child img {
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
}

@media (max-width: 1024px) {
  .rock-hero-grid {
    align-items: center !important;
  }
  .rock-hero-copy, .rock-showcase {
    height: auto !important;
  }
  .rock-showcase {
    min-height: auto !important;
  }
  .rock-media-frame, .rock-media-grid.images-1, .rock-media-grid.images-1 .rock-media-item {
    height: auto !important;
  }
  .rock-media-grid.images-1 .rock-media-item img, .rock-media-grid.images-1 .rock-media-item:first-child img {
    height: auto !important;
    aspect-ratio: 16 / 17 !important;
  }
}

/* fix-eyebrow-width-after-equal-height
Prevent the Painted rock label from stretching across the full column. */
.rock-hero-copy {
  align-items: flex-start !important;
}

.rock-hero-copy .eyebrow {
  width: auto !important;
  max-width: max-content !important;
  align-self: flex-start !important;
}

/* restore-full-width-children-after-eyebrow-fix
Keep only the eyebrow as a compact pill, while stats/actions can stretch. */
.rock-hero-copy {
  align-items: stretch !important;
}

.rock-hero-copy .eyebrow {
  width: auto !important;
  max-width: max-content !important;
  align-self: flex-start !important;
}

.rock-stats-row {
  width: 100% !important;
  align-self: stretch !important;
}

/* hide rock stats on mobile */
@media (max-width: 769px) {
  .rock-stats-row {
    display: none !important;
  }
}

/* keep Open in RockQuest button compact on mobile */
@media (max-width: 769px) {
  .rock-author-action-row {
    align-items: center !important;
  }
  .rock-author-action-row .rock-actions, .rock-author-action-row .btn, .rock-author-action-row .btn.btn-primary {
    width: auto !important;
    flex: 0 0 auto !important;
    align-self: center !important;
  }
}

/* prevent horizontal scrolling caused by decorative splashes */
html, body {
  max-width: 100%;
  overflow-x: hidden !important;
}

/* keep decorative overflow visually clipped inside key sections */
.site-header, .hero, .rock-hero, #download, #download .container, .download-card {
  overflow-x: clip !important;
}

/* mobile layout tweaks for splashes and download spacing */
@media (max-width: 769px) {
  .rock-showcase-splash-1 {
    left: -12% !important;
    top: -7% !important;
  }
  .rock-showcase-splash-2 {
    right: -8% !important;
    bottom: -12% !important;
  }
  #download {
    margin-top: 16px !important;
  }
}

/* let the download card shadow render fully */
#download, #download .container, .download-card {
  overflow: visible !important;
}

/* keep header glued to the top */
header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
}

body {
  padding-top: 79px !important;
}

/* tablet image-size fix
When the hero switches to one column, keep the rock image from becoming huge. */
@media (max-width: 1024px) and (min-width: 770px) {
  .rock-showcase {
    width: min(100%, 680px) !important;
    max-width: 680px !important;
    margin-inline: auto !important;
  }
  .rock-media-grid.images-1 .rock-media-item img, .rock-media-grid.images-1 .rock-media-item:first-child img {
    aspect-ratio: 16 / 11 !important;
    height: auto !important;
    max-height: 520px !important;
    object-fit: cover !important;
  }
}

/* tablet hero gap at 1024px breakpoint */
@media (max-width: 1024px) and (min-width: 770px) {
  .rock-hero-grid {
    gap: 118px !important;
  }
}

/* tablet hero padding at 1024px breakpoint */
@media (max-width: 1024px) and (min-width: 770px) {
  .rock-hero {
    padding: 38px 0 46px !important;
  }
}

/* author pill padding adjustment */
.rock-author-inline {
  padding: 10px 26px 10px 10px !important;
}

/* keep tablet hero padding from 769px up to 1024px */
@media (min-width: 770px) and (max-width: 1024px) {
  .rock-hero {
    padding: 38px 0 46px !important;
  }
}

/* keep the same hero padding for all widths below 1024px */
@media (max-width: 1024px) {
  .rock-hero {
    padding: 38px 0 46px !important;
  }
}

/* mobile hero grid gap adjustments */
@media (min-width: 561px) and (max-width: 769px) {
  .rock-hero-grid {
    gap: 9% !important;
  }
}

@media (max-width: 560px) {
  .rock-hero-grid {
    gap: 8% !important;
  }
}

/* keep the status card compact from 769px and below */
@media (max-width: 769px) {
  .rock-status-card {
    width: fit-content !important;
    max-width: calc(100% - 32px) !important;
    margin: -8px 16px 0 !important;
  }
}

/* pull the status card up on mobile */
@media (max-width: 769px) {
  .rock-status-card {
    margin: -58px 16px 0 !important;
  }
}

/* mobile status card margin adjustment */
@media (max-width: 769px) {
  .rock-status-card {
    margin: -58px 24px 0 !important;
  }
}

/* download splash responsive widths */
@media (min-width: 1024px) {
  .download-splash, .download-splash-1, .download-splash-2, .download-splash-3 {
    width: 438px !important;
  }
}

@media (min-width: 770px) and (max-width: 1023.98px) {
  .download-splash, .download-splash-1, .download-splash-2, .download-splash-3 {
    width: 408px !important;
  }
}

/* download section responsive margin */
@media (min-width: 1024px) {
  #download {
    margin-top: 68px !important;
  }
}

@media (max-width: 1023.98px) {
  #download {
    margin-top: 58px !important;
  }
}

/* mobile showcase splash adjustment */
@media (max-width: 769px) {
  .rock-showcase-splash-2 {
    right: -8% !important;
    bottom: -6% !important;
  }
}

/* showcase splash adjustment from 769px and lower */
@media (max-width: 769px) {
  .rock-showcase-splash-2 {
    right: -8% !important;
    bottom: -6% !important;
  }
}

/* hide rock stats from 769px and lower */
@media (max-width: 769px) {
  .rock-stats-row {
    display: none !important;
  }
}

/* download spacing and splash width from 561px to 769px */
@media (min-width: 561px) and (max-width: 769px) {
  #download {
    margin-top: 92px !important;
  }
  .download-splash, .download-splash-1, .download-splash-2, .download-splash-3 {
    width: 382px !important;
  }
}

/* mobile: make the download splashes grow with the download card height */
@media (max-width: 769px) {
  .download-scene {
    overflow: visible !important;
  }
  .download-splash, .download-splash-1, .download-splash-2, .download-splash-3 {
    top: 50% !important;
    height: calc(100% + 72px) !important;
    width: auto !important;
    min-width: min(382px, 92vw) !important;
    aspect-ratio: 1 / 1 !important;
    background-size: contain !important;
  }
}

@media (max-width: 560px) {
  .download-splash, .download-splash-1, .download-splash-2, .download-splash-3 {
    height: calc(100% + 64px) !important;
    min-width: min(340px, 96vw) !important;
  }
}

@media (max-width: 500px) {
  .download-splash-1, .download-splash-3 {
    display: none !important;
  }
}

/* use the same display font as the main hero title */
.download h2 {
  font-family: "Luckiest Guy", cursive !important;
  font-weight: 400 !important;
  line-height: 0.95 !important;
  letter-spacing: 0.01em !important;
}

/* download title fixed size */
.download h2 {
  font-size: 3.8rem !important;
}

/* download title responsive size, capped at 3.8rem */
.download h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.8rem) !important;
}

/* download margin adjustment from 561px to 769px */
@media (min-width: 561px) and (max-width: 769px) {
  #download {
    margin-top: 108px !important;
  }
}

/* download margin adjustment from 0px to 560px */
@media (max-width: 560px) {
  #download {
    margin-top: 72px !important;
  }
}

/* responsive footer padding */
@media (max-width: 1023.98px) {
  footer {
    padding: 32px 0 54px !important;
  }
}

@media (max-width: 769px) {
  footer {
    padding: 24px 0 54px !important;
  }
}

@media (max-width: 500px) {
  footer {
    padding: 0 0 54px !important;
  }
}

/* download title line-height adjustment */
.download h2 {
  line-height: 1.1 !important;
}

/* rock location map (Leaflet + OpenStreetMap, free, no API key) */
.rock-map-section { padding: 28px 0; }
.rock-map-card {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}
.rock-map { width: 100%; height: 440px; }
@media (max-width: 560px) {
  .rock-map { height: 320px; }
}

/* map sits above download now: keep a single consistent gap (was 16-108px responsive) */
#download {
  margin-top: 36px !important;
}


/* Location map title in the display font */
.rock-map-section h2 {
  font-family: "Luckiest Guy", Impact, Haettenschweiler, "Arial Black", "Trebuchet MS", sans-serif;
  font-weight: 400;
}

/* extra top clearance for the map section on tablet/mobile */
@media (min-width: 560px) and (max-width: 769px) {
  .rock-map-section { padding-top: 108px; }
}
@media (max-width: 560px) {
  .rock-map-section { padding-top: 88px; }
}


/* rock hero title line-height */
.rock-hero-copy h1 {
  line-height: 1.05 !important;
}


/* rock media carousel (shown when a rock has more than one image) */
.rock-carousel { position: relative; }
.rock-carousel-track { position: relative; }
.rock-slide {
  display: none;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #f6f1f8;
}
.rock-slide.is-active { display: block; }
.rock-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}
.rock-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(44,34,71,.22);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s ease, background .15s ease;
}
.rock-carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.rock-carousel-prev { left: 10px; }
.rock-carousel-next { right: 10px; }
.rock-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.rock-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  box-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.rock-carousel-dot.is-active { background: #fff; }


/* carousel: fill the media frame like the single-image variant (no bottom gap).
   Mirrors the equal-height override used for .rock-media-grid.images-1. */
.rock-media-frame .rock-carousel {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.rock-carousel-track {
  flex: 1 1 auto !important;
  height: 100% !important;
}
.rock-slide.is-active {
  height: 100% !important;
}
.rock-carousel .rock-slide img {
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
}

@media (max-width: 1024px) {
  .rock-media-frame .rock-carousel,
  .rock-carousel-track,
  .rock-slide.is-active {
    height: auto !important;
    flex: 0 1 auto !important;
  }
  .rock-carousel .rock-slide img {
    height: auto !important;
    aspect-ratio: 16 / 11 !important;
  }
}
