.section {
  padding-block: clamp(3.5rem, 7vw, 7.3rem);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  align-items: end;
  gap: clamp(1.1rem, 5vw, 5rem);
  margin-bottom: clamp(1.65rem, 3.3vw, 3rem);
}
.section-head .kicker, .studio-statement .kicker, .contact-body .kicker {
  margin-bottom: .85rem;
}
.section-head h2, .studio-statement h2, .contact-body h2 {
  color: var(--ink);
  font: 700 clamp(2.65rem, 5.4vw, 5.5rem)/.98 var(--sans);
  letter-spacing: -.073em;
  text-wrap: balance;
}
.section-summary, .studio-statement > p:not(.kicker), .contact-body > p:not(.kicker) {
  color: var(--muted);
  font: 500 clamp(1rem, 1.36vw, 1.24rem)/1.55 var(--body);
}
.section-summary { max-width: 43ch; }
.section-head > .underlink { width: fit-content; justify-self: end; }
.capture-grid, .lab-grid {
  display: grid;
  gap: clamp(.9rem, 1.8vw, 1.65rem);
}
.capture-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.capture, .lab-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.capture-stage {
  --capture-wash: #4b335c;
  --capture-light: #c8a0d8;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  height: clamp(310px, 29vw, 435px);
  overflow: hidden;
  padding: 14px;
  background: radial-gradient(ellipse at 50% 85%, var(--capture-wash), transparent 76%), #19151f;
  border: 1px solid color-mix(in srgb, var(--capture-wash) 80%, #ccc);
  border-radius: 12px;
}
.capture-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1rem;
  background: linear-gradient(150deg, #2417274a, #140f1b8f), var(--scene) center / cover;
  filter: blur(12px) saturate(.8);
  opacity: .64;
}
.story-stage { --scene: url("/assets/v44-story.webp"); --capture-wash: #624639; --capture-light: #f2cea9; }
.board-stage { --scene: url("/assets/v44-match.webp"); --capture-wash: #34534f; --capture-light: #bcdbb5; }
.club-stage { --scene: url("/assets/v44-club.webp"); --capture-wash: #573552; --capture-light: #e4c3d9; }
.game-footer {
  margin-top: clamp(1.8rem, 4vw, 3.3rem);
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem 1.65rem;
  border-top: 1px solid var(--line);
}
.review-note { margin-right: auto; color: var(--muted); font: 600 .83rem/1.45 var(--mono); }
.capture-stage img {
  display: block;
  width: auto;
  height: 100%;
  min-height: 0;
  max-width: 100%;
  object-fit: contain;
  border-radius: 7px;
  outline: 1px solid #eddbed70;
  box-shadow: 0 0 0 3px #18121a, 0 8px 17px #08070d9c;
}
.paired-captures {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.35rem, .9vw, .8rem);
}
.paired-captures a {
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  align-items: center;
  gap: .45rem;
  color: var(--ink);
  text-decoration: none;
}
.paired-captures img { height: auto; max-height: 100%; }
.paired-captures a span {
  padding: .2rem .55rem;
  border: 1px solid #927c9b;
  border-radius: 1rem;
  font: 650 .83rem/1.3 var(--sans);
  background: #23192a;
}
.paired-captures a:hover span, .paired-captures a:focus-visible span { color: var(--lime); border-color: var(--lime); }
.capture-label {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: .7rem;
  padding: 1rem .12rem 0;
}
.capture-label h3, .studio-notes h3, .founder h3 {
  margin: 0;
  color: var(--ink);
  font: 700 clamp(1.18rem, 1.8vw, 1.55rem)/1.15 var(--sans);
  letter-spacing: -.045em;
}
.capture-label p, .studio-notes p, .lab-blurb, .founder p {
  color: var(--muted);
  font: 500 clamp(.92rem, 1.12vw, 1.03rem)/1.52 var(--body);
}
.capture-label p { margin-top: .35rem; max-width: 36ch; }
.enlarge {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--lav);
  font: 1.2rem/1 var(--sans);
}
.capture:hover .capture-stage, .capture:focus-visible .capture-stage { border-color: var(--capture-light); }
.capture:hover .enlarge, .capture:focus-visible .enlarge { border-color: var(--lime); color: var(--lime); }
.studio-band {
  background: radial-gradient(ellipse at 0 100%, #342235 0, transparent 68%), linear-gradient(120deg, #211923, #171321);
  border-block: 1px solid var(--line);
}
.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}
.studio-statement h2 { max-width: 12ch; }
.studio-statement h2 em, .contact-body h2 em { color: var(--pink); font-style: normal; }
.studio-statement > p:not(.kicker), .contact-body > p:not(.kicker) { margin-top: 1.15rem; max-width: 43ch; }
.studio-notes { min-width: 0; }
.studio-notes article {
  padding-block: 1.2rem;
  border-top: 1px solid #544359;
}
.studio-notes article:first-child { border-color: var(--lav); padding-top: 1.1rem; }
.studio-notes article:last-child { padding-bottom: 0; }
.studio-notes p, .founder p { margin-top: .42rem; }
.studio-notes p { max-width: 50ch; }
.lab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lab-card {
  overflow: hidden;
  border-radius: 13px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.lab-art {
  position: relative;
  aspect-ratio: 2.15;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #211b29;
}
.lab-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.night-art img { object-position: 50% 48%; }
.go-art img { object-position: 50% 46%; }
.lab-detail {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: start;
  padding: clamp(1.15rem, 2.2vw, 2rem);
}
.lab-detail .kicker { color: var(--lav); }
.lab-detail h3 {
  margin: .45rem 0 .48rem;
  font: 700 clamp(1.8rem, 3vw, 2.75rem)/1.04 var(--sans);
  letter-spacing: -.064em;
}
.lab-blurb { flex: 1; max-width: 51ch; }
.lab-link {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--lime);
  font: 700 .91rem/1.4 var(--sans);
  text-decoration: underline;
  text-underline-offset: .25em;
  text-decoration-color: #8b9d6d;
}
.lab-card:hover, .lab-card:focus-visible { border-color: var(--lav); }
.lab-card:hover .lab-link { text-decoration-color: currentColor; }
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(1.75rem, 6vw, 5.4rem);
  border-top: 1px solid var(--line);
}
.contact-body { min-width: 0; }
.contact-body h2 { max-width: 15ch; }
.contact-body .action { margin-top: 1.35rem; }
.founder {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0 1.1rem clamp(1rem, 2vw, 1.8rem);
  border-left: 2px solid var(--pink);
}
.founder > img {
  display: block;
  flex-shrink: 0;
  width: clamp(58px, 6.5vw, 86px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid #84677e;
  border-radius: .65rem;
}
.founder p { max-width: 31ch; }
.founder .underlink { display: inline-block; margin-top: .7rem; }
footer {
  background: #120f16;
  border-top: 1px solid var(--line);
}
footer > .shell, footer.shell { padding-block: 1.55rem 1.8rem; }
.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.foot-studio, .foot-note { color: var(--muted); font: 500 .84rem/1.5 var(--body); }
.player-care {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.35rem;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.player-care a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #e2d7e8;
  font: 600 .86rem/1.35 var(--body);
  text-decoration-color: #7b6984;
  text-underline-offset: .26em;
}
.player-care a:hover { color: var(--lime); }
.foot-note { margin-top: .63rem; font-size: .77rem; }
#media-dialog {
  max-width: min(94vw, 65rem);
  max-height: 94vh;
  max-height: 94dvh;
  margin: auto;
  padding: clamp(.7rem, 2vw, 1.3rem);
  overflow: auto;
  color: var(--ink);
  border: 1px solid #78677f;
  border-radius: 12px;
  background: #19151f;
  box-shadow: 0 1.5rem 8rem #0504079c;
}
#media-dialog::backdrop { background: #0c0912de; }
#media-dialog [data-preview-image], #media-dialog [data-preview-video] {
  display: block;
  max-width: min(100%, 88vw);
  max-height: 72vh;
  max-height: min(72dvh, 51rem);
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: 5px;
  object-fit: contain;
}
#media-dialog [data-preview-caption] {
  max-width: 59ch;
  margin-top: .72rem;
  color: #e5dce9;
  font: 600 .95rem/1.45 var(--body);
}
#media-dialog [data-close-dialog] {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0 0 .6rem auto;
  padding: .4rem .8rem;
  border: 1px solid #74637f;
  border-radius: 6px;
  background: #302634;
  color: #fbf7ff;
  cursor: pointer;
  font: 650 .9rem var(--sans);
}
#media-dialog [data-close-dialog]:hover { border-color: var(--lime); }
#media-dialog [hidden] { display: none !important; }
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .capture-stage img, .lab-art img { transition: transform .22s ease; }
  .capture:hover .capture-stage img { transform: translateY(-2px); }
  .lab-card:hover .lab-art img { transform: scale(1.025); }
}
@media (max-width: 760px) {
  .section { padding-block: clamp(3.1rem, 8vw, 4.5rem); }
  .section-head, .studio-layout, .contact { grid-template-columns: minmax(0, 1fr); }
  .section-head { gap: .9rem; }
  .section-head > .underlink { justify-self: start; }
  .section-summary { max-width: 51ch; }
  .studio-statement h2 { max-width: 17ch; }
  .studio-statement > p:not(.kicker) { max-width: 53ch; }
  .studio-notes article { padding-block: .95rem; }
  .capture-stage { height: clamp(230px, 36vw, 285px); padding: 11px; }
  .capture-label { gap: .3rem; }
  .enlarge { width: 1.65rem; height: 1.65rem; font-size: 1rem; }
  .founder { max-width: 32rem; }
}
@media (max-width: 590px) {
  .capture-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .game-footer .review-note { flex-basis: 100%; }
  .capture-stage { height: clamp(325px, 90vw, 425px); }
  .capture-label { padding-top: .75rem; }
  .capture-label h3 { font-size: 1.32rem; }
  .capture-label p { max-width: 43ch; }
  .enlarge { width: 2rem; height: 2rem; }
  .lab-grid { grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
  .lab-art { aspect-ratio: 2.1; }
  .foot-top { flex-wrap: wrap; }
  .player-care { column-gap: 1.05rem; }
}
