/* sections/bento.css · owner: bento-agent · DESIGN_SPEC §6, motion.md §5.1–5.2
   Every selector starts with #bento or .bento. Mock UIs are CSS-only placeholders. */

/* ============ Section shell ============ */
#bento {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--gutter);
  overflow: hidden;
  color: var(--color-text-inverse);
}

/* ============ 6.1 Header ============ */
.bento__header {
  display: flex;
  flex-direction: column;
  gap: var(--section-header-gap);            /* 20 (24 phone) */
  width: 100%;
  max-width: var(--container-max);
}
.bento__title {
  color: var(--color-text-inverse);
  text-wrap: balance;
}
.bento__lead {
  color: var(--color-text-inverse-80);
}

/* ============ Grid ============ */
.bento__grid {
  display: flex;
  flex-direction: column;
  gap: var(--card-gap);                      /* 32 / 24 / 32 */
  width: 100%;
  max-width: var(--container-max);
  padding: var(--space-64) 0;
}
.bento__pair {
  display: flex;
  gap: var(--card-gap);
}

/* ============ Card base ============ */
.bento__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-20);
  isolation: isolate;
}
/* dark card hairline (§2.5) */
.bento__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border-dark);
  border-radius: inherit;
  pointer-events: none;
  z-index: 6;
}

/* ---------- shared mock atoms ---------- */
.bento__bar {
  display: block;
  flex: none;
  width: var(--w, 50%);
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-border-glass);
}
.bento__bar--xs { height: 5px; }
.bento__bar--s { height: 7px; }
.bento__bar--m { height: 10px; }
.bento__bar--white { background: var(--color-text-inverse-60); }
.bento__bar--red { background: var(--color-danger); }
.bento__bar--green { background: var(--color-accent-green); }

.bento__num {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
  color: var(--color-text-inverse);
  line-height: 1;
  white-space: nowrap;
}
.bento__num--xs { font-size: 11px; }
.bento__num--sm { font-size: 13px; }
.bento__num--xl { font-size: 30px; letter-spacing: -0.5px; }
.bento__num--hero { font-size: 64px; letter-spacing: -1.5px; font-weight: var(--fw-bold); color: var(--color-accent-yellow); }
.bento__num--red { color: var(--color-danger); font-size: 17px; }
.bento__num--green { color: var(--color-accent-green); }

.bento__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  border-radius: var(--radius-6);
  font-size: 11px;
  line-height: 1;
  font-weight: var(--fw-bold);
}
.bento__chip--yellow { background: var(--color-accent-yellow); color: var(--color-bg-dark); }

.bento__dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border-glass);
}
.bento__dot--red { background: var(--color-danger); }

/* generic icons, recolored with a mask */
.bento__icon {
  flex: none;
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: var(--bento-icon) center / contain no-repeat;
          mask: var(--bento-icon) center / contain no-repeat;
}
.bento__icon--alert { --bento-icon: url(../assets/placeholders/icons/alert.svg); }
.bento__icon--check { --bento-icon: url(../assets/placeholders/icons/check.svg); }
.bento__icon--plane { --bento-icon: url(../assets/placeholders/icons/heart.svg); }
.bento__icon--clock { --bento-icon: url(../assets/placeholders/icons/clock.svg); }
.bento__icon--red { color: var(--color-danger); }

/* ============ 6.2 Wide card #delay-intel ============ */
.bento__wide {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-end;
  height: 480px;
  background: var(--color-surface-dark-1);
}

/* effect layer: 1010×490 at −5 inset, soft glow at 30% */
.bento__wide-effect {
  position: absolute;
  inset: -5px;
  background: var(--grad-hero-glow);
  background-size: 70% 120%;
  background-position: 95% 40%;
  background-repeat: no-repeat;
  opacity: .3;
  z-index: 0;
  pointer-events: none;
}

.bento__wide-text {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 515px;
  padding: var(--space-40);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}
.bento__wide-title {
  max-width: 380px;
  color: var(--color-text-inverse);
}
.bento__wide-body {
  max-width: 356px;
  letter-spacing: var(--ls-body);
  color: var(--color-text-inverse-60);
}

.bento__wide-visual {
  position: relative;
  flex: none;
  width: 475px;
  height: 416px;
  min-height: 416px;
  padding-left: var(--space-40);
  z-index: 1;
}

/* phone slot 334×416 (0.803) at left 79, bottom-anchored */
.bento__phone {
  position: absolute;
  left: 79px;
  bottom: 0;
  width: 334px;
  height: 416px;
  padding: 8px 8px 0;
  border-radius: 52px 52px 0 0;
  background: var(--color-surface-dark-1);
  border: 2px solid var(--color-divider-vert);
  border-bottom: 0;
}
.bento__phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 44px 44px 0 0;
  background: var(--grad-placeholder-dark);
  padding: 14px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bento__phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  padding: 0 10px;
}
.bento__phone-island {
  width: 92px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-dark);
}
.bento__phone-icons { display: flex; gap: 3px; }
.bento__phone-icons i { width: 12px; height: 7px; border-radius: 2px; background: var(--color-text-inverse-80); }
.bento__phone-map {
  position: absolute;
  inset: 0 0 auto;
  height: 96px;
  background:
    radial-gradient(60% 80% at 30% 20%, rgba(151, 123, 211, .35), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent);
  z-index: -1;
}
.bento__phone-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: var(--radius-12);
  background: var(--color-surface-glass-dark);
}
.bento__phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 74px;          /* room for the callout that sits over the phone */
}
.bento__phone-row + .bento__phone-sub + .bento__phone-sep + .bento__phone-sub + .bento__phone-row { margin-top: 0; }
.bento__phone-sub { display: flex; align-items: center; gap: 6px; }
.bento__phone-sub .bento__bar { width: var(--w); }
.bento__phone-sep { height: 1px; background: var(--color-border-dark); margin: 2px 0; }

/* chart overlay 468×200 at top 72 */
.bento__chart {
  position: absolute;
  top: 72px;
  left: 0;
  width: 468px;
  height: 200px;
  opacity: .45;
  z-index: 3;
  pointer-events: none;
}

/* callout 380×72 over the phone (enabled state) */
.bento__callout {
  position: absolute;
  top: 128px;
  left: 56px;
  width: min(380px, 100%);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-radius: var(--radius-16);
  background: var(--color-hero-pill);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  box-shadow: 0 0 0 2px rgba(151, 123, 211, .9), 0 0 24px 2px rgba(123, 97, 255, .55);
  z-index: 4;
  opacity: 0;
  scale: .9;
  transition: opacity var(--t-spring), scale var(--t-spring);
}
.bento__callout-lines { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.bento__callout-top { display: flex; align-items: center; gap: 10px; }

/* bottom scrim 1014×140 at top 340, dark at the bottom */
.bento__scrim {
  position: absolute;
  left: -7px;
  right: -7px;
  top: 540px;
  height: 140px;
  transform: rotate(180deg);
  pointer-events: none;
  z-index: 2;
}
.bento__scrim--wide { top: 340px; background: var(--grad-card-navy-top); z-index: 1; }
.bento__scrim--navy { background: var(--grad-card-navy-top); }
.bento__scrim--violet { background: var(--grad-card-violet-top); }

/* enabled border glow (DESIGN_SPEC "Tokens not in tokens.css": --grad-glow-border) */
@property --bento-glow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.bento__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--bento-glow-angle), #7b61ff, #ff5fd2, #ffb35c, #7b61ff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity var(--t-spring);
  pointer-events: none;
  z-index: 5;
  animation: bento-glow-spin 6s linear infinite;
  animation-play-state: paused;
}
.bento__wide::before {
  /* inner bloom that sits with the ring */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 28px rgba(123, 97, 255, .45), inset 0 -10px 36px rgba(255, 95, 210, .18);
  opacity: 0;
  transition: opacity var(--t-spring);
  pointer-events: none;
  z-index: 4;
}
@keyframes bento-glow-spin { to { --bento-glow-angle: 360deg; } }

.bento__wide.is-enabled .bento__glow { opacity: 1; animation-play-state: running; }
.bento__wide.is-enabled::before { opacity: 1; }
.bento__wide.is-enabled .bento__callout { opacity: 1; scale: 1; }

/* ============ Tall cards ============ */
.bento__pair > .bento__tall { flex: 1 1 0; min-width: 0; }
.bento__tall {
  height: 680px;
  padding: var(--space-40);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento__tall--navy { background: var(--color-surface-dark-navy); }
.bento__tall--tower { background: var(--color-surface-dark-violet); filter: saturate(.8); }
.bento__tall--violet { background: var(--color-surface-dark-violet); }
.bento__tall--green { background: var(--color-surface-dark-green); }

/* background slot 484×680 (0.712, cover), --grad-placeholder-dark, tinted by the card color */
.bento__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  z-index: 0;
  pointer-events: none;
}

.bento__text {
  position: relative;
  z-index: 2;
  letter-spacing: var(--ls-body);             /* Inter calibration for 16/500 (typography.md §3) */
  max-width: 404px;
  color: var(--color-text-inverse-60);
}
.bento__leadin {
  font-weight: var(--fw-semibold);
  color: var(--color-text-inverse);
}
.bento__text--lum { mix-blend-mode: luminosity; }

/* ---------- Card 1: stars + inner panel ---------- */
.bento__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .7;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, var(--color-text-inverse-80), transparent),
    radial-gradient(1px 1px at 78% 12%, var(--color-text-inverse-60), transparent),
    radial-gradient(1.5px 1.5px at 92% 34%, var(--color-text-inverse-80), transparent),
    radial-gradient(1px 1px at 6% 44%, var(--color-text-inverse-60), transparent),
    radial-gradient(1px 1px at 88% 58%, var(--color-text-inverse-50), transparent),
    radial-gradient(1.5px 1.5px at 30% 30%, var(--color-text-inverse-50), transparent),
    radial-gradient(1px 1px at 64% 26%, var(--color-text-inverse-60), transparent);
}
.bento__inner {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}
.bento__inner--c1 {
  left: 0;
  right: 0;
  top: 200px;
  height: 519px;
}
.bento__panel {
  position: absolute;
  left: 11.4%;
  right: 11.4%;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 16px 0;
  border-radius: var(--radius-16);
  background: var(--color-surface-glass-dark);
  border: 1px solid var(--color-border-dark);
  overflow: hidden;
}
.bento__panel-media {
  flex: none;
  height: 88px;
  margin: 4px 0;
  border-radius: var(--radius-12);
}
.bento__tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: var(--radius-6);
  background: var(--color-danger);
  color: var(--color-text-inverse);
}
.bento__tag .bento__icon { width: 12px; height: 12px; }
.bento__timeline {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-12);
  background: var(--color-surface-glass-dark);
}
.bento__tl-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 30px;
}
.bento__tl-row--tall { height: 46px; }
.bento__tl-row--dim { opacity: .55; }
.bento__tl-row::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-divider-vert);
}
.bento__tl-dot {
  position: relative;
  flex: none;
  width: 15px;
  height: 7px;
  display: grid;
  place-items: center;
}
.bento__tl-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-text-inverse-50);
}
.bento__tl-dot--ring::after { width: 11px; height: 11px; background: var(--color-surface-dark-navy); box-shadow: 0 0 0 1.5px var(--color-text-inverse-50); }
.bento__tl-dot--plane::after { width: 14px; height: 14px; background: var(--color-text-inverse-80); -webkit-mask: url(../assets/placeholders/icons/flame.svg) center / contain no-repeat; mask: url(../assets/placeholders/icons/flame.svg) center / contain no-repeat; border-radius: 0; }
.bento__tl-lines { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.bento__tl-row .bento__bar { flex: none; }
.bento__tl-val {
  margin-left: auto;
  font-size: 12px;
  line-height: 1;
  font-weight: var(--fw-semibold);
  color: var(--color-danger);
}
.bento__tl-val--violet { color: var(--color-accent-violet-soft); }

/* ---------- Card 2: soft gradient + glass widget (no silhouette) ---------- */
.bento__sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(97, 0, 255, 0) 0%, rgba(97, 0, 255, .10) 40%, rgba(97, 0, 255, .18) 70%, rgba(140, 40, 120, .16) 100%);
}
.bento__widget-wrap {
  position: absolute;
  left: 50%;
  bottom: 35px;
  translate: -50% 0;
  width: min(452px, 100%);
  padding: 25px;
  z-index: 3;
}
.bento__widget {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-16);
  background: var(--color-surface-glass-wine);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  box-shadow: var(--shadow-float);
  overflow: hidden;
  transform-origin: 50% 50%;
  transition: transform var(--t-pop);
}
.bento__widget::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-border-glass);
  border-radius: inherit;
  pointer-events: none;
}
.bento__widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 40px;
  padding: 10px 16px;
  background: var(--color-surface-glass-wine-head);
  border-bottom: 1px solid var(--color-divider-dark);
}
.bento__widget-title {
  font-family: var(--font-sans);
  font-size: 15px;                            /* proposed --fs-ui-sf */
  line-height: 18px;
  font-weight: var(--fw-regular);
  color: var(--color-text-inverse);
  white-space: nowrap;
}
.bento__spark { width: 100px; height: 20px; flex: none; }
.bento__widget-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px;
}
.bento__widget-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.bento__widget-row--first {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-dark);
}
.bento__widget-icon { width: 21px; height: 20px; }
.bento__widget-icon--sm { width: 20px; height: 20px; color: var(--color-text-inverse-60); }
.bento__widget-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.bento__widget-label { color: var(--color-text-inverse); }
.bento__widget-label--red { color: var(--color-danger); }
.bento__widget-body {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 19.5px;                        /* proposed --lh-ui-sf-body */
  font-weight: var(--fw-regular);
  color: var(--color-text-inverse-50);
}
.bento__widget-meta { color: var(--color-text-inverse-50); }

/* grow (motion.md §5.2): scale .8 → 1, spring pop, once at 50% visible. Only when JS runs. */
#bento[data-bento-js] .bento__widget { transform: scale(.8); }
#bento[data-bento-js] .bento__tall--tower.is-grown .bento__widget { transform: none; }

/* ---------- Card 3: handset in a clip ---------- */
.bento__flare {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(70% 45% at 85% 0%, rgba(247, 190, 0, .16), transparent 70%);
}
.bento__clip {
  position: absolute;
  left: var(--space-40);
  right: var(--space-40);
  top: 170px;
  height: 520px;
  overflow: hidden;
  z-index: 1;
}
.bento__inner--c3 {
  left: 50%;
  bottom: 0;
  width: 483px;
  height: 519px;
  translate: -50% 0;
}
.bento__handset {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 232px;
  aspect-ratio: 0.4865;
  translate: -50% 0;
  rotate: -9deg;
  padding: 7px;
  border-radius: 38px;
  background: var(--color-surface-dark-1);
  border: 2px solid var(--color-divider-vert);
}
.bento__handset-screen {
  position: relative;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  background: linear-gradient(180deg, rgba(247, 190, 0, .28), rgba(217, 45, 32, .22) 55%, rgba(97, 0, 255, .25)), var(--grad-placeholder-dark);
}
.bento__handset-island {
  width: 70px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-dark);
  margin-bottom: 8px;
}
.bento__handset-screen > .bento__bar { width: var(--w); }
.bento__handset-screen .bento__num--hero { margin: 2px 0 30px; }
.bento__note {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--radius-12);
  background: var(--color-surface-glass-dark);
  backdrop-filter: blur(var(--blur-pill));
}
.bento__note .bento__icon { width: 14px; height: 14px; color: var(--color-text-inverse); }
.bento__note-lines { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.bento__note--live { background: rgba(5, 1, 13, .45); }
.bento__note-track { flex: 1; height: 1px; background: var(--color-divider-vert); }
.bento__note--warm { background: rgba(217, 45, 32, .35); }
.bento__handset-dock {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 16px;
}
.bento__handset-dock i { width: 30px; height: 30px; border-radius: 50%; background: var(--color-surface-glass-dark); }

/* ---------- Card 4: tilted board (CSS bars + numbers) ---------- */
.bento__board {
  position: absolute;
  left: 0;
  right: 0;
  top: 290px;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}
.bento__board-tilt {
  position: absolute;
  left: -8%;
  top: 30px;
  width: 128%;
  height: 460px;
  transform: rotate(-16deg);
  transform-origin: 30% 30%;
}
.bento__stats {
  position: absolute;
  left: 0;
  top: 70px;
  width: 58%;
  height: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: var(--radius-20);
  background: var(--color-surface-glass-dark);
  border: 1px solid var(--color-border-dark);
}
.bento__stats-avg { display: flex; align-items: center; gap: 6px; color: var(--color-text-inverse-80); margin-top: 6px; }
.bento__stats-avg .bento__icon { width: 14px; height: 14px; }
.bento__stats-hero {
  display: block;
  width: 72%;
  height: 12px;
  margin: 8px 0 4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-accent-green), #2fe3b5);
  box-shadow: 0 0 16px rgba(8, 168, 91, .6);
}
.bento__bars { display: flex; flex-direction: column; gap: 10px; }
.bento__bars li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bento__bars li::after {
  content: "";
  height: 10px;
  width: var(--w);
  max-width: calc(100% - 20px);
  border-radius: var(--radius-pill);
  background: var(--color-divider-vert);
}
.bento__sw { flex: none; width: 10px; height: 10px; border-radius: 3px; }
.bento__sw--green { background: var(--color-accent-green); }
.bento__sw--yellow { background: var(--color-accent-yellow); }
.bento__sw--red { background: var(--color-danger); }
.bento__ticket {
  position: absolute;
  left: 48%;
  top: 0;
  width: 46%;
  height: 440px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px;
  border-radius: var(--radius-20);
  background: var(--color-surface-dark-green);
  border: 1px solid var(--color-divider-dark);
  box-shadow: var(--shadow-float);
}
.bento__ticket-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.bento__ticket-band {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 -18px 6px;
  padding: 12px 18px;
  background: rgba(8, 168, 91, .18);
}
.bento__ticket-sep { height: 1px; background: var(--color-border-dark); margin: 6px 0; }
.bento__vignette {
  position: absolute;
  inset: 0;
  background: var(--grad-card-green-vignette);
  z-index: 0;
  pointer-events: none;
}

/* ============ Tablet 790–1199.98 ============ */
@media (max-width: 1199.98px) {
  .bento__wide-text { width: 401px; }
  .bento__wide-title,
  .bento__wide-body { max-width: 321px; }
  .bento__wide-visual { width: 361px; }
  .bento__phone { left: 20px; }
  .bento__callout { left: -3px; }
  .bento__chart { left: -60px; }

  .bento__text { max-width: 294px; }
  .bento__inner--c1 { top: 299px; height: 401px; }
  .bento__panel { left: 6%; right: 6%; padding: 20px 14px 0; }
  .bento__inner--c3 { width: 411px; height: 442px; }
  .bento__handset { width: 206px; top: 36px; }
  .bento__board { top: 320px; }
}

/* ============ Phone ≤789.98 ============ */
@media (max-width: 789.98px) {
  #bento { padding: 65px var(--gutter); }

  .bento__pair { flex-direction: column; }

  .bento__wide {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
    height: 600px;
    padding: 24px;
  }
  .bento__wide-effect { inset: -3px 0; background-size: 120% 70%; background-position: 50% 90%; }
  .bento__wide-text {
    position: relative;
    inset: auto;
    width: auto;
    padding: 0;
    gap: 16px;
    justify-content: flex-start;
  }
  .bento__wide-title,
  .bento__wide-body { max-width: none; }
  .bento__wide-visual {
    width: 100%;
    height: 416px;
    padding-left: 0;
  }
  .bento__phone {
    left: calc(50% - 151px);
    width: 302px;
    height: 376px;
    border-radius: 48px 48px 0 0;
  }
  .bento__phone-screen { border-radius: 40px 40px 0 0; padding: 12px 18px 0; }
  .bento__chart { left: -24px; width: 342px; top: 40px; }
  .bento__callout { left: 0; top: 96px; }
  .bento__scrim { left: -7px; right: -7px; top: 460px; }

  .bento__pair > .bento__tall {
    flex: none;
    height: 600px;
    padding: var(--card-pad);                 /* 24 */
  }
  .bento__text { max-width: none; }
  .bento__inner--c1 { top: 233px; height: 367px; }
  .bento__panel { left: 7%; right: 7%; }

  .bento__clip { left: 0; right: 0; top: 24px; height: 586px; }
  .bento__inner--c3 { width: 390px; height: 419px; }
  .bento__handset { width: 196px; top: 34px; }

  .bento__bg--green { top: 7px; height: 680px; bottom: auto; }
  .bento__board { top: 250px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  .bento__glow { animation: none; }
  #bento[data-bento-js] .bento__widget { transform: none; }
  .bento__callout { scale: 1; }
}
