/* Layout: editorial single column, 1072px max, serif display over a quiet sans. Light brand, single theme by choice. */
:root {
  color-scheme: light;
  --bg: oklch(0.975 0.004 240);
  --fg: oklch(0.19 0.02 245);
  --muted: oklch(0.5 0.025 245);
  --soft: oklch(0.935 0.012 240);
  --line: oklch(0.89 0.014 240);
  --accent: oklch(0.47 0.065 240);
  --accent-soft: oklch(0.88 0.03 235);
  --sky: oklch(0.74 0.045 235);
  --navy: oklch(0.29 0.04 245);
  --cream: oklch(0.95 0.012 100);
  --gold: oklch(0.6 0.06 235);
  --on-dark: oklch(0.99 0.003 240);
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1072px;
  --sec: clamp(56px, 8vw, 104px);
  --radius: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, dl, dd, ol, figure { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); } }
.sec { padding-block: var(--sec); }
.sec-tight { padding-block: calc(var(--sec) * 0.5); }
.sec-first { padding-top: 140px; }

/* type */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.display-1 { font: 500 clamp(44px, 7.2vw, 96px)/1 var(--display); letter-spacing: -0.025em; text-wrap: balance; }
.display-2 { font: 500 clamp(36px, 5vw, 64px)/1.05 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.display-3 { font: 500 clamp(28px, 3.4vw, 46px)/1.08 var(--display); letter-spacing: -0.015em; text-wrap: balance; }
.narrow { max-width: 14em; }
em { font-style: italic; color: var(--accent); }
.lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 32em; }
.lede-sm { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 40em; }
.result { font-weight: 600; color: var(--accent); font-size: 16px; margin-block: 14px 10px; display: flex; gap: 10px; align-items: center; }
.result::before { content: ""; width: 18px; height: 2px; background: var(--gold); flex: none; }
.result.big { font-size: 18px; margin-block: 20px 16px; }
.center { text-align: center; display: grid; justify-items: center; gap: 20px; }
.center .eyebrow { margin: 0; }

/* buttons + links */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--fg); color: var(--on-dark); font: 500 16px var(--sans); padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { background: var(--accent); transform: translateY(-1px); }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.tlink .ic { transition: transform .2s; }
.tlink:hover .ic { transform: translateX(3px); }
.tlink.back .ic { order: -1; }
.tlink.back:hover .ic { transform: translateX(-3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }

/* nav */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.nav { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 20px); left: 0; right: 0; z-index: 20; display: flex; justify-content: center; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); pointer-events: none; }
.nav-pill { pointer-events: auto; width: min(768px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: color-mix(in oklch, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px; padding: 10px 12px 10px 22px; box-shadow: 0 0 0 1px var(--line), 0 10px 30px -14px color-mix(in oklch, var(--fg) 40%, transparent); }
.logo { font: 600 18px var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-links a[aria-current="page"] { color: var(--fg); background: var(--soft); }
@media (max-width: 420px) { .nav-pill { padding-left: 16px; } .logo { font-size: 16px; } .nav-links a { padding: 8px 8px; font-size: 14px; } }

/* hero */
.hero { padding-top: 132px; padding-bottom: calc(var(--sec) * 0.6); }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; align-items: center; }
.hero .display-1 em { display: inline-block; }
.hero-copy { min-width: 0; }
.hero .lede { margin-top: 28px; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.portrait figcaption { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 14px; }
.portrait { justify-self: end; width: 100%; max-width: 420px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .portrait { justify-self: start; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 1px solid var(--line); padding-top: 40px; }
.stats div { display: flex; flex-direction: column-reverse; gap: 8px; }
.stats dd { font: 500 clamp(52px, 6vw, 80px)/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats dt { color: var(--muted); }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; gap: 28px; } }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 48px; margin-top: 56px; }
.svc h3 { font: 500 20px/1.3 var(--sans); margin-bottom: 10px; }
.svc p { color: var(--muted); line-height: 1.6; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; gap: 28px; } }

/* case rows */
.cases { margin-top: 56px; display: grid; }
.case-row { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; padding-block: 44px; border-top: 1px solid var(--line); }
.case-row:last-child { border-bottom: 1px solid var(--line); }
.case-body { min-width: 0; }
.case-body .tlink { margin-top: 22px; }
.case-brand { display: flex; align-items: center; gap: 12px; color: var(--accent); font-size: 15px; font-weight: 500; }
.case-brand.top { margin-block: 32px 24px; }
.case-brand .dot { color: var(--muted); font-weight: 400; }
.case-brand .dot::before { content: "·"; margin-right: 12px; }
.case-when { color: var(--muted); font-size: 14px; margin-top: 10px; padding-left: 48px; }
.all { margin-top: 36px; }
@media (max-width: 760px) { .case-row { grid-template-columns: 1fr; gap: 16px; } .case-when { margin-top: 6px; } }

/* brand marks */
.mark { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.mark img { max-width: 80%; max-height: 80%; object-fit: contain; }
.mark.sm { width: 36px; height: 36px; border-radius: 9px; }
.mark.lg { width: 72px; height: 72px; border-radius: 16px; }
.mono { background: var(--accent-soft); box-shadow: none; color: var(--accent); font: 500 17px var(--display); letter-spacing: 0.02em; }
.mark.sm.mono { font-size: 14px; }
.mark.lg.mono { font-size: 26px; }

.group { font: 500 15px var(--sans); color: var(--accent); margin-block: 48px 20px; letter-spacing: 0.02em; }
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.blist { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 40px; }
.btile { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px; min-width: 0; transition: background .2s; }
a.btile:hover { background: var(--soft); }
a.btile:hover .bt-name { color: var(--accent); }
.bt-text { display: grid; gap: 2px; min-width: 0; }
.bt-name { font-weight: 500; font-size: 15px; transition: color .2s; }
.bt-desc { font-size: 13.5px; color: var(--muted); line-height: 1.4; }

.idgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.idcard { background: var(--soft); border-radius: var(--radius); padding: 28px; display: grid; gap: 6px; justify-items: start; }
.idcard .mark { margin-bottom: 14px; }
@media (max-width: 760px) { .idgrid { grid-template-columns: 1fr; } }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; margin-top: 56px; align-items: start; }
.about-img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 4px; }
.about-grid .lede { color: var(--fg); }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } .about-img { max-width: 420px; } }
.journey { list-style: none; padding: 0; margin-top: 24px; display: grid; }
.journey li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding-block: 28px; border-top: 1px solid var(--line); align-items: baseline; }
.j-year { font: 500 clamp(36px, 4vw, 52px)/1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.journey h3 { font: 500 clamp(22px, 2.4vw, 30px)/1.2 var(--display); }
.journey p { color: var(--muted); font-size: 14px; margin-top: 6px; }
@media (max-width: 600px) { .journey li { grid-template-columns: 1fr; gap: 8px; } }

/* case study */
.meta { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 24px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.meta dt { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.meta dd { font-weight: 500; }
@media (max-width: 600px) { .meta { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 48px; }
.brief { font: 500 clamp(26px, 3vw, 38px)/1.2 var(--display); letter-spacing: -0.01em; text-wrap: balance; max-width: 22em; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.did { list-style: none; padding: 0; display: grid; }
.did li { display: grid; grid-template-columns: 1fr 2fr; gap: 12px 48px; padding-block: 26px; border-top: 1px solid var(--line); }
.did-n { font: 500 28px var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.did h3 { font: 500 19px var(--sans); margin-bottom: 6px; }
.did p { color: var(--muted); }
@media (max-width: 600px) { .did li { grid-template-columns: 1fr; } }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 32px; }
.results div { display: flex; flex-direction: column-reverse; gap: 8px; }
.results dd { font: 500 clamp(56px, 7vw, 88px)/1 var(--display); color: var(--accent); letter-spacing: -0.03em; }
.results dt { color: var(--muted); max-width: 22em; }
.next { display: grid; gap: 10px; padding: clamp(28px, 5vw, 48px); border-radius: var(--radius); background: var(--soft); transition: background .2s; }
.next:hover { background: var(--accent-soft); }
.next .eyebrow { margin: 0; }
.next-name { color: var(--accent); font-weight: 500; }
.next .tlink { margin-top: 10px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.cbtns { display: grid; gap: 12px; justify-items: start; margin-top: 36px; }
.cbtn { display: inline-flex; align-items: center; gap: 12px; padding: 8px 22px 8px 8px; border-radius: 999px; font-weight: 500; max-width: 100%; transition: transform .2s; overflow-wrap: anywhere; }
.cbtn:hover { transform: translateY(-1px); }
.cbtn.dark { background: var(--fg); color: var(--on-dark); }
.cbtn.light { background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 10px 30px -18px color-mix(in oklch, var(--fg) 50%, transparent); }
.cbtn-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--bg); color: var(--fg); }
.cbtn.light .cbtn-ic { background: var(--fg); color: var(--on-dark); }
.cform { background: var(--soft); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; min-width: 0; }
.form-title { font: 500 26px var(--display); }
.frow { display: grid; gap: 6px; }
.frow label { font-size: 14px; font-weight: 500; }
.opt { color: var(--muted); font-weight: 400; }
.frow input, .frow textarea { font: 16px var(--sans); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; resize: vertical; }
.frow input:focus, .frow textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.frow [aria-invalid="true"] { border-color: var(--accent); }
.cform .btn { justify-self: start; }
.form-status { font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-status a { color: var(--accent); text-decoration: underline; }

/* cta + footer */
.sec-cta { padding-block: var(--sec); }
.cta { text-align: center; display: grid; justify-items: center; gap: 28px; }
.cta .eyebrow { margin: 0; }
.cta .display-2 { max-width: 12em; }
.foot { padding-block: 48px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.foot-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.foot-links a:hover { color: var(--fg); }
.copy { margin-top: 40px; font-size: 13px; color: var(--muted); }

/* floating email on phones: bottom-left so it never covers corner widgets */
.float-mail { display: none; }
@media (max-width: 760px) {
  .float-mail { display: inline-flex; align-items: center; gap: 10px; position: fixed; z-index: 15; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 32px); background: var(--fg); color: var(--on-dark); padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; box-shadow: 0 12px 30px -12px color-mix(in oklch, var(--fg) 70%, transparent); }
  .float-mail span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- portfolio layer ---------- */
.muted { color: var(--muted); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 48px; }
.sec-head .display-2 { max-width: 16em; }
.sec-work { padding-top: calc(var(--sec) * 0.6); }
.hero { padding-bottom: calc(var(--sec) * 0.4); }
.portrait figcaption { justify-content: flex-start; }
.portrait { max-width: 360px; }

/* project grid + cards */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
.pgrid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
@media (max-width: 960px) { .pgrid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .pgrid, .pgrid.three { grid-template-columns: 1fr; gap: 44px; } }
.pcard { display: grid; gap: 20px; min-width: 0; }
.pcard[hidden] { display: none; }
.pcard .cover { transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .cover { transform: translateY(-4px); }
.pcard:hover .pcard-title { color: var(--accent); }
.pcard-meta { display: grid; gap: 10px; }
.pcard-client { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; font-weight: 500; }
.pcard-client .muted { font-weight: 400; }
.pcard-title { font: 500 clamp(22px, 2.2vw, 28px)/1.2 var(--display); letter-spacing: -0.01em; text-wrap: balance; transition: color .2s; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); }

/* covers */
.cover { position: relative; background: var(--tint, var(--soft)); border-radius: 18px; aspect-ratio: 16 / 11; overflow: hidden; max-width: 100%; }
.cover-shot .browser { position: absolute; left: 8%; top: 11%; width: 80%; }
.cover-shot .phone { position: absolute; right: 6%; bottom: -14%; width: 21%; }
.cover.big { aspect-ratio: 16 / 9.5; }
.cover-shot.big .browser { left: 7%; top: 9%; width: 74%; }
.cover-shot.big .phone { right: 6%; bottom: -18%; width: 17%; }
.browser { background: var(--bg); border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px -24px oklch(0.2 0.02 286 / 0.45), 0 0 0 1px oklch(0.2 0.004 286 / 0.06); }
.browser-bar { height: 18px; display: flex; gap: 5px; align-items: center; padding: 0 9px; background: oklch(0.96 0.002 286); }
.browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.82 0.004 286); }
.cover.big .browser-bar { height: 26px; padding: 0 12px; gap: 7px; }
.cover.big .browser-bar i { width: 9px; height: 9px; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.phone { background: oklch(0.16 0.004 286); padding: 5px; border-radius: 22px; box-shadow: 0 24px 50px -20px oklch(0.2 0.02 286 / 0.55); }
.phone img { border-radius: 17px; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; }
.cover-brand { display: grid; place-items: center; align-content: center; gap: 22px; padding: 24px; }
.cover-name { font: 500 clamp(20px, 2vw, 26px) var(--display); color: var(--fg); text-align: center; }
.cover.on-dark .cover-name { color: var(--on-dark); }
.mark.xl { width: 104px; height: 104px; border-radius: 26px; }
.mark.xl.mono { font-size: 40px; }
.cover-marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 360px; }
.cover-brand .mark { box-shadow: 0 10px 30px -14px oklch(0.2 0.02 286 / 0.4); }
.cover.on-dark .mono { background: oklch(0.36 0.03 245); color: var(--on-dark); }

/* logo wall */
.logos-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 24px; }
.logos-head .eyebrow { margin: 0; }
.logowall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logowall li { height: 96px; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px; }
.logowall img { max-height: 40px; max-width: 70%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logowall li:hover img { filter: none; opacity: 1; }
@media (max-width: 760px) { .logowall { grid-template-columns: repeat(3, minmax(0, 1fr)); } .logowall li { height: 80px; } }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 40px 48px; }
.chip-btn { font: 500 14px var(--sans); color: var(--fg); background: var(--bg); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip-btn:hover { border-color: var(--fg); }
.chip-btn[aria-pressed="true"] { background: var(--fg); color: var(--on-dark); border-color: var(--fg); }
.soon { background: var(--soft); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); display: grid; gap: 14px; }
.soon .eyebrow { margin: 0; }

/* project page */
.sec-proj { padding-bottom: 40px; }
.proj-intro { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px 64px; margin-top: 32px; align-items: start; }
.proj-side { display: grid; gap: 24px; justify-items: start; }
@media (max-width: 760px) { .proj-intro { grid-template-columns: 1fr; } }
.proj-hero { padding-block: 8px 0; }
.did { counter-reset: did; }
.did li { grid-template-columns: 1fr 2fr; }
.did li h3 { margin: 0; }
.did li h3::before { counter-increment: did; content: counter(did, decimal-leading-zero); display: block; font: 500 15px var(--display); color: var(--gold); margin-bottom: 6px; }
@media (max-width: 600px) { .did li { grid-template-columns: 1fr; } }
.role-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px 64px; align-items: center; }
.role-grid .phone { max-width: 260px; justify-self: center; }
.role .eyebrow { margin-bottom: 16px; }
@media (max-width: 760px) { .role-grid { grid-template-columns: 1fr; } .role-grid .phone { max-width: 220px; } }
.next { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 32px 48px; }
.next-copy { display: grid; gap: 10px; }
.next .cover { aspect-ratio: 16 / 10; }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }
.about-copy { display: grid; gap: 24px; justify-items: start; }
.logowall img { filter: none; opacity: 1; }
@media (max-width: 860px) { .hero .portrait { max-width: 200px; } .hero-grid { gap: 32px; } }

/* ---------- blue palette surfaces ---------- */
.mono { background: var(--accent-soft); color: var(--navy); }
.chips li { background: var(--cream); color: var(--fg); }
.btn:hover { background: var(--navy); }
.result::before { background: var(--sky); }

/* ---------- journey: glass orb ---------- */
.sec-journey { background: radial-gradient(120% 90% at 50% 0%, oklch(0.62 0.05 238) 0%, oklch(0.42 0.05 242) 45%, var(--navy) 100%); color: var(--on-dark); overflow: hidden; }
.sec-journey .eyebrow { color: oklch(0.88 0.02 235); }
.sec-journey .tlink { color: var(--on-dark); }
.jx { display: grid; justify-items: center; gap: 36px; }
.jx-stage { position: relative; width: min(360px, 76vw); aspect-ratio: 1; display: grid; place-items: center; }
.jx-glow { position: absolute; inset: -18%; pointer-events: none; }
.jx-glow i { position: absolute; border-radius: 50%; filter: blur(34px); opacity: .85; animation: jx-drift 14s ease-in-out infinite; }
.jx-glow i:nth-child(1) { width: 46%; height: 46%; left: 6%; top: 12%; background: oklch(0.86 0.04 230); }
.jx-glow i:nth-child(2) { width: 38%; height: 38%; right: 4%; bottom: 10%; background: oklch(0.95 0.02 100); animation-delay: -5s; animation-duration: 17s; }
.jx-glow i:nth-child(3) { width: 30%; height: 30%; right: 18%; top: 4%; background: oklch(0.62 0.07 240); animation-delay: -9s; animation-duration: 12s; }
@keyframes jx-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(14%, 10%) scale(1.12); } 66% { transform: translate(-10%, 6%) scale(.92); } }
.jx-orb { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 6px; overflow: hidden;
  background: linear-gradient(150deg, oklch(1 0 0 / .42), oklch(1 0 0 / .07) 52%, oklch(1 0 0 / .16));
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid oklch(1 0 0 / .5);
  box-shadow: inset 0 2px 0 oklch(1 0 0 / .75), inset 0 -36px 70px oklch(0.2 0.04 245 / .28), inset 0 0 0 10px oklch(1 0 0 / .04), 0 50px 100px -36px oklch(0.12 0.03 245 / .8);
  animation: jx-float 7s ease-in-out infinite; }
.jx-orb::before { content: ""; position: absolute; left: 12%; top: 7%; width: 56%; height: 34%; border-radius: 50%; background: linear-gradient(180deg, oklch(1 0 0 / .55), oklch(1 0 0 / 0)); transform: rotate(-18deg); pointer-events: none; }
.jx-orb::after { content: ""; position: absolute; right: 16%; bottom: 10%; width: 22%; height: 9%; border-radius: 50%; background: oklch(1 0 0 / .22); filter: blur(4px); transform: rotate(-24deg); pointer-events: none; }
@keyframes jx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.jx-ring { position: absolute; inset: 3.5%; width: 93%; height: 93%; transform: rotate(-90deg); pointer-events: none; }
.jx-ring circle { fill: none; stroke: oklch(1 0 0 / .9); stroke-width: .7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.jx.running .jx-ring circle { animation: jx-progress var(--jx-dur, 5200ms) linear forwards; }
@keyframes jx-progress { to { stroke-dashoffset: 0; } }
.jx-year { position: relative; height: 1.1em; overflow: hidden; font: 500 clamp(64px, 15vw, 112px)/1.1 var(--display); letter-spacing: -0.03em; color: var(--on-dark); text-shadow: 0 2px 24px oklch(0.2 0.04 245 / .35); font-variant-numeric: lining-nums; }
.jx-reel { display: grid; transform: translateY(calc(var(--n, 0) * -1.1em)); transition: transform 1s cubic-bezier(.75, 0, .2, 1); }
.jx-reel span { height: 1.1em; text-align: center; }
.jx-sub { position: relative; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: oklch(1 0 0 / .85); transition: opacity .4s; }
.jx-sub.fade { opacity: 0; }
.jx-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jx-tab, .jx-play { font: 500 14px var(--sans); color: var(--on-dark); background: oklch(1 0 0 / .1); border: 1px solid oklch(1 0 0 / .28); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: background .25s, color .25s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-variant-numeric: tabular-nums; }
.jx-tab:hover { background: oklch(1 0 0 / .2); }
.jx-tab[aria-selected="true"] { background: var(--on-dark); color: var(--navy); border-color: var(--on-dark); }
.jx-play { padding: 9px 12px; display: inline-grid; place-items: center; }
.jx-play .i-play { display: none; fill: currentColor; stroke: none; }
.jx-play[data-playing="false"] .i-play { display: block; }
.jx-play[data-playing="false"] .i-pause { display: none; }
.jx-panels { width: 100%; max-width: 820px; }
.jx-panel { display: grid; justify-items: center; text-align: center; gap: 14px; }
.jx-where { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: oklch(0.88 0.02 235); }
.jx-line { font: 500 clamp(28px, 4vw, 46px)/1.1 var(--display); letter-spacing: -0.015em; text-wrap: balance; max-width: 18em; }
.jx-did-label { margin: 18px 0 2px; }
.jx-cards { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 12px; max-width: 760px; }
.jx-cards li { --r: -2.5deg; background: var(--cream); color: var(--navy); font: 500 16px/1.3 var(--sans); padding: 14px 20px; border-radius: 16px; box-shadow: 0 18px 36px -20px oklch(0.1 0.03 245 / .7); transform: rotate(var(--r)); transition: transform .3s; }
.jx-cards li:nth-child(2n) { --r: 2deg; background: oklch(0.99 0.003 240); }
.jx-cards li:nth-child(3n) { --r: -1deg; background: var(--accent-soft); }
.jx-cards li:nth-child(4n) { --r: 3deg; }
.jx-cards li:hover { transform: rotate(0) translateY(-4px) scale(1.04); }
.jx-panel.enter .jx-cards li { animation: jx-card .7s cubic-bezier(.2, .8, .2, 1.2) both; animation-delay: calc(var(--i) * 90ms + 250ms); }
.jx-panel.enter .jx-line, .jx-panel.enter .jx-where { animation: jx-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.jx-panel.enter .jx-line { animation-delay: 80ms; }
@keyframes jx-card { from { opacity: 0; transform: translateY(30px) rotate(calc(var(--r) * -4)) scale(.9); } to { opacity: 1; transform: rotate(var(--r)); } }
@keyframes jx-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.jx-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.jx-brands .mark { box-shadow: 0 8px 20px -10px oklch(0.1 0.03 245 / .6); }
@media (max-width: 600px) { .jx-cards li { font-size: 14.5px; padding: 11px 15px; } }
@media (prefers-reduced-motion: reduce) { .jx-orb, .jx-glow i { animation: none; } .jx-reel { transition: none; } .jx-ring { display: none; } }

/* ---------- portrait: cutout on a blue arch ---------- */
.px { position: relative; width: 100%; max-width: 420px; aspect-ratio: 4 / 4.9; margin: 0; justify-self: end; isolation: isolate; }
.px-arch { position: absolute; inset: 11% 0 0 0; border-radius: 999px 999px 28px 28px; overflow: hidden; z-index: -1;
  background: radial-gradient(90% 70% at 30% 20%, oklch(0.86 0.035 232) 0%, oklch(0.72 0.05 236) 45%, oklch(0.47 0.06 242) 100%);
  box-shadow: inset 0 1px 0 oklch(1 0 0 / .5), 0 40px 80px -40px oklch(0.25 0.05 245 / .6); }
.px-arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, oklch(1 0 0 / .28) 0%, oklch(1 0 0 / 0) 38%); }
.px-orb { position: absolute; width: 62%; aspect-ratio: 1; left: 50%; top: 4%; translate: -50% 0; border-radius: 50%;
  background: linear-gradient(150deg, oklch(1 0 0 / .45), oklch(1 0 0 / .06) 55%, oklch(1 0 0 / .18)); border: 1px solid oklch(1 0 0 / .5);
  box-shadow: inset 0 2px 0 oklch(1 0 0 / .7), inset 0 -20px 40px oklch(0.25 0.05 245 / .2); animation: jx-float 8s ease-in-out infinite; }
.px-img { position: absolute; left: 50%; bottom: 0; translate: -50% 0; width: 100%; height: auto; max-width: none; filter: drop-shadow(0 24px 30px oklch(0.2 0.04 245 / .35)); border-radius: 0 0 28px 28px; }
.px-tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--sans); color: var(--navy); white-space: nowrap;
  padding: 9px 14px; border-radius: 999px; background: oklch(1 0 0 / .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid oklch(1 0 0 / .8); box-shadow: 0 14px 30px -14px oklch(0.2 0.05 245 / .55); animation: px-bob 6s ease-in-out infinite; }
.px-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px oklch(0.74 0.045 235 / .3); }
.px-tag-a { left: -8%; top: 38%; }
.px-tag-b { right: -6%; bottom: 16%; animation-delay: -3s; }
@keyframes px-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 860px) { .px { justify-self: center; max-width: 340px; } .px-tag-a { left: -2%; top: auto; bottom: 30%; } .px-tag-b { right: -2%; bottom: 8%; } }
@media (prefers-reduced-motion: reduce) { .px-orb, .px-tag { animation: none; } }
.px-about { justify-self: start; max-width: 400px; }
.about-grid { align-items: center; }

/* ---------- type: minimal grotesk ---------- */
body { font-feature-settings: "ss01", "cv11"; letter-spacing: -0.006em; }
.display-1 { font-weight: 500; letter-spacing: -0.045em; line-height: 0.98; }
.display-2 { font-weight: 500; letter-spacing: -0.04em; line-height: 1.04; }
.display-3, .pcard-title, .jx-line, .brief, .journey h3, .cover-name, .form-title { letter-spacing: -0.03em; font-weight: 500; }
em { font-style: normal; color: var(--accent); font-weight: 400; }
.logo { font: 600 17px var(--display); letter-spacing: -0.03em; }
.jx-year { font-weight: 300; letter-spacing: -0.06em; }
.mono, .mark.lg.mono, .mark.xl.mono { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
.eyebrow { font-weight: 500; letter-spacing: 0.14em; }
.lede, .lede-sm { letter-spacing: -0.01em; }

/* ---------- portrait: no box, free-standing ---------- */
.px-arch { inset: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.px-arch::before { content: ""; position: absolute; left: 50%; top: 42%; width: 120%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, oklch(0.8 0.045 235 / .55), oklch(0.86 0.03 235 / .25) 55%, transparent 100%); filter: blur(10px); }
.px-arch::after { display: none; }
.px-orb { width: 72%; top: 6%; background: linear-gradient(150deg, oklch(1 0 0 / .7), oklch(0.9 0.03 235 / .25) 55%, oklch(1 0 0 / .35));
  border-color: oklch(1 0 0 / .9); box-shadow: inset 0 2px 0 oklch(1 0 0 / .9), inset 0 -24px 50px oklch(0.6 0.05 240 / .25), 0 30px 60px -30px oklch(0.4 0.05 240 / .45); }
.px-img { border-radius: 0; filter: drop-shadow(0 20px 30px oklch(0.3 0.04 245 / .22));
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); }
.px-img {
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 97%), linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 60%, transparent 97%), linear-gradient(to right, transparent 0%, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect; }
/* portrait: image only */
.px-arch, .px-orb, .px-tag { display: none !important; }
.px-img { filter: none; }
/* hero: bigger portrait + contact buttons */
@media (min-width: 861px) { .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 40px; } }
.px-hero { max-width: 600px; width: 100%; }
.btn-ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--fg); }
.btn-ghost:hover { background: var(--fg); color: var(--on-dark); }
.actions { gap: 12px 14px; }
.actions .tlink { margin-left: 10px; }
@media (max-width: 860px) { .px-hero { max-width: 460px; } }
/* about: my journey story */
.about-grid { align-items: start; }
.story { gap: 18px; max-width: 36em; }
.story-title { font: 500 clamp(28px, 3vw, 36px)/1.1 var(--display); letter-spacing: -0.03em; }
.story-lead { color: var(--fg); }
.story-p { font-size: 17px; line-height: 1.7; color: var(--muted); }
.story-p:last-of-type { color: var(--fg); font-weight: 500; }
.story .tlink { margin-top: 8px; }
/* about: centred photo layout */
.sec-about-hero .wrap > .eyebrow, .sec-about-hero .wrap > .display-1 { text-align: center; margin-inline: auto; }
.sec-about-hero .display-1 { max-width: 14em; }
.sec-about-hero .about-grid { grid-template-columns: 1fr; justify-items: center; gap: 40px; margin-top: 40px; }
.sec-about-hero .px-about { justify-self: center; max-width: 480px; }
.sec-about-hero .story { max-width: 40em; margin-inline: auto; justify-items: center; }
.sec-about-hero .story-title { text-align: center; }
.sec-about-hero .story p { text-align: left; width: 100%; }
.sec-about-hero .about-grid { margin-top: 0; }
.sec-about-hero { padding-top: 120px; }
/* monogram icons: designed tiles for brands without a public logo */
.mono, .mark.mono { background: linear-gradient(145deg, var(--navy), oklch(0.47 0.065 240)); color: var(--on-dark); box-shadow: inset 0 1px 0 oklch(1 0 0 / .18); letter-spacing: -0.02em; }
.mark.mono { font-size: 15px; }
.mark.sm.mono { font-size: 12px; }
.mark.lg.mono { font-size: 22px; }
.mark.xl.mono { font-size: 34px; }
.mono[aria-hidden="true"] { font-weight: 600; }

/* ---------- home: me first ---------- */
.hero-name { letter-spacing: -0.05em; }
.hero-kicker { font: 500 clamp(24px, 2.6vw, 34px)/1.2 var(--display); letter-spacing: -0.03em; margin-top: 18px; max-width: 18em; text-wrap: balance; }
.hero .lede { margin-top: 20px; }

/* ---------- how I work: process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.process li { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px 24px; display: grid; gap: 10px; align-content: start; transition: transform .3s, box-shadow .3s, border-color .3s; }
.process li:hover { transform: translateY(-4px); border-color: var(--accent-soft); box-shadow: 0 24px 50px -30px oklch(0.3 0.05 245 / .5); }
.process li:nth-child(2), .process li:nth-child(4) { background: var(--navy); color: var(--on-dark); border-color: var(--navy); }
.process li:nth-child(2) p, .process li:nth-child(4) p { color: oklch(0.86 0.02 235); }
.process li:nth-child(2) .pr-n, .process li:nth-child(4) .pr-n { color: var(--sky); }
.pr-n { font: 300 40px/1 var(--display); letter-spacing: -0.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.process h3 { font: 600 19px/1.2 var(--display); letter-spacing: -0.02em; margin-top: 8px; }
.process p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -12px; width: 8px; height: 8px; border-top: 1.5px solid var(--sky); border-right: 1.5px solid var(--sky); transform: rotate(45deg); }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } .process li::after { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.hero .actions { margin-top: 36px; }
.jx-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 2px; }
.jx-links a { display: inline-flex; align-items: center; gap: 6px; font: 500 14px var(--sans); color: var(--on-dark); padding: 8px 14px; border-radius: 999px; background: oklch(1 0 0 / .12); border: 1px solid oklch(1 0 0 / .3); transition: background .2s, color .2s; }
.jx-links a:hover { background: var(--on-dark); color: var(--navy); }
.story-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
