/* ==========================================================
   02 · Mobile Story
   Sizes inside the phone use container units (cqw / cqh) so
   every card scales with the phone, not the browser window.
   ========================================================== */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  height: 100%;
}

body {
  overflow: hidden;
  overscroll-behavior: none;
  background: #0b0b0d;
}

/* ---------- viewer (desktop backdrop) ---------- */
.viewer {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: center;
  align-items: center;
  gap: 28px;
  background: #0b0b0d;
  transition: background .8s var(--ease);
}

.viewer[data-theme="light"] {
  background: #e8e5e0;
}

.viewer[data-theme="red"] {
  background: #5e0b13;
}

.viewer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity .8s;
  background: radial-gradient(40% 50% at 50% 50%, rgba(208, 31, 46, .35), transparent 70%);
}

.viewer[data-theme="light"] .viewer__bg {
  background: radial-gradient(40% 50% at 50% 50%, rgba(208, 31, 46, .14), transparent 70%);
}

.phone {
  position: relative;
  z-index: 1;
  container-type: size;
  /* 1px on a 390px-wide story, scaled with the story's width (never below 1px);
     used for the few sizes that are not already in cqw */
  --u: max(1px, 100cqw / 390);
  overflow: hidden;
  isolation: isolate;
  height: min(calc(100vh - 84px), 900px);
  height: min(calc(100dvh - 84px), 900px);
  aspect-ratio: 9 / 17.5;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6), 0 0 0 8px #141418, 0 0 0 9px rgba(255, 255, 255, .12);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.side {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease), opacity .3s;
  z-index: 1;
}

.side svg {
  width: 22px;
  height: 22px;
}

.side:hover {
  transform: scale(1.08);
}

.side:disabled {
  opacity: 0;
  pointer-events: none;
}

.kbd-hint {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 14px;
  margin: 0;
  text-align: center;
  font-size: .74rem;
  color: rgba(255, 255, 255, .55);
}

.viewer[data-theme="light"] .kbd-hint {
  color: var(--muted);
}

kbd {
  font-family: var(--f-body);
  font-size: .7rem;
  padding: .1em .45em;
  border-radius: 5px;
  border: 1px solid currentColor;
  margin: 0 2px;
}

/* full-screen on phones and touchscreens */
@media (max-width: 768px),
(hover: none) and (pointer: coarse),
(max-height: 560px) and (pointer: coarse) {
  html,
  body {
    position: fixed;
    width: 100%;
    height: 100%;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
    touch-action: none;
  }

  .viewer {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    display: block;
    touch-action: none;
    overscroll-behavior: none;
    overflow: hidden;
    gap: 0;
  }

  /* full-bleed on portrait phones; on wider screens (tablets, landscape)
     the story keeps a portrait shape and sits centred, so cqw-sized
     content never runs taller than the screen */
  .phone {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: min(100%, 100vh * .6);
    width: min(100%, 100dvh * .6);
    height: 100%;
    height: 100dvh;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
    touch-action: none;
    overscroll-behavior: none;
  }

  .side,
  .kbd-hint {
    display: none !important;
  }
}

/* phone held sideways: the story stays upright, with a gentle nudge to rotate */
.rotate-hint {
  display: none;
}

@media (orientation: landscape) and (max-height: 560px) and (pointer: coarse) {
  .rotate-hint {
    position: fixed;
    z-index: 2;
    top: 50%;
    left: max(12px, env(safe-area-inset-left, 0px));
    width: calc((100vw - 100dvh * .6) / 2 - 24px);
    transform: translateY(-50%);
    display: grid;
    justify-items: center;
    gap: 8px;
    margin: 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255, 255, 255, .7);
    pointer-events: none;
  }

  .viewer[data-theme="light"] .rotate-hint {
    color: var(--muted);
  }

  .rotate-hint svg {
    width: 28px;
    height: 28px;
    animation: tilt 2.4s ease-in-out infinite;
  }

  @keyframes tilt {
    0%, 30% { transform: rotate(-90deg); }
    60%, 100% { transform: rotate(0); }
  }
}

/* ---------- progress bars + header ---------- */
.bars,
.shead {
  --fg: #fff;
  color: var(--fg);
}

.viewer[data-theme="light"] .bars,
.viewer[data-theme="light"] .shead {
  --fg: var(--ink);
}

.bars {
  position: absolute;
  z-index: 5;
  top: calc(env(safe-area-inset-top, 0px) + 2.4cqw);
  left: 2.6cqw;
  right: 2.6cqw;
  display: flex;
  gap: .8cqw;
  pointer-events: none;
}

.bars i {
  flex: 1;
  height: calc(3 * var(--u));
  border-radius: calc(3 * var(--u));
  overflow: hidden;
  background: color-mix(in srgb, var(--fg) 28%, transparent);
}

.bars b {
  display: block;
  height: 100%;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
}

.shead {
  position: absolute;
  z-index: 5;
  top: calc(env(safe-area-inset-top, 0px) + max(4.6cqw, 14px));
  left: max(3cqw, 10px);
  right: max(1.6cqw, 4px);
  display: flex;
  align-items: center;
  gap: max(2.2cqw, 8px);
}

/* logo + title: tap to go back to the first page */
.shead__home {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: inherit;
  text-align: left;
  color: inherit;
  border-radius: 999px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.shead__home:active {
  opacity: .7;
}

.shead__av {
  /* header keeps a readable size on every screen: scales with the
     story but never below a phone-friendly minimum */
  width: max(34px, 9.4cqw);
  height: max(34px, 9.4cqw);
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: max(10px, 2.8cqw);
  box-shadow: 0 0 0 2px #fff;
}

.shead__tx {
  flex: 1;
  min-width: 0;
  line-height: 1.2;
}

.shead__tx b {
  display: block;
  font-size: max(13.5px, 3.7cqw);
  font-weight: 700;
}

.shead__tx span {
  display: block;
  font-size: max(11px, 3.1cqw);
  opacity: .75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sbtn {
  width: max(36px, 10cqw);
  height: max(36px, 10cqw);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: inherit;
  flex: none;
}

.sbtn svg {
  width: max(18px, 5.4cqw);
  height: max(18px, 5.4cqw);
}

.sbtn:hover {
  background: color-mix(in srgb, var(--fg) 12%, transparent);
}

/* ---------- stories ---------- */
.stories {
  position: absolute;
  inset: 0;
  touch-action: none;
}

.st {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: calc(env(safe-area-inset-top, 0px) + max(18cqw, 56px));
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 6cqw);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.st.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.st.enter-next {
  animation: enterNext .36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.st.enter-prev {
  animation: enterPrev .36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes enterNext {
  from {
    opacity: 0;
    transform: translate3d(8%, 0, 0) scale(.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes enterPrev {
  from {
    opacity: 0;
    transform: translate3d(-8%, 0, 0) scale(.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.st--light {
  background: #fff;
  color: var(--ink);
  --accent: var(--red);
  --soft: var(--paper-2);
  --mut: var(--muted);
}

.st--red {
  background: var(--red);
  color: #fff;
  --accent: #fff;
  --soft: rgba(255, 255, 255, .12);
  --mut: rgba(255, 255, 255, .78);
}

.st--ink {
  background: #141418;
  color: #fff;
  --accent: #ff4757;
  --soft: rgba(255, 255, 255, .07);
  --mut: rgba(255, 255, 255, .62);
}

.st--red {
  background: radial-gradient(120% 70% at 100% 0%, #e2283a 0%, var(--red) 40%, var(--red-deep) 100%);
}

.st--ink {
  background: radial-gradient(100% 60% at 0% 0%, #2a1015 0%, #141418 55%);
}

.st.is-on .in {
  animation: rise .45s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--d, 0ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translate3d(0, 3cqw, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.s-pad {
  position: relative;
  z-index: 1;
  padding-inline: 6cqw;
}

.st--mid>.s-pad {
  margin-block: auto;
  margin-top: max(auto, 0px);
}

.s-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stripes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 22px);
}

.stripes::before,
.stripes::after {
  content: '';
  position: absolute;
  width: 70cqw;
  height: 9cqw;
  transform: rotate(-45deg);
}

.stripes::before {
  right: -24cqw;
  bottom: 34cqw;
  background: var(--ink);
}

.stripes::after {
  left: -26cqw;
  bottom: 12cqw;
  background: rgba(255, 255, 255, .14);
}

/* ---------- type ---------- */
.kick {
  margin: 0 0 2.4cqw;
  font-size: 2.9cqw;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.st--red .kick {
  color: rgba(255, 255, 255, .85);
}

.kick--gold {
  color: var(--gold-2) !important;
}

.h-xl {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 10.5cqw;
  line-height: .98;
  letter-spacing: -.02em;
}

.h-lg {
  margin: 0 0 4cqw;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 8.6cqw;
  line-height: 1;
  letter-spacing: -.02em;
}

.h-lg em {
  font-style: normal;
  color: var(--accent);
}

.st--red .h-lg em {
  color: var(--ink);
}

.h-md {
  margin: .6cqw 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 5.6cqw;
  line-height: 1.1;
}

.st .banner {
  font-size: max(22px, 6.2cqw);
  margin: 0 0 max(4px, 1.8cqw);
}

.st--ink .banner span {
  background: #fff;
  color: var(--ink);
}

.sub {
  margin: 0 0 max(6px, 2.4cqw);
  font-size: max(10.5px, 2.9cqw);
  color: var(--mut);
  line-height: 1.4;
}

.tag {
  display: inline-block;
  padding: .45em 1em;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 2.6cqw;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.st--red .tag {
  background: #fff;
  color: var(--red);
}

.hash {
  font-size: 6cqw;
  margin: 5cqw 0 0;
  color: var(--accent);
  transform: rotate(-3deg);
}

.tip {
  margin: max(4px, 2cqw) 0 0;
  text-align: center;
  font-size: max(9px, 2.7cqw);
  color: var(--mut);
}

.tip--abs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(env(safe-area-inset-bottom) + 6cqw);
}

/* ---------- 1 cover ---------- */
.covercard {
  width: 54cqw;
  border-radius: 2cqw;
  overflow: hidden;
  transform: rotate(-4deg);
  margin-bottom: 7cqw;
  box-shadow: 0 6cqw 12cqw -4cqw rgba(0, 0, 0, .55), 0 0 0 1.4cqw rgba(255, 255, 255, .12);
}

.st.is-on .covercard {
  animation-name: coverIn;
  animation-duration: 1.1s;
}

@keyframes coverIn {
  from {
    opacity: 0;
    transform: rotate(-12deg) translateY(10cqw) scale(.85);
  }
}

.covercard img {
  width: 100%;
  height: auto;
}

.cover-term {
  margin: 2cqw 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: max(13px, 4cqw);
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .92);
}

.cover-team {
  margin-top: 3cqw;
}

.cover-hash {
  font-family: var(--f-script);
  font-size: max(17px, 5.2cqw);
  color: #ffffff;
  margin: 2cqw 0 0;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  transform: rotate(-2.5deg);
}

.tap-hint {
  margin-top: 7cqw;
  display: inline-flex;
  align-items: center;
  gap: 2cqw;
  padding: 2.6cqw 5cqw;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-weight: 700;
  font-size: 3.4cqw;
}

.tap-hint svg {
  width: 4.4cqw;
  height: 4.4cqw;
  animation: nudge 1.4s ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateX(1.4cqw);
  }
}

/* ---------- 2 awards ---------- */
.big43 b {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 34cqw;
  line-height: .9;
  letter-spacing: -.05em;
  color: var(--red);
}

.big43 span {
  display: block;
  font-size: 3.2cqw;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-top: 2cqw;
}

.awards {
  list-style: none;
  padding: 0;
  margin: 8cqw 0 0;
  display: grid;
  gap: 3cqw;
  width: 100%;
}

.awards li {
  display: flex;
  align-items: center;
  gap: 3.4cqw;
  padding: 3.6cqw 4cqw;
  border-radius: 4cqw;
  background: var(--soft);
  text-align: left;
  font-size: 3.6cqw;
}

.awards svg {
  width: 8cqw;
  height: 8cqw;
  color: var(--red);
  flex: none;
}

.awards b {
  display: block;
  font-family: var(--f-display);
  font-size: 4.6cqw;
}

/* ---------- leaders ---------- */
.st--leader,
.st:has(.ld-photo) {
  padding-top: calc(env(safe-area-inset-top, 0px) + max(16.5cqw, 54px));
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 5cqw);
  background: #fdfdfd;
}

.ld-photo {
  position: relative;
  width: 100%;
  /* takes whatever height the text below leaves, so there is never a gap */
  flex: 1 1 0;
  min-height: 36cqh;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #ebebeb;
  box-shadow: none;
}

@media (max-height: 720px) {
  .ld-quote {
    font-size: 4cqw;
  }
  .st--mid {
    padding-top: calc(env(safe-area-inset-top, 0px) + 58px);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
  }
  .st .banner {
    font-size: max(20px, 5.5cqw);
    margin-bottom: 1.5cqw;
  }
  .sub {
    font-size: max(10px, 2.6cqw);
    margin-bottom: 2cqw;
    line-height: 1.35;
  }
  .grid--3 {
    gap: 4px 6px;
  }
  .grid--3 .mem__ph {
    max-width: min(17.4cqw, 9.6cqh);
  }
  .grid--4 {
    gap: 3px 4px;
  }
  .grid--4 .mem__ph {
    max-width: min(17cqw, 8.4cqh);
  }
  .team-word {
    font-size: min(15cqw, 8cqh);
  }
  .team-tag {
    margin: 2px 0 6px;
  }
  .tip {
    margin-top: 3px;
  }
}

.ld-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 2%;
}

.ld-photo::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background: linear-gradient(to top, rgba(0, 0, 0, .32), transparent);
  pointer-events: none;
}

.ld-body {
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3.5cqw 5.5cqw 2cqw;
  gap: 1.8cqw;
}

.ld-meta {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  width: 100%;
}

.ld-tag {
  background: var(--red);
  color: #fff;
  font-size: 2.6cqw;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .35em .9em;
  border-radius: 999px;
  text-transform: uppercase;
}

.ld-org {
  font-size: 2.9cqw;
  font-weight: 600;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ld-quote {
  margin: 0;
  position: relative;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 4.4cqw;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
}

.ld-excerpt {
  margin: 0;
  font-size: 2.95cqw;
  line-height: 1.45;
  color: var(--mut);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* taller screens (most modern phones) have room for more of the message */
@container (max-aspect-ratio: 1 / 2) {
  .ld-excerpt {
    -webkit-line-clamp: 4;
  }
}

@container (max-aspect-ratio: 10 / 21) {
  .ld-excerpt {
    -webkit-line-clamp: 6;
  }
}

.ld-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2cqw;
  margin-top: auto;
  padding-top: 1cqw;
}

.ld-name b {
  display: block;
  color: var(--ink);
  font-size: 4.4cqw;
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.1;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 2.2cqw 4cqw;
  font-weight: 700;
  font-size: 2.9cqw;
  box-shadow: 0 2cqw 8cqw -1cqw rgba(208, 31, 46, .45);
  transition: transform .2s var(--ease), background .2s;
  cursor: pointer;
  flex: none;
}

.more:hover {
  transform: translateY(-1px);
  background: var(--red-deep);
}

.more svg {
  width: 3.4cqw;
  height: 3.4cqw;
  animation: bob 1.6s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(-.8cqw);
  }
}

/* ---------- values ---------- */
.gg {
  width: 38cqw;
  aspect-ratio: 1;
  margin: 2cqw auto 6cqw;
  border-radius: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .6cqw;
  text-align: center;
  background: radial-gradient(circle at 30% 25%, #e8384a, var(--red-deep));
  color: #fff;
  box-shadow: 0 0 0 2.6cqw var(--red-soft), 0 0 0 5.2cqw rgba(208, 31, 46, .05), var(--shadow-red);
}

.gg svg {
  width: 8cqw;
  height: 8cqw;
  fill: #fff;
  stroke: none;
}

.gg b {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 6.4cqw;
  line-height: 1;
}

.gg small {
  font-size: 2.6cqw;
  opacity: .85;
}

.st.is-on .gg {
  animation-name: pop;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(.6);
  }

  70% {
    transform: scale(1.05);
  }
}

.values {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6cqw;
}

.values li {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  padding: 2.8cqw;
  border-radius: 3.4cqw;
  background: var(--soft);
  font-size: 3.2cqw;
  font-weight: 600;
  line-height: 1.2;
}

.values span {
  width: 8.4cqw;
  height: 8.4cqw;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
}

.values svg {
  width: 4.6cqw;
  height: 4.6cqw;
}

/* ---------- stats ---------- */
.ghost-word {
  position: absolute;
  right: -4cqw;
  bottom: 2cqw;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 30cqw;
  line-height: .8;
  letter-spacing: -.05em;
  color: rgba(20, 20, 24, .04);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  pointer-events: none;
}

.stat-hero {
  display: flex;
  align-items: center;
  gap: 4.4cqw;
  margin-bottom: 4.6cqw;
}

.stat-hero__ring {
  width: 26cqw;
  aspect-ratio: 1;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 1.8cqw #fff, 0 0 0 2.2cqw var(--paper-3), var(--shadow-red);
}

.stat-hero__ring svg {
  width: 11cqw;
  height: 11cqw;
}

.stat-hero b {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 12cqw;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.stat-hero small {
  display: block;
  font-size: 3.2cqw;
  color: var(--mut);
  margin-top: 1cqw;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3cqw;
}

.stat {
  padding: 3.8cqw;
  border-radius: 4cqw;
  background: var(--paper-2);
  display: grid;
  gap: 1cqw;
  align-content: start;
}

.stat svg {
  width: 6.4cqw;
  height: 6.4cqw;
  color: var(--red);
}

.stat b {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 6cqw;
  line-height: 1.05;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  margin-top: 1cqw;
}

.stat small {
  font-size: 2.7cqw;
  color: var(--mut);
  line-height: 1.35;
}

.stat.is-ink {
  background: var(--ink);
  color: #fff;
}

.stat.is-ink svg {
  color: #ff5a67;
}

.stat.is-ink small {
  color: rgba(255, 255, 255, .65);
}

/* ---------- goals ---------- */
.goals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6cqw;
}

.goal {
  background: #fff;
  color: var(--ink);
  border-radius: 3.6cqw;
  padding: 3.2cqw 3.6cqw;
  display: grid;
  gap: .4cqw;
  box-shadow: 0 2cqw 5cqw -2cqw rgba(0, 0, 0, .3);
}

.goal svg {
  width: 5.6cqw;
  height: 5.6cqw;
  color: var(--red);
}

.goal b {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 7.6cqw;
  line-height: 1;
  color: var(--red);
  letter-spacing: -.02em;
}

.goal b i {
  font-style: normal;
  font-size: 4.2cqw;
  margin-left: .4cqw;
}

.goal small {
  font-size: 2.7cqw;
  line-height: 1.3;
  color: var(--ink-2);
  font-weight: 500;
}

/* ---------- vision ---------- */
.st--vision,
.st:has(.vis-img) {
  padding-top: calc(env(safe-area-inset-top, 0px) + max(21cqw, 58px)) !important;
  padding-bottom: calc(env(safe-area-inset-bottom) + 4.5cqw) !important;
  background: #fdfdfd;
}

.vis-img {
  width: 100%;
  aspect-ratio: 1401 / 455;
  height: auto;
  margin: 0;
  position: relative;
  flex: none;
  background: #fdfdfd;
  display: block;
}

.vis-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.vis-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3cqw 5cqw 1cqw;
  gap: 2cqw;
  min-height: 0;
}

.vis-meta {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
  width: 100%;
  flex: none;
}

.vis-tag {
  background: var(--red);
  color: #fff;
  font-size: 2.5cqw;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .35em .9em;
  border-radius: 999px;
  text-transform: uppercase;
}

.vis-org {
  font-size: 2.7cqw;
  font-weight: 600;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.vis-quote {
  margin: 0;
  position: relative;
  font-family: var(--f-sans);
  font-size: 3.75cqw;
  line-height: 1.48;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink);
  padding: 3.2cqw 3.8cqw;
  background: #fff;
  border-left: 3.5px solid var(--red);
  border-radius: 0 2.5cqw 2.5cqw 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .04);
}

.vis-quote b {
  color: var(--red);
  font-weight: 700;
}

.vis-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2cqw;
  width: 100%;
  flex: none;
}

.vis-pill {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 2.6cqw;
  padding: 2.2cqw 1.2cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .8cqw;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .03);
}

.vis-pill__ico {
  width: 7.2cqw;
  height: 7.2cqw;
  border-radius: 50%;
  background: rgba(208, 31, 46, .08);
  color: var(--red);
  display: grid;
  place-items: center;
}

.vis-pill__ico svg {
  width: 4.5cqw;
  height: 4.5cqw;
}

.vis-pill b {
  display: block;
  font-family: var(--f-display);
  font-size: 2.9cqw;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.vis-pill small {
  display: block;
  font-size: 2.15cqw;
  color: var(--mut);
  line-height: 1.2;
}

.vis-strip {
  display: flex;
  align-items: center;
  gap: 2.8cqw;
  padding: 2.2cqw 3.6cqw;
  background: linear-gradient(135deg, rgba(208, 31, 46, .06) 0%, rgba(208, 31, 46, .02) 100%);
  border: 1px solid rgba(208, 31, 46, .14);
  border-radius: 2.8cqw;
  width: 100%;
  flex: none;
}

.vis-strip__ico {
  width: 6.8cqw;
  height: 6.8cqw;
  color: var(--red);
  flex: none;
  display: grid;
  place-items: center;
}

.vis-strip__ico svg {
  width: 100%;
  height: 100%;
}

.vis-strip__tx {
  flex: 1;
  min-width: 0;
  line-height: 1.25;
}

.vis-strip__tx b {
  display: block;
  font-size: 2.9cqw;
  font-weight: 800;
  color: var(--ink);
  font-family: var(--f-display);
}

.vis-strip__tx small {
  display: block;
  font-size: 2.3cqw;
  color: var(--mut);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vis-strip__badge {
  background: var(--red);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 2.4cqw;
  padding: .2em .6em;
  border-radius: 999px;
  letter-spacing: .04em;
  flex: none;
}

.vis-foot {
  text-align: center;
  padding-top: .5cqw;
  flex: none;
}

.vis-hash {
  margin: 0;
  font-size: 4.8cqw;
  color: var(--red);
  font-family: 'Kaushan Script', cursive;
  letter-spacing: .02em;
}

/* ---------- achieve ---------- */
.achieve {
  list-style: none;
  margin: 0;
  padding: 0;
}

.achieve li {
  display: grid;
  grid-template-columns: 9cqw 1fr;
  gap: 2cqw;
  padding: 2.7cqw 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.achieve i {
  font-style: normal;
  font-family: var(--f-display);
  font-weight: 900;
  color: var(--accent);
  font-size: 4cqw;
  line-height: 1.3;
}

.achieve p {
  margin: 0;
  font-size: 3.4cqw;
  line-height: 1.45;
  color: rgba(255, 255, 255, .82);
}

.achieve b {
  color: #fff;
}

.grow {
  text-align: center;
  font-size: 7.4cqw;
  color: var(--accent);
  margin: 5cqw 0 0;
  transform: rotate(-3deg);
}

/* ---------- team excel ---------- */
.st--team-excel,
.st:has(.tx-img) {
  padding-top: calc(env(safe-area-inset-top, 0px) + max(16.5cqw, 54px)) !important;
  padding-bottom: calc(env(safe-area-inset-bottom) + 3cqw) !important;
  background: radial-gradient(120% 70% at 100% 0%, #e2283a 0%, var(--red) 40%, var(--red-deep) 100%);
  display: flex;
  flex-direction: column;
}

.tx-img {
  width: 100%;
  aspect-ratio: 1001 / 1270;
  height: auto;
  max-height: 68cqh;
  margin: 0;
  position: relative;
  flex: none;
  background: #fff;
  display: block;
  overflow: hidden;
}

.tx-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.tx-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.2cqw 3.5cqw 1cqw;
  min-height: 0;
}

.tx-roles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8cqw;
  width: 100%;
}

.tx-btn {
  display: flex;
  align-items: center;
  gap: 2cqw;
  padding: 1.8cqw 2.4cqw;
  border-radius: 2.8cqw;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
  text-align: left;
  color: #fff;
  transition: transform .15s ease, background .15s ease;
  cursor: pointer;
  min-width: 0;
}

.tx-btn:hover {
  background: rgba(255, 255, 255, .25);
  transform: translateY(-1px);
}

.tx-btn i {
  width: 6.8cqw;
  height: 6.8cqw;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--red);
  font-style: normal;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2.5cqw;
}

.tx-btn div {
  flex: 1;
  min-width: 0;
  line-height: 1.15;
}

.tx-btn b {
  display: block;
  font-size: 2.7cqw;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-btn small {
  display: block;
  font-size: 2.1cqw;
  opacity: .88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-btn svg {
  width: 3.2cqw;
  height: 3.2cqw;
  flex: none;
  opacity: .7;
}

.roles svg {
  width: 4.4cqw;
  height: 4.4cqw;
  opacity: .7;
}

/* ---------- gold pins ---------- */
.gold {
  background: linear-gradient(180deg, #fff3c9, #e8c873 45%, #b8862b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pins {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5cqw;
  width: 100%;
  margin-top: 3cqw;
}

.pin {
  display: grid;
  justify-items: center;
  gap: 1cqw;
  color: #fff;
}

.pin__ph {
  width: 100%;
  aspect-ratio: .78;
  border-radius: 4cqw;
  overflow: hidden;
  margin-bottom: 2cqw;
  position: relative;
  box-shadow: 0 0 0 .8cqw #141418, 0 0 0 1.4cqw var(--gold), 0 4cqw 10cqw -2cqw rgba(232, 200, 115, .4);
  transition: transform .4s var(--ease);
}

.pin:hover .pin__ph {
  transform: translateY(-1cqw);
}

.pin__ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.pin b {
  font-family: var(--f-display);
  font-size: 4cqw;
}

.pin small {
  font-size: 2.8cqw;
  color: rgba(255, 255, 255, .6);
}

/* ---------- member grids ---------- */
.grid {
  display: grid;
  gap: max(6px, 2.8cqw) max(4px, 2cqw);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: max(5px, 2.2cqw) max(4px, 1.8cqw);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: max(4px, 2cqw) max(3px, 1.4cqw);
}

.mem {
  display: grid;
  justify-items: center;
  gap: max(2px, 1cqw);
  color: inherit;
  min-width: 0;
}

.mem__ph {
  position: relative;
  width: 100%;
  max-width: min(20cqw, 10.5cqh);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: .7cqw;
  background: conic-gradient(from 210deg, var(--red), #ff8a5b, var(--red));
  transition: transform .35s var(--ease);
}

.st--red .mem__ph {
  background: #fff;
}

.mem__ph img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: var(--paper-3);
  border: .6cqw solid #fff;
}

.st--ink .mem__ph img {
  border-color: #141418;
}

.st--red .mem__ph img {
  border-color: var(--red);
}

.mem:hover .mem__ph,
.mem:focus-visible .mem__ph {
  transform: scale(1.06);
}

.mem em {
  position: absolute;
  right: -1cqw;
  bottom: -.6cqw;
  min-width: max(18px, 5.8cqw);
  height: max(18px, 5.8cqw);
  padding: 0 1cqw;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
  font-size: max(9px, 2.3cqw);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 0 0 .6cqw #fff;
}

.st--ink .mem em {
  background: var(--red);
  box-shadow: 0 0 0 .6cqw #141418;
}

.mem b {
  font-size: max(9px, 2.8cqw);
  font-weight: 600;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grid--3 .mem__ph {
  max-width: min(19.5cqw, 10.7cqh);
}

.grid--3 .mem b {
  font-size: max(9px, 2.6cqw);
}

.grid--4 .mem__ph {
  max-width: min(18.5cqw, 9.4cqh);
}

/* tall phones have room to spare: let the faces fill their columns */
@container (max-aspect-ratio: 1 / 2) {
  .grid--4 .mem__ph {
    max-width: min(20cqw, 9.4cqh);
  }

  .grid--4 {
    row-gap: max(6px, 3cqw);
  }
}

.grid--4 .mem b {
  font-size: max(8.5px, 2.4cqw);
}

.team-word {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: min(17.5cqw, 9cqh);
  line-height: .85;
  letter-spacing: -.045em;
  color: var(--accent);
}

.st--ink .team-word {
  color: #fff;
  -webkit-text-stroke: 0;
}

.st--ink .team-word {
  background: linear-gradient(90deg, #fff 30%, #ff4757);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.team-tag {
  margin: max(3px, 0.9cqw) 0 max(6px, 2.2cqw);
  font-size: max(9px, 2.7cqw);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mut);
}

/* ---------- showcase marquee & clean floating canvas ---------- */
.mqs {
  display: grid;
  gap: 4cqw;
  margin-top: 5cqw;
  transform: rotate(-3deg) scale(1.05);
}

.mq {
  overflow: hidden;
}

.mq__track {
  display: flex;
  gap: 3cqw;
  width: max-content;
  animation: marq 48s linear infinite;
}

.mq--rev .mq__track {
  animation-direction: reverse;
  animation-duration: 54s;
}

.mq:hover .mq__track,
.viewer.is-paused .mq__track {
  animation-play-state: paused;
}

@keyframes marq {
  to {
    transform: translateX(-50%);
  }
}

.adt {
  display: block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 32cqw;
  flex: none;
  aspect-ratio: 421 / 594;
  border-radius: 3cqw;
  overflow: hidden;
  box-shadow: 0 3cqw 8cqw rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.adt:hover {
  transform: translateY(-1.4cqw);
}

.adt img,
.mem img,
.pin img,
.cosp__ad img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Minimalist floating prompt pill */
.mq-hint {
  position: absolute;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 6cqw);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 2.2cqw;
  padding: 2.4cqw 5cqw;
  border-radius: 999px;
  background: rgba(18, 18, 24, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.9);
  font-size: 3cqw;
  font-weight: 600;
  letter-spacing: .02em;
  pointer-events: none;
  white-space: nowrap;
}

.mq-hint__dot {
  width: 2.2cqw;
  height: 2.2cqw;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: pulse-dot 2s infinite ease-in-out;
}

/* ---------- Slide 20: Dual View (Marquee <-> Up/Down Scrollable Grid) ---------- */
.st--showcase {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.st--showcase .s-pad {
  flex-shrink: 0;
  position: relative;
  z-index: 15;
  background: linear-gradient(180deg, #0b0b0d 75%, rgba(11, 11, 13, 0));
  padding-bottom: calc(12 * var(--u));
}

.showcase-marquee {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  justify-content: center;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.st--showcase.is-grid-mode .showcase-marquee {
  display: none !important;
}

/* Scrollable Thumbnail Grid */
.showcase-grid-wrap {
  display: none;
  flex: 1 1 0px;
  min-height: 0;
  height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y !important;
  overscroll-behavior: contain;
  padding: calc(8 * var(--u)) calc(16 * var(--u)) calc(env(safe-area-inset-bottom, 0px) + calc(85 * var(--u)));
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  z-index: 10;
}

.showcase-grid-wrap::-webkit-scrollbar {
  width: calc(4 * var(--u));
}

.showcase-grid-wrap::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: calc(4 * var(--u));
}

.st--showcase.is-grid-mode .showcase-grid-wrap {
  display: block;
  animation: gridFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes gridFadeIn {
  from {
    opacity: 0;
    transform: translateY(calc(16 * var(--u))) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(12 * var(--u));
}

.showcase-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(12 * var(--u));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: calc(6 * var(--u));
  text-align: left;
  cursor: pointer;
  color: inherit;
  box-shadow: 0 calc(4 * var(--u)) calc(16 * var(--u)) rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease), border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.showcase-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.showcase-card:active {
  transform: scale(0.97);
  border-color: var(--red);
}

.showcase-card__img {
  width: 100%;
  aspect-ratio: 421 / 594;
  border-radius: calc(8 * var(--u));
  overflow: hidden;
  background: #1e1e24;
  box-shadow: 0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(0, 0, 0, 0.4);
}

.showcase-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.showcase-card__info {
  padding: calc(6 * var(--u)) calc(2 * var(--u)) calc(2 * var(--u));
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  min-width: 0;
}

.showcase-card__brand {
  font-size: calc(11.5 * var(--u));
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-card__who {
  font-size: calc(10 * var(--u));
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-card__tag {
  display: inline-block;
  font-size: calc(8.5 * var(--u));
  font-weight: 700;
  text-transform: uppercase;
  color: #ff8a5b;
  letter-spacing: 0.06em;
}

/* ---------- Centered Luxury Glass Pill Toggle ---------- */
.luxury-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom, 0px) + calc(20 * var(--u)));
  height: calc(46 * var(--u));
  padding: 0 calc(18 * var(--u)) 0 calc(7 * var(--u));
  border-radius: 999px;
  background: rgba(18, 18, 24, 0.82);
  backdrop-filter: blur(calc(24 * var(--u)));
  -webkit-backdrop-filter: blur(calc(24 * var(--u)));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 calc(12 * var(--u)) calc(32 * var(--u)) rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  gap: calc(11 * var(--u));
  color: #fff;
  cursor: pointer;
  z-index: 25;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.3s, box-shadow 0.25s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.luxury-pill:hover {
  transform: translateX(-50%) scale(1.03);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 calc(14 * var(--u)) calc(36 * var(--u)) rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.luxury-pill:active {
  transform: translateX(-50%) scale(0.97);
}

.luxury-pill__circle {
  width: calc(32 * var(--u));
  height: calc(32 * var(--u));
  border-radius: 50%;
  background: linear-gradient(135deg, #d01f2e, #ff4757);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 calc(2 * var(--u)) calc(10 * var(--u)) rgba(208, 31, 46, 0.55);
  transition: background 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.luxury-pill__icon {
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
  display: flex;
  align-items: center;
  justify-content: center;
}

.luxury-pill__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.luxury-pill__icon--close {
  display: none;
}

.luxury-pill__label {
  display: flex;
  align-items: center;
}

.luxury-pill__text {
  font-size: calc(12 * var(--u));
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.luxury-pill__text--close {
  display: none;
}

.luxury-pill__badge {
  font-size: calc(10 * var(--u));
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  padding: calc(2 * var(--u)) calc(7 * var(--u));
  border-radius: 999px;
  color: #ff8a5b;
  margin-left: -2px;
}

/* In Grid Mode */
.st--showcase.is-grid-mode .luxury-pill {
  background: rgba(24, 24, 30, 0.92);
  border-color: rgba(208, 31, 46, 0.4);
  box-shadow: 0 calc(12 * var(--u)) calc(32 * var(--u)) rgba(0, 0, 0, 0.75);
}

.st--showcase.is-grid-mode .luxury-pill__circle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.st--showcase.is-grid-mode .luxury-pill__icon--grid {
  display: none;
}

.st--showcase.is-grid-mode .luxury-pill__icon--close {
  display: flex;
}

.st--showcase.is-grid-mode .luxury-pill__text--grid {
  display: none;
}

.st--showcase.is-grid-mode .luxury-pill__text--close {
  display: inline;
}

.st--showcase.is-grid-mode .luxury-pill__badge {
  display: none;
}


@keyframes pulse-dot {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.25); box-shadow: 0 0 14px var(--red); }
}

/* ---------- Executive Business Profile Sheet ---------- */
.biz-sheet {
  display: flex;
  flex-direction: column;
}

.biz-sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  margin-bottom: 2.8cqw;
}

.biz-sheet__tag {
  font-size: 2.6cqw;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
}

.biz-sheet__team {
  font-size: 2.4cqw;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: rgba(232, 200, 115, 0.12);
  padding: 0.8cqw 2.4cqw;
  border-radius: 999px;
  border: 1px solid rgba(232, 200, 115, 0.3);
}

.biz-sheet__header {
  display: flex;
  align-items: center;
  gap: 4cqw;
  padding-bottom: 3.5cqw;
  border-bottom: 1px solid var(--paper-2);
}

.biz-sheet__avatar {
  position: relative;
  width: 17cqw;
  height: 17cqw;
  border-radius: 50%;
  overflow: visible;
  flex: none;
}

.biz-sheet__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--red), 0 4px 16px rgba(0, 0, 0, 0.18);
  background: var(--paper-3);
  display: block;
}

.biz-sheet__check {
  position: absolute;
  right: -0.5cqw;
  bottom: -0.5cqw;
  width: 5.5cqw;
  height: 5.5cqw;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 3cqw;
  font-weight: 900;
  box-shadow: 0 0 0 2px #fff;
  font-style: normal;
}

.biz-sheet__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.biz-sheet__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 5.4cqw;
  line-height: 1.15;
  color: var(--ink);
}

.biz-sheet__owner {
  margin-top: 1cqw;
  font-size: 3.6cqw;
  font-weight: 700;
  color: var(--red);
}

.biz-sheet__cat {
  margin: 0.6cqw 0 0;
  font-size: 3cqw;
  color: var(--muted);
  line-height: 1.35;
}

/* 1-Tap Action Buttons */
.biz-sheet__acts {
  display: flex;
  gap: 2.6cqw;
  margin: 3.5cqw 0 2cqw;
}

.biz-sheet__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.8cqw;
  padding: 3cqw 3.6cqw;
  border-radius: 999px;
  font-size: 3.3cqw;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform .15s ease, filter .15s ease;
  white-space: nowrap;
}

.biz-sheet__btn svg {
  width: 3.8cqw;
  height: 3.8cqw;
}

.biz-sheet__btn--call {
  background: linear-gradient(135deg, #e2283a, #ba1624);
  color: #fff;
}

.biz-sheet__btn--wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
}

.biz-sheet__flyer-wrap {
  margin: 2cqw 0;
}

.biz-sheet__flyer-wrap .adfull {
  margin: 0;
  border-radius: 3cqw;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Sequential Browsing Navigation */
.biz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3.5cqw;
  padding-top: 3cqw;
  border-top: 1px solid var(--paper-2);
}

.biz-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 2.2cqw 4cqw;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--paper-3);
  color: var(--ink);
  font-size: 3cqw;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.biz-nav__btn:hover {
  background: var(--paper-3);
}

.biz-nav__btn svg {
  width: 3.2cqw;
  height: 3.2cqw;
  color: var(--red);
}

.biz-nav__count {
  font-size: 2.9cqw;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ---------- sponsors ---------- */
.sp-head {
  display: flex;
  align-items: center;
  gap: 3.6cqw;
  margin-bottom: 4cqw;
}

.sp-head img {
  width: 17cqw;
  height: 17cqw;
  border-radius: 3.4cqw;
  object-fit: cover;
  flex: none;
}

.sp-head p {
  margin: 0;
  font-size: 3cqw;
  color: var(--mut);
}

.poster {
  display: block;
  width: 100%;
  height: 34cqh;
  border-radius: 3.6cqw;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(232, 200, 115, .4);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 8%;
  transition: transform 6s linear;
}

.st.is-on .poster img {
  transform: scale(1.08);
}

/* Full-page sponsor ads (title sponsor and co-sponsors) */
.st--sponsor {
  padding: 0 !important;
  background: #060508;
  overflow: hidden;
}

.st-fullimg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.st-fullimg__bg {
  position: absolute;
  inset: -30px;
  background-position: center;
  background-size: cover;
  filter: blur(28px) brightness(0.35);
  transform: scale(1.15);
  pointer-events: none;
}

.st-fullimg__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  transition: transform 7s linear;
}

.st.is-on .st-fullimg__img {
  transform: scale(1.02);
}

.st-fullimg__acts {
  position: absolute;
  left: 4cqw;
  right: 4cqw;
  bottom: calc(env(safe-area-inset-bottom) + 3cqw);
  z-index: 3;
}

.st-fullimg__acts .pacts {
  display: flex;
  gap: 2.5cqw;
  width: 100%;
}

.st-fullimg__acts .pact {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  padding: 2.6cqw 3cqw;
  border-radius: 999px;
  background: rgba(18, 18, 22, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(232, 200, 115, 0.4);
  color: #fff;
  font-size: 3cqw;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  text-decoration: none;
  transition: transform .25s var(--ease), background .2s, border-color .2s;
}

.st-fullimg__acts .pact svg {
  width: 4.2cqw;
  height: 4.2cqw;
}

.st-fullimg__acts .pact:hover {
  background: rgba(208, 31, 46, 0.9);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.st-fullimg__acts .pact--wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.chips {
  list-style: none;
  margin: 3.6cqw 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6cqw;
}

.chips li {
  font-size: 2.7cqw;
  padding: .55em 1.1em;
  border-radius: 999px;
  background: var(--soft);
}

.pacts {
  display: flex;
  gap: 2cqw;
}

.pact {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 1cqw;
  padding: 2.6cqw 1cqw;
  border-radius: 3.4cqw;
  background: var(--soft, var(--paper-2));
  color: inherit;
  font-size: 2.8cqw;
  font-weight: 600;
  transition: transform .25s var(--ease), background .2s;
}

.pact svg {
  width: 5.4cqw;
  height: 5.4cqw;
}

.pact:hover {
  transform: translateY(-.6cqw);
}

.pact--wa {
  background: #25d366 !important;
  color: #fff !important;
}

.cosp {
  display: flex;
  gap: 3.4cqw;
  padding: 3.4cqw;
  margin-bottom: 3.4cqw;
  border-radius: 4.4cqw;
  background: var(--paper-2);
}

.cosp__ad {
  width: 26cqw;
  flex: none;
  align-self: flex-start;
  border-radius: 2cqw;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cosp__ad img {
  width: 100%;
  height: auto;
}

.cosp__tx {
  min-width: 0;
  display: grid;
  gap: .6cqw;
  align-content: start;
}

.cosp__tx b {
  font-family: var(--f-display);
  font-size: 4.4cqw;
  line-height: 1.1;
}

.cosp__tx small {
  font-size: 2.9cqw;
  color: var(--red);
  font-weight: 600;
}

.cosp__tx p {
  margin: .6cqw 0 1.6cqw;
  font-size: 2.9cqw;
  line-height: 1.45;
  color: var(--ink-2);
}

.cosp .pact {
  background: #fff;
  padding: 1.8cqw .6cqw;
  font-size: 2.4cqw;
}

.cosp .pact svg {
  width: 4.4cqw;
  height: 4.4cqw;
}

/* ---------- end ---------- */
.end {
  gap: 0;
}

.end__lockup {
  font-size: 4.2cqw;
  margin-bottom: 8cqw;
}

.end .h-xl {
  font-size: 11cqw;
}

.end__acts {
  width: 100%;
  max-width: 76cqw;
  display: grid;
  gap: 2.8cqw;
  margin-top: 9cqw;
}

.end .btn {
  min-height: 0;
  padding: 3.6cqw 4cqw;
  font-size: 3.5cqw;
}

.end .btn svg {
  width: 4.8cqw;
  height: 4.8cqw;
}

.btn--line {
  --bg: transparent;
  --fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}

.btn--line:hover {
  box-shadow: inset 0 0 0 1.5px #fff;
}

.end .link {
  margin-top: 1.6cqw;
  font-size: 3.2cqw;
  text-decoration: underline;
  text-underline-offset: .3em;
  opacity: .85;
}

/* ---------- sheet ---------- */
.sheet {
  position: absolute;
  inset: 0;
  z-index: 20;
  visibility: hidden;
  pointer-events: none;
}

.sheet.is-open {
  visibility: visible;
  pointer-events: auto;
}

.sheet__scrim {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, .55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}

.sheet.is-open .sheet__scrim {
  opacity: 1;
  pointer-events: auto;
}

.sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  border-radius: calc(24 * var(--u)) calc(24 * var(--u)) 0 0;
  box-shadow: 0 -12px calc(40 * var(--u)) rgba(0, 0, 0, .35);
  transform: translate3d(0, 102%, 0);
  transition: transform .38s cubic-bezier(0.16, 1, 0.3, 1);
  padding-bottom: max(env(safe-area-inset-bottom, calc(16 * var(--u))), calc(16 * var(--u)));
  will-change: transform;
  --soft: var(--paper-2);
  --mut: var(--muted);
  pointer-events: auto;
}

.sheet.is-open .sheet__panel {
  transform: translate3d(0, 0, 0);
}

.sheet__grip {
  width: calc(44 * var(--u));
  height: calc(5 * var(--u));
  border-radius: calc(10 * var(--u));
  background: var(--paper-3);
  margin: calc(12 * var(--u)) auto 0;
  flex: none;
}

.sheet__x {
  position: absolute;
  top: calc(10 * var(--u));
  right: calc(12 * var(--u));
  width: calc(42 * var(--u));
  height: calc(42 * var(--u));
  min-width: calc(42 * var(--u));
  min-height: calc(42 * var(--u));
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-2);
  z-index: 1;
}

.sheet__x svg {
  width: 5cqw;
  height: 5cqw;
}

.sheet__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: calc(16 * var(--u)) calc(22 * var(--u)) calc(max(env(safe-area-inset-bottom, calc(16 * var(--u))), calc(16 * var(--u))) + calc(16 * var(--u)));
  overscroll-behavior: contain;
  user-select: text;
  -webkit-user-select: text;
}

.sheet__body p {
  font-size: 3.5cqw;
  line-height: 1.65;
  color: var(--ink-2);
}

.sheet .kick {
  color: var(--red);
}

.sh-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 6.2cqw;
  line-height: 1.1;
  padding-right: 10cqw;
}

.sh-sub {
  margin: 1cqw 0 0 !important;
  font-size: 3.2cqw !important;
  color: var(--muted) !important;
}

.sh-co {
  margin: .4cqw 0 0 !important;
  font-weight: 700;
  color: var(--red) !important;
  font-size: 3.3cqw !important;
}

.sh-quote {
  margin: 5cqw 0 4cqw;
  padding-left: 4cqw;
  border-left: 3px solid var(--red);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 4.4cqw;
  line-height: 1.35;
}

.msheet {
  display: flex;
  gap: 4cqw;
  align-items: center;
  margin-top: 2cqw;
}

.msheet__ph {
  width: 25cqw;
  aspect-ratio: .78;
  flex: none;
  border-radius: 3.6cqw;
  overflow: hidden;
  background: var(--paper-3);
}

.msheet__ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.msheet .tag {
  margin-bottom: 2cqw;
  font-size: 2.3cqw;
}

.msheet__info {
  list-style: none;
  padding: 0;
  margin: 5cqw 0 4cqw;
  display: grid;
  gap: 2cqw;
  font-size: 3.2cqw;
  word-break: break-word;
}

.msheet__info li {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
}

.msheet__info svg {
  width: 4.6cqw;
  height: 4.6cqw;
  color: var(--red);
  flex: none;
}

.btn--block {
  width: 100%;
  margin-top: 3.4cqw;
  min-height: 0;
  padding: 3.4cqw;
  font-size: 3.4cqw;
}

.adfull {
  width: 100%;
  height: auto;
  border-radius: 2.4cqw;
  margin: 4cqw 0 3cqw;
  box-shadow: var(--shadow-md);
}

.sheet .pacts {
  margin-top: 3cqw;
}

.pact[data-save],
[data-save] {
  display: none !important;
}

/* Ensure all interactive elements allow tap gestures cleanly on touchscreens */
button,
a,
.sbtn,
.btn,
.mem,
.pin,
.adt,
.more,
.tap-hint,
.tx-btn,
.cosp__ad,
.pact,
.biz-sheet__btn,
.biz-nav__btn,
.sheet__x {
  touch-action: manipulation;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ---------- Touch feedback for mobile ---------- */
@media (hover: none) or (pointer: coarse) {
  .sbtn:active,
  .btn:active,
  .mem:active,
  .pin:active,
  .adt:active,
  .more:active,
  .tap-hint:active,
  .tx-btn:active,
  .pact:active,
  .cosp:active,
  .biz-sheet__btn:active,
  .biz-nav__btn:active,
  .sheet__x:active {
    transform: scale(.95);
    opacity: .85;
    transition: transform .08s var(--ease), opacity .08s var(--ease);
  }
}

/* ==========================================================
   Closing Story Card / End Screen (TechnoPear Custom Layout)
   Optimized for all mobile devices & desktop viewports
   ========================================================== */

.st--the-end {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: radial-gradient(115% 75% at 50% 25%, #da1b2c 0%, #ad0d1c 48%, #6a0510 100%) !important;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-top: calc(env(safe-area-inset-top, 0px) + max(72px, 18cqw)) !important;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + max(16px, 4.5cqw)) !important;
  padding-inline: max(14px, 4.5cqw) !important;
  box-sizing: border-box;
}

/* Main content wrapper */
.end-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: calc(720 * var(--u));
  padding: 0;
  box-sizing: border-box;
  margin: auto;
}

/* 1. Thank you header */
.end-card__head {
  margin: 0;
  max-width: 100%;
}

.end-card__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: max(22px, 7.2cqw);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0;
  text-wrap: balance;
}

.end-card__sub {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: max(12px, 3.5cqw);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
  margin: 1.4cqw 0 0 0;
  letter-spacing: -0.01em;
}

/* 2. Pillars */
.end-card__pillars {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: max(14px, 4.4cqw);
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0;
  white-space: nowrap;
}

/* 3. Emotional hashtag */
.end-card__hash {
  font-family: var(--f-script);
  font-size: max(15px, 4.8cqw);
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

/* 4. TeamExcel rule */
.end-card__team {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5cqw;
  width: 82%;
  max-width: max(220px, 70cqw);
  margin: 0;
}

.end-card__team-line {
  flex: 1 1 0;
  min-width: 20px;
  height: 1px;
  display: block;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.end-card__team-tag {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: max(10px, 2.7cqw);
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

/* 5. Brand lockup */
.end-card__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: max(10px, 3.5cqw);
  margin: 0;
  max-width: 100%;
}

.end-card__bni {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.end-card__bni-main {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: max(26px, 9.2cqw);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.end-card__bni-reg {
  font-size: 0.38em;
  font-weight: 700;
  top: -0.65em;
  margin-left: 0.1em;
}

.end-card__bni-loc {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: max(8px, 2.4cqw);
  letter-spacing: 0.22em;
  color: #ffffff;
  margin-top: 0.45em;
  white-space: nowrap;
}

.end-card__brand-bar {
  width: 2px;
  flex-shrink: 0;
  display: block;
  height: max(32px, 9.5cqw);
  background: #ffffff;
  opacity: 0.95;
}

.end-card__chapter {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: max(19px, 6.4cqw);
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1;
}

/* 6. Developed by */
.end-card__dev {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  max-width: 100%;
}

.end-card__dev-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2cqw;
  width: max(200px, 64cqw);
  margin-bottom: 1.2cqw;
}

.end-card__dev-line {
  flex: 1 1 0;
  min-width: 20px;
  height: 1px;
  display: block;
}

.end-card__dev-line--left {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75));
}

.end-card__dev-line--right {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.75), transparent);
}

.end-card__dev-label {
  font-family: var(--f-body);
  font-size: max(11px, 2.9cqw);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.end-card__tp-brand {
  background: none;
  border: none;
  padding: 0.2cqw 2cqw;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: max(21px, 6.6cqw);
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.25s var(--ease);
  color: inherit;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.end-card__tp-brand:hover,
.end-card__tp-brand:active {
  transform: scale(1.06);
}

.end-card__tp-techno {
  color: #ffffff;
}

.end-card__tp-pear {
  color: #ff3344;
  text-shadow: 0 0 16px rgba(255, 51, 68, 0.45);
}

.end-card__tp-author {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: max(11px, 3.2cqw);
  color: rgba(255, 255, 255, 0.95);
  margin-top: 0.4cqw;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.end-card__tp-author:hover,
.end-card__tp-author:active {
  opacity: 0.8;
  transform: scale(1.03);
}

/* 7. Action buttons */
.end-card__acts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: max(8px, 2.5cqw);
  width: 100%;
  max-width: max(160px, 46cqw);
  margin: 0 auto;
}

.end-card__acts .btn {
  flex: 1;
  min-height: calc(42 * var(--u));
  padding: max(calc(8 * var(--u)), 2.2cqw) max(calc(10 * var(--u)), 3cqw);
  font-size: max(calc(11 * var(--u)), 2.9cqw);
  font-weight: 700;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(7 * var(--u));
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 calc(4 * var(--u)) calc(18 * var(--u)) rgba(0, 0, 0, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.end-card__acts .btn svg {
  width: calc(17 * var(--u));
  height: calc(17 * var(--u));
  flex-shrink: 0;
}

.end-card__acts .btn--white {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.end-card__acts .btn--white svg {
  stroke: #25D366 !important;
  color: #25D366 !important;
}

.end-card__acts .btn--line {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.end-card__acts .btn--line svg {
  stroke: #ffffff !important;
  color: #ffffff !important;
}

.end-card__acts .btn:active {
  transform: scale(0.96);
}

/* -----------------------------------------------------------
   Mobile Compact Viewports (iPhone SE, Small Android <= 700px)
   ----------------------------------------------------------- */
@media (max-height: 700px) {
  .st--the-end {
    padding-top: calc(env(safe-area-inset-top, 0px) + 70px) !important;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px) !important;
  }

  .end-card {
    max-height: 100%;
  }

  .end-card__title {
    font-size: max(19px, 6cqw);
  }

  .end-card__sub {
    font-size: max(10.5px, 2.8cqw);
    margin-top: 1cqw;
  }

  .end-card__pillars {
    font-size: max(12px, 3.6cqw);
  }

  .end-card__hash {
    font-size: max(13px, 3.8cqw);
  }

  .end-card__team {
    width: 76%;
  }

  .end-card__team-tag {
    font-size: max(9px, 2.4cqw);
  }

  .end-card__bni-main {
    font-size: max(23px, 7.6cqw);
  }

  .end-card__bni-loc {
    font-size: max(7px, 2.1cqw);
  }

  .end-card__brand-bar {
    height: max(26px, 8cqw);
  }

  .end-card__chapter {
    font-size: max(16px, 5.2cqw);
  }

  .end-card__dev-rule {
    margin-bottom: 0.8cqw;
  }

  .end-card__dev-label {
    font-size: max(10px, 2.6cqw);
  }

  .end-card__tp-brand {
    font-size: max(18px, 5.5cqw);
  }

  .end-card__tp-author {
    font-size: max(10.5px, 2.9cqw);
  }

  .end-card__acts {
    max-width: max(150px, 44cqw);
  }

  .end-card__acts .btn {
    min-height: 38px;
    padding: 1.4cqw 2.4cqw;
    font-size: 11px;
  }
}

/* ==========================================================
   ANIMATIONS for End Screen
   ========================================================== */

/* Staggered Content Animation */
.is-on .end-card .in {
  animation: endCardRise 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--d, 0ms);
}

@keyframes endCardRise {
  from {
    opacity: 0;
    transform: translate3d(0, 4cqw, 0) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Decorative rule line expansion */
.is-on .end-card__team-line,
.is-on .end-card__dev-line {
  animation: endLineExpand 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.is-on .end-card__team-line {
  animation-delay: 550ms;
}

.is-on .end-card__dev-line {
  animation-delay: 780ms;
}

@keyframes endLineExpand {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Brand divider bar vertical growth */
.is-on .end-card__brand-bar {
  animation: endBarGrow 0.6s cubic-bezier(0.16, 1, 0.3, 1) 680ms both;
  transform-origin: center;
}

@keyframes endBarGrow {
  from {
    opacity: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Subtle float for script hashtag */
.is-on .end-card__hash {
  animation: endHashEntrance 0.75s cubic-bezier(0.16, 1, 0.3, 1) 360ms both;
}

@keyframes endHashEntrance {
  from {
    opacity: 0;
    transform: translate3d(0, 4cqw, 0) rotate(-2.5deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

/* ==========================================================
   Very narrow / very short story canvases
   (fold phones, small Androids, phone held sideways)
   ========================================================== */
@container (max-width: 340px) {
  .st .banner {
    font-size: 6.4cqw;
    white-space: nowrap;
  }
}

@container (max-height: 420px) {
  .grow {
    margin-top: 0;
    font-size: 5.6cqw;
  }

  .covercard {
    width: 38cqw;
    margin-bottom: 4cqw;
  }

  .tap-hint {
    margin-top: 3cqw;
  }

  .grid--4,
  .grid--3 {
    row-gap: 2px;
  }

  .grid--3 .mem__ph {
    max-width: min(14cqw, 7.6cqh);
  }

  .grid--4 .mem__ph {
    max-width: min(14cqw, 7.4cqh);
  }

  .team-tag {
    margin-bottom: 4px;
  }

  .tip {
    margin-top: 2px;
  }
}
