/* Simultera — styles */

:root {
  /* dark sections */
  --void: #080d0b;
  --void-2: #0b1111;
  --void-3: #111a18;
  --ink-d: #e6ece8;
  --mute-d: #8e9f9b;
  --line-d: rgba(230, 236, 232, .12);
  /* brand colour (teal) */
  --brand: #56d7c2;
  --brand-hi: #9cf7e0;
  --brand-dark: #096151;
  /* light sections */
  --paper: #cdcecb;
  --paper-2: #d7d8d4;
  --paper-3: #c3c4c0;
  --ink: #0d1210;
  --mute: #4c5350;
  --line: rgba(13, 18, 16, .15);
  /* line ornaments */
  --wire: #9a9b98;
  --node: #8b8d8a;
  --mark: #7b807d;
  /* fonts */
  --f-body: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-accent: "Newsreader", Georgia, serif;
  --f-mono: "Azeret Mono", ui-monospace, Menlo, Consolas, monospace;
  --f-word: "Michroma", "Eurostile", "Arial", sans-serif;
  --f-display: "Inter Tight", "Arial", sans-serif;
  --dw: 800;      /* heading weight */
  --ds: .66;      /* heading size factor */
  --dlh: .95;     /* heading line height */
  --dtr: -.02em;  /* heading letter spacing */
  /* layout */
  --gutter: max(clamp(16px, 5vw, 80px), env(safe-area-inset-left, 0px));
  --bw: 294px;                  /* logo diamond: logo scale */
  --bs: calc(var(--bw) * .75);  /* logo diamond: shape width */
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--void); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink-d);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
}
.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 400;
}
em {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.005em;
}
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.display {
  font-family: var(--f-display);
  font-weight: var(--dw);
  text-transform: uppercase;
  line-height: var(--dlh);
  letter-spacing: var(--dtr);
}
.display em {
  font-family: var(--f-accent);
  font-style: italic;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -.01em;
}

/* ---------- hero ---------- */
.hero {
  --hh: max(560px, min(770px, calc(100svh - 150px)));
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: var(--hh);
  background: radial-gradient(ellipse at calc(100% - max(0px, (100% - 1440px) / 2) - var(--gutter) - 245px) 48%, #11393638, transparent 55%), var(--void);
}
#rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.aura {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  right: calc(max(0px, (100% - 1440px) / 2) + var(--gutter) + 30px);
  top: 12%;
  background: #27ad9620;
  filter: blur(100px);
  z-index: -3;
}
.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 96px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  text-decoration: none;
}
.brand svg {
  width: 36px;
  height: auto;
  color: var(--brand);
}
.brand b { font: 400 15.6px/1 var(--f-word); letter-spacing: .3em; }
.links {
  display: flex;
  gap: 36px;
  font-size: 12px;
}
.links a {
  text-decoration: none;
  color: var(--mute-d);
  transition: color .2s;
}
.links a:hover { color: var(--ink-d); }
.hire {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  padding: 11px 16px;
  text-decoration: none;
  color: var(--ink-d);
  border-radius: 12px 4px 12px 4px;
  background: rgba(230, 236, 232, .07);
}
.hire i {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
}
.hero > .wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hero-copy {
  position: relative;
  z-index: 3;
  margin-block: auto;
  padding-bottom: 96px;
  max-width: 760px;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mute-d);
}
.kicker i {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid currentColor;
}
.hero h1 { margin-top: 26px; font-size: min(68px, calc(clamp(60px, 7.4vw, 128px) * var(--ds))); }
.hero .sub {
  margin-top: 16px;
  font: italic 600 clamp(32px, 3.47vw, 56px)/1 var(--f-accent);
  color: var(--brand);
  letter-spacing: -.01em;
}
.girl {
  position: absolute;
  height: 105%;
  max-width: 60%;
  aspect-ratio: 1145/1374;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  right: calc(max(0px, (100% - 1440px) / 2) + var(--gutter));
  bottom: -13%;
  z-index: -1;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform .7s ease-out;
  pointer-events: none;
  filter: drop-shadow(0 0 8px #16d09533);
}
#rig { position: relative; width: 100%; }
#rig canvas, #rig img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- seam ---------- */
.light {
  background: var(--paper);
  color: var(--ink);
  position: relative;
}
.seam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  z-index: 4;
}
.seam .bump {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--bs);
  height: calc(var(--bs) * 137 / 420);
  transform: translateX(-50%);
  display: block;
}
.seam .bump path { fill: none; }
.seam .mark {
  position: absolute;
  left: 50%;
  bottom: calc(var(--bw) * -0.135 - 10px);
  width: calc(var(--bw) * .2);
  transform: translateX(-50%);
  color: var(--mark);
}
.seam-line {
  position: absolute;
  top: 48px;
  left: calc(max(0px, (100% - 1440px) / 2) + var(--gutter));
  right: calc(max(0px, (100% - 1440px) / 2) + var(--gutter));
  display: flex;
  align-items: flex-start;
  z-index: 3;
}
.seam-line .v {
  flex: 1;
  min-width: 0;
  height: calc(var(--bs) * 138 / 420 + 4px);
  margin-top: -1px;
  display: block;
  overflow: visible;
}
.seam-line .v path {
  fill: none;
  stroke: var(--wire);
  stroke-width: 1.2;
}
.seam-line .d {
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  transform: rotate(45deg);
  background: var(--node);
  flex: none;
  margin-inline: 18px;
}
.seam-line .d:first-child { margin-left: 0; }
.seam-line .d:last-child { margin-right: 0; }

/* ---------- manifesto ---------- */
.manifesto { --bh: calc(var(--bs) * 138 / 420); }
.manifesto::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--bh) + 1px);
  bottom: calc(-1 * var(--bh) + 1px);
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(135deg, var(--paper) 10%, #f7f7f5 50%, var(--paper) 90%);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 138' preserveAspectRatio='none'%3E%3Cpath d='M0,138 C40,138 55,135 70,120 L175,15 C190,0 230,0 245,15 L350,120 C365,135 380,138 420,138 Z'/%3E%3C/svg%3E"), linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 138' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C40,0 55,3 70,18 L175,123 C190,138 230,138 245,123 L350,18 C365,3 380,0 420,0 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 138' preserveAspectRatio='none'%3E%3Cpath d='M0,138 C40,138 55,135 70,120 L175,15 C190,0 230,0 245,15 L350,120 C365,135 380,138 420,138 Z'/%3E%3C/svg%3E"), linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 138' preserveAspectRatio='none'%3E%3Cpath d='M0,0 C40,0 55,3 70,18 L175,123 C190,138 230,138 245,123 L350,18 C365,3 380,0 420,0 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: var(--bs) var(--bh), 100% calc(100% - 2 * var(--bh) + 2px), var(--bs) var(--bh);
  mask-size: var(--bs) var(--bh), 100% calc(100% - 2 * var(--bh) + 2px), var(--bs) var(--bh);
  -webkit-mask-position: center top, 0 calc(var(--bh) - 1px), center bottom;
  mask-position: center top, 0 calc(var(--bh) - 1px), center bottom;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.manifesto { z-index: 1; --lb: calc(var(--bs) * 85 / 420); }
.seam-line { pointer-events: none; }
.seam-line.b {
  top: auto;
  bottom: var(--lb);
  align-items: flex-end;
}
.seam-line.b .v {
  height: 2px;
  margin-top: 0;
  margin-bottom: -1px;
}
.seam-line.b .d { margin-top: 0; margin-bottom: -4.5px; }
.down {
  position: absolute;
  left: 50%;
  bottom: calc(var(--lb) - 23px);
  z-index: 3;
  width: 34px;
  height: 30px;
  margin-left: -17px;
  display: grid;
  place-items: center;
  color: var(--node);
}
.down svg {
  width: 16px;
  height: 18px;
  overflow: visible;
  animation: nudge 2.6s ease-in-out infinite;
}
.down path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.down:hover { color: var(--brand-dark); }
@keyframes nudge { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) {
  .down svg { animation: none; }
}
.manifesto { padding-top: calc(48px + var(--bs) * 138 / 420 + 56px); overflow-x: clip; }
.label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--mute);
}
.label b { font-weight: 500; color: var(--brand-dark); }
.dark .label, .end .label { color: var(--mute-d); }
.dark .label b, .end .label b { color: var(--brand); }
.man-label { display: flex; justify-content: center; }
.man-top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  margin-top: 72px;
  align-items: center;
}
.man-text {
  grid-column: 7 / -1;
  grid-row: 1;
  margin-left: -12px;
  max-width: 21.5em;
  font-size: clamp(22px, 1.95vw, 30px);
}
.lead { font: 400 clamp(22px, 1.95vw, 30px)/1.32 var(--f-body); letter-spacing: -.012em; }
.lead .nowrap { white-space: nowrap; }
.circled {
  position: relative;
  display: inline-block;
  margin: 0 .26em 0 .12em;
}
.circled .ring {
  position: absolute;
  left: -21%;
  top: -16%;
  width: 146%;
  height: 136%;
  overflow: visible;
  pointer-events: none;
}
.circled .ring path {
  fill: none;
  stroke: var(--brand-dark);
  stroke-width: 2.4;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s cubic-bezier(.6, .1, .3, 1) .2s;
}
.circled.in .ring path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) {
  .circled .ring path { transition: none; stroke-dashoffset: 0; }
}
.right { margin-top: clamp(40px, 4.2vw, 64px); }
.kitty {
  grid-column: 1 / span 6;
  grid-row: 1;
  width: 74%;
  justify-self: center;
  position: relative;
  margin: 0;
}
.kitty img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
}
.kitty .catgl {
  position: absolute;
  left: 65.17%;
  top: 16.33%;
  width: 34.71%;
  height: 25.27%;
}
.kitty .catgl canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.kitty .smoke {
  position: absolute;
  left: 0;
  top: -24%;
  width: 100%;
  height: 124%;
  pointer-events: none;
}
.not { display: block; margin-bottom: 30px; }
.not span {
  display: inline-block;
  position: relative;
  font: var(--dw) calc(clamp(40px, 4.4vw, 74px) * var(--ds))/1.02 var(--f-display);
  letter-spacing: var(--dtr);
  text-transform: uppercase;
  color: #a3a49f;
}
.not span:after {
  content: '';
  position: absolute;
  left: -6px;
  right: -6px;
  top: 50%;
  height: 3px;
  background: var(--ink);
}
.not span.yes { color: var(--ink); }
.not span.yes:after { content: none; }
.lead2 { font: 400 clamp(22px, 1.95vw, 30px)/1.32 var(--f-body); letter-spacing: -.012em; }
.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, .8fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(70px, 8vw, 120px);
  padding-bottom: clamp(110px, 11vw, 170px);
}
.stage .side {
  color: var(--mute);
  max-width: 34ch;
  padding-block: 10px;
}
.stage .side.l {
  justify-self: end;
  text-align: right;
  padding-right: 18px;
}
.stage .halo {
  position: relative;
  display: block;
  justify-self: center;
}
.stage .halo::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(closest-side, #fff 0%, rgba(255, 255, 255, .75) 30%, rgba(255, 255, 255, .3) 62%, rgba(255, 255, 255, 0) 100%);
}
.stage .heart {
  position: relative;
  display: block;
  overflow: visible;
}
.stage .heart path {
  fill: none;
  stroke: var(--wire);
  stroke-width: 1.2;
}
.stage .heart .node { fill: var(--node); }
.stage .side.r { justify-self: start; padding-left: 18px; }

/* ---------- facts strip ---------- */

/* ---------- games (compact) ---------- */
.dark {
  background: var(--void-2);
  color: var(--ink-d);
  position: relative;
}
.games { padding-block: clamp(80px, 9vw, 130px); overflow: hidden; }
.games .wavebg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.games-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 100px);
  align-items: start;
}
.big { font-size: calc(clamp(52px, 6vw, 100px) * var(--ds)); }
.dark .big em, .end .big em { color: var(--brand); }
.light .big em { color: var(--brand-dark); }
.games-grid .big { margin-top: 26px; }
.games-copy p {
  color: var(--mute-d);
  max-width: 46ch;
  font-size: 18px;
}
.games-copy p + p { margin-top: 16px; }
.follow {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}
.follow a {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  color: var(--ink-d);
  background: rgba(230, 236, 232, .06);
  transition: background .2s, color .2s;
  border-radius: 22px 6px 22px 6px;
}
.follow a:hover { background: var(--brand); color: #02120e; }
.follow svg { width: 36px; height: 36px; }
.follow a:first-child svg { width: 32px; height: 32px; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- careers ---------- */
.careers {
  padding-block: clamp(90px, 10vw, 150px);
  background: linear-gradient(135deg, var(--paper) -6%, #fbfbf9 24%, var(--paper) 62%);
}
.careers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.46fr);
  gap: clamp(32px, 6vw, 120px);
  align-items: center;
}
.c-intro .big { margin-top: 26px; }
.c-intro p {
  margin-top: 26px;
  color: var(--mute);
  max-width: 32ch;
}
.c-intro .c-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.copy.li { text-decoration: none; color: var(--ink); }
.copy.li svg { width: 14px; height: 14px; }
.roles {
  --rg: clamp(18px, 3vw, 58px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rg);
}
.role {
  --rad: 44px 10px 44px 10px;
  --pl: 90px;
  --pr: 90px;
  --pt: 16px;
  --cb: 16px;
  position: relative;
  height: clamp(416px, 33.6vw, 512px);
  min-width: 0;
  border-radius: var(--rad);
  outline-offset: 4px;
  color: #f2f4f3;
}
.role:nth-child(3) { --pl: 180px; --pr: 0px; }
.r-card {
  position: absolute;
  inset: 0;
  border-radius: var(--rad);
  overflow: hidden;
  isolation: isolate;
  background: #1b1d1c;
}
.r-card::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--gx, 0);
  width: calc(300% + 2 * var(--rg));
  z-index: -1;
  background: radial-gradient(ellipse 46% 72% at 50% 104%, #1d463b 0%, #1a372f 42%, transparent 100%);
}
.role:nth-child(2) { --gx: calc(-100% - var(--rg)); }
.role:nth-child(3) { --gx: calc(-200% - 2 * var(--rg)); }
.r-head {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 33%;
  text-align: center;
}
.r-head h3 {
  font: 800 clamp(22px, 1.75vw, 31px)/1.18 var(--f-body);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.r-head p {
  margin-top: 26px;
  color: var(--brand);
  font-size: clamp(15px, 1.05vw, 18px);
}
.r-panel {
  position: absolute;
  z-index: 2;
  top: calc(-1 * var(--pt));
  left: calc(-1 * var(--pl));
  right: calc(-1 * var(--pr));
  min-height: calc(100% + 2 * var(--pt));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 46px 36px;
  background: #fbfbfa;
  color: var(--ink);
  border-radius: var(--rad);
  pointer-events: none;
  opacity: 0;
  clip-path: inset(var(--pt) var(--pr) var(--cb) var(--pl) round 44px 10px 44px 10px);
  transition: clip-path .55s cubic-bezier(.2, .7, .2, 1), opacity .3s, box-shadow .55s;
}
.r-panel > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .45s cubic-bezier(.2, .7, .2, 1);
}
.r-top { color: var(--mute); white-space: nowrap; }
.r-panel h3 {
  margin-top: 32px;
  font: 800 clamp(24px, 1.9vw, 32px)/1.1 var(--f-body);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.r-panel .r-sub {
  margin-top: 8px;
  color: var(--brand-dark);
  font-size: 17px;
}
.r-panel .r-lead {
  margin-top: 32px;
  font-size: 17px;
  line-height: 1.45;
  color: #2b322f;
}
.r-panel .r-label { margin-top: 36px; color: var(--mute); }
.r-panel ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
  color: #3c4341;
  font-size: 15.5px;
  line-height: 1.45;
}
.r-panel li { display: flex; gap: 14px; }
.r-panel li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: .6em;
  transform: rotate(45deg);
  background: var(--brand-dark);
  flex: none;
}
.role:hover, .role:focus-within { z-index: 5; }
.role:hover .r-panel, .role:focus-within .r-panel {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 44px 10px 44px 10px);
  box-shadow: 0 34px 70px -30px rgba(8, 13, 11, .45);
}
.role:hover .r-panel > *, .role:focus-within .r-panel > * {
  opacity: 1;
  transform: none;
  transition-delay: .14s;
}
.r-more-btn { display: none; }
@media (hover: none), (max-width: 1000px) {
  .roles { grid-template-columns: 1fr; gap: 16px; }
  .r-card::before {
    left: 0;
    width: 100%;
    background: radial-gradient(ellipse 70% 120% at 100% 110%, #1d463b 0%, #1a372f 42%, transparent 100%);
  }
  .role {
    height: auto;
    overflow: hidden;
    border-radius: 30px 8px 30px 8px;
  }
  .r-card { border-radius: inherit; }
  .r-head { display: none; }
  .r-panel, .role:hover .r-panel, .role:focus-within .r-panel {
    position: relative;
    inset: auto;
    min-height: 0;
    opacity: 1;
    clip-path: none;
    box-shadow: none;
    background: transparent;
    color: #f2f4f3;
    padding: 28px 32px 12px;
    pointer-events: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    column-gap: 36px;
    align-items: start;
    grid-template-areas: "top lead" "h3 lead" "sub lead" "label label" "list list" "more more";
  }
  .r-panel > * { opacity: 1; transform: none; }
  .r-top { grid-area: top; color: #7e9891; }
  .r-panel h3 { grid-area: h3; margin-top: 12px; }
  .r-panel .r-sub { grid-area: sub; color: var(--brand); }
  .r-panel .r-lead {
    grid-area: lead;
    align-self: center;
    margin-top: 0;
    color: #c8d2cf;
  }
  .r-panel .r-label { grid-area: label; color: #7e9891; }
  .r-panel ul { grid-area: list; color: #a8b5b2; }
  .r-panel li::before { background: var(--brand); }
  .r-panel .r-label, .r-panel ul { display: none; }
  .role.open .r-panel .r-label, .role.open .r-panel ul { display: grid; }
  .role.open .r-panel .r-label { display: block; margin-top: 26px; }
  .r-more-btn {
    grid-area: more;
    justify-self: center;
    display: block;
    margin-top: 10px;
    padding: 6px 18px 10px;
    border: 0;
    background: transparent;
    color: #7e9891;
    font: 700 22px/1 var(--f-mono);
    letter-spacing: .12em;
    cursor: pointer;
    transition: color .2s;
  }
  .r-more-btn:hover, .role.open .r-more-btn { color: var(--brand); }
}
@media (max-width: 560px) {
  .r-panel, .role:hover .r-panel, .role:focus-within .r-panel {
    grid-template-columns: 1fr;
    grid-template-areas: "top" "h3" "sub" "lead" "label" "list" "more";
  }
  .r-panel .r-lead { margin-top: 18px; }
}
.copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
}
.copy:hover { border-color: currentColor; }
.copy code { font: 400 12px/1 var(--f-mono); }
.copy .ok { display: none; color: var(--brand-dark); }
.copy.done .ok { display: inline; }
.end .copy { border-color: var(--line-d); }
.end .copy .ok { color: var(--brand); }

/* ---------- footer city ---------- */
.end {
  background: var(--void);
  color: var(--ink-d);
  position: relative;
}
.city {
  position: relative;
  height: clamp(420px, 38vw, 620px);
  overflow: hidden;
}
.city .gl { position: absolute; inset: 0; }
.city .over {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 64px 40px;
  pointer-events: none;
  z-index: 2;
}
.city .over .big { text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.city .stand { color: var(--mute-d); margin-top: 18px; }
.city:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: linear-gradient(transparent, var(--void));
  pointer-events: none;
}
.contact {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 40px;
  border-top: 1px solid var(--line-d);
}
.c-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 22px;
  min-width: 0;
}
.c-item .mono { color: var(--mute-d); }
.c-item .copy { align-self: flex-start; }
@media (min-width: 1001px) {
  .c-item:last-child { grid-column: 4; }
}
.foot {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-top: 64px;
  padding-top: 24px;
  padding-bottom: max(30px, env(safe-area-inset-bottom, 0px));
  color: #647e73;
}
.foot-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
}
.foot-line svg {
  display: block;
  width: 100%;
  height: 2px;
  overflow: visible;
}
.foot-line path {
  fill: none;
  stroke: rgba(230, 236, 232, .12);
  stroke-width: 1;
}
.foot-logo {
  display: block;
  width: 53px;
  color: #33413e;
  transform: translateY(-10px);
  transition: color .2s;
}
.foot-logo:hover { color: var(--brand); }
.foot-logo svg {
  display: block;
  width: 100%;
  height: auto;
}
.foot .socials { justify-self: end; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live i {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--brand);
  animation: blink 1.6s ease-in-out infinite;
}
.socials { display: flex; gap: 22px; }
.socials a { text-decoration: none; color: var(--mute-d); }
.socials a:hover { color: var(--ink-d); }
.socials svg {
  display: none;
  width: 18px;
  height: 18px;
}

/* ---------- responsive ---------- */
@media (min-width: 701px) and (max-width: 1100px) {
  .girl {
    height: auto;
    width: min(calc(var(--hh) * .94 * 1145 / 1374), calc((75vw - 190px) / .85));
    left: calc(25vw + 190px);
    right: auto;
    bottom: -9%;
    min-width: 500px;
  }
}

@media (max-width: 1000px) {
  :root { --bw: 231px; }
  .links { display: none; }
  .man-text {
    grid-column: 6 / -1;
    grid-row: 1;
    margin-left: 0;
    max-width: none;
  }
  .right { margin-top: 36px; }
  .stage { grid-template-columns: 1fr; }
  .stage .side { padding-bottom: 0; }
  .stage .side.r { justify-self: start; padding-left: 0; }
  .stage .side.l {
    justify-self: start;
    text-align: left;
    padding-right: 0;
  }
  .kitty {
    grid-column: 1 / span 5;
    grid-row: 1;
    width: 128%;
    max-width: none;
    justify-self: end;
    margin: 0 0 0 -30%;
  }
  .stage .mid { display: none; }
  .games-grid { grid-template-columns: 1fr; }
  .careers-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}

@media (max-width: 700px) {
  .socials { gap: 18px; }
  .socials .t { display: none; }
  .socials svg { display: block; }
  .foot {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo logo" "copy soc";
    row-gap: 14px;
    padding-top: 18px;
  }
  .foot > span:first-of-type { grid-area: copy; white-space: nowrap; }
  .foot-logo {
    grid-area: logo;
    justify-self: center;
    width: 40px;
    transform: none;
  }
  .foot .socials { grid-area: soc; }
  .man-text { grid-column: 1 / -1; grid-row: 1; }
  .kitty {
    grid-column: 1 / -1;
    grid-row: 2;
    width: min(100%, 460px);
    justify-self: center;
    margin: 44px 0 30px;
  }
  :root { --bw: 168px; }
  .nav { height: 76px; }
  .hire span { display: none; }
  .hero { height: 880px; min-height: 0; }
  .hero > .wrap { height: auto; display: block; }
  .hero-copy { margin-top: 24px; padding-bottom: 0; min-height: 500px; vertical-align: middle;}
  .hero h1 { font-size: min(11.6vw, 64px); }
  .hero .sub { font-size: min(8.4vw, 40px); }
  .girl {
    height: 60%;
    max-width: 100%;
    right: 50%;
    bottom: -3%;
    transform: translate3d(calc(50% + var(--px, 0px)), var(--py, 0px), 0);
  }
  .seam-line .d { margin-inline: 8px; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 450px) {
  .hire { display: none; }
  .girl { min-width: 500px; right: 30%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live i { animation: none; }
  .girl { transition: none; }
}
