/* ============ Tokens ============ */
:root {
  color-scheme: only light; /* stop phone browsers from auto-darkening the page */
  --yellow: #fff08a;
  --yellow-deep: #f7dd3d;
  --cyan: #00bce0;
  --ink: #121212;
  --ink-2: #1c1c1c;
  --ink-3: #2a2a2a;
  --paper: #fffcef;
  --muted: #5d5a4e;
  --muted-on-ink: #a8a59a;
  --line: rgba(18, 18, 18, 0.12);
  --line-on-ink: rgba(255, 255, 255, 0.1);

  --display: "Bebas Neue", Impact, "Arial Narrow Bold", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 0.95;
  letter-spacing: 0.01em;
}
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--yellow); padding: 8px 14px; border-radius: 6px;
}
.skip:focus { left: 8px; }

.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  margin: 0 0 10px; color: var(--muted);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink);
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--ink { background: var(--ink); color: var(--yellow); box-shadow: 0 4px 0 rgba(0,0,0,.18); }
.btn--ink:hover { box-shadow: 0 6px 0 rgba(0,0,0,.18); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--yellow); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--yellow) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__logo { width: auto; height: 30px; transition: transform .3s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.06); }
.brand__name { font-family: var(--display); font-size: 26px; letter-spacing: 0.04em; padding-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

/* ============ Hero ============ */
.hero {
  background-color: var(--yellow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' width='400' height='400'%3E%3Cpath d='M0 0l90 70 110-70 60 110 140-40M90 70l-90 90 120 60 80-110 60 110 140-90M120 220l-120 90 150 90 50-180 110 120 90-130M150 400l110-60 140 60M0 160l120 60M260 110l0 0M200 220l60 120M370 220l30 40' fill='none' stroke='rgba(0,0,0,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  padding: clamp(28px, 4.5vw, 56px) 0 24px;
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; margin-bottom: 18px;
  background: rgba(255,255,255,.55); border: 1px solid var(--line); padding: 6px 14px 6px 12px; border-radius: 999px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #18b55b; box-shadow: 0 0 0 4px rgba(24,181,91,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(24,181,91,.04); } }

.hero__title {
  font-family: var(--display);
  font-size: clamp(48px, 5.4vw, 78px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--cyan) 62%, var(--cyan) 92%, transparent 92%);
  padding: 0 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__lede { font-size: clamp(17px, 1.5vw, 19px); max-width: 34em; color: #2b2a24; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; }

.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 560px; }
.stats li { border-top: 2px solid var(--ink); padding-top: 10px; }
.stats strong { display: block; font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 400; }
.stats span { display: block; font-size: 13px; line-height: 1.35; color: var(--muted); margin-top: 4px; }

.hero__reel { position: relative; height: clamp(320px, 32vw, 430px); }
.reel {
  position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--ink); border: 3px solid var(--ink);
  box-shadow: 0 24px 40px -18px rgba(0,0,0,.45);
  transition: transform .5s var(--ease);
}
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel--a { width: 62%; aspect-ratio: 16/10; left: 0; top: 4%; transform: rotate(-5deg); }
.reel--b { width: 70%; aspect-ratio: 16/10; right: 0; bottom: 6%; transform: rotate(3deg); z-index: 2; }
.reel--c { width: 30%; aspect-ratio: 9/16; right: 4%; top: -2%; transform: rotate(7deg); z-index: 1; }
.hero__reel:hover .reel--a { transform: rotate(-7deg) translate(-6px, -4px); }
.hero__reel:hover .reel--b { transform: rotate(1deg) translate(6px, 6px); }
.hero__reel:hover .reel--c { transform: rotate(10deg) translate(6px, -6px); }

.clients {
  margin: clamp(22px, 3vw, 34px) 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); letter-spacing: 0.06em; color: #3a382f;
}
.clients span {
  font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-right: 14px; vertical-align: middle;
}

/* ============ Work ============ */
.work { background: var(--ink); color: #f4f1e6; padding: clamp(56px, 8vw, 96px) 0; }
.work .kicker { color: var(--yellow); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head--stack { display: block; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line-on-ink); color: #f4f1e6;
  font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: rgba(255,255,255,.35); }
.chip.is-active { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.chip__n { font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }

.grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 20px);
  grid-auto-flow: dense;
}
.card { position: relative; display: flex; }
.card__btn { display: flex; flex-direction: column; }
/* Featured tile: spans 2×2 in the "All" view */
.grid.is-all .card--featured { grid-column: span 2; grid-row: span 2; }
.grid.is-all .card--featured .card__media { aspect-ratio: auto; flex: 1; min-height: 260px; }
.grid.is-all .card--featured .card__title { font-size: 40px; }
.grid.is-all .card--featured .card__blurb { font-size: 16px; }
.card.is-hidden { display: none; }
.card__btn {
  width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer;
  border-radius: var(--radius);
}
.card__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-3);
}
.card__media img, .card__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease), opacity .35s;
}
.card--tall .card__media img, .card--tall .card__media video { object-position: center 18%; }
.card__media video { opacity: 0; }
.card.is-playing .card__media video { opacity: 1; }
.card__btn:hover .card__media img,
.card__btn:hover .card__media video,
.card__btn:focus-visible .card__media img { transform: scale(1.045); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card__btn:hover .card__media::after, .card__btn:focus-visible .card__media::after { opacity: 1; }
.card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: rgba(18,18,18,.78); color: #fff;
  backdrop-filter: blur(6px);
}
.card__tag--installation { background: var(--cyan); color: var(--ink); }
.card__tag--game { background: var(--yellow); color: var(--ink); }
.card__open {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 13px;
  padding: 7px 12px; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease);
}
.card__btn:hover .card__open, .card__btn:focus-visible .card__open { opacity: 1; transform: none; }
.card__body { padding: 12px 2px 2px; }
.card__title { font-family: var(--display); font-size: 27px; line-height: 1; letter-spacing: 0.02em; color: #fff; }
.card__blurb { margin: 5px 0 0; font-size: 14px; color: var(--muted-on-ink); line-height: 1.4; }
.card__meta { margin: 8px 0 0; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #7f7c72; }

.work__hint { margin: 28px 0 0; text-align: center; font-size: 14px; color: var(--muted-on-ink); }

/* ============ Services ============ */
.services { padding: clamp(56px, 8vw, 96px) 0; }
.svc { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc__item {
  background: #fff; border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 22px 20px 20px; box-shadow: 4px 4px 0 var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.svc__item:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.svc__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--yellow); border: 1.5px solid var(--ink); margin-bottom: 16px;
}
.svc__item:nth-child(even) .svc__icon { background: var(--cyan); }
.svc__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc__item h3 { font-family: var(--display); font-size: 27px; line-height: 1; margin-bottom: 10px; letter-spacing: 0.02em; }
.svc__item p { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; }

.tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.tools__label { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.tools ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }

/* ============ About ============ */
.about { padding: 0 0 clamp(56px, 8vw, 96px); }
.about__grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px);
  border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 72px);
}
.about h2 { margin-bottom: 18px; }
.about__text { padding-top: 26px; }
.about__text p:last-child { margin-bottom: 0; font-weight: 500; }
.about p { color: #34322b; max-width: 32em; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid; grid-template-columns: 120px 1fr; column-gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.timeline li:first-child { padding-top: 0; }
.timeline__when { grid-row: span 2; font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 3px; font-variant-numeric: tabular-nums; }
.timeline strong { font-weight: 700; }
.timeline li > span:last-child { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ============ Contact ============ */
.contact { background: var(--yellow); padding: clamp(56px, 8vw, 96px) 0; border-top: 2px solid var(--ink); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact__title { font-size: clamp(64px, 9vw, 128px); margin-bottom: 18px; }
.contact__lede { font-size: 18px; max-width: 28em; }
.contact__direct { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.socials { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.socials a { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--ink); }
.socials a:hover { color: #000; border-bottom-color: var(--cyan); }

.form {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px); box-shadow: 6px 6px 0 var(--ink);
}
.form__row { margin-bottom: 16px; }
.form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(18,18,18,.25); border-radius: var(--radius-sm);
  padding: 11px 12px; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,188,224,.35); }
.form .is-invalid { border-color: #d43c2c; }
.form__note { margin: 10px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ============ Footer ============ */
.footer { background: var(--ink); color: var(--muted-on-ink); font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.footer a { text-decoration: none; color: #f4f1e6; }

/* ============ Modal ============ */
.modal {
  width: min(1180px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 18px; background: var(--paper); color: var(--ink);
  overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 80px -20px rgba(0,0,0,.6);
}
.modal::backdrop { background: rgba(10,10,10,.78); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .3s var(--ease); }
.modal[open]::backdrop { animation: fade .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }

.modal__shell { display: grid; grid-template-columns: 1.55fr 1fr; max-height: calc(100dvh - 32px); }
.modal__media { background: #0b0b0b; display: flex; flex-direction: column; min-height: 0; }
.stage {
  position: relative; flex: 1; min-height: 0; aspect-ratio: 16 / 10;
  display: grid; place-items: center; background: #0b0b0b;
}
.stage img, .stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0b0b0b; }
.thumbs {
  list-style: none; margin: 0; padding: 10px; display: flex; gap: 8px; overflow-x: auto;
  background: #0b0b0b; border-top: 1px solid #222; scrollbar-width: thin;
}
.thumbs:empty { display: none; }
.thumb {
  position: relative; flex: 0 0 auto; width: 96px; aspect-ratio: 16/10; padding: 0; cursor: pointer;
  border-radius: 6px; overflow: hidden; border: 2px solid transparent; background: #222; opacity: .6;
  transition: opacity .2s, border-color .2s;
}
.thumb:hover { opacity: .9; }
.thumb.is-active { opacity: 1; border-color: var(--yellow); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,.25);
}
.thumb__play::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='%23121212'/%3E%3C/svg%3E") center/16px no-repeat;
}

.modal__info { padding: 22px 26px 22px; overflow-y: auto; display: flex; flex-direction: column; min-height: 0; }
.modal__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.modal__top .kicker { margin: 8px 0 6px; }
.modal__info h2 { font-size: clamp(42px, 4vw, 56px); margin-bottom: 12px; }
.modal__summary { font-size: 16px; color: #34322b; }
.iconbtn {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--ink); background: transparent; display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.iconbtn:hover { background: var(--ink); transform: rotate(90deg); }
.iconbtn svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.iconbtn:hover svg { stroke: var(--yellow); }

.facts { margin: 4px 0 18px; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { font-weight: 700; color: var(--muted); padding-right: 18px; white-space: nowrap; }
.modal__sub { font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.bullets { margin: 0 0 18px; padding-left: 0; list-style: none; }
.bullets li { position: relative; padding-left: 22px; margin-bottom: 6px; font-size: 15px; line-height: 1.5; }
.bullets li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 9px; height: 9px;
  background: var(--yellow-deep); border: 1.5px solid var(--ink); transform: rotate(45deg);
}
.modal__cta { margin-bottom: 18px; }
.modal__nav { margin-top: auto; display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.navbtn {
  background: none; border: 0; cursor: pointer; font-weight: 700; font-size: 14px; padding: 6px 0;
  max-width: 48%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.navbtn:hover { text-decoration: underline; text-underline-offset: 4px; }

body.modal-open { overflow: hidden; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid.is-all .card--featured { grid-row: span 1; grid-column: span 2; }
  .grid.is-all .card--featured .card__media { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
}
@media (max-width: 1024px) {
  .svc { grid-template-columns: repeat(2, 1fr); }
  .modal__shell { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__info { overflow: visible; }
  .stage { aspect-ratio: 16 / 10; flex: none; max-height: 56dvh; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__reel { height: 300px; max-width: 520px; width: 100%; margin: 4px auto 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid.is-all .card--featured .card__title { font-size: 32px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__text { padding-top: 0; }
  .nav__links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand__name { font-size: 22px; }
  .stats { gap: 10px; }
  .stats strong { font-size: 32px; }
  .stats span { font-size: 12px; }
  .hero__reel { display: none; }
  .hero__ctas { flex-wrap: nowrap; gap: 10px; }
  .hero__ctas .btn { height: 46px; padding: 0 18px; font-size: 15px; }
  .eyebrow { font-size: 13px; }
  .nav .btn--sm { padding: 0 14px; font-size: 13px; }
  .hero__lede { font-size: 16px; }
  .grid { gap: 12px 10px; }
  .card__title { font-size: 22px; }
  .card__blurb { font-size: 13px; }
  .card__meta, .card__open { display: none; }
  .card__tag { font-size: 9px; padding: 4px 8px; top: 8px; left: 8px; }
  .svc { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; }
  .timeline__when { grid-row: auto; }
  .modal { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .modal__shell { max-height: 100dvh; height: 100dvh; }
  .modal__info { padding: 18px var(--gutter) 24px; }
  .modal .iconbtn { position: fixed; top: 12px; right: 12px; z-index: 5; background: var(--paper); }
  .modal__top .kicker { padding-right: 44px; }
  .footer__inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
