/* SIZES
   Desktop: every number is a Figma px from the 1728px frame × --u.
   --u = screen width / 1728 (max 1). It is set once from the SCREEN, not the window, so
   resizing the browser never changes text size.
   Phone (≤760px): its own simple layout in real px.
   --fu = 1 Figma px inside the intro / footer frames (= --u on desktop). */
:root {
  --u: 1px; --fu: 1px; --m: var(--u);
  --bg: #fff; --fg: #000;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --helv: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }   /* stop iPhone from enlarging text */
body { background: var(--bg); color: var(--fg); font-family: var(--font); line-height: normal; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
::selection { background: #f05a50; color: #fff; }
a { color: inherit; text-decoration: none; }
:focus { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 8px; }
img, video { display: block; }
.u { text-decoration: underline; text-decoration-thickness: from-font; text-underline-position: from-font; text-decoration-skip-ink: none; }
.wrap { width: calc(1728 * var(--u)); max-width: 100%; margin: 0 auto; position: relative; }

/* ---------- Header ---------- */
.top { height: calc(111 * var(--u)); position: relative; z-index: 2; }
.logo { position: absolute; left: calc(24 * var(--u)); top: calc(25 * var(--u)); font-family: var(--emoji); font-size: calc(36 * var(--u)); line-height: 1; letter-spacing: 0; cursor: pointer; }
.nav { position: absolute; right: calc(24 * var(--u)); top: calc(32 * var(--u)); font-size: calc(24 * var(--u)); line-height: normal; }
.nav a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 100% 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.nav a:hover { background-size: 100% 1px; background-position: 0 100%; }
.back { position: fixed; z-index: 20; left: calc(84 * var(--u)); top: calc(50 * var(--u)); width: calc(50.65 * var(--u)); height: calc(45.75 * var(--u)); display: block; transition: transform .3s var(--ease); }
.back img { width: 100%; height: 100%; }
.back:hover { transform: translateX(calc(-4 * var(--u))); }

/* ---------- Sky frames (intro + footer) ---------- */
.row { padding: calc(30 * var(--u)) calc(69 * var(--u)); }
.frame { position: relative; width: calc(1590 * var(--u)); margin: 0 auto; border-radius: calc(50 * var(--u)); overflow: hidden; isolation: isolate;
         background: linear-gradient(134deg, #3d6aa8, #92b8d1 52%, #f0d9bf); /* shows only if WebGL is off */ }
.frame canvas.sky { position: absolute; left: 0; top: 0; width: 100%; height: calc(680 * var(--fu)); border-radius: calc(30 * var(--fu)); display: block; }
.frame canvas.no-gl { display: none; }
.frame canvas.wx-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.intro { height: calc(680 * var(--u)); color: #fff; touch-action: pan-y; }
.intro-text, .intro-wx { text-shadow: 0 0 calc(24 * var(--fu)) rgba(40, 60, 90, .18); }
.intro-text { position: absolute; z-index: 3; left: calc(58 * var(--fu)); top: calc(56 * var(--fu)); width: calc(642 * var(--fu)); margin: 0;
              font-family: var(--helv); font-size: calc(30 * var(--fu)); line-height: calc(38 * var(--fu)); }
.intro-text a { text-decoration: underline; text-decoration-thickness: from-font; text-underline-position: from-font; text-decoration-skip-ink: none; }
.intro-text a:hover { text-decoration-thickness: 2px; }
.intro-wx { position: absolute; z-index: 3; pointer-events: none; left: calc(58 * var(--fu)); top: calc(588 * var(--fu)); margin: 0; white-space: nowrap;
            font-family: var(--helv); font-size: calc(30 * var(--fu)); line-height: calc(38 * var(--fu)); font-variant-numeric: tabular-nums; }
.yurt { position: absolute; z-index: 2; left: 0; top: 0; width: calc(290.42 * var(--fu)); height: calc(245.65 * var(--fu)); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform; }
.yurt.held { cursor: grabbing; }
.yurt img { pointer-events: none; -webkit-user-drag: none; }
.yurt img { position: absolute; left: 50%; top: 50%; width: calc(263 * var(--fu)); height: calc(214 * var(--fu)); transform-origin: 50% 92%;
            transform: translate(-50%, -50%) rotate(-7.33deg); animation: sway 4.2s ease-in-out infinite alternate; }
@keyframes sway { from { transform: translate(-50%, -50%) rotate(-9.3deg); } to { transform: translate(-50%, -50%) rotate(-5.4deg); } }

/* the 2D apple (431×431 Figma box) */
.apple { position: absolute; left: 0; top: 0; width: calc(431 * var(--fu)); height: calc(431 * var(--fu)); user-select: none; -webkit-user-select: none; }
.apple-img, .apple-face { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; -webkit-user-drag: none; }
.apple .st-blink, .apple .st-drag { display: none; }
.apple[data-eyes="blink"] .st-open, .apple[data-eyes="drag"] .st-open { display: none; }
.apple[data-eyes="blink"] .st-blink, .apple[data-eyes="drag"] .st-drag { display: inline; }
.intro .apple { z-index: 1; cursor: grab; touch-action: none; will-change: transform; }
.intro .apple.held { cursor: grabbing; }

/* footer */
.foot { height: calc(354 * var(--u)); color: #fff; }
.foot .apple { left: calc(75 * var(--fu)); top: calc(26 * var(--fu)); transform: scale(1.30772); transform-origin: 0 0; }
.foot h2 { position: absolute; z-index: 2; left: calc(1002 * var(--fu)); top: calc(73 * var(--fu)); text-align: right; width: calc(532 * var(--fu)); margin: 0;
           font-family: var(--helv); font-weight: 400; font-size: calc(80 * var(--fu)); line-height: calc(38 * var(--fu)); padding-top: calc(0 * var(--fu)); white-space: nowrap; }
.foot-links { position: absolute; z-index: 2; left: calc(972 * var(--fu)); top: calc(277 * var(--fu)); display: flex; gap: calc(48 * var(--fu));
              font-family: var(--helv); font-size: calc(30 * var(--fu)); line-height: calc(38 * var(--fu)); white-space: nowrap; }
.foot-links a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 100% 100%; background-repeat: no-repeat; transition: background-size .35s var(--ease); }
.foot-links a:hover { background-size: 100% 2px; background-position: 0 100%; }
.foot-row { padding: calc(30 * var(--u)) calc(69 * var(--u)); }


/* ---------- Home top: sky fading into the page + intro + apple (Figma "new" Homepage) ---------- */
.home { position: relative; }
.hero-sky { position: absolute; left: 0; top: 0; width: 100%; height: calc(568 * var(--u)); z-index: 0; pointer-events: none;
            background: linear-gradient(#5d79a8, #fff);   /* shows only if WebGL is off */
            -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .9) 30%, rgba(0, 0, 0, .45) 65%, transparent 100%);
                    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .9) 30%, rgba(0, 0, 0, .45) 65%, transparent 100%); }
.hero-sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-sky canvas.no-gl { display: none; }
.hero { position: relative; z-index: 1; width: calc(1634.8 * var(--u)); height: calc(588.8 * var(--u)); margin: 0 auto; }
.hero-text { position: absolute; z-index: 2; left: 0; top: calc(284.8 * var(--fu)); width: calc(1046 * var(--fu)); display: flex; flex-direction: column; gap: calc(34 * var(--fu)); }
.hero .intro-text { position: static; width: calc(980 * var(--fu)); margin: 0; color: #000; text-shadow: none; font-family: var(--helv); font-size: calc(35 * var(--fu)); line-height: normal; }
.hero .intro-wx { position: static; margin: 0; color: #000; text-shadow: none; font-family: var(--helv); font-size: calc(30 * var(--fu)); line-height: calc(38 * var(--fu)); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hero .apple { z-index: 1; cursor: grab; touch-action: none; }
.hero .apple.held { cursor: grabbing; }
.hero-text { pointer-events: none; }   /* the apple can be grabbed even when it is behind the text */
.hero-text a { pointer-events: auto; }
@media (max-width: 760px) {
  .hero-sky { height: calc(430 * var(--p)); }
  .hero { width: 100%; height: auto; padding-top: calc(250 * var(--p)); }
  .hero-text { position: relative; top: 0; width: 100%; gap: calc(14 * var(--p)); }
  .hero .intro-text { width: 100%; font-size: calc(20 * var(--p)); text-align: left; }
  .hero .intro-wx { font-size: calc(15 * var(--p)); line-height: normal; white-space: normal; text-align: left; }
  .ph-top { position: relative; z-index: 2; }
}

/* the 4 apples hop one after another on hover (from the old site) */
.logo, .ph-logo { display: inline-flex; }
.logo > span, .ph-logo > span { display: inline-block; transition: transform .45s var(--ease); }
.logo:hover > span, .ph-logo:hover > span { transform: translateY(-20%) rotate(-8deg); }
.logo:hover > span:nth-child(2), .ph-logo:hover > span:nth-child(2) { transition-delay: .04s; }
.logo:hover > span:nth-child(3), .ph-logo:hover > span:nth-child(3) { transition-delay: .08s; }
.logo:hover > span:nth-child(4), .ph-logo:hover > span:nth-child(4) { transition-delay: .12s; }

/* ---------- Playground (3 columns of work, picture + caption) ---------- */
.nav { display: flex; gap: calc(40 * var(--u)); }
.nav a[aria-current] { text-decoration: underline; text-underline-position: from-font; }
.pg-cols { display: flex; justify-content: center; align-items: flex-start; gap: calc(59 * var(--u)); padding: calc(12 * var(--u)) 0 calc(60 * var(--u)); }
.pg-col { width: calc(512 * var(--u)); display: flex; flex-direction: column; gap: calc(30 * var(--u)); }
.pg-item { display: flex; flex-direction: column; gap: calc(12 * var(--u)); }
.pg-m { position: relative; width: 100%; overflow: hidden; }
.pg-m > .fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
a.pg-item .pg-m > .fill { transition: transform .5s var(--ease); }
a.pg-item:hover .pg-m > .fill { transform: scale(1.03); }
.pg-cap { font-size: calc(16 * var(--u)); line-height: 1.3; color: rgba(0, 0, 0, .45); }
a.pg-item:hover .pg-cap { color: #000; }
@media (max-width: 760px) {
  .ph-navs { display: flex; gap: calc(16 * var(--p)); }
  .pg-list { display: flex; flex-direction: column; gap: calc(24 * var(--p)); }
  .pg-item { gap: calc(8 * var(--p)); }
  .pg-cap { font-size: calc(13 * var(--p)); }
}

/* ---------- Project cards ---------- */
.cards { display: flex; justify-content: center; gap: calc(70 * var(--u)); padding: calc(30 * var(--u)) 0; margin-top: calc(30 * var(--u)); }
.card { position: relative; flex: none; width: calc(769 * var(--u)); height: calc(680 * var(--u)); padding: 0; border: 1px solid #858585; border-radius: calc(50 * var(--u));
        overflow: hidden; background: #fff; cursor: pointer; display: block; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.card.nostroke { border: 0; }
.back .b-ph { display: none; }
.card .m { position: absolute; max-width: none; transform-origin: 0 0; transition: transform .6s var(--ease); will-change: transform; }
.card:hover .m, .card:focus-visible .m { transform: var(--hv); }
.card video.m, .card img.m.mul { mix-blend-mode: multiply; }   /* off-white video edges melt into the white card */
.card .m.cover { object-fit: cover; }
.card .t { position: absolute; z-index: 2; left: 0; right: 0; text-align: center; font-size: calc(24 * var(--u)); line-height: normal; top: -8%; transition: top .55s var(--ease); pointer-events: none; }
.card.light .t { color: #fff; }   /* same size and spot as the other titles, just white */
.card:hover .t, .card:focus-visible .t { top: var(--tt, 5.44%); }
.trail { height: calc(20 * var(--u)); }

/* ---------- Case study + About (column of 995, centred) ---------- */
.cs { padding-top: calc(146 * var(--u)); }
.col { width: calc(995 * var(--u)); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: calc(50 * var(--u)); }
.col.start { align-items: flex-start; }
.cs-head { width: calc(995 * var(--u)); margin: 0 auto calc(53 * var(--u)); display: flex; flex-direction: column; gap: calc(14 * var(--u)); }
.cs-head h1 { margin: 0; font-weight: 400; font-size: calc(32 * var(--u)); line-height: normal; }
.cs-head p { margin: 0; font-size: calc(20 * var(--u)); color: rgba(0, 0, 0, .8); }
.txt { width: 100%; margin: 0; font-size: calc(24 * var(--u)); line-height: normal; }
.txt p { margin: 0; }
.txt p + p { margin-top: 1.21em; }   /* the empty line between paragraphs in Figma */
.txt a { text-decoration: underline; text-decoration-thickness: from-font; text-underline-position: from-font; text-decoration-skip-ink: none; }
.show { display: flex; flex-direction: column; align-items: center; flex: none; }
.caps { display: flex; align-items: center; width: calc(811 * var(--u)); font-size: calc(20 * var(--u)); line-height: normal; white-space: nowrap; }
.mrow { display: flex; align-items: flex-start; justify-content: center; flex: none; }
.mi { position: relative; flex: none; overflow: hidden; cursor: zoom-in; }
.mi > img, .mi > video { position: absolute; max-width: none; }
.mi > .fill { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-end { height: calc(44 * var(--u)); width: 100%; flex: none; }
.cs .foot-row, .ab .foot-row { margin-top: calc(53 * var(--u)); padding-bottom: calc(30 * var(--u)); }

.ab { padding-top: 0; }
.ab > .col { margin-top: calc(35 * var(--u)); }   /* menu (111) + 35 = 146, like Figma */
.ab .col { width: calc(914 * var(--u)); gap: calc(53 * var(--u)); }
.ab-photo { width: calc(914 * var(--u)); height: calc(609 * var(--u)); border-radius: calc(40 * var(--u)); overflow: hidden; position: relative; flex: none; }
.ab-photo img { position: absolute; width: 115.31%; height: 115.33%; left: -7.61%; top: -15.41%; max-width: none; }
.exp { width: 100%; padding: calc(10 * var(--u)); display: flex; flex-direction: column; gap: calc(30 * var(--u)); }
.exp h2 { margin: 0; font-weight: 500; font-size: calc(32 * var(--u)); line-height: normal; }
.exp-list { display: flex; flex-direction: column; gap: calc(40 * var(--u)); }
.job { display: flex; flex-direction: column; gap: calc(20 * var(--u)); }
.job h3 { margin: 0; font-weight: 400; font-size: calc(26 * var(--u)); line-height: normal; }
.job p { margin: 0; font-size: calc(24 * var(--u)); line-height: 1.292; }
.job .when { font-size: calc(20 * var(--u)); }
.job a { text-decoration: underline; text-decoration-thickness: from-font; text-underline-position: from-font; }
.ab-end { height: 0; }

/* ---------- Picture viewer ---------- */
.zoom { position: fixed; inset: 0; z-index: 30; background: #fff; overflow: hidden; opacity: 0; transition: opacity .25s var(--ease); touch-action: none; cursor: zoom-in; }
.zoom.open { opacity: 1; }
.zoom.zoomed { cursor: grab; }
.zoom.dragging { cursor: grabbing; }
.zoom img, .zoom video { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; will-change: transform; }
.zoom-close { position: absolute; z-index: 1; top: 28px; left: 28px; width: 20px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; }
.zoom-close img { width: 100%; height: 100%; }
.zoom-hint { position: absolute; z-index: 1; top: 28px; right: 28px; font-size: 14px; color: rgba(0, 0, 0, .4); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Phone (Figma "Phone-…" frames, 393 wide; 1 phone px = --p) ---------- */
@media (max-width: 760px) {
  .ph { padding: calc(21 * var(--p)) calc(19 * var(--p)) calc(19 * var(--p)); width: calc(393 * var(--p)); max-width: 100%; margin: 0 auto; }
  .ph-top { display: flex; justify-content: space-between; align-items: center; height: calc(29 * var(--p)); margin-bottom: calc(27 * var(--p)); }
  .ph-logo { font-family: var(--emoji); font-size: calc(19.2 * var(--p)); line-height: 1; }   /* 4 apples = 96 px wide, like Figma */
  .ph-nav { font-size: calc(20 * var(--p)); }
  .ph-col { display: flex; flex-direction: column; gap: calc(32 * var(--p)); width: calc(354 * var(--p)); }
  .ph-stack { display: flex; flex-direction: column; align-items: center; }
  .ph-stack > .ph-txt, .ph-stack > .ph-head, .ph-stack > .ph-exp { align-self: stretch; }
  .ph-fig { display: flex; flex-direction: column; align-items: center; gap: calc(10 * var(--p)); }
  .ph-cap { font-size: calc(14 * var(--p)); }
  .ph-txt { font-size: calc(14 * var(--p)); line-height: normal; }
  .ph-txt p { margin: 0; } .ph-txt p + p { margin-top: 1.2em; }
  .ph-txt a { text-decoration: underline; text-underline-position: from-font; }
  .mi > .fill.contain { object-fit: contain; }
  .ph-cs { padding-top: calc(77 * var(--p)); }
  .ph-head { display: flex; flex-direction: column; gap: calc(4 * var(--p)); }
  .ph-head h1 { margin: 0; font-weight: 400; font-size: calc(22 * var(--p)); }
  .ph-head p { margin: 0; font-size: calc(12 * var(--p)); color: rgba(0, 0, 0, .8); }
  .back { left: calc(19 * var(--p)); top: calc(19 * var(--p)); width: calc(44 * var(--p)); height: calc(40 * var(--p)); }
  .back .b-desk { display: none; } .back .b-ph { display: block; }
  .back:hover { transform: none; }
  .ph-exp { padding: calc(10 * var(--p)) 0; display: flex; flex-direction: column; gap: calc(30 * var(--p)); }
  .ph-exp h2 { margin: 0; font-weight: 500; font-size: calc(20 * var(--p)); }
  .ph-jobs { display: flex; flex-direction: column; gap: calc(40 * var(--p)); }
  .ph-jobs .job { gap: calc(20 * var(--p)); }
  .ph-jobs .job h3 { font-size: calc(20 * var(--p)); }
  .ph-jobs .job p { font-size: calc(14 * var(--p)); line-height: 1.292; }
  .ph-jobs .job .when { font-size: calc(14 * var(--p)); }
  .ph-photo img { position: absolute; max-width: none; }

  /* cards */
  .ph-card { position: relative; display: block; flex: none; border: calc(3 * var(--p)) solid #e1e1e1; border-radius: calc(20 * var(--p)); overflow: hidden; background: #fff; isolation: isolate; }
  .ph-card.nostroke { border: 0; }
  .ph-card-m { position: absolute; overflow: hidden; }
  .ph-card-m > img, .ph-card-m > video { position: absolute; max-width: none; }
  .ph-card-m > .fill { inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .ph-card-m > .fill.contain { object-fit: contain; }
  .ph-card-m > video, .ph-card-m > img[src*="pp-card"], .ph-card-m > img[src*="ati-card"] { mix-blend-mode: multiply; }
  .ph-card-t { position: absolute; left: 0; right: 0; height: calc(40 * var(--p)); text-align: center; font-size: calc(18 * var(--p)); }
  .ph-card.light .ph-card-t { color: #fff; }

  /* intro + footer frames (354 × 423, radius 20) */
  .frame { width: 100%; border-radius: calc(20 * var(--p)); }
  .frame canvas.sky { height: calc(441 * var(--p)); border-radius: 0; }   /* the frame's own 20 px corners clip it */
  .intro { height: calc(380 * var(--p)); }
  .foot { height: calc(423 * var(--p)); }
  .intro-text { left: calc(15 * var(--p)); top: calc(39 * var(--p)); width: calc(324 * var(--p)); font-size: calc(15 * var(--p)); line-height: normal; text-align: center; }
  .intro-wx { left: calc(15 * var(--p)); top: calc(97 * var(--p)); width: calc(324 * var(--p)); font-size: calc(15 * var(--p)); line-height: normal; text-align: center; white-space: normal; }
  .yurt { display: none; }
  .foot h2 { left: calc(15 * var(--p)); top: calc(39 * var(--p)); width: calc(324 * var(--p)); font-size: calc(50 * var(--p)); line-height: calc(38 * var(--p)); text-align: center; }
  .foot-links { left: calc(34 * var(--p)); top: calc(97 * var(--p)); flex-direction: column; align-items: flex-start; gap: calc(8 * var(--p)); font-size: calc(20 * var(--p)); line-height: calc(38 * var(--p)); }
  .foot .apple { left: calc(80.6 * var(--fu)); top: calc(614.4 * var(--fu)); transform: scale(1.5732); }
  .foot-row { padding: 0; }
  .zoom-hint { display: none; }
}
.cards + .foot-row { margin-top: calc(30 * var(--u)); }
@media (max-width: 760px) { .cards + .foot-row { margin-top: 0; } }

/* ===== Nov 16 Figma update ===== */
/* header (all pages) */
.logo { left: calc(47 * var(--u)); top: calc(42 * var(--u)); }
.nav { right: calc(47 * var(--u)); top: calc(50 * var(--u)); font-family: var(--helv); font-size: calc(24 * var(--u)); }

/* hero: weather top-left in white, intro + live line lower down */
.hero .intro-wx { position: absolute; z-index: 3; left: calc(0.4 * var(--fu)); top: calc(7 * var(--fu)); color: #fff; font-size: calc(24 * var(--fu)); line-height: normal; }
.hero-text { top: calc(396.8 * var(--fu)); width: calc(655 * var(--fu)); display: block; }
.hero .intro-text { width: calc(655 * var(--fu)); font-size: calc(24 * var(--fu)); }
.intro-now { position: absolute; left: 0; top: calc(76 * var(--fu)); margin: 0; display: flex; align-items: center; gap: calc(10 * var(--fu)); white-space: nowrap;
  color: #ff0006; font-family: var(--helv); font-size: calc(20 * var(--fu)); line-height: normal; }
.live-dot { position: relative; flex: none; width: calc(19 * var(--fu)); height: calc(19 * var(--fu)); }
.live-dot::before, .live-dot::after { content: ""; position: absolute; border-radius: 50%; background: #ff0006; }
.live-dot::after { inset: calc(3 * var(--fu)); }
.live-dot::before { inset: 0; opacity: .3; animation: livePulse 1.6s ease-out infinite; }
@keyframes livePulse { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(1.5); opacity: 0; } }

/* home cards: one row of two 819×740 cards, rising 56 into the hero */
.cards { position: relative; z-index: 2; gap: calc(30 * var(--u)); padding: 0 calc(30 * var(--u)); margin-top: calc(-56 * var(--u)); }
.card { width: calc(819 * var(--u)); height: calc(740 * var(--u)); background: #fff; }
.card:hover .t, .card:focus-visible .t { top: var(--tt, 5%); }

/* case pages v2 (Orderly, PowerPoints) */
.cs.v2 .cs-head { width: calc(var(--hw) * var(--u)); margin-bottom: calc(var(--hg) * var(--u)); }
.cs.v2 .col { width: calc(var(--cw) * var(--u)); }
.cs.v2 .txt { width: calc(762 * var(--u)); font-family: var(--helv); }
.cs.v2.or .col { width: auto; }
.cs.v2.or .cs-head { gap: calc(10 * var(--u)); }
.cs.v2.or .cs-head h1 { font-family: var(--helv); font-weight: 700; font-size: calc(30 * var(--u)); }
.cs.v2.or .cs-head p { font-family: var(--helv); color: #000; }
.cs.v2.or .foot-row { margin-top: calc(40 * var(--u)); }
.cs.v2.pp .foot-row { margin-top: calc(53 * var(--u)); }

/* playground */
.pg-cap { color: #000; }

/* about */
.ab .col { width: calc(872 * var(--u)); gap: calc(50 * var(--u)); }
.ab-photo { align-self: center; }
.ab .txt { width: calc(762 * var(--u)); font-family: var(--helv); align-self: center; }
.exp { padding: calc(10 * var(--u)) 0; gap: calc(40 * var(--u)); font-family: var(--helv); }
.exp h2 { font-weight: 700; font-size: calc(32 * var(--u)); }
.job { gap: calc(30 * var(--u)); }
.job .jh { display: flex; flex-direction: column; gap: calc(20 * var(--u)); }
.exp-list .job:first-child .jh { gap: calc(15 * var(--u)); }
.job h3 { font-size: calc(28 * var(--u)); }
.ab .foot-row { margin-top: calc(50 * var(--u)); }

@media (max-width: 760px) {
  .hero .intro-wx { position: absolute; left: 0; top: calc(12 * var(--p)); font-size: calc(15 * var(--p)); white-space: normal; }
  .hero-text { position: relative; top: 0; width: 100%; display: flex; flex-direction: column; gap: calc(14 * var(--p)); }
  .hero .intro-text { width: 100%; font-size: calc(20 * var(--p)); }
  .intro-now { position: static; white-space: normal; font-size: calc(15 * var(--p)); gap: calc(8 * var(--p)); }
  .live-dot { width: calc(15 * var(--p)); height: calc(15 * var(--p)); }
  .live-dot::after { inset: calc(2.5 * var(--p)); }
  .cards { margin-top: 0; }
  .ph-jobs .jh { display: flex; flex-direction: column; gap: calc(10 * var(--p)); }
}

/* "drag me" note under the apple — goes away once the apple is touched */
.apple-hint { position: absolute; z-index: 1; left: 0; top: 0; margin: 0; pointer-events: none; white-space: nowrap;
  font-family: var(--helv); font-size: calc(20 * var(--fu)); line-height: normal; color: rgba(0, 0, 0, .55); transition: opacity .4s var(--ease); }
.apple-hint.gone { opacity: 0; }
@media (max-width: 760px) { .apple-hint { font-size: calc(30 * var(--fu)); } }
