/* Clara — personal portfolio
   Clean, generous layout inspired by contemporary design portfolios.
   Edit colours, type, and spacing here. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --text: #1c1b19;
  --text-mid: #4f4a44;
  --text-light: #7a746c;
  --border: #e6e1d8;
  --accent: #2f5d4a;
  --accent-hover: #244839;
  --accent-soft: #e8f0eb;
  --accent-line: #c5d6cc;
  --accent-bright: #3d7a61;
  --placeholder-bg: #fff8ea;
  --placeholder-border: #e0c278;
  --placeholder-label: #7a4e00;
  --radius: 6px;
  --max: 1100px;
  --nav-h: 64px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-card: 0 2px 8px rgba(28, 27, 25, 0.06), 0 12px 28px -14px rgba(28, 27, 25, 0.18);
}

[data-theme="dark"] {
  --bg: #141312;
  --surface: #1c1b19;
  --text: #f0ede7;
  --text-mid: #b4aea4;
  --text-light: #8a847c;
  --border: #2e2c28;
  --accent: #8fbfa6;
  --accent-hover: #b5d6c4;
  --accent-soft: #1e2a24;
  --accent-line: #31443b;
  --accent-bright: #a8d4bc;
  --placeholder-bg: #2a2518;
  --placeholder-border: #6a5720;
  --placeholder-label: #e0b44a;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.35), 0 12px 28px -14px rgba(0, 0, 0, 0.5);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.3s, color 0.3s;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
ul { list-style: none; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-nav {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 6px 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
}
.skip-nav:focus { top: 0; }
[data-theme="dark"] .skip-nav { color: #141312; }

/* ---------- Nav ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

.nav-logo {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo:hover { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 1.75rem; }

.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--text); }

.theme-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-mid);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* ---------- Layout ---------- */
.section-wrap { max-width: var(--max); margin: 0 auto; padding: 0 2.5rem; }

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 2.25rem;
  color: var(--text);
}

.divider {
  width: 36px;
  height: 2px;
  background: var(--accent);
  margin: 0.85rem 0 1.5rem;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-pill:hover { background: var(--accent-hover); transform: translateY(-1px); color: #fff; }
[data-theme="dark"] .btn-pill { color: #141312; }
[data-theme="dark"] .btn-pill:hover { color: #141312; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.btn-ghost:hover { color: var(--accent-hover); }

.edit-note {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ---------- Hero ---------- */
.hero-section {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem 2.5rem 4.5rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 5rem;
  align-items: center;
  width: 100%;
}
.hero-h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1.4rem;
}
.hero-h1 em {
  font-style: italic;
  font-weight: 650;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 50ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--accent-soft);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-h1 { animation: fadeUp 0.7s ease both; }
  .hero-sub { animation: fadeUp 0.7s 0.1s ease both; }
  .hero-actions { animation: fadeUp 0.7s 0.18s ease both; }
  .hero-photo { animation: fadeUp 0.85s 0.12s ease both; }
}

/* ---------- Tools ---------- */
.tools-strip {
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 0;
}
.tools-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}
.tools-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}
.tools-logos { display: flex; align-items: center; gap: 0.85rem 1.35rem; flex-wrap: wrap; width: 100%; }
.tool-item {
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0.62;
  color: var(--text-mid);
  transition: opacity 0.2s;
}
.tool-item:hover { opacity: 1; }
.tool-item svg { flex-shrink: 0; border-radius: 4px; }
.tool-item span { font-size: 0.8rem; font-weight: 500; white-space: nowrap; }

/* ---------- How I show up ---------- */
.approach-section {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--border);
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 6rem;
}
.approach-item .role-label {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}
.approach-item .role-body {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ---------- My work ---------- */
.work-section {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--border);
}
.work-intro {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 62ch;
  margin-bottom: 2.75rem;
}
.cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.cs-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(28, 27, 25, 0.12);
}
.cs-card-img-wrap {
  background: var(--surface);
  padding: 1rem 1rem 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
.cs-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
}
.cs-card-img-wrap.contain img {
  object-fit: contain;
  background: #fff;
}
[data-theme="dark"] .cs-card-img-wrap.contain img { background: #1a1917; }
.cs-card-content {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.cs-meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.cs-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.cs-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}
.cs-arrow {
  align-self: flex-end;
  color: var(--accent);
  margin-top: 0.35rem;
  transition: transform 0.2s ease;
}
.cs-card:hover .cs-arrow { transform: translateX(4px); }

/* ---------- Timeline ---------- */
.experience-section {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--border);
}
.timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: 1px solid var(--border); }
.timeline-when {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  padding-top: 0.2rem;
}
.timeline-role {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}
.timeline-org {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.55rem;
}
.timeline-body {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 62ch;
}
.timeline-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 2.5rem 0 0.25rem;
}

/* ---------- Testimonials ---------- */
.testi-section {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--border);
}
.testi-intro {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 58ch;
  margin: -1rem 0 2.25rem;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.testi-card {
  background: var(--surface);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.testi-quote {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-mid);
  font-style: italic;
  flex: 1;
}
.testi-quote::before {
  content: "“";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  font-style: normal;
  color: var(--accent-bright);
  line-height: 0;
  display: block;
  margin: 0.4rem 0 0.9rem;
}
.testi-attr { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.testi-name { display: block; font-size: 0.88rem; font-weight: 650; }
.testi-title, .testi-role { display: block; font-size: 0.78rem; color: var(--text-light); line-height: 1.4; }

/* ---------- Connect ---------- */
.connect-section { padding: 6.5rem 0 7rem; }
.connect-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.connect-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.connect-sub { font-size: 1rem; color: var(--text-mid); line-height: 1.75; max-width: 42ch; }
.connect-cards { display: flex; flex-direction: column; gap: 0.75rem; }
.connect-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.connect-card:hover { border-color: var(--accent); transform: translateX(5px); }
.connect-card-static { cursor: default; }
.connect-card-static:hover { border-color: var(--border); transform: none; }
.connect-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.connect-label { display: block; font-size: 0.72rem; color: var(--text-light); margin-bottom: 2px; }
.connect-value { font-size: 0.92rem; font-weight: 600; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 1.3rem 2.5rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-light);
}
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.footer-links a:hover { color: var(--accent); }
.footer-links .footer-note { color: var(--text-light); }

/* ---------- Placeholders ---------- */
.placeholder-block {
  background: var(--placeholder-bg);
  border: 1.5px dashed var(--placeholder-border);
  border-radius: 8px;
  padding: 1.25rem 1.35rem;
  margin: 0.75rem 0 0;
}
.placeholder-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--placeholder-label);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.placeholder-block p { color: var(--text-mid); font-size: 0.95rem; }
.placeholder-block .hint {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--placeholder-label);
  font-style: italic;
}
.placeholder-inline {
  display: inline;
  background: var(--placeholder-bg);
  border-bottom: 1.5px dashed var(--placeholder-border);
  padding: 0 0.2em;
  color: var(--placeholder-label);
  font-weight: 600;
  font-style: normal;
}
.placeholder-media {
  background: var(--placeholder-bg);
  border: 1.5px dashed var(--placeholder-border);
  border-radius: 8px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--placeholder-label);
  text-align: center;
  padding: 2rem 1rem;
  margin: 1.25rem 0;
}
.placeholder-media strong { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.placeholder-media span { font-size: 0.88rem; max-width: 36ch; }

/* ---------- Case study pages ---------- */
.case-hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 3rem;
  border-bottom: 1px solid var(--border);
}
.case-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  margin-bottom: 2rem;
}
.case-back:hover { color: var(--accent); }
.case-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.case-h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 18ch;
  margin-bottom: 1.25rem;
}
.case-lead {
  font-size: 1.08rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 62ch;
  margin-bottom: 1.75rem;
}
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  padding-top: 0.5rem;
}
.case-meta dt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}
.case-meta dd { font-size: 0.95rem; font-weight: 600; }

.case-hero-img {
  margin: 2.5rem 0 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}
.case-hero-img img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}
.case-hero-img.contain img {
  object-fit: contain;
  background: #fff;
  max-height: 480px;
}
[data-theme="dark"] .case-hero-img.contain img { background: #1a1917; }

.case-section {
  padding: 4.25rem 0;
  border-bottom: 1px solid var(--border);
}
.case-section:last-of-type { border-bottom: none; }
.case-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.case-section h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.case-known {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 66ch;
  margin-top: 1rem;
}

.case-nav {
  padding: 3.5rem 0 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.case-nav a {
  display: block;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s;
}
.case-nav a:hover { border-color: var(--accent); transform: translateY(-2px); }
.case-nav .dir {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}
.case-nav .name { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.case-nav .next { text-align: right; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav { padding: 0 1.25rem; }
  .section-wrap,
  .hero-inner,
  .tools-inner,
  footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }
  .hero-photo { max-width: 280px; }
  .cs-grid,
  .approach-grid,
  .connect-inner,
  .testi-grid,
  .timeline-item,
  .case-nav { grid-template-columns: 1fr; }
  .case-nav .next { text-align: left; }
  .approach-section,
  .work-section,
  .experience-section,
  .testi-section,
  .connect-section { padding: 4.25rem 0; }
  .hero-section { min-height: 0; }

  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0 0.75rem;
  }
  nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 0.75rem 1.25rem; }
  .nav-links a::after { display: none; }
}

@media (max-width: 640px) {
  .hero-h1 { font-size: 2.15rem; }
  .tools-inner { gap: 1rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Awards, skills, outcome facts */
.award-list { display: flex; flex-direction: column; }
.award-list .timeline-item { grid-template-columns: 11rem 1fr; }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3.5rem;
  margin-top: 0.5rem;
}
.skills-grid dt {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.skills-grid dd {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0.25rem;
}

.fact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.fact-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
}
.fact-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.fact-item span {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.case-image + .case-image { margin-top: 1.25rem; }
.case-caption {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 0.6rem;
}

@media (max-width: 860px) {
  .skills-grid,
  .fact-list { grid-template-columns: 1fr; }
}

/* Craft / workshop */
.craft-section {
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--border);
}
.craft-intro {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 62ch;
  margin: -0.5rem 0 2.75rem;
}
.craft-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.craft-photos { display: flex; flex-direction: column; gap: 1rem; }
.craft-photos figure { margin: 0; }
.craft-photos img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--surface);
}
.craft-photos .craft-photo-main img { aspect-ratio: 16 / 10; object-position: center 40%; }
.craft-photos .craft-photo-alt img { aspect-ratio: 16 / 9; object-position: center 35%; }
.craft-photos figcaption {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.45rem;
}
.craft-text h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}
.craft-text p {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}
@media (max-width: 860px) {
  .craft-row { grid-template-columns: 1fr; gap: 1.75rem; }
  .craft-section { padding: 4.25rem 0; }
}


/* Work tags and subsection */
.cs-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  flex-wrap: wrap;
}
.cs-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.cs-review {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  font-weight: 650;
  font-style: normal;
  color: var(--placeholder-label);
}
.work-subtitle {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 3.75rem 0 1.5rem;
  color: var(--text);
}

.case-hero .cs-pill { margin: 0 0 1rem; }

.cs-card-img-wrap.crypto-cover img { object-position: center 28%; }

.craft-follow {
  margin-top: 3.25rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--border);
  max-width: 62ch;
}
.craft-follow h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}
.craft-follow p {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.75;
}
@media (max-width: 860px) {
  .craft-follow { margin-top: 2.25rem; padding-top: 2rem; }
}

.cs-subtitle {
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic;
  color: var(--text-mid);
  margin-top: -0.15rem;
  letter-spacing: -0.01em;
}
.case-hero .cs-subtitle {
  font-size: 1.15rem;
  margin: -0.5rem 0 1.25rem;
}
