/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --paper: #F7F4EE;
  --frame: #FFFFFF;
  --ink: #1B1712;
  --muted: #756C5D;
  --line: #E6DFD1;
  --line-strong: #D3C9B4;
  --accent: #FF4433;
  --accent-ink: #C22A17;
  --accent-coral: #2A6F5C;
  --paper-rgb: 247, 244, 238;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --max-w: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(27,23,18,0.04), 0 24px 48px -24px rgba(27,23,18,0.28);
  --shadow-card-hover: 0 1px 2px rgba(27,23,18,0.05), 0 32px 64px -20px rgba(27,23,18,0.34);

  --dur: 220ms;
  --ease: cubic-bezier(.4,0,.2,1);
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0ms; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent);
  border-radius: 4px;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   Header / toolbar
   ========================================================================== */
.toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(var(--paper-rgb), 0.82);
  backdrop-filter: blur(10px);
}
.toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
@media (max-width: 480px) {
  .toolbar__inner { height: auto; padding: 16px 0; flex-wrap: wrap; row-gap: 12px; }
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-bottom: 4px;
}
.brand::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 22px; height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.nav {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
}
.nav a { color: var(--muted); padding: 4px 2px; border-bottom: 1px solid transparent; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--ink); border-color: var(--accent); }

/* ==========================================================================
   Card component — soft, elevated, rounded
   ========================================================================== */
.card {
  display: block;
  background: var(--frame);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 88px 0 88px; }
.hero__kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.005em;
  color: var(--accent-ink);
  margin-bottom: 20px;
  display: block;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 40ch;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-ink);
}
.hero__role {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.3vw, 16px);
  color: var(--muted);
  margin-top: 28px;
  max-width: 100%;
}
.hero__role a { color: var(--ink); border-bottom: 1px solid var(--line-strong); transition: border-color var(--dur) var(--ease); }
.hero__role a:hover { border-color: var(--accent); }

.about-copy p a,
.cs-block__body p a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.about-copy p a:hover,
.cs-block__body p a:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ==========================================================================
   Section headings
   ========================================================================== */
.section { padding: 56px 0; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.section__title { font-size: clamp(28px, 3.4vw, 38px); font-weight: 500; }

/* ==========================================================================
   Work grid
   ========================================================================== */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 72px;
}

.project__hit {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 28px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
@media (min-width: 720px) {
  .project__hit { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .project:nth-child(even) .project__hit { grid-template-columns: 1fr 1.15fr; }
  .project:nth-child(even) .project__media { order: 2; }
  .project:nth-child(even) .project__body { order: 1; }
}
.project__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--frame);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  transition: transform calc(var(--dur) * 2) var(--ease);
}
.project__hit:hover .project__media {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}
.project__body { padding: 0; }
.project__company { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.project__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); margin-top: 12px; }
.project__desc { color: var(--muted); font-size: 16.5px; margin-top: 14px; margin-bottom: 0; max-width: 42ch; }
.project__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--accent-ink);
}
.project__link .arrow { transition: transform var(--dur) var(--ease); }
.project__hit:hover .arrow,
.project__hit:focus-visible .arrow { transform: translateX(3px); }

/* ==========================================================================
   Properties panel (about teaser / contact)
   ========================================================================== */
.panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}
@media (max-width: 760px) {
  .panel__grid { grid-template-columns: 1fr; }
}
.panel__row {
  padding: 24px clamp(24px, 5vw, 40px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.panel__row:last-child { border-bottom: none; }
.panel__key { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.panel__val { font-family: var(--font-body); font-weight: 500; font-size: 15px; text-align: right; }
.panel__val a { border-bottom: 1px solid var(--line-strong); transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.panel__val a:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ==========================================================================
   About page
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-photo {
  aspect-ratio: 3/4;
  background: var(--frame);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { font-size: 17.5px; }
.about-copy p:first-of-type {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
}

.skills-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.skills-list li {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  background: var(--frame);
  box-shadow: var(--shadow-card);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--ink);
}

.timeline { margin-top: 8px; }
.timeline__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.timeline__row:last-child { border-bottom: 1px solid var(--line); }
.timeline__date { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); padding-top: 3px; }
.timeline__role { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.timeline__org { color: var(--muted); font-family: var(--font-body); font-size: 15px; margin-top: 3px; }

/* ==========================================================================
   Case study page
   ========================================================================== */
.cs-hero { padding: 64px 0 44px; }
.cs-hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 4vw, 46px); max-width: 100%; }
.cs-meta {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 700px) {
  .cs-meta { grid-template-columns: 1fr 1fr; }
}
.cs-meta__item .eyebrow { display: block; margin-bottom: 10px; }
.cs-meta__item p { margin: 0; font-family: var(--font-body); font-weight: 500; font-size: 15px; line-height: 1.5; }

.cs-cover { margin: 48px 0; border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.cs-cover img { width: 100%; display: block; }

.cs-block { padding: 40px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
@media (max-width: 760px) { .cs-block { grid-template-columns: 1fr; gap: 16px; } }
.cs-block-full { padding: 32px; }
.cs-block-full h3 { font-size: 22px; font-weight: 500; margin-bottom: 18px; }
.cs-block-full .cs-takeaways { max-width: none; }
.cs-block--highlight {
  background: color-mix(in srgb, var(--frame) 60%, transparent);
  box-shadow: var(--shadow-card);
  border: none;
  border-radius: var(--radius);
  margin: 8px 0 32px;
}
.cs-block--highlight .cs-block__label { display: block; margin-bottom: 16px; }
.cs-block--highlight + .cs-block { border-top: none; }
.cs-block__label { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); }
.cs-block__body p { font-size: 17px; }
.cs-block__body p strong { font-weight: 600; color: var(--accent-ink); }
.cs-block__body h3 { font-size: 22px; font-weight: 500; margin-bottom: 14px; }
.cs-block__figure {
  margin: 20px 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.cs-block__figure img { width: 100%; display: block; }
.cs-block__figure--pad { background: #fff; padding: 24px; }
.cs-block__figure--pad img { width: 100%; border-radius: var(--radius-sm); }
.cs-block__figure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.cs-block__figure-row img { height: 100%; object-fit: cover; }
.cs-block__figure-row--thumb a { display: block; height: 220px; background: #fff; }
.cs-block__figure-row--thumb img { height: 220px; width: 100%; object-fit: contain; background: #fff; cursor: zoom-in; transition: opacity 0.15s; }
.cs-block__figure-row--thumb img:hover { opacity: 0.85; }
.cs-block__figure-row--pad { gap: 16px; background: #fff; padding: 16px; }
.cs-block__figure-row--pad img { height: 220px; padding: 12px; box-sizing: border-box; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cs-block__figure figcaption {
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  background: var(--frame);
}

.cs-quotes { margin: 20px 0; display: grid; gap: 16px; }
.cs-quote {
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16.5px;
  color: var(--ink);
}
.cs-quote cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

.cs-placeholder-note {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: inline-block;
}

.cs-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}
@media (max-width: 700px) { .cs-stats { grid-template-columns: 1fr; } }
.cs-stat {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.cs-stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 34px;
  color: var(--line-strong);
}
.cs-stat__label {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}
.cs-stat--real {
  border: 1px solid var(--line);
  background: var(--frame);
  box-shadow: var(--shadow-card);
}
.cs-stat--real .cs-stat__value { color: var(--ink); }
.cs-stat--real .cs-stat__label { font-style: normal; }

.cs-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 700px) { .cs-screenshot-grid { grid-template-columns: 1fr; } }
.cs-screenshot-grid--cols3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cs-screenshot-grid--cols3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .cs-screenshot-grid--cols3 { grid-template-columns: 1fr; } }

.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .philosophy-grid { grid-template-columns: 1fr; } }

.cs-screenshot-tile-wrap { position: relative; }
.cs-screenshot-tile-wrap::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 20;
  text-align: left;
}
.cs-screenshot-tile-wrap:hover::after { opacity: 1; visibility: visible; }
.cs-screenshot-placeholder {
  aspect-ratio: 16 / 10;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 4%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cs-screenshot-placeholder__label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.cs-usability-finding {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.cs-usability-finding:first-of-type { margin-top: 20px; }
.cs-usability-finding p { margin-bottom: 12px; }
.cs-usability-finding .cs-screenshot-placeholder { max-width: 420px; }

.cs-screenshot-tile {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #fff;
}
.cs-screenshot-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: opacity 0.15s;
}
.cs-screenshot-tile img:hover { opacity: 0.85; }
.cs-screenshot-tile__label {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.cs-persona-card {
  margin-top: 16px;
  max-width: 640px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  background: var(--frame);
  padding: 28px 32px;
}
.cs-persona-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.cs-persona-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.cs-persona-card__name span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-top: 4px;
}
.cs-persona-card__row {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 12px;
}
.cs-persona-card__row:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.cs-persona-card__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent-ink);
  margin-bottom: 4px;
}
.cs-persona-card__row p {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0;
  color: var(--ink);
}

.cs-findings-table-wrap {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}
.cs-findings-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.cs-findings-table thead {
  background: var(--paper);
}
.cs-findings-table th {
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.cs-findings-table td {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cs-findings-table tbody tr:last-child td { border-bottom: none; }
.cs-findings-table tbody tr:nth-child(odd) { background: var(--frame); }
.cs-findings-table td:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-ink);
  white-space: nowrap;
}
.cs-findings-table td:last-child { color: var(--muted); }
.cs-domain-palette {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}
.cs-domain-swatch {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.cs-competitor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 16px;
}
@media (max-width: 500px) { .cs-competitor-grid { grid-template-columns: 1fr; } }
.cs-competitor-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: var(--frame);
}
.cs-competitor-card__logo {
  height: 24px;
  width: auto;
  max-width: 100%;
  display: block;
  margin-bottom: 16px;
  object-fit: contain;
  object-position: left;
}
.cs-competitor-card__desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.5;
}
.cs-competitor-card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.cs-competitor-card li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}

.cs-takeaways { display: grid; gap: 18px; }
.cs-takeaways li { font-size: 17px; border-left: 2px solid var(--accent); padding: 2px 0 2px 20px; }
.cs-takeaways strong { font-family: var(--font-display); font-weight: 500; }

.cs-team {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 20px 0;
}
.cs-team__group { display: flex; align-items: center; gap: 12px; }
.cs-team__avatars { display: flex; }
.cs-team__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-ink));
  border: 2px solid var(--paper);
  margin-left: -10px;
}
.cs-team__avatar:first-child { margin-left: 0; }
.cs-team__label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
}
.cs-team__label strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}

.cs-persona {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 20px 0;
}
.cs-persona .cs-quote { margin: 0; flex: 1; }
.cs-persona__avatar {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.cs-role {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: color-mix(in srgb, var(--accent) 12%, var(--frame));
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.cs-nav {
  padding: 48px 0 80px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
}
.cs-nav a:hover { color: var(--accent-ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Misc
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  background: var(--ink);
  color: var(--paper);
  padding: 15px 24px;
  border-radius: 999px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { background: var(--accent-ink); transform: translateY(-2px); }

.cs-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.82);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.cs-modal.is-open { display: flex; }
.cs-modal__img {
  max-width: 100%;
  max-height: 100%;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.cs-modal__close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}
.cs-modal__close:hover { color: var(--accent); }
