@charset "UTF-8";

/* =========================================================
   lysraivrekviper.com — an atlas of six free browser games
   Design tokens
   ========================================================= */

:root {
  /* ink & paper */
  --ink:        #131838;
  --ink-soft:   #46506e;
  --paper:      #edf4f6;
  --paper-2:    #dce8ec;
  --navy:       #101a4f;
  --sea:        #cfe6ef;
  --white:      #ffffff;

  /* genres */
  --arcade:     #e4603f;
  --arcade-ink: #b0402a;
  --racing:     #2b44c0;
  --racing-ink: #2b44c0;
  --action:     #13664f;
  --action-ink: #13664f;
  --puzzle:     #e7b34a;
  --puzzle-ink: #6e4c00;
  --casual:     #2a9fc4;
  --casual-ink: #136b86;

  /* rules */
  --rule:       rgba(19, 24, 56, .14);
  --rule-soft:  rgba(19, 24, 56, .12);
  --rule-faq:   rgba(19, 24, 56, .16);
  --rule-dark:  rgba(207, 230, 239, .22);

  /* shadows */
  --sh-card:    0 6px 18px rgba(16, 26, 79, .10);
  --sh-card-up: 0 24px 48px rgba(16, 26, 79, .18);
  --sh-mount:   0 10px 24px rgba(16, 26, 79, .18);
  --sh-panel:   0 8px 12px rgba(16, 26, 79, .12);
  --sh-tile:    0 4px 6px rgba(16, 26, 79, .08);

  /* metrics */
  --gutter:     72px;
  --stage:      1368px;
  --inner:      1224px;

  --ease:       cubic-bezier(.22, .61, .36, 1);
}

/* =========================================================
   Reset
   ========================================================= */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Albert Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

button { font: inherit; color: inherit; }

::selection { background: var(--arcade); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   Type
   ========================================================= */

.display,
.h1, .h2, .h3, .h4, .h5 {
  font-family: Gloock, "Times New Roman", Georgia, serif;
  font-weight: 400;
  font-style: normal;
}

.h1 { font-size: 72px; line-height: 1;    letter-spacing: -.36px; }
.h2 { font-size: 54px; line-height: 1.06; letter-spacing: -.162px; }
.h3 { font-size: 40px; line-height: 1.06; letter-spacing: -.12px; }
.h4 { font-size: 30px; line-height: 1.16; }
.h5 { font-size: 28px; line-height: 1.16; }

.lede   { font-size: 20px; line-height: 1.62; }
.meta   { font-size: 14px; line-height: 1.55; font-weight: 500; }
.kicker {
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: 1.04px;
  text-transform: uppercase;
}

.link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-position: from-font;
  text-decoration-thickness: from-font;
}
.link:hover { text-decoration-thickness: 2px; }

/* =========================================================
   Layout helpers
   ========================================================= */

.band {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--paper);
}

.wrap {
  position: relative;
  z-index: 2;
  max-width: var(--stage);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* decorative stage pinned to the 1368px design grid */
.deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.deco__stage {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--stage);
  height: 100%;
  margin-left: calc(var(--stage) / -2);
}
.deco img { position: absolute; max-width: none; }

.stipple {
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/stipple.png");
  background-size: 256px 256px;
  background-position: top left;
  background-repeat: repeat;
}
.stipple--22 { opacity: .22; }
.stipple--25 { opacity: .25; }
.stipple--30 { opacity: .30; }
.stipple--35 { opacity: .35; }
.stipple--40 { opacity: .40; }
.stipple--45 { opacity: .45; }
.stipple--50 { opacity: .50; }

/* double hairline "plate frame" */
.plate-frame { position: relative; }
.plate-frame::before,
.plate-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1.5px solid currentColor;
  opacity: .7;
}
.plate-frame::before { inset: 10px; }
.plate-frame::after  { inset: 15px; border-width: .8px; }

/* section rhythm */
.section        { padding-block: 112px; }
.section--tight { padding-block: 96px; }

.section-head {
  max-width: 704px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-head + * { margin-top: 48px; }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 24px;
}

.site-nav {
  display: flex;
  gap: 36px;
  width: 320px;
}
.site-nav--right { justify-content: flex-end; }

.site-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: transparent;
  transition: background 160ms var(--ease);
}
.site-nav a:hover::after { background: rgba(228, 96, 63, .45); }
.site-nav a[aria-current="page"] { font-weight: 700; }
.site-nav a[aria-current="page"]::after { background: var(--arcade); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; }
.brand span {
  font-family: Gloock, Georgia, serif;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -.13px;
}

/* =========================================================
   Hero (home)
   ========================================================= */

.hero {
  position: relative;
  min-height: 800px;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__specimens {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--stage);
  height: 100%;
  margin-left: calc(var(--stage) / -2);
  z-index: 1;
  pointer-events: none;
}
.hero__specimens img { position: absolute; max-width: none; }
.hero__rings  { left: 575px; top: -150px; width: 900px; height: 900px; }
.hero__octopus {
  left: 690px; top: -44px; width: 660px; height: 685px;
  object-fit: contain;
  filter: drop-shadow(0 33px 59px rgba(16, 26, 79, .35));
}
.hero__urchin {
  left: 572px; top: 545px; width: 190px; height: 190px;
  object-fit: contain;
  transform: rotate(-8deg);
  filter: drop-shadow(0 10px 17px rgba(16, 26, 79, .35));
}
.hero__starfish {
  left: 1097px; top: 596px; width: 250px; height: 245px;
  object-fit: contain;
  transform: rotate(14deg);
  filter: drop-shadow(0 13px 23px rgba(16, 26, 79, .35));
}
.hero__frame {
  position: absolute;
  inset: 28px;
  border: 1.5px solid var(--sea);
  opacity: .45;
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: .8px solid var(--sea);
}

.hero .wrap { padding-top: 150px; padding-bottom: 64px; }

.hero__text {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero__text h1 {
  font-family: Gloock, Georgia, serif;
  font-weight: 400;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -.4px;
}
.hero__text p { color: var(--sea); font-size: 20px; line-height: 1.56; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  padding-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--arcade);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}
.btn:hover { background: #ef6f4e; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16, 26, 79, .28); }

.btn--ink   { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1d2450; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: rgba(19, 24, 56, .06); box-shadow: none; }

.hero__actions .link { color: #fff; font-size: 17px; }

.note-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--sea);
  font-size: 14px;
  line-height: 1.62;
}
.note-line::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  background: var(--arcade);
  border-radius: 50%;
  margin-top: 7px;
}

/* =========================================================
   Plate cards
   ========================================================= */

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

.plate-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(19, 24, 56, .1);
  border-radius: 4px;
  box-shadow: var(--sh-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 240ms var(--ease), border-color 240ms var(--ease), transform 240ms var(--ease);
}
.plate-card:hover,
.plate-card:focus-visible {
  box-shadow: var(--sh-card-up);
  border-color: var(--accent, var(--arcade));
  transform: translateY(-3px);
}
.plate-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.mat {
  position: relative;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--accent, var(--arcade));
}
.mat__rings {
  position: absolute;
  left: -21px;
  top: -72px;
  width: 435px;
  height: 435px;
  max-width: none;
}
.mat__no {
  position: absolute;
  left: 18px;
  top: 16px;
  z-index: 2;
}

/* mounted cover: white mount + hairline window */
.mount {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 10px;
  box-shadow: var(--sh-mount);
  flex: none;
}
.mount__window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(19, 24, 56, .18);
  width: 189px;
  height: 189px;
}
.mount__window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease-out;
}
.plate-card:hover .mount__window img,
.plate-card:focus-visible .mount__window img { transform: scale(1.08); }

.plate-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 26px;
}
.plate-card__body h3 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.16; }
.plate-card:hover .plate-card__body h3,
.plate-card:focus-visible .plate-card__body h3 { text-decoration: underline; }
.plate-card__desc    { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.plate-card__devices { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.plate-card__more {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-ink, var(--arcade-ink));
  text-decoration: underline;
  text-underline-position: from-font;
}

.genre-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .78px;
  text-transform: uppercase;
  color: var(--accent-ink, var(--arcade-ink));
}
.genre-tag::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent, var(--arcade));
}

/* genre palettes */
.g-arcade { --accent: var(--arcade); --accent-ink: var(--arcade-ink); }
.g-racing { --accent: var(--racing); --accent-ink: var(--racing-ink); }
.g-action { --accent: var(--action); --accent-ink: var(--action-ink); }
.g-puzzle { --accent: var(--puzzle); --accent-ink: var(--puzzle-ink); }
.g-casual { --accent: var(--casual); --accent-ink: var(--casual-ink); }

/* mats whose plate number sits on a light field keep ink text */
.mat--light .mat__no { color: var(--ink); }
.mat--dark  .mat__no { color: #fff; }

/* =========================================================
   Section Y — cover artworks
   ========================================================= */

.band--arcade { background: var(--arcade); }
.band--action { background: var(--action); color: #fff; }
.band--puzzle { background: var(--puzzle); }
.band--paper2 { background: var(--paper-2); }
.band--navy   { background: var(--navy); color: #fff; }

.artworks {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px 33px;
}
.artwork {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.artwork .mount { padding: 8px; }
.artwork .mount__window { width: 100%; height: auto; aspect-ratio: 1; }
.artwork__label { font-size: 14px; font-weight: 600; }
.artwork:hover .artwork__label { text-decoration: underline; }
.artwork:hover .mount__window img { transform: scale(1.06); }

/* =========================================================
   Section A — about split
   ========================================================= */

.split {
  display: flex;
  align-items: center;
  gap: 48px;
}
.split__text {
  flex: 0 1 704px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.split__text p { font-size: 19px; line-height: 1.62; }
.split__figure {
  position: relative;
  flex: 0 0 496px;
  height: 360px;
}
.split__figure img { position: absolute; max-width: none; }
.split__rings   { left: 68px; top: 0; width: 360px; height: 360px; }
.split__seahorse {
  left: 146px; top: 30px; width: 170px; height: 313px;
  object-fit: contain;
  transform: rotate(6deg);
  filter: drop-shadow(0 9px 15px rgba(16, 26, 79, .35));
}

/* =========================================================
   Section D — time brackets
   ========================================================= */

.brackets { display: flex; }
.bracket {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: 8px;
}
.bracket + .bracket {
  border-left: 1px solid rgba(207, 230, 239, .35);
  padding-inline: 32px;
}
.bracket h3 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 32px; line-height: 1.16; }
.bracket > p { color: var(--sea); font-size: 16px; line-height: 1.62; }

.mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
  text-decoration: none;
  color: inherit;
}
.mini .mount { padding: 4px; }
.mini .mount__window { width: 56px; height: 56px; }
.mini__text { min-width: 0; }
.mini__text strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-position: from-font;
}
.mini__text em {
  display: block;
  margin-top: 4px;
  font-style: normal;
  color: var(--sea);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .72px;
  text-transform: uppercase;
}
.mini:hover .mount__window img { transform: scale(1.06); }

/* =========================================================
   Section C — genre key
   ========================================================= */

.genre-key { border-bottom: 1px solid var(--rule); }
.genre-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 26px;
  border-top: 1px solid var(--rule);
}
.genre-row__name {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 288px;
  flex: none;
}
.genre-row__name::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.genre-row__name h3 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.16; }
.genre-row__desc { flex: 0 0 496px; font-size: 16px; line-height: 1.62; }
.genre-row__links {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.genre-row__links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-position: from-font;
}

/* =========================================================
   CTA band (contact)
   ========================================================= */

.cta__text {
  max-width: 704px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta__text p { font-size: 19px; line-height: 1.62; }
.cta__mail {
  font-family: Gloock, Georgia, serif;
  font-weight: 400;
  font-size: clamp(22px, 5.2vw, 40px);
  line-height: 1.05;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.cta__mail:hover { text-decoration: underline; }
.cta__urchin {
  left: 890px; top: 60px; width: 340px; height: 339px;
  object-fit: contain;
  transform: rotate(10deg);
  filter: drop-shadow(0 17px 31px rgba(16, 26, 79, .35));
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-layout { display: flex; gap: 128px; align-items: flex-start; }
.faq-layout > h2 { flex: 0 0 392px; }
.faq { flex: 0 1 704px; }
.faq__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 22px;
  border-top: 1px solid var(--rule-faq);
}
.faq__item:first-child { border-top: 0; padding-top: 0; }
.faq__item h3 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 22px; line-height: 1.16; }
.faq__item p  { color: var(--ink-soft); font-size: 16px; line-height: 1.62; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer { padding-top: 88px; padding-bottom: 40px; }
.site-footer .wrap > * + * { margin-top: 48px; }

.footer-head { max-width: 600px; display: flex; flex-direction: column; gap: 16px; }
.footer-head .brand img { width: 34px; height: 34px; }
.footer-head p { color: var(--sea); font-size: 17px; line-height: 1.62; }

.footer-grid { display: flex; gap: 48px; align-items: flex-start; }
.footer-grid h2 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.16; }

.footer-plates { flex: 0 0 808px; display: flex; flex-direction: column; gap: 16px; }
.footer-plates ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-plates li { border-top: 1px solid var(--rule-dark); padding-block: 14px; }
.footer-plates .kicker { color: var(--sea); }
.footer-plates a {
  display: block;
  margin-top: 3px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-position: from-font;
}

.footer-site { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-site li { border-top: 1px solid var(--rule-dark); }
.footer-site a {
  display: block;
  padding-block: 10px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-position: from-font;
}

.footer-base {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  font-size: 14px;
}
.footer-base__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
.footer-base__links a { text-decoration: underline; text-underline-position: from-font; }
.footer-base__legal { width: 600px; text-align: right; display: flex; flex-direction: column; gap: 4px; }
.footer-base__legal strong { font-weight: 600; }
.footer-base__legal span { color: var(--sea); }

/* =========================================================
   Inner page head
   ========================================================= */

.page-head {
  position: relative;
  padding-top: 48px;
  padding-bottom: 88px;
  overflow: hidden;
}
.page-head .wrap > * + * { margin-top: 24px; }
.page-head h1 { max-width: 808px; }
.page-head__lede { max-width: 704px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 14px;
}
.breadcrumb a { text-decoration: underline; text-underline-position: from-font; }
.breadcrumb span[aria-current] { font-weight: 600; }
.breadcrumb .sep { opacity: .7; }

/* light heads (orange / gold / cyan / paper): ink text */
.head--ink { color: var(--ink); }
.head--ink .breadcrumb,
.head--ink .page-head__lede,
.head--ink .meta { color: var(--ink); }

/* dark heads (blue / green / navy): white text */
.head--light { color: #fff; }
.head--light .breadcrumb,
.head--light .page-head__lede,
.head--light .meta { color: var(--sea); }
.head--light .breadcrumb span[aria-current] { color: #fff; }

.page-head__rings { left: 848px; top: -200px; width: 720px; height: 720px; }

.plate-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.plate-meta .genre-tag { color: inherit; }
.plate-meta .genre-tag::before { background: currentColor; }

.page-head__cover {
  position: absolute;
  left: 916px;
  top: 37px;
  transform: rotate(-3deg);
  z-index: 1;
}
.page-head__cover .mount { padding: 14px; }
.page-head__cover .mount__window { width: 332px; height: 332px; }

/* =========================================================
   Plate key (game guide facts)
   ========================================================= */

.plate-key-band { padding-top: 56px; padding-bottom: 24px; }

.plate-key {
  position: relative;
  display: flex;
  gap: 40px;
  background: #fff;
  padding: 40px 44px;
  box-shadow: var(--sh-panel);
  color: var(--accent);
}
.plate-key > * { position: relative; z-index: 1; }

.plate-key__facts {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--ink);
}
.plate-key__facts h2 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.16; }
.plate-key__facts dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}
.plate-key__facts div {
  border-top: 1px solid var(--rule-soft);
  padding: 14px 20px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plate-key__facts dt { color: var(--ink-soft); }
.plate-key__facts dd { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.4; }

.margin-note {
  flex: 0 0 300px;
  border-left: 1px solid var(--rule);
  padding-left: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink);
}
.margin-note .kicker { color: var(--accent-ink); }
.margin-note__body  { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.margin-note blockquote {
  margin: 0;
  font-family: Gloock, Georgia, serif;
  font-size: 21px;
  line-height: 1.28;
}
.margin-note cite { font-style: normal; color: var(--ink-soft); font-size: 13px; }

/* =========================================================
   Guide body
   ========================================================= */

.guide { display: flex; gap: 128px; align-items: flex-start; padding-top: 56px; padding-bottom: 112px; }
.guide__text { flex: 0 1 704px; display: flex; flex-direction: column; gap: 56px; }
.guide__aside { flex: 0 0 392px; display: flex; flex-direction: column; gap: 32px; }

.block { display: flex; flex-direction: column; gap: 18px; }
.block p { font-size: 17px; line-height: 1.62; }

.tick-list { display: flex; flex-direction: column; gap: 18px; }
.tick-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.62;
}
.tick-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.tick-list--muted li { font-size: 16px; }
.tick-list--muted li::before { background: var(--ink-soft); }
.tick-list--white li { color: #fff; }
.tick-list--white li::before { background: var(--arcade); }

.pair { display: flex; gap: 20px; align-items: stretch; }
.pair > div {
  flex: 1 1 0;
  min-width: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pair h3 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.16; }
.pair p  { font-size: 16px; line-height: 1.62; }
.pair__good { background: #fff; box-shadow: 0 6px 9px rgba(16, 26, 79, .08); }
.pair__bad  { background: var(--paper-2); }

.where {
  border-top: 1px solid var(--rule-faq);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.where h3 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 22px; line-height: 1.16; }
.where p  { color: var(--ink-soft); font-size: 15px; line-height: 1.62; }
.where a  { color: var(--ink-soft); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-position: from-font; }

.controls {
  position: relative;
  background: var(--racing);
  color: #fff;
  padding: 32px 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.controls > * { position: relative; z-index: 1; }
.controls__rings { position: absolute; left: 120px; top: -160px; width: 420px; height: 420px; z-index: 0; }
.controls h2 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.16; }
.controls dl { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.controls div { border-top: 1px solid rgba(207, 230, 239, .3); padding-top: 12px; }
.controls dt { font-size: 16px; font-weight: 700; }
.controls dd { margin: 4px 0 0; color: var(--sea); font-size: 15px; line-height: 1.45; }

.similar { display: flex; flex-direction: column; gap: 14px; }
.similar h2 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.16; }
.similar a {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 14px;
  box-shadow: var(--sh-tile);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 240ms var(--ease), transform 240ms var(--ease);
}
.similar a:hover { box-shadow: 0 10px 18px rgba(16, 26, 79, .14); transform: translateY(-2px); }
.similar .mount { padding: 5px; }
.similar .mount__window { width: 66px; height: 66px; }
.similar__text { flex: 1 1 0; min-width: 0; }
.similar__text strong { display: block; font-size: 16px; font-weight: 700; text-decoration: underline; text-underline-position: from-font; }
.similar__text em     { display: block; margin-top: 4px; font-style: normal; color: var(--ink-soft); font-size: 14px; line-height: 1.4; }

/* =========================================================
   Games catalogue
   ========================================================= */

.catalogue { padding-top: 56px; padding-bottom: 112px; }
.catalogue .wrap > * + * { margin-top: 32px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(19, 24, 56, .2);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}
.chip::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.chip--all::before { display: none; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"],
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.catalogue__hint { max-width: 808px; color: var(--ink-soft); font-size: 15px; line-height: 1.62; }

.plates .plate-card.is-hidden { display: none; }

/* =========================================================
   About page
   ========================================================= */

.prose-rows { padding-top: 64px; padding-bottom: 72px; }
.prose-rows .wrap > * + * { margin-top: 48px; }
.prose-row {
  display: flex;
  gap: 128px;
  align-items: flex-start;
  padding-top: 36px;
  padding-bottom: 40px;
  border-top: 1px solid var(--rule);
}
.prose-row:first-child { border-top: 0; }
.prose-row > h2 { flex: 0 0 392px; font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.06; letter-spacing: -.102px; }
.prose-row__body { flex: 0 1 704px; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.62; }

.steps { display: flex; gap: 32px; }
.step {
  flex: 1 1 0;
  min-width: 0;
  border-top: 1px solid rgba(19, 24, 56, .3);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step__no { font-family: Gloock, Georgia, serif; font-size: 56px; line-height: 1; }
.step h3   { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 22px; line-height: 1.16; }
.step p    { font-size: 15px; line-height: 1.62; }

/* =========================================================
   Contact page
   ========================================================= */

.contact { display: flex; gap: 48px; align-items: flex-start; padding-top: 72px; padding-bottom: 112px; }
.contact__panel {
  flex: 0 0 704px;
  background: #fff;
  padding: 40px 44px;
  box-shadow: var(--sh-panel);
  display: flex;
  flex-direction: column;
}
.contact__panel h2 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.16; }
.contact__panel dl { margin: 16px 0 0; }
.contact__panel dl > div {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-block: 14px;
  border-top: 1px solid var(--rule-soft);
}
.contact__panel dt { flex: 0 0 180px; color: var(--ink-soft); font-size: 13px; font-weight: 600; letter-spacing: 1.04px; text-transform: uppercase; }
.contact__panel dd { margin: 0; flex: 1 1 0; min-width: 0; font-size: 17px; font-weight: 600; }
.contact__panel dd a { text-decoration: underline; text-underline-position: from-font; }
.contact__note { margin-top: 14px; color: var(--ink-soft); font-size: 14px; line-height: 1.62; font-weight: 400; }

.contact__side { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.reasons {
  background: var(--racing);
  color: #fff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reasons h2 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.16; }

.also { display: flex; flex-direction: column; gap: 10px; }
.also a { font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-position: from-font; }
.also p { color: var(--ink-soft); font-size: 14px; }

/* =========================================================
   Legal pages
   ========================================================= */

.clauses { padding-top: 56px; padding-bottom: 112px; }
.clauses .wrap > * + * { margin-top: 48px; }
.clause {
  display: flex;
  gap: 104px;
  align-items: flex-start;
  padding-block: 28px;
  border-top: 1px solid var(--rule-soft);
}
.clause:first-child { border-top: 0; }
.clause__no { flex: 0 0 104px; font-family: Gloock, Georgia, serif; font-size: 44px; line-height: 1; color: var(--racing); }
.clause__body { flex: 0 1 808px; display: flex; flex-direction: column; gap: 10px; }
.clause__body h2 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.16; }
.clause__body p  { font-size: 16px; line-height: 1.62; }

/* =========================================================
   Cookie notice
   ========================================================= */

.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 120;
  width: 500px;
  max-width: calc(100vw - 32px);
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(16, 26, 79, .16);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 260ms;
}
.cookie.is-open { opacity: 1; transform: none; visibility: visible; }
.cookie::before,
.cookie::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1.5px solid var(--racing);
  opacity: .5;
}
.cookie::before { inset: 8px; }
.cookie::after  { inset: 13px; border-width: .8px; }
.cookie > * { position: relative; z-index: 1; }

.cookie__head { display: flex; align-items: center; gap: 12px; }
.cookie__head img { width: 30px; height: 30px; flex: none; }
.cookie__head h2 { font-family: Gloock, Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.16; }
.cookie p { font-size: 15px; line-height: 1.56; }
.cookie__actions { display: flex; gap: 10px; }
.cookie__actions .btn { flex: 1 1 0; min-width: 0; padding: 14px 20px; font-size: 15px; }
.cookie .link { font-size: 14px; }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1367px) {
  .page-head--cover .wrap { padding-right: 380px; }
  .page-head__cover { left: auto; right: 0; top: 48px; }
}

@media (max-width: 1200px) {
  :root { --gutter: 48px; }

  .h1 { font-size: 60px; }
  .h2 { font-size: 46px; }
  .h3 { font-size: 36px; }

  .hero__text h1 { font-size: 64px; }
  .hero__specimens { transform: translateX(90px); }

  .guide,
  .faq-layout,
  .prose-row { gap: 64px; }

  .genre-row__desc { flex: 1 1 260px; }
  .genre-row__links { flex: 0 0 200px; }

  .footer-plates { flex: 1 1 auto; }
  .footer-base__legal { width: auto; max-width: 520px; }

  .page-head--cover .wrap { padding-right: 292px; }
  .page-head__cover { top: 56px; }
  .page-head__cover .mount__window { width: 240px; height: 240px; }
}

@media (max-width: 1080px) {
  .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .artworks { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .guide { flex-direction: column; gap: 48px; }
  .guide__text,
  .guide__aside { flex: 1 1 auto; width: 100%; max-width: none; }
  .guide__aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }

  .contact { flex-direction: column; }
  .contact__panel { flex: 1 1 auto; width: 100%; }
  .contact__side  { width: 100%; }

  .plate-key { flex-direction: column; gap: 28px; }
  .margin-note { flex: 1 1 auto; border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 20px; }
  .plate-key__facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .faq-layout { flex-direction: column; gap: 32px; }
  .faq-layout > h2 { flex: 1 1 auto; }
  .faq { flex: 1 1 auto; width: 100%; }

  .prose-row { flex-direction: column; gap: 20px; }
  .prose-row > h2 { flex: 1 1 auto; }

  .steps { flex-wrap: wrap; gap: 24px 32px; }
  .step { flex: 1 1 240px; }

  .split { flex-direction: column; align-items: flex-start; gap: 32px; }
  .split__figure { width: 100%; flex: none; }

  .footer-grid { flex-direction: column; gap: 40px; }
  .footer-plates ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-site { width: 100%; }

  .hero__text { max-width: 520px; }
  .hero__specimens { transform: translateX(170px); }
}

@media (max-width: 900px) {
  .brackets { flex-direction: column; gap: 32px; }
  .bracket + .bracket { border-left: 0; border-top: 1px solid rgba(207, 230, 239, .35); padding-inline: 0; padding-top: 24px; }

  .genre-row { flex-wrap: wrap; gap: 12px 24px; }
  .genre-row__name { width: auto; flex: 1 1 100%; }
  .genre-row__desc { flex: 1 1 100%; }
  .genre-row__links { flex: 1 1 100%; }

  .clause { gap: 32px; }
  .clause__no { flex: 0 0 64px; font-size: 36px; }

  .page-head--cover .wrap { padding-right: var(--gutter); }
  .page-head__cover {
    position: relative;
    left: auto; right: auto; top: auto;
    margin-top: 28px;
    display: inline-block;
  }

  .contact__panel { padding: 32px 28px; }
  .contact__panel dl > div { flex-direction: column; gap: 6px; }
  .contact__panel dt { flex: none; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }

  .h1 { font-size: 42px; letter-spacing: -.2px; }
  .h2 { font-size: 34px; }
  .h3 { font-size: 28px; }
  .h4 { font-size: 26px; }
  .h5 { font-size: 24px; }
  .lede { font-size: 17px; }

  .section        { padding-block: 64px; }
  .section--tight { padding-block: 56px; }
  .section-head + * { margin-top: 32px; }

  /* header becomes a centred stack */
  .site-header .wrap {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 14px;
    padding-top: 20px;
    padding-bottom: 16px;
  }
  .site-nav { width: auto; gap: 0; }
  .site-nav--left  { order: 2; }
  .site-nav--right { order: 3; justify-content: flex-start; }
  .brand { order: 1; flex: 0 0 100%; justify-content: center; }
  .brand img { width: 30px; height: 30px; }
  .brand span { font-size: 22px; }
  .site-header .wrap { position: relative; }
  .site-nav a { font-size: 15px; padding-inline: 14px; }

  /* hero */
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero .wrap { order: 1; width: 100%; }
  .hero__specimens { order: 2; }
  .hero .wrap { padding-top: 40px; padding-bottom: 0; }
  .hero__text { max-width: none; gap: 20px; }
  .hero__text h1 { font-size: 42px; }
  .hero__text p  { font-size: 17px; }
  .hero__frame { inset: 12px; }
  .hero__specimens {
    position: relative;
    left: auto;
    width: auto;
    margin-left: 0;
    transform: none;
    height: 420px;
    margin-top: 28px;
  }
  .hero__rings   { left: -60px; top: 0; width: 480px; height: 480px; }
  .hero__octopus { left: 44px;  top: 60px;  width: 300px; height: 311px; }
  .hero__urchin  { left: 0;     top: 310px; width: 100px; height: 100px; }
  .hero__starfish{ left: auto; right: -8px; top: 310px; width: 124px; height: 121px; }

  .plates { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .mat { height: 240px; }
  .mount__window { width: 170px; height: 170px; }
  .plate-card__body h3 { font-size: 22px; }
  .plate-card__desc { font-size: 14px; }

  .artworks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

  .split__figure { height: 300px; }
  .split__rings   { left: 0; width: 300px; height: 300px; }
  .split__seahorse{ left: 66px; top: 20px; width: 140px; height: 258px; }

  .cta__urchin { left: auto; right: -70px; top: auto; bottom: -60px; width: 240px; height: 239px; }

  .faq-layout { gap: 24px; }

  .site-footer { padding-top: 56px; }
  .site-footer .wrap > * + * { margin-top: 32px; }
  .footer-plates ul { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer-base { flex-direction: column; gap: 20px; }
  .footer-base__legal { text-align: left; width: auto; }

  .page-head { padding-top: 32px; padding-bottom: 56px; }
  .page-head__cover .mount__window { width: 220px; height: 220px; }
  .page-head__rings { left: -120px; top: -160px; width: 520px; height: 520px; }

  .plate-key-band { padding-top: 32px; }
  .plate-key { padding: 28px 22px; }
  .plate-key__facts dl { grid-template-columns: minmax(0, 1fr); }
  .plate-key__facts div { padding-right: 0; }

  .guide { padding-top: 40px; padding-bottom: 64px; gap: 40px; }
  .guide__text { gap: 40px; }
  .guide__aside { grid-template-columns: minmax(0, 1fr); }
  .block p, .tick-list li { font-size: 16px; }
  .pair { flex-direction: column; }
  .pair > div { padding: 24px; }

  .catalogue { padding-top: 40px; padding-bottom: 64px; }
  .catalogue .wrap > * + * { margin-top: 24px; }

  .prose-rows { padding-top: 40px; padding-bottom: 48px; }
  .prose-rows .wrap > * + * { margin-top: 32px; }
  .prose-row > h2 { font-size: 28px; }
  .prose-row__body { font-size: 16px; }

  .clauses { padding-top: 40px; padding-bottom: 64px; }
  .clauses .wrap > * + * { margin-top: 32px; }
  .clause { flex-direction: row; gap: 20px; }
  .clause__no { flex: 0 0 44px; font-size: 32px; }

  .contact { padding-top: 40px; padding-bottom: 64px; }

  .cookie { left: 15px; right: 15px; bottom: 15px; width: auto; padding: 24px; }
  .cookie__head h2 { font-size: 22px; }
  .cookie__actions { flex-direction: column; }
}

@media (max-width: 380px) {
  .site-nav a { padding-inline: 9px; font-size: 14px; }
  .hero__text h1 { font-size: 36px; }
}

/* =========================================================
   Motion preferences
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .plate-card:hover { transform: none; }
  .mount__window img { transform: none !important; }
  [data-parallax] { transform: none !important; }
}

/* =========================================================
   Print
   ========================================================= */

@media print {
  .deco, .cookie, .site-nav { display: none !important; }
  body { background: #fff; }
  .band, .site-footer { background: #fff !important; color: #000 !important; }
}
