/* Hasnat Ahmad — Portfolio v3 */

:root {
  --paper: #f3f2ee;
  --paper-2: #eceae4;
  --ink: #141311;
  --muted: #6e6b63;
  --line: #d9d6cd;
  --accent: #2740e6;
  --accent-ink: #ffffff;
  --font-display: 'Clash Display', 'General Sans', sans-serif;
  --font-body: 'General Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --pad: clamp(20px, 4vw, 64px);
  --max: 1520px;
  --ease: cubic-bezier(.65, .05, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--accent-ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--ink); }
.h-display { font-family: var(--font-display); font-weight: 500; line-height: 1.02; letter-spacing: -0.02em; }
.line-mask { overflow: hidden; display: block; }
.line-mask > span { display: block; will-change: transform; }

/* ---------- preloader ---------- */
.loader { position: fixed; inset: 0; background: var(--ink); z-index: 200; display: flex; align-items: flex-end; padding: var(--pad); }
.loader__name { font-family: var(--font-display); font-weight: 500; color: var(--paper); font-size: clamp(28px, 5vw, 64px); letter-spacing: -0.02em; }
.no-js .loader, .loader.is-done { display: none; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: transform .5s var(--ease), background .3s; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-scrolled { background: rgba(243,242,238,.88); backdrop-filter: blur(12px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; border-bottom: 1px solid transparent; }
.nav.is-scrolled .nav__inner { border-color: var(--line); }
.nav__logo { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.nav__logo sup { font-size: 9px; color: var(--accent); }
.nav__links { display: flex; gap: 36px; align-items: center; }
.nav__link { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; position: relative; padding: 4px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 10px 20px; border-radius: 100px; transition: background .3s, color .3s; white-space: nowrap; }
.nav__cta:hover { background: var(--accent); color: var(--accent-ink); }
.nav__burger { display: none; }

.menu { position: fixed; inset: 0; background: var(--ink); color: var(--paper); z-index: 150; display: flex; flex-direction: column; justify-content: center; padding: var(--pad); clip-path: inset(0 0 100% 0); visibility: hidden; }
.menu__link { font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 8.5vw, 72px); line-height: 1.15; display: block; letter-spacing: -0.02em; }
.menu__link:hover { color: var(--accent); }
.menu__meta { margin-top: 44px; display: flex; gap: 24px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.menu__meta a { color: var(--paper); border-bottom: 1px solid rgba(243,242,238,.3); padding-bottom: 2px; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
}

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 140px; padding-bottom: 48px; }
.hero__eyebrow { margin-bottom: 28px; }
.hero__title { font-size: clamp(42px, 8.2vw, 128px); max-width: 16ch; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero__sub { max-width: 44ch; color: var(--muted); }
.hero__facts { display: flex; gap: 40px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; flex-wrap: wrap; }
.hero__facts b { display: block; color: var(--ink); font-weight: 500; margin-top: 4px; }
.hero__facts span { color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-top: clamp(80px, 12vw, 160px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 72px); }
.section__title { font-size: clamp(34px, 5vw, 72px); }
.section__count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; white-space: nowrap; padding-bottom: 10px; }

/* ---------- work thumbnails (framed browser mockups) ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 72px); row-gap: clamp(56px, 7vw, 120px); }
.work-card { display: block; }
.work-card:nth-child(even) { transform: translateY(clamp(30px, 6vw, 110px)); }
.work-card--wide { grid-column: 1 / -1; max-width: 78%; margin: 0 auto; transform: none !important; }

.thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: var(--thumb-bg, var(--paper-2));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3.5vw, 44px);
  padding-bottom: 0;
}
.thumb__window {
  width: 100%;
  max-width: 640px;
  background: #fff;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 10, 20, .28);
  transform: translateY(0);
  transition: transform .9s var(--ease);
  align-self: flex-end;
}
.work-card:hover .thumb__window { transform: translateY(-10px); }
.thumb__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f0ec; border-bottom: 1px solid #e2e0da; }
.thumb__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6d3ca; }
.thumb__bar i:nth-child(1) { background: #f26d5f; }
.thumb__bar i:nth-child(2) { background: #f2bd4f; }
.thumb__bar i:nth-child(3) { background: #5fc26d; }
.thumb__url { margin-left: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; color: #8a877d; background: #fff; border-radius: 100px; padding: 3px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb__shot { position: relative; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; }
.thumb__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.1s var(--ease); }
.work-card:hover .thumb__shot img { transform: scale(1.04); }
.thumb__shot.noimg::after {
  content: attr(data-name);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 3vw, 40px); letter-spacing: .06em;
  color: var(--ink); background: var(--paper-2);
}
.thumb__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(20,19,17,.85); color: var(--paper);
  padding: 6px 12px; border-radius: 100px;
}

.work-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.work-card__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.work-card__name .arrow { display: inline-block; transition: transform .45s var(--ease); }
.work-card:hover .arrow { transform: translate(4px, -4px); }
.work-card__spec { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: right; }

@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card:nth-child(even) { transform: none; }
  .work-card--wide { max-width: 100%; }
}

/* case cover uses the same framed system, wider */
.case-cover { margin-top: clamp(36px, 5vw, 64px); }
.case-cover .thumb { aspect-ratio: 16 / 9; }
.case-cover .thumb__window { max-width: 900px; }

/* ---------- services list ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 120px 1fr 1fr auto; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); position: relative; transition: padding-left .45s var(--ease); }
.svc-row:hover { padding-left: 16px; }
.svc-row::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: var(--paper-2); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row__code { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.svc-row__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 3vw, 38px); letter-spacing: -0.01em; }
.svc-row__desc { color: var(--muted); font-size: 15px; max-width: 42ch; }
.svc-row__arrow { font-size: 22px; transition: transform .45s var(--ease); }
.svc-row:hover .svc-row__arrow { transform: translateX(8px); color: var(--accent); }
@media (max-width: 900px) {
  .svc-row { grid-template-columns: 1fr auto; }
  .svc-row__code, .svc-row__desc { display: none; }
}

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 380px) 1.4fr; gap: clamp(32px, 6vw, 96px); }
.about__text { font-family: var(--font-display); font-weight: 450; font-size: clamp(24px, 3.2vw, 44px); line-height: 1.25; letter-spacing: -0.015em; }
.about__text em { font-style: normal; color: var(--accent); }
.about__facts { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.about__facts .mono b { display: block; color: var(--ink); font-weight: 500; margin-top: 6px; font-size: 13px; }
.about__media { position: relative; border-radius: 8px; overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about__media figcaption { position: absolute; bottom: 12px; left: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: rgba(20,19,17,.82); color: var(--paper); padding: 6px 12px; border-radius: 100px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about__facts { grid-template-columns: 1fr 1fr; } }

/* ---------- socials ---------- */
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 100px; padding: 10px 18px;
  transition: border-color .3s, background .3s, color .3s;
}
.socials a:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.cta .socials a { border-color: rgba(243,242,238,.3); color: var(--paper); }
.cta .socials a:hover { border-color: var(--accent); background: var(--accent); }

/* ---------- big CTA / footer ---------- */
.cta { margin-top: clamp(90px, 12vw, 180px); background: var(--ink); color: var(--paper); border-radius: 20px 20px 0 0; padding: clamp(64px, 9vw, 140px) 0 40px; }
.cta .eyebrow { color: rgba(243,242,238,.55); }
.cta .eyebrow::before { background: rgba(243,242,238,.55); }
.cta__title { font-size: clamp(38px, 7.4vw, 110px); margin-top: 24px; max-width: 14ch; }
.cta__actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; align-items: center; }
.cta__btn { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: clamp(13px, 1.4vw, 15px); letter-spacing: .05em; text-transform: uppercase; border-radius: 100px; padding: 16px 28px; transition: background .35s, color .35s, border-color .35s; }
.cta__btn--solid { background: var(--accent); color: #fff; }
.cta__btn--solid:hover { background: #1b2fc0; }
.cta__btn--ghost { border: 1px solid rgba(243,242,238,.3); }
.cta__btn--ghost:hover { border-color: var(--accent); background: var(--accent); }
.footer { margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid rgba(243,242,238,.16); padding-top: 28px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: rgba(243,242,238,.55); }
.footer a { color: var(--paper); }
.footer a:hover { text-decoration: underline; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- inner pages ---------- */
.page-hero { padding-top: clamp(140px, 18vw, 220px); }
.page-hero__title { font-size: clamp(38px, 7.4vw, 110px); max-width: 14ch; }
.page-hero__sub { margin-top: 24px; max-width: 54ch; color: var(--muted); font-size: 18px; }
.back-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 8px; margin-bottom: 28px; }
.back-link:hover { color: var(--ink); }

.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; margin-top: clamp(36px, 5vw, 64px); }
.spec div b, .spec a b { display: block; color: var(--ink); font-weight: 500; margin-top: 6px; font-size: 13px; text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.spec a b { color: var(--accent); }

.facts-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: clamp(32px, 5vw, 56px); }
.facts-strip > div { border-top: 2px solid var(--ink); padding-top: 14px; }
.facts-strip b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.01em; margin-bottom: 4px; }

.case-body { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(56px, 8vw, 110px); }
.case-body h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case-body .prose p { margin-bottom: 20px; color: #3a3833; }
.case-body .prose p:last-child { margin-bottom: 0; }
.scope-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: baseline; font-size: 16px; }
.scope-list li::before { content: "\2192"; color: var(--accent); font-family: var(--font-mono); font-size: 13px; }
.result { margin-top: clamp(56px, 8vw, 110px); border-top: 1px solid var(--line); padding-top: clamp(32px, 5vw, 56px); }
.result p:last-child { font-family: var(--font-display); font-weight: 450; font-size: clamp(22px, 3vw, 38px); line-height: 1.3; letter-spacing: -0.015em; max-width: 28ch; margin-top: 20px; }
.next-project { display: block; margin-top: clamp(70px, 10vw, 140px); border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 72px) 0 0; }
.next-project .mono { display: block; margin-bottom: 12px; }
.next-project__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 6vw, 88px); letter-spacing: -0.02em; transition: color .3s; }
.next-project:hover .next-project__name { color: var(--accent); }
@media (max-width: 760px) { .case-body { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- service pages ---------- */
.svc-includes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: clamp(36px, 5vw, 64px); }
.svc-includes__item { background: var(--paper); padding: clamp(24px, 3vw, 40px); transition: background .3s; }
.svc-includes__item:hover { background: var(--paper-2); }
.svc-includes__item h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; margin: 14px 0 8px; letter-spacing: -0.01em; }
.svc-includes__item p { color: var(--muted); font-size: 15px; }
.svc-includes__item .mono { color: var(--accent); }
.process { margin-top: clamp(56px, 8vw, 110px); }
.process ol { list-style: none; counter-reset: step; border-top: 1px solid var(--line); margin-top: 28px; }
.process li { counter-increment: step; display: grid; grid-template-columns: 80px 260px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.process li::before { content: "0" counter(step); font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: 6px; }
.process li h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; }
.process li p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .process li { grid-template-columns: 44px 1fr; } .process li p { grid-column: 2; } }

/* related projects on service pages */
.related { margin-top: clamp(56px, 8vw, 110px); }
.related__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.related__card { border: 1px solid var(--line); border-radius: 8px; padding: 22px; transition: border-color .3s, background .3s; }
.related__card:hover { border-color: var(--accent); background: var(--paper-2); }
.related__card b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; margin: 10px 0 6px; }
.related__card p { color: var(--muted); font-size: 14px; }
.related__card .arrow { color: var(--accent); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); padding-top: clamp(32px, 5vw, 56px); }
.contact-form { display: grid; gap: 20px; }
.contact-form .field { display: grid; gap: 8px; }
.contact-form label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; color: var(--ink); background: transparent; border: none; border-bottom: 1px solid var(--line); padding: 12px 2px; border-radius: 0; transition: border-color .3s; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 640px) { .contact-form .row-2 { grid-template-columns: 1fr; } }
.btn-submit { justify-self: start; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 16px 32px; border-radius: 100px; transition: background .3s; }
.btn-submit:hover { background: var(--accent); }
.form-note { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.faq { margin-top: clamp(56px, 8vw, 100px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(17px, 2vw, 22px); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 20px; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: clamp(36px, 5vw, 64px); }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; transition: border-color .3s, transform .5s var(--ease); }
.post-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.post-card__cover { aspect-ratio: 16 / 9; background: var(--paper-2); overflow: hidden; }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { display: flex; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.post-card__title { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
.post-card__excerpt { color: var(--muted); font-size: 15px; }
.post-card__more { margin-top: auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.blog-empty { border: 1px dashed var(--line); border-radius: 8px; padding: 60px 24px; text-align: center; color: var(--muted); margin-top: 48px; }

.post { max-width: 760px; margin: 0 auto; }
.post__meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.post__cover { border-radius: 8px; overflow: hidden; margin: clamp(28px, 4vw, 48px) 0; }
.post__cover img { width: 100%; height: auto; }
.post__content { font-size: 18px; color: #2c2a26; }
.post__content h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.015em; margin: 40px 0 16px; line-height: 1.15; }
.post__content h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.01em; margin: 32px 0 12px; }
.post__content p { margin-bottom: 20px; }
.post__content ul, .post__content ol { margin: 0 0 20px 22px; }
.post__content ul { list-style: disc; }
.post__content ol { list-style: decimal; }
.post__content li { margin-bottom: 8px; }
.post__content a { color: var(--accent); text-decoration: underline; }
.post__content img { border-radius: 8px; margin: 28px 0; }
.post__content blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 28px 0; color: var(--muted); font-style: italic; }
.post__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post__tags span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px; color: var(--muted); }

/* ---------- reveals & cursor ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); }
.no-js [data-reveal] { opacity: 1; transform: none; }
.cursor { position: fixed; top: 0; left: 0; width: 10px; height: 10px; background: var(--accent); border-radius: 50%; pointer-events: none; z-index: 300; transform: translate(-50%, -50%); transition: width .25s, height .25s, opacity .25s; opacity: 0; mix-blend-mode: multiply; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 56px; height: 56px; opacity: .35; }
@media (pointer: coarse) { .cursor { display: none; } }
