/* moeater.com home. Rules live in /DESIGN.md. */

@property --cut { syntax: '<percentage>'; inherits: true; initial-value: 50%; }

/* Black Han Sans has no kana or hanzi, so Japanese and Chinese signage borrows a bold
   system face instead of falling back to a thin one */
@font-face {
  font-family: 'Sign JA'; font-weight: 100 900;
  src: local('Yu Gothic Bold'), local('YuGothic-Bold'), local('Hiragino Sans W7'), local('HiraginoSans-W7'),
       local('Noto Sans CJK JP Bold'), local('NotoSansCJKjp-Bold'), local('Meiryo Bold'), local('Meiryo-Bold');
  unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}
@font-face {
  font-family: 'Sign ZH'; font-weight: 100 900;
  src: local('Microsoft YaHei Bold'), local('MicrosoftYaHei-Bold'), local('PingFang SC Semibold'), local('PingFangSC-Semibold'),
       local('Noto Sans CJK SC Bold'), local('NotoSansCJKsc-Bold'), local('Source Han Sans SC Bold'), local('SourceHanSansSC-Bold');
  unicode-range: U+3000-30FF, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

:root {
  --ink: #3a2f3a;
  --ink-deep: #2b2330;
  --plate: #363642;
  --plate-hi: #44444f;
  --wall: #8a727e;
  --wall-dark: #5a4e66;
  --paper: #f7f2ec;
  --paper-shade: #e9dfd5;
  --orange: #ff7e42;
  --orange-deep: #ea7236;
  --lavender: #ead2ea;
  --steel: #8a96ba;
  --stamp: #d8433f;
  --eula-navy: #1e2547;
  --eula-blue: #6f97f2;
  --eula-pink: #ef7fa8;
  --demo-pink: #f6a9bf;
  --sign: 'Black Han Sans', 'Noto Sans KR', sans-serif;
  --body: 'Noto Sans KR', sans-serif;
  --mono: 'IBM Plex Mono', 'Noto Sans KR', monospace;
  --hand: 'Gaegu Memo', 'Gaegu', 'Noto Sans KR', sans-serif;
  /* first screen: GynoFactory 75 : EULA 25 on a 7vw diagonal */
  --r: 75;
  --s: 7;
  --cut: 50%;
  --pad: clamp(72px, 9vw, 120px);
  --cutc: 8px;
  --plate-shape: polygon(var(--cutc) 0, calc(100% - var(--cutc)) 0, 100% var(--cutc), 100% calc(100% - var(--cutc)), calc(100% - var(--cutc)) 100%, var(--cutc) 100%, 0 calc(100% - var(--cutc)), 0 var(--cutc));
}
:root:lang(ja) { --sign: 'Black Han Sans', 'Sign JA', 'Noto Sans KR', sans-serif; }
:root:lang(zh) { --sign: 'Black Han Sans', 'Sign ZH', 'Noto Sans KR', sans-serif; }

* { box-sizing: border-box; }
html { background: var(--ink-deep); }
body {
  margin: 0;
  background: var(--ink-deep);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
/* media-guard.js closes the context menu on artwork; this keeps it out of drags,
   selection and the iOS long-press save sheet */
img, svg, video, canvas { -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; }
a { -webkit-user-drag: none; }
.split, .compare { user-select: none; -webkit-user-select: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:where(a, button, select, summary, [tabindex]):focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.nojs-only { display: none; }
/* Korean headings wrap between words, not inside them */
h1, h2, h3, .sheet__title, .org__title, .notice__title, .flipper__title { word-break: keep-all; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 12px; }
.skip-link:focus { left: 8px; }
.serial { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .04em; margin: 0; }

/* Sections below the first screen render only when near the viewport. */
/* #eula keeps rendering: its navy band sits over a lighter section and contrast tools misread it when skipped */
#manual, #line, #event, #demo, #streams, #board, #contact, #staff { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(56px + env(safe-area-inset-top)); display: flex; align-items: center; gap: 22px;
  padding: env(safe-area-inset-top) max(clamp(14px, 2.6vw, 32px), env(safe-area-inset-right)) 0 max(clamp(14px, 2.6vw, 32px), env(safe-area-inset-left));
  color: var(--paper);
  transition: background-color .25s;
}
.topbar.is-solid { background: var(--ink-deep); box-shadow: 0 3px 0 var(--ink); }
.topbar__mark { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--sign); font-size: 20px; text-shadow: 0 2px 0 var(--ink); }
/* the anteater mark carries the same hard ink shadow as the wordmark */
.topbar__mark img { filter: drop-shadow(0 2px 0 var(--ink)); }
.topbar__links { display: flex; gap: 20px; margin-left: auto; font-weight: 700; font-size: 14px; }
.topbar__links a { text-decoration: none; text-shadow: 0 1px 0 var(--ink), 0 0 6px rgba(43, 35, 48, .8); }
.topbar__links a:hover { color: var(--orange); }
.topbar .lang-btn { border: 2px solid var(--paper); border-radius: 0; color: var(--paper); background: transparent; font-family: var(--mono); font-weight: 600; padding: 2px 8px; }
.topbar .lang-btn:hover { background: var(--paper); color: var(--ink); }
.topbar .lang-dropdown { background: var(--paper); border: 3px solid var(--ink); border-radius: 0; box-shadow: 4px 4px 0 var(--ink); }
.topbar .lang-option { color: var(--ink); }
.topbar .lang-option:hover, .topbar .lang-option.active { background: var(--orange); color: var(--ink); }

.switch { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 13px; color: var(--paper); text-shadow: 0 1px 0 var(--ink); }
.switch__track { position: relative; width: 34px; height: 18px; background: var(--plate); border: 2px solid var(--paper); }
.switch__knob { position: absolute; top: 2px; left: 2px; width: 10px; height: 10px; background: var(--paper); transition: transform .15s; }
.switch[aria-pressed="true"] .switch__track { background: var(--orange); }
.switch[aria-pressed="true"] .switch__knob { transform: translateX(16px); }

/* ---------- First screen ---------- */
.split {
  position: relative;
  height: 100svh; min-height: 620px; max-height: 1400px;
  overflow: hidden;
  background: var(--paper);
}
.split__panel { position: absolute; inset: 0; overflow: hidden; }
.split__panel--gyno { clip-path: polygon(0 0, calc(var(--r) * 1% + var(--s) * .5vw) 0, calc(var(--r) * 1% - var(--s) * .5vw) 100%, 0 100%); }
.split__panel--eula {
  clip-path: polygon(calc(var(--r) * 1% + var(--s) * .5vw) 0, 100% 0, 100% 100%, calc(var(--r) * 1% - var(--s) * .5vw) 100%);
  background: var(--ink-deep); text-decoration: none;
}
.split__gutter { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.split__gutter polygon { fill: var(--paper); }
.split__gutter line { stroke: var(--ink); stroke-width: 3px; vector-effect: non-scaling-stroke; }

.keyart {
  position: absolute; top: 0; bottom: 0; left: 0;
  right: calc((100 - var(--r)) * 1% - var(--s) * .5vw);
  overflow: hidden;
  background: var(--wall-dark);
}
.keyart__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.keyart__shade { position: absolute; inset: auto 0 0 0; height: 34%; pointer-events: none; background: linear-gradient(to top, rgba(43, 35, 48, .72), rgba(43, 35, 48, 0)); }

.gyno-hud {
  position: absolute; z-index: 3;
  left: 0; bottom: clamp(18px, 4vh, 48px);
  right: calc((100 - var(--r)) * 1%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 0 clamp(16px, 3vw, 40px);
  pointer-events: none;
}
.gyno-hud > * { pointer-events: auto; }
.gyno-hud__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.ship-tag {
  display: flex; margin: 0;
  background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-1.5deg);
}
.ship-tag__row { margin: 0; display: flex; align-items: baseline; gap: 10px; padding: 6px 14px; font-size: 13px; font-weight: 700; }
.ship-tag__row + .ship-tag__row { border-left: 2px dashed var(--ink); }
.ship-tag__row b { font-family: var(--mono); font-weight: 600; font-size: 16px; }

/* logo rig */
.logo-rig {
  position: relative; display: block;
  width: min(560px, 44vw);
  aspect-ratio: 1872 / 615;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.logo-part { position: absolute; pointer-events: none; will-change: transform, opacity; }
.logo-part img { width: 100%; height: 100%; display: block; }
.logo-part--glow { mix-blend-mode: plus-lighter; }
.logo-shine {
  position: absolute; pointer-events: none; mix-blend-mode: plus-lighter;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .8) 50%, transparent 58%);
  background-size: 300% 100%; background-position: 120% 0;
}
.logo-rig.is-shining .logo-shine { animation: shine 1.1s cubic-bezier(.3, .7, .2, 1); }
@keyframes shine { from { background-position: 120% 0; } to { background-position: -20% 0; } }

/* plates: the logo's plate shape */
.plate {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 22px;
  background: var(--plate); color: var(--orange);
  border: 0;
  font-family: var(--sign); font-size: 17px; text-decoration: none; white-space: nowrap;
  clip-path: var(--plate-shape);
  box-shadow: inset 0 0 0 2px #4d4d5a;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.plate::before, .plate::after { content: ''; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--orange); }
.plate::before { left: 8px; } .plate::after { right: 8px; }
.plate:hover { background: var(--plate-hi); color: #fff; }
.plate:active { transform: translateY(1px); }
.plate--quiet { color: var(--paper); }
.plate__icon { width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.plate__icon--x { --icon: url('../assets/icons/x.svg'); }
.plate__icon--discord { --icon: url('../assets/icons/discord.svg'); }

/* EULA panel: the two heroines, AI above and Organic below */
.eula-art { position: absolute; inset: 0; background: #fff; transition: opacity .45s; }
.eula-art__poster {
  position: absolute; top: 0; right: 0; height: 100%; max-width: none;
  left: calc(var(--r) * 1% - var(--s) * .5vw); width: calc((100 - var(--r)) * 1% + var(--s) * .5vw);
  object-fit: cover; object-position: 50% 50%;
}
.eula-art::after { content: ''; position: absolute; inset: 0 0 auto 0; height: 130px; pointer-events: none; background: linear-gradient(to bottom, rgba(30, 37, 71, .6), rgba(30, 37, 71, 0)); }
.eula-tag { position: absolute; z-index: 1; padding: 3px 10px; border: 2px solid #fff; border-radius: 4px; color: #fff; font-weight: 800; font-size: 13px; }
.eula-tag--ai { top: 74px; right: 18px; background: var(--eula-blue); }
.eula-tag--organic { top: calc(55% + 14px); right: 18px; background: #5fae5a; }


.vnbox {
  --vn-pad: 22px; --vn-pad-left: 26px;
  position: relative; margin: 0;
  background: rgba(30, 37, 71, .88); color: #fff;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 6px;
  padding: var(--vn-pad) 26px 18px var(--vn-pad-left);
}
/* astride the top edge but in the flow, so a name that wraps on a phone pushes the line down instead of covering it */
.vnbox__name {
  display: block; width: fit-content;
  margin: calc(-16px - var(--vn-pad)) 0 calc(var(--vn-pad) - 12px) calc(16px - var(--vn-pad-left));
  padding: 2px 14px; border-radius: 4px;
  background: #fff; color: var(--eula-navy);
  font-weight: 900; font-size: 14px; line-height: 24px; letter-spacing: .02em;
}
.vnbox__text { margin: 0; font-weight: 700; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.6; }
.vnbox__sub { margin: 8px 0 0; font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .9); }
.vnbox__next { position: absolute; right: 14px; bottom: 8px; font-size: 11px; animation: vn-next 1.1s ease-in-out infinite; }
@keyframes vn-next { 50% { transform: translateY(3px); } }
.vnbox--panel {
  --vn-pad: 16px; --vn-pad-left: 18px;
  position: absolute; z-index: 2;
  right: 18px; bottom: clamp(18px, 4vh, 40px);
  width: calc((100 - var(--r)) * 1% - var(--s) * .5vw - 36px);
  min-width: 200px; max-width: 340px;
  padding: var(--vn-pad) 36px 14px var(--vn-pad-left); /* the right side keeps clear of the ▼ cue */
}
.vnbox--panel .vnbox__text { font-size: 15px; line-height: 1.5; }
.vnbox__rating { margin: 2px 0 0; font-size: 13px; font-weight: 700; line-height: 1.5; color: rgba(255, 255, 255, .8); }

/* ---------- Wall + paper ---------- */
.wall {
  position: relative;
  padding: var(--pad) clamp(16px, 4vw, 48px);
  background: var(--wall) url('../assets/textures/grain.png');
}
.sheet, .inquiry {
  position: relative; max-width: 1000px; margin: 0 auto;
  background: var(--paper) url('../assets/textures/fiber.png');
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: clamp(28px, 4vw, 56px) clamp(22px, 4.5vw, 64px) clamp(36px, 5vw, 64px);
  transform: rotate(-.6deg);
}
.sheet__head, .inquiry__head { border-bottom: 3px solid var(--ink); padding-bottom: 14px; margin-bottom: 28px; }
.sheet__title { margin-top: 6px; font-family: var(--sign); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; }
.sheet__body { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: start; }

.clauses { list-style: none; margin: 0; padding: 0; counter-reset: clause; }
.clauses li { counter-increment: clause; padding: 14px 0; border-bottom: 1px solid var(--paper-shade); }
.clauses li:last-child { border-bottom: 0; }
.clauses h3 { font-family: var(--sign); font-size: 19px; }
.clauses h3::before { content: '제' counter(clause) '조('; color: var(--orange-deep); }
.clauses h3::after { content: ')'; color: var(--orange-deep); }
.clauses h3:lang(en)::before { content: 'Article ' counter(clause) ' ('; }
.clauses h3:lang(ja)::before { content: '第' counter(clause) '条（'; }
.clauses h3:lang(zh)::before { content: '第' counter(clause, simp-chinese-informal) '条（'; }
.clauses h3:lang(ja)::after, .clauses h3:lang(zh)::after { content: '）'; }
.clauses p { margin: 6px 0 0; }
.sheet__appendix { margin: 22px 0 0; padding: 14px 210px 0 0; border-top: 3px double var(--ink); } /* clear of the memo */
.sheet__appendix b { font-family: var(--sign); font-weight: 400; margin-right: 8px; }

.unit { position: relative; margin: 8px 0 0; }
.unit img { width: 100%; background: var(--lavender); border: 3px solid var(--ink); padding: 18px 12px 6px; }
.unit__tag {
  position: relative; display: inline-flex; flex-direction: column; gap: 2px;
  margin: -18px 0 0 18px; padding: 10px 16px 10px 30px;
  background: var(--paper); border: 2px solid var(--ink);
  transform: rotate(2.5deg); font-size: 14px;
}
.unit__tag::before { content: ''; position: absolute; left: 10px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--ink); background: var(--wall); }
.unit__tag b { font-family: var(--sign); font-weight: 400; font-size: 18px; }

.stamp {
  position: absolute; display: inline-block;
  padding: 6px 14px 4px;
  font-family: var(--sign); font-size: 26px; line-height: 1.1; color: var(--stamp);
  border: 5px double var(--stamp);
  opacity: .86;
  -webkit-mask: url('../assets/textures/ink-mask.png'); mask: url('../assets/textures/ink-mask.png');
  -webkit-mask-size: 96px; mask-size: 96px;
  pointer-events: none;
}
.stamp--pass { left: -14px; bottom: 74px; transform: rotate(-9deg); }
.stamp--plan { right: 28px; top: 26px; transform: rotate(7deg); font-size: 30px; }

.memo {
  position: absolute; right: clamp(-18px, -1vw, -6px); bottom: -34px;
  margin: 0; padding: 18px 20px 16px; max-width: 250px;
  background: var(--lavender);
  border: 2px solid var(--ink);
  font-family: var(--hand); font-weight: 700; font-size: 21px; line-height: 1.3;
  transform: rotate(3deg);
}
.memo::before { content: ''; position: absolute; left: 50%; top: -12px; width: 76px; height: 22px; margin-left: -38px; background: rgba(247, 242, 236, .75); border: 1px solid rgba(58, 47, 58, .25); transform: rotate(-4deg); }

/* ---------- Floor: production line ---------- */
.floor { position: relative; padding: var(--pad) 0; background: var(--ink-deep) url('../assets/textures/grain.png'); color: var(--paper); overflow: hidden; }
.floor__inner { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.signboard {
  position: relative; display: inline-block;
  padding: 10px 34px 8px; background: var(--plate); color: var(--orange);
  font-family: var(--sign); font-size: clamp(24px, 2.8vw, 34px);
  clip-path: var(--plate-shape); box-shadow: inset 0 0 0 3px #4d4d5a;
}
.signboard::before, .signboard::after { content: ''; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--orange); }
.signboard::before { left: 12px; } .signboard::after { right: 12px; }
.signboard--paper { background: var(--ink); color: var(--paper); box-shadow: none; }
/* departments: the photo frames stay pinned with their prints withheld, plus the org chart */
.depts {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense;
  gap: clamp(18px, 2.4vw, 30px); margin-top: 40px;
}
.dept { position: relative; margin: 0; }
.dept__cover {
  position: relative; display: grid; place-items: center; align-content: center; gap: 14px; height: 100%;
  overflow: hidden; background: var(--ink) center / cover no-repeat;
  border: 6px solid var(--paper); outline: 3px solid var(--ink);
  color: var(--paper);
}
.dept__cover > * { position: relative; z-index: 1; }
.dept__cover .serial { padding: 2px 8px; background: rgba(43, 35, 48, .72); }
/* the baked prints tear now and then: two slices of the same print jump sideways */
.dept__cover::before, .dept__cover::after {
  content: ''; position: absolute; inset: 0; background: inherit; opacity: 0; pointer-events: none;
  animation: tear 5.2s steps(1) infinite;
}
.dept__cover::after { animation-name: tear-b; filter: saturate(2.2) hue-rotate(160deg); mix-blend-mode: screen; }
.dept--ray .dept__cover::before, .dept--ray .dept__cover::after { animation-delay: -1.3s; }
.dept--ranch .dept__cover::before, .dept--ranch .dept__cover::after { animation-delay: -2.6s; }
.dept--explore .dept__cover::before, .dept--explore .dept__cover::after { animation-delay: -3.4s; }
.dept--flame .dept__cover::before, .dept--flame .dept__cover::after { animation-delay: -4.1s; }
@keyframes tear {
  0%, 8%, 100% { opacity: 0; }
  2% { opacity: 1; clip-path: inset(22% 0 61% 0); transform: translateX(-4%); }
  4% { opacity: 1; clip-path: inset(58% 0 30% 0); transform: translateX(6%); }
  6% { opacity: 1; clip-path: inset(9% 0 84% 0); transform: translateX(-2%); }
}
@keyframes tear-b {
  0%, 7%, 100% { opacity: 0; }
  3% { opacity: .6; clip-path: inset(40% 0 47% 0); transform: translateX(3%); }
  5% { opacity: .6; clip-path: inset(70% 0 18% 0); transform: translateX(-5%); }
}
.dept--factory .dept__cover { background-image: url('../assets/gynofactory/teaser/factory.webp'); }
.dept--ray .dept__cover { background-image: url('../assets/gynofactory/teaser/ray.webp'); }
.dept--ranch .dept__cover { background-image: url('../assets/gynofactory/teaser/ranch.webp'); }
.dept--explore .dept__cover { background-image: url('../assets/gynofactory/teaser/explore.webp'); }
.dept--flame .dept__cover { background-image: url('../assets/gynofactory/teaser/flame.webp'); }
.dept--factory { grid-column: 1 / -1; transform: rotate(-.4deg); }
.dept--ray { grid-column: 1 / span 5; transform: rotate(.8deg); }
.dept--ranch { grid-column: 6 / span 7; transform: translateY(10px) rotate(-.5deg); }
.dept--explore { grid-column: 1 / span 7; transform: rotate(.5deg); }
.dept--flame { grid-column: 8 / span 5; transform: translateY(-8px) rotate(-.9deg); }
.dept--factory .dept__cover, .dept--ranch .dept__cover, .dept--explore .dept__cover { aspect-ratio: 16 / 9; }
.dept--ray .dept__cover, .dept--flame .dept__cover { aspect-ratio: 4 / 3; }
.stamp--photo { position: static; font-size: clamp(20px, 2.4vw, 30px); transform: rotate(-7deg); }
.dept--factory .stamp--photo { font-size: clamp(28px, 3.6vw, 44px); }
.dept__tag {
  position: absolute; left: -8px; bottom: 16px;
  display: flex; align-items: baseline; gap: 10px;
  padding: 7px 22px 6px; background: var(--plate); color: var(--orange);
  clip-path: var(--plate-shape); box-shadow: inset 0 0 0 2px #4d4d5a;
}
.dept__tag b { font-family: var(--sign); font-weight: 400; font-size: 19px; }
.dept__tag span { color: var(--paper); font-family: var(--mono); font-size: 13px; }
/* paperwork that is not public yet, redacted the way classified files are: whole words
   under bars of a few fixed lengths, whole clauses as [데이터 말소] / [편집됨] */
.rd { display: inline-block; height: .8em; vertical-align: -.06em; background: currentColor; }
.rd--s { width: 1.9em; } .rd--m { width: 3.1em; } .rd--l { width: 4.3em; }
.expunged { font-family: var(--mono); font-weight: 600; font-size: .9em; letter-spacing: .02em; }
.clearance { margin: -2px 0 6px; color: var(--stamp); font-weight: 600; }
.org {
  position: relative; max-width: 940px; margin: clamp(40px, 5vw, 64px) auto 0;
  padding: clamp(24px, 3.4vw, 44px) clamp(20px, 4vw, 52px);
  background: var(--paper) url('../assets/textures/fiber.png'); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 8px 8px 0 #000;
  transform: rotate(.5deg);
}
.org__head { border-bottom: 3px solid var(--ink); padding-bottom: 12px; margin-bottom: 8px; }
.org__title { margin-top: 4px; font-family: var(--sign); font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; }
.org__clauses { list-style: none; margin: 0 0 6px; padding: 0; }
.org__clauses li { padding: 4px 0; line-height: 1.7; }
.org__clauses b { font-family: var(--sign); font-weight: 400; }
.org__rows { margin: 0; border-top: 1px solid var(--paper-shade); }
.org__rows > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 4px 18px; padding: 13px 0; border-bottom: 1px solid var(--paper-shade); }
.org__rows > div:last-child { border-bottom: 0; }
.org__rows dt { font-family: var(--sign); font-size: 19px; line-height: 1.5; }
.org__rows dt small { display: block; font-family: var(--body); font-weight: 700; font-size: 12px; line-height: 1.5; color: var(--wall-dark); }
.org__rows dd { margin: 0; line-height: 1.7; }
.stamp--org { position: absolute; right: clamp(16px, 3vw, 36px); top: clamp(16px, 2.4vw, 28px); transform: rotate(7deg); }

/* ---------- Notice + label ---------- */
.wall--board { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.wall--board > * { max-width: 640px; }
.notice {
  position: relative; justify-self: end; width: 100%;
  background: var(--paper) url('../assets/textures/fiber.png');
  border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  padding: 46px clamp(22px, 3.5vw, 44px) 36px;
  transform: rotate(.7deg);
}
.notice__title { margin: 8px 0 22px; font-family: var(--sign); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.3; padding-right: 90px; }
.notice__terms { display: grid; grid-template-columns: 56px 1fr; gap: 10px 14px; margin: 0; }
.notice__terms dt { font-family: var(--sign); font-size: 16px; }
.notice__terms dd { margin: 0; }
.tape { position: absolute; display: block; height: 26px; }
.tape--hazard { left: -22px; top: 14px; width: 150px; transform: rotate(-24deg); border: 2px solid var(--ink); background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, var(--ink) 12px 24px); }

.label {
  position: relative; justify-self: start; width: min(100%, 380px); margin-top: 80px;
  background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-2deg);
}
.label__head { display: flex; align-items: baseline; justify-content: space-between; padding: 10px 16px; background: var(--ink); color: var(--paper); }
.label__head b { font-family: var(--sign); font-weight: 400; font-size: 26px; }
.label__rows { display: grid; grid-template-columns: 1fr auto; margin: 0; padding: 10px 16px; }
.label__rows dt { padding: 7px 0; border-bottom: 1px dashed var(--ink); font-weight: 700; font-size: 14px; }
.label__rows dd { margin: 0; padding: 7px 0; border-bottom: 1px dashed var(--ink); font-family: var(--mono); font-weight: 600; text-align: right; }
.label__code { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 16px 10px; }
.barcode { display: block; width: 100%; height: 54px; }
.label__fine { margin: 0; padding: 8px 16px 12px; border-top: 3px solid var(--ink); font-size: 12px; font-weight: 700; }

/* ---------- Comparison (EULA: one image, two makers) ---------- */
.compare { position: relative; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; transition: --cut .7s cubic-bezier(.3, .7, .2, 1); }
.compare.is-dragging { transition: none; }
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__img--ai { clip-path: inset(0 0 0 var(--cut)); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(30, 37, 71, .45); pointer-events: none; }
.compare__handle {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; background: #fff; border: 2px solid var(--eula-navy);
  display: grid; place-items: center; font-style: normal;
}
.compare__handle::before { content: '◀ ▶'; font-size: 11px; letter-spacing: 2px; color: var(--eula-navy); }

/* ---------- EULA scene ---------- */
.eula-scene { position: relative; background: var(--eula-navy); color: #fff; }
.eula-scene__stage { position: relative; height: min(76vh, 760px); min-height: 460px; overflow: hidden; }
.compare--scene { position: absolute; inset: 0; cursor: ew-resize; }
.compare--scene .compare__img { object-position: 50% 0%; }
.compare--scene:focus-visible { outline: 3px solid var(--eula-pink); outline-offset: -6px; }
/* the two heroines are different girls: Organic stands left, AI stands right, as on the capsule */
.compare--scene[data-duo] { background: linear-gradient(90deg, #fff 50%, #1e2547 50%); }
.compare--scene[data-duo] .compare__img--organic { translate: -24% 0; }
.compare--scene[data-duo] .compare__img--ai { translate: 24% 0; clip-path: inset(0 0 0 calc(var(--cut) - 24%)); }
/* store screenshots show whole, with no comparison */
.compare--scene[data-shot] { cursor: default; background: var(--eula-navy); }
.compare--scene[data-shot] .compare__img { object-fit: contain; object-position: 50% 50%; }
.compare--scene[data-shot] .compare__img--ai, .compare--scene[data-shot] .compare__line { display: none; }
.eula-toolbar {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "modes actions" "cg cg";
  align-items: center; gap: 12px 20px;
  padding: 10px 12px; border-radius: 6px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .22);
}
.eula-toolbar__group { display: flex; align-items: center; gap: 8px; min-width: 0; }
.eula-modes { grid-area: modes; }
.eula-cg { grid-area: cg; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.eula-actions { grid-area: actions; justify-content: flex-end; }
.mode {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  border: 2px solid transparent; border-radius: 6px; color: #fff; font-weight: 800; font-size: 15px; cursor: pointer;
}
.mode--organic { background: #3f803b; }
.mode--ai { background: #456dcc; }
.mode:hover, .mode[aria-pressed="true"] { border-color: #fff; }
.eula-cg__label { flex: none; font-weight: 900; font-size: 13px; color: rgba(255, 255, 255, .75); }
/* positioned so the thumbnails' hidden labels scroll inside the strip instead of widening the page on phones */
.scenes { position: relative; list-style: none; flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin: 0; padding: 0; }
.scene { display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 2px solid rgba(255, 255, 255, .35); border-radius: 4px; background: #000; overflow: hidden; cursor: pointer; }
.scene img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.scene:hover { border-color: rgba(255, 255, 255, .8); }
.scene[aria-pressed="true"] { border-color: var(--eula-pink); box-shadow: 0 0 0 2px var(--eula-pink); }
/* other stores sit one step below the Steam button: plain text links */
.also-on { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 14px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.also-on a { display: inline-flex; align-items: center; min-height: 32px; color: #fff; font-weight: 700; text-underline-offset: 3px; }
.also-on a:hover { color: var(--eula-pink); }
.also-on--demo { display: block; margin-top: 10px; color: #6b4a58; }
.also-on--demo a { color: #b5446a; }
.eula-scene__band { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 1120px; margin: 0 auto; padding: 30px clamp(16px, 4vw, 48px) 46px; }
.tool {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px;
  border: 2px solid rgba(255, 255, 255, .55); border-radius: 6px; background: transparent; color: #fff;
  font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.tool:hover, .tool:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .1); }
.tool--primary { background: #fff; color: var(--eula-navy); border-color: #fff; }
.tool--primary:hover, .tool--primary:focus-visible { background: #e8ecff; }
.tool__icon { width: 16px; height: 16px; background: currentColor; flex: none; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.tool__icon--steam { --icon: url('../assets/icons/steam.svg'); }
.tool__icon--play { --icon: url('../assets/icons/play.svg'); }
.tool__icon--leaf { --icon: url('../assets/icons/leaf.svg'); }
.tool__icon--robot { --icon: url('../assets/icons/robot.svg'); }

/* ---------- EULA Demo ---------- */
.demo { padding: var(--pad) clamp(16px, 4vw, 48px); background: #fff3f6; color: #4a2b3a; }
.demo__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.demo__capsule { width: 100%; border: 3px solid #fff; border-radius: 6px; box-shadow: 0 0 0 2px var(--demo-pink); }
.demo__tag { margin: 0; color: #b5446a; font-weight: 800; font-size: 14px; }
.demo__title { margin-top: 6px; font-weight: 900; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.15; }
.demo__title span { font-size: .6em; color: #d4577e; }
.demo__body { margin: 16px 0 24px; }
.demo__cta { display: inline-block; padding: 11px 20px; border-radius: 4px; background: #b5446a; color: #fff; font-weight: 800; text-decoration: none; }
.demo__cta:hover, .demo__cta:focus-visible { background: #9c3a5b; }

/* Flipper: EULA's in-game social app, carrying what streamers called the games */
.flipper { padding: var(--pad) clamp(16px, 4vw, 48px); background: var(--eula-navy); color: #fff; }
.flipper__window { max-width: 1120px; margin: 0 auto; border: 2px solid rgba(255, 255, 255, .22); border-radius: 6px; background: rgba(0, 0, 0, .18); overflow: clip; }
.flipper__bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.flipper__logo { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--eula-blue); color: #fff; font-weight: 900; font-size: 17px; }
.flipper__app { font-weight: 900; font-size: 19px; }
.flipper__tabs { display: flex; margin-left: auto; }
.flipper__tab { position: relative; padding: 8px 16px; border: 0; background: none; color: var(--steel); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.flipper__tab:hover { color: #fff; }
.flipper__tab[aria-pressed="true"] { color: #fff; }
.flipper__tab[aria-pressed="true"]::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 2px; background: var(--eula-blue); }
.flipper__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.flipper__main { padding: 26px clamp(16px, 3vw, 32px) 30px; border-right: 1px solid rgba(255, 255, 255, .14); }
.flipper__title { font-weight: 900; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; }
.flipper__lede { margin: 8px 0 18px; color: var(--steel); }
.flipper__feed { list-style: none; margin: 0; padding: 0; }
.flip { border-top: 1px solid rgba(255, 255, 255, .12); }
.flip[hidden] { display: none; }
.flip__link {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 4px;
  padding: 16px 8px; color: #fff; text-decoration: none;
}
.flip__link:hover, .flip__link:focus-visible { background: rgba(255, 255, 255, .05); }
.flip__link:focus-visible { outline-offset: -3px; }
.flip__avatar { grid-row: 1 / span 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--eula-blue); color: #fff; font-weight: 900; font-size: 18px; }
.flip:nth-child(4n+2) .flip__avatar { background: var(--eula-pink); }
.flip:nth-child(4n+3) .flip__avatar { background: var(--lavender); color: var(--eula-navy); }
.flip:nth-child(4n+4) .flip__avatar { background: var(--steel); }
.flip__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.flip__name { font-weight: 800; }
.flip__meta { color: var(--steel); font-size: 13px; }
.flip__text { font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; }
.flip__foot { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--steel); font-size: 13px; }
.flip__game { font-weight: 800; }
.flip__game--eula { color: var(--eula-blue); }
.flip__game--demo { color: var(--eula-pink); }
.flipper__more { margin-top: 10px; width: 100%; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; background: none; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.flipper__more:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.flipper__more[hidden] { display: none; }
.flipper__trends { align-self: start; position: sticky; top: 64px; padding: 26px 22px 30px; }
.flipper__trends-title { font-weight: 900; font-size: 18px; }
.trends { margin: 12px 0 0; }
.trend { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.trend dt { font-weight: 900; font-size: 17px; }
.trend dt span { display: block; color: var(--steel); font-weight: 600; font-size: 12px; }
.trend dd { margin: 2px 0 0; color: var(--steel); font-size: 13px; }
.flipper__asof { margin: 6px 0 0; color: rgba(255, 255, 255, .62); font-family: var(--mono); font-size: 12px; }

/* ---------- Board ---------- */
.board { padding: var(--pad) clamp(16px, 4vw, 48px); background: var(--paper) url('../assets/textures/fiber.png'); }
.board__inner { max-width: 900px; margin: 0 auto; }
.posts { width: 100%; margin-top: 28px; border-collapse: collapse; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.posts td { padding: 14px 10px; border-bottom: 1px solid var(--paper-shade); vertical-align: baseline; }
.posts td:first-child { width: 120px; }
.posts td:nth-child(2) { width: 130px; font-weight: 700; font-size: 14px; color: var(--wall-dark); }
.posts a { font-weight: 700; text-decoration: none; }
.posts a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Inquiry form ---------- */
.wall--contact { padding-bottom: calc(var(--pad) + 20px); }
.inquiry { max-width: 820px; transform: none; }
.inquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.field--wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px;
  background: #fff; border: 2px solid var(--ink); border-radius: 0;
  font-weight: 400; font-size: 16px; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 0; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry__foot { display: flex; align-items: center; gap: 18px; margin-top: 24px; flex-wrap: wrap; }
.inquiry__status { margin: 0; font-weight: 700; font-size: 14px; }
.inquiry__status a, .inquiry__nojs a { color: inherit; }
.inquiry__copy { margin: 4px 0 0; padding: 2px 10px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.inquiry__copy:hover { background: var(--lavender); }
.inquiry__nojs { margin: 0; font-weight: 700; }
.field [aria-invalid="true"] { border-color: var(--stamp); box-shadow: inset 0 0 0 1px var(--stamp); }
.stamp--received { right: 34px; bottom: 30px; transform: rotate(-8deg) scale(1.6); font-size: 34px; opacity: 0; transition: transform .2s cubic-bezier(.5, 1.6, .5, 1), opacity .1s; }
.inquiry.is-sent .stamp--received { opacity: .86; transform: rotate(-8deg) scale(1); }

/* ---------- Staff ---------- */
.staff { padding: var(--pad) 16px; background: var(--ink-deep); color: var(--paper); text-align: center; }
.staff__title { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .3em; color: rgba(247, 242, 236, .6); }
.staff__roll { margin: 34px 0 0; display: grid; gap: 26px; }
.staff__roll dt { font-size: 13px; color: rgba(247, 242, 236, .6); }
.staff__roll dd { margin: 2px 0 0; font-family: var(--sign); font-size: 30px; }
.staff__studio { margin: 56px 0 0; display: flex; justify-content: center; align-items: center; gap: 10px; font-family: var(--sign); font-size: 24px; }

.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(16px, 3vw, 40px); background: #221c26; color: rgba(247, 242, 236, .6); font-family: var(--mono); font-size: 12px; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 8px; }
.footer a { text-decoration: none; }
/* finger-sized targets for the small footer links and the sound switch */
.footer nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; padding: 0 6px; }
.footer p a { display: inline-block; padding: 6px 0; }
.footer a:hover { color: var(--orange); }

/* ---------- Trailer ---------- */
.trailer { width: min(1100px, 92vw); padding: 0; border: 3px solid var(--paper); background: #000; overflow: visible; }
.trailer::backdrop { background: rgba(26, 21, 30, .9); }
.trailer video { width: 100%; }
.trailer__error { margin: 0; padding: 14px 18px; background: var(--ink); color: var(--paper); font-weight: 700; }
.trailer__error a { color: var(--orange); }
.trailer__close { position: absolute; top: -46px; right: -3px; width: 40px; height: 40px; border: 3px solid var(--paper); background: var(--ink); color: var(--paper); font-size: 22px; cursor: pointer; }

/* ---------- Roll-up shutter: the factory opens on first view ---------- */
.shutter {
  position: absolute; z-index: 2; top: 0; left: 0; height: 100%;
  right: calc((100 - var(--r)) * 1% - var(--s) * .5vw);
  background: repeating-linear-gradient(to bottom, #6a5d76 0 3px, #5a4e66 3px 30px, #3a2f3a 30px 33px);
  border-bottom: 6px solid var(--ink);
  will-change: transform;
}
.shutter i { position: absolute; left: 50%; bottom: 18px; width: 120px; height: 14px; margin-left: -60px; background: var(--plate); border: 3px solid var(--ink); }
.shutter.is-open { display: none; }



/* Intro: HUD and EULA wait for the factory to open */
.gyno-hud .ship-tag, .gyno-hud__actions, .vnbox--panel { transition: opacity .35s, translate .35s; }
.is-intro .gyno-hud .ship-tag, .is-intro .gyno-hud__actions { opacity: 0; translate: 0 10px; }
.is-intro .vnbox--panel { opacity: 0; translate: 12px 0; }
.is-intro .eula-art { opacity: 0; }
.is-intro .logo-rig { opacity: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .flipper__body { grid-template-columns: 1fr; }
  .depts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dept--ray, .dept--ranch, .dept--explore, .dept--flame { grid-column: auto; }
  .dept--ray .dept__cover, .dept--ranch .dept__cover, .dept--explore .dept__cover, .dept--flame .dept__cover { aspect-ratio: 4 / 3; }
  .flipper__main { border-right: 0; }
  .flipper__trends { position: static; order: -1; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .trends { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .sheet__body { grid-template-columns: 1fr; }
  .unit { max-width: 360px; }
  .wall--board { grid-template-columns: 1fr; }
  .notice, .label { justify-self: center; }
  .label { margin-top: 10px; }
  .demo__inner { grid-template-columns: 1fr; }
  .inquiry__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .flipper__bar { flex-wrap: wrap; }
  .flipper__tabs { width: 100%; margin-left: 0; }
  .flipper__tab { flex: 1; }
  .flip__text { font-size: 16px; }
  .eula-toolbar { grid-template-columns: 1fr; grid-template-areas: "modes" "actions" "cg"; }
  .eula-modes .mode { flex: 1; }
  .eula-actions { flex-wrap: wrap; }
  .eula-actions .tool { flex: 1; justify-content: center; padding: 0 8px; }
  .eula-cg { align-items: flex-start; }
  .eula-cg__label { padding-top: 4px; }
  .scenes { grid-auto-columns: 38%; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .scene { scroll-snap-align: start; }
  :root { --r: 70; --s: 0; }
  .split__panel--gyno { clip-path: polygon(0 0, 100% 0, 100% calc(var(--r) * 1%), 0 calc(var(--r) * 1%)); }
  .split__panel--eula { clip-path: polygon(0 calc(var(--r) * 1%), 100% calc(var(--r) * 1%), 100% 100%, 0 100%); }
  .keyart, .shutter { right: 0; bottom: calc((100 - var(--r)) * 1%); height: auto; }
  .gyno-hud { right: 0; bottom: calc((100 - var(--r)) * 1% + 16px); }
  .eula-art__poster { left: 0; width: 100%; top: calc(var(--r) * 1%); height: calc((100 - var(--r)) * 1%); object-position: 50% 18%; }
  .eula-tag { display: none; }
  .vnbox--panel { display: none; }
  .topbar__links { display: none; }
  .switch { margin-left: auto; }
  .logo-rig { width: min(520px, 86vw); }
  .ship-tag__row { padding: 4px 10px; font-size: 12px; white-space: nowrap; justify-content: space-between; }
  .ship-tag { flex-direction: column; }
  .ship-tag__row + .ship-tag__row { border-left: 0; border-top: 2px dashed var(--ink); }
  .plate { height: 40px; padding: 0 18px; font-size: 15px; }
  .memo { position: relative; right: auto; bottom: auto; margin: 28px 0 0 auto; }
  .sheet__appendix { padding-right: 0; }
  .depts { grid-template-columns: 1fr; }
  .dept { transform: none; }
  .dept__tag { left: -4px; bottom: 12px; padding: 6px 18px 5px; }
  .org__rows > div { grid-template-columns: 1fr; }
  .org__head { padding-right: 76px; }
  .stamp--org { top: 12px; right: 10px; }
  .posts td:nth-child(2) { display: none; }
  .footer { flex-direction: column; }
}
/* phones held sideways: the first screen fits the short viewport instead of pushing the logo below the fold */
@media (orientation: landscape) and (max-height: 520px) {
  .split { min-height: 340px; }
  .gyno-hud { gap: 8px; bottom: 12px; }
  .logo-rig { width: min(360px, 42vw); }
  .ship-tag__row { padding: 3px 10px; font-size: 12px; }
  .ship-tag__row b { font-size: 14px; }
  .plate { height: 36px; padding: 0 16px; font-size: 14px; }
  .vnbox--panel { bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .dept__cover::before, .dept__cover::after { animation: none; }
  .vnbox__next { animation: none; }
}
