/* =========================================================================
   FOOLISH MORTALS — MASTER STYLESHEET
   Monochrome indie-game-studio design system
   ========================================================================= */

/* ----------------------------------------------------------------- Tokens */
:root {
  --ink:        #0a0a0a;
  --ink-soft:   #161616;
  --paper:      #fafafa;
  --paper-soft: #f2f2f2;
  --line:       #d9d9d9;
  --line-dark:  #2a2a2a;
  --grey:       #6b6b6b;
  --grey-soft:  #9a9a9a;

  --font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
li { list-style: none; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--ink); color: var(--paper); }

/* --------------------------------------------------------------- Typography */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.2rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.2rem;
  display: inline-block;
}

.lead { font-size: 1.18rem; color: var(--ink); }
.muted { color: var(--grey); }
.ink-invert { color: var(--paper); }

/* --------------------------------------------------------------- Layout */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .muted { color: var(--grey-soft); }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.section--dark .rule { border-color: var(--line-dark); }

.stack > * + * { margin-top: 1rem; }

/* --------------------------------------------------------------- Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4ch;
}
.brand .brand__mark {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--grey);
  text-transform: uppercase;
  border-left: 1px solid var(--line);
  padding-left: 0.6ch;
}
.brand:hover { opacity: 0.7; }

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav__item {
  position: relative;
  font-size: 0.92rem;
  padding: 0.55rem 0.85rem;
  color: var(--ink);
  transition: opacity 0.25s var(--ease);
}
a.nav__item:hover { opacity: 0.55; }
.nav__has-drop:hover { opacity: 1; }
.nav__item.is-active { font-weight: 600; }
.nav__item.is-active::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.3rem;
  height: 2px; background: var(--ink);
}
.nav__has-drop { position: relative; isolation: isolate; }
.nav__has-drop > a { display: inline-flex; align-items: center; gap: 0.3ch; }
.nav__caret { font-size: 0.7rem; opacity: 0.6; }
.nav__drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.4rem 0;
  visibility: hidden;
  transform: translateY(8px);
  z-index: 50;
  isolation: isolate;
  transition: transform 0.22s var(--ease), visibility 0.22s;
  box-shadow: 0 18px 40px -24px rgba(0,0,0,0.35);
}
.nav__has-drop:hover .nav__drop,
.nav__has-drop:focus-within .nav__drop {
  visibility: visible;
  transform: translateY(0);
}
.nav__drop a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  color: var(--ink);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.nav__drop a:hover { background: var(--ink); color: var(--paper); }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px; height: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateX(-50%) rotate(45deg); top: 0; }
body.nav-open .nav__toggle span::after  { transform: translateX(-50%) rotate(-45deg); top: 0; }

@media (max-width: 980px) {
  .nav__toggle { display: inline-block; }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s var(--ease);
  }
  body.nav-open .nav { max-height: 80vh; overflow-y: auto; }
  .nav__item { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav__item.is-active::after { display: none; }
  .nav__has-drop > a { justify-content: space-between; }
  .nav__drop {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 0.5rem 1rem;
    background: transparent;
  }
  .nav__drop a { padding: 0.55rem 0; }
}

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.section--dark .btn { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.section--dark .btn:hover { background: transparent; color: var(--paper); }
.section--dark .btn--ghost { background: transparent; color: var(--paper); }
.section--dark .btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--lg { padding: 1rem 2rem; font-size: 0.9rem; }

/* --------------------------------------------------------------- Hero */
.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.65), rgba(10,10,10,0.85));
  z-index: 1;
}
.hero__content { position: relative; z-index: 2; padding: 6rem 0 4rem; }
.hero__logo {
  max-width: min(560px, 80vw);
  width: 100%;
  height: auto;
  margin: 0 0 2rem;
}
.hero__sub {
  max-width: 46ch;
  margin: 0 0 2.4rem;
  font-size: 1.2rem;
  color: var(--grey-soft);
}
.hero__eyebrow { color: var(--grey-soft); }

.page-hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  text-align: center;
}
.page-hero .eyebrow { color: var(--grey-soft); }
.page-hero--video { position: relative; overflow: hidden; padding-top: clamp(6rem, 12vw, 9rem); padding-bottom: clamp(5rem, 10vw, 8rem); }
.page-hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.42;
  filter: grayscale(1) contrast(1.05);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero--image { position: relative; overflow: hidden; }
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.32;
  filter: grayscale(1) contrast(1.05);
}

/* ------------------------------------------------------------- Game cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.section--dark .games-grid { background: var(--line-dark); border-color: var(--line-dark); }
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: 2.5rem;
  min-height: 440px;
  overflow: hidden;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.section--dark .game-card { background: var(--ink); }
.game-card:hover,
.game-card:focus-visible { background: var(--ink); color: var(--paper); }
.game-card__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--grey);
  margin-bottom: auto;
}
.game-card:hover .game-card__num { color: var(--grey-soft); }
.game-card__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 2rem 0 0.4rem;
}
.game-card__desc { color: var(--grey); margin: 0 0 1.4rem; font-size: 1.02rem; }
.game-card:hover .game-card__desc { color: var(--grey-soft); }
.game-card__cta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6ch;
  transition: gap 0.25s var(--ease);
}
.game-card:hover .game-card__cta { gap: 1.2ch; }
.game-card__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  opacity: 0.22;
  transform: scale(1.04);
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}
.game-card:hover .game-card__img { opacity: 0.5; transform: scale(1); }
.game-card > * { position: relative; z-index: 1; }
.game-card--external .game-card__cta::after { content: "↗"; }

/* ------------------------------------------------------------- Game detail */
.game-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 860px) { .game-feature { grid-template-columns: 1fr; } }

.game-poster {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}
.game-poster img { width: 100%; display: block; }
.section--dark .game-poster { border-color: var(--line-dark); }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.section--dark .video-frame { border-color: var(--line-dark); }

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.store-row img {
  width: auto; height: 34px;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.85;
  transition: opacity 0.22s var(--ease), filter 0.22s var(--ease);
}
.store-row a:hover img { opacity: 1; filter: grayscale(1) contrast(1.4) brightness(0); }

/* ------------------------------------------------------------- Screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.shots figure { margin: 0; }
.shots img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease);
}
.shots img:hover { transform: translateY(-4px) scale(1.02); }
.section--dark .shots img { border-color: var(--line-dark); }

/* ------------------------------------------------------------- Gallery (carousel) */
.gallery {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}
.section--dark .gallery { border-color: var(--line-dark); }
.gallery__viewport { position: relative; }
.gallery__track {
  display: flex;
  transition: transform 0.5s var(--ease);
}
.gallery__slide { min-width: 100%; }
.gallery__slide img { width: 100%; display: block; }
.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.5rem;
  color: var(--paper);
  background: linear-gradient(180deg, transparent, rgba(10,10,10,0.85));
}
.gallery__caption h4 { margin: 0 0 0.3rem; }
.gallery__caption p { margin: 0; font-size: 0.92rem; color: var(--grey-soft); }
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border: 0;
  background: rgba(10,10,10,0.5);
  color: var(--paper);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.22s var(--ease);
}
.gallery__nav:hover { background: var(--ink); }
.gallery__nav--prev { left: 0.75rem; }
.gallery__nav--next { right: 0.75rem; }
.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  background: var(--ink-soft);
}
.gallery__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: var(--line-dark);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.gallery__dot.is-active { background: var(--paper); transform: scale(1.4); }

/* ------------------------------------------------------------- Spec table */
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.spec-table th {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  width: 38%;
}
.section--dark .spec-table th, .section--dark .spec-table td { border-color: var(--line-dark); }
.section--dark .spec-table th { color: var(--grey-soft); }

.team-table th, .team-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
}
.team-table th {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
}
.section--dark .team-table th, .section--dark .team-table td { border-color: var(--line-dark); }

/* ------------------------------------------------------------- Feature list */
.feature-list { display: grid; gap: 0; }
.feature-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.section--dark .feature-list li { border-color: var(--line-dark); }
.feature-list li::before {
  content: "—";
  font-family: var(--font-mono);
  color: var(--grey);
  flex: 0 0 auto;
}

/* ------------------------------------------------------------- Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.member {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.75rem;
  align-items: start;
}
.member__avatar {
  width: 120px; height: 120px;
  border-radius: 0;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: filter 0.3s var(--ease);
}
.member:hover .member__avatar { filter: brightness(0.9); }
.member__name { font-size: 1.3rem; margin: 0 0 0.4rem; }
.member__roles {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--grey);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0 0 0.8rem;
}
.member__roles li::before { content: "—  "; opacity: 0.5; }
.member__roles a { border-bottom: 1px solid currentColor; }
.member__bio { margin: 0.6rem 0 0; font-size: 0.95rem; color: var(--paper); }
.section--dark .member__bio { color: var(--grey-soft); }

/* ------------------------------------------------------------- Award chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.chip img {
  height: 46px; width: auto;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.85;
  transition: opacity 0.22s var(--ease);
}
.chip a:hover img { opacity: 1; }

.award-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
}
.award-card h3 { color: var(--paper); margin-bottom: 0.5rem; }
.award-card--logo { align-items: center; text-align: center; }
.award-card--logo img {
  max-height: 140px; width: auto;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.9;
}
.chip--text {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section--dark .chip--text { border-color: var(--line-dark); }

/* ------------------------------------------------------------- Newsletter (mailchimp) */
.news {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper-soft);
}
.section--dark .news { background: var(--ink-soft); border-color: var(--line-dark); }
.news label { display: block; margin-bottom: 0.8rem; font-size: 0.95rem; }
.news__row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.news input[type="email"] {
  flex: 1 1 240px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
}
.news input[type="email"]:focus { outline: 2px solid var(--ink); }
.news .clear { display: block; width: 100%; }
.news .referralBadge { display: inline-block; margin-top: 0.8rem; opacity: 0.6; }

/* ------------------------------------------------------------- Embed/iframe blocks */
.rich-embed { width: 100%; }
.rich-embed .video-frame { margin: 0; }

/* ------------------------------------------------------------- Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.site-footer a { color: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h3 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-soft);
  margin-bottom: 1rem;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid a { color: var(--grey-soft); transition: color 0.2s var(--ease); font-size: 0.95rem; }
.footer-grid a:hover { color: var(--paper); }
.footer-social { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-social svg {
  width: 28px; height: 28px;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-social a:hover svg { opacity: 1; transform: translateY(-2px); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--grey);
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

/* ------------------------------------------------------------- Utility */
.center { text-align: center; }
.ulink { border-bottom: 1px solid currentColor; }
.ulink:hover { opacity: 0.7; }
.maxw-60 { max-width: 60ch; }
.maxw-50 { max-width: 50ch; }
.mx-auto { margin-inline: auto; }
.rule--dark { border-color: var(--line-dark); }
.rule--spaced { margin: 3rem 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
.split-2--wide { grid-template-columns: 1.3fr 0.7fr; }
@media (max-width: 720px) {
  .split-2, .split-2--wide { grid-template-columns: 1fr; }
}
.vr-divider {
  display: flex; align-items: center; justify-content: center;
  opacity: 0.25;
}
.vr-divider img { max-height: 320px; width: auto; filter: grayscale(1) brightness(0) invert(1); }

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink); color: var(--paper);
  padding: 0.5rem 1rem; border-radius: var(--radius);
  z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

.reduced-hide { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------- Construction */
.construction {
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--gutter);
}
.construction__big {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 12vw, 9rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.construction__bar {
  height: 6px; width: min(420px, 70vw);
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin: 2rem auto;
}
.construction__bar span {
  display: block; height: 100%; width: 64%;
  background: repeating-linear-gradient(45deg, var(--ink), var(--ink) 10px, var(--paper-soft) 10px, var(--paper-soft) 20px);
}