/* ============================================================
   Jibran Khan — Editorial Cover (single screen)
   ============================================================ */

:root {
  --cream: #efe9df;
  --ink: #0d0d0d;
  --accent: #dd6a2b;
  --ig: #ff3b30;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Archivo", sans-serif;
  --font-serif: "Instrument Serif", serif;
  --font-mono: "JetBrains Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background: #0a0a0a;
  color: var(--cream);
  font-family: var(--font-display);
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) {
  body {
    cursor: auto;
  }
}

img {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
em {
  font-style: italic;
}

/* Instagram glyph */
.ig-icon {
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  vertical-align: -0.18em;
  color: var(--ig);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(239, 233, 223, 0.72);
}

/* ================= Grain ================= */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}

/* ================= Cursor ================= */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}
.cursor {
  width: 34px;
  height: 34px;
  border: 1px solid #fff;
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
    background 0.35s var(--ease);
}
.cursor-dot {
  width: 5px;
  height: 5px;
  background: #fff;
}
.cursor.is-hover {
  width: 64px;
  height: 64px;
  background: #fff;
}
@media (hover: none) {
  .cursor,
  .cursor-dot {
    display: none;
  }
}

/* ================= Top bar ================= */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  color: #f6f1e8;
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0));
}
.topbar__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
}
.topbar__logo i {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.6rem;
  margin-left: 0.2rem;
}
.topbar__follow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}
.topbar__follow em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.66rem;
  opacity: 0.75;
}

/* ================= Cover ================= */
.cover {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: #0a0a0a;
}

/* ambient blurred backdrop */
.cover__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cover__ambient img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: blur(45px) brightness(0.42) saturate(1.15);
  transform: scale(1.25);
}
.cover__ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 55%,
    transparent 30%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

/* stage centers photo + cutout (identical aspect → perfect overlap) */
.cover__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* scrim: darkens sky/ground behind the type so it stays legible */
.cover__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.34) 0%,
    rgba(0, 0, 0, 0.12) 24%,
    transparent 46%,
    transparent 60%,
    rgba(0, 0, 0, 0.2) 80%,
    rgba(0, 0, 0, 0.42) 100%
  );
}

.cover__photo,
.cover__cutout {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: auto;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}
.cover__photo {
  z-index: 1;
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.7);
}
.cover__cutout {
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.5)) contrast(1.03);
}

/* --- Cover entrance: CURTAIN reveal + letter rise (JS-gated).
   Without JS the cover just shows statically. --- */
.js .cover__stage {
  opacity: 0;
}
.cover-in .cover__stage {
  opacity: 1;
}
.cover-in .cover__photo {
  animation: curPhoto 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes curPhoto {
  from {
    transform: translate(-50%, -50%) scale(1.15);
  }
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* curtain panels split open */
.cover-curtain {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  opacity: 0;
}
.cover-curtain::before,
.cover-curtain::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  background: var(--ink);
}
.cover-curtain::before {
  top: 0;
}
.cover-curtain::after {
  bottom: 0;
}
.cover-in .cover-curtain {
  opacity: 1;
}
.cover-in .cover-curtain::before {
  animation: curUp 1.05s cubic-bezier(0.76, 0, 0.24, 1) both 0.1s;
}
.cover-in .cover-curtain::after {
  animation: curDown 1.05s cubic-bezier(0.76, 0, 0.24, 1) both 0.1s;
}
@keyframes curUp {
  to {
    transform: translateY(-101%);
  }
}
@keyframes curDown {
  to {
    transform: translateY(101%);
  }
}

/* name sits BETWEEN photo and cutout → person occludes it */
.cover__name {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.8;
  color: var(--cream);
}
.cover__name-top,
.cover__name-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 130vw;
  display: block;
}
.cover__name-top {
  top: 14%;
}
.cover__name-bottom {
  bottom: 5%;
}
.cover__word {
  display: block;
  font-size: clamp(4.5rem, 20.5vw, 21rem);
  color: #f6f1e8;
}
/* letters (split by JS) rise from a mask during the entrance */
.cover__word .ltr {
  display: inline-block;
  white-space: pre;
  will-change: transform;
}
.cover-in .cover__word {
  overflow: hidden;
  padding: 0.04em 0;
}
.cover-in .cover__word .ltr {
  transform: translateY(120%);
  animation: ltrRise 0.85s cubic-bezier(0.19, 1, 0.22, 1) both;
}
@keyframes ltrRise {
  to {
    transform: translateY(0);
  }
}

/* corner metadata */
.meta {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  animation: fadeIn 1.2s var(--ease) both;
  animation-delay: 2.1s;
}
.meta--tl {
  top: 5.2rem;
  left: clamp(1.2rem, 4vw, 3rem);
}
.meta--tr {
  top: 5.2rem;
  right: clamp(1.2rem, 4vw, 3rem);
  text-align: right;
}
.meta--bl {
  bottom: 1.8rem;
  left: clamp(1.2rem, 4vw, 3rem);
}
.meta--br {
  bottom: 1.8rem;
  right: clamp(1.2rem, 4vw, 3rem);
  text-align: right;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.meta__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(239, 233, 223, 0.85);
}
.meta__ig .ig-icon {
  width: 0.95rem;
  height: 0.95rem;
}
.meta__ig:hover {
  color: #fff;
}

/* scroll cue */
.cover__scroll {
  position: absolute;
  z-index: 6;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream);
  animation: fadeIn 1.2s var(--ease) both;
  animation-delay: 2.3s;
}
.cover__scroll i {
  width: 1px;
  height: 32px;
  background: rgba(239, 233, 223, 0.6);
  position: relative;
  overflow: hidden;
}
.cover__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  animation: scrollCue 1.8s var(--ease) infinite;
}
@keyframes scrollCue {
  0% {
    transform: translateY(-100%);
  }
  50%,
  100% {
    transform: translateY(100%);
  }
}

/* segmented pill → follower hub */
.hubpill {
  position: absolute;
  z-index: 6;
  bottom: 5.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: stretch;
  padding: 5px;
  gap: 5px;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.4);
  border: 1px solid rgba(239, 233, 223, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.7);
  color: var(--cream);
  animation: fadeIn 1.2s var(--ease) both;
  animation-delay: 2.1s;
  white-space: nowrap;
}
.hubpill__seg {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.hubpill__seg--label {
  color: rgba(239, 233, 223, 0.62);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}
.hubpill__seg--cta {
  background: var(--accent);
  color: #120a05;
  font-family: var(--font-display);
  font-weight: 800;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.hubpill__seg--cta i {
  font-style: normal;
  font-size: 0.95em;
  transition: transform 0.3s var(--ease);
}
.hubpill:hover .hubpill__seg--cta {
  background: #eb7d3d;
}
.hubpill:hover .hubpill__seg--cta i {
  transform: translate(2px, -2px);
}
@media (max-width: 520px) {
  .hubpill {
    bottom: 5rem;
  }
  .hubpill__seg--label {
    display: none;
  }
}

/* ================= Below-fold: light editorial ================= */
.pillars,
.gallery,
.brands {
  background: var(--cream);
  color: var(--ink);
}

/* Content pillars */
.pillars {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.2rem, 4vw, 3rem)
    clamp(2rem, 5vw, 4rem);
}
.pillars__label {
  margin-bottom: 1.5rem;
}
.pillars__label .mono {
  color: #6b6459;
}
.pillars__list {
  list-style: none;
}
.pillars__list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.1rem, 3vw, 2.2rem) 0;
  border-top: 1px solid rgba(13, 13, 13, 0.14);
  position: relative;
  transition: padding-left 0.5s var(--ease);
  overflow: hidden;
}
.pillars__list li:last-child {
  border-bottom: 1px solid rgba(13, 13, 13, 0.14);
}
.pillars__list li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.pillars__list li > * {
  position: relative;
  z-index: 1;
  transition: color 0.4s var(--ease);
}
.p-idx {
  color: #6b6459;
}
.p-name {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 6vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.p-desc {
  text-align: right;
  color: #6b6459;
}
.pillars__list li:hover {
  padding-left: 1.4rem;
}
.pillars__list li:hover::before {
  transform: scaleY(1);
}
.pillars__list li:hover > * {
  color: var(--cream);
}
@media (max-width: 620px) {
  .pillars__list li {
    grid-template-columns: auto 1fr;
  }
  .p-desc {
    display: none;
  }
}

/* ticker */
.ticker {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid rgba(239, 233, 223, 0.1);
}
.ticker__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.ticker__track span {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 4vw, 3rem);
  white-space: nowrap;
  padding-right: 0.5rem;
  letter-spacing: -0.01em;
}
.ticker__track b {
  color: var(--accent);
  font-weight: 400;
  padding: 0 0.4rem;
}

/* 3D tornado card stream */
.stream {
  position: relative;
  height: 120vh;
  background: radial-gradient(
    ellipse at 50% 35%,
    #1b1a17 0%,
    #0d0d0d 60%,
    #080808 100%
  );
}
.stream__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.stream__head {
  position: absolute;
  top: clamp(4.5rem, 9vw, 7rem);
  left: clamp(1.2rem, 4vw, 3rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.stream__head .mono {
  color: rgba(239, 233, 223, 0.6);
}
.stream__title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--cream);
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.stream__title em {
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: none;
  color: var(--accent);
}

.stream__scene {
  position: absolute;
  inset: 0;
  perspective: 1500px;
  perspective-origin: 50% 46%;
  display: grid;
  place-items: center;
}
.stream__helix {
  position: relative;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: rotateX(-7deg);
  will-change: transform;
}
.stream__card {
  position: absolute;
  width: 184px;
  height: 248px;
  margin: -124px 0 0 -92px;
  border-radius: 5px;
  overflow: hidden;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  will-change: transform, opacity;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stream__card {
  text-decoration: none;
  cursor: none;
}
.stream__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.stream__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

/* play badge on reel cards → links to Instagram */
.stream__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-size: 0.95rem;
  padding-left: 3px;
  backdrop-filter: blur(3px);
  transition: background 0.35s var(--ease), transform 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.stream__card--reel:hover .stream__play {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
  transform: translate(-50%, -50%) scale(1.1);
}
.stream__card--reel::before {
  content: "REEL";
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.18rem 0.35rem;
  border-radius: 3px;
}

.stream__hint {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(239, 233, 223, 0.55);
  text-align: center;
}

@media (max-width: 640px) {
  .stream__card {
    width: 132px;
    height: 178px;
    margin: -89px 0 0 -66px;
  }
  .stream__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

/* stats */
.stats {
  background: var(--cream);
  color: var(--ink);
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 4vw, 3rem);
}
.stats__loc {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.6rem;
}
.pin {
  width: 54px;
  height: 54px;
  background: var(--accent);
  flex: none;
  border-radius: 50% 50% 50% 0;
  transform: translateY(0) rotate(-45deg);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 26px -6px rgba(221, 106, 43, 0.55);
  animation: pinBob 2.6s ease-in-out infinite;
}
.pin span {
  transform: rotate(45deg);
  font-size: 1.55rem;
  line-height: 1;
}
@keyframes pinBob {
  0%,
  100% {
    transform: translateY(0) rotate(-45deg);
  }
  50% {
    transform: translateY(-9px) rotate(-45deg);
  }
}
.stats__loc-txt {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.stats__loc-txt .mono {
  color: #6b6459;
}
.stats__loc-txt strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.stats__label {
  display: block;
  color: #6b6459 !important;
  margin-bottom: 2.2rem;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.9;
}
.stat__cap {
  color: #6b6459;
  margin-top: 0.6rem;
}
@media (max-width: 700px) {
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem 1rem;
  }
}

/* ===== Audience / Demographics ===== */
.demo {
  background: var(--cream);
  color: var(--ink);
  padding: 0 clamp(1.2rem, 4vw, 3rem) clamp(4rem, 9vw, 7rem);
  text-align: center;
}
.demo__label {
  display: block;
  color: #6b6459 !important;
  margin-bottom: 0.9rem;
}
.demo__title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 0.95;
  margin-bottom: clamp(2.4rem, 5vw, 3.4rem);
}
.demo__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.demo__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.demo__card {
  background: rgba(13, 13, 13, 0.03);
  border: 1px solid rgba(13, 13, 13, 0.1);
  border-radius: 18px;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.demo__k {
  color: #6b6459;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

/* gender split */
.split {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  flex: 1;
}
.split__bar {
  display: flex;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(13, 13, 13, 0.08);
}
.split__seg {
  height: 100%;
  width: 0;
  transition: width 1.1s var(--ease);
}
.reveal.in .split__seg {
  width: var(--w);
}
.split__seg--men {
  background: var(--accent);
}
.split__seg--women {
  background: var(--ink);
}
.split__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.split__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.split__item b {
  font-weight: 800;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex: none;
}
.dot--men {
  background: var(--accent);
}
.dot--women {
  background: var(--ink);
}

/* age ranges */
.ages {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  flex: 1;
  justify-content: center;
}
.ages__row {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 0.7rem;
}
.ages__lab {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.ages__track {
  height: 9px;
  border-radius: 999px;
  background: rgba(13, 13, 13, 0.08);
  overflow: hidden;
}
.ages__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 999px;
  transition: width 1.1s var(--ease);
}
.reveal.in .ages__fill {
  width: var(--v);
}
.ages__pct {
  font-size: 0.78rem;
  color: #6b6459;
}

/* top countries */
.geo {
  list-style: none;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}
.geo__row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(13, 13, 13, 0.09);
}
.geo__row:last-child {
  border-bottom: 0;
}
.geo__flag {
  font-size: 1.5rem;
  line-height: 1;
}
.geo__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  flex: 1;
}
.geo__rank {
  font-size: 0.75rem;
  color: #6b6459;
}
@media (max-width: 860px) {
  .demo__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
}

/* brands */
.brands {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid rgba(13, 13, 13, 0.12);
  text-align: center;
}
.brands__label {
  color: #6b6459 !important;
}
.brands__marquee {
  overflow: hidden;
  width: 100%;
  margin: 1.8rem 0 1.4rem;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 9%,
    #000 91%,
    transparent
  );
}
.brands__track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: brandScroll 20s linear infinite;
}
.brands__set {
  display: inline-flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.2rem);
  padding-right: clamp(1rem, 3vw, 2.2rem);
}
@keyframes brandScroll {
  to {
    transform: translateX(-50%);
  }
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  color: var(--ink);
  white-space: nowrap;
}
.brand-dot {
  color: var(--accent);
  font-size: clamp(0.8rem, 1.4vw, 1.1rem);
}
.brands__note {
  max-width: 40ch;
  margin: 0 auto;
  color: #4a463e;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* footer */
.foot {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: clamp(4rem, 10vw, 9rem) clamp(1.2rem, 4vw, 3rem) 2rem;
}
.foot__label {
  color: rgba(239, 233, 223, 0.5) !important;
}
.foot__mail {
  display: inline-block;
  margin: 1.6rem 0 3.5rem;
}
.foot__mail span {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 8.5vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.foot__mail span em {
  font-family: var(--font-serif);
  font-weight: 400;
  text-transform: none;
  color: var(--accent);
}
.foot__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  padding: 1.8rem 0;
  border-top: 1px solid rgba(239, 233, 223, 0.15);
}
.foot__reach {
  color: var(--accent) !important;
  font-weight: 500;
}
.foot__sep {
  color: rgba(239, 233, 223, 0.35);
}
.foot__row a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
}
.foot__row a:hover {
  color: var(--accent);
}
.foot__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.foot__base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
}
.foot__base .mono {
  color: rgba(239, 233, 223, 0.5);
}
.foot__tags {
  color: rgba(239, 233, 223, 0.9) !important;
}

/* collaborate seal: rotating ring + handshake */
.seal {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 1.5rem auto 3rem;
  color: var(--cream);
}
.seal__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: sealSpin 18s linear infinite;
}
.seal__ring text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  fill: rgba(239, 233, 223, 0.75);
  text-transform: uppercase;
}
.seal__hand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  color: var(--accent);
}
@keyframes sealSpin {
  to {
    transform: rotate(360deg);
  }
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 620px) {
  .meta--tl,
  .meta--tr {
    top: 4.6rem;
  }
  .meta .mono {
    font-size: 0.56rem;
  }
  /* On narrow screens the subject fills the width and hides the name,
     so bring the name in front and enlarge it for a bold, readable cover. */
  .cover__name {
    z-index: auto;
  } /* let the words interleave with the photo */
  .cover__photo,
  .cover__cutout {
    left: 41%;
  } /* nudge the subject to the left */
  .cover__name-top,
  .cover__name-bottom {
    width: 100vw;
  } /* keep full word on screen */
  .cover__name-top {
    top: 12%;
    z-index: 4;
  } /* JIBRAN a little down, in front */
  .cover__name-bottom {
    bottom: 16%;
    z-index: 2;
  } /* KHAN a little up, behind the subject */
  .cover__word {
    font-size: clamp(3.2rem, 19vw, 8rem);
  }
}
.cover__word {
  font-size: clamp(3.2rem, 19vw, 8rem);
}

/* Make KHAN larger */
.cover__name-bottom .cover__word {
  font-size: clamp(4rem, 28vw, 10rem);
}
.cover__name-bottom {
  bottom: 20%; /* Was 12% */
  z-index: 2;
}

/* JIBRAN - move down */
.cover__name-top {
  top: 16%; /* Was 12% */
  z-index: 4;
}

/* KHAN - move up */
.cover__name-bottom {
  bottom: 24%; /* Was 20% */
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  /* keep the cover visible if entrance animations are disabled */
  .cover-curtain {
    display: none !important;
  }
  .cover-in .cover__word .ltr {
    transform: none !important;
  }
  .cover-in .cover__word {
    overflow: visible !important;
  }
}
