@import "./tokens.css";

/* ---- Reset ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--ink);
  color: var(--silver-bright);
  font-family: var(--font-sans);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Visible focus — volt's one allowed second job. */
:focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--volt-dim);
  color: var(--silver-bright);
}

/* ---- Material ------------------------------------------------------- */
.metal {
  background: linear-gradient(180deg, #f4f5f7 0%, #c3c8d0 45%, #8a909b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hairline {
  border: 0;
  border-top: 1px solid var(--hairline);
}

/* ---- Shared mono label --------------------------------------------- */
.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ---- Masthead / footer bars ---------------------------------------- */
.bar {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .bar {
    padding: 1.5rem 2rem;
  }
}

.masthead {
  border-bottom: 1px solid var(--hairline);
}

.mark {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--silver-bright);
}

.bar__meta {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.footer {
  margin-top: 3.5rem;
  border-top: 1px solid var(--hairline);
}

.footer__sig {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--silver);
}

.social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 -0.5rem; /* offset the link padding so the row stays flush */
  list-style: none;
}

.social a {
  display: inline-flex;
  padding: 0.5rem; /* ~38px tap target around an 18px glyph */
  color: var(--steel);
  transition: color 160ms ease;
}

.social a:hover {
  color: var(--silver-bright);
}

.social svg {
  width: 18px;
  height: 18px;
}

/* ---- Layout --------------------------------------------------------- */
.wrap {
  flex: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 3rem;
}

/* Open the spacing up on larger screens; phones stay tight. */
@media (min-width: 640px) {
  .wrap {
    padding: 7rem 2rem 5rem;
  }

  .spacer {
    margin: 4rem 0;
  }

  .section-label {
    margin: 4.5rem 0 1.5rem;
  }

  .project {
    margin-top: 3rem;
  }

  .shots-section {
    margin-top: 3.5rem;
  }

  .project-nav {
    margin-top: 4rem;
  }

  .footer {
    margin-top: 6rem;
  }
}

/* ---- Type ----------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--steel);
}

.title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: 1.5rem;
  overflow-wrap: break-word;
}

.lede {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--silver);
}

.intro {
  max-width: 44rem;
}

.spacer {
  margin: 2.5rem 0;
}

/* ---- Section label (index header) ---------------------------------- */
.section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--steel);
}

/* ---- Project grid --------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 13.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--surface);
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}

.card:hover {
  background: var(--surface-hi);
  border-color: #34343c;
}

.card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--steel);
  transition: color 160ms ease;
}

.card:hover .card__index {
  color: var(--silver);
}

.card__arrow {
  font-family: var(--font-mono);
  color: var(--steel);
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.card:hover .card__arrow {
  color: var(--silver-bright);
  transform: translateX(4px);
}

.card__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--silver-bright);
  margin-top: 1.25rem;
}

.card__blurb {
  margin-top: 0.625rem;
  font-size: 0.9375rem;
  color: var(--silver);
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 2rem;
}

/* ---- Status chip ---------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--silver);
}

.chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--silver);
}

/* Volt is reserved for "live" only — the one accent per view. */
.chip__dot--live {
  background: var(--volt);
}

.chip__dot--building {
  background: var(--silver);
}

.chip__dot--concept {
  background: var(--steel);
}

/* ---- Tags ----------------------------------------------------------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 0.75rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
}

/* ---- Project page --------------------------------------------------- */
.back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--steel);
  transition: color 160ms ease;
}

.back:hover {
  color: var(--silver-bright);
}

.project {
  max-width: 44rem;
  margin-top: 1.75rem;
}

.project__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.app-icon {
  display: block;
  width: 6.5rem;
  height: 6.5rem;
  border: 1px solid var(--hairline);
  border-radius: 22px;
}

.project__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.project__meta .tags {
  justify-content: flex-start;
}

.project__tags {
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.project__social {
  margin: 0 -0.5rem;
}

/* Download buttons. iOS carries the page's single volt accent; Android is
   a quiet hairline button. Platform glyphs are monochrome so the Android
   brand-green never competes with volt. */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver-bright);
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.cta svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.cta--ios {
  border-color: var(--volt);
  color: var(--volt);
}

.cta--ios:hover {
  background: var(--volt);
  color: var(--ink);
}

.cta--ghost:hover {
  border-color: var(--steel);
  color: var(--silver-bright);
}

/* Android early-access modal — the same request as the Gig landing page. */
.af-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(11, 11, 13, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 200ms ease,
    visibility 200ms ease;
}

.af-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.af-modal {
  position: relative;
  width: 100%;
  max-width: 23rem;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  padding: 1.85rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  transform: scale(0.96);
  transition: transform 200ms ease;
}

.af-overlay.open .af-modal {
  transform: scale(1);
}

.af-close {
  position: absolute;
  top: 0.35rem;
  right: 0.45rem;
  display: grid;
  place-items: center;
  width: 2.75rem; /* ≥24px tap target (WCAG 2.5.8) around the glyph */
  height: 2.75rem;
  background: none;
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--steel);
  cursor: pointer;
}

.af-close:hover {
  color: var(--silver-bright);
}

.af-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--silver-bright);
}

.af-intro {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--silver);
}

.af-label {
  display: block;
  margin: 1.1rem 0 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.af-label .af-opt {
  text-transform: none;
  letter-spacing: 0;
}

.af-input {
  width: 100%;
  padding: 0.7rem 0.8rem;
  background: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  color: var(--silver-bright);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
}

.af-input::placeholder {
  color: var(--steel);
}

.af-input:focus {
  outline: none;
  border-color: var(--volt);
}

.af-method {
  display: flex;
  gap: 0.5rem;
}

.af-opt-btn {
  flex: 1;
  padding: 0.6rem;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  color: var(--silver);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    color 160ms ease;
}

.af-opt-btn.selected {
  border-color: var(--silver);
  color: var(--silver-bright);
}

.af-submit {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.8rem;
  background: var(--volt);
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.af-submit:hover {
  background: var(--volt-dim);
}

.af-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.af-msg {
  min-height: 1.1rem;
  margin-top: 0.7rem;
  font-size: 0.8125rem;
}

.af-msg--ok {
  color: var(--volt);
}

.af-msg--err {
  color: #d98a8a;
}

/* Success state — checkmark draws itself in, then the modal bows out. */
.af-success {
  text-align: center;
  padding: 0.75rem 0 0.5rem;
  animation: af-pop 240ms ease both;
}

.af-check {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
}

.af-check__circle,
.af-check__tick {
  fill: none;
  stroke: var(--volt);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.af-check__circle {
  stroke-width: 2;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: af-draw 500ms ease forwards;
}

.af-check__tick {
  stroke-width: 3;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: af-draw 360ms 440ms ease forwards;
}

.af-success__text {
  font-size: 0.95rem;
  color: var(--silver-bright);
}

.af-success__sub {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
}

@keyframes af-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes af-pop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .af-overlay,
  .af-modal,
  .af-success,
  .af-check__circle,
  .af-check__tick {
    transition: none;
    animation: none;
  }

  .af-check__circle,
  .af-check__tick {
    stroke-dashoffset: 0;
  }
}

/* Spec sheet — mono key column + content rows, separated by hairlines. */
.spec {
  display: grid;
}

.spec__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--hairline);
}

.spec__row:last-child {
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 680px) {
  .spec__row {
    grid-template-columns: 11rem 1fr;
  }
}

.spec__key {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
  padding-top: 0.15rem;
}

.spec__val {
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--silver);
}

.spec__val strong {
  color: var(--silver-bright);
  font-weight: 500;
}

.spec__link {
  color: var(--silver-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--hairline);
  transition: text-decoration-color 160ms ease;
}

.spec__link:hover {
  text-decoration-color: var(--silver);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.facts li {
  position: relative;
  padding-left: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--silver);
}

.facts li::before {
  content: "/";
  position: absolute;
  left: 0;
  color: var(--steel);
}

.note {
  max-width: 38rem;
  font-size: 0.9375rem;
  color: var(--silver);
}

/* ---- Screenshot gallery -------------------------------------------- */
.shots-section {
  margin-top: 2.5rem;
}

.shots-lede {
  max-width: 36rem;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--silver);
}

/* Filmstrip — phones in narrative order, scrolls on narrow screens. */
.shots {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shot {
  flex: 0 0 12.5rem;
  margin: 0;
  scroll-snap-align: start;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 471 / 1024; /* reserve height so the lazy filmstrip can't reflow */
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 160ms ease;
}

.shot:hover img {
  border-color: #34343c;
}

.shot__cap {
  margin-top: 0.9rem;
}

.shot__step {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--silver-bright);
}

.shot__step b {
  color: var(--steel);
  font-weight: 500;
}

.shot__text {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--silver);
}

.project-nav {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.next {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--silver-bright);
}

.next__label {
  color: var(--steel);
}

.next__arrow {
  transition: transform 160ms ease;
}

.next:hover .next__arrow {
  transform: translateX(4px);
}

/* ---- Mobile -------------------------------------------------------- */
a,
button {
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 480px) {
  /* Full-width, comfortably tappable download buttons. */
  .cta-row {
    flex-direction: column;
  }

  .cta {
    width: 100%;
    justify-content: center;
  }

  .project__meta {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }
}

/* ==== Blog ============================================================ */

/* ---- Breadcrumb ----------------------------------------------------- */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.crumbs li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.crumbs li + li::before {
  content: "/";
  color: var(--hairline);
}

.crumbs a {
  color: var(--steel);
  transition: color 160ms ease;
}

.crumbs a:hover {
  color: var(--silver-bright);
}

.crumbs [aria-current="page"] {
  color: var(--silver);
}

/* ---- Blog index header --------------------------------------------- */
.blog-head {
  margin-top: 2rem;
  max-width: 44rem;
}

.blog-head__count {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--steel);
}

/* ---- Post grid ------------------------------------------------------ */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  list-style: none;
}

@media (min-width: 640px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card__media {
  display: block;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 160ms ease;
}

.post-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 200ms ease;
}

.post-card__link:hover .post-card__media {
  border-color: #34343c;
}

.post-card__link:hover .post-card__media img {
  transform: scale(1.02);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.1rem;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}

.post-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--silver-bright);
}

.post-card__excerpt {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--silver);
}

.post-card .tags {
  margin-top: 0.25rem;
}

/* ---- "Get the app" rail (index) ------------------------------------ */
.get-app {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding: 1.75rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface);
}

.get-app__kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
  margin-bottom: 0.5rem;
}

.get-app__line {
  max-width: 32rem;
  font-size: 1rem;
  color: var(--silver);
}

@media (min-width: 640px) {
  .get-app {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

/* ---- Article -------------------------------------------------------- */
.article {
  max-width: 44rem;
  margin: 2rem auto 0;
}

.article__head {
  max-width: 40rem;
}

.article__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-top: 1.25rem;
  color: var(--silver-bright);
  overflow-wrap: break-word;
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.article__dek {
  margin-top: 1.5rem;
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--silver);
}

.article__hero,
.article__figure {
  margin: 2.5rem 0;
}

.article__hero img,
.article__figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface);
}

.article__hero figcaption,
.article__figure figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--steel);
}

/* ---- Prose ---------------------------------------------------------- */
.prose {
  max-width: 40rem;
}

.prose p {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--silver);
}

.prose p:first-child {
  margin-top: 0;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--silver-bright);
  margin-top: 2.75rem;
}

.prose strong {
  color: var(--silver-bright);
  font-weight: 500;
}

.prose__link {
  color: var(--silver-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: var(--steel);
  transition: text-decoration-color 160ms ease;
}

.prose__link:hover {
  text-decoration-color: var(--silver-bright);
}

.pullquote {
  margin: 2.5rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--hairline);
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--silver-bright);
}

/* ---- In-article CTA callout (the page's one volt accent) ----------- */
.cta-callout {
  margin: 2.75rem 0;
  padding: 1.75rem;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface);
}

.cta-callout__kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--steel);
}

.cta-callout__line {
  max-width: 30rem;
  margin: 0.6rem 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--silver);
}

.article__foot {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline);
}

/* ---- "More from the journal" --------------------------------------- */
.more {
  max-width: 44rem;
  margin: 3.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}

.more__head {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.more__list {
  display: grid;
  gap: 1px;
  margin-top: 1.5rem;
  list-style: none;
}

.more__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--hairline);
}

.more__list li:last-child .more__link {
  border-bottom: 1px solid var(--hairline);
}

.more__kicker {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel);
}

.more__title {
  flex: 1;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--silver-bright);
}

.more__arrow {
  color: var(--steel);
  transition: transform 160ms ease;
}

.more__link:hover .more__arrow {
  transform: translateX(4px);
}

.more__all {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
  transition: color 160ms ease;
}

.more__all:hover {
  color: var(--silver-bright);
}

@media (min-width: 640px) {
  .more__link {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .more__kicker {
    flex: 0 0 9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-card__media img,
  .post-card__link:hover .post-card__media img,
  .more__arrow {
    transition: none;
    transform: none;
  }
}
