:root {
  --bg: #f8f8f8;
  --blue: #0073eb;
  --pink: #ec2c79;
  --ink: #15141a;
  --muted: #5f6070;
  --line: rgba(26, 25, 38, 0.1);
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.32);
  --max-width: 1280px;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.about-page {
  overflow: hidden;
  background: var(--bg);
}

.about-hero {
  position: relative;
  min-height: 690px;
  padding: 110px 24px 78px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 22% 22%, rgba(142, 99, 255, 0.5), transparent 32%),
    radial-gradient(circle at 82% 26%, rgba(236, 44, 121, 0.34), transparent 34%),
    linear-gradient(145deg, #09112f 0%, #17205a 39%, #3c2083 72%, #1b4f9d 100%);
  isolation: isolate;
  overflow: hidden;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  /* background: linear-gradient(to bottom, rgba(248, 248, 248, 0), var(--bg) 88%); */
  pointer-events: none;
  z-index: 3;
}

.stars,
.stars span {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stars {
  opacity: 0.88;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,255,255,0.62) 0 1px, transparent 1.5px);
  background-position: 0 0, 42px 38px;
  background-size: 96px 96px, 140px 140px;
}

.stars span {
  width: 6px;
  height: 6px;
  inset: auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.72);
}

.stars span:nth-child(1) { left: 12%; top: 28%; }
.stars span:nth-child(2) { left: 28%; top: 18%; width: 4px; height: 4px; }
.stars span:nth-child(3) { right: 21%; top: 25%; width: 5px; height: 5px; }
.stars span:nth-child(4) { right: 11%; top: 48%; width: 4px; height: 4px; }
.stars span:nth-child(5) { left: 46%; bottom: 20%; width: 5px; height: 5px; }
.stars span:nth-child(6) { left: 8%; bottom: 34%; width: 4px; height: 4px; }

.about-hero-panel {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max-width));
  min-height: 493px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 42px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 82px);
  box-shadow: 0 30px 90px rgba(2, 7, 30, 0.28);
  overflow: visible;
}

.about-hero-copy {
  position: relative;
  z-index: 5;
  width: min(620px, 100%);
  padding: 34px 18px;
  text-align: center;
}

.hero-kicker,
.eyebrow {
  margin: 0;
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-kicker {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 11px 17px;
  color: #dbe7ff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 14, 48, 0.34);
}

.about-hero h1 {
  margin: 0;
  color: #f7fbff;
  font-family: "Dela Gothic One", "Inter", "Segoe UI", Arial, sans-serif;
  font-size: clamp(4.4rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.92;
  text-shadow:
    /* 0 8px 0 rgba(236, 44, 121, 0.84), */
    0 18px 34px rgba(0, 6, 35, 0.44);
}

.hero-lede {
  max-width: 500px;
  margin: 30px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 1vw + 0.8rem, 1.44rem);
  font-weight: 400;
  line-height: 1.44;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.hero-dragon {
  position: absolute;
  z-index: 3;
  height: auto;
  pointer-events: none;
  max-width: none;
  filter: drop-shadow(0 24px 26px rgba(2, 8, 34, 0.34));
}

.hero-dragon-midnight {
  left: clamp(-144px, -10.6vw, -18px);
  bottom: clamp(-28px, -2.2vw, 18px);
  width: clamp(340px, 31vw, 500px);
  transform: rotate(-6deg);
}

.hero-dragon-rainbow {
  right: clamp(-230px, -13vw, -82px);
  top: clamp(96px, 8vw, 128px);
  width: clamp(480px, 40vw, 630px);
  transform: rotate(2deg);
}

.about-grid-bg {
  position: relative;
  padding: 20px 0 84px;
  background: var(--bg);
  background-size: 42px 42px;
}

.content-band {
  width: min(calc(100% - 34px), var(--max-width));
  margin: 0 auto;
  scroll-margin-top: 96px;
}

.content-band + .content-band {
  margin-top: 24px;
}

.section-heading {
  max-width: 620px;
}

.section-heading h2,
.creator-card h2,
.partner-card h2,
.team-card h2,
.mascot-copy h2,
.bat-copy h2,
.final-note h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3.45rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
}

.section-heading p:not(.eyebrow),
.creator-card p:not(.eyebrow),
.partner-card p:not(.eyebrow),
.team-card p:not(.eyebrow),
.mascot-copy p:not(.eyebrow),
.bat-copy p:not(.eyebrow),
.final-note p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.46;
}

.show-flow {
  padding: 16px 0 4px;
}

.compact-heading {
  max-width: 620px;
  margin-bottom: 18px;
}

.flow-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.flow-step {
  position: relative;
  min-height: 410px;
  padding: 18px 24px 48px;
  display: grid;
  grid-template-rows: 194px 48px auto 1fr;
  align-items: start;
  row-gap: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 45px rgba(22, 24, 38, 0.07);
}

.flow-step::after {
  content: "";
  position: absolute;
  inset: auto 24px 26px;
  height: 9px;
  border-radius: 999px;
}

.flow-step > img {
  display: block;
  width: min(100%, 245px);
  height: 100%;
  max-height: 166px;
  margin: 0 auto;
  object-fit: contain;
  align-self: center;
  justify-self: center;
}

.discover-image-frame {
  width: min(100%, 245px);
  aspect-ratio: 640 / 474;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  align-self: center;
  justify-self: center;
}

.discover-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: contain;
}

.flow-step span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  line-height: 1;
}

.flow-step h3 {
  margin: 5px 0 0;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 0.95;
}

.flow-step p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.42;
}

.play-step span,
.play-step::after { background: #0073eb; }
.discover-step span,
.discover-step::after { background: #7ac143; }
.vote-step span,
.vote-step::after { background: #ec2c79; }
.watch-step span,
.watch-step::after { background: #f6b31b; }

.flow-deck-controls {
  display: none;
}

.creator-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
}

.creator-card,
.partner-card,
.team-card,
.mascot-band,
.bat-feature,
.bts-card,
.reactions-card,
.final-note {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 18px 45px rgba(22, 24, 38, 0.07);
}

.creator-card {
  min-height: 340px;
  padding: 30px;
}

.calculus-card {
  display: grid;
  grid-template-columns: minmax(230px, 36%) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  min-height: 400px;
  background: #eaf6df;
}

.calculus-card .eyebrow,
.calculus-card h2 {
  color: #1f8e4d;
}

.creator-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  max-width: 380px;
  align-self: center;
}

.creator-pet {
  position: relative;
  z-index: 1;
  grid-column: 2;
  width: min(90%, 540px);
  justify-self: end;
  margin: 0 0 -46px;
}

.akram-card {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  border-color: rgba(0, 115, 235, 0.15);
  background: #e8f3ff;
}

.akram-card .eyebrow {
  color: var(--blue);
}

.akram-card p:not(.eyebrow) {
  max-width: 310px;
}

.akram-photo {
  width: min(68%, 170px);
  aspect-ratio: 1;
  margin-bottom: 20px;
  border: 7px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 35px rgba(24, 25, 32, 0.12);
}

.partners-team {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.partners-column {
  display: grid;
  gap: 24px;
  grid-auto-rows: minmax(0, 1fr);
}

.partner-card {
  min-height: 300px;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 34%);
  gap: 18px;
  align-items: end;
}

.micro-card {
  background: #fff0dc;
}

.micro-card .eyebrow,
.micro-card h2 {
  color: #cc6a24;
}

.meemonz-card {
  grid-template-columns: minmax(0, 56%) minmax(190px, 44%);
  background: #f5e7ff;
}

.meemonz-card .eyebrow,
.meemonz-card h2 {
  color: #ae47e8;
}

.partner-art {
  width: min(142%, 300px);
  align-self: end;
  justify-self: end;
  margin: 0 0 -30px 0;
  transform: translateX(24%);
}

.meemonz-art {
  width: min(143%, 340px);
  max-width: none;
  margin-right: -10px;
  transform: translateX(25%);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a,
.team-socials a {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  transition: transform 170ms ease, filter 170ms ease;
}

.social-row a:hover,
.team-socials a:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.social-row img,
.team-socials img {
  width: 25px;
  height: 25px;
}

.team-card {
  padding: 32px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 207, 64, 0.42), transparent 34%),
    #fff8d8;
}

.team-card .eyebrow,
.team-card h2 {
  color: #c39102;
}

.team-header {
  max-width: 640px;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 112px;
  gap: 14px;
  margin-top: 24px;
}

.team-member {
  position: relative;
  min-width: 0;
  min-height: 112px;
  height: 100%;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(26, 25, 38, 0.08);
  border-radius: 18px;
  background: #fff;
}

.team-avatar {
  width: 68px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(26, 25, 38, 0.08);
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.team-avatar span {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.38);
}

.team-member-content {
  min-width: 0;
  padding-right: 42px;
}

.team-member h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.team-card .team-member p {
  margin: 3px 0 0;
  color: #7a7b87;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.18;
}

.team-socials {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
}

.team-socials a {
  width: 34px;
  height: 34px;
  border-color: rgba(26, 25, 38, 0.08);
  background: #f7f8fb;
  box-shadow: none;
}

.team-socials img {
  width: 21px;
  height: 21px;
}

.mascot-band {
  min-height: 350px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: 20px;
  padding: 38px;
  background:
    radial-gradient(circle at 80% 26%, rgba(0, 115, 235, 0.14), transparent 36%),
    #eaf8ff;
}

.mascot-copy {
  max-width: 500px;
}

.mascot-copy .eyebrow,
.mascot-copy h2 {
  color: #006bd8;
}

.mascot-stage {
  position: relative;
  min-height: 280px;
  border-radius: 26px;
  background:
    linear-gradient(rgba(0, 115, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 115, 235, 0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.52);
  background-size: 34px 34px;
}

.mascot-bubbles,
.mascot-bubbles span {
  position: absolute;
  pointer-events: none;
}

.mascot-bubbles {
  inset: 0;
  z-index: 1;
}

.mascot-bubbles span {
  width: 18px;
  aspect-ratio: 1;
  border: 2px solid rgba(0, 115, 235, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.38);
}

.mascot-bubbles span:nth-child(1) {
  left: 31%;
  top: 21%;
  width: 13px;
}

.mascot-bubbles span:nth-child(2) {
  left: 33%;
  top: 33%;
  width: 21px;
}

.mascot-bubbles span:nth-child(3) {
  right: 32%;
  top: 20%;
  width: 15px;
}

.mascot-bubbles span:nth-child(4) {
  right: 24%;
  top: 42%;
  width: 24px;
}

.mascot-bubbles span:nth-child(5) {
  left: 31%;
  bottom: 24%;
  width: 16px;
}

.mascot-bubbles span:nth-child(6) {
  left: 25%;
  top: 43%;
  width: 19px;
}

.mascot-bubbles span:nth-child(7) {
  right: 21%;
  bottom: 26%;
  width: 14px;
}

.mascot-bubbles span:nth-child(8) {
  left: 30%;
  bottom: 12%;
  width: 12px;
}

.mascot-bubbles span:nth-child(9) {
  right: 31%;
  bottom: 16%;
  width: 18px;
}

.inky-art {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: min(40%, 205px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 18px rgba(0, 83, 150, 0.14));
}

.puffer-art {
  position: absolute;
  left: 8%;
  top: 24px;
  width: min(25%, 128px);
}

.turtle-art {
  position: absolute;
  right: 6%;
  bottom: 34px;
  width: min(28%, 150px);
}

.bat-feature {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr) minmax(170px, 0.35fr);
  align-items: center;
  gap: 12px;
  padding: 28px 36px;
  background-size: 36px 36px;
}

.bat-copy {
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.bat-copy .eyebrow,
.bat-copy h2 {
  color: var(--ink);
}

.bat {
  width: min(100%, 230px);
  justify-self: center;
  filter: drop-shadow(0 16px 22px rgba(42, 23, 74, 0.08));
}

.bat-strawberry {
  transform: rotate(-8deg);
  filter:
    drop-shadow(0 16px 18px rgba(236, 96, 118, 0.16))
    drop-shadow(0 28px 38px rgba(236, 96, 118, 0.08));
}

.bat-fairy {
  transform: rotate(8deg);
  filter:
    drop-shadow(0 16px 18px rgba(248, 211, 94, 0.18))
    drop-shadow(0 28px 38px rgba(248, 211, 94, 0.09));
}

.media-row {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  gap: 24px;
}

.bts-card,
.reactions-card {
  min-height: 570px;
  padding: 32px;
}

.bts-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-items: start;
}

.bts-viewer {
  position: relative;
  align-self: center;
  width: 100%;
  margin-top: 24px;
}

.round-button {
  --button-icon: url("icons/chevron_right.svg");
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: rgba(20, 20, 28, 0.38);
  background: transparent;
  cursor: pointer;
  transition: color 170ms ease, transform 170ms ease;
}

.round-button:hover {
  transform: translateY(-1px);
  color: var(--pink);
}

.round-button:focus-visible {
  outline: 3px solid rgba(236, 44, 121, 0.22);
  outline-offset: 2px;
  color: var(--pink);
}

.round-button::before {
  content: "";
  display: block;
  width: 36px;
  height: 36px;
  background: var(--button-icon) center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.7));
  opacity: 0.54;
  transition: filter 170ms ease, opacity 170ms ease;
}

.round-button:hover::before,
.round-button:focus-visible::before {
  filter:
    brightness(0) saturate(100%) invert(32%) sepia(79%) saturate(2626%) hue-rotate(316deg) brightness(96%) contrast(93%)
    drop-shadow(0 1px 1px rgba(255, 255, 255, 0.7));
  opacity: 1;
}

.bts-prev::before,
.flow-prev::before {
  --button-icon: url("icons/chevron_left.svg");
}

.bts-next::before,
.flow-next::before {
  --button-icon: url("icons/chevron_right.svg");
}

.bts-slide {
  min-width: 0;
  margin: 0;
}

.bts-image-frame {
  position: relative;
  width: min(100%, 520px);
  margin: 0 auto;
}

.bts-image-frame .round-button {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
}

.bts-image-frame .bts-prev {
  left: -50px;
}

.bts-image-frame .bts-next {
  right: -50px;
}

.bts-image-frame .bts-prev:hover {
  transform: translate(-2px, -50%);
}

.bts-image-frame .bts-next:hover {
  transform: translate(2px, -50%);
}

.bts-image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(21, 23, 35, 0.12);
}

.bts-image-frame figcaption {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 8px 12px;
  color: rgba(18, 18, 22, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.bts-caption {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  text-align: center;
}

.bts-caption strong {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.05;
}

.bts-caption span {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.42;
}

.bts-dots,
.flow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.bts-dots {
  align-self: end;
}

.bts-dots button,
.flow-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 20, 28, 0.16);
  cursor: pointer;
}

.bts-dots button {
  transition: width 220ms ease, background 220ms ease;
}

.bts-dots button.active {
  width: 24px;
  border-radius: 999px;
}

.bts-dots button.active,
.flow-dots button.active {
  background: var(--pink);
}

@media (max-width: 820px) {
  .bts-dots,
  .flow-dots {
    gap: 0;
  }

  .bts-dots button,
  .flow-dots button {
    position: relative;
    width: 44px;
    height: 44px;
    background: transparent;
  }

  .bts-dots button::before,
  .flow-dots button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(20, 20, 28, 0.16);
    transform: translate(-50%, -50%);
  }

  .bts-dots button.active {
    width: 44px;
  }

  .bts-dots button.active,
  .flow-dots button.active {
    background: transparent;
  }

  .bts-dots button.active::before {
    width: 24px;
    border-radius: 999px;
  }

  .bts-dots button.active::before,
  .flow-dots button.active::before {
    background: var(--pink);
  }
}

.reactions-card {
  display: grid;
  grid-template-rows: auto minmax(250px, 1fr) minmax(190px, auto);
  row-gap: 14px;
  min-height: clamp(620px, 58vw, 730px);
  padding: 32px 0 0;
  background: #fff;
}

.reactions-card .section-heading {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  padding: 0 32px;
}

.reaction-marquee {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 20px;
  min-height: 0;
  margin-top: 34px;
  overflow: hidden;
}

.reaction-marquee::before,
.reaction-marquee::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: 96px;
  pointer-events: none;
}

.reaction-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.reaction-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.reaction-track {
  --marquee-duration: 72s;
  position: relative;
  z-index: 2;
  display: flex;
  width: max-content;
  animation: reaction-scroll var(--marquee-duration) linear infinite;
  will-change: transform;
}

.reaction-track-two {
  --marquee-duration: 84s;
  margin-left: -360px;
}

.reaction-track-three {
  --marquee-duration: 96s;
  margin-left: -180px;
}

.reaction-group {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding-right: 18px;
}

.reaction-card {
  flex: 0 0 auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: stretch;
  width: clamp(250px, 22vw, 330px);
  height: 112px;
  margin: 0;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(26, 25, 38, 0.07);
  border-radius: 18px;
  background:#f0f0f069;
  backdrop-filter: blur(18px);
}

.reaction-card blockquote {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #15141a;
  font-size: clamp(0.9rem, 0.95vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.reaction-card figcaption {
  min-width: 0;
  margin-top: 10px;
  overflow: hidden;
  color: #8a8c98;
  font-size: clamp(0.78rem, 0.78vw, 0.9rem);
  font-weight: 700;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 1101px) and (max-width: 1240px) {
  .reactions-card {
    grid-template-rows: auto minmax(300px, 1fr) minmax(190px, auto);
  }

  .reaction-card {
    width: clamp(280px, 26vw, 320px);
    height: 136px;
    padding: 16px 18px;
  }

  .reaction-card blockquote {
    font-size: 0.86rem;
    line-height: 1.1;
    -webkit-line-clamp: 4;
  }

  .reaction-card figcaption {
    font-size: 0.78rem;
  }
}

.reaction-walruses {
  position: relative;
  z-index: 1;
  left: auto;
  bottom: auto;
  align-self: end;
  justify-self: center;
  width: min(82%, 430px);
  height: auto;
  pointer-events: none;
  transform: none;
  filter: drop-shadow(0 14px 18px rgba(22, 24, 38, 0.08));
}

@keyframes reaction-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-33.3333%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reaction-marquee {
    overflow-x: auto;
  }

  .reaction-track {
    animation: none;
  }

  .reaction-group[aria-hidden="true"] {
    display: none;
  }
}

.final-note {
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr) minmax(150px, 0.32fr);
  align-items: center;
  gap: 20px;
  padding: 34px 44px;
  text-align: center;
  background: #f0fbeb;
}

.final-note .eyebrow,
.final-note h2 {
  color: #27924a;
}

.final-note p:not(.eyebrow) {
  max-width: 610px;
  margin-left: auto;
  margin-right: auto;
}

.final-pet {
  width: min(100%, 180px);
  justify-self: center;
}

.marten-art {
  transform: rotate(7deg);
}

@media (max-width: 1100px) {
  .about-hero {
    min-height: 850px;
    padding: 104px 24px 76px;
  }

  .about-hero-panel {
    min-height: 670px;
  }

  .about-hero-copy {
    transform: translateY(-12px);
  }

  .about-hero h1 {
    font-size: clamp(4.6rem, 8vw, 6.8rem);
  }

  .flow-track,
  .partners-team,
  .media-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-team,
  .media-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-dragon-midnight {
    left: clamp(-190px, -15vw, -118px);
    bottom: clamp(-270px, -22vw, -190px);
    width: clamp(430px, 50vw, 540px);
    transform: rotate(-10deg);
  }

  .hero-dragon-rainbow {
    right: clamp(-470px, -39vw, -320px);
    top: clamp(-260px, -21vw, -178px);
    width: clamp(760px, 86vw, 900px);
    transform: rotate(8deg);
  }

  .calculus-card .creator-pet {
    width: min(100%, 600px);
    margin: 0 0 -58px;
  }

  .calculus-card .creator-copy {
    max-width: 430px;
  }

  .calculus-card {
    grid-template-columns: minmax(360px, 42%) minmax(0, 1fr);
    gap: 28px;
    min-height: 540px;
  }
}

@media (max-width: 919px) {
  .creator-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 821px) and (max-width: 919px) {
  .calculus-card {
    grid-template-columns: minmax(310px, 44%) minmax(0, 1fr);
    gap: 22px;
    min-height: 455px;
    padding-top: 26px;
  }

  .calculus-card .creator-copy {
    max-width: 360px;
  }

  .calculus-card .creator-pet {
    width: min(100%, 470px);
    margin-bottom: -52px;
  }
}

@media (min-width: 920px) and (max-width: 1100px) {
  .creator-row {
    grid-template-columns: minmax(0, 1.18fr) minmax(270px, 0.82fr);
    gap: 20px;
  }

  .creator-card {
    padding: 26px;
  }

  .calculus-card {
    grid-template-columns: minmax(225px, 43%) minmax(0, 1fr);
    gap: 18px;
    min-height: 390px;
  }

  .calculus-card .creator-copy {
    max-width: 330px;
  }

  .calculus-card .creator-pet {
    width: clamp(300px, 34vw, 320px);
    margin-bottom: -54px;
    transform: translate(140px, 20px) scale(1.22);
    transform-origin: right bottom;
  }

  .akram-card {
    min-height: 390px;
  }

  .akram-photo {
    width: min(62%, 150px);
    margin-bottom: 16px;
  }

  .partners-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-card {
    min-height: 390px;
  }

  .micro-art {
    width: min(154%, 360px);
    transform: translateX(31%);
  }

  .meemonz-art {
    width: min(170%, 390px);
    margin-right: -26px;
    transform: translateX(35%);
  }
}

@media (min-width: 1101px) and (max-width: 1180px) {
  .meemonz-art {
    width: min(170%, 390px);
    margin-right: -26px;
    transform: translateX(35%);
  }
}

@media (max-width: 820px) {
  .about-hero {
    min-height: 920px;
    padding: 102px 16px 76px;
  }

  .about-hero-panel {
    min-height: 760px;
    border-radius: 32px;
  }

  .about-hero-copy {
    align-self: center;
    transform: translateY(-2px);
  }

  .about-hero h1 {
    font-size: clamp(4rem, 14vw, 6.8rem);
  }

  .hero-dragon-midnight {
    width: clamp(380px, 80vw, 520px);
    left: clamp(-104px, -12vw, -58px);
    bottom: -280px;
    transform: rotate(-14deg);
  }

  .hero-dragon-rainbow {
    width: clamp(660px, 99vw, 856px);
    right: clamp(-436px, -24vw, -169px);
    top: -100px;
    transform: rotate(8deg);
  }

  .hero-lede {
    max-width: 400px;
  }

  .creator-row,
  .mascot-band,
  .bat-feature,
  .final-note {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-step {
    min-height: 404px;
    grid-template-rows: 178px 46px auto 1fr;
  }

  .discover-image-frame {
    width: min(100%, 220px);
  }

  .creator-pet,
  .partner-art {
    justify-self: center;
    margin: 10px auto -32px;
    transform: none;
  }

  .meemonz-art {
    transform: translateX(14%);
  }

  .calculus-card {
    grid-template-columns: minmax(250px, 42%) minmax(0, 1fr);
    gap: 18px;
    min-height: 430px;
    padding-right: 18px;
  }

  .calculus-card .creator-copy {
    max-width: 340px;
  }

  .calculus-card .creator-pet {
    width: min(100%, 450px);
    align-self: end;
    justify-self: end;
    margin: 0 0 -50px;
  }

  .akram-card {
    min-height: 320px;
  }

  .team-list {
    grid-template-columns: minmax(0, 1fr);
    max-height: calc((112px * 3) + (14px * 2));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(195, 145, 2, 0.32) transparent;
  }

  .team-list::-webkit-scrollbar {
    width: 8px;
  }

  .team-list::-webkit-scrollbar-track {
    background: transparent;
  }

  .team-list::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(195, 145, 2, 0.26);
    background-clip: padding-box;
  }

  .team-list::-webkit-scrollbar-thumb:hover {
    background: rgba(195, 145, 2, 0.42);
    background-clip: padding-box;
  }

  .mascot-stage {
    min-height: 250px;
  }

  .inky-art {
    width: min(50%, 180px);
  }

  .mascot-bubbles span:nth-child(1) {
    left: 18%;
  }

  .mascot-bubbles span:nth-child(2) {
    left: 28%;
  }

  .mascot-bubbles span:nth-child(3) {
    right: 22%;
  }

  .mascot-bubbles span:nth-child(4) {
    right: 10%;
  }

  .mascot-bubbles span:nth-child(5) {
    left: 18%;
  }

  .mascot-bubbles span:nth-child(6) {
    left: 9%;
  }

  .mascot-bubbles span:nth-child(7) {
    right: 12%;
  }

  .mascot-bubbles span:nth-child(8) {
    left: 33%;
  }

  .mascot-bubbles span:nth-child(9) {
    right: 29%;
  }

  .bat-feature {
    row-gap: 8px;
    padding-block: 30px 34px;
    text-align: center;
  }

  .bat {
    width: min(72%, 190px);
  }

  .bat-strawberry {
    justify-self: end;
    margin-top: 2px;
  }

  .bat-fairy {
    justify-self: start;
    margin-bottom: -6px;
  }

  .round-button {
    width: 46px;
    height: 46px;
  }

  .round-button::before {
    width: 32px;
    height: 32px;
  }

  .bts-image-frame .bts-prev {
    left: -54px;
  }

  .bts-image-frame .bts-next {
    right: -54px;
  }
}

@media (min-width: 700px) and (max-width: 919px) {
  .akram-card {
    min-height: 270px;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 28%);
    align-items: center;
    align-content: center;
    justify-items: stretch;
    gap: 30px;
    padding: 34px 46px;
    text-align: left;
  }

  .akram-card .akram-photo {
    grid-column: 2;
    grid-row: 1;
    width: min(100%, 210px);
    margin: 0;
    justify-self: center;
  }

  .akram-card > div {
    grid-column: 1;
    grid-row: 1;
    max-width: 560px;
  }

  .akram-card p:not(.eyebrow) {
    max-width: 540px;
  }
}

@media (min-width: 681px) and (max-width: 919px) {
  .partners-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .partner-card {
    min-height: clamp(420px, 54vw, 500px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(190px, 1fr);
    align-items: start;
    gap: 16px;
    padding: 28px;
  }

  .partner-card > div {
    position: relative;
    z-index: 2;
    max-width: 100%;
  }

  .partner-card p:not(.eyebrow) {
    font-size: clamp(1rem, 1.8vw, 1.12rem);
  }

  .partner-art {
    width: auto;
    height: clamp(350px, 47vw, 430px);
    max-width: none;
    align-self: end;
    justify-self: center;
    margin: 0 auto -34px;
    transform: none;
  }

  .micro-art {
    height: clamp(350px, 47vw, 430px);
  }

  .meemonz-art {
    height: clamp(350px, 47vw, 430px);
    margin-right: auto;
    transform: none;
  }
}

@media (max-width: 680px) {
  .partners-column {
    grid-auto-rows: auto;
  }

  .meemonz-art {
    transform: none;
  }

  .calculus-card {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 0;
  }

  .calculus-card .creator-copy {
    grid-column: 1;
    max-width: 100%;
  }

  .calculus-card .creator-pet {
    grid-column: 1;
    width: min(96%, 330px);
    justify-self: center;
    margin: 8px auto -36px;
  }
}

@media (max-width: 560px) {
  .content-band {
    width: min(calc(100% - 22px), var(--max-width));
  }

  .about-grid-bg {
    background-size: 30px 30px;
  }

  .about-hero {
    min-height: max(860px, 100svh);
    padding: 92px 12px 58px;
  }

  .about-hero-panel {
    min-height: calc(max(860px, 100svh) - 150px);
    border-radius: 28px;
  }

  .about-hero-copy {
    padding: 62px 10px 34px;
    transform: translateY(-86px);
  }

  .about-hero h1 {
    font-size: clamp(3.5rem, 17vw, 5.1rem);
  }

  .hero-lede {
    max-width: 315px;
    font-size: 1.03rem;
  }

  .hero-dragon-midnight {
    width: clamp(328px, 85vw, 395px);
    left: clamp(-84px, -13vw, -46px);
    bottom: -108px;
    transform: rotate(-15deg);
  }

  .hero-dragon-rainbow {
    width: clamp(520px, 158vw, 503px);
    right: clamp(-419px, -10vw, -119px);
    top: -95px;
    transform: rotate(9deg);
  }

  .section-heading h2,
  .creator-card h2,
  .partner-card h2,
  .team-card h2,
  .mascot-copy h2,
  .bat-copy h2,
  .final-note h2 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .flow-step,
  .creator-card,
  .partner-card,
  .team-card,
  .mascot-band,
  .bat-feature,
  .bts-card,
  .reactions-card,
  .final-note {
    border-radius: 22px;
    padding: 24px;
  }

  .bat-feature {
    row-gap: 6px;
    padding: 28px 24px 32px;
  }

  .bat-copy {
    margin: 2px auto 4px;
  }

  .bat {
    width: min(66%, 178px);
  }

  .content-band + .content-band {
    margin-top: 22px;
  }

  .flow-step {
    min-height: 390px;
    padding: 20px 24px 50px;
    grid-template-rows: 132px 46px auto 1fr;
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(22, 24, 38, 0.08);
  }

  .flow-step::after {
    inset: auto 24px 26px;
  }

  .flow-step > img {
    width: min(100%, 180px);
    max-height: 128px;
  }

  .discover-image-frame {
    width: min(100%, 180px);
    border-radius: 18px;
  }

  .flow-track {
    position: relative;
    display: block;
    min-height: 390px;
    margin: 4px 0 0;
  }

  .flow-step {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .flow-step.is-active {
    z-index: 4;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .flow-step.is-next {
    opacity: 0;
    transform: translateY(10px);
  }

  .flow-step.is-previous {
    opacity: 0;
    transform: translateY(10px);
  }

  .flow-deck-controls {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 12px;
    width: min(100%, 260px);
    margin: 15px auto 0;
  }

  .flow-deck-controls .round-button {
    width: 42px;
    height: 42px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(22, 24, 38, 0.12);
  }

  .flow-deck-controls .round-button:hover {
    transform: none;
    color: rgba(20, 20, 28, 0.68);
    background: #f3f5f8;
    box-shadow: 0 10px 28px rgba(22, 24, 38, 0.12);
  }

  .flow-deck-controls .round-button::before {
    width: 24px;
    height: 24px;
    border: 0;
    background: var(--button-icon) center / contain no-repeat;
    opacity: 1;
    transform: none;
  }

  .flow-dots {
    margin-top: 0;
  }

  .creator-card,
  .partner-card {
    min-height: 0;
  }

  .calculus-card {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 0;
  }

  .calculus-card .creator-copy {
    max-width: 100%;
  }

  .creator-pet {
    width: min(84%, 250px);
  }

  .calculus-card .creator-pet {
    width: min(96%, 330px);
    justify-self: center;
    margin: 8px auto -36px;
  }

  .partner-art {
    width: min(124%, 223px);
  }

  .meemonz-art {
    width: min(146%, 280px);
  }

  .akram-card {
    min-height: 360px;
  }

  .team-member {
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 112px;
    border-radius: 18px;
  }

  .reactions-card {
    grid-template-rows: auto minmax(170px, auto) minmax(170px, auto);
    min-height: 0;
    padding: 24px 0 0;
  }

  .reactions-card .section-heading {
    padding: 0 24px;
  }

  .reactions-card .section-heading h2 {
    max-width: 300px;
    font-size: clamp(1.9rem, 7.4vw, 2.15rem);
  }

  .reaction-marquee {
    gap: 14px;
    margin-top: 28px;
  }

  .reaction-marquee::before,
  .reaction-marquee::after {
    width: 52px;
  }

  .reaction-track-two,
  .reaction-track-three {
    display: none;
  }

  .reaction-group {
    gap: 14px;
    padding-right: 14px;
  }

  .reaction-card {
    width: min(320px, 78vw);
    height: 144px;
    padding: 15px 16px;
  }

  .reaction-card blockquote {
    font-size: 0.9rem;
    line-height: 1.08;
    -webkit-line-clamp: 4;
  }

  .reaction-card figcaption {
    font-size: 0.84rem;
  }

  .reaction-walruses {
    width: min(86%, 315px);
  }

  .bts-prev,
  .bts-next {
    position: absolute;
    z-index: 5;
    width: 42px;
    height: 58px;
    color: rgba(20, 20, 28, 0.36);
  }

  .bts-prev::before,
  .bts-next::before {
    width: 32px;
    height: 32px;
  }

  .bts-image-frame .bts-prev {
    left: -12px;
  }

  .bts-image-frame .bts-next {
    right: -12px;
  }

  .bts-image-frame figcaption {
    max-width: calc(100% - 24px);
    left: 12px;
    right: auto;
    font-size: 0.72rem;
  }

  .final-pet {
    width: 130px;
  }
}

@media (min-width: 561px) and (max-width: 820px) and (orientation: portrait) {
  .hero-dragon-midnight {
    width: clamp(410px, 70vw, 530px);
    left: clamp(-96px, -11vw, -54px);
    bottom: -240px;
    transform: rotate(-14deg);
  }

  .hero-dragon-rainbow {
    width: clamp(660px, 103vw, 830px);
    right: clamp(-430px, -23vw, -155px);
    top: -95px;
  }

  .hero-lede {
    max-width: 400px;
  }
}

@media (min-width: 561px) and (max-width: 1100px) {
  .reactions-card {
    grid-template-rows: auto minmax(205px, auto) minmax(200px, auto);
    min-height: 0;
    padding-bottom: 0;
  }

  .reaction-marquee {
    gap: 18px;
    margin-top: 32px;
  }

  .reaction-track-three {
    display: none;
  }

  .reaction-card {
    width: clamp(260px, 34vw, 360px);
    height: 118px;
  }

  .reaction-card blockquote {
    font-size: clamp(0.96rem, 1.24vw, 1.14rem);
  }

  .reaction-card figcaption {
    font-size: clamp(0.82rem, 0.94vw, 0.94rem);
  }

  .reaction-walruses {
    width: min(54%, 390px);
  }
}

@media (min-width: 700px) and (max-width: 1099px) {
  .about-hero {
    min-height: auto;
    padding-top: clamp(112px, 11.5vw, 136px);
    padding-bottom: clamp(38px, 4.8vw, 56px);
  }

  .about-hero-panel {
    min-height: clamp(640px, 67vw, 720px);
    overflow: visible;
  }

  .about-hero-copy {
    align-self: start;
    width: min(850px, 88%);
    margin-top: clamp(435px, 42vw, 462px);
    padding: 0 16px 34px;
    transform: none;
  }

  .about-hero h1 {
    font-size: clamp(4.25rem, 8.2vw, 5.9rem);
    line-height: 0.9;
  }

  .hero-lede {
    max-width: min(540px, 100%);
    margin-top: clamp(18px, 2.2vw, 28px);
  }

  .hero-dragon-midnight {
    width: clamp(435px, 40vw, 450px);
    left: clamp(-125px, -6vw, -60px);
    top: clamp(-82px, -9.2vw, -30px);
    bottom: auto;
    transform: rotate(-8deg);
  }

  .hero-dragon-rainbow {
    width: clamp(440px, 70vw, 650px);
    right: clamp(-196px, -12vw, -82px);
    top: clamp(-48px, -3.8vw, -22px);
    bottom: auto;
    transform: rotate(4deg);
  }
}

@media (min-width: 700px) and (max-width: 760px) {
  .hero-dragon-midnight {
    width: clamp(378px, 53vw, 405px);
    left: clamp(-104px, -9vw, -72px);
    top: clamp(-62px, -7vw, -42px);
  }

  .hero-dragon-rainbow {
    width: clamp(560px, 75vw, 610px);
    right: clamp(-218px, -15vw, -121px);
    top: clamp(-54px, -6vw, -38px);
  }
}

@media (min-width: 1100px) and (max-width: 1320px) {
  .about-hero {
    min-height: clamp(660px, 59vw, 720px);
    padding: clamp(104px, 9vw, 122px) 24px clamp(58px, 5vw, 72px);
  }

  .about-hero-panel {
    min-height: clamp(480px, 44vw, 550px);
  }

  .about-hero-copy {
    width: min(560px, 58%);
    padding: 30px 16px;
    transform: none;
  }

  .about-hero h1 {
    font-size: clamp(5.9rem, 8.6vw, 7.25rem);
    line-height: 0.92;
  }

  .hero-lede {
    max-width: 500px;
    margin-top: clamp(22px, 2vw, 30px);
  }

  .hero-dragon-midnight {
    width: clamp(410px, 35vw, 500px);
    left: clamp(-118px, -7.5vw, -76px);
    bottom: clamp(-115px, -9.6vw, -22px);
    top: auto;
    transform: rotate(-7deg);
  }

  .hero-dragon-rainbow {
    width: clamp(520px, 43vw, 620px);
    right: clamp(-247px, -11vw, -116px);
    top: clamp(-32px, -4vw, 140px);
    bottom: auto;
    transform: rotate(2deg);
  }
}

/* Akram portrait pet composition */
.akram-portrait {
  position: relative;
  width: min(82%, 240px);
  height: 205px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.akram-photo-flip {
  position: relative;
  z-index: 1;
  width: 170px;
  aspect-ratio: 1;
  max-width: 72%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  perspective: 900px;
  -webkit-tap-highlight-color: transparent;
}

.akram-photo-coin {
  position: absolute;
  inset: 0;
  display: block;
  border: 7px solid #fff;
  border-radius: 50%;
  box-shadow: 0 18px 35px rgba(24, 25, 32, 0.12);
  transform-style: preserve-3d;
  will-change: transform;
}

.akram-photo-face {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: #121318;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.akram-photo-back {
  transform: rotateY(180deg);
}

.akram-portrait .akram-photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: none;
}

.akram-photo-flip::after {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: 2;
  border: 3px solid transparent;
  border-radius: 50%;
  pointer-events: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.akram-photo-flip:hover::after {
  border-color: rgba(0, 115, 235, 0.42);
  transform: scale(1.035);
}

.akram-photo-flip:focus-visible {
  outline: none;
}

.akram-photo-flip:focus-visible::after {
  border-color: #0073eb;
  box-shadow: 0 0 0 4px rgba(0, 115, 235, 0.2);
}

.akram-photo-flip.is-flipping {
  cursor: wait;
}

.akram-photo-flip.is-flipping .akram-photo-coin {
  animation: akram-coin-flip 1.6s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.akram-photo-flip.is-flipping::after {
  animation: akram-coin-glow 1.6s ease-in-out both;
}

@keyframes akram-coin-flip {
  0% {
    transform: rotateY(0deg) scale(1);
  }
  28% {
    transform: rotateY(180deg) scale(1.07);
  }
  68% {
    transform: rotateY(180deg) scale(1.07);
  }
  100% {
    transform: rotateY(360deg) scale(1);
  }
}

@keyframes akram-coin-glow {
  0%,
  100% {
    border-color: transparent;
    box-shadow: none;
    transform: scale(1);
  }
  28%,
  68% {
    border-color: rgba(246, 179, 27, 0.85);
    box-shadow: 0 0 0 5px rgba(246, 179, 27, 0.18);
    transform: scale(1.1);
  }
}

.akram-portrait-pet {
  position: absolute;
  z-index: 2;
  height: auto;
  pointer-events: none;
}

.akram-wyvern {
  left: 12px;
  bottom: -1px;
  width: 85px;
  transform: rotate(-7deg);
}

.akram-starfish {
  top: 2px;
  right: 8px;
  width: 87px;
  transform: rotate(3deg);
}

@media (min-width: 700px) and (max-width: 919px) {
  .akram-card {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 32%);
  }

  .akram-card .akram-portrait {
    grid-column: 2;
    grid-row: 1;
    width: min(100%, 280px);
    height: 240px;
    margin: 0;
    justify-self: center;
  }

  .akram-card .akram-portrait .akram-photo-flip {
    width: clamp(185px, 23vw, 220px);
    max-width: 78%;
  }

  .akram-card .akram-wyvern {
    width: clamp(100px, 10vw, 132px);
  }

  .akram-card .akram-starfish {
    width: clamp(85px, 9vw, 114px);
    top: 12px;
  }
}

@media (max-width: 560px) {
  .akram-portrait {
    width: min(92%, 220px);
    height: 190px;
    margin-bottom: 12px;
  }

  .akram-portrait .akram-photo-flip {
    width: 158px;
  }

  .akram-wyvern {
    width: 79px;
  }

  .akram-starfish {
    width: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .akram-photo-flip.is-flipping .akram-photo-coin {
    animation-name: akram-coin-dissolve;
  }

  .akram-photo-flip.is-flipping::after {
    animation: none;
  }

  @keyframes akram-coin-dissolve {
    0%,
    100% {
      transform: rotateY(0deg);
    }
    12%,
    88% {
      transform: rotateY(180deg);
    }
  }
}
