/* ==========================================================================
   NateCrandell.online — portfolio styles
   Mobile-first. No rounded corners anywhere (enforced below).
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette */
  --navy: #0B2447;
  --royal: #144AA0;
  --charcoal: #17191D;
  --white: #FFFFFF;
  --gray: #F4F5F7;
  --text: #222222;

  /* Derived tones */
  --royal-dark: #0F3A80;
  --royal-tint: #8EB0EE;      /* royal accent for text on dark backgrounds */
  --navy-deep: #081A35;
  --charcoal-2: #1F2228;
  --charcoal-3: #2A2E36;
  --line: #DCE0E7;
  --line-strong: #C3C9D4;
  --muted: #586070;
  --on-dark: #E9EDF5;
  --on-dark-muted: #A6B0C3;
  --grid-line: rgba(142, 176, 238, 0.09);
  --error: #B42318;
  --error-on-dark: #FFC2BD;
  --success-on-dark: #A9E5C1;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Type scale */
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.8rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.7vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.7rem + 3.2vw, 4.5rem);
  --step-5: clamp(2.25rem, 1rem + 6.2vw, 6.25rem);

  --header-h: 72px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 960px) {
  :root { --header-h: 90px; }
}

/* ---------------------------------------------------------------- reset */

*, *::before, *::after {
  box-sizing: border-box;
  border-radius: 0 !important; /* design rule: square corners everywhere */
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, textarea, select {
  font: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}
button { cursor: pointer; background: none; border: 0; padding: 0; }
:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--royal);
  outline-offset: 3px;
}
.on-dark :where(a, button, input, textarea, select):focus-visible,
.section--dark :where(a, button):focus-visible,
.hero :where(a, button):focus-visible,
.contact :where(a, button):focus-visible,
.site-footer :where(a, button):focus-visible {
  outline-color: var(--royal-tint);
}
[hidden] { display: none !important; }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 1000;
  padding: .75rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

main:focus { outline: none; }

.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------------------------------------------------------------- type */

.display, .hero__title, .page-title, .section-title, .card__title, .site-footer__name, .brand__name {
  font-stretch: 116%;
  letter-spacing: -0.015em;
}

.section-title {
  font-size: var(--step-3);
  font-weight: 760;
  line-height: 1.04;
  color: var(--navy);
  text-wrap: balance;
}

.page-title {
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  text-wrap: balance;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 38em;
}

.section-lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--muted);
  max-width: 34em;
}

.prose p + p { margin-top: 1.1em; }
.prose { max-width: 40em; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 52px;
  padding: .5rem 1.6rem;
  border: 2px solid transparent;
  font-size: .8125rem;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 16px; height: 16px; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: var(--royal); border-color: var(--royal); }

.btn--royal { background: var(--royal); color: var(--white); border-color: #2C62BF; }
.btn--royal:hover { background: var(--royal-dark); border-color: var(--royal-tint); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }

.btn--small { min-height: 44px; padding: .4rem 1.1rem; font-size: .75rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link {
  font-weight: 650;
  color: var(--royal);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .25em;
}
.text-link:hover { color: var(--navy); }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}
.brand__photo {
  flex: none;
  width: 44px;
  height: 44px;
  overflow: hidden;
  background: var(--gray);
  outline: 1px solid var(--line);
}
.brand__photo img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name {
  font-size: 1.0625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.brand__role {
  font-size: .8125rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 960px) {
  .brand__photo { width: 52px; height: 52px; }
  .brand__name { font-size: 1.1875rem; }
  .brand__role { font-size: .875rem; }
}

/* Mobile menu */
.nav-toggle {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; }
.nav-toggle__bars i {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__bars i:nth-child(1) { top: 0; }
.nav-toggle__bars i:nth-child(2) { top: 6px; }
.nav-toggle__bars i:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 1.5rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s;
}
.site-nav__list { display: flex; flex-direction: column; }
.site-nav__link {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-2);
  font-weight: 700;
  font-stretch: 112%;
  color: var(--navy);
  text-decoration: none;
}
.site-nav__link[aria-current="page"] { color: var(--royal); }
.site-nav__cta { align-self: stretch; }
body.nav-open { overflow: hidden; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    flex-direction: row;
    align-items: center;
    gap: 2.25rem;
    padding: 0;
    border: 0;
    overflow: visible;
    background: none;
    transition: none;
  }
  .site-nav__list { flex-direction: row; gap: 2rem; }
  .site-nav__link {
    position: relative;
    padding: .5rem 0;
    border: 0;
    font-size: .9375rem;
    font-weight: 600;
    font-stretch: 100%;
    color: var(--text);
  }
  .site-nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--royal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .site-nav__link:hover { color: var(--navy); }
  .site-nav__link:hover::after, .site-nav__link:focus-visible::after { transform: scaleX(1); }
  .site-nav__link[aria-current="page"] { color: var(--navy); }
  .site-nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--navy); }
  .site-nav__cta { align-self: auto; }
}

/* ---------------------------------------------------------------- shared grid background */

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(rgba(142, 176, 238, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 176, 238, .07) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px, 240px 240px, 240px 240px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 65% 45%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 75% at 65% 45%, #000 40%, transparent 100%);
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-dark);
  isolation: isolate;
}
.hero .grid-bg { z-index: -1; }
@media (prefers-reduced-motion: no-preference) {
  .hero .grid-bg { animation: grid-drift 40s linear infinite; }
}
@keyframes grid-drift {
  to { background-position: 48px 48px, 48px 48px, 240px 240px, 240px 240px; }
}

.hero__pixels { position: absolute; inset: 0; z-index: -1; pointer-events: none; display: none; }
@media (min-width: 1024px) { .hero__pixels { display: block; } }
.hero__pixels i {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--royal-tint);
  opacity: .0;
}
.hero__pixels i:nth-child(1) { left: 6%;  top: 22%; }
.hero__pixels i:nth-child(2) { left: 46%; top: 12%; }
.hero__pixels i:nth-child(3) { left: 92%; top: 30%; }
.hero__pixels i:nth-child(4) { left: 38%; top: 86%; }
.hero__pixels i:nth-child(5) { left: 74%; top: 92%; }
.hero__pixels i:nth-child(6) { left: 18%; top: 64%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__pixels i { animation: pixel 7s steps(1, end) infinite; }
  .hero__pixels i:nth-child(2) { animation-delay: 1.3s; }
  .hero__pixels i:nth-child(3) { animation-delay: 2.6s; }
  .hero__pixels i:nth-child(4) { animation-delay: 3.9s; }
  .hero__pixels i:nth-child(5) { animation-delay: 5.2s; }
  .hero__pixels i:nth-child(6) { animation-delay: 6.1s; }
}
@keyframes pixel {
  0% { opacity: 0; }
  8% { opacity: .55; }
  16% { opacity: .2; }
  24% { opacity: 0; }
}

.hero__inner {
  display: grid;
  gap: 3rem;
  padding-block: clamp(3rem, 8vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.25rem, 0.6rem + 8.4vw, 4.5rem);
  font-weight: 820;
  line-height: .96;
  color: var(--white);
  font-stretch: 120%;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
@media (max-width: 400px) {
  .hero__title { font-stretch: 106%; }
}
.hero__copy { min-width: 0; }
.nowrap { white-space: nowrap; }
.hero__cursor {
  display: inline-block;
  width: .42em;
  height: .78em;
  margin-left: .08em;
  background: var(--royal-tint);
  vertical-align: -0.02em;
}
@media (prefers-reduced-motion: no-preference) {
  @media (max-width: 400px) {
  .hero__title { font-stretch: 106%; }
}
.hero__copy { min-width: 0; }
.nowrap { white-space: nowrap; }
.hero__cursor { animation: blink 1.1s steps(1, end) 6 forwards; }
}
@keyframes blink { 50% { opacity: 0; } }

.hero__lead {
  margin-top: 1.5rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--on-dark);
  max-width: 30em;
}
.hero__actions { margin-top: 2.25rem; }

.hero__stage {
  position: relative;
  aspect-ratio: 10 / 8.4;
  width: 100%;
  max-width: 760px;
  justify-self: center;
  --px: 0;
  --py: 0;
}
.hero__shot {
  position: absolute;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .5s var(--ease);
}
.hero__shot .frame { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); }
.hero__shot--browser { left: 0; top: 4%; width: 78%; z-index: 2;
  transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -8px), 0); }
.hero__shot--screen { right: 0; top: 46%; width: 62%; z-index: 3;
  transform: translate3d(calc(var(--px) * 14px), calc(var(--py) * 10px), 0); }
.hero__shot--phone { right: 4%; top: 0; width: 21%; z-index: 4;
  transform: translate3d(calc(var(--px) * 20px), calc(var(--py) * 14px), 0); }
.hero__shot--mini { left: 4%; bottom: 0; width: 34%; z-index: 4;
  transform: translate3d(calc(var(--px) * -16px), calc(var(--py) * 12px), 0); }

.hero__tag {
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  display: inline-flex;
  gap: .5rem;
  align-items: baseline;
  padding: .2rem .5rem;
  background: var(--navy-deep);
  border: 1px solid rgba(142, 176, 238, .35);
  font-size: .75rem;
  line-height: 1.4;
  color: var(--on-dark);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.hero__tag b { font-weight: 700; }
.hero__tag span { color: var(--royal-tint); }
.hero__shot:hover .hero__tag, .hero__shot:focus-visible .hero__tag { opacity: 1; transform: none; }
.hero__shot:hover .frame { outline: 2px solid var(--royal-tint); outline-offset: 0; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__shot { animation: shot-in .9s var(--ease) both; }
  .js .hero__shot--browser { animation-delay: .15s; }
  .js .hero__shot--screen { animation-delay: .35s; }
  .js .hero__shot--phone { animation-delay: .55s; }
  .js .hero__shot--mini { animation-delay: .7s; }
  .js .hero__lead, .js .hero__actions { animation: copy-in .8s var(--ease) both; }
  .js .hero__lead { animation-delay: .1s; }
  .js .hero__actions { animation-delay: .2s; }
}
/* Starts at .01 rather than 0 so the browser still counts the first paint (good for LCP). */
@keyframes shot-in {
  from { opacity: .01; translate: 0 36px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes copy-in {
  from { opacity: 0; translate: 0 14px; }
  to { opacity: 1; translate: 0 0; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: clamp(3.3rem, 0.9rem + 4vw, 4.75rem); font-stretch: 114%; }
  .hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .hero > .container { width: 100%; }
  .hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 4vw, 5rem); }
  .hero__stage { justify-self: end; }
}

/* ---------------------------------------------------------------- frames */

.frame {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-strong);
}
.frame__view { position: relative; overflow: hidden; background: var(--gray); }
.frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.frame--browser .frame__bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  height: 28px;
  padding: 0 .6rem;
  background: #ECEEF2;
  border-bottom: 1px solid var(--line);
}
.frame__dots { display: flex; gap: 5px; flex: none; }
.frame__dots i { width: 8px; height: 8px; background: #C5CBD6; display: block; }
.frame__dots i:first-child { background: var(--royal); }
.frame__url {
  flex: 1;
  min-width: 0;
  max-width: 22rem;
  margin-inline: auto;
  padding: 0 .6rem;
  height: 17px;
  line-height: 17px;
  background: var(--white);
  font-size: .6875rem;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame--browser .frame__view { aspect-ratio: 16 / 10; }

.frame--screen {
  background: #0D0F12;
  border: 8px solid #0D0F12;
  outline: 1px solid var(--charcoal-3);
}
.frame--screen .frame__view { aspect-ratio: 16 / 9; background: #000; }
.frame__strip {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem .15rem 0;
  font-size: .6875rem;
  line-height: 1.3;
  color: #8D96A8;
  white-space: nowrap;
  overflow: hidden;
}
.frame__strip span { overflow: hidden; text-overflow: ellipsis; }

.frame--phone {
  background: #0D0F12;
  border: 6px solid #0D0F12;
  padding-top: 14px;
}
.frame--phone::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 28%;
  height: 5px;
  background: #2A2E36;
  transform: translateX(-50%);
}
.frame--phone .frame__view { aspect-ratio: 1 / 2; }

/* Placeholder */
.placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--on-dark);
  background-color: var(--charcoal-2);
  background-image:
    linear-gradient(rgba(142, 176, 238, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 176, 238, .08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.placeholder--website { background-color: var(--navy); }
.placeholder__title {
  font-size: clamp(1.15rem, .9rem + 1.2vw, 1.75rem);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.05;
  color: var(--white);
}
.placeholder__note {
  font-size: .8125rem;
  color: var(--on-dark-muted);
  border: 1px dashed rgba(166, 176, 195, .6);
  padding: .15rem .55rem;
}
.placeholder__motif { display: flex; gap: 6px; margin-bottom: .5rem; }
.placeholder__motif i { display: block; border: 2px solid var(--royal-tint); }
.placeholder__motif--reels i { width: 26px; height: 38px; }
.placeholder__motif--page i { width: 38px; height: 8px; }
.placeholder__motif--page { flex-direction: column; align-items: center; }
.placeholder__motif--page i:nth-child(2) { width: 54px; }

/* ---------------------------------------------------------------- sections */

.section { position: relative; padding-block: var(--section); }
.section--gray { background: var(--gray); }
.section--dark { background: var(--charcoal); color: var(--on-dark); }
.section--dark .section-title, .section--dark .page-title { color: var(--white); }
.section--dark .section-lead { color: var(--on-dark-muted); }
.section--navy { background: var(--navy); color: var(--on-dark); }

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; }
}

/* ---------------------------------------------------------------- filter */

.filter {
  display: inline-flex;
  flex-wrap: wrap;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  border: 2px solid var(--navy);
}
.filter__btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 46px;
  padding: .4rem 1.1rem;
  font-size: .8125rem;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.filter__btn + .filter__btn { border-left: 2px solid var(--navy); }
.filter__btn:hover { background: var(--gray); }
.filter__btn[aria-pressed="true"] { background: var(--navy); color: var(--white); }
@media (max-width: 519px) {
  .filter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .filter__btn { justify-content: center; padding: .4rem .35rem; font-size: .75rem; letter-spacing: .04em; white-space: nowrap; }
  .filter__count { display: none; }
}
.filter__count {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0;
  opacity: .7;
}

/* ---------------------------------------------------------------- project grid & cards */

.grid {
  display: grid;
  gap: clamp(2.5rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid .card--featured { grid-column: 1 / -1; }
}
.grid--three { gap: 2rem; }
@media (min-width: 1024px) {
  .grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card { display: flex; flex-direction: column; min-width: 0; }
.card__media {
  display: block;
  transition: transform .45s var(--ease);
}
.card__media .frame { transition: border-color .3s var(--ease); }
.card__media .frame__img { transition: transform .8s var(--ease); }
.card:hover .card__media { transform: translateY(-4px); }
.card:hover .card__media .frame { border-color: var(--royal); }
.card:hover .card__media .frame--screen { outline-color: var(--royal); }
.card:hover .card__media .frame__img { transform: scale(1.03); }

/* Keep game and website frames the same height inside multi-column grids. */
.grid .card:not(.card--featured) .frame--screen .frame__view { aspect-ratio: 16 / 10; }
.card__body { padding-top: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .9rem;
  margin-bottom: .55rem;
  font-size: .875rem;
}
.card__category { font-weight: 650; color: var(--royal); }
.card__title {
  font-size: var(--step-2);
  font-weight: 760;
  line-height: 1.1;
  color: var(--navy);
}
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.card__summary { margin-top: .65rem; color: var(--muted); max-width: 36em; }
.card__actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .6rem; }

@media (min-width: 960px) {
  .card--featured {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 3rem;
    align-items: center;
  }
  .card--featured.card--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .card--featured.card--flip .card__media { order: 2; }
  .card--featured .card__body { padding-top: 0; }
  .card--featured .card__title { font-size: var(--step-3); }
  .card--featured .card__summary { font-size: var(--step-1); line-height: 1.5; }
}

/* Status chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .15rem .55rem;
  border: 1px solid currentColor;
  font-size: .75rem;
  font-weight: 650;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
}
.chip--playable, .chip--live, .chip--released { background: var(--royal); border-color: var(--royal); color: var(--white); }
.chip--prototype, .chip--preview { color: var(--royal); }
.chip--playable::before, .chip--live::before {
  content: "";
  width: 6px; height: 6px;
  background: currentColor;
}
.section--dark .chip, .on-dark .chip { color: var(--on-dark-muted); }
.section--dark .chip--prototype, .section--dark .chip--preview, .on-dark .chip--prototype, .on-dark .chip--preview { color: var(--royal-tint); }
.section--dark .chip--playable, .section--dark .chip--live, .on-dark .chip--playable, .on-dark .chip--live { color: var(--white); border-color: #2C62BF; }

/* Dark variants of cards */
.section--dark .card__title, .on-dark .card__title { color: var(--white); }
.section--dark .card__category, .on-dark .card__category { color: var(--royal-tint); }
.section--dark .card__summary, .on-dark .card__summary { color: var(--on-dark-muted); }
.section--dark .btn--outline, .on-dark .btn--outline { color: var(--white); border-color: rgba(255, 255, 255, .55); }
.section--dark .btn--outline:hover, .on-dark .btn--outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.section--dark .btn--primary, .on-dark .btn--primary { background: var(--white); color: var(--navy); border-color: var(--white); }
.section--dark .btn--primary:hover, .on-dark .btn--primary:hover { background: var(--royal-tint); border-color: var(--royal-tint); }

/* ---------------------------------------------------------------- spotlight (home games band) */

.spotlight { overflow: hidden; }
.spotlight__grid { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.spotlight__copy .section-title { margin-bottom: 1rem; }
.spotlight__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.spotlight__copy p { color: var(--on-dark-muted); max-width: 32em; }
.spotlight__copy .btn-row { margin-top: 2rem; }
.spotlight__more { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--charcoal-3); }
.spotlight__more a { color: var(--white); }
.spotlight__more ul { list-style: none; padding: 0; display: grid; gap: .5rem; margin-top: .75rem; }
.spotlight__more li a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--charcoal-3);
  text-decoration: none;
  font-weight: 650;
}
.spotlight__more li a span:last-child { font-weight: 500; color: var(--on-dark-muted); font-size: .875rem; }
.spotlight__more li a:hover span:first-child { text-decoration: underline; text-underline-offset: .2em; }
.spotlight__label { font-size: .875rem; color: var(--on-dark-muted); }
@media (min-width: 1024px) {
  .spotlight__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
}

/* Gallery switcher (main image + thumbnails) */
.viewer__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .75rem;
}
.viewer__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid transparent;
  background: #000;
  opacity: .6;
  transition: opacity .2s var(--ease), border-color .2s var(--ease);
}
.viewer__thumb img { width: 100%; height: 100%; object-fit: cover; }
.viewer__thumb:hover { opacity: .9; }
.viewer__thumb[aria-pressed="true"] { opacity: 1; border-color: var(--royal-tint); }
.viewer__main .frame__img { transition: opacity .25s var(--ease); }
.viewer__main.is-swapping .frame__img { opacity: .2; }
.viewer__caption { margin-top: .6rem; font-size: .875rem; color: var(--on-dark-muted); min-height: 1.4em; }

/* ---------------------------------------------------------------- about */

.about__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.about__photo { position: relative; max-width: 460px; width: calc(100% - 18px); justify-self: center; }
.about__frame { position: relative; }
.about__frame::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--royal);
  z-index: -1;
}
.about__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__photo { isolation: isolate; margin-bottom: 18px; }
.about__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .9rem;
  background: var(--navy);
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
}
.about__caption .icon { width: 16px; height: 16px; }
.about__text { display: grid; gap: 1.1rem; justify-items: start; max-width: 40em; }
.about__text .section-title { margin-bottom: .4rem; }
.about__text .lead { color: var(--navy); font-weight: 560; }
.about__text p:not(.lead) { color: #3D4350; }
.about__text .btn { margin-top: .9rem; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .about__photo { justify-self: start; }
}

/* ---------------------------------------------------------------- contact */

.contact { background: var(--navy); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.contact__grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(142, 176, 238, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 176, 238, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(100deg, #000 0%, transparent 55%);
}
.contact .section-title { color: var(--white); }
.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
.contact__intro .lead { margin-top: 1.25rem; color: var(--on-dark); }
.contact__list { display: grid; gap: .25rem; margin-top: 2.25rem; border-top: 1px solid rgba(142, 176, 238, .22); }
.contact__list a, .contact__static {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(142, 176, 238, .22);
  text-decoration: none;
  font-size: var(--step-1);
  font-weight: 650;
  color: var(--white);
  overflow-wrap: anywhere;
}
.contact__list .icon { flex: none; width: 22px; height: 22px; color: var(--royal-tint); }
.contact__list a:hover > span { text-decoration: underline; text-underline-offset: .2em; }
.contact__label { display: block; font-size: .8125rem; font-weight: 500; color: var(--on-dark-muted); }
@media (min-width: 960px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
}

/* Form */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; gap: 1.15rem; }
@media (min-width: 600px) {
  .form__row { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: .45rem; }
.field label { font-size: .875rem; font-weight: 650; color: var(--on-dark); }
.field input, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--white);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px var(--royal-tint);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #E5484D;
  box-shadow: 0 0 0 3px rgba(255, 140, 140, .45);
}
.field__error { font-size: .875rem; font-weight: 600; color: var(--error-on-dark); }
.field__error::before { content: "Error: "; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: grid; gap: 1rem; margin-top: .4rem; }
.form__status {
  padding: .9rem 1rem;
  border-left: 4px solid currentColor;
  background: rgba(255, 255, 255, .06);
  font-weight: 600;
  line-height: 1.45;
}
.form__status.is-success { color: var(--success-on-dark); }
.form__status.is-error { color: var(--error-on-dark); }
.form__status a { color: inherit; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn[aria-busy="true"]::after {
  content: "";
  width: 12px; height: 12px;
  border: 2px solid currentColor;
  border-right-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .btn[aria-busy="true"]::after { animation: spin .8s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- page intro */

.page-intro { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.page-intro .lead { margin-top: 1.25rem; color: var(--muted); }
.page-intro--dark { background: var(--charcoal); color: var(--on-dark); position: relative; overflow: hidden; isolation: isolate; }
.page-intro--dark .page-title { color: var(--white); }
.page-intro--dark .lead { color: var(--on-dark-muted); }
.page-intro--dark .grid-bg { z-index: -1; }
.page-intro__count { margin-top: 1.75rem; font-size: .9375rem; color: var(--muted); }
.page-intro--dark .page-intro__count { color: var(--on-dark-muted); }

.breadcrumb { margin-bottom: 1.5rem; font-size: .875rem; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { opacity: .75; }

/* ---------------------------------------------------------------- websites page rows */

.showcase { display: grid; gap: clamp(4rem, 9vw, 7rem); }
.showcase-row { display: grid; gap: 2rem; align-items: center; }
.showcase-row__media { position: relative; }
.showcase-row__media > a { display: block; }
.showcase-row__phone {
  position: absolute;
  right: -2%;
  bottom: -8%;
  width: 22%;
  min-width: 82px;
  z-index: 2;
  box-shadow: 0 20px 40px -18px rgba(11, 36, 71, .55);
}
.showcase-row__body { display: grid; gap: 1rem; justify-items: start; }
.showcase-row__body .card__title { font-size: var(--step-3); }
.showcase-row__body p { color: var(--muted); }
.showcase-row__list { display: grid; gap: .55rem; margin-top: .25rem; }
.tick-list li { position: relative; padding-left: 1.4rem; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  background: var(--royal);
}
.on-dark .tick-list li::before, .section--dark .tick-list li::before { background: var(--royal-tint); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  padding: .25rem .6rem;
  background: var(--gray);
  border: 1px solid var(--line);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--navy);
}
.on-dark .tag, .section--dark .tag { background: var(--charcoal-2); border-color: var(--charcoal-3); color: var(--on-dark); }

@media (min-width: 960px) {
  .showcase-row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 5vw, 5rem); }
  .showcase-row--flip .showcase-row__media { order: 2; }
  .showcase-row--flip .showcase-row__phone { right: auto; left: -2%; }
}

/* ---------------------------------------------------------------- games page bands */

.game-band { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--charcoal); color: var(--on-dark); }
.game-band:nth-of-type(even) { background: #111317; }
.game-band + .game-band { border-top: 1px solid var(--charcoal-3); }
.game-band__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.game-band__body { display: grid; gap: 1.1rem; justify-items: start; }
.game-band__title {
  font-size: var(--step-3);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.02;
  color: var(--white);
  text-wrap: balance;
}
.game-band__title a { text-decoration: none; }
.game-band__title a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .15em; }
.game-band__body > p { color: var(--on-dark-muted); max-width: 34em; }
.facts { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .875rem; font-weight: 650; color: var(--muted); }
.facts dd { font-weight: 560; overflow-wrap: anywhere; }
.facts dd a { color: var(--royal); }
.on-dark .facts, .section--dark .facts { border-color: var(--charcoal-3); }
.on-dark .facts > div, .section--dark .facts > div { border-color: var(--charcoal-3); }
.on-dark .facts dt, .section--dark .facts dt { color: var(--on-dark-muted); }
.on-dark .facts dd a, .section--dark .facts dd a { color: var(--royal-tint); }
@media (min-width: 1024px) {
  .game-band__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
}

/* ---------------------------------------------------------------- project detail */

.project-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 0; position: relative; isolation: isolate; overflow: hidden; }
.project-hero--game { background: var(--charcoal); color: var(--on-dark); }
.project-hero--game .page-title { color: var(--white); }
.project-hero--game .grid-bg { z-index: -1; }
.project-hero__head { display: grid; gap: 1.25rem; max-width: 52rem; }
.project-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.project-hero__meta .card__category { font-size: 1rem; }
.project-hero__lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 40em; }
.project-hero--game .project-hero__lead { color: var(--on-dark-muted); }
.project-hero--game .card__category { color: var(--royal-tint); }
.project-hero__actions { margin-top: .5rem; }
.project-hero__media { position: relative; margin-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.project-hero__media::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: var(--gray);
  z-index: -1;
}
.project-hero--game .project-hero__media::before { background: #111317; }
.project-hero__media .container { position: relative; }
.project-hero__phone {
  position: absolute;
  right: calc(var(--gutter) + 3%);
  bottom: -6%;
  width: 17%;
  min-width: 90px;
  box-shadow: 0 24px 48px -20px rgba(11, 36, 71, .6);
}

.project-body { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 960px) {
  .project-body { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 5rem; align-items: start; }
  .project-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.block + .block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.block__title {
  font-size: var(--step-2);
  font-weight: 760;
  font-stretch: 114%;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.1rem;
}
.feature-list { display: grid; gap: .75rem 2rem; }
@media (min-width: 640px) {
  .feature-list { grid-template-columns: 1fr 1fr; }
}
.feature-list li { padding-top: .75rem; border-top: 1px solid var(--line); }

.project-aside__title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .75rem; }
.project-aside .btn { margin-top: 1.5rem; width: 100%; }
.project-aside .tags { padding-top: .2rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}
.gallery__item { display: grid; gap: .6rem; }
.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--gray);
  cursor: zoom-in;
}
.gallery__btn img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.gallery--game .gallery__btn img { aspect-ratio: 16 / 9; object-position: center; }
.gallery__btn:hover img { transform: scale(1.03); }
.gallery__btn:hover { border-color: var(--royal); }
.gallery__zoom {
  position: absolute;
  right: .6rem;
  bottom: .6rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { opacity: 1; }
.gallery__caption { font-size: .875rem; color: var(--muted); }

.pager { display: grid; border-top: 1px solid var(--line); }
.pager a {
  display: grid;
  gap: .25rem;
  padding: 1.75rem 0;
  text-decoration: none;
  color: var(--navy);
}
.pager a + a { border-top: 1px solid var(--line); }
.pager__dir { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; color: var(--muted); }
.pager__title { font-size: var(--step-2); font-weight: 760; font-stretch: 114%; line-height: 1.1; }
.pager a:hover .pager__title { color: var(--royal); }
@media (min-width: 720px) {
  .pager { grid-template-columns: 1fr 1fr; }
  .pager a + a { border-top: 0; border-left: 1px solid var(--line); padding-left: 2rem; text-align: right; justify-items: end; }
}

/* ---------------------------------------------------------------- CTA band */

.cta-band { background: var(--gray); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band .section-title { font-size: var(--step-3); }
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 3rem; }
}

/* ---------------------------------------------------------------- lightbox */

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(10, 12, 16, .96);
  color: var(--on-dark);
}
.lightbox::backdrop { background: rgba(10, 12, 16, .7); }
.lightbox__inner {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 4.5rem 1rem 2rem;
}
.lightbox__figure { display: grid; gap: .9rem; justify-items: center; max-width: 100%; }
.lightbox__img { max-width: min(1600px, 100%); max-height: calc(100dvh - 10rem); width: auto; height: auto; object-fit: contain; border: 1px solid var(--charcoal-3); }
.lightbox__caption { font-size: .9375rem; color: var(--on-dark-muted); text-align: center; }
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .35);
  color: var(--white);
  background: rgba(23, 25, 29, .8);
}
.lightbox__btn:hover { border-color: var(--white); background: var(--royal); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
@media (max-width: 719px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
}

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--charcoal); color: var(--on-dark-muted); padding-top: clamp(3.5rem, 6vw, 5rem); }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__name {
  font-size: var(--step-2);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
}
.site-footer__line { margin-top: .5rem; }
.site-footer__heading { font-size: .875rem; font-weight: 700; color: var(--white); margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.site-footer__bottom {
  padding-block: 1.5rem;
  border-top: 1px solid var(--charcoal-3);
  font-size: .875rem;
}
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1.2fr; }
}

/* ---------------------------------------------------------------- reveal on scroll */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 18px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
  .js .reveal.is-visible { opacity: 1; translate: 0 0; }
}

/* ---------------------------------------------------------------- 404 */

.not-found { padding-block: clamp(4rem, 10vw, 8rem); }
.not-found .btn-row { margin-top: 2rem; }

/* ---------------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero__shot { transform: none !important; }
}

/* ---------------------------------------------------------------- index list (About page) */

.index-list { border-top: 2px solid var(--navy); }
.index-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
  color: var(--navy);
}
.index-list__title { font-size: var(--step-1); font-weight: 700; font-stretch: 110%; }
.index-list__meta { font-size: .875rem; color: var(--muted); text-align: right; }
.index-list a:hover .index-list__title { color: var(--royal); text-decoration: underline; text-underline-offset: .2em; }
