/* =========================================================
   COMPONENTS — reel, mock cards, CTAs, marquee, menu orb
   ========================================================= */

/* ---------- Reel (left scrolling column) ---------- */
.reel {
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
  height: 100vh;
}
.reel__track {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px;
  animation: reelScroll 40s linear infinite;
}
.reel:hover .reel__track { animation-play-state: paused; }

@keyframes reelScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

@media (max-width: 900px) {
  .reel { height: 60vh; }
}

/* ---------- Mock card base ---------- */
.mock {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

/* Mock — Dashboard */
.mock--dashboard {
  background: var(--c-cream);
  padding: 18px;
  aspect-ratio: 4 / 3;
}
.mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mock__dots { display: flex; gap: 5px; }
.mock__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8d3c8;
}
.mock__label {
  font-size: 9px;
  font-weight: 600;
  color: var(--c-mute);
  letter-spacing: 0.08em;
}
.mock__title {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 12px;
}
.mock__stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.stat {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
}
.stat__num {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--c-ink);
}
.stat__lbl {
  display: block;
  font-size: 8px;
  color: #999;
  margin-top: 2px;
}
.chart {
  background: #fff;
  border-radius: 8px;
  height: 80px;
  padding: 8px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.chart__bar {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--c-accent) 0%, #ffb088 100%);
  border-radius: 2px;
}

/* Mock — Editorial */
.mock--editorial {
  background: var(--c-dark-2);
  color: #f5f0e6;
  padding: 24px;
  aspect-ratio: 3 / 4;
}
.mock__eyebrow {
  font-size: 9px;
  letter-spacing: 0.16em;
  opacity: 0.6;
  text-transform: uppercase;
}
.mock__headline {
  font-family: var(--ff-serif);
  font-style: normal;
  font-size: 38px;
  line-height: 0.95;
  font-weight: 400;
  margin: 14px 0 28px;
}
.mock__photo {
  background: linear-gradient(135deg, #d4a574 0%, #8b6f47 50%, #2d2218 100%);
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.mock__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 200, 150, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(50, 30, 20, 0.6) 0%, transparent 50%);
}
.mock__meta { font-size: 10px; opacity: 0.5; }

/* Mock — Campaign */
.mock--campaign {
  background: var(--c-accent);
  color: #fff;
  aspect-ratio: 4 / 5;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.mock--campaign::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  right: -80px;
  top: 30%;
}
.mock__tag {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
.mock__big {
  font-size: 44px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.mock__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 10px;
}

/* Mock — SaaS */
.mock--saas {
  background: #fafafa;
  aspect-ratio: 4 / 3;
  padding: 18px;
}
.saas {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 12px;
  height: 100%;
}
.saas__sidebar {
  background: var(--c-dark);
  border-radius: 8px;
  padding: 12px 8px;
}
.saas__nav-dot {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #1f1f1f;
  margin-bottom: 8px;
}
.saas__nav-dot--active { background: var(--c-accent); }
.saas__main {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid var(--c-line);
}
.saas__title {
  font-size: 11px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.saas__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f3f3f3;
  font-size: 9px;
  color: #666;
}
.pill {
  background: var(--c-success-bg);
  color: var(--c-success);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}

/* Mock — Photo */
.mock--photo {
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%),
    radial-gradient(circle at 30% 30%, #b85a2b 0%, #5a2818 50%, #1a0a08 100%);
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.mock__case-num {
  font-family: var(--ff-serif);
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 6px;
}

/* Mock — Real screenshot card */
.mock--shot {
  aspect-ratio: 4 / 3;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: top center;
  padding: 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.mock--shot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}
.mock--shot > * {
  position: relative;
  z-index: 1;
}
.mock--shot__client {
  font-family: var(--ff-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 4px;
}
.mock--shot__title {
  font-family: var(--ff-sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* =========================================================
   REEL CARDS — design-led, not project screenshots
   ========================================================= */

/* Statement — bold typography on dark */
.mock--statement {
  aspect-ratio: 4 / 5;
  background: #0a0a0a;
  color: #f5f0e6;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.mock--statement::after {
  content: '';
  position: absolute;
  inset: auto auto -120px -120px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.45), transparent 70%);
  filter: blur(8px);
}
.mock--statement__eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.55;
  position: relative;
  z-index: 1;
}
.mock--statement__big {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.92;
  position: relative;
  z-index: 1;
}
.mock--statement__big em {
  font-family: var(--ff-sans);
  font-style: normal;
  font-weight: 300;
  color: var(--c-accent);
}
.mock--statement__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.6;
  position: relative;
  z-index: 1;
}

/* Metric card — big number with sparkline */
.mock--metric {
  aspect-ratio: 4 / 3;
  background: var(--c-cream);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mock--metric__head {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-mute);
}
.mock--metric__num {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--c-ink);
}
.mock--metric__num span {
  display: inline-block;
  font-size: 28px;
  color: var(--c-accent);
  margin-left: 4px;
  vertical-align: top;
  margin-top: 8px;
}
.mock--metric__caption {
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-soft);
  margin-top: -10px;
}
.mock--metric__spark {
  margin-top: auto;
  height: 56px;
  position: relative;
}
.mock--metric__spark svg {
  width: 100%; height: 100%;
}
.mock--metric__spark path {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mock--metric__spark .area {
  fill: rgba(255, 107, 53, 0.12);
  stroke: none;
}

/* Type specimen — Aa with weight ladder */
.mock--type {
  aspect-ratio: 3 / 4;
  background: #f5f3ee;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.mock--type__big {
  font-size: 168px;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--c-ink);
}
.mock--type__big em {
  font-family: var(--ff-sans);
  font-style: normal;
  font-weight: 200;
  color: var(--c-mute);
}
.mock--type__ladder {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}
.mock--type__ladder span:nth-child(1) { font-weight: 200; }
.mock--type__ladder span:nth-child(2) { font-weight: 400; }
.mock--type__ladder span:nth-child(3) { font-weight: 700; }
.mock--type__ladder span:nth-child(4) { font-weight: 900; }
.mock--type__meta {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-mute);
}

/* Palette card — vertical brand swatches */
.mock--palette {
  aspect-ratio: 4 / 5;
  background: #fff;
  padding: 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
}
.mock--palette__head {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--c-mute);
}
.mock--palette__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--c-ink);
  margin-top: 4px;
}
.mock--palette__strips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  border-radius: 6px;
  overflow: hidden;
}
.mock--palette__strip {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 8px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.mock--palette__strip:nth-child(1) { background: #0a0a0a; color: rgba(255,255,255,0.7); }
.mock--palette__strip:nth-child(2) { background: var(--c-accent); color: rgba(255,255,255,0.85); }
.mock--palette__strip:nth-child(3) { background: #f5f3ee; color: rgba(0,0,0,0.6); }
.mock--palette__strip:nth-child(4) { background: #2c5e8a; color: rgba(255,255,255,0.85); }
.mock--palette__strip:nth-child(5) { background: #c4413c; color: rgba(255,255,255,0.85); }
.mock--palette__foot {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-mute);
}

/* Gradient — atmospheric brand mood card */
.mock--gradient {
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f5f0e6;
  background:
    radial-gradient(circle at 30% 20%, #ffb088 0%, transparent 45%),
    radial-gradient(circle at 75% 60%, #c4413c 0%, transparent 55%),
    radial-gradient(circle at 50% 90%, #2a0e08 0%, transparent 55%),
    linear-gradient(180deg, #2a1610 0%, #0a0404 100%);
}
.mock--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 40%);
  pointer-events: none;
}
.mock--gradient__num {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  position: relative;
}
.mock--gradient__num em {
  font-family: var(--ff-sans);
  font-style: normal;
  font-weight: 200;
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.7;
}

/* Ratio — abstract geometric composition */
.mock--ratio {
  aspect-ratio: 4 / 3;
  background: var(--c-accent);
  position: relative;
  overflow: hidden;
  padding: 22px;
  color: #fff;
}
.mock--ratio::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: #0a0a0a;
  top: 30%;
  left: -40px;
  border-radius: 50%;
}
.mock--ratio::after {
  content: '';
  position: absolute;
  width: 140px; height: 140px;
  background: #f5f3ee;
  right: -30px;
  bottom: -30px;
}
.mock--ratio__copy {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mock--ratio__big {
  position: relative;
  z-index: 1;
  font-size: 56px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-top: 80px;
}
.mock__case-title {
  font-family: var(--ff-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

/* ---------- Headline word reveal ---------- */
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}
.is-revealed .word {
  animation: wordRise 0.8s var(--ease-out) forwards;
}
.is-revealed .word:nth-child(1) { animation-delay: 0.05s; }
.is-revealed .word:nth-child(2) { animation-delay: 0.13s; }
.is-revealed .word:nth-child(3) { animation-delay: 0.21s; }
.is-revealed .word:nth-child(4) { animation-delay: 0.29s; }
.is-revealed .word:nth-child(5) { animation-delay: 0.37s; }
.is-revealed .word:nth-child(6) { animation-delay: 0.45s; }
@keyframes wordRise {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- CTA buttons ---------- */
.cta {
  border: 1.5px solid var(--c-ink);
  padding: 16px 32px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-ink);
  background: transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.25s ease;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-ink);
  transform: translateY(101%);
  transition: transform 0.35s var(--ease-swipe);
  z-index: -1;
}
.cta:hover { color: #fff; }
.cta:hover::before { transform: translateY(0); }

.cta--primary {
  background: var(--c-ink);
  color: #fff;
}
.cta--primary::before { background: var(--c-accent); }
.cta--primary:hover { color: var(--c-ink); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--c-dark);
  color: #fff;
  padding: 28px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid #1a1a1a;
}
.marquee__inner {
  display: inline-flex;
  gap: 60px;
  align-items: center;
  animation: marquee 30s linear infinite;
  font-family: var(--ff-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: rgba(245, 240, 230, 0.95);
}
.marquee__group {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.marquee__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Floating menu orb ---------- */
.menu-orb {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 72px;
  height: 72px;
  background: var(--c-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  box-shadow: 0 14px 30px -10px rgba(255, 107, 53, 0.6);
  transition: transform 0.3s var(--ease-out), background 0.3s ease;
  cursor: pointer;
}
.menu-orb:hover { transform: scale(1.08); }
.menu-orb.is-active { background: #f5f0e6; }

/* Hamburger hidden — circle shows "Menu" text always */
.menu-orb__icon { display: none; }

.menu-orb__label {
  font-family: var(--ff-sans);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}
.menu-orb.is-active .menu-orb__label { color: var(--c-dark); }