/* =============================================================
   pages/bello.css — Beloo project case study page
   ============================================================= */

/* ── Full-bleed hero ─────────────────────────────────────────── */
.bello-hero {
  position: relative;
  width: 100%;
  background: #0E0911;
}

.bello-hero__image-wrap {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 520px;
  overflow: hidden;
}

.bello-hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Gradient: transparent → page bg (#0E0911) — bottom third only */
.bello-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 67%,
    rgba(14, 9, 17, 0.6) 83%,
    #0E0911 100%
  );
  pointer-events: none;
}

.bello-hero__text {
  padding: 40px 235px 56px;
  background: #0E0911;
  max-width: none;
}

.bello-hero__title {
  font-family: var(--font-headings);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-display);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
}

.bello-hero__desc {
  font-family: var(--font-text);
  font-size: var(--fs-16);
  font-weight: var(--fw-body);
  color: var(--gray-900);
  line-height: 26px;
  margin-bottom: 10px;
  max-width: 720px;
}
.bello-hero__desc:last-child { margin-bottom: 0; }

/* ── Research photo ─────────────────────────────────────────── */
.bello-research-photo {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin: 24px 0;
  object-fit: cover;
}

/* ── Image placeholders ──────────────────────────────────────── */
.img-placeholder {
  width: 100%;
  background: rgba(143, 0, 216, 0.04);
  border: 1px dashed rgba(143, 0, 216, 0.35);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: rgba(143, 0, 216, 0.5);
  padding: 40px 32px;
  text-align: center;
  margin: 24px 0;
  aspect-ratio: 16/9;
}

.img-placeholder--short { aspect-ratio: 16/6; }
.img-placeholder--tall  { aspect-ratio: 4/3; }
.img-placeholder--phone {
  aspect-ratio: 9/19;
  max-width: 200px;
}

.img-placeholder__icon {
  font-size: 28px;
  opacity: 0.5;
}

.img-placeholder__label {
  font-size: var(--fs-11);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.img-placeholder__path {
  font-size: var(--fs-11);
  opacity: 0.6;
  word-break: break-all;
}

/* Three-column placeholder row */
.placeholder-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.placeholder-row .img-placeholder {
  margin: 0;
  aspect-ratio: 9/16;
}

/* ── Carousel: multi-phone portrait display ──────────────────── */
#belooCarouselWrap {
  aspect-ratio: unset;
  height: 520px;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 80px;
}

#belooCarousel {
  overflow: visible;
}

#belooCarouselWrap .project-carousel__slide {
  flex: 0 0 230px;
  height: 100%;
  background: transparent;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

#belooCarouselWrap .project-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Arrows below the track */
#belooCarouselWrap .project-carousel__arrow {
  top: auto;
  bottom: -56px;
  transform: none;
}
#belooCarouselWrap .project-carousel__arrow--prev { left: 0; }
#belooCarouselWrap .project-carousel__arrow--next { left: 52px; }

#belooCarouselWrap .project-carousel__dots {
  bottom: -48px;
  left: 120px;
  transform: none;
}

/* ── Intelligent notification feature block ──────────────────── */
.bello-notif-feature {
  display: flex;
  flex-direction: column;
  margin: 48px 0 56px;
  background: var(--purple-card);
  border: 1px solid var(--purple-card-border);
  border-radius: 16px;
  overflow: hidden;
}

.bello-notif-feature__content {
  padding: 48px 40px 48px 48px;
}

.bello-notif-feature__title {
  font-family: var(--font-headings);
  font-size: var(--fs-24);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-display);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
}

.bello-notif-feature__body {
  font-family: var(--font-text);
  font-size: var(--fs-15);
  font-weight: var(--fw-body);
  color: var(--gray-900);
  line-height: 26px;
  margin-bottom: 24px;
}

.bello-notif-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bello-notif-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-family: var(--font-text);
  font-size: var(--fs-14);
  line-height: 22px;
  color: var(--gray-900);
}

.bello-notif-list__item strong {
  color: var(--white);
  font-weight: var(--fw-body);
}

.bello-notif-list__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-500);
  margin-top: 8px;
}

.bello-notif-feature__animation {
  height: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(143, 0, 216, 0.06);
}

.bello-notif-feature__animation lottie-player {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

/* ── Shortcuts & Widgets grid ────────────────────────────────── */
.bello-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 48px 48px;
}

.bello-shortcut-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bello-shortcut-item .img-placeholder {
  margin: 0;
  aspect-ratio: 9/16;
}

/* Vertical stack variant — full-bleed inside the card */
.bello-shortcuts-grid--vertical {
  grid-template-columns: 1fr;
  padding: 0;
  gap: 0;
}

.bello-shortcuts-grid--vertical .bello-shortcut-item {
  gap: 0;
}

.bello-shortcuts-grid--vertical .bello-shortcut-item__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.bello-shortcuts-grid--vertical .img-placeholder {
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  margin: 0;
}

.bello-shortcuts-grid--vertical .bello-shortcut-item__label {
  padding: 14px 48px;
  text-align: left;
  border-top: 1px solid var(--purple-card-border);
  border-bottom: 1px solid var(--purple-card-border);
}

.bello-shortcut-item__label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-900);
  text-align: center;
}

/* ── Smartwatch feature showcase (Apple-style) ───────────────── */
.bello-watch-feature {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin: 48px 0 32px;
  aspect-ratio: 16/7;
  min-height: 400px;
}

.bello-watch-feature__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.bello-watch-feature__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 52px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.48) 50%,
    transparent 75%
  );
  max-width: 55%;
}

.bello-watch-feature__label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E8640A;
  margin-bottom: 14px;
}

.bello-watch-feature__title {
  font-family: var(--font-headings);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: var(--fw-display);
  letter-spacing: var(--ls-display);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.bello-watch-feature__body {
  font-family: var(--font-text);
  font-size: var(--fs-15);
  font-weight: var(--fw-body);
  color: rgba(255, 255, 255, 0.75);
  line-height: 26px;
  max-width: 420px;
}

/* Garmin: device is on the right, text lives over the left green side */
.bello-garmin-feature .bello-watch-feature__overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.4) 55%,
    transparent 78%
  );
}

@media (max-width: 720px) {
  .bello-watch-feature { aspect-ratio: unset; min-height: 480px; }
  .bello-watch-feature__overlay { max-width: 100%; padding: 36px 28px; background: linear-gradient(to top, rgba(0,0,0,0.85) 40%, transparent 100%); justify-content: flex-end; }
}

/* ── Sitemap tree ────────────────────────────────────────────── */
.sitemap-tree {
  background: rgba(14, 9, 17, 0.8);
  border: 1px solid var(--purple-card-border);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 24px 0;
  overflow-x: auto;
}

/* Flush variant — inside a bello-notif-feature card */
.bello-notif-feature .sitemap-tree {
  border-top: 1px solid var(--purple-card-border);
  padding: 32px 48px;
}

.sitemap-tree pre {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  font-weight: var(--mono-fw-lte20);
  letter-spacing: var(--mono-ls-lte20);
  color: var(--gray-900);
  line-height: 1.9;
  margin: 0;
  white-space: pre;
}

.sitemap-tree pre .tree-root { color: var(--white); }
.sitemap-tree pre .tree-item { color: var(--gray-900); }
.sitemap-tree pre .tree-leaf { color: rgba(143, 0, 216, 0.7); }

/* ── Spline viewer cards ─────────────────────────────────────── */
.bello-spline-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.bello-spline-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-900);
  padding: 20px 24px 12px;
}

.bello-spline-card__title {
  font-family: var(--font-headings);
  font-size: var(--fs-16);
  font-weight: var(--fw-heading);
  color: var(--white);
  padding: 0 24px 8px;
}

.bello-spline-viewer-wrap {
  width: 100%;
  height: 340px;
  position: relative;
  background: #000;
}

.bello-spline-viewer-wrap spline-viewer {
  width: 100%;
  height: 100%;
  display: block;
}

.bello-spline-card__desc {
  font-family: var(--font-text);
  font-size: var(--fs-13);
  line-height: 20px;
  color: var(--gray-900);
  padding: 16px 24px 24px;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .bello-hero__text { padding-left: 100px; padding-right: 100px; }
}

@media (max-width: 900px) {
  .bello-hero__text         { padding: 32px 40px 48px; }
  .placeholder-row          { grid-template-columns: 1fr 1fr; }
.bello-notif-feature__animation { min-height: 320px; }
  .bello-notif-feature__animation lottie-player { min-height: 320px; }
}

@media (max-width: 720px) {
  .bello-shortcuts-grid { grid-template-columns: 1fr; padding: 0 24px 32px; }
}

@media (max-width: 640px) {
  .bello-hero__image-wrap { height: 60vh; }
  .bello-hero__text       { padding: 28px 20px 40px; }
  .placeholder-row        { grid-template-columns: 1fr; }
}
