/* ==========================================================================
   ART-DIRECTED PRODUCT COVERS & ANIMATED SHOWCASE PRESENTATIONS
   Full-width editorial showcases combining architectural boards, animated
   multi-screen UI reels, and product-native UI component cards.
   ========================================================================== */

.art-cover {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  font-family: "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  user-select: none;
}

/* ---------- Animated Screen Reel Utility (Smooth 3-Frame Showcase Loop) ---------- */
.ui-reel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.ui-reel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  animation: reel-3 15s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.ui-reel.n2 img {
  animation-name: reel-2;
  animation-duration: 10s;
}
.ui-reel img:nth-child(1) { animation-delay: 0s; opacity: 1; }
.ui-reel img:nth-child(2) { animation-delay: 5s; }
.ui-reel img:nth-child(3) { animation-delay: 10s; }
.ui-reel.n2 img:nth-child(2) { animation-delay: 5s; }

@keyframes reel-3 {
  0%   { opacity: 0; transform: scale(1.015); }
  5%   { opacity: 1; transform: scale(1); }
  30%  { opacity: 1; transform: scale(1); }
  35%  { opacity: 0; transform: scale(0.995); }
  100% { opacity: 0; transform: scale(1.015); }
}
@keyframes reel-2 {
  0%   { opacity: 0; transform: scale(1.015); }
  8%   { opacity: 1; transform: scale(1); }
  46%  { opacity: 1; transform: scale(1); }
  54%  { opacity: 0; transform: scale(0.995); }
  100% { opacity: 0; transform: scale(1.015); }
}

@keyframes float-breathe {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-6px); }
}
@keyframes bar-pulse {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.18); }
}

/* ---------- 1. HYPHA: Dark Architectural Grid + Animated Space Flow + Voting Card ---------- */
.ac-hypha {
  background-color: #0b0d13;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  color: #f0efe9;
}
.ac-hypha .top-spec {
  position: absolute;
  top: 16px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font: 500 10px/1 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.08em;
  color: rgba(240, 239, 233, 0.56);
  text-transform: uppercase;
  z-index: 4;
}
.ac-hypha .top-spec b {
  color: #ff5b36;
  font-weight: 600;
}
.ac-hypha .main-win {
  position: absolute;
  left: 5%;
  top: 12%;
  width: 64%;
  bottom: -6%;
  background: #12151e;
  border-radius: 12px 12px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  z-index: 2;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ac-hypha .win-bar {
  height: 26px;
  background: #181c28;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 5px;
}
.ac-hypha .win-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
}
.ac-hypha .win-bar span {
  margin-left: 8px;
  font: 400 9.5px/1 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: rgba(255, 255, 255, 0.45);
}
.ac-hypha .main-win .ui-reel,
.ac-hypha .main-win > img {
  display: block;
  width: 100%;
  height: calc(100% - 26px);
  object-fit: cover;
  object-position: top center;
}
.ac-hypha .float-card {
  position: absolute;
  right: 5%;
  bottom: 11%;
  width: 34%;
  min-width: 248px;
  background: #171b26;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.75);
  z-index: 3;
  animation: float-breathe 6s ease-in-out infinite;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ac-hypha .fc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 500 10px/1 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #8f98b2;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ac-hypha .fc-badge {
  background: rgba(65, 105, 255, 0.2);
  color: #84a4ff;
  border: 1px solid rgba(100, 140, 255, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
}
.ac-hypha .fc-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.ac-hypha .fc-meter { margin-bottom: 10px; }
.ac-hypha .fc-meter:last-child { margin-bottom: 0; }
.ac-hypha .fc-meter-lbl {
  display: flex;
  justify-content: space-between;
  font: 500 10.5px/1.2 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #c2c8d8;
  margin-bottom: 5px;
}
.ac-hypha .fc-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}
.ac-hypha .fc-bar i {
  display: block;
  height: 100%;
  background: #4e7bff;
  animation: bar-pulse 3.6s ease-in-out infinite;
}
.ac-hypha .fc-bar.orange i { background: #ff5b36; }

/* ---------- 2. BOXSPOT: Dual App Screens (Animated Booking Flow) + Native Card ---------- */
.ac-boxspot {
  background-color: #e8e5de;
  background-image: radial-gradient(rgba(17, 17, 16, 0.09) 1px, transparent 0);
  background-size: 18px 18px;
  color: #141413;
}
.ac-boxspot .top-spec {
  position: absolute;
  top: 16px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font: 600 10px/1 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.06em;
  color: #6b6860;
  text-transform: uppercase;
  z-index: 4;
}
.ac-boxspot .top-spec b { color: #0051ff; }
.ac-boxspot .phone-main {
  position: absolute;
  left: 6%;
  top: 12%;
  width: 28%;
  bottom: -14%;
  background: #141413;
  border-radius: 26px 26px 0 0;
  padding: 7px 7px 0;
  box-shadow: 0 28px 64px rgba(20, 20, 18, 0.22);
  z-index: 2;
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ac-boxspot .phone-main .ui-reel,
.ac-boxspot .phone-main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 19px 19px 0 0;
  display: block;
}
.ac-boxspot .phone-sub {
  position: absolute;
  left: 36.5%;
  top: 16%;
  width: 27%;
  bottom: -16%;
  background: #ffffff;
  border-radius: 22px 22px 0 0;
  padding: 6px 6px 0;
  border: 1px solid rgba(20, 20, 18, 0.14);
  box-shadow: 0 22px 54px rgba(20, 20, 18, 0.14);
  z-index: 2;
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ac-boxspot .phone-sub .ui-reel,
.ac-boxspot .phone-sub > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px 16px 0 0;
  display: block;
}
.ac-boxspot .bx-ui-card {
  position: absolute;
  right: 5%;
  bottom: 12%;
  width: 33%;
  min-width: 248px;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 18, 0.14);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 26px 56px rgba(17, 24, 39, 0.18);
  z-index: 4;
  animation: float-breathe 6.4s ease-in-out infinite;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ac-boxspot .bx-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font: 600 9.5px/1 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #6b7280;
  text-transform: uppercase;
}
.ac-boxspot .bx-badge {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.ac-boxspot .bx-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #111827;
  margin-bottom: 12px;
  line-height: 1.2;
}
.ac-boxspot .bx-meter { margin-bottom: 10px; }
.ac-boxspot .bx-meter:last-child { margin-bottom: 0; }
.ac-boxspot .bx-meter-lbl {
  display: flex;
  justify-content: space-between;
  font: 500 10.5px/1.2 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #4b5563;
  margin-bottom: 5px;
}
.ac-boxspot .bx-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}
.ac-boxspot .bx-bar i {
  display: block;
  height: 100%;
  background: #0051ff;
}
.ac-boxspot .bx-bar.green i { background: #10b981; }

/* ---------- 3. GROUPTRAVELRES: Ledger + Animated Setup + Milestones UI Card ---------- */
.ac-gtr {
  background-color: #dce3ec;
  background-image: linear-gradient(135deg, #e7ecf2 0%, #cfd8e5 100%);
  color: #0f172a;
}
.ac-gtr .top-spec {
  position: absolute;
  top: 16px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font: 600 10px/1 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.06em;
  color: #475569;
  text-transform: uppercase;
  z-index: 4;
}
.ac-gtr .top-spec b { color: #1d4ed8; }
.ac-gtr .ledger-win {
  position: absolute;
  left: 5%;
  top: 12%;
  width: 60%;
  bottom: -6%;
  background: #ffffff;
  border-radius: 12px 12px 0 0;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 28px 68px rgba(15, 23, 42, 0.2);
  overflow: hidden;
  z-index: 2;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ac-gtr .ledger-win .ui-reel,
.ac-gtr .ledger-win > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.ac-gtr .trip-win {
  position: absolute;
  right: 17%;
  top: 18%;
  width: 28%;
  bottom: -6%;
  background: #0f172a;
  border-radius: 12px 12px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: -10px 18px 46px rgba(15, 23, 42, 0.26);
  overflow: hidden;
  z-index: 2;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ac-gtr .trip-win img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.ac-gtr .gtr-ui-card {
  position: absolute;
  right: 5%;
  bottom: 11%;
  width: 34%;
  min-width: 256px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 18px 20px;
  color: #f8fafc;
  box-shadow: 0 26px 58px rgba(15, 23, 42, 0.44);
  z-index: 4;
  animation: float-breathe 6.8s ease-in-out infinite;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ac-gtr .gu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font: 500 9.5px/1 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #94a3b8;
  text-transform: uppercase;
}
.ac-gtr .gu-badge {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
}
.ac-gtr .gu-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.ac-gtr .gu-meter { margin-bottom: 10px; }
.ac-gtr .gu-meter:last-child { margin-bottom: 0; }
.ac-gtr .gu-meter-lbl {
  display: flex;
  justify-content: space-between;
  font: 500 10.5px/1.2 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #cbd5e1;
  margin-bottom: 5px;
}
.ac-gtr .gu-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  overflow: hidden;
}
.ac-gtr .gu-bar i {
  display: block;
  height: 100%;
  background: #3b82f6;
}
.ac-gtr .gu-bar.green i { background: #10b981; }

/* ---------- 4–6. BASELINE / CURRENTS / EARTHLINGS: Real UI Showcases + Cards ---------- */
.ac-baseline {
  background-color: #0d0e11;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  color: #f3f2ee;
}
.ac-currents {
  background-color: #1f0a17;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(182, 240, 194, 0.12), transparent 55%),
    linear-gradient(135deg, #270d1d 0%, #14060f 100%);
  color: #f7eef3;
}
.ac-earthlings {
  background-color: #060908;
  background-image:
    radial-gradient(circle at 50% 45%, rgba(114, 189, 130, 0.14), transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: cover, 28px 28px, 28px 28px;
  color: #ebf2ec;
}
.ac-baseline .top-spec,
.ac-currents .top-spec,
.ac-earthlings .top-spec {
  position: absolute;
  top: 16px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font: 500 10px/1 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.07em;
  color: rgba(240, 240, 236, 0.56);
  text-transform: uppercase;
  z-index: 4;
}
.ac-baseline .top-spec b { color: #818cf8; }
.ac-currents .top-spec b { color: #bbf7d0; }
.ac-earthlings .top-spec b { color: #86efac; }

.ac-baseline .main-win,
.ac-currents .main-win,
.ac-earthlings .main-win {
  position: absolute;
  left: 5%;
  top: 12%;
  width: 68%;
  bottom: -6%;
  background: #121318;
  border-radius: 12px 12px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.72);
  overflow: hidden;
  z-index: 2;
}
.ac-earthlings .main-win {
  width: 90%;
  left: 5%;
  background: #080b09;
}
.ac-baseline .main-win .ui-reel,
.ac-currents .main-win .ui-reel,
.ac-baseline .main-win > img,
.ac-currents .main-win > img,
.ac-earthlings .main-win > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.ac-baseline .bl-ui-card,
.ac-currents .cu-ui-card,
.ac-earthlings .ea-ui-card {
  position: absolute;
  right: 4.5%;
  bottom: 10%;
  width: 34%;
  min-width: 244px;
  border-radius: 12px;
  padding: 16px 18px;
  z-index: 4;
  animation: float-breathe 6.2s ease-in-out infinite;
}
.ac-baseline .bl-ui-card {
  background: #16171d;
  border: 1px solid rgba(129, 140, 248, 0.35);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.75);
}
.ac-currents .cu-ui-card {
  background: #2b1020;
  border: 1px solid rgba(187, 247, 208, 0.32);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.72);
}
.ac-earthlings .ea-ui-card {
  background: rgba(11, 16, 13, 0.94);
  border: 1px solid rgba(134, 239, 172, 0.32);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.8);
}
.ui-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 500 9.5px/1 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.75;
}
.ui-card-pill {
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
}
.ac-baseline .ui-card-pill { background: rgba(99, 102, 241, 0.22); color: #a5b4fc; border: 1px solid rgba(129, 140, 248, 0.35); }
.ac-currents .ui-card-pill { background: #bbf7d0; color: #163020; }
.ac-earthlings .ui-card-pill { background: rgba(134, 239, 172, 0.16); color: #86efac; border: 1px solid rgba(134, 239, 172, 0.35); }
.ui-card-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 8px;
}
.ui-card-sub {
  font: 400 12px/1.45 "Noto Sans", sans-serif;
  color: rgba(255, 255, 255, 0.78);
}

.ac-lab {
  background-color: #0c0d10;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #efece6;
}
.ac-lab canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ac-lab .top-spec {
  position: absolute; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between;
  font: 500 10px/1 "Noto Sans", -apple-system, BlinkMacSystemFont, sans-serif; letter-spacing: 0.06em; color: rgba(239, 236, 230, 0.55);
  text-transform: uppercase; z-index: 3; pointer-events: none;
}
.ac-lab .top-spec b { color: #ff5b36; }

/* ---------- Compact Preview Override inside (02.B) Inspector Box ---------- */
.p6-inspect-vis .ac-boxspot .phone-main { left: 10%; width: 38%; }
.p6-inspect-vis .ac-boxspot .phone-sub  { left: auto; right: 10%; width: 38%; }
.p6-inspect-vis .ac-gtr .ledger-win     { left: 5%; width: 67%; }
.p6-inspect-vis .ac-gtr .trip-win       { right: 5%; width: 38%; top: 20%; }
.p6-inspect-vis .ac-baseline .main-win,
.p6-inspect-vis .ac-currents .main-win,
.p6-inspect-vis .ac-earthlings .main-win { left: 6%; width: 88%; top: 15%; }

@media (max-width: 760px) {
  .art-cover .top-spec { top: 10px; left: 12px; right: 12px; font-size: 9px; }
  .art-cover .top-spec span:last-child { display: none; }
  .ac-hypha .main-win,
  .ac-gtr .ledger-win,
  .ac-baseline .main-win,
  .ac-currents .main-win,
  .ac-earthlings .main-win { top: 20%; width: 88%; left: 6%; }
  .ac-gtr .trip-win { top: 26%; right: 6%; width: 40%; }
  .ac-boxspot .phone-main { top: 19%; left: 8%; width: 41%; }
  .ac-boxspot .phone-sub { top: 24%; left: auto; right: 8%; width: 41%; }
  .ac-hypha .float-card,
  .ac-boxspot .bx-ui-card,
  .ac-gtr .gtr-ui-card,
  .ac-baseline .bl-ui-card,
  .ac-currents .cu-ui-card,
  .ac-earthlings .ea-ui-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ui-reel img,
  .ac-hypha .float-card,
  .ac-boxspot .bx-ui-card,
  .ac-gtr .gtr-ui-card,
  .ac-baseline .bl-ui-card,
  .ac-currents .cu-ui-card,
  .ac-earthlings .ea-ui-card,
  .ac-hypha .fc-bar i { animation: none !important; }
  .ui-reel img:first-child { opacity: 1 !important; }
}
