@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-400i.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #1a1a1a;
  --paper-raised: #1a1a1a;
  --ink: #dfe6ed;
  --ink-soft: #b5bcc3;
  --line: rgba(255, 255, 255, 0.16);
  --green: #d5e6dc;
  --green-deep: #f4f1ea;
  --clay: #e4b5a6;
  --moss: #111;
  color-scheme: dark;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

body.is-locked {
  position: fixed;
  inset: 0;
  width: 100%;
  overflow: hidden;
}

h1, h2, h3, .card-title {
  font-family: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

::selection {
  background: #f4f1ea;
  color: #000;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  transform: translateY(-150%);
  background: #f4f1ea;
  color: #000;
  padding: 0.5rem 0.8rem;
  z-index: 10;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(76rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-name {
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--ink-soft);
}

.hire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: #dfe6ed;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
}

a.hire {
  cursor: pointer;
}

a.hire:hover {
  background: #fff;
}

span.hire {
  cursor: default;
}

.hero {
  padding: 2.75rem 0 1.5rem;
}

.eyebrow,
.kicker,
.panel-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--green);
}

h1 {
  margin: 0;
  max-width: 12em;
  font-size: clamp(2.5rem, 6.4vw, 4.5rem);
  line-height: 1.02;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 44rem;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.55;
}

.hero-follow {
  margin: 1rem 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
}

.card .kicker {
  margin: 0;
}

.services {
  padding: 2.75rem 0;
  background: #2c3642;
}

.service-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.4rem 2.25rem;
}

.service-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.service-list p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.tools {
  margin: 1.6rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  max-width: 46rem;
}

.tools-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green);
}

.tools-line {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.projects {
  padding: 2.25rem 0 2.75rem;
}

.projects h2,
.services h2,
.closing h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.section-note {
  margin: 0.6rem 0 0;
  max-width: 38rem;
  color: var(--ink-soft);
}

.cards {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 3.25rem;
}

.cards li {
  display: flex;
  min-width: 0;
}

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: inherit;
  font: inherit;
  background: var(--paper);
  border: 1px solid #546478;
  border-radius: 2px;
  cursor: pointer;
}

.card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper);
}

.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.card-media.is-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.4rem;
  background: #111;
  color: var(--ink-soft);
}

.card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.9rem 1rem 1.05rem;
}

.card-title {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.card-summary {
  color: var(--ink-soft);
}

.store-flag {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green);
}

.card-action {
  margin-top: auto;
  padding-top: 0.8rem;
  font-weight: 600;
  color: var(--green);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.card:focus-visible,
.close:focus-visible,
a:focus-visible,
.panel-scroll:focus-visible {
  outline: 2px solid #f4f1ea;
  outline-offset: 3px;
}

#case-dialog-title:focus {
  outline: none;
}

.closing {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.closing-inner {
  padding: 2.5rem 0 2.75rem;
}

.closing p {
  margin: 0.7rem 0 1.15rem;
  max-width: 32rem;
}

.closing .hire,
.closing a.hire:hover {
  background: #dfe6ed;
  color: #000;
}

.closing a.hire:hover {
  background: #fff;
}

dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

dialog::backdrop {
  background: rgba(255, 255, 255, 0.16);
}

dialog[open] {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(0.75rem, 2.2vw, 1.5rem);
}

.panel {
  display: flex;
  flex-direction: column;
  width: min(76rem, 100%);
  height: 100%;
  min-height: 0;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.panel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: none;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-raised);
}

.panel-kicker {
  margin: 0;
}

.close {
  min-height: 44px;
  padding: 0.4rem 0.95rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
}

.close:hover {
  border-color: var(--ink);
}

.panel-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1.4rem 1.15rem 2.5rem;
}

.case-source h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.case-lead {
  margin: 0.8rem 0 0;
  max-width: 40rem;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.case-source section {
  margin-top: 1.6rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.case-source h3 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.case-source p {
  margin: 0;
  max-width: 40rem;
}

.case-end {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.shot {
  margin: 1.15rem 0 0;
  max-width: 100%;
}

.shot-caption,
.pan-hint {
  margin: 0.5rem 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pan-hint {
  display: none;
}

.shot-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem 1.75rem;
}

.shot-group .shot {
  margin-top: 1.15rem;
}

.shot-stage {
  min-width: 0;
}

.shot-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  min-height: 12rem;
  aspect-ratio: 4 / 3;
  padding: 1.25rem;
  text-align: center;
  background: #111;
  color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.shot-mark {
  width: 2.4rem;
  height: 1.7rem;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  opacity: 0.75;
}

.shot-label {
  font-weight: 600;
  color: var(--ink);
}

.shot-meta {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shot-plain .shot-stage,
.shot-bare .shot-stage {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
}

.shot-pan .shot-stage {
  overflow-x: auto;
}

.shot-plain img,
.shot-bare img,
.device img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.shot-pan img {
  min-width: 56rem;
}

.shot-pan-wide img {
  min-width: 72rem;
}

.device {
  background: #1a1714;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 16px 40px rgba(28, 25, 21, 0.12);
}

.shot-phone {
  width: min(100%, 24rem);
  max-width: 100%;
  min-width: 0;
  flex: 0 0 auto;
}

.device-phone {
  width: 100%;
  padding: 0.75rem;
  border-radius: 1.85rem;
}

.device-phone img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.device-ipad {
  width: min(100%, 52rem);
  padding: 0.9rem;
  border-radius: 1.5rem;
}

.shot-ipad.is-portrait .device-ipad {
  width: min(100%, 34rem);
}

.shot-narrow {
  width: min(100%, 22rem);
}

.call-history {
  background: #fff;
  color: #1a1a1a;
  font-family: "Public Sans", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.2;
}

.ch-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem 0.2rem;
  background: #000;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

.ch-status-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.ch-status-icons svg {
  display: block;
  height: 0.7rem;
  width: auto;
  fill: currentColor;
}

.ch-sig { width: 0.95rem; }
.ch-wifi { width: 0.85rem; }
.ch-bat { width: 1.25rem; }

.ch-head {
  display: grid;
  grid-template-columns: 1.4rem 1fr 1.4rem;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.2rem 0.65rem 0.45rem;
  background: #000;
  color: #fff;
}

.ch-title {
  margin: 0;
  grid-column: 2;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ch-gear {
  grid-column: 3;
  justify-self: end;
  width: 1.15rem;
  height: 1.15rem;
}

.ch-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ch-row {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr) auto 1.85rem;
  grid-template-rows: auto auto;
  column-gap: 0.45rem;
  row-gap: 0.08rem;
  align-items: center;
  padding: 0.48rem 0.65rem;
  border-bottom: 1px solid #ececef;
}

.ch-row::before {
  content: "";
  grid-row: 1 / span 2;
  width: 0.95rem;
  height: 0.95rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8a12 12 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.3 12 12 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.6 21 3 13.4 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 12 12 0 0 0 .6 3.6 1 1 0 0 1-.3 1L6.6 10.8z'/%3E%3Cpath fill='black' d='M14 4h6v2h-4v4h-2V4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8a12 12 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.3 12 12 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.6 21 3 13.4 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 12 12 0 0 0 .6 3.6 1 1 0 0 1-.3 1L6.6 10.8z'/%3E%3Cpath fill='black' d='M14 4h6v2h-4v4h-2V4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ch-in { color: #7eaf78; }
.ch-out { color: #0162fe; }
.ch-out::before { transform: scaleX(-1); }

.ch-name,
.ch-meta,
.ch-time {
  color: #1c1c1e;
}

.ch-name {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ch-meta {
  grid-column: 2;
  grid-row: 2;
}

.ch-meta,
.ch-time {
  color: #8e8e93;
  font-size: 0.72rem;
  font-weight: 400;
}

.ch-time {
  grid-column: 3;
  grid-row: 1 / span 2;
  white-space: nowrap;
}

.ch-call {
  grid-column: 4;
  grid-row: 1 / span 2;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: #0162fe;
  -webkit-mask: none;
  mask: none;
  position: relative;
}

.ch-call::after {
  content: "";
  position: absolute;
  inset: 0.38rem;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8a12 12 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.3 12 12 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.6 21 3 13.4 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 12 12 0 0 0 .6 3.6 1 1 0 0 1-.3 1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8a12 12 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.3 12 12 0 0 0 3.6.6 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.6 21 3 13.4 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 12 12 0 0 0 .6 3.6 1 1 0 0 1-.3 1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ch-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.1rem;
  padding: 0.45rem 0.15rem 0.7rem;
  background: #0862ff;
  color: #fff;
}

.ch-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  min-width: 0;
  text-align: center;
  font-size: 0.58rem;
  line-height: 1.15;
  font-weight: 500;
  opacity: 0.8;
}

.ch-tab::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  background: #fff;
}

.ch-tab.is-active {
  opacity: 1;
  font-weight: 700;
}

.ch-tab:nth-child(1)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 11h-4V7h2v4h2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 11h-4V7h2v4h2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ch-tab:nth-child(2)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0 2c-3.3 0-8 1.7-8 5v1h16v-1c0-3.3-4.7-5-8-5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a4 4 0 1 0-4-4 4 4 0 0 0 4 4zm0 2c-3.3 0-8 1.7-8 5v1h16v-1c0-3.3-4.7-5-8-5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ch-tab:nth-child(3)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 4h4v4H5zm5 0h4v4h-4zm5 0h4v4h-4zM5 10h4v4H5zm5 0h4v4h-4zm5 0h4v4h-4zM5 16h4v4H5zm5 0h4v4h-4zm5 0h4v4h-4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 4h4v4H5zm5 0h4v4h-4zm5 0h4v4h-4zM5 10h4v4H5zm5 0h4v4h-4zm5 0h4v4h-4zM5 16h4v4H5zm5 0h4v4h-4zm5 0h4v4h-4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ch-tab:nth-child(4)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 8h10a4 4 0 0 1 0 8H8v3l-4-3H4a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2zm14.5 1.5 3 2.5-3 2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 8h10a4 4 0 0 1 0 8H8v3l-4-3H4a2 2 0 0 1-2-2V10a2 2 0 0 1 2-2zm14.5 1.5 3 2.5-3 2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ch-tab:nth-child(5)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-5 4v-4H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.device .shot-empty {
  background: #111;
  box-shadow: none;
}

.shot-phone .shot-empty {
  aspect-ratio: 9 / 16;
  min-height: 0;
}

@media (min-width: 760px) {
  .wrap {
    width: min(76rem, calc(100% - 4rem));
  }

  .hero {
    padding: 4.5rem 0 2rem;
  }

  .cards,
  .service-list {
    grid-template-columns: 1fr 1fr;
  }

  .panel-scroll {
    padding: 1.8rem 1.8rem 3rem;
  }
}

@media (max-width: 700px) {
  dialog[open] {
    padding: 0;
  }

  .panel {
    width: 100%;
    border: 0;
    box-shadow: none;
  }

  .site-header .hire {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .shot-pan .pan-hint {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    transition: border-color 160ms ease, background-color 160ms ease;
  }

  dialog[open] .panel {
    animation: panel-in 180ms ease-out;
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
