:root {
  --ink: #8B1E2D;
  --text: #141210;
  --muted: #4A4640;
  --line: #E6E2DC;
  --paper: #FFFFFF;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--paper); color: var(--text); }
body { font-family: Inter, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.eyebrow { font-family: "Roboto Mono", Menlo, monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #6B6660; }
.btn { font-family: Archivo, Inter, sans-serif; font-weight: 500; font-size: 14px; padding: 14px 22px; border-radius: 999px; border: 1px solid var(--text); display: inline-flex; align-items: center; gap: 8px; }
.btn.fill { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.fill:hover { color: #fff; }
.wrap { padding-left: clamp(20px, 4.4vw, 64px); padding-right: clamp(20px, 4.4vw, 64px); }

/* nav */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding-top: 30px; padding-bottom: 30px; }
.nav .mark { display: flex; align-items: center; gap: 12px; font-size: 22px; letter-spacing: -0.01em; }
.nav .links { display: flex; gap: 32px; align-items: center; font-size: 14px; }
.nav .links .pill { font-family: Archivo, Inter, sans-serif; font-weight: 500; font-size: 13px; padding: 10px 16px; border: 1px solid var(--text); border-radius: 999px; }
@media (max-width: 720px) { .nav .links { gap: 18px; } .nav .links a.anchor { display: none; } .hero .corner.r { display: none; } }

/* hero */
.hero { position: relative; height: 100svh; min-height: 640px; max-height: 960px; overflow: hidden; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero .copy { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px; padding: 0 20px; }
.hero h1 { margin: 0; font-size: clamp(44px, 6.4vw, 92px); line-height: 0.98; letter-spacing: -0.02em; max-width: 900px; text-wrap: balance; }
.hero p { margin: 8px 0 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; color: var(--muted); max-width: 560px; text-wrap: pretty; }
.hero .cta { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.hero .corner { position: absolute; bottom: 36px; z-index: 1; }
.hero .corner.l { left: clamp(20px, 4.4vw, 64px); } .hero .corner.r { right: clamp(20px, 4.4vw, 64px); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.d1 { animation-delay: .15s } .d2 { animation-delay: .3s } .d3 { animation-delay: .45s } .d4 { animation-delay: .6s }

/* dither bands */
.band { display: block; width: 100%; height: 110px; image-rendering: pixelated; background: var(--paper); }

/* work on the ink */
.work { background: var(--ink); padding-top: 72px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; color: #fff; }
.work .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.work .head .eyebrow { color: rgba(255,255,255,0.72); }
.work h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -0.02em; color: #fff; }
.work .all { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.7); padding-bottom: 4px; }
.work .all:hover { color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card { position: relative; background: #fff; color: var(--text); border: 1px solid rgba(255,255,255,0.25); border-radius: 4px; overflow: hidden; transition: transform .25s, box-shadow .25s; display: block; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.25); color: var(--text); }
.card canvas { display: block; width: 100%; height: 232px; }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.card .row { display: flex; justify-content: space-between; gap: 12px; }
.card h3 { margin: 0; font-size: 17px; font-weight: 600; }
.card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* now strip */
.now { margin-top: 40px; padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 760px) { .now { grid-template-columns: 1fr; } }
.now .cell { display: flex; flex-direction: column; gap: 10px; }
.now p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.now .links { display: flex; gap: 20px; font-size: 15px; }
.now .links a { border-bottom: 1px solid var(--text); }
.colophon { padding-top: 40px; padding-bottom: 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- the footer site ----------
   Height comes from the content plus room for the landscape. Never a fixed
   aspect ratio with an absolutely positioned body: that clipped the columns
   at in-between widths, because .foot hides its overflow. */
.foot { position: relative; overflow: hidden; background: #E7E9F1; color: #1B1B1F; min-height: 100svh; padding-bottom: clamp(200px, 32vw, 460px); }
.foot canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; image-rendering: pixelated; }
.foot .inner { position: relative; padding: clamp(30px, 5.7vw, 82px) clamp(20px, 5.7vw, 82px) 0; }
.foot .top { display: flex; justify-content: space-between; align-items: flex-start; gap: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.foot .brand { display: flex; flex-direction: column; gap: 22px; flex: 0 1 340px; min-width: 0; }
.foot .brand .mark { display: flex; align-items: center; gap: 10px; font-size: clamp(24px, 2.1vw, 30px); font-weight: 500; letter-spacing: -0.02em; }
.foot .brand p { margin: 0; font-size: 16px; line-height: 21px; color: #2A2A30; }
.foot .soc { display: flex; gap: 8px; margin-top: 12px; }
.foot .soc a { width: 40px; height: 40px; border: 1px solid #2E2E34; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.35); }
.foot .brand p.status { margin: 26px 0 0; font-family: "Roboto Mono", Menlo, monospace; font-size: 11px; line-height: 1.65; letter-spacing: 0.14em; text-transform: uppercase; color: #4A4A52; overflow-wrap: break-word; }
.foot .brand p.status .doing { font-size: clamp(16px, 1.5vw, 22px); letter-spacing: 0.06em; }
.foot .brand p.status .doing a { color: #1B1B1F; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(27,27,31,0.35); }
.foot .brand p.status .doing a:hover { text-decoration-color: #1B1B1F; }
.foot .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(18px, 2.4vw, 46px); flex: 1 1 560px; min-width: 0; }
.foot .col { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.foot .col h4 { margin: 0 0 8px; font-size: 16px; font-weight: 500; }
.foot .col a, .foot .col span { font-size: 15px; line-height: 19px; overflow-wrap: break-word; }
.foot .col a { color: #2A2A30; }
.foot .col span { color: #6F6F79; cursor: default; }
.foot .col a:hover { color: #000; }
.foot a.ext::after { content: "\2197"; display: inline-block; margin-left: 4px; font-size: 0.82em; opacity: 0.5; }
.foot a.ext:hover::after { opacity: 1; }
.foot .rule { margin-top: clamp(34px, 5.6vw, 80px); height: 1px; background: rgba(40,40,50,0.35); }
.foot .bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: 14px; color: #2A2A30; }
.foot .bottom .made { display: flex; align-items: center; gap: 5px; }
.foot .bottom .made a { text-decoration: underline; text-underline-offset: 3px; }
.foot .up { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 999px; background: #1E1E22; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,0.25); }
.foot .up:hover { background: #000; }
@media (max-width: 900px) {
  .foot { padding-bottom: 46vw; }
  .foot .top { flex-direction: column; gap: 30px; }
  .foot .brand { flex: 1 1 auto; }
  .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; flex: 1 1 auto; }
  .foot .up { display: none; }
  .foot .bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 20px; }
}

/* ---------- the platform page ---------- */
.plat { position: relative; overflow: hidden; background: #fff; color: #111114; height: 100svh; min-height: 720px; max-height: 1000px; }
.plat canvas { position: absolute; left: 0; top: 0; image-rendering: pixelated; }
.plat .pnav { position: absolute; left: 36px; right: 36px; top: 28px; height: 50px; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
.plat .pnav .mark { display: flex; align-items: center; gap: 8px; font-size: 28px; letter-spacing: -0.02em; }
.plat .pnav .mid { display: flex; gap: 36px; position: absolute; left: 50%; transform: translateX(-50%); font-size: 16px; }
.plat .pnav .mid a:hover { color: #1846C8; }
.plat .pnav .right { display: flex; align-items: center; gap: 10px; }
.plat .pnav .circ { width: 50px; height: 50px; border-radius: 999px; background: #F1F1F1; display: flex; align-items: center; justify-content: center; }
.plat .pnav .pill { height: 50px; padding: 0 26px; border-radius: 999px; background: #F1F1F1; display: flex; align-items: center; gap: 8px; font-size: 16px; }
.plat .center { position: absolute; left: 0; right: 0; top: 25%; display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 1; padding: 40px 20px 60px; }
.plat .center::before { content: ""; position: absolute; inset: -10% 10%; background: radial-gradient(ellipse at center, rgba(255,255,255,0.96) 35%, rgba(255,255,255,0) 72%); z-index: -1; pointer-events: none; }
.plat .badge { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 16px; border-radius: 999px; background: #EEF2FB; color: #1846C8; font-size: 15px; text-align: center; }
.plat h1 { margin: 26px 0 0; font-size: clamp(40px, 4.9vw, 70px); line-height: 1.02; letter-spacing: -0.025em; }
.plat p { margin: 28px 0 0; max-width: 560px; font-size: 17px; line-height: 1.45; color: #4B4B52; }
.plat .cta { margin-top: 34px; height: 50px; padding: 0 30px; border-radius: 999px; background: #1846C8; color: #fff; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; }
.plat .cta:hover { color: #fff; }
.plat .next { position: absolute; right: 20px; top: 51%; width: 60px; height: 60px; border-radius: 999px; background: #1E1E22; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0,0,0,0.25); z-index: 2; }
@media (max-width: 860px) { .plat .pnav .mid, .plat .next { display: none; } .plat .pnav { left: 20px; right: 20px; } .plat .pnav .pill { display: none; } }

.foot.page { min-height: 100svh; }
.plat .canyon { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; image-rendering: pixelated; }

/* ---------- document pages: the front page's language ---------- */
.docbody { background: #E7E9F1; color: #1B1B1F; min-height: 100svh; display: flex; flex-direction: column; }
#ground { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; pointer-events: none; }
.docbody a { color: #1B1B1F; }
.docnav { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; padding-bottom: 30px; }
.docnav .mark { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; color: #1B1B1F; }
.docnav .back { display: inline-flex; align-items: center; height: 34px; padding: 0 15px; border: 1px solid #2E2E34; border-radius: 999px; background: rgba(255,255,255,0.35); font-family: "Roboto Mono", Menlo, monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #1B1B1F; }
.docnav .back:hover { background: rgba(255,255,255,0.7); color: #000; }
.doc { flex: 1; width: 100%; max-width: 660px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) clamp(20px, 4.4vw, 24px) 88px; }
.doc h1 { margin: 12px 0 24px; font-size: clamp(31px, 4.6vw, 46px); font-weight: 600; line-height: 1.06; letter-spacing: -0.028em; text-wrap: balance; }
.doc h2 { margin: 44px 0 14px; font-size: 17px; font-weight: 600; }
.doc .eyebrow { color: #4A4A52; }
.doc p { margin: 0 0 20px; font-size: 16px; line-height: 1.62; color: #2A2A30; }
.doc p.lede { font-size: 20px; line-height: 1.5; color: #1B1B1F; margin-bottom: 26px; }
.doc a { color: #1B1B1F; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc a:hover { color: #000; }
.doc a.ext::after, .docbody a.ext::after { content: "\2197"; display: inline-block; margin-left: 4px; font-size: 0.82em; opacity: 0.5; }
.doc .facts { margin: 30px 0; border-top: 1px solid rgba(40,40,50,0.28); }
.doc .facts .row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(40,40,50,0.18); }
.doc .facts dt { font-family: "Roboto Mono", Menlo, monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #55545E; padding-top: 3px; }
.doc .facts dd { margin: 0; font-size: 16px; line-height: 1.5; }
@media (max-width: 620px) { .doc .facts .row { grid-template-columns: 1fr; gap: 5px; } }
.doc .cta { margin-top: 32px; }
.doc .cta a { display: inline-flex; align-items: center; height: 50px; padding: 0 26px; border-radius: 999px; background: #1E1E22; color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; box-shadow: 0 2px 10px rgba(0,0,0,0.18); }
.doc .cta a:hover { background: #000; color: #fff; }
.doc .cta a.ext::after { color: #fff; opacity: 0.7; }
.worklist, .sitemap { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid rgba(40,40,50,0.28); }
.worklist li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid rgba(40,40,50,0.18); text-decoration: none; }
.worklist li a:hover .n { text-decoration: underline; text-underline-offset: 3px; }
.worklist .n { font-size: 17px; font-weight: 600; }
.worklist .t { font-family: "Roboto Mono", Menlo, monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #55545E; align-self: center; }
.worklist .d { grid-column: 1 / -1; font-size: 15px; line-height: 1.5; color: #2A2A30; }
.sitemap li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(40,40,50,0.18); font-size: 16px; }
.sitemap li a { text-decoration: none; }
.sitemap li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sitemap .u { font-family: "Roboto Mono", Menlo, monospace; font-size: 12px; color: #55545E; }
.docfoot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; width: 100%; max-width: 660px; margin: 0 auto; padding: 22px clamp(20px, 4.4vw, 24px) 30px; border-top: 1px solid rgba(40,40,50,0.28); font-family: "Roboto Mono", Menlo, monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.docfoot a { color: #55545E; text-decoration: none; }
.docfoot a:hover { color: #1B1B1F; }
.footland { position: relative; height: clamp(180px, 26vw, 300px); overflow: hidden; }
.footland canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; image-rendering: pixelated; }

/* ---------- product desktops: the real apps, on this site's landscape ----------
   A desk is a Mac screen measured in points, 1440 x 900 unless --pw and --ph say otherwise.
   --u is one point at the desk's current width, so windows, glass and menu bar text keep
   their real proportions at any size. The captures are real; the glass behind the native
   panels is CSS standing in for the window server's blur. */
.wide { --sw: min(1180px, calc(100vw - 32px)); width: var(--sw); margin-left: calc((100% - var(--sw)) / 2); }
.wide.narrow { --sw: min(900px, calc(100vw - 32px)); }
.shot { margin-top: 40px; margin-bottom: 44px; margin-right: 0; container-type: inline-size; }
.desk { --pw: 1440; --ph: 900; --u: calc(100cqw / var(--pw)); position: relative; aspect-ratio: var(--pw) / var(--ph); overflow: hidden; border-radius: calc(20 * var(--u)); background: #DCE3F0; isolation: isolate; box-shadow: 0 0 0 1px rgba(40,40,50,0.14), 0 40px 90px -34px rgba(52,34,86,0.5), 0 14px 30px -14px rgba(52,34,86,0.25); }
.desk .wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; image-rendering: pixelated; }
.desk .bar { position: absolute; inset: 0 0 auto; z-index: 5; height: calc(24 * var(--u)); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(16 * var(--u)) 0 calc(22 * var(--u)); font: 500 calc(13 * var(--u)) / 1 -apple-system, BlinkMacSystemFont, Inter, sans-serif; color: #1B1B1F; white-space: nowrap; }
.desk .bar b { font-weight: 700; }
.desk .bar .tray { display: flex; align-items: center; gap: calc(18 * var(--u)); }
.desk .bar img { display: block; height: calc(17 * var(--u)); width: auto; }
.desk .win, .desk .glass, .desk .cam { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); }
.desk .win { --k: calc(var(--w) / 1440); border-radius: calc(12 * var(--u)); overflow: hidden; background: #fff; box-shadow: 0 0 0 calc(0.5 * var(--u)) rgba(0,0,0,0.3), 0 calc(26 * var(--u)) calc(70 * var(--u)) rgba(40,24,70,0.42), 0 calc(3 * var(--u)) calc(12 * var(--u)) rgba(40,24,70,0.16); }
.desk .win img { display: block; width: 100%; height: auto; }
/* A window the desk is not about: out of focus and in shadow, so the panel in front carries the shot. */
.desk .win.back { filter: blur(calc(3.5 * var(--u))) brightness(0.58) saturate(0.8); }
.desk .lights { position: absolute; left: calc(16 * var(--k) * var(--u)); top: calc(18 * var(--k) * var(--u)); display: flex; gap: calc(8 * var(--k) * var(--u)); }
.desk .lights i { width: calc(12 * var(--k) * var(--u)); aspect-ratio: 1; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 calc(0.5 * var(--u)) rgba(0,0,0,0.16); }
.desk .lights i:nth-child(2) { background: #FEBC2E; }
.desk .lights i:nth-child(3) { background: #28C840; }
.desk .glass { z-index: 7; height: calc(var(--h) * var(--u)); border-radius: calc(var(--r, 12) * var(--u)); overflow: hidden; background: rgba(246,246,248,0.74); -webkit-backdrop-filter: blur(calc(26 * var(--u))) saturate(1.9); backdrop-filter: blur(calc(26 * var(--u))) saturate(1.9); box-shadow: inset 0 0 0 calc(0.5 * var(--u)) rgba(255,255,255,0.55), 0 0 0 calc(0.5 * var(--u)) rgba(0,0,0,0.22), 0 calc(24 * var(--u)) calc(64 * var(--u)) rgba(40,24,70,0.38); }
.desk .glass.dark { background: rgba(36,34,40,0.66); box-shadow: inset 0 0 0 calc(0.5 * var(--u)) rgba(255,255,255,0.16), 0 0 0 calc(0.5 * var(--u)) rgba(0,0,0,0.5), 0 calc(16 * var(--u)) calc(44 * var(--u)) rgba(20,12,40,0.42); }
.desk .glass img { position: absolute; inset: 0; width: 100%; height: 100%; }
.desk .glass img:not(.on) { visibility: hidden; }
/* ScreenBit's camera window, to the values in CameraPiP.swift: 12 point corners, a 1 point border at 22% white, black behind the picture. */
.desk .cam { z-index: 6; height: calc(var(--h) * var(--u)); border-radius: calc(12 * var(--u)); overflow: hidden; background: #000; box-shadow: 0 0 0 calc(0.5 * var(--u)) rgba(0,0,0,0.4), 0 calc(14 * var(--u)) calc(40 * var(--u)) rgba(20,12,40,0.45); }
.desk .cam canvas { display: block; width: 100%; height: 100%; }
.desk .cam::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(255,255,255,0.22); }
.desk .layer { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; }
.desk .hud-time { position: absolute; left: calc(30 * var(--u)); top: calc(12 * var(--u)); font: 500 calc(13 * var(--u)) / calc(16 * var(--u)) -apple-system, BlinkMacSystemFont, Inter, sans-serif; font-variant-numeric: tabular-nums; color: rgba(255,255,255,0.9); }
.desk .sel, .desk .rec { transition: opacity 0.35s ease; }
.desk[data-phase="record"] .sel, .desk[data-phase="select"] .rec { opacity: 0; }
.desk[data-phase="record"] .bar .sel, .desk[data-phase="select"] .bar .rec { display: none; }
.shot figcaption { margin-top: 16px; font-family: "Roboto Mono", Menlo, monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.6; color: #55545E; text-align: center; text-wrap: balance; }
/* Scrolling in, a desk tips up from the page and settles flat. Browsers without scroll timelines show it flat. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .shot .desk { transform-origin: 50% 100%; animation: desk-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
  }
}
@keyframes desk-rise { from { transform: perspective(1800px) rotateX(16deg) translateY(36px) scale(0.95); } to { transform: none; } }
.tiles { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 16px; margin-top: 36px; margin-bottom: 40px; }
.tile { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 18px; border-radius: 18px; background: rgba(255,255,255,0.55); box-shadow: 0 0 0 1px rgba(40,40,50,0.12), 0 22px 44px -30px rgba(52,34,86,0.45); }
.tile.tall { grid-column: 2; grid-row: 1 / span 3; }
.tile img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px rgba(40,40,50,0.1); background: #fff; }
.tile img.bare { border-radius: 0; box-shadow: none; background: none; filter: drop-shadow(0 12px 22px rgba(40,24,70,0.16)); }
/* The tall tile's picture adds no height of its own: the left column sets the rows and it fills them from the top. */
.tile.tall img { flex: 1 1 0; height: 0; min-height: 0; object-fit: cover; object-position: top; }
.tile figcaption { font-size: 14px; line-height: 1.5; color: #2A2A30; }
.tile figcaption .eyebrow { display: block; margin-bottom: 5px; color: #4A4A52; }
@media (max-width: 760px) { .tiles { grid-template-columns: minmax(0, 1fr); } .tile.tall { grid-column: auto; grid-row: auto; } .tile.tall img { flex: none; height: 520px; } }

/* ---------- cv ---------- */
.cv { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid rgba(40,40,50,0.28); }
.cv li { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(40,40,50,0.18); }
.cv .when { margin: 3px 0 0; font-family: "Roboto Mono", Menlo, monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #55545E; }
.cv .role { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.cv .co { margin: 3px 0 0; font-size: 15px; color: #55545E; }
.cv .co .meta::before { content: " · "; }
.cv .co .meta { color: #55545E; }
.cv .note { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: #2A2A30; }
@media (max-width: 620px) { .cv li { grid-template-columns: 1fr; gap: 6px; } .cv .when { order: -1; } }
