/* Rebuilt from the Framer site: Manrope, black on white, blue accents, black footer. */
:root {
  --ink: #000;
  --muted: #666;
  --accent: #2853fd;
  --link: #0099ff;
  --bg: #fff;
  --soft: #f4f5f7;
  --navy: #0b1446;
  --gutter: 80px;
  --max: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, sans-serif; font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--accent); }
.label { font-size: 16px; line-height: 22.4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ext { width: 11px; height: 11px; margin-left: 6px; vertical-align: 1px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
a:hover .ext { transform: rotate(45deg); }

/* rolling link text (Framer-style hover) */
.roll { display: inline-block; overflow: hidden; vertical-align: top; height: 1lh; }
.roll-in { display: block; position: relative; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.roll-in::after { content: attr(data-t); position: absolute; left: 0; top: 100%; opacity: .55; }
a:hover .roll-in, a:focus-visible .roll-in { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .roll-in, .ext { transition: none; } }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.logo { position: relative; display: block; width: 32px; height: 40px; }
.logo img { position: absolute; inset: 0; width: 32px; height: 40px; object-fit: contain; transition: opacity .2s ease, transform .25s ease; }
.logo .wink { opacity: 0; }
.logo:hover .base, .logo:focus-visible .base { opacity: 0; }
.logo:hover .wink, .logo:focus-visible .wink { opacity: 1; transform: rotate(-6deg) scale(1.08); }

/* about */
.about { padding-top: 74px; padding-bottom: 140px; }
.about-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 64px; padding-left: 20px; }
.about-top h2 { font-size: 32px; line-height: 44.8px; font-weight: 500; max-width: 896px; }
.about-top .portrait { width: 200px; height: 200px; object-fit: cover; border-radius: 16px; flex: none; margin-top: 30px; }
.about-top .portrait.memoji { object-fit: contain; background: var(--soft); padding: 20px; }
.about-body { display: grid; grid-template-columns: 349px minmax(0, 896px); margin-top: 136px; padding-left: 30px; }
.about-body .label-grey { color: var(--muted); font-size: 18px; line-height: 25px; }
.about-body p + p { margin-top: 40px; }
.about-body div p { font-size: 18px; line-height: 25.2px; }
.about-body a { color: var(--link); }
.about-body a:hover { text-decoration: underline; }
.about-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 160px; }
.about-photos img { width: 100%; aspect-ratio: 302 / 300; object-fit: cover; border-radius: 16px; }
.nav nav { display: flex; gap: 40px; font-size: 18px; line-height: 25px; }
.nav nav a { display: inline-flex; align-items: center; }

/* pill button */
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 30px;
  border: 1px solid var(--accent); border-radius: 999px; color: var(--accent);
  font-size: 18px; letter-spacing: 1.8px; text-transform: uppercase; transition: background .2s, color .2s;
}
.pill:hover { background: var(--accent); color: #fff; }

/* home hero */
.hero { padding-top: 74px; padding-left: 110px; padding-bottom: 140px; }
.hero h1 { font-size: 40px; line-height: 58px; font-weight: 500; max-width: 1000px; animation: rise .8s ease both; }
.hero .where { font-size: 18px; line-height: 25px; margin: 20px 0 96px; animation: rise .8s .15s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* project grid */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 40px; }
.card { display: block; }
.card.wide { grid-column: 1 / -1; }
.card-media { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 620 / 409; background: var(--soft); }
.card.wide .card-media { aspect-ratio: 1280 / 509; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.cover-locked {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(120% 140% at 0% 0%, #ff2d87 0%, transparent 35%), radial-gradient(120% 140% at 100% 100%, #2853fd 0%, transparent 40%), var(--navy);
  color: #fff; font-size: clamp(24px, 3vw, 44px); font-weight: 600;
}
.badge {
  position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: #000; font-size: 13px;
}
.badge svg, .lockout svg, .unlock-icon svg { width: 14px; height: 14px; }
.card .tag { margin-top: 20px; color: var(--muted); font-size: 18px; line-height: 25px; letter-spacing: 1.8px; text-transform: uppercase; }
.card h3 { margin-top: 8px; font-size: 24px; line-height: 33.6px; font-weight: 500; }

/* experience */
.experience { padding-top: 160px; }
.experience .label { margin-bottom: 40px; }
.experience .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 0 52px; }
.experience h3 { font-size: 24px; line-height: 33.6px; font-weight: 500; }
.experience h3 a { color: var(--link); }
.experience h3 a:hover { text-decoration: underline; }
.experience .x { color: var(--ink); margin: 0 6px; }
.experience p { margin-top: 12px; color: var(--muted); font-size: 18px; line-height: 25px; }

/* tools */
.tools { padding: 120px var(--gutter) 160px calc(var(--gutter) + 30px); }
.tools ul { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, 80px); gap: 40px 85px; }
.tools img { width: 80px; height: 80px; object-fit: contain; }

/* footer */
.footer { background: #000; color: #fff; padding: 110px 0 120px; }
.footer-in { display: flex; justify-content: space-between; gap: 40px; }
.footer h2 { font-size: 50px; line-height: 60px; font-weight: 500; max-width: 560px; margin-bottom: 64px; }
.footer-links { display: flex; gap: 160px; padding-right: 80px; }
.footer-links div { display: flex; flex-direction: column; gap: 14px; font-size: 18px; line-height: 25px; }
.footer-links a { display: inline-flex; align-items: center; width: fit-content; }

/* page head */
.page-head { padding: 74px var(--gutter) 64px; }
.page-head h1 { font-size: 50px; line-height: 60px; font-weight: 600; }
.page-head p { margin-top: 32px; }
.page-head + .wrap { padding-bottom: 160px; }

/* case study */
.case { padding-bottom: 140px; }
.meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; margin: 74px 0 0; max-width: 1150px; }
.meta dt { color: var(--muted); font-size: 16px; line-height: 22.4px; }
.meta dd { margin: 8px 0 0; font-size: 18px; line-height: 25px; }
.case h1 { margin-top: 82px; font-size: 50px; line-height: 60px; font-weight: 600; max-width: 1152px; }
.lede { margin-top: 24px; font-size: 20px; line-height: 28px; font-weight: 400; max-width: 1152px; }
.hero-img { max-width: var(--max); margin: 96px auto 0; padding: 0 20px; }
.hero-img img, .hero-img .placeholder { width: 100%; border-radius: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 64px 0 0; }
.stats div { background: var(--soft); border-radius: 16px; padding: 28px 24px; }
.stats strong { display: block; font-size: 40px; line-height: 48px; font-weight: 600; }
.stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 22px; }
.locked .stats div { background: var(--navy); color: #fff; }
.locked .stats span { color: rgba(255,255,255,.7); }
.prose { padding-top: 40px; }
.prose > * { max-width: 1024px; }
.prose p, .prose li { font-size: 20px; line-height: 28px; font-weight: 400; }
.prose p { margin-top: 12px; }
.prose p.dia { margin-top: 10px; }
.prose strong { font-weight: 700; }
.prose h2.sec { margin-top: 96px; font-size: 40px; line-height: 56px; font-weight: 600; }
.prose h3.sub { margin-top: 48px; font-size: 32px; line-height: 44.8px; font-weight: 600; }
.prose h2.sec + h3.sub { margin-top: 32px; }
.prose ul, .prose ol { margin: 12px 0 0; padding-left: 24px; }
.prose ol li { padding-left: 6px; margin-top: 8px; }
.prose .note { color: var(--muted); font-style: italic; }
.prose figure { margin: 32px 0 0; max-width: 1280px; }
.prose figure img, .prose figure .placeholder { width: 100%; border-radius: 0; }
.prose .stats { max-width: 1280px; margin-top: 32px; }
.band { max-width: none !important; margin: 72px calc(-1 * var(--gutter) + 16px) 0; }
.band img { width: 100%; height: 110px; object-fit: cover; }
.table { overflow-x: auto; margin-top: 24px; max-width: 1024px; }
.table table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 24px; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #e6e6e6; vertical-align: top; font-weight: 400; }
.table th { color: var(--muted); font-weight: 500; background: var(--soft); }
.table td:last-child { font-weight: 600; }
.placeholder {
  display: grid; place-content: center; text-align: center; gap: 6px; aspect-ratio: 16 / 10; padding: 24px;
  background: var(--navy); color: #fff; border-radius: 16px;
}
.placeholder span { font-size: 22px; font-weight: 600; }
.placeholder small { color: rgba(255,255,255,.6); font-size: 13px; font-family: ui-monospace, monospace; }
.lockout { margin-top: 64px; font-size: 15px; }
.lockout a { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); }
.lockout a:hover { color: var(--ink); }
.more { margin-top: 140px; }
.more .label { margin-bottom: 40px; }

/* unlock */
.unlock { min-height: 62vh; display: grid; place-items: center; padding-top: 40px; padding-bottom: 120px; }
.unlock-box { max-width: 480px; text-align: center; }
.unlock-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--soft); }
.unlock-icon svg { width: 20px; height: 20px; }
.unlock h1 { margin-top: 24px; font-size: 32px; line-height: 42px; font-weight: 600; }
.unlock p { margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 25px; font-weight: 400; }
.unlock .error { color: #d92d20; }
.unlock form { display: flex; gap: 10px; margin-top: 28px; }
.unlock input[type=password] {
  flex: 1; min-width: 0; height: 56px; padding: 0 20px; border: 1px solid #d0d0d0; border-radius: 999px;
  font: inherit; font-size: 17px; outline: none;
}
.unlock input[type=password]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(40,83,253,.15); }
.unlock button {
  height: 56px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--accent); color: #fff;
  font: inherit; font-size: 17px; cursor: pointer;
}
.unlock button:hover { background: #1241ff; }
.unlock .small { font-size: 15px; margin-top: 24px; }
.unlock .small a { color: var(--accent); }

/* responsive */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .hero { padding-left: var(--gutter); }
  .tools { padding-left: var(--gutter); }
  .tools ul { grid-template-columns: repeat(6, 80px); gap: 32px 48px; }
  .footer-links { gap: 80px; padding-right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-body { grid-template-columns: 200px minmax(0, 1fr); padding-left: 0; }
  .about-top { padding-left: 0; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .nav { height: 72px; }
  .nav nav { gap: 16px; font-size: 15px; }
  .nav nav a[href^="mailto"], .nav nav a[href*="linkedin"] { display: none; }
  .hero { padding-top: 32px; padding-bottom: 72px; }
  .hero h1 { font-size: 28px; line-height: 40px; }
  .hero .where { margin-bottom: 48px; }
  .pill { height: 48px; padding: 0 22px; font-size: 15px; }
  .grid { grid-template-columns: 1fr; gap: 48px; }
  .card.wide .card-media { aspect-ratio: 620 / 409; }
  .card .tag { font-size: 14px; }
  .card h3 { font-size: 20px; }
  .experience { padding-top: 96px; }
  .experience .row { grid-template-columns: 1fr; gap: 4px; padding-bottom: 36px; }
  .experience h3 { font-size: 20px; line-height: 28px; }
  .tools { padding: 72px var(--gutter) 96px; }
  .tools ul { grid-template-columns: repeat(3, 64px); gap: 32px 0; justify-content: space-between; }
  .tools img { width: 64px; height: 64px; }
  .footer { padding: 72px 0; }
  .footer-in { flex-direction: column; }
  .footer h2 { font-size: 34px; line-height: 42px; margin-bottom: 32px; }
  .footer-links { gap: 64px; margin-top: 24px; }
  .page-head h1, .case h1 { font-size: 34px; line-height: 42px; }
  .meta { grid-template-columns: 1fr 1fr; margin-top: 40px; gap: 20px; }
  .case h1 { margin-top: 48px; }
  .lede, .prose p, .prose li { font-size: 17px; line-height: 25px; }
  .hero-img { margin-top: 48px; padding: 0 var(--gutter); }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stats strong { font-size: 30px; line-height: 36px; }
  .prose h2.sec { margin-top: 64px; font-size: 28px; line-height: 36px; }
  .prose h3.sub { margin-top: 36px; font-size: 22px; line-height: 30px; }
  .band { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .band img { height: 72px; }
  .page-head + .wrap { padding-bottom: 96px; }
  .unlock form { flex-direction: column; }
  .about { padding-top: 32px; padding-bottom: 96px; }
  .about-top { flex-direction: column-reverse; gap: 32px; padding-left: 0; }
  .about-top h2 { font-size: 22px; line-height: 32px; }
  .about-top .portrait { width: 160px; height: 160px; margin-top: 0; }
  .about-body { grid-template-columns: 1fr; gap: 20px; margin-top: 64px; padding-left: 0; }
  .about-body p + p { margin-top: 24px; }
  .about-photos { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
  .more { margin-top: 96px; }
}
