@font-face {
  font-family: "Geist";
  src: url("fonts/geist-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --background: #0a0a0a;
  --surface: #121212;
  --surface-2: #171717;
  --border: #242424;
  --border-subtle: #1c1c1c;
  --foreground: #ededec;
  --muted: #8f8d89;
  --muted-2: #6b6965;
  --editorial: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--background);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
.brand,
.button,
.desktop-nav,
.mobile-nav {
  font-family: "Geist", "Inter", system-ui, sans-serif;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

img,
svg,
iframe {
  display: block;
}

::selection {
  background: var(--foreground);
  color: var(--background);
}

:focus-visible {
  outline: 1px solid var(--foreground);
  outline-offset: 3px;
}

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

.skip-link:focus {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1.5rem;
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  background: var(--foreground);
  color: var(--background);
}

.container,
.nav-shell {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  background: transparent;
  transition: background-color 300ms ease;
}

.site-header.is-solid,
.site-header.menu-visible {
  background: var(--background);
}

.nav-shell {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  padding-inline: 1.5rem;
  transition: border-color 300ms ease;
}

.site-header.is-solid .nav-shell,
.site-header.menu-visible .nav-shell {
  border-color: var(--border);
}

.brand {
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.desktop-nav > a:not(.nav-cta) {
  color: var(--muted);
  font-size: 0.875rem;
  transition: color 200ms ease;
}

.desktop-nav > a:hover,
.desktop-nav > a:focus-visible {
  color: var(--foreground);
}

.nav-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  padding: 0.375rem 1rem;
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 200ms ease, color 200ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: var(--foreground);
  color: var(--foreground);
  font-weight: 600;
}

.menu-button {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
}

.menu-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-button .close-icon {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-icon {
  display: none;
}

.menu-button[aria-expanded="true"] .close-icon {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1.5rem 2rem;
  background: var(--background);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav > a:not(.nav-cta) {
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 1rem;
  color: var(--foreground);
  font-size: 1rem;
}

.mobile-nav .nav-cta {
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
}

.section {
  border-bottom: 1px solid var(--border-subtle);
  padding-inline: 1.5rem;
}

.hero-section {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2.5rem;
}

.hero-copy {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 44rem;
}

.hero-portrait {
  display: none;
  flex: 0 0 auto;
  justify-content: center;
}

.hero-portrait img {
  width: 15rem;
  height: 15rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--surface);
  object-fit: cover;
}

.eyebrow,
.section-label {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-section h1 {
  margin-top: 1.5rem;
  color: var(--foreground);
  font-size: 2.75rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.hero-lede {
  max-width: 36rem;
  margin-top: 2rem;
  color: rgb(237 237 236 / 90%);
  font-size: 1.125rem;
  line-height: 1.625;
}

.hero-secondary {
  max-width: 36rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.625;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-buttons {
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  border-radius: 0.375rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.button-primary {
  background: var(--foreground);
  color: var(--background);
  font-weight: 500;
  transition: opacity 200ms ease;
}

.button-primary:hover {
  opacity: 0.85;
}

.button-secondary {
  border: 1px solid var(--border);
  color: var(--foreground);
  transition: border-color 200ms ease, color 200ms ease;
}

.button-secondary:hover {
  border-color: var(--foreground);
  color: var(--foreground);
  font-weight: 600;
}

.button-with-icon {
  gap: 0.375rem;
}

.button-with-icon svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-socials {
  margin-top: 3.5rem;
}

.social-list a {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: var(--muted);
  transition: color 200ms ease;
}

.social-list a:hover,
.social-list a:focus-visible {
  color: var(--foreground);
}

.social-list svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.standard-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
}

.project-title {
  color: var(--foreground);
  font-size: 1.875rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 2.25rem;
}

.project-description {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.625;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 2rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgb(237 237 236 / 90%);
  font-size: 0.875rem;
}

.feature-list li::before {
  width: 0.25rem;
  height: 0.25rem;
  flex: 0 0 auto;
  margin-top: 0.5rem;
  border-radius: 9999px;
  background: var(--foreground);
  content: "";
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 1.25rem;
}

.project-meta dt,
.currently-grid dt {
  color: var(--muted-2);
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.project-meta dd {
  margin-top: 0.25rem;
  color: var(--foreground);
  font-size: 0.875rem;
}

.project-buttons {
  margin-top: 2rem;
}

.project-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--surface);
  transition: transform 500ms var(--editorial);
}

.featured-preview-wrap:hover .project-preview {
  transform: scale(1.01);
}

.project-preview-image {
  position: absolute;
  inset: 0;
  background-image: url("images/omniveralabs.png?v=2");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  transition: background-position 1.2s var(--editorial);
}

.project-preview:hover .project-preview-image,
.project-preview:focus .project-preview-image {
  background-position: center bottom;
  transition-duration: 12s;
  transition-timing-function: linear;
}

.preview-fallback {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem;
  text-align: center;
  color: var(--muted-2);
}

.preview-fallback p {
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
}

.preview-fallback small {
  max-width: 26ch;
  font-size: 0.75rem;
}

.learning-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2rem;
  row-gap: 3.5rem;
  margin-top: 2.5rem;
}

.video-card {
  min-width: 0;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--surface);
  transition: transform 500ms var(--editorial);
}

.video-card:hover .video-frame {
  transform: scale(1.015);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-circle {
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: var(--surface-2);
  color: var(--muted);
  transition: border-color 200ms ease, color 200ms ease;
}

.video-card:hover .play-circle {
  border-color: var(--foreground);
  color: var(--foreground);
}

.play-circle svg,
.card-play {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.play-circle svg {
  margin-left: 0.125rem;
}

.card-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-title-row h3 {
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.75rem;
}

.card-title-row span,
.card-category {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.card-content > div > p:not(.card-category) {
  max-width: 28rem;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.625;
}

.card-category {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.card-play {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 0.25rem;
  fill: none;
  color: var(--muted);
  stroke-width: 1.75;
  transition: color 200ms ease;
}

.video-card:hover .card-play {
  color: var(--foreground);
}

.about-grid,
.what-grid,
.beyond-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.about-grid,
.what-grid {
  gap: 2.5rem;
}

.about-heading {
  margin-top: 1.5rem;
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 2rem;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-copy p {
  max-width: 42rem;
  color: rgb(237 237 236 / 90%);
  font-size: 1rem;
  line-height: 1.625;
}

.about-subsection {
  margin-top: 5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 4rem;
}

.subsection-heading {
  margin-top: 1.25rem;
  color: var(--foreground);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 2rem;
}

.what-list {
  border-top: 1px solid var(--border-subtle);
}

.what-list > li + li {
  border-top: 1px solid var(--border-subtle);
}

.what-list li > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding-block: 1.75rem;
}

.what-list h3,
.beyond-list h3 {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
}

.what-list p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.625;
}

.currently-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2rem;
  row-gap: 1.5rem;
  margin-top: 2rem;
}

.currently-grid dt {
  letter-spacing: 0.15em;
}

.currently-grid dd {
  margin-top: 0.5rem;
  color: rgb(237 237 236 / 90%);
  font-size: 0.875rem;
  line-height: 1.625;
}

.beyond-grid {
  gap: 2rem;
}

.beyond-description {
  max-width: 28rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.625;
}

.beyond-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.beyond-list h3 {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.beyond-list p {
  margin-top: 0.375rem;
  color: var(--muted-2);
  font-size: 0.75rem;
  line-height: 1.625;
}

.contact-section {
  padding: 6rem 1.5rem;
}

.contact-grid {
  gap: 3rem;
}

.contact-section h2 {
  color: var(--foreground);
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 2.5rem;
}

.contact-section .contact-grid > div > p {
  max-width: 28rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.625;
}

.contact-button {
  margin-top: 2.25rem;
  padding: 0.75rem 1.5rem;
}

.contact-list {
  border-top: 1px solid var(--border-subtle);
}

.contact-list > li + li {
  border-top: 1px solid var(--border-subtle);
}

.contact-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.contact-list a > span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.contact-list svg {
  width: 1rem;
  height: 1rem;
  color: var(--muted-2);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list strong {
  color: rgb(237 237 236 / 90%);
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 200ms ease;
}

.contact-list a:hover strong {
  color: var(--foreground);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
}

.site-footer p {
  color: var(--muted);
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
}

.footer-socials a {
  width: 2rem;
  height: 2rem;
}

.footer-socials svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 640px) {
  .hero-section h1 {
    font-size: 3.75rem;
    line-height: 1;
  }

  .hero-lede {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .project-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .project-preview {
    aspect-ratio: 16 / 9;
  }

  .about-heading {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .about-copy p {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .what-list li > div {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .what-list h3 {
    grid-column: span 4 / span 4;
  }

  .what-list p {
    grid-column: span 8 / span 8;
  }

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

  .beyond-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-section h2 {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  .nav-shell,
  .footer-inner {
    padding-inline: 2.5rem;
  }

  .desktop-nav {
    display: flex;
  }

  .menu-button,
  .mobile-nav {
    display: none !important;
  }

  .section,
  .contact-section {
    padding-inline: 2.5rem;
  }

  .hero-section {
    padding-top: 12rem;
    padding-bottom: 7rem;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }

  .hero-portrait {
    display: flex;
  }

  .hero-portrait img {
    width: 22rem;
    height: 22rem;
  }

  .standard-section,
  .contact-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

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

  .video-featured {
    grid-column: span 2 / span 2;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero-section h1 {
    font-size: 4.5rem;
  }

  .hero-portrait img {
    width: 27rem;
    height: 27rem;
  }

  .featured-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .featured-copy {
    grid-column: span 5 / span 5;
  }

  .featured-preview-wrap {
    grid-column: span 7 / span 7;
    height: 100%;
  }

  .project-preview {
    min-height: 420px;
    height: 100%;
    aspect-ratio: auto;
  }

  .about-grid,
  .what-grid,
  .beyond-grid,
  .contact-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 4rem;
  }

  .about-grid > :first-child,
  .what-grid > :first-child {
    grid-column: span 4 / span 4;
  }

  .about-copy {
    grid-column: span 7 / span 7;
  }

  .what-list {
    grid-column: span 8 / span 8;
  }

  .currently-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .beyond-grid > :first-child {
    grid-column: span 5 / span 5;
  }

  .beyond-list {
    grid-column: 7 / span 6;
  }

  .contact-grid > div:first-child {
    grid-column: span 7 / span 7;
  }

  .contact-list {
    grid-column: 9 / span 4;
    border-top: 0;
  }
}

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

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

  .project-preview-image {
    background-position: center top !important;
  }
}
/* Talking Bloop uses the portfolio's existing type, surfaces, and spacing. */
.ocean-accent { color: #8cd7df; }
.bloop-card { display: grid; gap: 2rem; margin-top: 5rem; padding-top: 4rem; border-top: 1px solid var(--border); }
.bloop-card-art { min-width: 0; display: block; align-self: center; overflow: hidden; border: 1px solid #23404a; border-radius: .375rem; background: #061d2a; }
.bloop-card-art img { width: 100%; height: auto; }
.bloop-card-copy { min-width: 0; }
.bloop-card-copy .project-title { margin-top: 1rem; }
.bloop-card-copy .eyebrow, .bloop-heading .eyebrow { line-height: 1.8; letter-spacing: .12em; }
.bloop-hero { padding-top: 8rem; padding-bottom: 5rem; }
.back-link { display: inline-block; color: var(--muted); font-size: .875rem; margin-bottom: 3rem; }
.back-link:hover { color: var(--foreground); }
.bloop-heading { display: flex; gap: 1.25rem; align-items: center; }
.bloop-heading img { border-radius: 1rem; width: 4rem; height: 4rem; }
.bloop-heading h1 { margin-top: .5rem; font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: 1.1; font-weight: 500; letter-spacing: -.025em; }
.bloop-lede { margin-top: 2rem; font-size: clamp(1.25rem, 3vw, 1.875rem); letter-spacing: -.025em; }
.bloop-intro { max-width: 44rem; }
.bloop-hero .project-meta { max-width: 44rem; }
.platform-label { color: #8cd7df; font-size: .875rem; }
#bloop-play-link[hidden], #bloop-platform[hidden] { display: none; }
.bloop-feature { margin-top: 3rem; width: 100%; height: auto; border: 1px solid #23404a; border-radius: .375rem; }
.bloop-features { display: grid; gap: 2rem; margin-top: 3rem; }
.bloop-features li { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.bloop-features h3 { font-size: 1.125rem; font-weight: 500; }
.bloop-features p { margin-top: .75rem; color: var(--muted); font-size: .875rem; line-height: 1.75; }
.bloop-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; margin-top: 2.5rem; }
.bloop-gallery figure { margin: 0; min-width: 0; }
.bloop-gallery a { display: block; border: 1px solid #23404a; border-radius: .75rem; overflow: hidden; background: #061d2a; }
.bloop-gallery img { width: 100%; height: auto; }
.bloop-gallery figcaption { margin-top: .75rem; color: var(--muted); font-size: .75rem; line-height: 1.6; }
.bloop-stack { margin-top: 4rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.technology-list { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.technology-list li { padding: .5rem .875rem; border: 1px solid var(--border); border-radius: .375rem; color: var(--foreground); background: var(--surface); font-size: .875rem; }
.bloop-end { padding-block: 3rem; }
#screenshots, #work { scroll-margin-top: 5rem; }
@media (min-width: 640px) {
  .bloop-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bloop-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
  .bloop-heading img { width: 5rem; height: 5rem; }
}
@media (min-width: 1024px) {
  .bloop-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .bloop-hero { padding-top: 10rem; }
  .bloop-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Show all three game screenshots without cropping their portrait proportions. */
.bloop-screenshot-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; padding: .75rem; background: var(--surface); }
.bloop-screenshot-strip img { width: 100%; height: auto; min-width: 0; border-radius: .375rem; }
.bloop-feature.bloop-screenshot-strip { max-width: 54rem; margin-inline: auto; gap: clamp(.5rem, 2vw, 1.5rem); padding: clamp(.75rem, 2vw, 1.5rem); }
@media (max-width: 639px) { .bloop-gallery { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto; } }
/* Free learning resource: shared portfolio surfaces, type, and buttons. */
.resource-card { grid-column: 1 / -1; display: block; min-width: 0; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--border); border-radius: .5rem; background: linear-gradient(125deg, var(--surface-2), var(--background)); transition: border-color 200ms ease, transform 200ms var(--editorial); }
.resource-card:hover { border-color: #64615c; transform: translateY(-3px); }
.resource-card-top, .resource-card-bottom, .resource-heading-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.resource-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--border); border-radius: .5rem; color: var(--foreground); }
.resource-icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.resource-badge { display: inline-block; padding: .3rem .625rem; border: 1px solid #405548; border-radius: .25rem; color: #b7d6bf; background: #17221a; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.resource-card > .eyebrow { margin-top: 2rem; }
.resource-card h3 { margin-top: .75rem; font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 500; letter-spacing: -.025em; }
.resource-subtitle { margin-top: .25rem; color: #c6c4bf; font-size: 1rem; }
.resource-description { margin-top: 1.25rem; max-width: 39rem; color: var(--muted); line-height: 1.75; font-size: .9375rem; }
.resource-card-bottom { margin-top: 2rem; }
.resource-card-bottom .card-category { margin-top: 0; }
.resource-page { padding-top: 8rem; }
.resource-container { max-width: 58rem; }
.resource-heading-meta { justify-content: flex-start; }
.resource-heading-meta .eyebrow { letter-spacing: .12em; line-height: 1.7; }
.resource-page h1 { margin-top: 1.5rem; font-size: clamp(2rem, 5.5vw, 3.5rem); line-height: 1.12; font-weight: 500; letter-spacing: -.035em; overflow-wrap: anywhere; }
.resource-page h1 span { display: block; color: #aaa7a2; }
.resource-lede { max-width: 39rem; margin-top: 1.5rem; color: #c6c4bf; font-size: 1.0625rem; line-height: 1.75; }
.resource-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem; color: var(--muted); font-size: .8125rem; }
.resource-how { border-top: 1px solid var(--border); padding-top: 2rem; margin-top: 3rem; }
.resource-how h2 { font-size: 1.25rem; font-weight: 500; }
.resource-how ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 1.5rem 0 0; padding-left: 1.5rem; list-style: decimal; color: #c6c4bf; font-size: .875rem; }
.resource-how li { padding-left: .25rem; }
.resource-how p { margin-top: 1.5rem; color: var(--muted); font-size: .8125rem; line-height: 1.7; }
.prompt-panel { margin-top: 3rem; border: 1px solid #34322f; border-radius: .5rem; overflow: hidden; min-width: 0; background: var(--surface); }
.prompt-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem; padding: 1.25rem; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.prompt-toolbar h2 { font-size: 1rem; font-weight: 500; }
.prompt-toolbar p { margin-top: .25rem; color: #aaa7a2; font-size: .75rem; }
.copy-prompt { min-height: 44px; gap: .5rem; flex-shrink: 0; justify-content: center; }
.copy-prompt svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.copy-prompt .copied-symbol, .copy-prompt.is-copied .copy-symbol { display: none; }
.copy-prompt.is-copied .copied-symbol { display: block; }
.copy-prompt.is-copied { color: #b7d6bf; border-color: #405548; }
.copy-prompt:disabled { opacity: .55; cursor: wait; }
.copy-status { font-size: .8125rem; color: #c6d7c9; padding-inline: 1.25rem; }
.copy-status:not(:empty) { padding-block: .75rem; border-bottom: 1px solid var(--border); }
.prompt-document { max-height: min(70vh, 48rem); min-height: 12rem; overflow: auto; padding: clamp(1.25rem, 4vw, 2.5rem); color: #c6c4bf; font-size: .875rem; line-height: 1.85; overflow-wrap: anywhere; scrollbar-color: #55514b var(--surface); }
.prompt-document > * + * { margin-top: 1rem; }
.prompt-document h3 { color: var(--foreground); font-size: 1.0625rem; line-height: 1.55; font-weight: 500; padding-top: 1.5rem; margin-top: 2rem; border-top: 1px solid var(--border); }
.prompt-document h3:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.prompt-document h4 { color: var(--foreground); font-size: .9375rem; font-weight: 500; margin-top: 1.5rem; }
.prompt-document ul, .prompt-document ol { padding-left: 1.5rem; }
.prompt-document ul { list-style: disc; }
.prompt-document ol { list-style: decimal; }
.prompt-document li + li { margin-top: .375rem; }
.prompt-document strong { font-weight: 600; color: var(--foreground); }
.prompt-document mark { color: #ebd8ad; background: #30291d; border-radius: .2rem; padding: .1rem .2rem; font-family: ui-monospace, Consolas, monospace; font-size: .85em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.prompt-document a, .prompt-footer a, .resource-note a, .resource-lede a { text-decoration: underline; text-underline-offset: .2em; }
.prompt-collection { display: grid; gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.prompt-collection-item { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; border: 1px solid #34302b; border-radius: .5rem; background: linear-gradient(120deg, #171614, #101010 65%); transition: border-color 200ms ease, transform 200ms var(--editorial); }
.prompt-collection-item:hover { border-color: #64615c; transform: translateY(-3px); }
.prompt-collection-index { flex-shrink: 0; color: #c4a27e; font: .75rem ui-monospace, Consolas, monospace; }
.prompt-collection-copy { display: grid; gap: .375rem; min-width: 0; }
.prompt-collection-copy strong { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
.prompt-collection-copy span { color: #a6a29c; font-size: .875rem; line-height: 1.7; }
.prompt-collection-arrow { margin-left: auto; flex-shrink: 0; color: #c4a27e; }
.prompt-footer { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; padding: 1rem 1.25rem; border-top: 1px solid var(--border); color: #aaa7a2; font-size: .75rem; }
.resource-back { margin-top: 3rem; }
.resource-note { margin-top: 1rem; color: var(--muted); }
#learning { scroll-margin-top: 5rem; }
@media (max-width: 480px) { .resource-how ol { grid-template-columns: 1fr; } .prompt-toolbar { align-items: flex-start; } .copy-prompt { width: 100%; } }
@media (min-width: 768px) { .resource-page { padding-top: 10rem; } }
/* Product preview for the Learn Along resource card. */
.resource-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; padding: 2.5rem; background: linear-gradient(120deg, #171614, #101010 65%); border-color: #34302b; overflow: hidden; }
.resource-card-copy { min-width: 0; }
.resource-card-top .eyebrow { color: #b9a58d; letter-spacing: .14em; font-size: .6875rem; }
.resource-card h3 { margin-top: 2rem; font-size: clamp(1.75rem, 3.2vw, 2.25rem); line-height: 1.1; letter-spacing: -.04em; }
.resource-card h3 > span { color: #cfab88; }
.resource-card .resource-subtitle { margin-top: .75rem; font-size: .9375rem; }
.resource-card .resource-description { font-size: .875rem; line-height: 1.8; color: #a6a29c; }
.resource-card-perks { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; margin-top: 1.25rem; font-size: .75rem; color: #bdb7af; }
.resource-card-perks li::before { content: '\2713'; margin-right: .4rem; color: #c5a585; }
.resource-card-bottom { gap: 1rem; margin-top: 2rem; }
.resource-card-bottom .button { gap: 1rem; min-height: 44px; }
.resource-card-bottom .card-category { font-size: .625rem; color: #a6a29c; }
.resource-card-visual { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; padding-block: 1rem; }
.prompt-preview-window { width: 100%; max-width: 27rem; border: 1px solid #413a32; border-radius: .625rem; background: #131211; box-shadow: 0 18px 50px #0005; transform: rotate(-2deg); transition: transform 300ms var(--editorial); overflow: hidden; }
.resource-card:hover .prompt-preview-window, .resource-card:focus-visible .prompt-preview-window { transform: rotate(0); }
.prompt-preview-bar { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .875rem 1rem; border-bottom: 1px solid #2e2924; color: #9e958b; font: .625rem ui-monospace, Consolas, monospace; }
.window-dots { display: flex; gap: .3rem; }
.window-dots i { width: .375rem; height: .375rem; border-radius: 50%; background: #605346; }
.window-dots i:nth-child(2) { background: #8a735b; }
.window-dots i:nth-child(3) { background: #b79a7b; }
.prompt-preview-body { padding: 1.75rem; font-family: ui-monospace, Consolas, monospace; }
.preview-comment { font-size: .625rem; color: #a59888; letter-spacing: .025em; }
.prompt-preview-body > p { margin-top: 1.25rem; color: #e1d7ca; font-size: clamp(.9375rem, 1.6vw, 1.25rem); line-height: 1.65; letter-spacing: -.04em; }
.preview-caret, .preview-cursor { color: #c4a27e; }
.preview-rule { height: 1px; margin-block: 1.5rem; background: #302a24; }
.preview-field { display: flex; justify-content: space-between; gap: .5rem; margin-top: .875rem; font-size: .625rem; }
.preview-field > span { color: #a5998c; }
.preview-field strong { color: #d0b18b; font-weight: 400; overflow-wrap: anywhere; }
.preview-workflow { display: flex; align-items: center; gap: .75rem; margin-top: 1.75rem; font-size: .625rem; color: #bdb5aa; }
.preview-workflow span { padding: .375rem .625rem; border: 1px solid #393129; border-radius: .25rem; }
.preview-workflow b { color: #75634e; font-weight: 400; }
.preview-timeline { display: flex; position: relative; gap: .25rem; padding: .875rem 1rem; border-top: 1px solid #302a24; background: #171512; }
.preview-timeline > span { height: 1rem; border-radius: .125rem; background: #5b4b3b; flex: 2; }
.preview-timeline > span:nth-child(2) { background: #82715c; flex: 3; }
.preview-timeline > span:nth-child(3) { background: #424a40; }
.preview-timeline > span:nth-child(4) { background: #635244; flex: 1; }
.preview-timeline i { position: absolute; top: .5rem; bottom: .5rem; left: 42%; width: 1px; background: #dec09a; }
.resource-visual-caption { margin-top: 1.5rem; color: #a59888; font-size: .6875rem; letter-spacing: .04em; }
@media (max-width: 900px) { .resource-card { gap: 2rem; padding: 1.75rem; } .prompt-preview-body { padding: 1.25rem; } }
@media (max-width: 639px) { .resource-card { grid-template-columns: minmax(0, 1fr); padding: 1.5rem; gap: 2rem; } .resource-card h3 { margin-top: 1.5rem; } .resource-card-visual { padding: .25rem .25rem 0; } .prompt-preview-body > p { font-size: 1.125rem; } .resource-card-bottom { flex-wrap: wrap; } }

/* Keep intrinsic image dimensions within their layout containers. */
img { max-width: 100%; }
