:root {
  --ink: #16181c;
  --muted: #5c6068;
  --faint: #9a9ea6;
  --line: #ececea;
  --soft: #f7f7f5;
  --blue: #2a78d6;
  --shadow: 0 14px 34px rgba(22, 24, 28, 0.1);
  color: var(--ink);
  font-family: "Figtree", "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid #5c9cea;
  outline-offset: 3px;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), 1112px);
  margin: 20px auto 0;
  padding: 13px 14px 13px 24px;
  border: 1px solid #ededeb;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(22, 24, 28, 0.04);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  gap: 3px;
}

.brand-mark span {
  width: 9px;
  height: 9px;
  background: var(--ink);
}

.brand-mark span:first-child,
.brand-mark span:last-child {
  border-radius: 3px;
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3) {
  border-radius: 50%;
}

.nav-links,
.header-actions,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 26px;
}

.nav-links a {
  color: #3d4148;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--blue);
}

.header-actions {
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 19px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover {
  background: #2d3036;
  box-shadow: 0 8px 20px rgba(22, 24, 28, 0.18);
}

.button-secondary {
  border-color: #e4e4e2;
  background: rgba(255, 255, 255, 0.82);
  color: #3d4148;
}

.button-secondary:hover {
  border-color: #c8c8c5;
  color: var(--ink);
}

.button-large {
  min-height: 50px;
  padding-inline: 27px;
  font-size: 0.94rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1px 0 4px;
}

.orbit-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-rings span {
  position: absolute;
  top: 384px;
  left: 50%;
  width: var(--ring-size);
  height: var(--ring-size);
  transform: translate(-50%, -50%);
  border: 1px solid #efefed;
  border-radius: 50%;
}

.orbit-rings span:nth-child(1) { --ring-size: 560px; }
.orbit-rings span:nth-child(2) { --ring-size: 880px; }
.orbit-rings span:nth-child(3) { --ring-size: 1200px; border-color: #f2f2f0; }
.orbit-rings span:nth-child(4) { --ring-size: 1520px; border-color: #f5f5f3; }

.orbit-bubble {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid #f0f0ee;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 26px rgba(22, 24, 28, 0.09);
}

.orbit-bubble img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.bubble-pg { top: 178px; left: calc(50% - 462px); }
.bubble-udemy { top: 448px; left: calc(50% - 528px); padding-bottom: 10px; color: #a435f0; font-size: 2.25rem; font-weight: 800; }
.bubble-campaign { top: 678px; left: calc(50% - 402px); }
.bubble-wall { top: 178px; right: calc(50% - 462px); }
.bubble-prosthetics { top: 448px; right: calc(50% - 528px); }
.bubble-toaster { top: 678px; right: calc(50% - 402px); }

.bubble-campaign > span {
  display: grid;
  width: 29px;
  height: 33px;
  place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: #c9a227;
  color: #191512;
  font-size: 0.72rem;
  font-weight: 800;
}

.prosthetic-mark {
  color: #12325e;
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.45em;
  transform: rotate(-18deg) translateX(-4px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 780px;
  margin: 0 auto;
  padding: 76px 32px 0;
  text-align: center;
}

.proof-points {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.proof-points strong {
  color: var(--ink);
}

.star {
  color: #e0a100;
}

.hero h1 {
  margin: 21px 0 0;
  font-size: clamp(3.25rem, 6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.hero-copy > p {
  max-width: 47ch;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.hero-actions {
  justify-content: center;
  gap: 12px;
  margin-top: 29px;
}

.activity-stack {
  position: relative;
  z-index: 3;
  width: min(600px, calc(100% - 44px));
  height: 224px;
  margin: 54px auto 0;
  padding: 0;
  list-style: none;
}

.activity-stack::before {
  position: absolute;
  inset: -35px -85px;
  background: radial-gradient(closest-side, rgba(120, 160, 255, 0.22), transparent 75%);
  content: "";
  filter: blur(6px);
}

.activity {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  border: 1px solid #f0f0ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 14px 20px;
}

.activity-campaign {
  top: 0;
  right: 60px;
  left: 0;
  animation: activity-enter 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 150ms backwards,
    activity-float-one 7s ease-in-out 1.2s infinite;
}

.activity-growth {
  top: 78px;
  right: 0;
  left: 60px;
  animation: activity-enter 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 350ms backwards,
    activity-float-two 8s ease-in-out 1.6s infinite;
}

.activity-email {
  top: 156px;
  right: 60px;
  left: 120px;
  animation: activity-enter 700ms cubic-bezier(0.2, 0.7, 0.2, 1) 550ms backwards,
    activity-float-three 7.5s ease-in-out 2s infinite;
}

.activity-icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #eef1f6;
}

.activity-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.campaign-icon {
  background: #f6f1e7;
}

.campaign-icon span {
  width: 20px;
  height: 23px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: #c9a227;
}

.email-icon {
  background: #fdf1ec;
  color: #d33d2a;
  font-size: 1.1rem;
  font-weight: 700;
}

.activity p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.4;
}

.activity p span {
  color: var(--muted);
}

.activity small {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 0.8rem;
}

.venture-count {
  position: relative;
  z-index: 2;
  margin: 44px 0 0;
  color: var(--faint);
  font-size: 0.86rem;
  text-align: center;
}

.wordmarks {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(20px, 3.7vw, 44px);
  margin: 20px 28px 0;
  padding: 0;
  color: #a6aab1;
  list-style: none;
  white-space: nowrap;
}

.wordmark-pg { font-size: 1.05rem; font-weight: 700; }
.wordmark-udemy { font-size: 1.12rem; font-weight: 800; }
.wordmark-campaign { font-family: "Newsreader", serif; font-size: 1.15rem; font-style: italic; font-weight: 600; }
.wordmark-wall { font-family: "Archivo", sans-serif; font-size: 0.86rem; font-weight: 800; letter-spacing: 0.04em; }
.wordmark-prosthetics { font-family: "IBM Plex Mono", monospace; font-size: 0.84rem; }
.wordmark-unstartupable { font-family: "Nunito Sans", "Archivo", sans-serif; font-size: 1rem; font-weight: 900; }

.ventures-section {
  position: relative;
  z-index: 5;
  padding: 64px 48px 8px;
  background: linear-gradient(#fff, #fafafa 60px);
}

.ventures-section > h2,
.past-work > h2,
.contact h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-align: center;
}

.ventures-section > h2,
.contact h2 {
  font-size: 2.1rem;
}

.venture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1064px;
  margin: 32px auto 0;
}

.venture-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(22, 24, 28, 0.05);
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.venture-card:hover {
  transform: translateY(-5px);
  border-color: #d6d6d2;
  box-shadow: 0 18px 40px rgba(22, 24, 28, 0.1);
}

.card-media {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: var(--soft);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-copy {
  display: block;
  padding: 20px 22px 24px;
}

.card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 1.18rem;
  font-weight: 700;
}

.external-arrow {
  display: inline-grid;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #f2f3f1;
  font-size: 0.8rem;
}

.card-description {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.62;
}

.past-work {
  scroll-margin-top: 24px;
}

.past-work > h2 {
  margin-top: 48px;
  color: var(--muted);
  font-size: 1.36rem;
}

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

.archive-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  color: inherit;
  text-decoration: none;
}

.archive-card > div {
  min-width: 0;
}

a.archive-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

a.archive-card:hover {
  transform: translateY(-3px);
  border-color: #d6d6d2;
  box-shadow: 0 10px 24px rgba(22, 24, 28, 0.08);
}

.archive-media {
  display: block;
  width: 132px;
  aspect-ratio: 8 / 5;
  flex: 0 0 132px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--soft);
}

.archive-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-card h3 {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.25;
}

.archive-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.contact {
  scroll-margin-top: 24px;
  padding: 64px 0 56px;
  text-align: center;
}

.contact > p {
  margin: 9px auto 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.contact-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

footer {
  padding-bottom: 2px;
  color: #a6aab1;
  font-size: 0.8rem;
  text-align: center;
}

@keyframes activity-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes activity-float-one {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes activity-float-two {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes activity-float-three {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }

  .wordmarks {
    flex-wrap: wrap;
    row-gap: 12px;
    white-space: normal;
  }

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

}

@media (max-width: 760px) {
  .page-shell {
    width: 100%;
  }

  .site-header {
    width: calc(100% - 48px);
    margin-top: 12px;
    padding: 10px 12px 10px 18px;
  }

  .header-profile {
    display: none;
  }

  .header-actions .button-primary {
    min-height: 38px;
    padding-inline: 15px;
  }

  .orbit-rings span {
    top: 350px;
  }

  .orbit-bubble {
    display: none;
  }

  .hero-copy {
    padding: 52px 28px 0;
  }

  .proof-points {
    gap: 10px 18px;
    font-size: 0.78rem;
  }

  .hero h1 {
    font-size: clamp(2.375rem, 10.5vw, 3.25rem);
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .activity-stack {
    display: flex;
    width: auto;
    height: auto;
    flex-direction: column;
    gap: 10px;
    margin: 40px 40px 0;
  }

  .activity {
    position: static;
    width: auto;
    min-height: 0;
    padding: 13px 15px;
  }

  .activity-campaign { margin-right: 20px; }
  .activity-growth { margin-left: 20px; }
  .activity-email { margin-inline: 10px; }

  .activity p {
    font-size: 0.93rem;
  }

  .venture-count {
    margin-top: 44px;
  }

  .wordmarks {
    gap: 9px 20px;
    margin: 16px 20px 0;
    padding-inline: 20px;
  }

  .wordmarks li {
    font-size: 0.78rem;
  }

  .ventures-section {
    padding: 48px 20px 8px;
  }

  .venture-grid,
  .archive-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }

  .venture-card {
    display: block;
  }

  .archive-card {
    align-items: center;
  }

  .archive-media {
    width: 108px;
    flex-basis: 108px;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 330px;
    margin-inline: auto;
  }
}

@media (max-width: 400px) {
  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    grid-template-columns: repeat(2, 8px);
  }

  .brand-mark span {
    width: 8px;
    height: 8px;
  }

  .header-actions .button-primary {
    padding-inline: 13px;
    font-size: 0.8rem;
  }

  .archive-media {
    width: 96px;
    flex-basis: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
