/* =============================================================
   Magic Weather — cosmic editorial
   ============================================================= */

:root {
  --ink:        #0a0d18;
  --ink-2:      #11152a;
  --ink-3:      #1a2040;
  --star:       #f6efe6;
  --star-dim:   rgba(246, 239, 230, 0.62);
  --star-fade:  rgba(246, 239, 230, 0.42);
  --line-d:     rgba(246, 239, 230, 0.10);
  --line-d-2:   rgba(246, 239, 230, 0.18);

  --paper:      #f4ece1;
  --paper-2:    #efe6d8;
  --paper-deep: #e9dec9;
  --ink-text:   #1a1d2c;
  --ink-text-m: #6e6757;
  --line-p:     rgba(20, 24, 40, 0.10);

  --ember:      #d97a47;
  --ember-2:    #b8612e;
  --ember-soft: #f0a87b;
  --moss:       #486656;
  --azure:      #5a9fe6;

  --rad-card:   18px;
  --rad-pill:   999px;

  --t-display:  'Fraunces', 'Times New Roman', Georgia, serif;
  --t-body:     'Manrope', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --t-mono:     'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --shadow-deep: 0 40px 80px -20px rgba(0,0,0,0.55), 0 18px 36px -12px rgba(0,0,0,0.4);
  --shadow-mid:  0 24px 48px -16px rgba(0,0,0,0.45), 0 8px 18px -6px rgba(0,0,0,0.3);
  --shadow-paper: 0 30px 60px -25px rgba(98, 70, 30, 0.30), 0 10px 24px -10px rgba(98, 70, 30, 0.18);
}

/* ============== reset ============== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overscroll-behavior-x: none; }
body {
  font-family: var(--t-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--star);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
  max-width: 100%;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { background: var(--ember); color: var(--ink); }

/* Subtle film grain everywhere */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ============== nav ============== */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 14px 10px 18px;
  background: rgba(10, 13, 24, 0.55);
  border: 1px solid var(--line-d-2);
  border-radius: 999px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background .3s, border-color .3s;
}
.nav.is-paper {
  background: rgba(244, 236, 225, 0.78);
  border-color: rgba(20, 24, 40, 0.10);
  color: var(--ink-text);
}
/* Keep the Download CTA strongly coloured on both palettes — it's the
   primary action and disappearing into the bar on cream-backed sections
   was a real readability problem. */
.nav.is-paper .nav-cta {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 4px 12px rgba(184, 97, 46, 0.35);
}
.nav.is-paper .nav-cta:hover { background: var(--ember-2); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--t-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-variation-settings: 'opsz' 22, 'SOFT' 80;
}
.brand img { border-radius: 7px; box-shadow: 0 2px 6px rgba(0,0,0,0.35); }
.nav-links { display: inline-flex; align-items: center; gap: 22px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  opacity: .82;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  background: var(--ember);
  color: var(--ink) !important;
  padding: 8px 16px;
  border-radius: 999px;
  opacity: 1 !important;
  font-weight: 600;
  transition: transform .15s ease, background .2s;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--ember-soft); }

/* ============== container ============== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============== hero ============== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 0;
  background:
    radial-gradient(1200px 700px at 75% 35%, rgba(40,80,160,0.30), transparent 60%),
    radial-gradient(800px 500px at 15% 85%, rgba(217,122,71,0.18), transparent 60%),
    linear-gradient(180deg, #06080f 0%, #0a0d18 50%, #0e1224 100%);
  overflow: hidden;
}

.stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.stars-soft { opacity: .55; }

.hero-glow {
  position: absolute;
  top: 18%;
  right: -10%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(86,140,220,0.35), rgba(86,140,220,0) 60%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
  animation: pulse 9s ease-in-out infinite alternate;
}
@keyframes pulse {
  from { opacity: .7; transform: scale(0.95); }
  to   { opacity: 1;  transform: scale(1.06); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 1.05fr);
  gap: 40px;
  align-items: center;
  min-height: 78vh;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--t-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--star-dim);
  padding: 8px 14px;
  border: 1px solid var(--line-d-2);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6cd28a;
  box-shadow: 0 0 12px #6cd28a;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 60% { opacity: 1; } 80% { opacity: .35; } 100% { opacity: 1; } }
.eyebrow .sep { opacity: .45; }

.display {
  font-family: var(--t-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 28px 0 22px;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
}
.display em {
  font-style: italic;
  font-weight: 300;
  color: var(--ember);
  font-variation-settings: 'opsz' 144, 'SOFT' 80;
}

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  max-width: 540px;
  color: var(--star-dim);
  margin: 0 0 36px;
}

.cta-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s, border-color .2s, color .2s;
}
.btn-primary {
  background: var(--ember);
  color: var(--ink);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--ember-soft); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--star);
  border-color: var(--line-d-2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.32); }

.hero-meta {
  font-family: var(--t-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--star-fade);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-meta strong { color: var(--star); font-weight: 500; }
.hero-meta .dotsep { opacity: .4; }

/* hero stage */
.hero-stage {
  position: relative;
  height: 78vh;
  min-height: 660px;
}

/* primary: iPhone */
.hero-phone {
  position: absolute;
  top: 4%;
  right: 8%;
  width: 320px;
  aspect-ratio: 9/19.5;
  margin: 0;
  border-radius: 42px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.18);
  box-shadow:
    0 60px 100px -30px rgba(0,0,0,0.7),
    0 0 80px rgba(80,130,220,0.28),
    inset 0 0 0 1px rgba(0,0,0,0.6);
  background: #000;
  z-index: 4;
  transform: rotate(2deg);
  animation: float-phone 16s ease-in-out infinite alternate;
}
.hero-phone img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float-phone {
  from { transform: translateY(-10px) rotate(2deg); }
  to   { transform: translateY(10px)  rotate(2deg); }
}

/* iPhone hero screen plays the real app screen-recording */
.hero-phone-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* accent: Apple Watch */
.hero-watch {
  position: absolute;
  bottom: 4%;
  right: 28%;
  width: 130px;
  margin: 0;
  z-index: 5;
  filter: drop-shadow(0 22px 42px rgba(0,0,0,0.65));
  animation: watch-bob 5s ease-in-out infinite alternate;
}
.hero-watch::before {
  /* soft glow that pulses behind the watch */
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(217,122,71,0.35), transparent 65%);
  filter: blur(20px);
  z-index: -1;
  animation: watch-glow 3.5s ease-in-out infinite alternate;
}
.hero-watch img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 4px solid #1c1c20;
  box-shadow:
    inset 0 0 0 2px #4a4a4f,
    0 0 24px rgba(0,0,0,0.5);
  background: #000;
  display: block;
}
@keyframes watch-bob {
  from { transform: translateY(-10px) rotate(-4deg); }
  to   { transform: translateY(10px)  rotate(2deg); }
}
@keyframes watch-glow {
  from { opacity: 0.6; transform: scale(0.9); }
  to   { opacity: 1;   transform: scale(1.15); }
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 12px;
  background: rgba(15, 18, 32, 0.85);
  border: 1px solid var(--line-d-2);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    var(--shadow-mid),
    0 0 24px rgba(80,140,220,0.18);
  font-size: 13px;
  z-index: 6;
}
/* Each chip rides its own breathing animation on a different curve */
.chip-1 {
  top: 8%;   right: 38%;
  animation: chip-drift-a 6s ease-in-out infinite alternate;
}
.chip-2 {
  bottom: 12%; left: 6%;
  animation: chip-drift-b 7s ease-in-out infinite alternate;
}
.chip-3 {
  top: 42%; right: 0;
  animation: chip-drift-c 5.5s ease-in-out infinite alternate;
}
@keyframes chip-drift-a {
  from { transform: translate(-6px, -8px) rotate(-1.5deg); }
  to   { transform: translate(6px,  8px)  rotate(1.5deg); }
}
@keyframes chip-drift-b {
  from { transform: translate(8px,  6px)  rotate(2deg); }
  to   { transform: translate(-8px, -10px) rotate(-2deg); }
}
@keyframes chip-drift-c {
  from { transform: translate(-10px, 4px)  rotate(-1deg); }
  to   { transform: translate(10px,  -6px) rotate(2.5deg); }
}
/* Live-pulse dot on chip-1 indicating "right now" */
.chip-1 .chip-icon {
  position: relative;
}
.chip-1 .chip-icon::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6cd28a;
  box-shadow: 0 0 8px #6cd28a;
  animation: chip-pulse 1.6s ease-in-out infinite;
}
@keyframes chip-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.chip-icon {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  font-size: 16px;
  color: var(--star);
}
.chip-icon.ember { background: rgba(217,122,71,0.18); color: var(--ember); }
.chip-title { font-weight: 600; line-height: 1.1; }
.chip-meta { font-family: var(--t-mono); font-size: 11px; color: var(--star-fade); margin-top: 2px; }

/* ticker */
.ticker {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d);
  background: rgba(0,0,0,0.25);
  overflow: hidden;
  padding: 14px 0;
  font-family: var(--t-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--star-fade);
}
.ticker-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  animation: ticker 60s linear infinite;
  padding-left: 28px;
}
.ticker-track > * { flex: 0 0 auto; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============== platforms strip ============== */
.platforms {
  background: var(--ink);
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--line-d);
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.platform {
  display: flex;
  align-items: center;
  gap: 14px;
}
.platform-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-d-2);
  border-radius: 12px;
  color: var(--star-dim);
  background: rgba(255,255,255,0.02);
}
.platform-name {
  font-family: var(--t-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.platform-tag {
  font-size: 13px;
  color: var(--star-fade);
}

/* ============== feature sections ============== */
.feature {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}
.feature-dark { background: var(--ink); color: var(--star); }
.feature-paper {
  background:
    radial-gradient(1000px 600px at 80% 20%, rgba(217,122,71,0.10), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  color: var(--ink-text);
}
.feature-paper-deep {
  background:
    radial-gradient(800px 500px at 15% 80%, rgba(72,102,86,0.12), transparent 60%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper-deep) 100%);
}

.feature-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-grid-rev > *:first-child { order: 2; }
.feature-grid-rev > *:last-child  { order: 1; }

.counter {
  font-family: var(--t-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 22px;
}
.counter.on-paper { color: var(--ember-2); }

.display-mid {
  font-family: var(--t-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  font-variation-settings: 'opsz' 96, 'SOFT' 100;
}
.display-mid em {
  font-style: italic;
  font-weight: 300;
  color: var(--ember);
}
.display-mid.on-paper em { color: var(--ember-2); }

.feature-copy p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--star-dim);
  max-width: 480px;
}
.feature-copy.on-paper p { color: #4a4536; }

.feature-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  font-size: 15px;
  color: var(--star-dim);
}
.feature-list li {
  padding: 10px 0;
  border-top: 1px solid var(--line-d);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.feature-list li span { color: var(--ember); }

/* Magic Earth — overlay gallery */
.earth-head { margin-bottom: 60px; max-width: 760px; }
.earth-head .section-sub { color: var(--star-dim); }

.overlay-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 8px;
}
.overlay-tile {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
/* Default resting positions create the staggered "fan" silhouette */
.overlay-tile:nth-child(odd)  { transform: translateY(20px); }
.overlay-tile.is-featured     { transform: translateY(-12px); }
/* Hover lift — written with extra specificity so it always beats the
   resting nth-child / featured rules above, on every tile. */
.overlay-tile.overlay-tile:hover { transform: translateY(-22px); }
.overlay-tile.is-featured.overlay-tile:hover { transform: translateY(-32px); }

.overlay-meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 4px;
}
.overlay-num {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--star-fade);
  padding-top: 2px;
}
.overlay-name {
  font-family: var(--t-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--star);
  font-variation-settings: 'opsz' 36, 'SOFT' 100;
  line-height: 1.1;
}
.overlay-tag {
  font-family: var(--t-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--star-fade);
  margin-top: 4px;
}

.overlay-frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line-d-2);
  background: #000;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.6),
    0 0 60px rgba(80,140,220,0.12);
  aspect-ratio: 9/19.5;
  transition: box-shadow .4s ease, border-color .4s ease;
}
.overlay-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* The name colour, num, tag and frame glow all switch to the ember accent
   when a tile is hovered — that tile is now "the selected overlay". */
.overlay-tile .overlay-name,
.overlay-tile .overlay-num,
.overlay-tile .overlay-tag {
  transition: color .25s ease;
}
.overlay-tile.overlay-tile:hover .overlay-name { color: var(--ember-soft); }
.overlay-tile.overlay-tile:hover .overlay-num  { color: var(--ember); }
.overlay-tile.overlay-tile:hover .overlay-tag  { color: var(--ember-soft); opacity: 0.85; }
.overlay-tile.overlay-tile:hover .overlay-frame {
  border-color: rgba(217,122,71,0.55);
  box-shadow:
    0 50px 80px -20px rgba(0,0,0,0.75),
    0 0 90px rgba(217,122,71,0.40);
}

.earth-bullets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 100px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.eb {
  padding: 28px 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid var(--line-d-2);
  border-radius: 18px;
  transition: border-color .3s, transform .3s;
}
.eb:hover {
  border-color: rgba(217,122,71,0.4);
  transform: translateY(-3px);
}
.eb-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(217,122,71,0.12);
  color: var(--ember-soft);
  margin-bottom: 16px;
}
.eb h3 {
  font-family: var(--t-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--star);
  margin: 0 0 8px;
  font-variation-settings: 'opsz' 36, 'SOFT' 100;
}
.eb p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--star-dim);
  margin: 0;
}

/* DEPRECATED: globe-stack — kept for backwards compatibility but unused */
.globe-stack {
  position: relative;
  height: 700px;
}
.phone {
  position: absolute;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  border: 1px solid var(--line-d-2);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  background: #000;
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; }

.phone-back  { width: 280px; aspect-ratio: 9/19.5; top: 40px;  left: 0;    transform: rotate(-6deg); opacity: .85; }
.phone-mid   { width: 290px; aspect-ratio: 9/19.5; top: 0;     left: 50%;  transform: translateX(-50%) rotate(2deg); }
.phone-front { width: 300px; aspect-ratio: 9/19.5; top: 60px;  right: 0;   transform: rotate(7deg); }

.globe-stack:hover .phone-back  { transform: rotate(-9deg) translateY(-6px); }
.globe-stack:hover .phone-mid   { transform: translateX(-50%) rotate(0deg) translateY(-10px); }
.globe-stack:hover .phone-front { transform: rotate(10deg) translateY(-6px); }

.overlay-pills {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(15, 18, 32, 0.78);
  border: 1px solid var(--line-d-2);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.pill {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--star-dim);
  background: transparent;
}
.pill.pill-on { background: var(--ember); color: var(--ink); }

/* forecast stack */
.forecast-stack {
  position: relative;
  height: 720px;
}
.phone-tall {
  position: absolute;
  width: 320px;
  aspect-ratio: 9/19.5;
  top: 0;
  left: 0;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  border: 1px solid var(--line-p);
  background: #000;
}
.card-pop {
  position: absolute;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-paper);
  border: 1px solid var(--line-p);
  background: #fff;
}
.pop-1 {
  width: 280px;
  aspect-ratio: 4/3;
  top: 60px;
  right: 0;
  transform: rotate(3deg);
}
.pop-2 {
  width: 240px;
  aspect-ratio: 1/1;
  bottom: 30px;
  right: 60px;
  transform: rotate(-4deg);
}
.card-pop img { width: 100%; height: 100%; object-fit: cover; }

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  max-width: 480px;
}
.kpi {
  padding: 18px 0;
  border-top: 1px solid rgba(20,24,40,0.18);
}
.kpi-num {
  font-family: var(--t-display);
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-text);
  font-variation-settings: 'opsz' 96, 'SOFT' 100;
}
.kpi-num span {
  font-size: 22px;
  color: var(--ember-2);
  margin-left: 2px;
}
.kpi-lbl {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6e6757;
}

.detail-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 100px;
}
.detail-strip figure {
  margin: 0;
  border-radius: var(--rad-card);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-paper);
  border: 1px solid var(--line-p);
  transition: transform .35s ease, box-shadow .35s ease;
}
.detail-strip figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px -25px rgba(98, 70, 30, 0.4);
}
.detail-strip img {
  width: 100%;
  aspect-ratio: 9/19;
  object-fit: cover;
  object-position: top;
}
.detail-strip figcaption {
  padding: 14px 16px;
  font-family: var(--t-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink-text);
  border-top: 1px solid var(--line-p);
}

/* scrub graph spotlight (cream — sits between Forecast and Wind Compass) */
.scrub-spot {
  padding: 100px 0;
  background:
    radial-gradient(900px 600px at 12% 30%, rgba(217,122,71,0.08), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.scrub-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.scrub-text p {
  font-size: 17px;
  color: #4a4536;
  line-height: 1.55;
  margin: 0 0 18px;
}
.scrub-text strong { color: var(--ember-2); font-weight: 600; }
.scrub-bullets {
  list-style: none;
  padding: 0;
  margin: 22px 0 18px;
  font-size: 15px;
  color: #4a4536;
  border-top: 1px solid var(--line-p);
}
.scrub-bullets li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-p);
  display: flex;
  gap: 10px;
}
.scrub-bullets li span { color: var(--ember); font-weight: 700; }
.scrub-note {
  font-style: italic;
  font-size: 14px !important;
  color: #88806a !important;
}
.scrub-frame {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9/19.5;
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid var(--line-p);
  box-shadow: var(--shadow-paper);
  justify-self: center;
  background: #000;
  transition: transform .4s ease;
}
.scrub-frame:hover { transform: rotate(-1.5deg) scale(1.02); }
.scrub-frame img { width: 100%; height: 100%; object-fit: cover; }

/* compass spotlight */
.compass-spot {
  padding: 100px 0;
  background:
    radial-gradient(900px 600px at 80% 30%, rgba(184,97,46,0.08), transparent 60%),
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper-deep) 100%);
}
.compass-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.compass-text p {
  font-size: 17px;
  color: #4a4536;
  max-width: 480px;
  line-height: 1.55;
}
.compass-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 28px 0 20px;
  max-width: 480px;
}
.cs {
  padding: 14px 0;
  border-top: 1px solid rgba(20,24,40,0.18);
}
.cs-num {
  font-family: var(--t-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink-text);
  line-height: 1;
  font-variation-settings: 'opsz' 48, 'SOFT' 100;
}
.cs-num span {
  font-size: 13px;
  color: var(--ember-2);
  margin-left: 2px;
  font-weight: 400;
}
.cs-lbl {
  margin-top: 6px;
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #88806a;
}
.compass-note {
  font-style: italic;
  color: #88806a !important;
  font-size: 14px !important;
}
.compass-frame {
  margin: 0;
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9/19.5;
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid var(--line-p);
  box-shadow: var(--shadow-paper);
  justify-self: center;
  background: #000;
  transition: transform .4s ease;
}
.compass-frame:hover { transform: rotate(-2deg) scale(1.02); }
.compass-frame img { width: 100%; height: 100%; object-fit: cover; }

/* alerts (tags) */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  max-width: 540px;
}
.tag {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid;
  background: #fff;
  transition: transform .15s ease;
}
.tag:hover { transform: translateY(-2px); }
.tag-precip { color: #1c5fa8; border-color: rgba(28,95,168,0.3); background: #e8f1fb; }
.tag-temp   { color: #b8612e; border-color: rgba(184,97,46,0.3); background: #fbebe0; }
.tag-storm  { color: #8a2727; border-color: rgba(138,39,39,0.3); background: #fbe8e8; }
.tag-sky    { color: #486656; border-color: rgba(72,102,86,0.3); background: #ebf2ec; }
.tag-body   { color: #6e4d2a; border-color: rgba(110,77,42,0.3); background: #f6ecdb; }

.alert-stack {
  position: relative;
  height: 720px;
}
.alert-stack .phone {
  position: absolute;
  width: 320px;
  aspect-ratio: 9/19.5;
  border-radius: 42px;
  border: 1px solid var(--line-p);
  background: #000;
  box-shadow: var(--shadow-paper);
}
.alert-stack .phone:nth-child(1) { top: 0;   left: 30%; transform: rotate(-3deg); z-index: 3; }
.alert-stack .phone-shifted     { top: 80px; left: 0;   transform: rotate(4deg);  z-index: 2; opacity: .92; }
.alert-stack .phone-shifted-2   { top: 140px; right: 0; transform: rotate(-5deg); z-index: 1; opacity: .85; }

/* ============== devices ============== */
.devices {
  padding: 140px 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 70px;
  position: relative;
  z-index: 2;
}
.section-head .counter { display: inline-block; }
.section-sub {
  margin: 12px auto 0;
  color: var(--star-dim);
  font-size: 18px;
  max-width: 540px;
}

.device-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  grid-template-rows: auto auto;
  gap: 28px;
}
.device {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--line-d-2);
  border-radius: 24px;
  padding: 28px 28px 32px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.device:hover { border-color: rgba(217,122,71,0.45); transform: translateY(-4px); }
.device-iphone {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}
.device-iphone h3 { margin-top: auto; }
.device-tag {
  display: inline-block;
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-d-2);
  color: var(--star-dim);
  background: rgba(255,255,255,0.03);
  margin-bottom: 16px;
}
.device h3 {
  font-family: var(--t-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 18px 0 8px;
  font-variation-settings: 'opsz' 48, 'SOFT' 100;
}
.device p {
  font-size: 14px;
  color: var(--star-dim);
  margin: 0;
  line-height: 1.5;
}

.device-frame { position: relative; border-radius: 16px; overflow: hidden; }

.iphone-frame {
  width: 100%;
  aspect-ratio: 9/19.5;
  background: #000;
  border: 1px solid var(--line-d-2);
  border-radius: 36px;
}
.iphone-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ============== MacBook frame ============== */
.macbook {
  position: relative;
  width: 92%;
  margin: 14px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.55));
}
/* The lid: dark aluminum back behind the screen, with a thicker chamfered edge.
   Real MacBooks: roughly 14mm bezel top, 10mm sides, 18mm bottom (chin). */
.macbook-screen {
  width: 100%;
  background:
    linear-gradient(180deg, #2a2c34 0%, #1a1c24 100%);
  padding: 10px 10px 18px;
  border-radius: 14px 14px 6px 6px;
  border: 1px solid #383a44;
  border-bottom: 2px solid #1c1e26;
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -2px 0 rgba(0,0,0,0.4);
}
.macbook-bezel {
  position: relative;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  /* Match the aspect of mac-globe-fit.png (2390 × 1570 ≈ 1.522) — biased
     crop with the macOS sidebar trimmed but the 18° temperature kept. */
  aspect-ratio: 2390 / 1570;
  border: 1px solid #0a0d18;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}
.macbook-bezel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* FaceTime camera dot in the top bezel */
.macbook-camera {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #0a0a0c;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px #2a2c30,
    0 0 2px rgba(255,255,255,0.04);
  z-index: 2;
}
/* Apple-logo "chin" hint just below the screen */
.macbook-screen::after {
  content: 'MacBook';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--t-mono);
  font-size: 7px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase;
}
/* The base — wider than the lid, with a curved keyboard deck. */
.macbook-base {
  width: 116%;
  height: 16px;
  background:
    linear-gradient(180deg,
      #c8cad0 0%,
      #b0b2b8 25%,
      #8a8c92 60%,
      #5a5c62 95%);
  border-radius: 4px 4px 16px 16px;
  position: relative;
  box-shadow:
    0 4px 8px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.3);
  /* Keyboard-deck "shelf" highlight at the very top of the base */
}
.macbook-base::before {
  /* The notch in the front centre suggesting the lid-open slot */
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18%;
  max-width: 110px;
  height: 4px;
  background: linear-gradient(180deg, #4a4c52 0%, #2a2c30 100%);
  border-radius: 0 0 4px 4px;
}
.macbook-base::after {
  /* Subtle bevel highlight along the front edge */
  content: '';
  position: absolute;
  bottom: 2px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: rgba(255,255,255,0.25);
  border-radius: 1px;
}
.macbook-notch { display: none; }

/* ============== Apple Watch frame ============== */
.apple-watch {
  position: relative;
  width: 150px;
  margin: 10px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.55));
}
/* Allow the watch (with bands) to be fully visible inside its device card */
.device-watch { overflow: visible; }

/* Sport band — top and bottom, with subtle "lugged" detail lines */
.watch-strap {
  width: 60px;
  height: 35px;
  flex: none;
  background:
    linear-gradient(180deg, #1c1c1e 0%, #2a2a2d 50%, #1c1c1e 100%);
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.watch-strap-top {
  border-radius: 24px 24px 8px 8px;
  margin-bottom: -10px;
  background:
    linear-gradient(180deg, #232325 0%, #2a2a2d 60%, #1a1a1c 100%);
}
.watch-strap-bottom {
  border-radius: 8px 8px 24px 24px;
  margin-top: -10px;
  background:
    linear-gradient(0deg, #232325 0%, #2a2a2d 60%, #1a1a1c 100%);
}
/* Decorative perforation lines on the band — Sport Loop hint */
.strap-line {
  position: absolute;
  left: 50%;
  width: 60px;
  height: 2px;
  background: rgba(0,0,0,0.6);
  transform: translateX(-50%);
  border-radius: 1px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
.strap-line {
  width: 38px;
}
.watch-strap-top .strap-line:nth-child(1)    { top: 8px; }
.watch-strap-top .strap-line:nth-child(2)    { top: 16px; }
.watch-strap-top .strap-line:nth-child(3)    { top: 24px; }
.watch-strap-bottom .strap-line:nth-child(1) { bottom: 8px; }
.watch-strap-bottom .strap-line:nth-child(2) { bottom: 16px; }
.watch-strap-bottom .strap-line:nth-child(3) { bottom: 24px; }

/* The watch body — titanium / aluminum case.
   Real Apple Watch screen ratio is 41 wide × 49 tall, with the case
   being slightly taller than that on the outside (rounded rectangle
   with substantial bezel). 41:55 captures the visual proportions. */
.watch-body {
  position: relative;
  width: 135px;
  height: 181px;
  flex: none;
  aspect-ratio: 41/55;
  background:
    linear-gradient(160deg,
      #5a5a5e 0%,
      #3a3a3d 28%,
      #1f1f22 60%,
      #14141680 90%);
  border-radius: 44px;
  padding: 8px;
  z-index: 2;
  box-shadow:
    0 18px 36px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 0 -3px 6px rgba(0,0,0,0.6),
    inset 0 2px 4px rgba(255,255,255,0.10);
}

/* Tiny microphone notch on the left side */
.watch-mic {
  position: absolute;
  left: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 22px;
  background: #0a0a0c;
  border-radius: 2px;
  box-shadow: inset 1px 0 0 rgba(255,255,255,0.05);
}

/* The black OLED screen — slightly inset from the body, with rounded
   corners that match the real Apple Watch's curved-glass crystal. */
.watch-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  box-shadow:
    inset 0 0 0 1px #000,
    inset 0 0 24px rgba(0,0,0,0.5);
}
/* Vertical scroll-snap inside the watch screen — user can swipe ↕,
   JS also auto-cycles. */
.watch-scroller {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.watch-scroller::-webkit-scrollbar { display: none; }
.watch-slide {
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-shrink: 0;
}
.watch-slide img {
  width: 100%;
  height: 100%;
  /* `contain` instead of `cover` so the full watchOS screen is visible
     (time at top, H/L at bottom) — no zooming-in. The source images are
     the real 416×496 watch captures. */
  object-fit: contain;
  object-position: center;
  background: #000;
  display: block;
  pointer-events: none;
}

/* Curved glass reflection — diagonal highlight that softens the top-left */
.watch-glare {
  position: absolute;
  inset: 0;
  border-radius: 36px;
  pointer-events: none;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,0.14) 0%,
      rgba(255,255,255,0.04) 12%,
      rgba(255,255,255,0) 26%),
    radial-gradient(circle at 80% 90%,
      rgba(255,255,255,0.06) 0%,
      rgba(255,255,255,0) 30%);
  mix-blend-mode: screen;
}

/* Digital Crown — proper pill shape with knurl */
.watch-crown {
  position: absolute;
  right: -7px;
  top: 28%;
  width: 14px;
  height: 36px;
  background: linear-gradient(90deg, #7a7a7d 0%, #4a4a4d 50%, #2a2a2d 100%);
  border-radius: 4px 5px 5px 4px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset -1px 0 0 rgba(0,0,0,0.4);
  display: grid;
  place-items: center;
}
/* Knurled crown texture */
.watch-crown-knurl {
  width: 86%;
  height: 76%;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,0.10) 0,
    rgba(255,255,255,0.10) 1px,
    rgba(0,0,0,0.45) 1px,
    rgba(0,0,0,0.45) 2px
  );
  border-radius: 2px;
}

/* Side button below the crown */
.watch-side-btn {
  position: absolute;
  right: -5px;
  top: 56%;
  width: 10px;
  height: 42px;
  background: linear-gradient(90deg, #6a6a6d 0%, #3a3a3d 50%, #1c1c1f 100%);
  border-radius: 3px 4px 4px 3px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.10),
    inset -1px 0 0 rgba(0,0,0,0.4);
}

/* Page-indicator dots showing which slide is active (synced via animation) */
.watch-dots {
  display: none;
}
.watch-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--star-fade);
  opacity: 0.4;
  transition: background .25s ease, opacity .25s ease, transform .25s ease;
}
.watch-dots .dot.is-on {
  background: var(--ember);
  opacity: 1;
  transform: scale(1.25);
}
.watch-hint {
  display: none;
}

/* Compatibility shims — old classes still referenced by responsive query */
.watch-frame { display: none; }
.watch-extras { display: none; }
.watch-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
  opacity: .85;
}
.watch-extras img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 12px;
  border: 1px solid var(--line-d-2);
  object-fit: cover;
}
.watch-frame { aspect-ratio: 1/1; }
.watch-frame img { aspect-ratio: 1/1; }

/* DEPRECATED — old fake-TV frame; tv-real takes over */
.tv-frame { display: none; }

/* Real-life Apple TV photo/video lives in its own framing */
.tv-real {
  position: relative;
  width: 100%;
  aspect-ratio: 832 / 464;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-d-2);
  background: #0a0d18;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04);
}
.tv-real-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tv-real-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(15,18,32,0.78);
  border: 1px solid var(--line-d-2);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
}
.tv-real-caption {
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 9px;
  background: rgba(0,0,0,0.55);
  border-radius: 999px;
  color: var(--star-dim);
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.res-pill {
  font-family: var(--t-mono);
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--star-dim);
}
.res-pill.on { background: var(--ember); color: var(--ink); font-weight: 600; }

/* ============== personalize ============== */
.personalize {
  padding: 140px 0;
  position: relative;
}
.section-head .counter.on-paper { color: var(--ember-2); }
.section-head .display-mid.on-paper { color: var(--ink-text); }
.section-head .section-sub.on-paper { color: #5a543f; }

.personalize-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 50px;
}
.p-card {
  background: #fbf6ee;
  border: 1px solid var(--line-p);
  border-radius: 22px;
  padding: 28px 26px 0;
  display: flex;
  flex-direction: column;
  align-self: start;     /* don't stretch to grid row height — natural sizing */
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.p-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -20px rgba(98, 70, 30, 0.30);
  border-color: rgba(217,122,71,0.35);
}
.p-card header { margin-bottom: 22px; }
.p-tag {
  display: inline-block;
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(184,97,46,0.10);
  color: var(--ember-2);
  margin-bottom: 14px;
}
.p-card h3 {
  font-family: var(--t-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--ink-text);
  font-variation-settings: 'opsz' 48, 'SOFT' 100;
}
.p-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #4a4536;
  margin: 0;
}

.theme-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 0 0 22px;
}
.sw {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: var(--bg);
  color: var(--fg);
  display: grid;
  place-items: center;
  font-size: 13px;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform .2s ease;
  cursor: default;
}
.sw:hover { transform: scale(1.08); }

.provider-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
}
.provider-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line-p);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-text);
}
.provider-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(20,24,40,0.18);
}
.provider-list .dot.ember { background: var(--ember); box-shadow: 0 0 10px rgba(217,122,71,0.45); }

.p-shot {
  /* Sits right under the header content — used to use `margin-top: auto`
     which pushed it to the bottom and left a giant gap on cards (App Icons)
     that don't have a swatch grid above. Now flush with whatever's above. */
  margin: 24px -26px 0;
  border-top: 1px solid var(--line-p);
  background: #f0e9dc;
  display: flex;
  justify-content: center;
  padding: 22px 22px 0;
  overflow: hidden;
}
.p-shot img {
  width: 100%;
  max-width: 240px;
  display: block;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -10px 24px -10px rgba(98, 70, 30, 0.25);
  border: 1px solid var(--line-p);
  border-bottom: none;
}

.theme-demo {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(180deg, rgba(86,140,220,0.08) 0%, rgba(217,122,71,0.05) 100%);
  border: 1px solid var(--line-p);
  border-radius: 28px;
  padding: 50px;
}
.theme-demo-text h3 { margin-top: 12px; }
.theme-demo-text p {
  font-size: 16px;
  color: #4a4536;
  margin: 18px 0 0;
  max-width: 380px;
}

.theme-demo-stack {
  position: relative;
  height: 580px;
}
.theme-demo-stack .phone {
  position: absolute;
  width: 280px;
  aspect-ratio: 9/19.5;
  border-radius: 38px;
  overflow: hidden;
  border: 1px solid var(--line-p);
  background: #000;
  box-shadow: var(--shadow-paper);
}
.theme-demo-stack .phone-tall { top: 0; left: 0; transform: rotate(-3deg); }
.theme-demo-stack .phone-offset { top: 50px; left: 220px; transform: rotate(4deg); z-index: 2; }
.theme-demo-stack .phone img { width: 100%; height: 100%; object-fit: cover; }

/* ============== motion (video) ============== */
.motion {
  padding: 120px 0 140px;
  position: relative;
}
.motion-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.motion-copy h2 { margin-top: 16px; }
.motion-copy p { color: var(--star-dim); font-size: 17px; max-width: 380px; }

/* Single animated iPhone in the Motion section */
.video-stage {
  position: relative;
  height: 640px;
  display: grid;
  place-items: center;
}
.video-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80,140,220,0.30), transparent 65%);
  filter: blur(40px);
  z-index: 0;
  animation: pulse-glow 5s ease-in-out infinite alternate;
}
@keyframes pulse-glow {
  from { transform: scale(0.95); opacity: 0.7; }
  to   { transform: scale(1.06); opacity: 1; }
}

.video-iphone {
  position: relative;
  width: 300px;
  aspect-ratio: 9/19.5;
  z-index: 2;
  background: linear-gradient(135deg, #2a2c34 0%, #14161e 60%, #0a0d18 100%);
  padding: 12px;
  border-radius: 52px;
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.05),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}
/* When the stage has the pair, override the centered grid so both phones
   sit side-by-side with the front one slightly overlapping. */
.video-stage-pair {
  display: block;
  position: relative;
  height: 640px;
}
.video-iphone-back {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-95%) rotate(-5deg);
  animation: video-float-back 9s ease-in-out infinite alternate;
}
.video-iphone-front {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-5%) rotate(4deg);
  z-index: 3;
  animation: video-float-front 7s ease-in-out infinite alternate;
}
@keyframes video-float-back {
  from { transform: translateX(-95%) translateY(-10px) rotate(-5deg); }
  to   { transform: translateX(-95%) translateY(10px)  rotate(-5deg); }
}
@keyframes video-float-front {
  from { transform: translateX(-5%) translateY(8px) rotate(4deg); }
  to   { transform: translateX(-5%) translateY(-8px)  rotate(4deg); }
}
.video-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.video-screen {
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
  display: block;
  object-fit: cover;
  border: 1px solid #000;
}

/* ============== custom-rule callout (alerts section) ============== */
.custom-rule-card {
  margin-top: 30px;
  padding: 22px 24px;
  background: linear-gradient(180deg, #fff 0%, #fbf6ee 100%);
  border: 1px solid var(--line-p);
  border-radius: 18px;
  max-width: 540px;
  box-shadow: 0 18px 36px -16px rgba(98,70,30,0.18);
}
.crc-tag {
  display: inline-block;
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(184,97,46,0.14);
  color: var(--ember-2);
  margin-bottom: 12px;
}
.crc-title {
  font-family: var(--t-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink-text);
  margin: 0 0 8px;
  font-variation-settings: 'opsz' 36, 'SOFT' 100;
}
.custom-rule-card p {
  font-size: 14px;
  color: #4a4536;
  margin: 0 0 14px;
  line-height: 1.55;
}
.custom-rule-card strong { color: var(--ember-2); }
.crc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.crc-pills span {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  background: rgba(217,122,71,0.10);
  color: var(--ember-2);
  border: 1px solid rgba(184,97,46,0.20);
  border-radius: 999px;
}

/* ============== sources / under the hood ============== */
.sources {
  padding: 130px 0 110px;
  position: relative;
}
.sources .section-head { margin-bottom: 60px; }

.sources-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.src-group {
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid var(--line-d-2);
  border-radius: 18px;
  transition: border-color .3s ease, transform .3s ease;
}
.src-group:hover {
  border-color: rgba(217,122,71,0.45);
  transform: translateY(-4px);
}
.src-title {
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 16px;
}
.src-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.src-group li {
  padding: 10px 0;
  border-top: 1px solid var(--line-d);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.src-group li:first-child { border-top: none; padding-top: 0; }
.src-group li strong {
  font-family: var(--t-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--star);
  font-variation-settings: 'opsz' 24, 'SOFT' 100;
}
.src-group li span {
  font-size: 12px;
  color: var(--star-fade);
  line-height: 1.4;
}

.sources-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
  padding: 32px 0 0;
  border-top: 1px solid var(--line-d);
}
.sources-meta > div {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sm-num {
  font-family: var(--t-display);
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ember-soft);
  font-variation-settings: 'opsz' 96, 'SOFT' 100;
}
.sm-lbl {
  font-family: var(--t-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--star-fade);
}

/* ============== download ============== */
.download {
  padding: 140px 0 100px;
  background:
    radial-gradient(800px 500px at 80% 30%, rgba(86,140,220,0.18), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(217,122,71,0.12), transparent 60%),
    linear-gradient(180deg, #0a0d18 0%, #050811 100%);
  position: relative;
  overflow: hidden;
}
.download-head { margin-bottom: 60px; }

.download-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.dl-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--line-d-2);
  border-radius: 28px;
  padding: 36px;
  transition: border-color .3s, transform .3s;
}
.dl-card:hover { border-color: rgba(217,122,71,0.45); transform: translateY(-4px); }
.dl-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--star-fade);
}
.dl-platform { color: var(--ember); }
.dl-card h3 {
  font-family: var(--t-display);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-variation-settings: 'opsz' 72, 'SOFT' 100;
}
.dl-card p {
  font-size: 15px;
  color: var(--star-dim);
  margin: 0 0 24px;
  max-width: 420px;
}
.dl-preview {
  margin: 28px 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-d-2);
  box-shadow: var(--shadow-mid);
}
.dl-preview img { width: 100%; height: auto; display: block; }
.dl-ios .dl-preview img {
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: center 30%;
}

.install-note {
  margin-top: 36px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-d-2);
  border-radius: 14px;
  font-size: 14px;
  color: var(--star-dim);
  line-height: 1.6;
}
.install-note code {
  font-family: var(--t-mono);
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ember);
}

/* ============== footer ============== */
.footer {
  background: #050811;
  padding: 60px 0 80px;
  border-top: 1px solid var(--line-d);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1.5fr;
  gap: 40px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img { border-radius: 10px; }
.footer-name {
  font-family: var(--t-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.footer-tag {
  font-size: 13px;
  color: var(--star-fade);
}
.footer-nav {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.footer-nav a {
  font-size: 14px;
  color: var(--star-dim);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--ember); }
.footer-meta {
  text-align: right;
  font-family: var(--t-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--star-fade);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ============== reveal animations ============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============== responsive ============== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 0; gap: 32px; }
  .hero-stage { height: 560px; min-height: 560px; }
  .rotating-earth { width: 480px; height: 480px; left: 50%; transform: translate(-50%, -50%); }
  .hero-phone { right: 50%; transform: translateX(50%) rotate(2deg); top: 6%; }
  @keyframes float-phone {
    from { transform: translateX(50%) translateY(-10px) rotate(2deg); }
    to   { transform: translateX(50%) translateY(10px)  rotate(2deg); }
  }
  .hero-watch { right: 8%; bottom: 10%; width: 110px; }
  .float-chip { font-size: 12px; }
  .feature-grid { grid-template-columns: 1fr; gap: 60px; }
  .feature-grid-rev > *:first-child { order: 1; }
  .feature-grid-rev > *:last-child  { order: 2; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .device-grid { grid-template-columns: 1fr; }
  .device-iphone { grid-row: auto; }
  .motion-grid { grid-template-columns: 1fr; }
  .video-stack { height: 580px; }
  .download-grid { grid-template-columns: 1fr; }
  .detail-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .footer-nav { justify-content: flex-start; }
  .footer-meta { text-align: left; }
  /* Mobile/tablet: convert the 5-tile gallery into a snap-scroll rail.
     Feels native, doesn't try to cram 5 phones into a column. */
  .overlay-gallery {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 24px 20px;
    margin: 0 -32px;
    scrollbar-width: none;
  }
  .overlay-gallery::-webkit-scrollbar { display: none; }
  .overlay-tile {
    flex: 0 0 220px;
    scroll-snap-align: start;
    transform: none;
  }
  .overlay-tile:nth-child(odd),
  .overlay-tile.is-featured { transform: none; }
  .overlay-tile.overlay-tile:hover,
  .overlay-tile.is-featured.overlay-tile:hover { transform: translateY(-6px); }
  .earth-bullets { grid-template-columns: 1fr; gap: 16px; margin-top: 60px; }
  .alert-stack, .forecast-stack { height: 600px; }
  .alert-stack .phone:nth-child(1) { left: 50%; transform: translateX(-50%) rotate(-3deg); }
  .alert-stack .phone-shifted   { left: 5%; }
  .alert-stack .phone-shifted-2 { right: 5%; }
  .compass-grid { grid-template-columns: 1fr; gap: 50px; }
  .compass-stats { max-width: 100%; }
  .compass-frame { max-width: 280px; }
  .scrub-grid { grid-template-columns: 1fr; gap: 50px; }
  .scrub-frame { max-width: 280px; }
  .sources-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .sources-meta { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .sm-num { font-size: 32px; }
  .personalize-grid { grid-template-columns: 1fr; }
  .theme-demo { grid-template-columns: 1fr; gap: 40px; padding: 32px; }
  .theme-demo-stack { height: 480px; }
  .theme-demo-stack .phone-offset { left: 180px; }
}
@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .hero { padding-top: 100px; }
  .hero-grid { padding: 0 22px; gap: 24px; }
  .display { font-size: clamp(48px, 14vw, 84px); }
  /* Mobile nav: horizontal-scroll rail so all sections remain reachable.
     The download CTA stays pinned right; the rest scroll. */
  .nav {
    gap: 8px;
    padding: 6px 6px 6px 10px;
    top: 8px;
    left: 8px;
    right: 8px;
    transform: none;
    width: auto;
    max-width: none;
  }
  .brand span { display: none; }
  .nav-links {
    flex: 1;
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 4px;
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 88%, transparent 100%);
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a {
    flex: 0 0 auto;
    font-size: 13px;
  }
  .nav-cta {
    flex: 0 0 auto;
    padding: 7px 12px;
    font-size: 12px;
  }
  .feature { padding: 90px 0; }
  .float-chip { padding: 8px 10px; }
  .chip-1 { left: 0; top: 4%; }
  .chip-2 { left: 0; bottom: 0; }
  .chip-3 { right: 0; top: 6%; }
  .hero-stage { height: 460px; min-height: 460px; }
  .rotating-earth {
    width: 320px; height: 320px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
  }
  .hero-phone {
    width: 220px;
    top: 8%; right: 50%;
    transform: translateX(50%) rotate(2deg);
  }
  @keyframes float-phone {
    from { transform: translateX(50%) translateY(-8px) rotate(2deg); }
    to   { transform: translateX(50%) translateY(8px)  rotate(2deg); }
  }
  .hero-watch { width: 80px; right: 4%; bottom: 4%; }
  .float-chip { padding: 7px 10px 7px 9px; font-size: 11px; }
  .float-chip .chip-icon { width: 24px; height: 24px; font-size: 13px; }
  .chip-1 { top: 0; right: 70%; }
  .chip-2 { bottom: 6%; left: 0; }
  .chip-3 { top: 38%; right: 0; }
  .ticker { margin-top: 28px; padding: 10px 0; font-size: 10px; }
  .nav-cta { padding: 7px 14px; font-size: 13px; }
  .display { letter-spacing: -0.04em; }
  .lede { font-size: 16px; margin-bottom: 28px; }
  .btn { padding: 12px 18px; font-size: 14px; }
  .cta-row { gap: 10px; }
  .feature { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }
  .display-mid { font-size: clamp(32px, 9vw, 48px); }
  .detail-strip { gap: 12px; }
  .download { padding: 80px 0; }
  .globe-stack, .forecast-stack { height: 540px; }
  .phone-back  { width: 200px; }
  .phone-mid   { width: 220px; }
  .phone-front { width: 220px; }
  .phone-tall  { width: 240px; }
  .pop-1 { width: 220px; right: -10px; }
  .pop-2 { width: 180px; right: 10px; }
  .detail-strip { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .video-stage,
  .video-stage-pair { height: 540px; }
  .video-iphone { width: 220px; }
  .video-glow { width: 360px; height: 360px; }
  .video-notch { width: 70px; height: 22px; top: 14px; }
  .video-iphone-back  { transform: translateX(-90%) rotate(-5deg); }
  .video-iphone-front { transform: translateX(-10%) rotate(4deg); }
  @keyframes video-float-back {
    from { transform: translateX(-90%) translateY(-8px) rotate(-5deg); }
    to   { transform: translateX(-90%) translateY(8px)  rotate(-5deg); }
  }
  @keyframes video-float-front {
    from { transform: translateX(-10%) translateY(6px)  rotate(4deg); }
    to   { transform: translateX(-10%) translateY(-6px) rotate(4deg); }
  }
  .alert-stack { height: 500px; }
  .overlay-tile { flex: 0 0 180px; }
  .overlay-gallery { padding: 8px 18px 18px; margin: 0 -22px; }
  .alert-stack .phone { width: 240px; }
  .dl-card { padding: 24px; }
  .dl-card h3 { font-size: 24px; }
  .kpi-num { font-size: 36px; }
  .sources-grid { grid-template-columns: 1fr; }
  .sources-meta { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sm-num { font-size: 28px; }
  .custom-rule-card { padding: 18px 20px; }
  .theme-demo-stack { height: 420px; }
  .theme-demo-stack .phone { width: 220px; }
  .theme-demo-stack .phone-offset { left: 130px; top: 60px; }
  .theme-swatches { grid-template-columns: repeat(5, 1fr); }
  .p-shot img { max-width: 200px; }

  /* ---------- swipe-to-front for overlapping phone stacks (mobile) ---------- */
  .alert-stack.is-swipe,
  .theme-demo-stack.is-swipe,
  .video-stage-pair.is-swipe {
    position: relative;
    cursor: grab;
  }
  .alert-stack.is-swipe .phone,
  .theme-demo-stack.is-swipe .phone,
  .video-stage-pair.is-swipe .video-iphone {
    transition:
      transform .42s cubic-bezier(.2,.7,.2,1),
      opacity   .42s ease,
      top       .42s ease,
      left      .42s ease,
      right     .42s ease,
      filter    .42s ease;
    touch-action: pan-y;
    cursor: pointer;
    animation: none !important;
  }
  .alert-stack.is-swipe::after,
  .theme-demo-stack.is-swipe::after,
  .video-stage-pair.is-swipe::after {
    content: "← swipe →";
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(20,24,40,0.4);
    pointer-events: none;
    z-index: 5;
  }
  .video-stage-pair.is-swipe::after { color: rgba(255,255,255,0.55); }

  /* alert-stack — 3 slots (front · left · right) */
  .alert-stack.is-swipe .phone.slot-0 {
    top: 0; left: 50%; right: auto;
    transform: translateX(-50%) rotate(-3deg);
    z-index: 3; opacity: 1;
  }
  .alert-stack.is-swipe .phone.slot-1 {
    top: 60px; left: 0; right: auto;
    transform: rotate(4deg) scale(.92);
    z-index: 2; opacity: .55;
    filter: brightness(.9);
  }
  .alert-stack.is-swipe .phone.slot-2 {
    top: 60px; left: auto; right: 0;
    transform: rotate(-5deg) scale(.92);
    z-index: 1; opacity: .45;
    filter: brightness(.85);
  }

  /* theme-demo-stack — 2 slots */
  .theme-demo-stack.is-swipe .phone.slot-0 {
    top: 30px; left: 50%; right: auto;
    transform: translateX(-50%) rotate(-2deg);
    z-index: 3; opacity: 1;
  }
  .theme-demo-stack.is-swipe .phone.slot-1 {
    top: 60px; left: 50%; right: auto;
    transform: translateX(-15%) rotate(4deg) scale(.9);
    z-index: 1; opacity: .5;
    filter: brightness(.88);
  }

  /* video-stage-pair — 2 slots (preserves the side-by-side fan) */
  .video-stage-pair.is-swipe .video-iphone.slot-0 {
    top: 0; left: 50%;
    transform: translateX(-10%) rotate(4deg);
    z-index: 3; opacity: 1;
  }
  .video-stage-pair.is-swipe .video-iphone.slot-1 {
    top: 30px; left: 50%;
    transform: translateX(-90%) rotate(-5deg) scale(.95);
    z-index: 1; opacity: .7;
  }
}
