/* Blaketrix v2: cool paper, navy ink, one orange. */
:root {
  --bg: #f1f4f6;
  --bg-2: #e0e9f7;
  --card: #ffffff;
  --ink: #01002b;
  --ink-2: #54595f;
  --muted: #a7afbd;
  --sun: #0060ff;
  --sun-2: #5c9bff;
  --sun-soft: rgba(0, 96, 255, .09);
  --pink: #e74989;
  --coral: #ff7474;
  --sky: #e0e9f7;
  --night: #0b1220;
  --snow: #f4f7fb;
  --line: rgba(1, 0, 43, .09);
  --grid: rgba(1, 0, 43, .04);

  --f-display: "Kanit", ui-sans-serif, system-ui, sans-serif;
  --f-serif: "Kanit", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Biryani", ui-sans-serif, system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(1, 0, 43, .04), 0 18px 40px -22px rgba(1, 0, 43, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px;
  font: 300 17px/1.65 var(--f-display);
  overflow-x: hidden; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.01em; font-weight: 600; color: inherit; }
h2 { font-size: clamp(2.1rem, 5vw, 3.9rem); }
h2 em, h1 em { font-family: var(--f-serif); font-weight: 300; font-style: normal; letter-spacing: -.02em; }
h3 { font-size: 1.3rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
::selection { background: var(--sun); color: #fff; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ■ LABEL ■ */
.label { display: inline-flex; align-items: center; gap: 12px; font: 600 .74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .16em; color: var(--sun); margin: 0 0 18px; }
.label::before, .label--both::after { content: ""; width: 8px; height: 8px; background: currentColor; }
.label--light { color: var(--sun-2); }
.sec-head { margin-bottom: clamp(40px, 6vw, 70px); }
.sec-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sec-head h2 em { color: var(--sun); }
.sec-head p.sub { color: var(--ink-2); max-width: 56ch; margin: 18px 0 0; font-size: 1.05rem; }
.sec-head--center p.sub { margin-inline: auto; }
.section { padding-block: clamp(90px, 12vw, 150px); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 .98rem/1 var(--f-display); text-decoration: none;
  padding: 1em 1.5em; border-radius: 99px; border: 1.5px solid var(--ink);
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--sun { background: var(--sun); border-color: var(--sun); color: #fff; box-shadow: 0 12px 28px -12px rgba(0, 96, 255, .55); }
.btn--sun:hover { background: var(--ink); border-color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--sun); border-color: var(--sun); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--snow { background: var(--snow); border-color: var(--snow); color: var(--night); }
.btn--line-snow { color: var(--snow); border-color: rgba(244, 247, 251, .5); background: transparent; }
.btn--line-snow:hover { background: var(--snow); color: var(--night); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--gutter);
  transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(241, 244, 246, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding-block: 10px; box-shadow: 0 1px 0 var(--line); }
.nav--dark:not(.is-scrolled) { color: #ffffff; }
.nav--dark:not(.is-scrolled) .brand__mark { background: #ffffff; color: #01002b; }
.brand { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; text-transform: uppercase; }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 1.1rem; text-transform: none; transform: rotate(-6deg); transition: transform .4s var(--ease); }
.brand__mark i { color: var(--sun); font-style: normal; }
.brand:hover .brand__mark { transform: rotate(6deg); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav__links a { text-decoration: none; font-size: .94rem; font-weight: 600; position: relative; }
.nav__links a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.nav__links a:not(.nav__cta):hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { background: var(--sun); color: #fff; padding: .7em 1.15em; border-radius: 99px; }
.nav__cta:hover { background: var(--ink); }
.nav__social { display: flex; gap: 8px; font: 600 .78rem/1 var(--f-mono); opacity: .8; }
.nav__social a { text-decoration: none; }
.nav__social a:hover { color: var(--sun); }
.nav__social span { opacity: .4; }
.nav__toggle { display: none; }
@media (max-width: 1080px) { .nav__social { display: none; } }
@media (max-width: 880px) {
  .nav__toggle { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); border: 0; cursor: pointer; z-index: 2; }
  .nav__toggle span:not(.sr) { width: 18px; height: 2px; background: #fff; transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav--dark:not(.is-scrolled) .nav__toggle { background: var(--sun); }
  .nav__links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px; background: var(--ink); clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .6s var(--ease); visibility: hidden; }
  .nav__links.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
  .nav__links a { color: #fff; font-size: 1.8rem; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; box-shadow: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__hey { font: 300 clamp(1.3rem, 2.2vw, 1.8rem)/1 var(--f-serif); font-style: italic; color: var(--ink-2); margin: 6px 0 4px; }
.hero__name { font-size: clamp(3.2rem, 9.6vw, 8.8rem); line-height: .86; letter-spacing: -.045em; text-transform: uppercase; margin: 0; }
.hero__name span { color: var(--sun); }
.roles { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font: 600 clamp(.9rem, 1.4vw, 1.05rem)/1.3 var(--f-display); color: var(--sun); }
.roles li + li::before { content: "|"; color: var(--muted); margin: 0 .7em; font-weight: 400; }
.hero__typed { margin: 28px 0 0; font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--ink-2); }
.hero__typed b { color: var(--ink); border-right: 2px solid var(--sun); padding-right: 3px; white-space: nowrap; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.hero__lede { color: var(--ink-2); max-width: 50ch; margin-top: 14px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__ghost { position: absolute; left: -2%; bottom: -4%; z-index: -1; font-weight: 800; font-size: clamp(8rem, 24vw, 22rem); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(1, 0, 43, .07); white-space: nowrap; pointer-events: none; will-change: transform; }
.hero__orb { position: absolute; z-index: -1; right: 8%; top: 16%; width: clamp(240px, 34vw, 480px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #5c9bff, var(--sun) 55%, #0040b0); opacity: .9; will-change: transform; }

/* collage of real screens */
.collage { position: relative; aspect-ratio: 1 / .9; }
.collage .shot { position: absolute; will-change: transform; }
.collage .shot--a { width: 78%; left: 0; top: 4%; rotate: -4deg; }
.collage .shot--b { width: 66%; right: 0; top: 34%; rotate: 3deg; z-index: 2; }
.collage .shot--c { width: 52%; left: 8%; bottom: 0; rotate: -1deg; z-index: 3; }
.sticker { position: absolute; z-index: 4; right: 2%; top: 0; width: 118px; height: 118px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-content: center; text-align: center; font: 600 .66rem/1.25 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; rotate: 10deg; box-shadow: var(--shadow); will-change: transform; }
.sticker b { display: block; font: 800 2rem/1 var(--f-display); letter-spacing: -.03em; color: var(--sun-2); }

/* browser frame used everywhere */
.shot { background: var(--card); border-radius: 12px; box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f5f6f9; border-bottom: 1px solid var(--line); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d7dbe4; flex: none; }
.shot__bar i:nth-child(1) { background: #ff5f57; } .shot__bar i:nth-child(2) { background: #febc2e; } .shot__bar i:nth-child(3) { background: #28c840; }
.shot__bar span { margin-left: 10px; font: 400 .68rem/1 var(--f-mono); color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; flex: 1; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .collage { max-width: 560px; width: 100%; margin: 20px auto 0; }
  .hero__orb { right: -20%; top: 4%; opacity: .45; }
}
@media (max-width: 560px) { .sticker { width: 92px; height: 92px; font-size: .55rem; } .sticker b { font-size: 1.5rem; } .collage .shot { translate: none !important; } }

/* ---------- ticker ---------- */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 16px 0; rotate: -1.2deg; margin: 0 -12px; position: relative; z-index: 2; }
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.7rem); padding: 0 .9em; display: inline-flex; align-items: center; letter-spacing: -.01em; }
.ticker span::after { content: "✳"; color: var(--sun); font-size: .7em; margin-left: 1.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .55); overflow: hidden; }
.svc { padding: 34px 30px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .35s var(--ease), color .35s; }
.svc:nth-child(3n) { border-right: 0; }
.svc:nth-last-child(-n+3) { border-bottom: 0; }
.svc__icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--sun-soft); color: var(--sun); margin-bottom: 24px; transition: background .35s, color .35s, transform .5s var(--ease); }
.svc__icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { margin-bottom: .55em; }
.svc p { color: var(--ink-2); font-size: .97rem; margin-bottom: 18px; transition: color .35s; }
.svc .svc__fit { font-size: .86rem; margin: 0; padding-top: 14px; border-top: 1px dashed var(--line); }
.svc__fit b { font: 600 .7rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--sun); margin-right: .3em; }
.svc:hover { background: var(--ink); color: #fff; }
.svc:hover p { color: rgba(255, 255, 255, .72); }
.svc:hover .svc__icon { background: var(--sun); color: #fff; transform: rotate(-8deg) scale(1.05); }
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc:nth-child(3n) { border-right: 1px solid var(--line); }
  .svc:nth-child(2n) { border-right: 0; }
  .svc:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .svc:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc, .svc:nth-child(3n) { border-right: 0; }
  .svc:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc:last-child { border-bottom: 0; }
}

/* ---------- portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -20px 0 44px; }
.filters button { font: 600 .9rem/1 var(--f-display); color: var(--ink-2); background: var(--card); border: 1px solid var(--line); padding: .75em 1.2em; border-radius: 99px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
.work { display: flex; flex-direction: column; }
.work.is-hidden { display: none; }
.work__frame { display: block; text-decoration: none; border-radius: var(--r); padding: 12px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease); position: relative; }
.work__frame .shot { box-shadow: 0 0 0 1px var(--line); }
.work__frame:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -28px rgba(1, 0, 43, .45); }
.work__frame img { transition: transform .8s var(--ease); }
.work__frame:hover .shot img { transform: scale(1.04); }
.work__peek { position: absolute; inset: 12px; border-radius: 12px; background: rgba(1, 0, 43, .88); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; opacity: 0; transition: opacity .35s var(--ease); z-index: 2; }
.work__peek p { font-size: .92rem; color: rgba(255, 255, 255, .85); margin-bottom: 12px; transform: translateY(10px); transition: transform .45s var(--ease); }
.work__peek span { font: 600 .8rem/1 var(--f-mono); color: var(--sun-2); }
.work__frame:hover .work__peek, .work__frame:focus-visible .work__peek { opacity: 1; }
.work__frame:hover .work__peek p { transform: none; }
.work__cap { margin: 16px 6px 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.work__cap h3 { font-size: 1.25rem; }
.work__cap h3 a { text-decoration: none; }
.work__cap h3 a:hover { color: var(--sun); }
.work__kind { font: 400 .72rem/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 4px 0 0; }
.work__demo { flex: none; font: 600 .76rem/1 var(--f-mono); text-decoration: none; color: var(--sun); border: 1px solid currentColor; border-radius: 99px; padding: .6em .85em; white-space: nowrap; }
.work__demo:hover { background: var(--sun); color: #fff; border-color: var(--sun); }

/* phone mockup for the PWA */
.phone-stage { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #3fa063, #2a7547); position: relative; box-shadow: 0 0 0 1px var(--line); }
.phone-stage::before { content: ""; position: absolute; inset: 12% 8%; border: 2px solid rgba(255, 255, 255, .25); border-radius: 4px; }
.phone-stage::after { content: ""; position: absolute; left: 50%; top: 12%; bottom: 12%; width: 2px; background: rgba(255, 255, 255, .25); }
.phone { position: relative; z-index: 1; width: 34%; aspect-ratio: 390 / 844; border-radius: 22px; padding: 6px; background: #0f1631; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); transform: translateY(14%) rotate(-6deg); transition: transform .6s var(--ease); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; }
.work__frame:hover .phone { transform: translateY(8%) rotate(0); }
.cs-hero .phone-stage .phone { width: 30%; transform: translateY(10%) rotate(-5deg); }

.work--yours .work__frame { height: 100%; background: var(--sun); border-color: var(--sun); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 34px 30px; }
.work--yours .work__frame:hover { background: var(--ink); border-color: var(--ink); }
.work--yours .label { color: #fff; }
.work--yours h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin-bottom: .4em; }
.work--yours p { color: rgba(255, 255, 255, .88); }
.work--yours .go { font-weight: 700; margin: 8px 0 0; }
@media (max-width: 1000px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .works { grid-template-columns: minmax(0, 1fr); } }
@media (hover: none) { .work__peek { display: none; } }

/* ---------- proof band ---------- */
.proof { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; padding-block: clamp(80px, 10vw, 130px); }
.proof__layer { position: absolute; inset: -20% -5%; z-index: -1; display: flex; flex-direction: column; justify-content: space-around; font-weight: 800; font-size: clamp(5rem, 13vw, 12rem); line-height: .85; letter-spacing: -.05em; color: rgba(255, 255, 255, .035); white-space: nowrap; will-change: transform; text-transform: uppercase; }
.proof__layer span:nth-child(even) { align-self: flex-end; }
.proof h2 { max-width: 18ch; margin-bottom: clamp(40px, 6vw, 70px); }
.proof h2 em { color: var(--sun-2); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.stat { padding: 26px 24px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); background: rgba(255, 255, 255, .03); }
.stat dt { font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.04em; }
.stat dt small { color: var(--sun-2); font-size: .6em; }
.stat dd { margin: 12px 0 0; color: rgba(255, 255, 255, .7); font-size: .95rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- games ---------- */
.play { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #0b1220 0%, #16243b 55%, #2b3b5c 100%); color: var(--snow); padding-block: clamp(100px, 12vw, 160px) clamp(170px, 20vw, 260px); }
.play__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.moon { position: absolute; right: 8%; top: 9%; width: clamp(60px, 8vw, 110px); aspect-ratio: 1; border-radius: 50%; background: #fdf3d8; box-shadow: 0 0 80px 20px rgba(253, 243, 216, .16); will-change: transform; }
.sky { position: absolute; left: -5%; width: 110%; bottom: -90px; height: calc(clamp(120px, 22vw, 300px) + 90px); will-change: transform; }
.sky--far path { fill: #233452; }
.sky--mid path { fill: #172338; }
.sky--near { height: clamp(60px, 9vw, 120px); bottom: -2px; z-index: 1; }
.sky--near path { fill: var(--bg); }
.snow { position: absolute; inset: 0; }
.snow i { position: absolute; top: -10px; width: var(--s, 4px); height: var(--s, 4px); border-radius: 50%; background: #fff; opacity: var(--o, .7); left: var(--x, 50%); animation: fall var(--d, 12s) linear var(--delay, 0s) infinite; }
@keyframes fall { to { transform: translate(var(--drift, 30px), 110vh); } }
.play__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.play h2 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
.play__tag { display: block; font: 300 clamp(1.2rem, 2.2vw, 1.8rem)/1.2 var(--f-serif); font-style: italic; color: #9fb4d6; letter-spacing: 0; margin-top: .3em; }
.play__lede { color: #c7d3e6; font-size: 1.05rem; margin-top: 1.4rem; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid rgba(244, 247, 251, .3); padding: .45em .9em; border-radius: 99px; font-size: .88rem; }
.chips li.is-home { background: var(--sun); border-color: var(--sun); }
.play__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.play .shot { rotate: 2deg; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); will-change: transform; }
.play .shot__bar { background: #18233a; border-color: rgba(255, 255, 255, .08); }
.play .shot__bar span { background: #0f1724; color: #9fb4d6; border-color: rgba(255, 255, 255, .08); }
@media (max-width: 900px) { .play__inner { grid-template-columns: minmax(0, 1fr); } .play .shot { translate: none !important; } }

/* ---------- clients ---------- */
.clients-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.client a { display: flex; flex-direction: column; height: 100%; padding: 28px 26px 24px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); transition: transform .35s var(--ease), background .35s, color .35s; }
.client a:hover { transform: translateY(-6px); background: var(--ink); color: #fff; }
.client__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.client__mono { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.client__no { font: 600 .78rem/1 var(--f-mono); color: var(--muted); }
.client:nth-child(1) .client__mono { background: #111; color: #c9a456; }
.client:nth-child(2) .client__mono { background: #2f4a3a; }
.client:nth-child(3) .client__mono { background: #2b4cc4; }
.client:nth-child(4) .client__mono { background: #d9467c; }
.client:nth-child(5) .client__mono { background: #0f6e75; }
.client h3 { margin-bottom: .25em; }
.client__ind { font: 400 .72rem/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--sun); margin-bottom: 14px; }
.client p { font-size: .94rem; color: var(--ink-2); margin-bottom: 18px; transition: color .35s; }
.client a:hover p { color: rgba(255, 255, 255, .72); }
.client__url { margin-top: auto; font: 400 .8rem/1 var(--f-mono); }
.client__url::after { content: " ↗"; color: var(--sun); }
.client--you a { background: transparent; border: 1.5px dashed var(--ink); box-shadow: none; justify-content: center; }
.client--you h3 { font: 300 2rem/1.1 var(--f-serif); font-style: italic; }
@media (max-width: 960px) { .clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .clients-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- numbered cards (process, experience, education) ---------- */
.ncards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .6); overflow: hidden; }
.ncard { padding: 30px 28px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ncard:nth-child(2n) { border-right: 0; }
.ncard:last-child, .ncard:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.ncard__no { display: inline-grid; place-items: center; min-width: 46px; height: 40px; padding: 0 10px; background: var(--sun); color: #fff; font: 800 1.2rem/1 var(--f-display); border-radius: 8px; margin-bottom: 22px; }
.ncard h3 { margin-bottom: .3em; }
.ncard__meta { color: var(--sun); font-size: .9rem; font-weight: 600; margin-bottom: 12px; }
.ncard p, .ncard li { color: var(--ink-2); font-size: .95rem; }
.ncard p:last-child { margin: 0; }
.ncard ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ncard li { padding-left: 20px; position: relative; }
.ncard li::before { content: "→"; position: absolute; left: 0; color: var(--sun); }
.ncard b { color: var(--ink); }
.ncards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ncards--4 .ncard { border-bottom: 0; }
.ncards--4 .ncard:nth-child(2n) { border-right: 1px solid var(--line); }
.ncards--4 .ncard:last-child { border-right: 0; }
.ncard--wide { grid-column: 1 / -1; border-right: 0 !important; }
@media (max-width: 1000px) {
  .ncards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ncards--4 .ncard:nth-child(2n) { border-right: 0; }
  .ncards--4 .ncard:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .ncards, .ncards--4 { grid-template-columns: minmax(0, 1fr); }
  .ncard, .ncards--4 .ncard { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .ncards .ncard:last-child { border-bottom: 0 !important; }
}

/* ---------- contact ---------- */
.contact__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact h2 em { color: var(--sun); }
.contact__intro > p { color: var(--ink-2); margin-top: 18px; max-width: 44ch; }
.contact__info { margin-top: 34px; display: grid; gap: 18px; }
.info { display: flex; gap: 16px; align-items: center; }
.info__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; color: var(--sun); }
.info__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.info span { display: block; font: 600 .68rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.info a, .info p { font-weight: 600; text-decoration: none; margin: 0; word-break: break-word; }
.info a:hover { color: var(--sun); }
.brief { display: grid; gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); }
.brief fieldset { border: 0; padding: 0; margin: 0; }
.brief legend, .field > span { font: 600 .7rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.brief legend { margin-bottom: 12px; }
.brief__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.brief__chips label { cursor: pointer; }
.brief__chips input { position: absolute; opacity: 0; pointer-events: none; }
.brief__chips span { display: inline-block; padding: .6em 1em; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); font-size: .88rem; transition: background .2s, border-color .2s, color .2s; }
.brief__chips input:checked + span { background: var(--sun); border-color: var(--sun); color: #fff; }
.brief__chips input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.brief__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: grid; gap: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--line); padding: 10px 0; border-radius: 0; resize: vertical; transition: border-color .2s; }
.field select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230f1631' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sun); }
.field .is-invalid { border-color: #e03131; }
.brief .btn { width: 100%; }
.brief__note { font-size: .82rem; color: var(--muted); margin: 0; text-align: center; }
@media (max-width: 880px) { .contact__inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .brief__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #fff; padding: 56px 0 28px; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot .brand { font-size: 1.6rem; }
.foot .brand__mark { background: #fff; color: var(--ink); }
.foot__contact { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: rgba(255, 255, 255, .75); }
.foot__social { display: flex; gap: 10px; }
.foot__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.foot__social a:hover { background: var(--sun); border-color: var(--sun); color: #fff; }
.foot__social svg { width: 17px; height: 17px; fill: currentColor; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--sun-2); }

/* ================= project pages (/work/*) ================= */
.cs-hero { padding: 130px 0 60px; position: relative; overflow: hidden; isolation: isolate; }
.cs-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.crumbs { font: 400 .8rem/1 var(--f-mono); color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--sun); }
.crumbs b { color: var(--ink); font-weight: 600; }
.cs-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pill { font: 600 .68rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; padding: .65em .95em; border-radius: 99px; background: var(--card); border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 6px; }
.pill--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fa560; }
.cs-title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .92; letter-spacing: -.04em; margin-bottom: 18px; }
.cs-tagline { font: 300 clamp(1.4rem, 2.6vw, 2.1rem)/1.15 var(--f-serif); font-style: italic; color: var(--ink-2); max-width: 26ch; }
.cs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cs-url { margin: 18px 0 0; font: 400 .82rem/1 var(--f-mono); color: var(--muted); }
.cs-url a { color: var(--sun); }
.cs-hero .shot, .cs-hero .phone-stage { will-change: transform; box-shadow: 0 40px 80px -36px rgba(1, 0, 43, .5), 0 0 0 1px var(--line); }
@media (max-width: 960px) { .cs-hero__grid { grid-template-columns: minmax(0, 1fr); } .cs-hero .shot, .cs-hero .phone-stage { translate: none !important; } }

.cs-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cs-story > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.cs-story > div:last-child { background: var(--ink); color: #fff; }
.cs-story > div:last-child .label { color: var(--sun-2); }
.cs-lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.55; margin: 0; }
@media (max-width: 760px) { .cs-story { grid-template-columns: minmax(0, 1fr); } }

.cs-numbers .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .cs-numbers .stats { grid-template-columns: minmax(0, 1fr); } }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.gallery figure { margin: 0; }
.gallery figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.gallery figcaption { margin-top: 10px; font: 400 .8rem/1.4 var(--f-mono); color: var(--muted); }
.gallery .shot img { aspect-ratio: auto; }
@media (max-width: 700px) { .gallery { grid-template-columns: minmax(0, 1fr); } }

.cs-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cs-feat { background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 24px 22px; display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; transition: transform .35s var(--ease), box-shadow .35s; }
.cs-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cs-feat__no { display: grid; place-items: center; width: 42px; height: 38px; border-radius: 8px; background: var(--sun-soft); color: var(--sun); font: 800 1rem/1 var(--f-display); grid-row: span 2; }
.cs-feat h3 { font-size: 1.15rem; margin-bottom: .35em; }
.cs-feat p { color: var(--ink-2); margin: 0; font-size: .95rem; }
@media (max-width: 760px) { .cs-feats { grid-template-columns: minmax(0, 1fr); } }

.cs-eng { background: var(--ink); color: #fff; padding-block: clamp(90px, 11vw, 140px); }
.cs-eng__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); }
.cs-eng h2 em { color: var(--sun-2); display: block; }
.stack { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stack li { font: 400 .74rem/1 var(--f-mono); background: rgba(255, 255, 255, .08); color: #fff; padding: .6em .8em; border-radius: 6px; }
.cs-eng__list { list-style: none; margin: 0; padding: 0; counter-reset: eng; }
.cs-eng__list li { counter-increment: eng; position: relative; padding: 22px 0 22px 56px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .85); }
.cs-eng__list li::before { content: counter(eng, decimal-leading-zero); position: absolute; left: 0; top: 20px; width: 38px; height: 30px; border-radius: 6px; display: grid; place-items: center; background: var(--sun); color: #fff; font: 700 .78rem/1 var(--f-mono); }
@media (max-width: 860px) { .cs-eng__inner { grid-template-columns: minmax(0, 1fr); } }

.cs-next { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.cs-next__link { text-decoration: none; display: block; border-top: 1.5px solid var(--ink); padding-top: 24px; }
.cs-next__name { display: block; font-weight: 800; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -.035em; transition: color .3s; }
.cs-next__link:hover .cs-next__name { color: var(--sun); }
.cs-next__tag { display: block; margin-top: 12px; font: 300 1.25rem/1.2 var(--f-serif); font-style: italic; color: var(--muted); }
.cs-next__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cs-next__cta p { flex-basis: 100%; margin: 0 0 6px; font-weight: 600; font-size: 1.1rem; }
@media (max-width: 760px) { .cs-next { grid-template-columns: minmax(0, 1fr); } }

/* ================= about page ================= */
.ab-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 430px) minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: center; padding: 100px var(--gutter) 44px; }
.ab-name { position: absolute; inset: 0; pointer-events: none; margin: 0; font-weight: 400; }
.ab-first, .ab-last { position: absolute; font: 300 clamp(5.5rem, 18vw, 18rem)/.8 var(--f-serif); letter-spacing: -.035em; white-space: nowrap; will-change: transform; }
.ab-first { top: 14%; left: 2%; color: #12124a; z-index: -1; }
.ab-last { bottom: 15%; right: 2%; z-index: 2; color: #ffffff; mix-blend-mode: difference; font-style: italic; }
.ab-photo { grid-column: 2; grid-row: 1; margin: 0; z-index: 1; will-change: transform; }
.ab-photo img { width: 100%; height: auto; aspect-ratio: 853 / 1280; object-fit: cover; filter: contrast(1.15) brightness(1.4); -webkit-mask-image: radial-gradient(ellipse 50% 48% at 50% 40%, #000 40%, transparent 100%); mask-image: radial-gradient(ellipse 50% 48% at 50% 40%, #000 40%, transparent 100%); }
.ab-side { position: relative; z-index: 3; }
.ab-side--l { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: 12%; }
.ab-side--r { grid-column: 3; grid-row: 1; align-self: start; justify-self: end; padding-top: 6%; }
.ab-status { display: inline-flex; align-items: center; gap: .6em; font: 400 .78rem/1 var(--f-mono); color: #b9b3a8; border: 1px solid rgba(239, 235, 227, .2); border-radius: 99px; padding: .6em 1em; margin-bottom: 18px; }
.ab-status i { width: 8px; height: 8px; border-radius: 50%; background: #3ccf78; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60, 207, 120, .6); } 70% { box-shadow: 0 0 0 10px rgba(60, 207, 120, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 120, 0); } }
.ab-role { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.2; margin-bottom: .6em; }
.ab-role em { font: 300 1.25em/1 var(--f-serif); color: var(--sun-2); }
.ab-stack { font: 400 .82rem/1.4 var(--f-mono); color: #b9b3a8; margin: 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; text-align: right; }
.facts li { font-weight: 600; }
.facts span { display: block; font: 400 .7rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: #7d776d; }
.ab-cta { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; position: relative; z-index: 3; margin-top: 16px; }
.ab-hero .btn--ghost { color: #ffffff; border-color: #ffffff; }
.ab-hero .btn--ghost:hover { background: #ffffff; color: #01002b; }
@media (max-width: 900px) {
  .ab-hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; padding-top: 90px; gap: 22px; }
  .ab-photo { grid-column: 1; grid-row: 1; width: min(76vw, 360px); justify-self: center; }
  .ab-side--l { grid-column: 1; grid-row: 2; padding: 0; text-align: center; }
  .ab-side--r { grid-column: 1; grid-row: 3; justify-self: stretch; padding: 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; border-top: 1px solid rgba(239, 235, 227, .12); padding-top: 18px; }
  .ab-cta { grid-row: 4; }
  .ab-first { top: 70px; font-size: 26vw; }
  .ab-last { top: 44%; bottom: auto; font-size: 24vw; }
}

.ab-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.ab-aside { position: sticky; top: 90px; text-align: center; }
.ab-aside__photo { border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: #01002b; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.ab-aside__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: contrast(1.15) brightness(1.45); }
.ab-aside__line { height: 5px; background: var(--ink); border-radius: 0 0 4px 4px; }
.ab-aside h2 { font: 300 2.2rem/1.1 var(--f-serif); letter-spacing: -.01em; margin-top: 20px; }
.ab-aside p { color: var(--muted); font-size: .92rem; margin: 6px 0 16px; }
.ab-aside__social { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.ab-aside__social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); color: var(--ink); transition: background .2s, color .2s; }
.ab-aside__social a:hover { background: var(--sun); color: #fff; border-color: var(--sun); }
.ab-aside__social svg { width: 17px; height: 17px; fill: currentColor; }
.ab-aside .btn { width: 100%; margin-top: 8px; }
.ab-main > section + section { margin-top: clamp(70px, 9vw, 110px); }
.ab-intro { font: 300 clamp(1.5rem, 2.8vw, 2.3rem)/1.25 var(--f-serif); letter-spacing: -.01em; margin: 0; }
.ab-intro mark { background: none; color: var(--ink); background-image: linear-gradient(var(--sun), var(--sun)); background-size: 100% .1em; background-repeat: no-repeat; background-position: 0 92%; }
.ab-intro em { color: var(--sun); }
.ab-h { font-size: clamp(1.6rem, 3vw, 2.3rem); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 26px; }
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: rgba(255, 255, 255, .6); overflow: hidden; }
.skill { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.skill:nth-child(2n) { border-right: 0; }
.skill:nth-last-child(-n+2) { border-bottom: 0; }
.skill__logo { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font: 800 .9rem/1 var(--f-display); color: #fff; letter-spacing: -.02em; }
.skill__body { flex: 1; min-width: 0; }
.skill__body b { display: block; }
.skill__body span { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .skills { grid-template-columns: minmax(0, 1fr); } .skill { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; } .skill:last-child { border-bottom: 0 !important; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags span { font: 400 .78rem/1 var(--f-mono); background: var(--card); border: 1px solid var(--line); padding: .6em .85em; border-radius: 99px; }
.sideproj { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sideproj a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 24px; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .3s var(--ease), color .3s; }
.sideproj b { font-size: 1.2rem; }
.sideproj span { font: 400 .82rem/1.4 var(--f-mono); color: var(--muted); }
.sideproj i { font-style: normal; color: var(--sun); }
.sideproj a:hover { padding-left: 12px; color: var(--sun); }
@media (max-width: 640px) { .sideproj a { grid-template-columns: minmax(0, 1fr) 20px; } .sideproj span { grid-row: 2; } }
.hire-box { background: var(--ink); color: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 50px); position: relative; overflow: hidden; isolation: isolate; }
.hire-box::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: var(--sun); opacity: .9; z-index: -1; }
.hire-box h2 { max-width: 18ch; }
.hire-box h2 em { color: var(--sun-2); }
.hire-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin: 36px 0; }
.hire-cols h3 { font: 600 .74rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 13px; height: 7px; border-left: 2px solid var(--sun-2); border-bottom: 2px solid var(--sun-2); rotate: -45deg; }
.hire-box .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hire-box .btn--ghost:hover { background: #fff; color: var(--ink); }
.hire-box .cs-actions { margin-top: 0; }
@media (max-width: 980px) { .ab-body { grid-template-columns: minmax(0, 1fr); } .ab-aside { position: static; max-width: 320px; margin: 0 auto; } }
@media (max-width: 600px) { .hire-cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .ab-photo { animation: rise 1.4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.97); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}
.skill:nth-child(1) .skill__logo { background: #777bb3; }
.skill:nth-child(2) .skill__logo { background: #41b883; }
.skill:nth-child(3) .skill__logo { background: #ff9900; }
.skill:nth-child(4) .skill__logo { background: #2496ed; }
.skill:nth-child(5) .skill__logo { background: #00758f; }
.skill:nth-child(6) .skill__logo { background: #fc6d26; }
.skill:nth-child(7) .skill__logo { background: var(--ink); }
.skill:nth-child(8) .skill__logo { background: #d97757; }
.ncard .ncard__meta:last-child { margin-bottom: 0; }
.cs-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; gap: 10px; }
.cs-stats .stat { padding: 18px 16px; }
.cs-stats .stat dt { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--sun-2); }
.cs-stats .stat dd { font-size: .84rem; margin-top: 8px; }
.cs-story { margin-bottom: 0; }
@media (max-width: 460px) { .cs-stats { grid-template-columns: minmax(0, 1fr); } }

/* polish pass */
.hero__name { font-size: clamp(3.2rem, 7.4vw, 6.9rem); }
.brand__mark { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; letter-spacing: -.04em; font-size: 1.05rem; }
.roles { gap: 8px 18px; }
.roles li + li::before { content: ""; margin: 0; color: inherit; }
.roles li { display: inline-flex; align-items: center; gap: 8px; }
.roles li::before { content: ""; width: 6px; height: 6px; background: currentColor; opacity: .55; }
.ab-aside__photo img { transform: scale(1.5); transform-origin: 50% 24%; filter: contrast(1.2) brightness(1.75); }
@media (max-width: 960px) { .hero__orb { opacity: .25; } }

/* ---------- Charles-style colour play ---------- */
b, strong { font-weight: 500; }
.hero__name { font-weight: 700; letter-spacing: -.01em; line-height: .9; }
.hero__name span { color: var(--sun); }
.hero__hey { font-weight: 300; font-style: normal; color: var(--ink); }
.hero__typed b { border-color: var(--pink); color: var(--sun); font-weight: 500; }
.roles { font-weight: 400; }
.roles li::before { opacity: 1; }
.roles li:nth-child(3n+2)::before { background: var(--pink); }
.roles li:nth-child(3n)::before { background: var(--coral); }
.label { font-weight: 600; letter-spacing: .14em; }
.sticker { background: var(--pink); }
.sticker b { color: #fff; }
.ticker span { font-weight: 600; letter-spacing: .01em; }
.ticker span::after { color: var(--sun-2); }
.ticker span:nth-child(3n+2)::after { color: var(--pink); }
.ticker span:nth-child(3n)::after { color: var(--coral); }
.svc__icon { background: var(--sky); }
.svc:nth-child(3n+2) .svc__icon { color: var(--pink); background: rgba(231, 73, 137, .1); }
.svc:nth-child(3n) .svc__icon { color: var(--coral); background: rgba(255, 116, 116, .12); }
.svc:hover .svc__icon { background: var(--sun); color: #fff; }
.work__frame { background: var(--sky); border-color: transparent; }
.work__cap h3 { font-weight: 500; }
.work--yours .work__frame { background: var(--sun); }
.work--yours .work__frame:hover { background: var(--pink); border-color: var(--pink); }
.filters button { font-weight: 400; }
.proof { background: var(--ink); }
.stat dt { font-weight: 600; }
.stat:nth-child(1) dt small { color: var(--sun-2); }
.stat:nth-child(2) dt small { color: var(--pink); }
.stat:nth-child(3) dt small { color: var(--coral); }
.stat:nth-child(4) dt small { color: var(--sun-2); }
.play h2 { font-weight: 700; }
.chips li.is-home { background: var(--pink); border-color: var(--pink); }
.client a:hover { background: var(--sun); }
.client a:hover .client__ind, .client a:hover .client__url::after { color: #fff; }
.client--you a:hover { background: var(--ink); }
.ncard__no { background: var(--sun); font-weight: 600; border-radius: 6px; }
.ncards--4 .ncard:nth-child(2) .ncard__no { background: var(--pink); }
.ncards--4 .ncard:nth-child(3) .ncard__no { background: var(--coral); }
.ncard h3 { font-weight: 500; }
.ncard__meta { font-weight: 400; }
.cs-feat:nth-child(3n+2) .cs-feat__no { background: rgba(231, 73, 137, .1); color: var(--pink); }
.cs-feat:nth-child(3n) .cs-feat__no { background: rgba(255, 116, 116, .12); color: var(--coral); }
.cs-eng__list li:nth-child(3n+2)::before { background: var(--pink); }
.cs-eng__list li:nth-child(3n)::before { background: var(--coral); }
.cs-title { font-weight: 700; letter-spacing: -.01em; }
.cs-tagline { font-weight: 300; font-style: normal; color: var(--sun); }
.cs-story > div:last-child .label { color: var(--sun-2); }
.cs-next__name { font-weight: 600; }
.info__icon { background: var(--sky); border-color: transparent; }
.brief__chips span { font-weight: 400; }
.btn { font-weight: 500; }
.ab-first, .ab-last { font-weight: 700; text-transform: uppercase; letter-spacing: -.02em; }
.ab-first { font-weight: 300; }
.ab-last { font-style: normal; }
.ab-role em { font-style: normal; font-weight: 300; color: var(--sun-2); }
.ab-aside h2 { font-weight: 400; }
.ab-aside__line { background: var(--sun); }
.ab-intro { font-weight: 300; color: var(--ink); }
.ab-intro em { font-style: normal; font-weight: 500; }
.ab-h { font-weight: 600; }
.hire-box::after { background: var(--sun); }
.hire-box::before { content: ""; position: absolute; right: 120px; top: 70px; width: 70px; height: 70px; border-radius: 50%; background: var(--pink); z-index: -1; }
.hire-box h2 em { color: var(--sun-2); }
.client--you h3 { font-weight: 300; font-style: normal; }
.cs-next__tag, .play__tag { font-style: normal; }
.ab-last { mix-blend-mode: normal; color: #fff; text-shadow: 0 10px 40px rgba(1, 0, 43, .6); }
.ab-first { color: rgba(255, 255, 255, .07); }
.hero__name { font-size: clamp(3.2rem, 8.4vw, 7.8rem); }
.hero__name { font-size: clamp(3.2rem, 7.6vw, 7.2rem); }
.ab-first, .ab-last { font-size: clamp(4.5rem, 12.5vw, 13rem); }
.ab-last { bottom: 13%; }
@media (max-width: 900px) { .ab-first { font-size: 22vw; } .ab-last { font-size: 19vw; } }

/* ================= concept hero (ruled-style) ================= */
:root { --royal: #0a2fb0; --haze: #8b9cc8; --hx-bg: #eceef1; }
.nav { padding: 0 0 0 var(--gutter); height: 86px; align-items: center; }
.nav.is-scrolled { padding-block: 0; height: 68px; }
.nav__social { display: none; }
.brand { text-transform: none; font-weight: 600; font-size: 1.55rem; letter-spacing: -.02em; color: var(--royal); }
.brand__mark { background: var(--royal); }
.nav__links { align-self: stretch; gap: clamp(22px, 4vw, 64px); }
.nav__links a { font-weight: 400; color: var(--royal); }
.nav--dark:not(.is-scrolled) .nav__links a, .nav--dark:not(.is-scrolled) .brand { color: #fff; }
.nav__cta { align-self: stretch; display: flex; align-items: center; border-radius: 0; padding: 0 clamp(26px, 3vw, 46px); background: var(--royal); color: #fff !important; font-weight: 400; }
.nav__cta:hover { background: var(--sun); }
@media (max-width: 880px) {
  .nav { padding-right: var(--gutter); height: 70px; }
  .nav__links { align-self: auto; }
  .nav__links a { color: #fff; }
  .nav__cta { align-self: auto; border-radius: 99px; padding: .6em 1.4em; }
}

.hx { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; min-height: max(100svh, 720px); background: var(--hx-bg); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding: 130px var(--gutter) 56px; }
.hx__word { position: absolute; z-index: -1; left: 10%; top: 8%; font: 500 clamp(12rem, 38vw, 40rem)/.78 var(--f-display); letter-spacing: -.05em; color: #fff; white-space: nowrap; pointer-events: none; will-change: transform; }
.hx__copy { grid-column: 1; grid-row: 1; position: relative; z-index: 2; }
.hx__eyebrow { font: 500 .82rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--royal); margin: 0 0 22px; }
.hx__title { font-size: clamp(3rem, 7.4vw, 7.2rem); line-height: .92; letter-spacing: -.035em; margin: 0; }
.hx__thin { display: block; font-weight: 300; color: var(--haze); }
.hx__bold { display: block; font-weight: 600; color: var(--royal); padding-left: clamp(40px, 9vw, 150px); }

.hx__stage { grid-column: 1 / -1; grid-row: 1 / -1; position: absolute; right: -2%; top: 50%; width: min(64vw, 1000px); transform: translateY(-42%); perspective: 1600px; z-index: 1; pointer-events: none; }
.hx__device { position: relative; transform: rotateY(-22deg) rotateX(8deg) rotateZ(2deg); transform-style: preserve-3d; will-change: transform; }
.hx__screen { border-radius: 14px; overflow: hidden; background: #fff; }
.hx__screen img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.hx__screen--main { position: relative; box-shadow: 0 50px 90px -30px rgba(10, 47, 176, .45), 0 0 0 1px rgba(1, 0, 43, .06); transform: translateZ(40px); }
.hx__screen--back { position: absolute; width: 62%; right: -14%; top: -22%; transform: translateZ(-60px) rotateZ(-3deg); box-shadow: 0 30px 60px -30px rgba(1, 0, 43, .4); opacity: .96; }
.hx__phone { position: absolute; left: -9%; bottom: -16%; width: 22%; aspect-ratio: 390 / 844; padding: 7px; border-radius: 26px; background: var(--royal); transform: translateZ(110px) rotateZ(-4deg); box-shadow: 0 40px 60px -20px rgba(1, 0, 43, .55); }
.hx__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px; }
.hx__shadow { position: absolute; left: 6%; right: 6%; bottom: -26%; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 0, 43, .28), transparent); transform: translateZ(-80px); }
.js .hx__device { animation: hxIn 1.6s var(--ease) both; }
@keyframes hxIn { from { opacity: 0; transform: rotateY(-40deg) rotateX(14deg) rotateZ(2deg) translateX(120px); } }

.hx__side { grid-column: 2; grid-row: 2; justify-self: end; align-self: center; position: relative; z-index: 2; text-align: right; color: var(--royal); max-width: 260px; margin-top: -4vh; }
.hx__side h2 { font-size: 1.7rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 12px; }
.hx__side p { font-weight: 300; line-height: 1.55; margin-bottom: 14px; }
.hx__side a { font-weight: 500; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.hx__side a:hover { color: var(--sun); }

.hx__tag { grid-column: 1; grid-row: 3; position: relative; z-index: 2; margin: 0; font-size: clamp(1.4rem, 2.6vw, 2.35rem); line-height: 1.22; letter-spacing: -.02em; font-weight: 300; color: var(--haze); max-width: 24ch; }
.hx__tag b { font-weight: 500; color: var(--royal); }
.hx__tag br + * , .hx__tag { text-indent: 0; }
.hx__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 24px; height: 38px; border: 1.5px solid var(--royal); border-radius: 14px; z-index: 2; }
.hx__scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--royal); translate: -50% 0; animation: wheel 1.8s infinite; }
@keyframes wheel { 60% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 1100px) {
  .hx__side { display: none; }
  .hx__stage { width: 70vw; right: -10%; }
}
@media (max-width: 820px) {
  .hx { display: flex; flex-direction: column; gap: 34px; padding-top: 110px; min-height: auto; }
  .hx__word { top: 22%; left: -6%; font-size: 52vw; }
  .hx__stage { position: relative; inset: auto; transform: none; width: 92%; margin: 20px 0 30px 6%; }
  .hx__device { transform: rotateY(-14deg) rotateX(6deg); }
  .hx__device { translate: none !important; }
  .hx__side { display: block; text-align: left; justify-self: start; margin: 0; }
  .hx__scroll { display: none; }
}
.brand { text-transform: lowercase; }
.foot .brand { color: #fff; }
.foot .brand__mark { background: #fff; color: var(--royal); }
/* hero balance pass */
.hx__word { font-size: clamp(10rem, 27vw, 30rem); left: 4%; top: 12%; }
.hx__stage { width: min(48vw, 760px); right: 5%; top: 58%; transform: translateY(-42%); }
.hx__side { grid-row: 1; align-self: start; margin-top: 40px; }
.hx__tag { max-width: 22ch; }
@media (max-width: 1100px) { .hx__stage { width: 52vw; right: 2%; top: 62%; } .hx__title { font-size: clamp(3rem, 6.6vw, 6rem); } }
@media (max-width: 820px) {
  .hx__stage { width: 92%; top: auto; right: auto; transform: none; }
  .hx__word { font-size: 46vw; top: 26%; }
}
.hx__stage { z-index: 0; }
.hx__side, .hx__copy, .hx__tag { z-index: 5; }
.hx__screen--back { top: -4%; right: -12%; width: 56%; }
.hx__scroll { display: none; }

/* social icons in the nav, services 4x2, SEO tech tags */
.nav__social { display: flex; align-items: center; gap: 6px; opacity: 1; margin-right: clamp(4px, 1vw, 14px); }
.nav__social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--royal); transition: background .2s, color .2s; }
.nav__social a::after { content: none !important; }
.nav__social a:hover { background: var(--royal); color: #fff; }
.nav__social svg { width: 17px; height: 17px; fill: currentColor; }
.nav--dark:not(.is-scrolled) .nav__social a { color: #fff; }
@media (max-width: 1080px) { .nav__social { display: flex; } }
@media (max-width: 880px) { .nav__social { order: 9; margin: 10px 0 0; } .nav__social a { color: #fff; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .25); } .nav__social svg { width: 20px; height: 20px; } }

.svc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-grid--4 .svc { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 24px 26px; }
.svc-grid--4 .svc:nth-child(4n) { border-right: 0; }
.svc-grid--4 .svc:nth-last-child(-n+4) { border-bottom: 0; }
.svc-grid--4 .svc:nth-child(4n+2) .svc__icon { color: var(--pink); background: rgba(231, 73, 137, .1); }
.svc-grid--4 .svc:nth-child(4n+3) .svc__icon { color: var(--coral); background: rgba(255, 116, 116, .12); }
.svc-grid--4 .svc:nth-child(4n+1) .svc__icon, .svc-grid--4 .svc:nth-child(4n) .svc__icon { color: var(--sun); background: var(--sky); }
.svc-grid--4 .svc:hover .svc__icon { background: var(--sun); color: #fff; }
@media (max-width: 1100px) {
  .svc-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid--4 .svc { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .svc-grid--4 .svc:nth-child(2n) { border-right: 0 !important; }
  .svc-grid--4 .svc:nth-last-child(-n+2) { border-bottom: 0 !important; }
}
@media (max-width: 600px) {
  .svc-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .svc-grid--4 .svc { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .svc-grid--4 .svc:last-child { border-bottom: 0 !important; }
}
.techtags { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.techtags li { font: 400 .8rem/1 var(--f-mono); color: var(--ink-2); background: var(--card); border: 1px solid var(--line); padding: .55em .9em; border-radius: 99px; }
.hx__tag { max-width: 27ch; }

/* real blakeTrix logo */
:root { --plum: #520026; --tangerine: #f58634; }
.brand { gap: 10px; color: var(--plum); text-transform: none; }
.brand__logo { height: 46px; width: auto; transition: transform .4s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-6deg); }
.brand__logo--white { display: none; }
.brand__word { font-weight: 500; font-size: 1.55rem; letter-spacing: -.01em; color: var(--plum); }
.brand__word b { font-weight: 500; color: var(--tangerine); }
.nav.is-scrolled .brand__logo { height: 38px; }
.nav--dark:not(.is-scrolled) .brand__logo--color { display: none; }
.nav--dark:not(.is-scrolled) .brand__logo--white { display: block; }
.nav--dark:not(.is-scrolled) .brand__word { color: #fff; }
.foot__logo img { height: 92px; width: auto; }
.foot__logo:hover img { transform: rotate(-4deg); }
.foot__logo img { transition: transform .4s var(--ease); }
@media (max-width: 880px) { .brand__logo { height: 38px; } .brand__word { font-size: 1.35rem; } }
/* black & white logo */
.brand, .brand__word, .brand__word b { color: var(--ink); }
.brand__word b { font-weight: 300; }
.nav--dark:not(.is-scrolled) .brand__word b { color: #fff; }
/* flags */
.flags { display: inline-flex; gap: 6px; vertical-align: -3px; margin-right: 8px; }
.flag { width: 26px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); overflow: hidden; display: block; }
.ab-aside .flag, .hire-box .flag { box-shadow: 0 0 0 1px var(--line); }
.citizen { display: inline-flex; align-items: center; gap: 8px; }
.facts .citizen { justify-content: flex-end; }
@media (max-width: 900px) { .facts .citizen { justify-content: flex-start; } }
.facts .citizen { display: inline-flex; font: inherit; font-weight: 600; text-transform: none; letter-spacing: 0; color: inherit; }
.facts .flags { display: inline-flex; margin-right: 0; }
.ab-aside .citizen { justify-content: center; margin: -8px 0 16px; color: var(--ink-2); }
.ab-aside .flags { margin-right: 0; }
.flags, .flag { flex: none; }
.ticks .citizen { display: inline; }
.ticks .flags { display: inline-flex; vertical-align: -1px; margin-right: 8px; }

/* ================= realistic iPhone ================= */
.iphone { position: relative; container-type: inline-size; aspect-ratio: 9 / 19.2; padding: 1.6%; border-radius: 15% / 7.1%;
  background: linear-gradient(135deg, #f1f2f4 0%, #a7aab1 14%, #55585f 38%, #2c2e33 52%, #5d6068 70%, #b9bcc2 88%, #eef0f2 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), inset 0 0 0 2px rgba(0, 0, 0, .25), 0 60px 90px -36px rgba(1, 0, 43, .6), 0 22px 34px -22px rgba(1, 0, 43, .45); }
.iphone::before { content: ""; position: absolute; right: -1.3%; top: 27%; width: 1.6%; height: 11%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #6c6f76, #c8cacf); }
.iphone::after { content: ""; position: absolute; left: -1.3%; top: 18%; width: 1.6%; height: 20%; border-radius: 3px 0 0 3px;
  background: linear-gradient(to bottom, #c8cacf 0 12%, transparent 12% 24%, #c8cacf 24% 56%, transparent 56% 66%, #c8cacf 66% 100%); }
.iphone__bezel { height: 100%; padding: 3.2%; border-radius: 14% / 6.6%; background: #050507; }
.iphone__screen { position: relative; height: 100%; border-radius: 11.5% / 5.4%; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.iphone__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .04) 30%, rgba(255, 255, 255, 0) 46%); }
.iphone__status { flex: none; position: relative; height: 12cqw; display: flex; align-items: center; justify-content: space-between; padding: 2.6cqw 7cqw 0 9.5cqw; font: 600 4.4cqw/1 -apple-system, "SF Pro Text", "Kanit", system-ui, sans-serif; letter-spacing: -.01em; }
.iphone--light .iphone__status { background: #fff; color: #000; }
.iphone--dark .iphone__status { background: #0d1626; color: #fff; }
.iphone__island { position: absolute; left: 50%; top: 2.3cqw; translate: -50% 0; width: 31%; height: 8.6cqw; border-radius: 99px; background: #000; }
.iphone__icons { width: 19cqw; height: auto; fill: currentColor; }
.iphone__screen img { flex: 1; min-height: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; border-radius: 0; transform: none !important; }

/* hero composition: two phones in front of two browser windows */
.hx__phone { position: absolute; padding: 0; background: none; box-shadow: none; border-radius: 0; aspect-ratio: auto; }
.hx__phone--a { left: -10%; bottom: -22%; width: 24%; transform: translateZ(120px) rotateZ(-5deg); }
.hx__phone--b { right: -8%; bottom: -30%; width: 21%; transform: translateZ(150px) rotateZ(4deg); }
.hx__phone img { border-radius: 0; }
.hx__screen--back { top: -6%; right: -12%; width: 58%; }
.hx__shadow { bottom: -34%; }
@media (max-width: 820px) { .hx__phone--a { left: -4%; width: 26%; } .hx__phone--b { right: -2%; width: 23%; } .hx__stage { margin-bottom: 70px; } }

/* portfolio + project page phone stage */
.phone-stage .iphone { width: 30%; transform: translateY(16%) rotate(-6deg); transition: transform .6s var(--ease); }
.work__frame:hover .phone-stage .iphone { transform: translateY(9%) rotate(0); }
.cs-hero .phone-stage .iphone { width: 28%; transform: translateY(8%) rotate(-5deg); }
.hx__phone--a { left: -5%; right: auto; bottom: -12%; }
.hx__phone--b { left: auto; right: 4%; bottom: -16%; }
@media (max-width: 820px) { .hx__phone--a { left: -3%; bottom: -14%; } .hx__phone--b { right: 2%; bottom: -18%; } }
.hx__phone--b { bottom: -6%; width: 20%; }
.work__demo--soon { color: var(--muted); border-color: var(--line); cursor: default; }
.work__demo--soon:hover { background: none; color: var(--muted); border-color: var(--line); }
.play__soon { font-size: .92rem; color: #9fb4d6; align-self: center; }
.play__soon b { color: #fff; font-weight: 500; }
