:root {
  --bg-1: #f5f4f2;
  --bg-2: #e8e6e2;
  --ink: #0a0a0c;
  --ink-soft: #2a2a2d;
  --mute: #8a8780;
  --line: #c8c5bd;
  --tile: #0e0e11;
  --tile-2: #1a1a1e;
  --accent: #f46a6a;
}

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

html,
body {
  background: var(--bg-1);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  background: radial-gradient(
    120% 70% at 50% 0%,
    #f8f7f4 0%,
    #efede7 60%,
    #e2dfd7 100%
  );
  min-height: 100vh;
}

/* Subtle grain */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============ POSTER (HERO) ============ */
.poster {
  min-height: 100vh;
  padding: 48px 32px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 5;
}

.credit {
  font-size: 11px;
  letter-spacing: 0.36em;
  color: var(--mute);
  font-weight: 500;
  margin-bottom: 36px;
}

/* ----- The hub-and-spoke diagram ----- */
.diagram {
  position: relative;
  width: 100%;
  max-width: 820px;
  aspect-ratio: 1.6 / 1;
  margin: 12px 0 56px;
}

.diagram svg.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ring {
  fill: rgba(60, 60, 64, 0.04);
  stroke: rgba(60, 60, 64, 0.06);
  stroke-width: 1;
}
.link {
  fill: none;
  stroke: rgba(20, 20, 22, 0.55);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}

/* Brain at center */
.brain {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 84px;
  line-height: 1;
  z-index: 5;
  filter: drop-shadow(0 14px 22px rgba(180, 60, 80, 0.35))
    drop-shadow(0 4px 6px rgba(40, 10, 20, 0.25));
  user-select: none;
  cursor: pointer;
  will-change: transform;
}

/* Icon tiles */
.icon-tile {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: var(--tile);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fafaf7;
  box-shadow: 0 24px 40px -16px rgba(0, 0, 0, 0.5),
    0 10px 20px -6px rgba(0, 0, 0, 0.32), 0 3px 6px -1px rgba(0, 0, 0, 0.18),
    inset 0 2px 0 rgba(255, 255, 255, 0.12), inset 0 -3px 6px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 10;
  transition: box-shadow 0.5s cubic-bezier(0.6, 0, 0.2, 1);
  will-change: transform;
}
.icon-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 35%,
    transparent 70%,
    rgba(0, 0, 0, 0.3) 100%
  );
  pointer-events: none;
  border-radius: inherit;
}
.icon-tile:hover {
  box-shadow: 0 32px 50px -16px rgba(0, 0, 0, 0.6),
    0 14px 26px -6px rgba(0, 0, 0, 0.38), 0 4px 8px -1px rgba(0, 0, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.15), inset 0 -3px 6px rgba(0, 0, 0, 0.5);
}
.icon-tile svg {
  width: 32px;
  height: 32px;
  display: block;
}

/* Positions */
.tile-1 {
  left: 12%;
  top: 8%;
} /* top-left K */
.tile-2 {
  right: 12%;
  top: 8%;
} /* top-right smiley */
.tile-3 {
  left: 4%;
  top: 46%;
} /* mid-left Ø */
.tile-4 {
  right: 4%;
  top: 46%;
} /* mid-right Rytr */
.tile-5 {
  left: 12%;
  bottom: 8%;
} /* bottom-left S */
.tile-6 {
  right: 12%;
  bottom: 8%;
} /* bottom-right S */

/* Rytr wider for wordmark */
.tile-4 {
  width: 92px;
  padding: 0 8px;
}

/* ----- Headline ----- */
.headline {
  text-align: center;
  margin: 16px 0 30px;
  user-select: none;
}
.headline .line {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 5.6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  color: var(--ink);
  overflow: hidden;
  display: block;
  padding: 4px 0;
}
.headline .line .inner {
  display: inline-block;
}
.headline .line-1 {
  font-weight: 700;
}
.headline .line-2 {
  font-weight: 900;
  color: var(--ink);
  position: relative;
  margin-top: 6px;
}
.headline .line-2 .inner {
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(255, 255, 255, 0.6) 30%,
    rgba(255, 255, 255, 0.6) 78%,
    transparent 78%
  );
  padding: 0 8px;
}

/* ----- Pointer ----- */
.pointer {
  font-size: 38px;
  margin: 18px 0 60px;
  user-select: none;
  filter: drop-shadow(0 6px 8px rgba(40, 30, 5, 0.18));
  transform-origin: center;
  will-change: transform;
}

/* ----- Reinvent tagline ----- */
.reinvent {
  font-size: 12px;
  letter-spacing: 0.42em;
  color: var(--mute);
  font-weight: 500;
  margin-top: auto;
}
.reinvent .gap {
  display: inline-block;
  width: 18px;
}

/* ============ SECTION 2: EXTENSIONS DETAIL ============ */
.section-extensions {
  padding: 120px 40px 100px;
  position: relative;
  z-index: 5;
}
.ext-head {
  max-width: 1280px;
  margin: 0 auto 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.ext-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  margin-bottom: 16px;
}
.ext-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(244, 106, 106, 0.18);
}
.ext-head h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 720px;
}
.ext-head p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 320px;
}

.ext-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ext-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 28px 26px;
  box-shadow: 0 22px 40px -16px rgba(40, 30, 10, 0.18),
    0 8px 16px -4px rgba(40, 30, 10, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -3px 6px rgba(20, 18, 8, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.6, 0, 0.2, 1), box-shadow 0.5s;
  position: relative;
  overflow: hidden;
}
.ext-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(244, 106, 106, 0.12),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.5s;
}
.ext-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 56px -18px rgba(40, 30, 10, 0.25),
    0 14px 22px -5px rgba(40, 30, 10, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -3px 6px rgba(20, 18, 8, 0.04);
}
.ext-card:hover::before {
  opacity: 1;
}

.ext-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ext-card .mini-tile {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--tile);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fafaf7;
  box-shadow: 0 14px 22px -8px rgba(0, 0, 0, 0.45),
    0 4px 8px -2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4);
  position: relative;
}
.ext-card .mini-tile svg {
  width: 26px;
  height: 26px;
}
.ext-card .mini-tile.wide {
  width: 78px;
  padding: 0 8px;
}

.ext-card .num {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--mute);
  letter-spacing: 0.04em;
}

.ext-card h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
}
.ext-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}
.ext-card .add-pill {
  background: var(--ink);
  color: #fafaf7;
  border: none;
  padding: 10px 18px 10px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  align-self: flex-start;
  box-shadow: 0 10px 18px -6px rgba(0, 0, 0, 0.35),
    0 3px 6px -1px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.ext-card .add-pill:hover {
  transform: translateY(-2px);
}
.ext-card .add-pill svg {
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.ext-card .add-pill:hover svg {
  transform: rotate(45deg);
}

/* Card category tag */
.tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
  padding: 4px 10px;
  background: var(--bg-2);
  border-radius: 999px;
}

/* ============ SECTION 3: REINVENT CTA ============ */
.reinvent-cta {
  padding: 60px 40px 140px;
  position: relative;
  z-index: 5;
}
.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 36px;
  padding: 90px 60px;
  color: #f4f0eb;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(20, 12, 0, 0.45),
    0 16px 32px -12px rgba(20, 12, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -3px 8px rgba(0, 0, 0, 0.5);
}
.cta-inner::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(244, 106, 106, 0.25),
    transparent 65%
  );
  top: -200px;
  left: -100px;
  filter: blur(30px);
}
.cta-inner::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 200, 120, 0.18),
    transparent 65%
  );
  bottom: -180px;
  right: -80px;
  filter: blur(30px);
}
.cta-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.36em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.cta-inner h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #ff8fa0, #ffc4a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-inner p {
  max-width: 540px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  z-index: 1;
}
.cta-btn {
  background: #ffffff;
  color: var(--ink);
  border: none;
  padding: 16px 34px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 30px -10px rgba(0, 0, 0, 0.4),
    0 6px 10px -2px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -2px 4px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.cta-btn:hover {
  transform: translateY(-3px) scale(1.02);
}
.cta-btn .arrow-c {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fafaf7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
}
.cta-btn:hover .arrow-c {
  transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 900px) {
  .icon-tile {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }
  .icon-tile svg {
    width: 26px;
    height: 26px;
  }
  .tile-4 {
    width: 76px;
  }
  .brain {
    font-size: 64px;
  }
  .ext-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ext-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .poster {
    padding: 32px 16px 48px;
  }
  .diagram {
    aspect-ratio: 1 / 1.05;
  }
  .tile-1,
  .tile-2 {
    top: 2%;
  }
  .tile-3,
  .tile-4 {
    top: 44%;
  }
  .tile-5,
  .tile-6 {
    bottom: 2%;
  }
  .icon-tile {
    width: 48px;
    height: 48px;
  }
  .icon-tile svg {
    width: 22px;
    height: 22px;
  }
  .tile-4 {
    width: 64px;
  }
  .brain {
    font-size: 50px;
  }
  .ext-grid {
    grid-template-columns: 1fr;
  }
  .section-extensions {
    padding: 60px 16px 60px;
  }
  .reinvent-cta {
    padding: 20px 16px 60px;
  }
  .cta-inner {
    padding: 60px 24px;
    border-radius: 26px;
  }
}
