/* Morsalin Chowdhury portfolio, static rebuild of the Framer design */

@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Antonio"; src: url("../fonts/antonio-latin-wght-normal.woff2") format("woff2"); font-weight: 100 700; font-display: swap; }

:root {
  --night: #0A0B30;
  --night-2: #07081F;
  --ink: #111111;
  --ink-2: #585858;
  --ink-3: #6B6B6B;
  --grey-200: #303030;
  --grey-50: #F5F5F5;
  --on-dark: #F5F5F7;
  --on-dark-2: #A9AAC4;
  --accent: #5EC2B6;
  --purple: #5E67E6;
  --sand: #ECE9E3;
  --rule: rgba(17, 17, 17, 0.12);
  --paper: #FFFFFF;
  --chip: rgb(249, 200, 70);
  --chip-edge: rgb(224, 164, 38);
  --pad: 40px;
  --max: 1440px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --display: "Antonio", "Arial Narrow", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; font-weight: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.on-light :focus-visible, .page-light :focus-visible { outline-color: var(--purple); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; font-size: 14px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.rule { height: 1px; background: var(--rule); width: 100%; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; font-size: 15px; font-weight: 500; line-height: 1.5; white-space: nowrap; transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out); }
.btn .arr { display: inline-block; transition: transform .3s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--on-dark-2); }
.btn-ghost-light { border: 1px solid rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--grey-200); }
.link-arrow { display: inline-flex; gap: 6px; font-weight: 500; }
.link-arrow .arr { transition: transform .3s var(--ease-out); }
a:hover > .link-arrow .arr, .link-arrow:hover .arr { transform: translateX(4px); }
.u-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out); }
.u-link:hover { background-size: 100% 1px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo svg { width: 29px; height: 29px; flex: none; }
.logo .divider { width: 1px; height: 29px; background: rgba(255, 255, 255, 0.35); }
.logo .word { font-size: 14px; font-weight: 600; line-height: 1.35; letter-spacing: 0.3em; text-transform: uppercase; }
.logo .word span { display: block; letter-spacing: 0.485em; }
.logo-boxed { display: inline-block; border: 1px solid var(--ink); padding: 8px 4px 8px 10px; font-size: 13px; font-weight: 600; line-height: 1.35; letter-spacing: 0.38em; text-transform: uppercase; color: var(--ink); }

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-item { display: inline-flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 500; line-height: 1.5; }
.nav-item .num { font-family: var(--mono); font-size: 10px; line-height: 1; letter-spacing: 0.04em; opacity: .7; }
.nav-item .lbl { position: relative; }
.nav-item .lbl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out); }
.nav-item:hover .lbl::after, .nav-item[aria-current="page"] .lbl::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 18px; font-size: 15px; font-weight: 500; line-height: 1.5; transition: background-color .25s, color .25s; }
.menu-btn { display: none; padding: 10px 16px; font-size: 15px; font-weight: 500; line-height: 1.2; border: 1px solid currentColor; }

.nav-dark { color: #fff; }
.nav-dark .nav-item .num { color: var(--on-dark-2); opacity: 1; }
.nav-dark .nav-cta { background: #fff; color: var(--ink); }
.nav-dark .nav-cta:hover { background: var(--on-dark-2); }
.nav-dark .menu-btn { border-color: rgba(255, 255, 255, 0.7); }

.site-header-light { padding: 28px 0; }
.site-header-light .nav { color: var(--ink); }
.site-header-light .nav-cta { background: var(--ink); color: #fff; }
.site-header-light .nav-cta:hover { background: var(--grey-200); }

/* Phone menu */
.phone-menu { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--night); color: var(--on-dark); padding: 20px 20px 32px; transform: translateY(-104%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s linear .45s; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.phone-menu.open { transform: translateY(0); visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
.phone-menu-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; }
.phone-menu-head p { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--on-dark-2); text-transform: uppercase; }
.phone-menu-head button { padding: 10px 16px; font-size: 15px; font-weight: 500; border: 1px solid rgba(255, 255, 255, 0.7); color: #fff; }
.phone-menu a { display: block; padding: 14px 0; font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.menu-scrim { position: fixed; inset: 0; z-index: 49; background: rgba(7, 8, 31, .5); opacity: 0; pointer-events: none; transition: opacity .35s; }
.menu-scrim.open { opacity: 1; pointer-events: auto; }

/* ---------- Home: Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--night); color: #fff; overflow: clip; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero-portrait { position: absolute; left: 2.5%; right: -20.8%; top: 0; bottom: -18.75%; z-index: 0; will-change: transform; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10,11,48,0.55) 0%, rgba(10,11,48,0) 14%, rgba(10,11,48,0) 50%, rgba(10,11,48,0.35) 68%, rgba(10,11,48,0.78) 84%, rgba(10,11,48,1) 100%); }
.hero-side-shade { position: absolute; left: 0; top: 0; bottom: 0; width: 52%; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10,11,48,0.92) 0%, rgba(10,11,48,0.55) 45%, rgba(10,11,48,0) 100%); }
.hero .nav-wrap { position: absolute; top: 28px; left: 0; right: 0; z-index: 3; }
.hero-bottom { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding-top: 170px; padding-bottom: 36px; }
.hero-name-block { display: flex; flex-direction: column; gap: 18px; max-width: 560px; }
.hero-lockup { display: flex; flex-direction: column; gap: 6px; }
.hero-greet { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.hero-name { font-size: 72px; font-weight: 700; line-height: 0.88; letter-spacing: -0.03em; text-transform: uppercase; }
.hero-pos { font-size: 20px; line-height: 1.45; max-width: 520px; color: var(--on-dark); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.disciplines { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-2); }
.role-chip { position: absolute; z-index: 3; left: 54.3%; top: 65%; display: flex; align-items: center; gap: 10px; padding: 14px 32px; background: var(--chip); color: var(--ink); border: 3px solid var(--chip-edge); border-radius: 0 999px 999px 999px; font-size: 20px; font-weight: 500; line-height: 1.2; white-space: nowrap; animation: chip-float 5s ease-in-out 1.8s infinite; }
.role-chip .spark { font-size: 14px; line-height: 1; }
.role-chip .cursor { position: absolute; left: -33px; top: -28px; width: 34px; height: 34px; }
@keyframes chip-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }

/* Hero entrance */
.hero-in { opacity: 0; transform: translate3d(0, 40px, 0); animation: rise 1.1s var(--ease-out) forwards; animation-delay: var(--d, .3s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.role-chip.hero-in { animation: rise 1.1s var(--ease-out) var(--d, 1s) forwards, chip-float 5s ease-in-out 2.2s infinite; }

/* ---------- Home: About ---------- */
.about { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%); color: var(--on-dark); padding: 160px 0 140px; }
.about .wrap { display: flex; gap: 40px; }
.about-left, .about-right { flex: 1 1 0; min-width: 0; }
.about-left { display: flex; flex-direction: column; gap: 16px; }
.eyebrow-dark { font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: 0.06em; color: var(--on-dark-2); text-transform: uppercase; }
.about h2 { font-size: 60px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: #fff; }
.about-right { display: flex; flex-direction: column; gap: 20px; padding-top: 84px; }
.about-right p { font-size: 20px; line-height: 1.45; }
.about-right p + p { color: var(--on-dark-2); }
.dots { font-size: 14px; letter-spacing: 0.06em; color: var(--accent); }

/* ---------- Home: Work ---------- */
.work { padding: 72px 0 140px; }
.work .wrap { display: flex; flex-direction: column; gap: 72px; }
.work-intro { display: flex; flex-direction: column; gap: 12px; }
.work-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.work-head h2 { font-size: 34px; font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; }
.work-head a { font-size: 15px; }
.work-sub { font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.case { display: flex; flex-direction: column; gap: 14px; }
.case-img { overflow: hidden; border-radius: 4px; background: var(--grey-50); }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.case:hover .case-img img { transform: scale(1.03); }
.case-img.h700 { height: 700px; }
.case-img.h410 { height: 410px; }
.case-img.h300 { height: 300px; }
.caption { display: flex; justify-content: space-between; gap: 16px; }
.caption-left { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.caption .title { font-size: 16px; font-weight: 500; }
.caption .desc { font-size: 15px; }
.caption .role { font-size: 14px; color: var(--ink-3); }
.caption .proof { font-size: 15px; color: var(--ink-2); }
.caption .cta { font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.caption .year { font-size: 15px; color: var(--ink-3); }
.case-pair { display: flex; gap: 24px; align-items: flex-start; }
.case-pair > .case { flex: 1.4 1 0; min-width: 0; }
.case-pair > .pair-right { flex: 1 1 0; min-width: 0; padding-top: 120px; }

/* ---------- Home: Process ---------- */
.process { padding: 40px 0 140px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; font-size: 15px; line-height: 1.5; }
.sec-head .lbl { font-weight: 500; }
.sec-head .count { color: var(--ink-3); }
.process-lead { display: flex; gap: 40px; padding: 40px 0 48px; }
.process-lead > * { flex: 1 1 0; min-width: 0; }
.process-lead h2 { font-size: 34px; font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
.steps li { display: flex; align-items: center; gap: 40px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.step-left { flex: 1 1 0; display: flex; align-items: center; gap: 24px; min-width: 0; }
.step-left .n { width: 32px; flex: none; font-size: 15px; color: var(--ink-3); font-family: var(--mono); }
.step-left h3 { font-size: 20px; font-weight: 500; line-height: 1.5; }
.steps p { flex: 1 1 0; min-width: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* ---------- Home: Image strip ---------- */
.strip { overflow: hidden; }
.strip-track { display: flex; gap: 16px; width: max-content; animation: strip 60s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip a { flex: none; width: 480px; height: 300px; border-radius: 4px; overflow: hidden; background: var(--grey-50); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
@keyframes strip { to { transform: translate3d(calc(-50% - 8px), 0, 0); } }

/* ---------- Home: Principle ---------- */
.principle { padding: 140px 0; }
.principle .wrap { display: flex; flex-direction: column; gap: 36px; }
.principle blockquote { margin: 0; width: 85%; font-size: 52px; font-weight: 600; line-height: 1.08; letter-spacing: -0.035em; }
.principle .sig { padding-top: 28px; font-size: 15px; color: var(--ink-2); }

/* ---------- Home: Contact ---------- */
.contact { position: relative; min-height: 86vh; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; text-align: center; padding: 96px var(--pad); overflow: clip; isolation: isolate; }
.contact-bg { position: absolute; inset: 0; z-index: -2; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(17, 17, 17, 0.9); }
.contact h2 { font-size: 72px; font-weight: 600; line-height: 1; letter-spacing: -0.045em; }
.contact p { max-width: 460px; font-size: 18px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.contact .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact .note { display: inline-flex; align-items: center; padding: 14px 22px; border: 1px solid rgba(255, 255, 255, 0.7); font-size: 15px; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 32px; }
.footer .wrap { display: flex; flex-direction: column; gap: 80px; }
.footer-cols { display: flex; gap: 40px; }
.footer-col { flex: 1 1 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; min-width: 0; }
.footer-col.note { flex: 1.4 1 0; }
.footer-col h2 { font-size: 14px; font-weight: 500; }
.footer-col a, .footer-col li { color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); }
.footer-col .email { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.wordmark { font-size: min(17.67vw, 254px); font-weight: 700; line-height: 0.82; letter-spacing: -0.06em; color: var(--ink); white-space: nowrap; margin-left: -0.02em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--ink-2); }
.footer-bottom a:hover { color: var(--ink); }
.footer-ruled { border-top: 1px solid var(--ink); }
.footer-ruled .footer-col, .footer-ruled .footer-col h2, .footer-ruled .footer-bottom { font-size: 15px; }
.footer-ruled .footer-col .email { font-size: 20px; letter-spacing: 0; }

/* ---------- Work page ---------- */
.page-intro { padding: 72px 0 56px; }
.page-intro .wrap { display: flex; flex-direction: column; gap: 40px; }
.page-intro .head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); font-size: 15px; }
.page-intro .head .lbl { font-weight: 500; }
.page-intro .head .focus { color: var(--ink-2); }
.title-row { display: flex; gap: 40px; align-items: center; }
.title-row h1 { flex: 1 1 0; font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.title-row p { flex: 1 1 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.case-list { padding-bottom: 120px; }
.case-row { display: flex; gap: 40px; padding: 40px 0; border-top: 1px solid var(--rule); }
.case-row:first-child { border-top: 0; }
.case-row .cover { flex: 1.4 1 0; min-width: 0; height: 520px; border-radius: 4px; overflow: hidden; background: var(--grey-50); }
.case-row .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.case-row:hover .cover img { transform: scale(1.03); }
.case-row .info { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 520px; }
.info-top { display: flex; flex-direction: column; gap: 20px; }
.info-top .idx { font-size: 15px; color: var(--ink-2); font-family: var(--mono); }
.info-top h2 { font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.info-top p { font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.info-bottom { display: flex; flex-direction: column; gap: 28px; }
.meta { display: flex; flex-wrap: wrap; gap: 32px; }
.meta div { display: flex; flex-direction: column; gap: 4px; }
.meta dt { font-size: 13px; color: var(--ink-2); }
.meta dd { margin: 0; font-size: 15px; font-weight: 500; }
.info-bottom .cta { font-size: 15px; font-weight: 500; }

/* ---------- Case study page ---------- */
.mono-eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.case-header { padding: 56px 0 48px; }
.case-header .wrap { display: flex; flex-direction: column; gap: 28px; }
.back { font-size: 14px; color: var(--ink-2); align-self: flex-start; }
.back:hover { color: var(--ink); }
.header-row { display: flex; gap: 64px; }
.headline { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.headline h1 { font-size: 46px; font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; }
.case-meta { width: 280px; flex: none; padding-top: 6px; margin: 0; display: flex; flex-direction: column; }
.case-meta > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--rule); }
.case-meta > div:first-child { border-top: 0; padding-top: 0; }
.case-meta dd { margin: 0; font-size: 14px; font-weight: 500; }
.cover-card { padding-bottom: 72px; }
.cover-card .frame { height: 620px; border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; background: var(--grey-50); }
.cover-card img, .gallery img { width: 100%; height: 100%; object-fit: cover; }
.key-numbers { padding-bottom: 72px; }
.key-numbers .wrap { display: flex; gap: 40px; }
.stat { flex: 1 1 0; display: flex; flex-direction: column; gap: 8px; max-width: 25%; }
.stat .v { font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; }
.stat .l { font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.short { background: var(--sand); padding: 72px 0; }
.short .wrap { display: flex; flex-direction: column; gap: 32px; max-width: 1440px; }
.short-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.short-head h2 { font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; }
.short-head p { font-size: 14px; color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 14px; }
.card p:last-child { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.gallery { padding-top: 96px; }
.gallery .wrap { display: flex; flex-direction: column; gap: 16px; }
.gallery .frame { height: 600px; border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; }
.next-case { padding: 140px 0; }
.next-case .wrap { display: flex; flex-direction: column; gap: 32px; }
.next-case a { display: flex; flex-direction: column; gap: 12px; }
.next-case .lbl { font-size: 15px; color: var(--ink-2); }
.next-case .t { font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; }
.next-case .t .arr { display: inline-block; transition: transform .4s var(--ease-out); }
.next-case a:hover .t .arr { transform: translateX(10px); }

/* ---------- About page (Antonio display type) ---------- */
.page-about { color: var(--grey-200); }
.d-h1 { font-family: var(--display); font-size: 120px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; text-transform: uppercase; color: var(--grey-200); }
.d-h2 { font-family: var(--display); font-size: 60px; font-weight: 700; line-height: 1.3; text-transform: uppercase; color: var(--grey-200); }
.d-h3 { font-family: var(--display); font-size: 28px; font-weight: 500; line-height: 1.3; text-transform: uppercase; color: var(--grey-200); }
.d-p { font-size: 16px; line-height: 1.6; max-width: 500px; color: var(--grey-200); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 80px; }
.about-col > section { padding: 120px 0; display: flex; flex-direction: column; gap: 40px; }
.about-col > section:first-child { min-height: calc(100vh - 110px); justify-content: center; padding-top: 40px; }
.about-col .text { display: flex; flex-direction: column; gap: 14px; }
.about-photo { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.photo-card { position: relative; width: 340px; }
.photo-card img { width: 340px; height: 476px; object-fit: cover; border-radius: 20px; }
.hi-badge { position: absolute; left: -44px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 40px; font-weight: 500; z-index: 2; }
.hi-badge::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed rgba(94, 103, 230, .6); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.acc details { border-bottom: 1px solid var(--rule); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1.3; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 16px; height: 16px; flex: none; transition: transform .35s var(--ease-out); transform: rotate(180deg); }
.acc details[open] summary svg { transform: rotate(0deg); }
.acc ul { padding: 0 0 22px; display: grid; gap: 10px; }
.acc li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.acc li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.exp li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.exp h3 { font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1.3; text-transform: uppercase; }
.exp .where { text-align: right; font-size: 14px; line-height: 1.4; }
.exp .where b { display: block; font-weight: 500; color: var(--purple); }
.exp .where span { color: var(--ink-3); font-size: 13px; }
.tools li { display: flex; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.tools img { width: 44px; height: 44px; border-radius: 10px; flex: none; object-fit: contain; }
.tools h3 { font-size: 15px; font-weight: 600; color: var(--ink); }
.tools p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step-card { min-height: 380px; border-radius: 20px; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; overflow: hidden; }
.step-card .n { font-family: var(--display); font-size: 56px; font-weight: 700; line-height: 1; }
.step-card h3 { font-family: var(--display); font-size: 26px; font-weight: 500; line-height: 1.25; text-transform: uppercase; margin-bottom: 10px; }
.step-card p { font-size: 14px; line-height: 1.5; opacity: .82; max-width: 420px; }
.step-card.dark { background: var(--grey-200); color: #fff; }
.step-card.purple { background: var(--purple); color: #fff; }
.step-card.grey { background: var(--grey-50); color: var(--grey-200); grid-column: span 2; }
.step-card.pic { padding: 0; }
.step-card.pic img { width: 100%; height: 100%; object-fit: cover; }
.about-contact { padding: 120px 0; display: grid; grid-template-columns: 46.6% 1fr; gap: 40px; align-items: center; }
.about-contact .photo-card { justify-self: center; }
.about-contact .text { display: flex; flex-direction: column; gap: 20px; }
.about-contact .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; font-size: 15px; }
.about-contact .actions a.mail { color: var(--ink-2); }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; min-height: 100svh; background: var(--night); color: #fff; display: flex; flex-direction: column; }
.nf .nav-wrap { padding-top: 28px; }
.nf-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 80px var(--pad); position: relative; overflow: hidden; }
.nf-body::before { content: ""; position: absolute; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(94,103,230,.35), rgba(94,103,230,0) 65%); top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.nf-body .nf-code { color: #fff; font-size: clamp(120px, 24vw, 280px); font-weight: 700; line-height: .85; letter-spacing: -0.06em; position: relative; }
.nf-body h1 { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; position: relative; }
.nf-body p { color: var(--on-dark-2); font-size: 18px; position: relative; }
.nf-body .btn { margin-top: 12px; position: relative; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1199.98px) {
  :root { --pad: 32px; }
  .hero-name { font-size: 64px; }
  .about h2 { font-size: 48px; }
  .case-img.h700 { height: 56vw; }
  .contact h2 { font-size: 56px; }
  .principle blockquote { font-size: 42px; width: 100%; }
  .title-row h1, .next-case .t { font-size: 60px; }
  .case-row .cover { height: 420px; }
  .case-row .info { min-height: 420px; }
  .cover-card .frame { height: 52vw; }
  .gallery .frame { height: 50vw; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d-h1 { font-size: 96px; }
  .d-h2 { font-size: 48px; }
  .about-grid { gap: 0 48px; }
  .photo-card, .photo-card img { width: 300px; }
  .photo-card img { height: 420px; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-card.grey { grid-column: span 2; }
  .role-chip { font-size: 17px; padding: 12px 26px; }
}

@media (max-width: 960px) {
  .nav-links .nav-item { display: none; }
  .menu-btn { display: inline-flex; }
  .role-chip, .disciplines { display: none; }
  .hero-portrait { left: -30%; right: -55%; bottom: 0; }
  .hero-side-shade { width: 100%; background: linear-gradient(90deg, rgba(10,11,48,0.75) 0%, rgba(10,11,48,0.2) 70%, rgba(10,11,48,0) 100%); }
  .about .wrap, .process-lead, .header-row, .title-row, .case-row { flex-direction: column; }
  .about .wrap { gap: 24px; }
  .about-right { padding-top: 0; }
  .process-lead .spacer { display: none; }
  .case-pair { flex-direction: column; gap: 56px; }
  .case-pair > .case, .case-pair > .pair-right { width: 100%; padding-top: 0; flex: none; }
  .case-img.h410, .case-img.h300 { height: 56vw; }
  .case-meta { width: 100%; }
  .case-row { gap: 24px; }
  .case-row .cover { flex: none; width: 100%; height: 56vw; }
  .case-row .info { min-height: 0; }
  .footer-cols { flex-wrap: wrap; row-gap: 40px; }
  .footer-col { flex: 1 1 40%; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { display: none; }
  .about-col > section:first-child { min-height: 0; padding-top: 24px; }
  .about-hero-photo { display: block !important; }
  .about-contact { grid-template-columns: 1fr; }
}

/* ---------- Phone ---------- */
@media (max-width: 809.98px) {
  :root { --pad: 20px; }
  .hero .nav-wrap { top: 16px; }
  .logo .word { font-size: 12px; }
  .logo svg { width: 24px; height: 24px; }
  .logo .divider { height: 24px; }
  .nav-links { gap: 8px; }
  .nav-cta { padding: 9px 14px; font-size: 14px; }
  .menu-btn { padding: 9px 14px; font-size: 14px; }
  .hero { justify-content: flex-start; min-height: 0; padding-bottom: 56px; }
  .hero-portrait { position: relative; left: auto; right: auto; top: auto; bottom: auto; height: 62svh; min-height: 380px; margin: 0 -40%; }
  .hero-portrait img { object-position: 50% 10%; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,11,48,0.55) 0%, rgba(10,11,48,0) 14%, rgba(10,11,48,0) 30%, rgba(10,11,48,0.6) 48%, rgba(10,11,48,1) 60%); }
  .hero-side-shade { display: none; }
  .hero-bottom { padding-top: 0; margin-top: -120px; flex: none; }
  .hero-greet { font-size: 20px; }
  .hero-name { font-size: 48px; }
  .hero-pos { font-size: 17px; }
  .hero-ctas { margin-top: 20px; }
  .about { padding: 72px 0 80px; }
  .about h2 { font-size: 36px; }
  .about-right p { font-size: 17px; }
  .work { padding: 56px 0 80px; }
  .work .wrap { gap: 48px; }
  .work-head h2 { font-size: 26px; }
  .work-sub { font-size: 16px; }
  .process { padding: 24px 0 80px; }
  .process-lead { padding: 28px 0 32px; }
  .process-lead h2 { font-size: 26px; }
  .steps li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .steps p { padding-left: 56px; }
  .strip a { width: 300px; height: 190px; }
  .principle { padding: 80px 0; }
  .principle blockquote { font-size: 30px; }
  .contact { min-height: 0; padding: 96px var(--pad); }
  .contact h2 { font-size: 38px; }
  .contact p { font-size: 16px; }
  .footer .wrap { gap: 48px; }
  .footer-col { flex: 1 1 100%; }
  .footer-bottom { flex-direction: column; }
  .page-intro { padding: 40px 0 32px; }
  .title-row { align-items: flex-start; gap: 20px; }
  .title-row h1, .next-case .t { font-size: 44px; }
  .info-top h2 { font-size: 30px; }
  .case-header { padding: 32px 0; }
  .headline h1 { font-size: 30px; }
  .cover-card { padding-bottom: 48px; }
  .cover-card .frame, .gallery .frame { height: 64vw; border-radius: 12px; }
  .key-numbers .wrap { flex-wrap: wrap; }
  .stat { max-width: none; flex: 1 1 40%; }
  .short { padding: 56px 0; }
  .short-head { flex-direction: column; gap: 6px; }
  .short-head h2 { font-size: 26px; }
  .cards { grid-template-columns: 1fr; }
  .gallery { padding-top: 56px; }
  .next-case { padding: 80px 0; }
  .d-h1 { font-size: 56px; }
  .d-h2 { font-size: 40px; }
  .d-h3 { font-size: 22px; }
  .about-col > section { padding: 72px 0; gap: 28px; }
  .acc summary, .exp h3 { font-size: 20px; }
  .exp li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .exp .where { text-align: left; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card.grey { grid-column: auto; }
  .step-card { min-height: 300px; padding: 28px; }
  .step-card.pic { min-height: 220px; }
  .photo-card, .photo-card img { width: 260px; }
  .photo-card img { height: 364px; }
  .hi-badge { width: 92px; height: 92px; font-size: 30px; left: -24px; bottom: -28px; }
  .about-contact { padding: 72px 0; gap: 64px; }
  .site-header-light { padding: 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-in, .js .reveal { opacity: 1 !important; transform: none !important; }
  .strip-track { animation: none; }
}
