/* Precision pass: composition and proportions of approved storyboard variant 4. */
main {
  width: 94vw;
  max-width: none;
  padding: 0;
}

.topbar {
  width: 94vw;
  max-width: none;
  height: 60px;
  margin: 0 auto;
  padding: 0 16px;
  border-right: 1px solid rgba(21,68,142,.12);
  border-left: 1px solid rgba(21,68,142,.12);
  border-radius: 0 0 14px 14px;
}

.onecube-brand img { width: 35px; }
.onecube-mark { width: 35px; height: 35px; flex: 0 0 auto; color: var(--blue); }
.onecube-brand strong { font-size: 21px; }
.onecube-brand b { font-size: 22px; }
.header-user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  color: var(--blue);
  font-size: 11px;
  white-space: nowrap;
}
.header-user i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21,68,142,.25);
  border-radius: 50%;
  background: #fff;
  font-style: normal;
}

.storyboard-hero {
  grid-template-columns: minmax(270px,.85fr) minmax(250px,.84fr) 28px minmax(220px,.72fr) 28px minmax(350px,1.15fr);
  gap: 14px;
  min-height: 285px;
  padding: 12px 0 18px;
}
.storyboard-hero .hero-copy { align-self: center; }
.storyboard-hero h1 {
  font-size: clamp(44px,3.45vw,55px);
  line-height: 1.08;
  white-space: nowrap;
}
.storyboard-hero .lead {
  width: 270px;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.45;
}
.storyboard-hero .eyebrow,
.hero-status { display: none; }
.sketch-callout {
  margin: 18px 0 0 60%;
  font-size: 12px;
}

.hero-step {
  min-height: 250px;
  padding: 13px;
}
.hero-step h2 {
  margin: 9px 0;
  font-size: 15px;
}
.choice-photos { gap: 6px; }
.choice-photos img { height: 105px; }
.gift-select { display: block; position: relative; }
.gift-select:after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 50%;
  color: var(--blue);
  font: 700 18px "Segoe Print",cursive;
  pointer-events: none;
  transform: translateY(-58%);
}
.gift-select select {
  width: 100%;
  height: 34px;
  appearance: none;
  padding: 4px 34px 4px 10px;
  border: 2px solid rgba(21,68,142,.48);
  border-radius: 8px;
  color: var(--blue);
  background: #fff;
  font: 600 11px "Segoe Print",cursive;
  cursor: pointer;
}
.choose-step p { margin-top: 4px; }
.portrait-sketch {
  width: 70px;
  height: 70px;
  margin-top: 5px;
  border-width: 2px;
}
.portrait-sketch svg { width: 88%; height: 88%; }
.portrait-sketch path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.drop-sketch { height: 90px; font-size: 33px; }
.drop-sketch small { font-size: 10px; }
.result-step .showcase-video { height: 184px; }
.result-step .showcase-now {
  left: 21px;
  right: 21px;
  bottom: 58px;
  padding: 6px 8px;
}
.showcase-download {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 36px;
  margin-top: 8px;
  padding: 7px 12px;
  border-radius: 7px;
  font: 700 12px "Segoe Print",cursive;
  text-decoration: none;
}
.ready-note { top: -15px; padding: 4px 15px; font-size: 13px; }
.hero-arrow { font-size: 34px; }

.story-process {
  padding-top: 2px;
  padding-bottom: 22px;
}
.story-heading { margin-bottom: 8px; }
.story-heading h2 { font-size: 40px; }
.story-scroll { padding-top: 14px; padding-bottom: 18px; }
.story-flow {
  grid-template-columns: 185px 170px minmax(720px,1fr) 195px;
  min-width: 1290px;
  gap: 16px;
}
.story-card { min-height: 255px; }
.secure-zone { padding-top: 37px; }
.secure-zone .story-card { min-height: 205px; padding-top: 17px; }
.secure-zone .story-card h3 { margin-bottom: 8px; }
.laptop { height: 58px; margin: 8px auto; }
.frames { margin: 22px 2px 12px; }
.llm-bot { height: 64px; margin: 11px auto 2px; }
.approval-mark { height: 80px; margin: 11px auto; }
.final-card img { height: 125px; }

.library-section { padding: 16px 0 48px; }
.section-heading h2 { font-size: 43px; }
.reel-strip {
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 12px;
  margin-top: 12px;
  overflow: visible;
}
.reel-strip .showcase-thumb { min-width: 0; }
.reel-strip .showcase-thumb img { height: 135px; }
.reel-strip .showcase-thumb > span {
  display: grid;
  gap: 1px;
  padding: 5px 7px 7px;
  text-align: left;
}
.reel-strip .showcase-thumb > span b { font-size: 9px; }
.reel-strip .showcase-thumb > span small { color: var(--muted); font-size: 8px; }
.library-grid { margin-top: 18px; }

@media (max-width: 1260px) {
  .header-user { display: none; }
  .storyboard-hero {
    grid-template-columns: 1fr 1fr 26px 1fr;
    min-height: auto;
  }
  .storyboard-hero .hero-copy { grid-column: 1 / -1; }
  .storyboard-hero h1 { font-size: 52px; }
  .storyboard-hero .choose-step { grid-column: 1 / 2; }
  .storyboard-hero .upload-step { grid-column: 3 / 5; }
  .storyboard-hero .result-step { grid-column: 2 / 5; }
}

@media (max-width: 780px) {
  .topbar { width: 100%; border-radius: 0 0 12px 12px; }
  .storyboard-hero { grid-template-columns: 1fr; padding-top: 28px; }
  .storyboard-hero .hero-copy,
  .storyboard-hero .choose-step,
  .storyboard-hero .upload-step,
  .storyboard-hero .result-step { grid-column: 1; }
  .storyboard-hero h1 { font-size: clamp(39px,12vw,50px); }
  .storyboard-hero .lead { width: auto; max-width: 330px; }
  .sketch-callout { margin-left: 44%; }
  .hero-step { min-height: 270px; }
  .choice-photos img { height: 130px; }
  .result-step .showcase-video { height: 230px; }
  .story-flow { min-width: 1290px; }
  .reel-strip {
    grid-template-columns: repeat(6,145px);
    overflow-x: auto;
  }
}
