/* ============================================================
   "What You Can Make" — deliverable showcase, high on the page.

   A tabbed picker rather than six stacked blocks: the page is
   already ~100 screens on mobile, and one panel at a time keeps
   this to roughly a screen and a half instead of ten.

   Pure CSS (radio + :checked). No JS, so nothing here depends on
   site.js, which is Cloudflare-cached for ten years.

   MEDIA: everything is preload="none" / loading="lazy". Hidden
   panels must not download a 2MB video or four ad images before
   the visitor asks for them.

   MOBILE: no nested vertical scroller anywhere. The tab strip
   scrolls horizontally only, with overscroll contained.
   ============================================================ */

.uc {
  display: block !important; /* beats the inline display:none fail-safe */
  position: relative;
  overflow: hidden;
  padding: 78px 0 72px;
  background: linear-gradient(180deg, #f6f7fc 0%, #ffffff 45%, #f3f5fb 100%);
  --uc-ink: #14162b;
  --uc-line: #e4e7f0;
  --uc-accent: #f0a32c;
}

.uc-in {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.uc .section-head {
  max-width: 800px;
}
.uc .section-head h2 {
  color: var(--uc-ink);
}

/* ---------- Tabs ---------- */
.uc-tabwrap {
  margin-bottom: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.uc-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}
.uc-tabs::-webkit-scrollbar {
  display: none;
}
.uc-tab {
  cursor: pointer;
  flex: none;
  scroll-snap-align: start;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: #3d425f;
  background: #fff;
  border: 1.5px solid var(--uc-line);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.uc-tab:hover {
  border-color: #c6cbdd;
}
.uc-ico {
  width: 18px;
  height: 18px;
  flex: none;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.uc-ico--page  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M7 13h7M7 16h4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M7 13h7M7 16h4'/%3E%3C/svg%3E"); }
.uc-ico--video { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m10.5 9.2 4.6 2.8-4.6 2.8V9.2Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='m10.5 9.2 4.6 2.8-4.6 2.8V9.2Z'/%3E%3C/svg%3E"); }
.uc-ico--ads   { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='m5 17 4.5-5 3 3.2L16 12l3 4'/%3E%3Ccircle cx='9' cy='8.5' r='1.4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='m5 17 4.5-5 3 3.2L16 12l3 4'/%3E%3Ccircle cx='9' cy='8.5' r='1.4'/%3E%3C/svg%3E"); }
.uc-ico--social{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4H4a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h4l4 4v-4h8a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 4H4a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h4l4 4v-4h8a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1Z'/%3E%3C/svg%3E"); }
.uc-ico--voice { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3'/%3E%3C/svg%3E"); }
.uc-ico--camp  { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4a1 1 0 0 0 1 1h3l7 4V5L7 9H4a1 1 0 0 0-1 1Z'/%3E%3Cpath d='M18 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4a1 1 0 0 0 1 1h3l7 4V5L7 9H4a1 1 0 0 0-1 1Z'/%3E%3Cpath d='M18 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E"); }

@media (min-width: 1080px) {
  .uc-tabwrap {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .uc-tabs {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }
}

/* ---------- Panels ---------- */
.uc-stage {
  border: 1px solid var(--uc-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 70px -45px rgba(20, 22, 43, 0.6);
  overflow: hidden;
}
.uc-panel {
  display: none;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  padding: 40px;
  align-items: center;
}
.uc-say {
  min-width: 0;
}
.uc-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8fa8;
  margin-bottom: 8px;
}
.uc-msg {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-radius: 16px 16px 16px 5px;
  background: linear-gradient(135deg, #ffcb1d, #f0a32c);
  color: #2a1a00;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.uc-get {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.uc-get li {
  position: relative;
  padding-left: 27px;
  font-size: 18px;
  line-height: 1.5;
  color: #45495f;
}
.uc-get li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 8px;
  border-left: 2.4px solid var(--uc-accent);
  border-bottom: 2.4px solid var(--uc-accent);
  transform: rotate(-45deg);
}
.uc-note-in {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--uc-line);
  font-size: 14px;
  font-weight: 700;
  color: var(--uc-ink);
}

.uc-show {
  min-width: 0;
}
.uc-show img,
.uc-video {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}
.uc-cap {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: #8a8fa8;
}

/* Landing pages — staggered stack */
.uc-show--pages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.uc-show--pages img {
  border: 1px solid var(--uc-line);
  box-shadow: 0 16px 34px -22px rgba(20, 22, 43, 0.7);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}
.uc-show--pages img:nth-child(1) { transform: translateY(10px) rotate(-1.5deg); }
.uc-show--pages img:nth-child(3) { transform: translateY(10px) rotate(1.5deg); }

/* Ad creatives — 2x2 */
.uc-show--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.uc-show--grid img {
  border: 1px solid var(--uc-line);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.uc-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0d1020;
  border: 1px solid var(--uc-line);
}

/* Social posts */
.uc-posts {
  display: grid;
  gap: 10px;
}
.uc-post {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--uc-line);
  background: #fafbff;
}
.uc-post b {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--uc-accent);
  margin-bottom: 6px;
}
.uc-post p {
  margin: 0 0 7px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--uc-ink);
}
.uc-post span {
  font-size: 13px;
  color: #7b80a0;
}

/* Voiceover */
.uc-voice {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--uc-line);
  background: #fafbff;
}
.uc-voice-face {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.uc-voice b {
  display: block;
  font-size: 15px;
  color: var(--uc-ink);
  margin-bottom: 9px;
}
.uc-audio {
  width: 100%;
  max-width: 320px;
}
.uc-camp-img {
  border: 1px solid var(--uc-line);
  box-shadow: 0 18px 40px -26px rgba(20, 22, 43, 0.7);
}

/* ---------- Which panel is showing (and which tab is active) ---------- */
#uc-page:checked   ~ .container .uc-panel--page,
#uc-video:checked  ~ .container .uc-panel--video,
#uc-ads:checked    ~ .container .uc-panel--ads,
#uc-social:checked ~ .container .uc-panel--social,
#uc-voice:checked  ~ .container .uc-panel--voice,
#uc-camp:checked   ~ .container .uc-panel--camp {
  display: grid;
}
#uc-page:checked   ~ .container .uc-tab[for="uc-page"],
#uc-video:checked  ~ .container .uc-tab[for="uc-video"],
#uc-ads:checked    ~ .container .uc-tab[for="uc-ads"],
#uc-social:checked ~ .container .uc-tab[for="uc-social"],
#uc-voice:checked  ~ .container .uc-tab[for="uc-voice"],
#uc-camp:checked   ~ .container .uc-tab[for="uc-camp"] {
  background: var(--uc-ink);
  color: #fff;
  border-color: var(--uc-ink);
}
/* keyboard focus mirrored onto the visible label */
#uc-page:focus-visible   ~ .container .uc-tab[for="uc-page"],
#uc-video:focus-visible  ~ .container .uc-tab[for="uc-video"],
#uc-ads:focus-visible    ~ .container .uc-tab[for="uc-ads"],
#uc-social:focus-visible ~ .container .uc-tab[for="uc-social"],
#uc-voice:focus-visible  ~ .container .uc-tab[for="uc-voice"],
#uc-camp:focus-visible   ~ .container .uc-tab[for="uc-camp"] {
  outline: 3px solid #6366f1;
  outline-offset: 2px;
}
.showcaseimg {
    border: 1px solid var(--uc-line);
    box-shadow: 0 16px 34px -22px rgba(20, 22, 43, 0.7);
    border-radius: 20px;
}
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .uc {
    padding: 58px 0 52px;
  }
  .uc-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px 26px;
  }
  /* proof first on small screens — the picture is the hook */
  .uc-show {
    order: -1;
  }
}
@media (max-width: 620px) {
  .uc {
    padding: 48px 0 44px;
  }
  .uc-panel {
    padding: 20px 15px 22px;
  }
  .uc-msg {
    font-size: 15.5px;
    padding: 12px 15px;
  }
  .uc-get li {
    font-size: 14.5px;
  }
  .uc-show--pages {
    gap: 8px;
  }
  .uc-show--pages img:nth-child(1),
  .uc-show--pages img:nth-child(3) {
    transform: none;
  }
  .uc-voice {
    padding: 15px;
    gap: 12px;
  }
  .uc-voice-face {
    width: 52px;
    height: 52px;
  }
  .uc-tab {
    font-size: 14px;
    padding: 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uc-tab {
    transition: none !important;
  }
  .uc-show--pages img:nth-child(1),
  .uc-show--pages img:nth-child(3) {
    transform: none;
  }
}
