/*
  Tim McKenna — flat portfolio template
  A single dark, grayscale theme. Layout is a narrow single column,
  content set in Noto Sans. No build step, no framework.
*/

/* ---------- Design tokens ---------- */
:root {
  --color-bg: #171717;
  --color-bg-raised: #1f1f1f;
  --color-bg-raised-hover: #262626;
  --color-text: #e5e5e5;
  --color-text-muted: #a3a3a3;
  --color-border: #737373;       /* interactive components: 3:1 min against bg */
  --color-border-subtle: #2e2e2e; /* decorative dividers only */
  --color-focus: #e5e5e5;

  --font-body: "Noto Sans", "Noto Sans Fallback", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --content-width: 42rem;   /* ~672px, matches the source site's narrow column */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 999px;

  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
table {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

a {
  color: var(--color-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-text-muted);
}

/* Visible on every interactive element, keyboard and mouse alike --
   removing focus outlines is a common accessibility failure, so this
   template makes a deliberate, high-contrast one instead of hiding it. */
:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 100;
  background: var(--color-text);
  color: var(--color-bg);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: var(--space-4);
}

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

main {
  display: block;
  padding-block: var(--space-7) var(--space-8);
}

section + section {
  margin-top: var(--space-7);
}

/* ---------- Header / nav ---------- */
.site-header {
  border-bottom: 1px solid var(--color-border-subtle);
}

.site-header__bar {
  max-width: var(--content-width);
  margin-inline: auto;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 1rem;
}

.brand:hover {
  color: var(--color-text);
  opacity: 1;
}

.brand__mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.primary-nav {
  display: none;
}

.primary-nav ul {
  display: flex;
  gap: var(--space-5);
}

.primary-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--color-text);
}

.primary-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--color-bg-raised);
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background-color 0.15s ease;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before {
  top: -6px;
}

.nav-toggle__icon::after {
  top: 6px;
}

.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  max-width: var(--content-width);
  margin-inline: auto;
  padding: var(--space-2) var(--space-5) var(--space-5);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.mobile-nav a {
  display: block;
  padding: var(--space-2) 0;
  text-decoration: none;
  color: var(--color-text);
  font-size: 1rem;
}

.mobile-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (min-width: 640px) {
  .primary-nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: start;
}

.hero__avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--color-bg-raised);
  flex-shrink: 0;
}

.hero__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__name {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.hero__role {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin-top: var(--space-1);
}

.callout + section {
  margin-top: var(--space-8);
}

.hero__bio {
  margin-top: var(--space-5);
  color: var(--color-text);
  max-width: 60ch;
}

@media (max-width: 480px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

/* ---------- Callout card (e.g. "Now") ---------- */
.callout {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-raised);
}

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

a.callout:hover {
  background: var(--color-bg-raised-hover);
  border-color: var(--color-border);
}

.callout__media,
.callout__body {
  /* Grid items default to min-width: auto, which lets a replaced element's
     intrinsic size (the placeholder image) blow out the track. Reset it so
     the 1.1fr/1fr split above is what actually gets used. */
  min-width: 0;
}

.callout__media {
  aspect-ratio: 16 / 10;
  background: var(--color-bg-raised-hover);
}

.callout__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.callout__body {
  padding: var(--space-5);
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.callout__title {
  font-size: 1.125rem;
  font-weight: 600;
}

.callout__text {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
}

/* ---------- Section heading ---------- */
.section-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.section-lede {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
  max-width: 65ch;
}

/* ---------- Tag pills ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-raised);
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  font-size: 0.8125rem;
}

/* ---------- Card grid (projects) ---------- */
.card-grid {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.card-grid > .card {
  min-width: 0; /* see the note on .callout__media above */
}

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

.card {
  display: block;
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-raised);
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--color-border);
  color: var(--color-text);
}

.card__media {
  aspect-ratio: 16 / 10;
  background: var(--color-bg-raised-hover);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: var(--space-4);
}

.card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}

.card__title {
  font-size: 1.0625rem;
  font-weight: 600;
}

.card__year {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.card__text {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ---------- Buttons / links list (community, external) ---------- */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.pill-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.9375rem;
}

.pill-button:hover {
  background: var(--color-bg-raised);
  color: var(--color-text);
}

/* ---------- Link list items (talks, community entries) ---------- */
.entry-list > * + * {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
}

.entry__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
}

.entry__title {
  font-size: 1.0625rem;
  font-weight: 600;
}

.entry__date {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.entry__text {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
}

.entry__meta {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ---------- Community list with logos ---------- */
.org-list {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-5);
}

.org {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
  align-items: start;
}

.org__logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border-subtle);
}

.org__name {
  font-weight: 600;
}

.org__name a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.org__text {
  margin-top: var(--space-1);
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ---------- Case study body ---------- */
.case-header {
  border-bottom: 1px solid var(--color-border-subtle);
  padding-bottom: var(--space-6);
}

.case-title {
  font-size: 1.75rem;
  font-weight: 700;
}

.case-meta {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
}

.case-summary {
  margin-top: var(--space-4);
  font-size: 1.0625rem;
  color: var(--color-text);
  max-width: 65ch;
}

.case-section {
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-border-subtle);
}

.case-section:has(+ .more-projects) {
  border-bottom: none;
}

.case-hero {
  margin-top: var(--space-6);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-raised);
}

.case-hero img {
  width: 100%;
  height: auto;
}

.case-overview {
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-border-subtle);
  display: grid;
  gap: var(--space-6);
}

.case-facts > div + div {
  margin-top: var(--space-4);
}

.case-facts dt {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.case-facts dd {
  margin: var(--space-1) 0 0;
  color: var(--color-text);
}

.case-facts dd ul {
  margin-top: var(--space-1);
  padding-left: 1.1em;
  list-style: disc;
  color: var(--color-text-muted);
}

.case-snapshot {
  padding: var(--space-5);
  background: var(--color-bg-raised);
  border-radius: var(--radius-md);
}

.case-snapshot h2 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.case-snapshot ul {
  margin-top: var(--space-3);
  padding-left: 1.1em;
  list-style: disc;
  color: var(--color-text-muted);
}

.case-snapshot li + li {
  margin-top: var(--space-3);
}

.case-figure {
  margin-top: var(--space-5);
}

.case-section > .case-figure:first-child {
  margin-top: 0;
}

.case-figure + h2 {
  margin-top: var(--space-6);
}

.case-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  background: var(--color-bg-raised);
}

.case-figure figcaption {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.case-section h4 {
  margin-top: var(--space-4);
  font-size: 0.9375rem;
  font-weight: 600;
}

.case-section a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card__cta {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.case-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.case-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: var(--space-5);
}

.case-section > p,
.case-section > ul {
  margin-top: var(--space-3);
  color: var(--color-text-muted);
}

.case-section ul {
  padding-left: 1.1em;
  list-style: disc;
}

.case-section li + li {
  margin-top: var(--space-2);
}

.data-table {
  margin-top: var(--space-4);
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.data-table caption {
  text-align: left;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  font-size: 0.875rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: var(--space-3);
  border: 1px solid var(--color-border-subtle);
  vertical-align: top;
}

.data-table th {
  color: var(--color-text);
  background: var(--color-bg-raised);
}

.data-table td {
  color: var(--color-text-muted);
}

.more-projects {
  padding-top: var(--space-6);
}

.more-projects h2 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.more-projects ul {
  margin-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.more-projects a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Testimonials ---------- */
.testimonials {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-subtle);
}

.testimonials h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.testimonials__list {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-6);
}

.testimonial {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-4);
  align-items: center;
}

.testimonial__photo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--color-bg-raised);
}

.testimonial__body {
  border-left: 2px solid var(--color-border);
  padding-left: var(--space-4);
}

.testimonial__body p {
  font-size: 1.0625rem;
  font-style: italic;
}

.testimonial__body cite {
  display: block;
  margin-top: var(--space-3);
  font-style: normal;
}

.testimonial__name {
  display: block;
  font-weight: 600;
}

.testimonial__role {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

@media (max-width: 480px) {
  .testimonial {
    grid-template-columns: 56px 1fr;
    gap: var(--space-3);
  }

  .testimonial__photo {
    width: 56px;
    height: 56px;
  }
}

/* ---------- Prose (about page) ---------- */
.prose > * + * {
  margin-top: var(--space-4);
}

.prose ul {
  padding-left: 1.1em;
  list-style: disc;
  color: var(--color-text-muted);
}

.prose li + li {
  margin-top: var(--space-2);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border-subtle);
  padding-block: var(--space-6);
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.social-list {
  display: flex;
  gap: var(--space-3);
}

.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  text-decoration: none;
}

.social-list a:hover {
  color: var(--color-text);
  border-color: var(--color-border);
}

.social-list img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
}

.social-list a:hover img,
.social-list a:focus-visible img {
  opacity: 1;
}

.site-footer__copy {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg-raised);
  color: var(--color-text);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.back-to-top.is-visible {
  display: inline-flex;
}

.back-to-top:hover {
  background: var(--color-bg-raised-hover);
}

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

/* ---------- 404 ---------- */
.error-page {
  text-align: center;
  padding-block: var(--space-8);
}

.error-page__code {
  font-size: 3rem;
  font-weight: 700;
}

/* ---------- Image lightbox ---------- */
.is-zoomable {
  cursor: zoom-in;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
}

.lightbox__img {
  position: fixed;
  max-width: none;
  border-radius: var(--radius-sm);
  background: var(--color-bg-raised);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}

/* ---------- About page ---------- */
.about-body {
  margin-top: var(--space-6);
}

.about-body h2 {
  margin-top: var(--space-6);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- Contact modal ---------- */
.contact-modal {
  width: min(32rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: var(--space-6);
  overflow-y: auto;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.contact-modal[open] {
  animation: contact-in 300ms cubic-bezier(0.65, 0, 0.35, 1);
}

.contact-modal[open]::backdrop {
  animation: contact-fade 300ms cubic-bezier(0.65, 0, 0.35, 1);
}

.contact-modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
}

.contact-modal.is-closing {
  animation: contact-out 250ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.contact-modal.is-closing::backdrop {
  animation: contact-fade 250ms cubic-bezier(0.65, 0, 0.35, 1) reverse forwards;
}

@keyframes contact-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes contact-out {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(12px) scale(0.97); }
}

@keyframes contact-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal[open],
  .contact-modal[open]::backdrop,
  .contact-modal.is-closing,
  .contact-modal.is-closing::backdrop {
    animation-duration: 1ms;
  }
}

.contact-modal__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
}

.contact-modal__close:hover {
  background: var(--color-bg-raised-hover);
}

.contact-modal h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.contact__lede {
  margin-top: var(--space-2);
  color: var(--color-text-muted);
}

.contact__form {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-4);
}

.field label {
  display: block;
  margin-bottom: var(--space-1);
  font-size: 0.875rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: var(--space-3);
  font: inherit;
  color: var(--color-text);
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.field textarea {
  resize: vertical;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--color-text);
  border-width: 2px;
}

.field__error {
  display: block;
  margin-top: var(--space-1);
  font-size: 0.875rem;
  color: var(--color-text);
}

.field__error:empty,
.contact__status:empty {
  display: none;
}

.contact__status {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.button {
  justify-self: start;
  padding: var(--space-3) var(--space-5);
  font: inherit;
  font-weight: 600;
  color: var(--color-bg);
  background: var(--color-text);
  border: 0;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.button:hover {
  background: var(--color-text-muted);
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* ---------- Current work page ---------- */
.case-status {
  margin-top: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.case-status .eyebrow {
  margin-bottom: 0;
}

.case-note {
  color: var(--color-text-muted);
}

.case-section ol {
  margin-top: var(--space-3);
  padding-left: 1.3em;
  list-style: decimal;
  color: var(--color-text-muted);
}

.case-section h3 + .data-table,
.case-section h3 + ul {
  margin-top: var(--space-3);
}

.case-figure--placeholder img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pullquote {
  margin-top: var(--space-5);
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-border);
}

.case-section .pullquote p {
  margin-top: 0;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text);
}
