/* ==========================================================
   Mrunmayee Kedar — Portfolio
   One stylesheet for every page. Edit the tokens below to
   change colours, fonts and spacing everywhere at once.
   ========================================================== */

:root {
  --bg: #f6f4ef;          /* warm paper */
  --surface: #ffffff;
  --ink: #161513;         /* main text */
  --ink-2: #57544e;       /* body text */
  --ink-3: #8c8880;       /* labels, captions */
  --line: #e4e0d7;
  --line-2: #d6d1c6;
  --accent: #c4512a;      /* used sparingly: links, highlights */
  --accent-soft: #f6e4dc;
  --ok: #2f8a57;

  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}
.display em { font-style: italic; color: var(--accent); }
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); line-height: 1.65; }
.muted { color: var(--ink-3); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  font-family: var(--serif); font-size: 19px; line-height: 1; padding-top: 2px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14px; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: rgba(22,21,19,.05); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .3s var(--ease), opacity .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg) !important;
  transition: transform .25s var(--ease), background .2s, color .2s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: #000; }
.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.sm { height: 38px; padding: 0 16px; }
.arrow { transition: transform .25s var(--ease); }
a:hover .arrow { transform: translate(2px, -2px); }

/* ---------- Status pill ---------- */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--ink-2);
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); position: relative; }
.status i::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--ok); opacity: .25; animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .4; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(56px, 8vw, 96px); }
.hero h1 { font-size: clamp(46px, 7.6vw, 112px); max-width: 15ch; }
.hero .avatar {
  display: inline-block; vertical-align: -0.08em;
  width: .92em; height: .78em; border-radius: 999px;
  object-fit: cover; object-position: 50% 22%;
  margin: 0 .08em; box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--line);
}
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px; align-items: end; margin-top: clamp(32px, 5vw, 56px);
}
.hero-foot .lead { margin: 0; max-width: 46ch; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 18px 16px 0 0; }
.facts b { display: block; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.facts span { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-3); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(36px, 5vw, 60px); }
.section-head p { margin: 10px 0 0; color: var(--ink-2); max-width: 44ch; }

/* ---------- Project cards ---------- */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px) clamp(16px, 2.4vw, 28px); }
.projects.featured .card:first-child { grid-column: 1 / -1; }
.projects.featured .card:first-child .card-media { aspect-ratio: 16 / 8; }
.card { display: block; }
.card-media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: #e9e5dc;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease);
}
.card:hover .card-media img { transform: scale(1.035); }
.card-media .lock {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(8px); color: var(--ink);
}
.card-media .go {
  position: absolute; bottom: 14px; right: 14px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); color: var(--ink);
  opacity: 0; transform: translateY(8px) scale(.9);
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.card:hover .card-media .go { opacity: 1; transform: none; }
.card-body { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; }
.card h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.card p { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  font-size: 12px; color: var(--ink-2);
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line-2);
}
.card .year { font-size: 13px; color: var(--ink-3); white-space: nowrap; padding-top: 3px; }

/* compact list for "more work" */
.list-projects { border-top: 1px solid var(--line); }
.list-row {
  display: grid; grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 20px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.list-row .thumb { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: #e9e5dc; }
.list-row .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.list-row:hover .thumb img { transform: scale(1.06); }
.list-row h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.list-row p { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }
.list-row .tags { margin-top: 0; justify-content: flex-end; }
.list-row:hover h3 { color: var(--accent); }

/* ---------- Experience ---------- */
.timeline { border-top: 1px solid var(--line); }
.tl-row {
  display: grid; grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line);
}
.tl-row .when { font-size: 14px; color: var(--ink-3); padding-top: 3px; }
.tl-row h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.tl-row h3 a:hover { color: var(--accent); }
.tl-row .org { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.tl-row p { margin: 10px 0 0; color: var(--ink-2); max-width: 64ch; }

/* ---------- Skills ---------- */
.skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.skill { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.skill .num { font-family: var(--serif); font-size: 15px; color: var(--accent); }
.skill h3 { margin: 18px 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.skill p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.toolkit { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.toolkit span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}
.toolkit span small { color: var(--ink-3); font-size: 12px; }

/* ---------- Contact / footer ---------- */
.contact { padding: clamp(72px, 10vw, 128px) 0 40px; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(52px, 10vw, 136px); }
.contact .mail {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px;
  font-size: clamp(18px, 2.4vw, 26px); letter-spacing: -.01em;
  border-bottom: 1px solid var(--line-2); padding-bottom: 6px;
  transition: border-color .2s, color .2s;
}
.contact .mail:hover { color: var(--accent); border-color: var(--accent); }
.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(64px, 9vw, 112px); padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-3);
}
.foot nav { display: flex; gap: 20px; }
.foot a:hover { color: var(--ink); }

/* ---------- Page header (work / about) ---------- */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { font-size: clamp(48px, 8vw, 104px); }
.page-head p { margin: 20px 0 0; max-width: 52ch; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-grid .portrait { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: #e9e5dc; }
.about-grid .portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { margin: 0 0 18px; }
.about-copy p.big { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 28px; }
.art { columns: 4 220px; column-gap: 14px; }
.art figure { margin: 0 0 14px; break-inside: avoid; border-radius: var(--radius-sm); overflow: hidden; background: #e9e5dc; cursor: zoom-in; }
.art img { width: 100%; transition: transform .6s var(--ease); }
.art figure:hover img { transform: scale(1.03); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,19,17,.92);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
  cursor: zoom-out;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(1400px, 100%); max-height: 90vh; width: auto; border-radius: 8px; }

/* ---------- Case study ---------- */
.cs-head { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); margin-bottom: clamp(28px, 5vw, 48px); }
.back:hover { color: var(--ink); }
.cs-head h1 { font-size: clamp(48px, 8vw, 108px); }
.cs-head .headline { margin: 18px 0 0; font-size: clamp(19px, 2vw, 24px); color: var(--ink-2); max-width: 40ch; line-height: 1.45; }
.cs-meta {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(32px, 5vw, 56px); padding-top: 22px; border-top: 1px solid var(--line);
}
.cs-meta dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cs-meta dd { margin: 6px 0 0; font-size: 15px; color: var(--ink); line-height: 1.5; }
.cs-cover { border-radius: var(--radius); overflow: hidden; background: #e9e5dc; }
.cs-cover img { width: 100%; }

.cs-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding: clamp(56px, 8vw, 96px) 0; }
.toc { position: sticky; top: 100px; align-self: start; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a {
  display: block; padding: 6px 0 6px 16px; margin-left: -1px;
  font-size: 14px; color: var(--ink-3);
  border-left: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.toc a:hover { color: var(--ink); }
.toc a.active { color: var(--ink); border-left-color: var(--ink); }

.cs-content { min-width: 0; max-width: 780px; }
.cs-section { padding-bottom: clamp(48px, 7vw, 88px); scroll-margin-top: 96px; }
.cs-section > .eyebrow { display: flex; align-items: center; gap: 10px; }
.cs-section > .eyebrow b { font-family: var(--serif); font-weight: 400; font-size: 15px; letter-spacing: 0; color: var(--accent); text-transform: none; }
.cs-section h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -.015em; margin: 12px 0 0; }
.cs-section > * + * { margin-top: 22px; }
.cs-section > .eyebrow + * { margin-top: 14px; }
.cs-content p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.75; }
.cs-content p.sub { font-weight: 600; color: var(--ink); font-size: 17px; margin-top: 32px; }

.cs-list { margin: 0; padding: 0; list-style: none; }
.cs-list li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.cs-list li:first-child { border-top: 1px solid var(--line); }
.cs-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 8px; height: 1.5px; background: var(--accent); }

.cs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cs-cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.cs-card .n { font-family: var(--serif); color: var(--accent); font-size: 15px; }
.cs-card h4 { margin: 8px 0 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; }
.cs-card p { font-size: 15px !important; line-height: 1.6 !important; margin-top: 6px !important; }

.cs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.cs-stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.cs-stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -.02em; color: var(--ink); }
.cs-stat span { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.cs-stat small { display: block; margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.cs-stat small a { text-decoration: underline; text-underline-offset: 2px; }

.cs-quote { margin: 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); }
.cs-quote p { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px) !important; line-height: 1.35 !important; color: var(--ink) !important; letter-spacing: -.01em; }
.cs-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 13px; color: var(--ink-3); }
.cs-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }

.cs-callout {
  background: var(--ink); color: var(--bg); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.cs-callout p { font-family: var(--serif); color: var(--bg) !important; font-size: clamp(22px, 2.6vw, 30px) !important; line-height: 1.3 !important; letter-spacing: -.01em; }

.cs-figure { margin: 0; }
.cs-figure .frame { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); cursor: zoom-in; }
.cs-figure figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.cs-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cs-gallery .frame { border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); cursor: zoom-in; }
.cs-gallery.odd .frame:first-child { grid-column: 1 / -1; }

.cs-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  transition: border-color .2s;
}
.cs-link:hover { border-color: var(--ink); }

.next-project { border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) 0; }
.next-project .card-media { aspect-ratio: 21 / 9; }
.next-project h2 { font-size: clamp(40px, 6vw, 80px); margin-top: 10px; }

/* ---------- Password gate ---------- */
.gate { max-width: 460px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) 0 clamp(72px, 10vw, 128px); text-align: center; }
.gate .ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: var(--surface); border: 1px solid var(--line); }
.gate h2 { font-family: var(--serif); font-weight: 400; font-size: 36px; margin: 0; letter-spacing: -.015em; }
.gate p { color: var(--ink-2); margin: 10px 0 24px; }
.gate form { display: flex; gap: 8px; }
.gate input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  font: inherit; font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.gate input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(22,21,19,.06); }
.gate .btn { height: 48px; }
.gate .err { color: var(--accent); font-size: 14px; min-height: 22px; margin: 12px 0 0; }
.gate.shake form { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-body { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .cs-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .3s var(--ease);
  }
  .nav a { padding: 14px 0; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { background: none; }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-bottom: 0; padding: 0 20px; border-radius: 999px; height: 48px; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

  .hero-foot { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .projects { grid-template-columns: minmax(0, 1fr); }
  .projects.featured .card:first-child .card-media { aspect-ratio: 4 / 3; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .list-row { grid-template-columns: 88px minmax(0, 1fr); }
  .list-row .tags { display: none; }
  .tl-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .skills { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-grid .portrait { max-width: 420px; }
  .cs-cards, .cs-cards.three, .cs-quotes { grid-template-columns: minmax(0, 1fr); }
  .cs-gallery { grid-template-columns: minmax(0, 1fr); }
  .card-media .go { display: none; }
  .next-project .card-media { aspect-ratio: 4 / 3; }
  .gate form { flex-direction: column; }
}
@media (max-width: 420px) {
  .facts b { font-size: 28px; }
  .cs-meta { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
