@import url('https://fonts.googleapis.com/css2?family=Fira+Code&display=swap');

:root {
  --bg: #07090d;
  --bg-soft: #0b1016;
  --panel: #0b1117;
  --panel-strong: #101820;
  --text: #b9dce8;
  --text-strong: #edf7fa;
  --muted: #7f9da8;
  --cyan: #55e7ff;
  --pink: #ff5bd8;
  --pink-hot: #ff7ae4;
  --green: #5dff8d;
  --border: #00eaff4d;
  --border-soft: #00eaff24;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background-color: var(--bg); color-scheme: dark; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 12%, #00eaff0d 0, transparent 28%),
    radial-gradient(circle at 86% 18%, #ff5bd80b 0, transparent 26%),
    linear-gradient(135deg, var(--bg), #0b1118 52%, #10131a);
  background-size: 160% 160%, 170% 170%, 300% 300%;
  animation: gradientShift 20s ease infinite;
  color: var(--text);
  font-family: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.55;
  font-size: 15px;
}

main {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

@keyframes gradientShift {
  0% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

h1, h2, h3 {
  color: var(--cyan);
  text-shadow: 0 0 1px #00eaff, 0 0 3px #00eaff55;
}

h1, h2 {
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 0.3em;
}

h2 { margin-top: 2.6rem; }

h3 { margin-top: 1.4rem; }

a {
  color: var(--pink);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--pink-hot);
  text-shadow: 0 0 4px #ff555588;
}

p { margin: 0.75rem 0; }

hr {
  border: 0;
  height: 1px;
  margin: 2.5rem 0;
  background: linear-gradient(to right, #00eaff33, #ff79c633);
}

pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 7px;
  background: #1a1a1a !important;
  color: var(--text) !important;
  box-shadow: 0 0 10px #00eaff22;
}

code {
  color: #05f645 !important;
  font-family: inherit;
}

details {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #333;
  border-radius: 6px;
  background: #121212 !important;
}

summary {
  cursor: pointer;
  color: var(--green);
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  border-radius: 12px;
}

blockquote {
  margin: 1rem 0;
  padding: 0.55rem 1rem;
  border-left: 3px solid var(--pink);
  border-radius: 6px;
  background: #1c0e17;
  color: var(--text);
}


/* Long-form articles reuse the site's neon media treatment. */
.article-content img {
  display: block;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid #00eaff55;
  box-shadow: 0 0 12px #00eaff88;
  animation: cyanFramePulse 6.4s ease-in-out infinite;
}

.article-content a {
  text-shadow: 0 0 3px #ff79c633;
}

/* Opt in for illustration-led articles; preserve each image's aspect ratio. */
.article-content--full-width-images img,
.article-content--full-width-images picture,
.article-content.article-content--full-width-images .digital-media-frame {
  width: 100%;
  height: auto;
}

/* Preserve the relationships in mathematical tables on narrow screens. */
.article-content--full-width-images table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.article-content--full-width-images tbody { display: table-row-group; width: auto; }
.article-content--full-width-images tr { display: table-row; width: auto; }
.article-content--full-width-images td,
.article-content--full-width-images th { display: table-cell; width: auto; }

.article-content a:hover {
  text-shadow: 0 0 7px #ff79c6aa;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 0 0 1.8rem;
}

.site-title {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1.2;
}

.site-title a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--pink);
}

.site-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  margin: 0;
  border-radius: 0;
  filter: drop-shadow(0 0 5px #00eaff55);
}

.site-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-left: auto;
}

.language-switch {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.language-switch a,
.language-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 42px;
  padding: 0 0.4rem;
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  text-align: center;
}

.language-switch .active {
  border-color: #00eaff66;
  background: #00eaff12;
  color: var(--cyan);
}

.brand-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 205px;
  min-height: 42px;
  padding: 0.35rem 0.8rem;
  border: 1px solid #00eaff44;
  border-radius: 12px;
  background: #101313;
  box-shadow: 0 0 14px #00eaff22;
}

.brand-button:hover {
  border-color: #00eaff88;
  box-shadow: 0 0 20px #00eaff44;
}

.brand-button img {
  width: 175px;
  margin: 0;
  border-radius: 0;
}

.home-intro {
  margin: 0.5rem 0 0;
}

.home-intro td {
  vertical-align: middle;
}

.home-intro-visual {
  width: 315px;
  padding-left: 0;
}

.home-intro-copy {
  padding-right: 0;
}

.home-girls {
  width: 285px;
  max-height: 340px;
  object-fit: cover;
}

.fuzzy-avatar {
  display: block;
  margin: 0 auto;
  border: 1px solid #00eaff55;
  box-shadow: 0 0 12px #00eaff88;
  animation: cyanFramePulse 7.1s ease-in-out infinite;
}

/* Neon media frame */
@keyframes cyanFramePulse {
  0%, 100% {
    border-color: #00eaff55;
    box-shadow: 0 0 7px #00eaff28, 0 10px 28px #00000044;
  }
  50% {
    border-color: #55e7ffbb;
    box-shadow: 0 0 18px #00eaff88, 0 12px 32px #00000055;
  }
}

.article-preview-image,
.team-banner,
.fma-product-card .product-art {
  border: 1px solid #00eaff55;
  box-shadow: 0 0 12px #00eaff66, 0 10px 28px #00000044;
  animation: cyanFramePulse 6.8s ease-in-out infinite;
}

.digital-media-frame {
  position: relative;
  display: block;
  max-width: 100%;
  border: 1px solid #00eaff55;
  border-radius: 12px;
  animation: cyanFramePulse 6.8s ease-in-out infinite;
}

.article-preview-link .digital-media-frame,
.team-banner-wrap .digital-media-frame,
.fma-intro-visual .digital-media-frame,
.product-art-link .digital-media-frame {
  width: 100%;
}

.home-intro-visual .digital-media-frame,
.table-clean .digital-media-frame,
.article-content .digital-media-frame {
  width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

/* Image digital glitch */
.digital-glitch-surface {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  border-radius: 11px;
}

.digital-glitch-surface > img,
.digital-glitch-surface > picture > img {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  animation: none;
}

.digital-glitch-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
}

.digital-glitch-overlay.is-corrupting {
  animation: digitalGlitchEnvelope var(--glitch-duration) ease-in-out both;
}

.digital-glitch-fragment {
  position: absolute;
  top: var(--fragment-y);
  left: var(--fragment-x);
  display: block;
  width: var(--fragment-width);
  height: var(--fragment-height);
  background: var(--fragment-color);
  box-shadow: 0 0 7px color-mix(in srgb, var(--fragment-color) 68%, transparent);
  opacity: 0;
  transform: translateX(0);
}

.digital-glitch-overlay.is-corrupting .digital-glitch-fragment {
  animation:
    digitalFragmentFade var(--fragment-duration) ease-in-out var(--fragment-delay) both,
    digitalFragmentShift var(--fragment-duration) steps(2, end) var(--fragment-delay) both;
}

@keyframes digitalGlitchEnvelope {
  0% { opacity: 0; }
  20% { opacity: 0.18; }
  42% { opacity: 0.62; }
  58%, 70% { opacity: 1; }
  84% { opacity: 0.28; }
  100% { opacity: 0; }
}

@keyframes digitalFragmentFade {
  0%, 12% {
    opacity: 0;
  }
  30% {
    opacity: var(--fragment-alpha-low);
  }
  55% {
    opacity: var(--fragment-alpha-peak);
  }
  70% {
    opacity: var(--fragment-alpha-fall);
  }
  88% {
    opacity: var(--fragment-alpha-faint);
  }
  100% {
    opacity: 0;
  }
}

@keyframes digitalFragmentShift {
  0%, 20%, 100% {
    transform: translateX(0);
  }
  42%, 68% { transform: translateX(var(--fragment-shift-a)); }
  69%, 88% { transform: translateX(var(--fragment-shift-b)); }
}

/* Article image lightbox */
.article-lightbox-trigger {
  cursor: zoom-in;
}

.article-lightbox-trigger:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.article-lightbox-open {
  overflow: hidden;
}

.article-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  background: #03060aeb;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s linear 220ms;
  backdrop-filter: blur(3px);
}

.article-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.article-lightbox__stage {
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  place-items: center;
}

.article-lightbox__opening-glitch {
  position: relative;
  z-index: 1;
  inset: auto;
  overflow: hidden;
  grid-area: 1 / 1;
  place-self: center;
  border-radius: 11px;
}

.article-lightbox__image {
  grid-area: 1 / 1;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid #55e7ff99;
  border-radius: 12px;
  box-shadow: 0 0 22px #00eaff55, 0 24px 70px #00000099;
  cursor: default;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.article-lightbox.is-open .article-lightbox__image {
  opacity: 1;
  transform: scale(1);
}

.article-lightbox__close {
  position: fixed;
  z-index: 1;
  top: max(0.8rem, env(safe-area-inset-top));
  right: max(0.8rem, env(safe-area-inset-right));
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid #55e7ff99;
  border-radius: 50%;
  background: #070b10e8;
  box-shadow: 0 0 14px #00eaff33;
  color: var(--cyan);
  cursor: pointer;
  font: inherit;
  font-size: 1.65rem;
  line-height: 1;
}

.article-lightbox__close:hover,
.article-lightbox__close:focus-visible {
  border-color: var(--pink-hot);
  box-shadow: 0 0 16px #ff5bd844;
  color: var(--pink-hot);
  outline: none;
}

/* Reading pages retain their palette without continuous repaint effects. */
body.reading-page { animation: none; background-size: 100% 100%; }
body.reading-page::before { display: none; }
.reading-page .article-content img,
.reading-page .digital-media-frame { animation: none; }
picture { display: block; max-width: 100%; }

/* Text digital glitch */
.text-glitch-target.is-text-glitching {
  will-change: text-shadow, filter;
}

/* Global scan texture */
body::before {
  content: "";
  position: fixed;
  z-index: 9999;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    #ffffff08 0,
    #ffffff08 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.1;
  mix-blend-mode: screen;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-lead {
  color: var(--text-strong);
  font-size: 1.03rem;
}

.brand-signature,
.footer-signature {
  color: var(--green);
  font-style: italic;
}

.hero-actions,
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-actions { margin-top: 1rem; }

.button-neon,
.project-links a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ff5bd86b;
  border-radius: 6px;
  background: linear-gradient(180deg, #15131a, #0d1116);
  box-shadow: inset 0 1px 0 #ffffff06;
  font-weight: 700;
}

.button-neon:hover,
.project-links a:hover {
  border-color: #ff7ae4aa;
  box-shadow: 0 0 14px #ff5bd82b, inset 0 1px 0 #ffffff0a;
}

.motto-line {
  margin: 1.2rem 0 0;
  color: var(--cyan);
  font-weight: 700;
  text-align: right;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project-card,
.direction-card {
  border: 1px solid var(--border);
  border-radius: 9px;
  background:
    radial-gradient(circle at 85% 0%, #00eaff08, transparent 34%),
    linear-gradient(145deg, #0a1016, #10171d);
  box-shadow: 0 8px 24px #00000044, inset 0 1px 0 #ffffff05;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover,
.direction-card:hover {
  transform: translateY(-2px);
  border-color: #00eaff73;
  box-shadow: 0 12px 30px #00000055, 0 0 18px #00eaff12, inset 0 1px 0 #ffffff08;
}

.project-card {
  display: flex;
  flex-direction: column;
  padding: 1.05rem;
}

.project-card.featured {
  border-color: #ff5bd866;
  box-shadow: 0 0 18px #ff5bd612, 0 8px 24px #00000044;
}

.project-card h3,
.direction-card h3 {
  margin: 0.5rem 0 0.7rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-soft);
}

.project-card .project-links {
  margin-top: auto;
  padding-top: 0.6rem;
}

.card-label {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quiet {
  color: var(--muted);
  font-size: 0.87rem;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.direction-card {
  padding: 0.9rem 1rem;
}

.direction-card p { margin-bottom: 0; }

.article-index-link {
  font-size: 0.85rem;
}

.article-index-link--top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

.article-index-link--bottom {
  margin-top: 1.25rem;
  text-align: center;
}

.article-index-link a {
  display: inline-block;
  padding: 0.35rem 0.25rem;
}

.article-index-link a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.article-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
}

.article-navigation__link {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.5rem;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.article-navigation__link--next {
  grid-column: 2;
  text-align: right;
}

.article-navigation__label { font-size: 0.85rem; }
.article-navigation__title { color: var(--text); font-size: 0.9rem; }
.article-navigation time { color: var(--muted); font-size: 0.75rem; }

.article-navigation__link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

@media (max-width: 540px) {
  .article-navigation { grid-template-columns: minmax(0, 1fr); }
  .article-navigation__link--next { grid-column: 1; }
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1rem;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  text-align: center;
  font-size: 0.84rem;
}

.site-footer strong { color: var(--cyan); }

.articles-heading {
  width: 100%;
  max-width: none;
  margin: 2.5rem 0 3.25rem;
}

.articles-heading > .eyebrow,
.articles-heading > h1,
.articles-heading > .hero-lead {
  max-width: 720px;
}

.articles-heading h1 {
  margin: 0;
}


.team-banner-wrap {
  position: relative;
  margin: 1.1rem 0 1rem;
  outline: none;
}

.team-banner {
  display: block;
  width: 100%;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 0 14px #00eaff33, 0 12px 32px #00000044;
}

.team-banner-tooltip {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 0.75rem;
  width: min(84%, 820px);
  padding: 0.45rem 0.7rem;
  border: 1px solid #00eaff55;
  border-radius: 8px;
  background: #070b10ee;
  box-shadow: 0 0 18px #00eaff22;
  color: var(--text-strong);
  font-size: 0.68rem;
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.team-banner-wrap:hover .team-banner-tooltip,
.team-banner-wrap:focus .team-banner-tooltip,
.team-banner-wrap:focus-within .team-banner-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.article-feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3.25rem;
  min-width: 0;
}

.article-feed-item {
  display: grid;
  grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: center;
  min-width: 0;
  padding-bottom: 3.25rem;
  border-bottom: 1px solid var(--border-soft);
}

.article-feed-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.article-preview-link {
  display: block;
  min-width: 0;
}

.article-preview-copy { min-width: 0; }

.article-preview-image {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 14px 34px #00000055, 0 0 14px #00eaff0e;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.article-preview-link:hover .article-preview-image {
  border-color: #ff5bd875;
  box-shadow: 0 16px 38px #00000066, 0 0 20px #ff5bd81f;
  transform: none;
}

.article-preview-link .digital-media-frame {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.article-preview-link:hover .digital-media-frame {
  border-color: #ff5bd875;
  box-shadow: 0 16px 38px #00000066, 0 0 20px #ff5bd81f;
  transform: translateY(-2px);
}

.article-preview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-preview-meta > * + *::before {
  content: "·";
  margin-right: 0.8rem;
  color: var(--muted);
}

.article-preview-copy h2 {
  margin: 0.55rem 0 0.7rem;
  font-size: clamp(1.08rem, 1.65vw, 1.28rem);
  line-height: 1.28;
}

.article-preview-copy h2 a {
  color: var(--cyan);
}

.article-preview-copy p {
  color: var(--text);
}

.article-read-more {
  display: inline-block;
  margin-top: 0.45rem;
  font-weight: 700;
}

.translation-status {
  color: var(--pink);
}

table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  border: 0;
  background: transparent !important;
}

thead, tbody, tr, th {
  border: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
}

th {
  padding: 0.5em 1em;
  border-bottom: 1px solid #00eaff44 !important;
  background: #111 !important;
  color: var(--cyan) !important;
  text-align: left;
}

td {
  padding: 0.5em 1em;
  border: 0 !important;
  background: transparent !important;
  color: var(--text);
  vertical-align: middle;
}

.table-clean {
  width: 100%;
  border-collapse: collapse;
  border: 0;
}

.table-clean td {
  padding: 1em;
  border: 0 !important;
  vertical-align: middle;
}

.table-clean img,
td img {
  display: block;
  margin: 0 auto;
  background: transparent !important;
}

::selection {
  background: var(--pink);
  color: var(--bg);
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .site-actions {
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .brand-button {
    width: 165px;
  }

  .brand-button img {
    width: 140px;
  }

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

@media (max-width: 680px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  main {
    padding-top: 1rem;
  }

  .site-header {
    flex-direction: column;
    gap: 0.8rem;
  }

  .site-mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .site-actions {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .brand-button {
    width: 155px;
    min-height: 38px;
  }

  .language-switch a,
  .language-switch span {
    height: 38px;
  }

  .brand-button img {
    width: 132px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .articles-heading {
    margin: 1.8rem 0 2.4rem;
  }

  .article-feed {
    gap: 2.4rem;
  }

  .article-feed-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.15rem;
    padding-bottom: 2.4rem;
  }

  table, tbody, tr, td {
    display: block;
    width: 100%;
  }

  .home-intro-visual {
    width: 100%;
    padding: 0 0 1rem;
  }

  .home-intro-copy {
    padding: 0;
  }

  .home-girls {
    width: min(100%, 320px);
  }

  .digital-glitch-fragment {
    max-height: 5px;
  }

  td:first-child { text-align: center; }
  td:last-child { text-align: left; }
  td img { margin-bottom: 1rem; }

  .motto-line { text-align: left; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body,
  .fuzzy-avatar,
  .article-content img,
  .article-preview-image,
  .team-banner,
  .fma-product-card .product-art,
  .digital-media-frame,
  .site-title a,
  h1,
  h2,
  h3,
  .eyebrow,
  .card-label {
    animation: none;
  }

  .digital-glitch-overlay,
  .digital-glitch-fragment {
    display: none;
  }

  .article-lightbox,
  .article-lightbox__image {
    transition: none;
  }
}

/* FMA introduction and product catalog. */
.fma-intro {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 1.75rem;
  margin: 1rem 0;
}

.fma-intro-visual,
.fma-intro-copy {
  min-width: 0;
}

.fma-intro-visual img {
  width: 100%;
  height: auto;
}

.fma-intro-copy > p:first-child {
  margin-top: 0;
}

.fma-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 2rem 0 2.4rem;
}

.fma-product-card {
  min-width: 0;
}

.fma-product-card .product-art-link {
  display: block;
  margin: 0.8rem 0 0.95rem;
}

.fma-product-card .product-art {
  width: 100%;
  height: auto;
  margin: 0;
}

.fma-product-card h3 {
  margin-top: 0.25rem;
}

@media (max-width: 820px) {
  .fma-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .fma-intro-visual {
    width: min(300px, 100%);
    margin-right: auto;
    margin-left: auto;
  }

  .fma-product-grid {
    grid-template-columns: 1fr;
  }

}
