:root {
  --bg: #070708;
  --bg-2: #0f1013;
  --bg-3: #17181d;
  --panel: rgba(255,255,255,.06);
  --panel-strong: rgba(255,255,255,.09);
  --line: rgba(255,255,255,.12);
  --line-soft: rgba(255,255,255,.07);
  --text: #f6f0e8;
  --muted: rgba(246,240,232,.75);
  --soft: rgba(246,240,232,.54);
  --accent: #ff7e33;
  --accent-2: #f5b55f;
  --accent-3: #ffe0bb;
  --glow: rgba(255,126,51,.28);
  --gold: #e7c07b;
  --shadow: 0 30px 90px rgba(0,0,0,.45);
  --radius: 30px;
  --radius-sm: 22px;
  --container: 1280px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 8%, rgba(255,126,51,.15), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(245,181,95,.10), transparent 22%),
    radial-gradient(circle at 50% 58%, rgba(104,90,255,.08), transparent 24%),
    linear-gradient(180deg, #050506 0%, #090a0d 35%, #0c0d12 60%, #070708 100%);
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: .32;
  z-index: 0;
}
body::before { top: -10vw; left: -10vw; background: radial-gradient(circle, rgba(255,126,51,.28), transparent 65%); }
body::after { bottom: -10vw; right: -8vw; background: radial-gradient(circle, rgba(245,181,95,.18), transparent 65%); }
.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .075;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.9) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 35% 80%, rgba(255,255,255,.75) 0 1px, transparent 1.5px),
    radial-gradient(circle at 65% 65%, rgba(255,255,255,.85) 0 1px, transparent 1.5px);
  background-size: 240px 240px, 320px 320px, 280px 280px, 360px 360px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
#ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .78;
  z-index: 0;
}
.site-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 36px), var(--container));
  margin: 18px auto 44px;
}
.topbar {
  position: sticky;
  top: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(9,10,13,.72);
  backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 12px 36px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #ff9b55);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255,126,51,.34), inset 0 1px 0 rgba(255,255,255,.22);
}
.brand-wordmark { display: flex; flex-direction: column; line-height: 1.02; }
.brand-word { font-size: 1.36rem; font-weight: 900; letter-spacing: -.03em; }
.brand-word-dark { color: #fff; }
.brand-word-accent { color: var(--accent); margin-left: .08em; }
.brand-subtitle {
  margin-top: 4px;
  color: var(--soft);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: .95rem;
}
.nav a { transition: color .2s ease; }
.nav a:hover { color: white; }
.topbar-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
}
.topbar-cta,
.button.primary {
  background: linear-gradient(135deg, var(--accent), #f09e55 60%, #f5b55f);
  color: white;
  box-shadow: 0 18px 40px rgba(255,126,51,.26);
}
.button.ghost {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: var(--text);
}
.topbar-cta:hover,
.button:hover { transform: translateY(-1px); }
main { padding-top: 38px; }
section { position: relative; }
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s ease, transform .72s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  gap: 42px;
  align-items: center;
}
.section-grid.reverse { grid-template-columns: minmax(420px, .96fr) minmax(0, 1.04fr); }
.hero {
  padding: 62px 0 36px;
  min-height: calc(100vh - 140px);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-3);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1,
.section-copy h2,
.world-copy h2,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  line-height: .96;
  letter-spacing: -.05em;
}
.hero h1 { font-size: clamp(3rem, 6vw, 6rem); max-width: 11ch; }
.hero-lead,
.section-copy p,
.world-copy p,
.section-heading p,
.contact-copy p,
.feature-list span,
.game-card p,
.steps-list p,
.outcome-card p,
.accordion p,
.check-list {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.02rem;
}
.hero-lead { margin: 24px 0 0; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.hero-points > div,
.value-card,
.feature-list div,
.game-card,
.premium-panel,
.story-image,
.cluster,
.steps-list article,
.outcome-card,
.contact-form,
.accordion details,
.album-board,
.mosaic figure,
.ribbon-item,
.main-hero-card,
.floating-showcase {
  position: relative;
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
}
.hero-points > div,
.value-card,
.feature-list div,
.game-card,
.steps-list article,
.outcome-card,
.contact-form,
.accordion details { border-radius: 24px; }
.hero-points > div {
  padding: 18px;
  backdrop-filter: blur(12px);
}
.hero-points strong { display: block; margin-bottom: 8px; }
.hero-points span { display: block; color: var(--soft); font-size: .95rem; line-height: 1.45; }
.hero-stage {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-glow {
  position: absolute;
  inset: 6% 10% 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,126,51,.24), rgba(245,181,95,.09) 42%, transparent 72%);
  filter: blur(18px);
}
.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
}
.ring-a { width: 82%; aspect-ratio: 1; transform: rotate(16deg); }
.ring-b { width: 60%; aspect-ratio: 1; transform: rotate(-14deg); }
.main-hero-card,
.hero-visual-frame {
  width: min(100%, 540px);
  padding: 16px;
  border-radius: 34px;
  overflow: hidden;
}
.main-hero-card::before,
.floating-showcase::before,
.cluster::before,
.story-image::before,
.premium-panel::before,
.mosaic figure::before,
.album-board::before,
.ribbon-item::before,
.outcome-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(231,192,123,.22);
  border-radius: inherit;
  pointer-events: none;
}
.main-hero-card img,
.floating-showcase img,
.cluster img,
.story-image img,
.premium-panel img,
.mosaic img,
.ribbon-item img,
.outcome-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}
.frame-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,126,51,.95), rgba(245,181,95,.95));
  color: white;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(255,126,51,.24);
}
.floating-showcase {
  position: absolute;
  width: 180px;
  height: 250px;
  padding: 10px;
  border-radius: 26px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  animation: floatCard 7s ease-in-out infinite;
}
.floating-showcase img { border-radius: 18px; }
.float-card-a { top: 9%; left: -1%; animation-delay: -1.8s; }
.float-card-b { bottom: 10%; right: -1%; animation-delay: -3.4s; }
.float-card-c { top: 56%; left: 7%; width: 165px; height: 210px; animation-delay: -2.1s; }
.tilt-left { transform: rotate(-9deg); }
.tilt-right { transform: rotate(8deg); }
.mini-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  min-width: 210px;
  border-radius: 18px;
  background: rgba(10,11,14,.76);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 18px 42px rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
}
.mini-card span { color: var(--accent-3); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.card-a { top: 10%; right: 3%; }
.card-b { bottom: 10%; right: 8%; }
.card-ribbon {
  padding: 24px 0 28px;
  overflow: hidden;
}
.ribbon-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.ribbon-item {
  padding: 10px;
  border-radius: 22px;
  min-height: 185px;
  overflow: hidden;
  transform: rotate(var(--tilt, 0deg));
}
.ribbon-item:nth-child(odd) { --tilt: -2deg; }
.ribbon-item:nth-child(even) { --tilt: 2deg; }
.ribbon-item img { min-height: 165px; }
.product-intro,
.connect-section,
.premium-cta,
.why-section {
  padding: 54px 0 28px;
}
.section-copy h2,
.world-copy h2,
.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.75rem);
}
.section-copy p,
.world-copy p,
.section-heading p,
.contact-copy p { margin: 16px 0 0; }
.feature-list { display: grid; gap: 16px; margin-top: 24px; }
.feature-list div { padding: 18px 20px; }
.feature-list b { display: block; margin-bottom: 8px; font-size: 1rem; }
.premium-list div::after,
.steps-list article::after,
.outcome-card::after,
.mosaic figure::after,
.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.04), transparent 36%, transparent 64%, rgba(255,255,255,.02));
  pointer-events: none;
}
.visual-cluster {
  position: relative;
  min-height: 570px;
}
.cluster {
  position: absolute;
  overflow: hidden;
  padding: 10px;
  border-radius: 28px;
}
.cluster-main { inset: 4% 8% 12% 8%; }
.cluster-top { width: 200px; height: 270px; top: 0; right: 0; }
.cluster-bottom { width: 220px; height: 285px; bottom: 0; left: 0; }
.cluster img { border-radius: 20px; }
.story-board {
  display: grid;
  grid-template-columns: 1.3fr .8fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}
.story-image { overflow: hidden; padding: 10px; border-radius: 28px; }
.story-image.wide { grid-row: 1 / span 2; min-height: 520px; }
.story-image.tall { min-height: 250px; }
.section-block { padding: 48px 0 24px; }
.section-heading { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.section-heading.center { text-align: center; align-items: center; }
.section-heading.narrow { max-width: 840px; }
.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
  gap: 24px;
  align-items: start;
}
.album-board {
  padding: 22px;
  border-radius: 30px;
}
.album-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.album-head span { color: var(--accent-3); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.album-progress { margin-bottom: 20px; }
.progress-bar {
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(255,126,51,.28);
}
.progress-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--soft);
  font-size: .92rem;
}
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.slot {
  min-height: 180px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot.missing {
  position: relative;
  border-style: dashed;
  color: rgba(246,240,232,.45);
  font-weight: 800;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
}
.slot.missing::before {
  content: "unopened";
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--soft);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.slot.missing.rare { border-color: rgba(245,181,95,.26); box-shadow: inset 0 0 0 1px rgba(245,181,95,.10); }
.album-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.album-tags span,
.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--accent-3);
  font-size: .8rem;
  font-weight: 700;
}
.game-cards {
  display: grid;
  gap: 16px;
}
.game-card { padding: 12px; display: grid; grid-template-columns: 120px 1fr; gap: 14px; overflow: hidden; }
.game-card img { width: 116px; aspect-ratio: var(--card-ratio); height: auto; object-fit: cover; border-radius: 16px; }
.game-card h3,
.steps-list h3,
.outcome-card h3 { margin: 2px 0 8px; font-size: 1.08rem; }
.showcase-grid .mosaic {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-template-rows: 240px 240px;
  gap: 18px;
}
.mosaic figure {
  margin: 0;
  padding: 10px;
  border-radius: 28px;
  overflow: hidden;
}
.mosaic figure img { border-radius: 20px; }
.mosaic figcaption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 3;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(8,8,10,.76);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .86rem;
  font-weight: 700;
}
.mosaic-a { grid-row: 1 / span 2; }
.mosaic-b { grid-column: 2; grid-row: 1; }
.mosaic-c { grid-column: 3; grid-row: 1; }
.mosaic-d { grid-column: 2; grid-row: 2; }
.mosaic-e { grid-column: 3; grid-row: 2; }
.steps-list { display: grid; gap: 14px; margin-top: 24px; }
.steps-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 18px;
}
.steps-list span {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,126,51,.22), rgba(245,181,95,.14));
  border: 1px solid rgba(255,126,51,.18);
  color: var(--accent-3);
  font-weight: 900;
}
.connect-visual {
  position: relative;
  min-height: 560px;
}
.large-panel {
  position: absolute;
  inset: 0 8% 0 0;
  padding: 14px;
  border-radius: 34px;
  overflow: hidden;
}
.large-panel img { border-radius: 24px; }
.floating-badge { position: absolute; backdrop-filter: blur(12px); }
.badge-one { top: 14%; right: 0; }
.badge-two { bottom: 14%; right: 4%; }
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.outcome-card {
  padding: 12px;
  overflow: hidden;
}
.outcome-card img { height: 220px; border-radius: 18px; }
.outcome-card div { padding: 16px 10px 6px; }
.accordion { display: grid; gap: 14px; }
.accordion details { padding: 18px 22px; }
.accordion summary {
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 700;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion p { margin: 12px 0 0; }
.contact {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
  gap: 24px;
  padding: 64px 0 24px;
}
.premium-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255,126,51,.09), rgba(255,255,255,.02) 36%, rgba(245,181,95,.08));
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}
.contact-copy,
.contact-form { position: relative; z-index: 1; }
.contact-form {
  padding: 24px;
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--soft);
  font-size: .92rem;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 15px 16px;
}
.contact-form textarea { min-height: 146px; resize: vertical; }
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 28px 8px 0;
  color: var(--soft);
  font-size: .92rem;
}
@keyframes floatCard {
  0%,100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--rot, 0deg)); }
}
.float-card-a { --rot: -9deg; }
.float-card-b { --rot: 8deg; }
.float-card-c { --rot: -7deg; }
@media (max-width: 1180px) {
  .nav { display: none; }
  .section-grid,
  .section-grid.reverse,
  .contact,
  .game-layout,
  .outcome-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-stage { min-height: 560px; order: -1; }
  .hero-points,
  .ribbon-track,
  .value-grid { grid-template-columns: 1fr; }
  .story-board,
  .showcase-grid .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .story-image.wide,
  .mosaic-a { grid-row: auto; grid-column: 1 / -1; min-height: 320px; }
  .mosaic-b,.mosaic-c,.mosaic-d,.mosaic-e { grid-column: auto; grid-row: auto; }
  .visual-cluster { min-height: 460px; }
  .connect-visual { min-height: 420px; }
  .large-panel { inset: 0; }
}
@media (max-width: 760px) {
  .site-shell { width: min(calc(100% - 20px), var(--container)); margin-top: 10px; }
  .topbar { padding: 14px 16px; border-radius: 22px; }
  .brand-subtitle, .topbar-cta { display: none; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 4.2rem); }
  .section-copy h2,
  .world-copy h2,
  .section-heading h2,
  .contact-copy h2 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stage { min-height: 470px; }
  .floating-showcase,
  .mini-card,
  .badge-one,
  .badge-two { display: none; }
  .hero-points,
  .slot-grid,
  .outcome-grid,
  .showcase-grid .mosaic,
  .story-board { grid-template-columns: 1fr; }
  .ribbon-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cluster-main { inset: 0 0 24% 0; }
  .cluster-top { width: 150px; height: 210px; }
  .cluster-bottom { width: 170px; height: 220px; }
  .game-card { grid-template-columns: 1fr; }
  .steps-list article { grid-template-columns: 1fr; }
  .steps-list span { width: 44px; height: 44px; border-radius: 14px; }
}


/* --- Card proportion system: all collectible cards use 7.5x10 cm ratio = 3:4 --- */
:root { --card-ratio: 3 / 4; }

.main-hero-card {
  width: min(100%, 390px);
}
.main-hero-card img {
  aspect-ratio: var(--card-ratio);
  object-fit: cover;
}

.floating-showcase {
  width: 187.5px;
  height: 250px;
}
.floating-showcase img {
  aspect-ratio: var(--card-ratio);
  object-fit: cover;
}

.ribbon-item {
  aspect-ratio: var(--card-ratio);
  min-height: unset;
}
.ribbon-item img {
  width: 100%;
  height: 100%;
  min-height: unset;
  aspect-ratio: var(--card-ratio);
  object-fit: cover;
}

.slot {
  aspect-ratio: var(--card-ratio);
  min-height: unset;
}

.game-card {
  grid-template-columns: 116px 1fr;
  align-items: start;
}
.game-card img {
  width: 116px;
  aspect-ratio: var(--card-ratio);
  height: auto;
  object-fit: cover;
}

.mosaic-d,
.mosaic-e {
  aspect-ratio: var(--card-ratio);
}
.mosaic-d img,
.mosaic-e img {
  aspect-ratio: var(--card-ratio);
  object-fit: cover;
}

@media (max-width: 760px) {
  .floating-showcase { width: 150px; height: 200px; }
  .main-hero-card { width: min(100%, 320px); }
  .game-card img { width: 100%; max-width: 170px; }
  .ribbon-item { aspect-ratio: var(--card-ratio); }
}


/* --- v6 layout fix: prevent overlap between showcase and connection sections --- */
.showcase-grid {
  padding-bottom: 96px;
  margin-bottom: 34px;
  isolation: isolate;
}

.showcase-grid .mosaic {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
}

.connect-section {
  clear: both;
  margin-top: 44px;
  padding-top: 76px;
}

/* On medium screens the mosaic can become taller, so add more breathing room. */
@media (max-width: 1180px) {
  .showcase-grid {
    padding-bottom: 120px;
    margin-bottom: 44px;
  }

  .connect-section {
    margin-top: 54px;
    padding-top: 84px;
  }
}

@media (max-width: 760px) {
  .showcase-grid {
    padding-bottom: 84px;
    margin-bottom: 28px;
  }

  .connect-section {
    margin-top: 36px;
    padding-top: 54px;
  }
}

/* --- v6 card frame correction: 30% thinner frame around card images --- */
.main-hero-card,
.hero-visual-frame {
  padding: 11px; /* was 16px */
}

.floating-showcase,
.ribbon-item,
.cluster,
.story-image,
.premium-panel,
.mosaic figure,
.outcome-card {
  padding: 7px; /* was 10px */
}

.main-hero-card::before,
.floating-showcase::before,
.cluster::before,
.story-image::before,
.premium-panel::before,
.mosaic figure::before,
.album-board::before,
.ribbon-item::before,
.outcome-card::before {
  inset: 6px; /* was 9px */
}

/* Keep card corners proportional after frame reduction. */
.main-hero-card img,
.hero-visual-frame img,
.floating-showcase img,
.ribbon-item img,
.mosaic img,
.outcome-card img,
.cluster img,
.story-image img,
.premium-panel img {
  border-radius: 17px;
}

.main-hero-card,
.floating-showcase,
.ribbon-item,
.mosaic figure,
.outcome-card {
  border-width: 1px;
}

