* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.68rem 0.92rem;
  border-radius: 999px;
  color: #111730;
  background: var(--mint);
  font-weight: 760;
  text-decoration: none;
  transform: translateY(-180%);
}

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

.bobby-page {
  --bobby-gold: #e8c991;
  --bobby-copper: #b8754b;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(circle at 18% 6%, rgba(139, 210, 255, 0.2), transparent 31rem),
    radial-gradient(circle at 86% 32%, rgba(232, 201, 145, 0.19), transparent 34rem),
    radial-gradient(circle at 54% 105%, rgba(183, 157, 255, 0.13), transparent 30rem),
    linear-gradient(145deg, #182541 0%, #10142e 50%, #241d38 100%);
}

.bobby-page::before {
  opacity: 0.15;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 72%);
}

.bobby-main {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 1180px);
  margin-inline: auto;
  padding-block: clamp(2rem, 4.5vw, 4.5rem) clamp(1.8rem, 4vw, 3.4rem);
}

.bobby-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(400px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.2rem);
}

.bobby-copy {
  min-width: 0;
}

.bobby-visual {
  min-width: 0;
  display: grid;
  gap: clamp(0.9rem, 1.8vw, 1.2rem);
}

.bobby-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 0.69rem;
  font-weight: 780;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bobby-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bobby-gold);
  box-shadow: 0 0 0 5px rgba(232, 201, 145, 0.1), 0 0 20px rgba(232, 201, 145, 0.45);
}

.bobby-copy h1 {
  max-width: 10ch;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5.5vw, 5rem);
  font-weight: 560;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.bobby-copy h1 em {
  width: fit-content;
  display: block;
  margin-top: 0.24em;
  padding: 0 0.05em 0.08em 0;
  color: transparent;
  background: linear-gradient(105deg, #fff2d5 5%, var(--bobby-gold) 48%, #bb9fff 98%);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: italic;
  line-height: 1.02;
}

.bobby-lede {
  max-width: 610px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.66;
}

.bobby-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.72rem 0.9rem;
  margin-top: 1.45rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.4rem 0.68rem;
  border: 1px solid rgba(232, 201, 145, 0.35);
  border-radius: 999px;
  color: #f7ddb0;
  background: rgba(74, 49, 35, 0.34);
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-note {
  max-width: 34ch;
  color: var(--quiet);
  font-size: 0.76rem;
  line-height: 1.45;
}

.bobby-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin-top: 1.5rem;
}

.bobby-primary,
.bobby-secondary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 780;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease, background 160ms ease;
}

.bobby-primary {
  color: #171326 !important;
  background: linear-gradient(115deg, #f3dfb8, var(--bobby-gold) 50%, #c4afff);
  box-shadow: 0 16px 36px rgba(133, 96, 73, 0.22);
}

.bobby-secondary {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--ink) !important;
  background: rgba(11, 17, 43, 0.44);
}

.bobby-primary:hover,
.bobby-primary:focus-visible,
.bobby-secondary:hover,
.bobby-secondary:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.07);
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.bobby-scene {
  position: relative;
  min-height: clamp(350px, 40vw, 500px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(232, 201, 145, 0.28);
  border-radius: 3px;
  background: #17151d;
  box-shadow: 0 32px 80px rgba(3, 5, 18, 0.42);
  isolation: isolate;
}

.bobby-scene > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.04) brightness(0.8);
  transform: scale(1.015);
}

.scene-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 16, 0.1) 30%, rgba(7, 7, 14, 0.88) 100%),
    linear-gradient(90deg, rgba(23, 17, 27, 0.58), transparent 54%);
}

.scene-brand {
  position: absolute;
  z-index: 2;
  top: 1.1rem;
  left: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.58rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 10, 18, 0.57);
  backdrop-filter: blur(12px);
}

.scene-brand img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.24));
}

.scene-brand span,
.scene-brand strong,
.scene-brand small {
  display: block;
}

.scene-brand strong {
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 560;
}

.scene-brand small {
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.55rem;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.bobby-scene figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1.15rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  display: grid;
  gap: 0.38rem;
}

.bobby-scene figcaption small {
  color: var(--bobby-gold);
  font-size: 0.64rem;
  font-weight: 780;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.bobby-scene figcaption strong {
  max-width: 15ch;
  color: #fffaf0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.75rem);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.bobby-scene figcaption > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.scene-coordinate {
  position: absolute;
  z-index: 2;
  right: 1rem;
  top: 1.25rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.55rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}

.bobby-possibilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(1.3rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 64px rgba(4, 6, 25, 0.2);
}

.bobby-possibilities article {
  min-width: 0;
  padding: clamp(1.1rem, 2.5vw, 1.55rem);
  background: linear-gradient(145deg, rgba(18, 25, 54, 0.91), rgba(28, 20, 50, 0.88));
}

.bobby-possibilities article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.possibility-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.possibility-meta span {
  color: var(--bobby-gold);
  font-family: var(--font-display);
  font-size: 0.67rem;
}

.possibility-meta b {
  color: var(--quiet);
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bobby-possibilities h2 {
  margin: 1rem 0 0.48rem;
  color: #e0d5ff;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  font-weight: 560;
  letter-spacing: -0.025em;
}

.bobby-possibilities p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.hero-era-profiles {
  padding: 0.85rem 1rem 0.95rem;
  border: 1px solid rgba(232, 201, 145, 0.23);
  background: linear-gradient(120deg, rgba(14, 20, 45, 0.88), rgba(39, 25, 51, 0.78));
  box-shadow: 0 18px 42px rgba(4, 6, 20, 0.22);
}

.hero-era-profiles > p {
  margin: 0 0 0.7rem;
  color: var(--bobby-gold);
  font-size: 0.64rem;
  font-weight: 780;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-era-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.8vw, 1.15rem);
}

.hero-era-list figure {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 0.75rem);
  margin: 0;
}

.hero-era-list img {
  width: clamp(76px, 7.2vw, 98px);
  height: clamp(76px, 7.2vw, 98px);
  flex: 0 0 auto;
  display: block;
  border: 1px solid rgba(232, 201, 145, 0.32);
  border-radius: 18px;
  object-fit: contain;
  background: radial-gradient(circle at 50% 32%, rgba(232, 201, 145, 0.18), rgba(8, 12, 30, 0.78) 72%);
  box-shadow: 0 10px 24px rgba(4, 6, 20, 0.28);
}

.hero-era-list figcaption,
.hero-era-list strong,
.hero-era-list small {
  display: block;
}

.hero-era-list strong {
  overflow: hidden;
  color: rgba(255, 250, 240, 0.92);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-era-list small {
  margin-top: 0.18rem;
  color: var(--quiet);
  font-size: 0.57rem;
  letter-spacing: 0.04em;
}

.bobby-disclaimer {
  max-width: 920px;
  margin: 1rem auto 0;
  color: rgba(234, 239, 255, 0.47);
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

/*
 * Match the other public product pages on desktop: header, Bobby story and
 * footer share one viewport. The three phases remain fully visible, while the
 * scene gives up height first on compact screens instead of pushing the cards
 * below the fold.
 */
@media (min-width: 1024px) and (min-height: 700px) {
  .bobby-page {
    height: 100vh;
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }

  .bobby-main {
    min-height: 0;
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: clamp(0.42rem, 1vh, 0.68rem);
    overflow: hidden;
    padding-block: clamp(0.55rem, 1.55vh, 0.95rem);
  }

  .bobby-hero {
    min-height: 0;
    height: 100%;
    grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
    align-items: stretch;
    gap: clamp(1.4rem, 3vw, 2.8rem);
  }

  .bobby-copy {
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .bobby-eyebrow {
    margin-bottom: 0.58rem;
    font-size: 0.62rem;
  }

  .bobby-copy h1 {
    font-size: clamp(2.5rem, 4.35vw, 4rem);
  }

  .bobby-copy h1 em {
    margin-top: 0.18em;
  }

  .bobby-lede {
    margin-top: clamp(0.62rem, 1.35vh, 0.9rem);
    font-size: clamp(0.88rem, 1.12vw, 1rem);
    line-height: 1.48;
  }

  .bobby-status {
    gap: 0.42rem 0.68rem;
    margin-top: clamp(0.62rem, 1.35vh, 0.9rem);
  }

  .status-pill {
    min-height: 26px;
    padding: 0.32rem 0.56rem;
    font-size: 0.58rem;
  }

  .status-note {
    max-width: 31ch;
    font-size: 0.68rem;
    line-height: 1.38;
  }

  .bobby-actions {
    gap: 0.58rem;
    margin-top: clamp(0.66rem, 1.45vh, 0.95rem);
  }

  .bobby-primary,
  .bobby-secondary {
    min-height: 42px;
    padding: 0.62rem 0.88rem;
    font-size: 0.78rem;
  }

  .bobby-visual {
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
    gap: clamp(0.48rem, 1vh, 0.72rem);
  }

  .hero-era-profiles {
    padding: 0.48rem 0.68rem 0.56rem;
  }

  .hero-era-profiles > p {
    margin-bottom: 0.38rem;
    font-size: 0.56rem;
  }

  .hero-era-list {
    gap: clamp(0.45rem, 1vw, 0.72rem);
  }

  .hero-era-list figure {
    gap: clamp(0.42rem, 0.8vw, 0.58rem);
  }

  .hero-era-list img {
    width: clamp(70px, 6.15vw, 90px);
    height: clamp(70px, 6.15vw, 90px);
    border-radius: 15px;
  }

  .hero-era-list strong {
    font-size: 0.64rem;
  }

  .hero-era-list small {
    font-size: 0.53rem;
  }

  .bobby-scene {
    min-height: 0;
  }

  .scene-brand {
    top: 0.78rem;
    left: 0.78rem;
    gap: 0.55rem;
    padding: 0.42rem 0.54rem;
  }

  .scene-brand img {
    width: 31px;
    height: 31px;
  }

  .scene-brand strong {
    font-size: 0.82rem;
  }

  .scene-brand small {
    margin-top: 0.12rem;
    font-size: 0.49rem;
  }

  .bobby-scene figcaption {
    right: clamp(0.8rem, 2vw, 1.35rem);
    bottom: clamp(0.8rem, 2vw, 1.35rem);
    left: clamp(0.8rem, 2vw, 1.35rem);
    gap: 0.24rem;
  }

  .bobby-scene figcaption small {
    font-size: 0.55rem;
  }

  .bobby-scene figcaption strong {
    font-size: clamp(1.35rem, 2.35vw, 2.1rem);
  }

  .bobby-scene figcaption > span {
    font-size: 0.67rem;
  }

  .scene-coordinate {
    top: 0.9rem;
    right: 0.78rem;
    font-size: 0.49rem;
  }

  .bobby-possibilities {
    margin-top: 0;
  }

  .bobby-possibilities article {
    padding: clamp(0.58rem, 1vw, 0.78rem) clamp(0.68rem, 1.2vw, 0.92rem);
  }

  .possibility-meta span {
    font-size: 0.58rem;
  }

  .possibility-meta b {
    font-size: 0.52rem;
  }

  .bobby-possibilities h2 {
    margin: 0.4rem 0 0.22rem;
    font-size: clamp(0.92rem, 1.25vw, 1.08rem);
  }

  .bobby-possibilities p {
    font-size: clamp(0.68rem, 0.82vw, 0.76rem);
    line-height: 1.38;
  }

  .bobby-disclaimer {
    margin-top: 0;
    font-size: 0.56rem;
    line-height: 1.28;
  }
}

@media (min-width: 1024px) and (min-height: 700px) and (max-height: 760px) {
  .bobby-page .nav-shell {
    min-height: 64px;
  }

  .bobby-page .footer-shell {
    min-height: 48px;
    padding-block: 0.5rem;
  }

  .bobby-main {
    padding-block: 0.52rem;
  }

  .bobby-hero {
    grid-template-columns: minmax(0, 0.96fr) minmax(460px, 1.04fr);
    gap: 1.3rem;
  }

  .bobby-copy h1 {
    max-width: none;
    font-size: clamp(2.25rem, 4vw, 2.75rem);
  }

  .bobby-lede {
    margin-top: 0.5rem;
    font-size: 0.82rem;
    line-height: 1.42;
  }

  .bobby-status,
  .bobby-actions {
    margin-top: 0.52rem;
  }

  .status-note {
    display: none;
  }

  .hero-era-list img {
    width: 68px;
    height: 68px;
  }

  .bobby-possibilities article {
    padding-block: 0.48rem;
  }

  .bobby-possibilities p {
    font-size: 0.66rem;
    line-height: 1.34;
  }
}

@media (max-width: 960px) {
  .bobby-hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 2rem;
  }

  .bobby-page .site-nav {
    gap: 0.72rem;
  }

  .hero-era-list figure {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .bobby-main {
    padding-block: 2rem;
  }

  .bobby-hero {
    grid-template-columns: 1fr;
  }

  .bobby-copy h1 {
    max-width: 11ch;
  }

  .bobby-scene {
    min-height: clamp(320px, 75vw, 440px);
  }

  .hero-era-list img {
    width: clamp(82px, 23vw, 104px);
    height: clamp(82px, 23vw, 104px);
  }

  .bobby-possibilities {
    grid-template-columns: 1fr;
  }

  .bobby-possibilities article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .bobby-main {
    width: min(calc(100% - 1.2rem), 1180px);
    padding-top: 1.6rem;
  }

  .bobby-copy h1 {
    font-size: clamp(2.5rem, 14vw, 3.65rem);
  }

  .bobby-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .bobby-primary,
  .bobby-secondary {
    width: 100%;
  }

  .bobby-scene {
    min-height: 330px;
  }

  .scene-coordinate {
    display: none;
  }
}

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

  .bobby-primary,
  .bobby-secondary {
    transition: none;
  }
}
