/* Studio Swi — shared styles. Values mirror the Framer design tokens. */
:root {
  --bg: #f5f7ff;
  --ink: #0b0b0b;
  --gray: #505050;
  --deep: #140533;
  --lilac: #f4edff;
  --purp: #6040c9;
  --orchid: #ba63e6;
  --body: rgb(59, 53, 80);
  --white: #ffffff;
  --pj: "Plus Jakarta Sans", "Satoshi", system-ui, sans-serif;
  --inter: "Inter", system-ui, sans-serif;
  --content: 920px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--inter);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orchid); outline-offset: 3px; border-radius: 6px; }
p, h1, h2, h3, dl, dd, figure, ul { margin: 0; padding: 0; }

/* ---------- nav ---------- */
.nav {
  background: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 40px;
  font-family: var(--pj);
}
.nav__logo {
  display: inline-block; background: var(--deep); color: var(--white); border-radius: 999px;
  padding: 0.55em 1.1em; font-weight: 800; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase;
  transform: rotate(-4deg); white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: 36px; }
.nav__toggle { display: none; }
.nav__links a:not(.btn), .nav__soon { font-size: 15px; font-weight: 500; color: var(--ink); }
.nav__links a:not(.btn):hover, .footer a:hover { text-decoration: underline; }
.nav__soon { cursor: default; }
a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--pj); font-weight: 700; font-size: 16px;
  padding: 14px 32px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn--deep { background: var(--deep); color: #fff; }
.btn--lg { padding: 16px 28px; }
.btn:hover { transform: translateY(-2px); }

/* ---------- shared closing + footer ---------- */
.closing { background: var(--white); margin-top: 64px; }
body.home .closing { margin-top: 0; }
.closing__inner {
  max-width: 1200px; margin: 0 auto; padding: 64px 40px 64px;
  display: grid; grid-template-columns: 560px 1fr; gap: 40px; align-items: center;
}
.closing__cards { position: relative; height: 300px; }
.polaroid {
  position: absolute; background: #fff; border-radius: 14px; padding: 8px 8px 0;
  box-shadow: 0 12px 32px rgba(20, 5, 51, 0.14); text-align: center; width: 168px;
}
.polaroid img { width: 100%; object-fit: cover; border-radius: 8px; }
.polaroid figcaption { font-family: var(--pj); font-weight: 700; font-size: 14px; line-height: 1.2; color: var(--ink); padding: 10px 4px 12px; }
.polaroid--a { left: 6px; top: 24px; transform: rotate(-8deg); }
.polaroid--a img { height: 150px; }
.polaroid--b { left: 190px; top: 42px; transform: rotate(3deg); width: 150px; z-index: 1; }
.polaroid--b img { height: 119px; object-fit: contain; background: #fff; }
.polaroid--c { left: 352px; top: 0; transform: rotate(7deg); width: 158px; z-index: 2; }
.polaroid--c img { height: 160px; }
.closing__text h2 { font-family: var(--pj); font-weight: 800; font-size: 32px; line-height: 1.15; letter-spacing: -0.03em; }
.closing__text p { margin: 16px 0 24px; font-size: 17px; line-height: 1.55; color: var(--gray); max-width: 520px; }
.footer {
  max-width: 1200px; margin: 0 auto; padding: 0 40px 32px;
}
.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer::before { content: ""; flex-basis: 100%; height: 1px; background: #e6e6ee; margin-bottom: 8px; }
.footer p { font-family: var(--pj); font-weight: 500; font-size: 14px; color: var(--gray); }
.footer nav { display: flex; gap: 32px; font-family: var(--pj); font-weight: 500; font-size: 15px; }
.footer .nav__soon { font-size: 15px; }

/* ---------- case studies ---------- */
.cs { max-width: calc(var(--content) + 80px); margin: 0 auto; padding: 40px 40px 0; display: flex; flex-direction: column; gap: 40px; }
.cs-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--gray); }
.crumbs a:hover { text-decoration: underline; }
.crumbs__sep { color: rgb(181, 171, 208); }
.crumbs__here { font-weight: 600; color: var(--ink); }
.kicker {
  background: var(--lilac); color: var(--purp); border-radius: 999px; padding: 7px 14px;
  font-family: var(--pj); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
.cs-title { font-family: var(--pj); font-weight: 800; font-size: 56px; line-height: 1.05; letter-spacing: -0.045em; }
.cs-sub { font-size: 22px; line-height: 1.45; color: var(--gray); max-width: 760px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--inter); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; }
.chip--deep { background: var(--deep); color: var(--lilac); }
.chip--white { background: #fff; color: var(--deep); }
.chip--outline { border: 1px solid #cfd0dc; color: var(--ink); font-size: 13px; padding: 7px 14px; background: transparent; }
.meta {
  width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px 24px;
  padding-top: 28px; border-top: 1px solid #ded6f3;
}
.meta dt { font-size: 13px; color: var(--gray); margin-bottom: 6px; }
.meta dd { font-size: 16px; font-weight: 600; }
.meta dd a { text-decoration: underline; text-underline-offset: 3px; }

.sections { display: flex; flex-direction: column; gap: 24px; }
.card { border-radius: 32px; padding: 48px; display: flex; flex-direction: column; gap: 24px; }
.card--lilac { background: var(--lilac); }
.card--white { background: var(--white); }
.card--plain { background: transparent; padding: 24px 0; }
.label { font-family: var(--pj); font-weight: 700; font-size: 15px; color: var(--purp); }
.h2 { font-family: var(--pj); font-weight: 700; font-size: 32px; line-height: 1.15; letter-spacing: -0.035em; color: var(--deep); }
.h3 { font-family: var(--pj); font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; color: var(--ink); }
.h3--26 { font-size: 26px; } .h3--24 { font-size: 24px; } .h3--28 { font-size: 28px; }
.body { font-size: 19px; line-height: 1.65; color: var(--body); }
.body strong { color: var(--deep); }
.caption { font-size: 14px; color: var(--gray); }
.caption em { font-style: italic; }
.bullets { padding-left: 22px; font-size: 18px; line-height: 1.65; color: var(--body); display: flex; flex-direction: column; gap: 6px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--lg { gap: 24px; }
.row { display: flex; gap: var(--gap, 24px); }
.row__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.row__col--2 { flex: 2 1 0; }
.card--row { flex-direction: row; gap: 48px; align-items: center; }
.card--row > .stack { flex: 1 1 0; }
.side { flex: 0 0 var(--fw, 300px); }
.ps {
  position: relative; width: 100%; aspect-ratio: var(--r); border-radius: var(--rad); background: var(--tint);
  overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px;
  font-size: 13px; color: var(--gray);
}
.ps img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pic { width: 100%; height: auto; }

.next { display: flex; flex-direction: column; gap: 16px; padding-bottom: 8px; }
.next__card {
  background: #fff; border-radius: 28px; padding: 28px 32px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; transition: transform 0.2s ease;
}
.next__card:hover { transform: translateY(-3px); }
.next__text { display: flex; flex-direction: column; gap: 4px; }
.next__kicker { font-size: 13px; color: var(--gray); }
.next__title { font-family: var(--pj); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.next__view { font-family: var(--pj); font-weight: 600; font-size: 16px; color: var(--deep); white-space: nowrap; }

/* steps (Play pages) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps--stacked { grid-template-columns: 1fr; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step__n { font-family: var(--pj); font-weight: 800; font-size: 14px; color: var(--orchid); }
.step__t { font-size: 16px; line-height: 1.55; color: var(--body); }

/* stat tiles */
.stat { background: #d6ecff; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.stat__big { font-family: var(--pj); font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; }
.stat__text { font-size: 15px; color: var(--body); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--lilac); border-radius: 20px; padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; }
.tile strong { font-family: var(--pj); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.tile span { font-size: 14px; color: var(--gray); }

/* before / after (Stride) */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba__col { display: flex; flex-direction: column; gap: 12px; }
.ba__tag { font-family: var(--pj); font-weight: 700; font-size: 14px; color: var(--purp); letter-spacing: 0.04em; }

/* connect-with-me callout */
.callout-white { background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.callout-white .label { font-size: 15px; }
.callout-white p:not(.label) { font-size: 16px; line-height: 1.55; color: var(--body); }
.linkcard { background: var(--lilac); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.linkcard__k { font-family: var(--pj); font-weight: 700; font-size: 13px; color: var(--purp); letter-spacing: 0.04em; }
.linkcard__t { font-family: var(--pj); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
a.linkcard__t:hover { text-decoration: underline; }
.linkcard p { font-size: 16px; line-height: 1.55; color: var(--gray); }

/* Academic exhibition extras */
.stage {
  position: relative; background: #fff; border-radius: 24px; padding: 56px 48px; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; border: 1px solid #efeaf8;
}
.stage__glow { position: absolute; border-radius: 999px; pointer-events: none; }
.stage__glow--blue { width: 460px; height: 460px; left: -60px; top: -90px; background: radial-gradient(50% 50% at 50% 50%, rgba(70,130,255,.6) 0%, rgba(150,110,255,.34) 46%, rgba(255,255,255,0) 72%); }
.stage__glow--pink { width: 280px; height: 280px; left: 30%; bottom: -120px; background: radial-gradient(50% 50% at 50% 50%, rgba(255,110,170,.42) 0%, rgba(255,255,255,0) 70%); }
.stage__glow--orange { width: 340px; height: 340px; right: -50px; top: -60px; background: radial-gradient(50% 50% at 50% 50%, rgba(255,140,90,.55) 0%, rgba(255,90,170,.28) 48%, rgba(255,255,255,0) 72%); }
.stage__nums { position: relative; display: flex; flex-direction: column; gap: 6px; }
.stage__num { display: flex; align-items: baseline; gap: 16px; }
.stage__num strong { font-family: var(--pj); font-weight: 800; font-size: 60px; line-height: 1; letter-spacing: -0.03em; min-width: 76px; }
.stage__num span { font-size: 20px; font-weight: 500; color: var(--gray); }
.stage__callout { position: relative; background: #fff; border-radius: 20px; padding: 24px 36px; box-shadow: 0 12px 32px rgba(20,5,51,.12); font-family: var(--pj); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; transform: rotate(-3deg); }
.challenge { border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 18px; background: linear-gradient(130deg, #f9ebfc 0%, #f4edff 100%); }
.challenge__q { font-family: var(--pj); font-weight: 700; font-size: 28px; line-height: 1.2; letter-spacing: -0.03em; color: var(--gray); text-decoration: line-through; text-decoration-thickness: 2px; }
.challenge__big { font-family: var(--pj); font-weight: 800; font-size: 34px; line-height: 1.15; letter-spacing: -0.035em; }
.challenge__label { display: flex; gap: 10px; align-items: center; }
.challenge__label::before { content: "✦"; color: #ff6f61; font-size: 18px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pstep { background: var(--lilac); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.pstep__n { width: 36px; height: 36px; border-radius: 50%; background: var(--purp); color: #fff; display: grid; place-items: center; font-family: var(--pj); font-weight: 700; font-size: 15px; }
.pstep h3 { font-family: var(--pj); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.pstep p { font-size: 15px; color: var(--gray); line-height: 1.5; }
.mini { background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.mini p:not(.label) { font-size: 16px; line-height: 1.55; color: var(--body); }

/* City Tech */
.phones {
  background: linear-gradient(130deg, rgb(233, 255, 196) 0%, rgb(235, 239, 252) 119%);
  border-radius: 35px; height: 666px; display: flex; align-items: center; justify-content: center; gap: 40px; overflow: hidden;
}
.phone { position: relative; width: var(--w, 214px); aspect-ratio: 214 / 436; flex: none; }
.phone__screen { position: absolute; left: 5%; right: 5%; top: 2%; bottom: 2%; border-radius: 12%/6%; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone__bezel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.marquee { overflow: hidden; border-radius: 28px; background: linear-gradient(130deg, rgb(233,255,196) 0%, rgb(235,239,252) 119%); padding: 48px 0; }
.marquee__track { display: flex; gap: 24px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mcard { flex: none; width: 390px; height: 846px; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 28px; background: linear-gradient(160deg, rgb(233,255,196) 0%, rgb(235,239,252) 119%); }
.mcard p { font-size: 17px; line-height: 1.5; color: var(--body); align-self: stretch; }
.mcard p b { display: block; font-family: var(--pj); font-weight: 800; font-size: 13px; letter-spacing: .02em; color: var(--deep); margin-bottom: 14px; }
.duo { display: flex; flex-direction: column; gap: 28px; padding-top: 28px; }
.duo__item { display: flex; gap: 30px; }
.duo__item .h3 { flex: 1 1 0; } .duo__item .body { flex: 1 1 0; }
.embed { width: 100%; height: 640px; border: 0; border-radius: 24px; background: #fff; }

/* ---------- home ---------- */
.hero {
  position: relative; width: 100%; height: 470px; background: #fff; border-radius: 0 0 44px 44px; overflow: hidden;
}
.hero-wrap { background: #fff; }
.hero-wrap--round { background: var(--bg); }
.hero__center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(620px, 90%);
  text-align: center; z-index: 10; pointer-events: none;
}
.hero__open {
  display: inline-flex; align-items: center; gap: 10px; background: #ddf6e5; border-radius: 999px; padding: 8px 16px;
  font-size: 14px; font-weight: 500; color: #0e7a36;
}
.hero__open i { width: 8px; height: 8px; border-radius: 50%; background: #16b84f; display: block; }
.hero h1, .hero h2 { margin: 18px auto 0; font-family: var(--pj); font-weight: 800; font-size: clamp(28px, 3.5vw, 48px); line-height: 1; letter-spacing: -0.04em; max-width: 620px; }
.hero h1 .ln, .hero h2 .ln { display: block; }
.hero h1 em, .hero h2 em { font-style: normal; color: var(--orchid); }

/* ---------- site header (tagline + animated chips) ---------- */
.swi-header { --hp: clamp(64px, 11vw, 136px); --pt: 20px; --gap: calc(var(--hp) * 0.55 + var(--pt)); position: relative; z-index: 2; background: var(--white); border-radius: 0 0 44px 44px; text-align: center; padding: var(--hp) clamp(20px, 4vw, 40px) calc(var(--hp) * 0.55); }
.swi-header__inner { max-width: 1120px; margin: 0 auto; }
.swi-header__logo {
  display: inline-block; background: var(--deep); color: var(--white); border-radius: 999px; padding: 0.55em 1.1em;
  font-family: var(--pj); font-weight: 800; font-size: clamp(11px, 1.15vw, 14px); letter-spacing: 0.2em; text-transform: uppercase;
  transform: rotate(-4deg); margin: 0 0 clamp(14px, 1.8vw, 22px);
}
.swi-header h1 {
  margin: 0; font-family: var(--pj); font-weight: 800; letter-spacing: -0.04em; line-height: 1.22; color: var(--ink);
  font-size: clamp(30px, 5.3vw, 64px);
}
.swi-header h1 .ln { display: block; }
.swi-header h1 .ln + .ln { margin-top: 0.08em; }
.swi-header h1 em { font-style: normal; color: var(--orchid); }
.swi-chip {
  display: inline-block; border: 0; border-radius: 999px; padding: 0 0.32em 0.08em; margin: 0 0.04em; cursor: pointer;
  font: inherit; letter-spacing: inherit; color: inherit; line-height: inherit;
  transform: rotate(var(--r)); transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1), box-shadow 0.25s ease;
  animation: swi-hello 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) var(--d, 0s) backwards;
}
.swi-w { position: relative; display: inline-block; }
.swi-w[data-on]::after {
  content: ""; position: absolute; left: 50%; top: 100%; height: var(--gap); border-left: 4px dotted var(--purp);
  transform: translateX(-50%); transform-origin: top; pointer-events: none; animation: swi-draw 0.45s ease-out;
}
.swi-w[data-on]::before {
  content: ""; position: absolute; left: 50%; top: calc(100% + var(--gap) - 16px); width: 16px; height: 16px; border-radius: 50%;
  background: var(--purp); transform: translateX(-50%); pointer-events: none; z-index: 3; animation: swi-dot 0.45s ease-out;
}
@keyframes swi-draw { from { transform: translateX(-50%) scaleY(0); } to { transform: translateX(-50%) scaleY(1); } }
@keyframes swi-dot { 0%, 70% { opacity: 0; } 100% { opacity: 1; } }
.swi-chip:hover { transform: rotate(0deg) scale(1.06); }
.swi-chip:focus-visible { outline: 3px solid var(--purp); outline-offset: 4px; }
.swi-chip[aria-selected="true"] { box-shadow: 0 0 0 0.1em rgba(96, 64, 201, 0.18); }
.swi-chip--design { background: #d6ecff; --r: -3deg; }
.swi-chip--data { background: #baf5ff; --r: 2deg; --d: 0.15s; }
.swi-chip--play { background: #ffe27a; --r: -2deg; --d: 0.3s; }
@keyframes swi-hello {
  0% { transform: rotate(var(--r)) scale(0.7); opacity: 0; }
  60% { transform: rotate(var(--r)) scale(1.08); opacity: 1; }
  100% { transform: rotate(var(--r)) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .swi-chip, .swi-w::before, .swi-w::after { animation: none !important; transition: none; } }
.bub {
  position: absolute; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center;
  cursor: grab; border: 0; padding: 0; font-family: var(--pj); font-weight: 700; font-size: 15px; white-space: nowrap; line-height: 1;
  transition: opacity 0.3s ease, box-shadow 0.3s ease; touch-action: none; user-select: none; -webkit-user-select: none; z-index: 3;
}
.bub:active { cursor: grabbing; }
.bub:hover { box-shadow: 0 0 0 6px rgba(186, 99, 230, 0.25); }
.edge { position: absolute; height: 2px; transform-origin: 0 50%; z-index: 1; pointer-events: none; background: var(--orchid); transition: background 0.3s; }
.edge.off { background: #e3daf7; }

.projects { padding: 20px clamp(16px, 4vw, 40px) 16px; display: flex; flex-direction: column; align-items: center; gap: 32px; font-family: var(--pj); scroll-margin-top: 16px; }
.tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tab { font-family: var(--pj); font-weight: 700; font-size: 16px; padding: 12px 28px; border-radius: 999px; border: 0; cursor: pointer; background: #fff; color: var(--deep); min-height: 44px; }
.tab[aria-selected="true"] { background: var(--deep); color: #fff; }
.projects__panel { width: 100%; max-width: 1120px; box-sizing: border-box; background: #d6ecff; border-radius: clamp(28px, 4vw, 44px); padding: clamp(28px, 4vw, 52px) clamp(20px, 4vw, 48px) clamp(28px, 4vw, 48px); transition: background 0.35s ease; }
.projects__panel[data-sec="data"] { background: #baf5ff; }
.projects__panel[data-sec="play"] { background: #ffe27a; }
.grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 40px; }
.pcard[hidden] { display: none; }
.pcard { display: flex; flex-direction: column; gap: 24px; }
.pcard__img { height: 240px; border-radius: 28px; overflow: hidden; box-shadow: 0 10px 30px rgba(20, 5, 51, 0.1); transform: rotate(var(--r, 0deg)); transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.pcard:hover .pcard__img { transform: rotate(0deg) translateY(-8px) scale(1.02); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__img svg { width: 100%; height: 100%; display: block; }
.pcard__meta { display: flex; flex-direction: column; gap: 14px; padding: 0 4px; }
.pcard__tag { font-weight: 700; font-size: 12px; color: var(--purp); background: var(--white); padding: 6px 12px; border-radius: 999px; width: fit-content; }
.pcard__title { font-weight: 800; font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }

/* ---------- about ---------- */
.about { max-width: 1200px; margin: 0 auto; padding: 24px 40px 0; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.about .crumbs { align-self: flex-start; }
.about h1 { font-family: var(--pj); font-weight: 800; font-size: 60px; line-height: 1.05; letter-spacing: -0.045em; text-align: center; max-width: 960px; }
.about h1 .c1 { color: rgb(91,95,199); } .about h1 .c2 { color: rgb(232,80,154); } .about h1 .c3 { color: rgb(46,139,87); } .about h1 .c4 { color: rgb(196,138,0); }
.collage { position: relative; width: 100%; max-width: 1120px; height: 820px; border-radius: 40px; background: #fff; overflow: hidden; }
.tile-p {
  transition: translate 0.45s cubic-bezier(.34,1.4,.64,1);
  position: absolute; background: #fff; border-radius: 14px; padding: 10px 10px 0; box-shadow: 0 12px 32px rgba(20, 5, 51, 0.14);
  box-sizing: border-box; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
}
.tile-p--big { border-radius: 20px; padding: 12px 12px 0; box-shadow: 0 18px 44px rgba(20, 5, 51, 0.2); cursor: default; touch-action: auto; }
.tile-p__img { border-radius: 8px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--deep); }
.tile-p__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tile-p__cap { font-family: var(--pj); font-weight: 700; font-size: 15px; color: var(--deep); text-align: center; padding: 10px 4px 12px; line-height: 1.2; }
.tile-p--big .tile-p__cap { font-size: 17px; padding: 12px 4px 16px; }
.cchip { position: absolute; transform: translate(-50%, -50%); border-radius: 999px; padding: 12px 22px; font-family: var(--pj); font-weight: 700; font-size: 17px; color: var(--deep); box-shadow: 0 6px 16px rgba(20, 5, 51, 0.1); z-index: 3; cursor: grab; touch-action: none; user-select: none; }
.dot { position: absolute; border-radius: 50%; }
.about__bio { width: 100%; max-width: 896px; display: flex; flex-direction: column; gap: 30px; font-family: Inter, sans-serif; font-size: 18px; line-height: 1.65; color: #3c3c3c; text-align: left; }
.stats { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.stats > div { background: #fff; border-radius: 24px; padding: 24px; width: 190px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.stats strong { font-family: var(--pj); font-weight: 800; font-size: 36px; letter-spacing: -0.03em; }
.stats span { font-size: 15px; color: var(--gray); }
.panel { width: 100%; max-width: 900px; border-radius: 36px; padding: 48px; display: flex; flex-direction: column; gap: 20px; }
.panel--lilac { background: var(--lilac); }
.panel--white { background: #fff; }
.panel .eyebrow { font-family: var(--pj); font-weight: 600; font-size: 15px; color: var(--purp); }
.panel h2 { font-family: var(--pj); font-weight: 800; font-size: 44px; line-height: 1.05; letter-spacing: -0.045em; }
.panel h2 .hl { color: var(--orchid); }
.panel .lead { font-family: var(--pj); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--deep); max-width: 560px; }
.panel p.t { font-size: 17px; line-height: 1.6; color: var(--gray); }
.about .panel.panel--north { max-width: 920px; }
.about .panel--north h2 { font-size: 40px; letter-spacing: -0.03em; line-height: 1.1; }
.about .panel--north .lead { font-size: 19px; line-height: 1.4; max-width: none; }
@media (min-width: 1000px) { .about .panel--north h2, .about .panel--north .lead { white-space: nowrap; } }
@media (max-width: 900px) { .about .panel--north h2 { font-size: 32px; } }
.panel h2.skills { font-size: 40px; letter-spacing: -0.04em; }
.panel h2 { color: var(--ink); }
.skillgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.skill strong { display: block; font-family: var(--pj); font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.skill p { font-size: 15px; line-height: 1.55; color: var(--gray); }
.toolbox { border-top: 1px solid #e6e6ee; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.toolbox b { font-family: var(--pj); font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { padding: 18px 20px; }
  .nav__links { gap: 18px; }
  .cs { padding: 28px 20px 0; }
  .cs-title { font-size: 40px; }
  .cs-sub { font-size: 19px; }
  .card { padding: 28px 22px; border-radius: 26px; }
  .h2 { font-size: 26px; }
  .row { flex-direction: column; }
  .card--row { flex-direction: column; align-items: stretch; gap: 28px; }
  .side { flex: none; width: 100%; max-width: var(--fw); }
  .steps, .process-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .ba { grid-template-columns: 1fr; }
  .stage { flex-direction: column; align-items: flex-start; padding: 36px 24px; }
  .closing__inner { grid-template-columns: 1fr; padding: 48px 20px; }
  .closing__cards { max-width: 520px; width: 100%; margin: 0 auto; }
  .footer { padding: 0 20px 28px; }
  .phones { height: auto; padding: 32px 12px; gap: 12px; }
  .phone { width: 31%; }
  .duo__item { flex-direction: column; gap: 12px; }
  .projects { padding: 36px 20px 56px; }
  .swi-header { --pt: 36px; }
  .about { padding: 20px 20px 0; }
  .about h1 { font-size: 36px; }
  .panel { padding: 30px 22px; border-radius: 28px; }
  .panel h2 { font-size: 32px; }
  .skillgrid { grid-template-columns: 1fr; }
  .collage { height: 900px; }
}
@media (max-width: 560px) {
  .nav__soon { display: none; }
  .polaroid { transform-origin: center; }
  .closing__cards { height: 260px; }
  .polaroid--a { left: 0; } .polaroid--b { left: 33%; } .polaroid--c { left: 62%; }
  .polaroid { width: 34%; } .polaroid--b { width: 30%; }
  .polaroid figcaption { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .bub, .pcard__img, .btn, .next__card { transition: none; }
}
.explore { display: flex; justify-content: center; padding: 8px 0 40px; }
.explore .btn { padding: 14px 28px; font-family: var(--pj); font-weight: 700; font-size: 16px; }

/* 404 */
.nf { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 96px 40px 120px; text-align: center; }
.nf__bubbles { display: flex; align-items: center; justify-content: center; gap: 16px; }
.nf__b { display: flex; align-items: center; justify-content: center; border-radius: 999px; padding: 8px; font-family: var(--pj); font-weight: 700; font-size: 18px; line-height: 1.2; color: #0B0B0B; width: 112px; height: 112px; }
.nf__b--l { width: 176px; height: 176px; font-size: 52px; font-weight: 800; letter-spacing: -0.03em; }
.nf__eyebrow { font-family: var(--pj); font-weight: 600; font-size: 15px; letter-spacing: .14em; color: rgb(96, 64, 201); margin: 0; }
.nf__h1 { font-family: var(--pj); font-weight: 800; font-size: 60px; line-height: 1.1; letter-spacing: -0.04em; color: #0B0B0B; margin: 0; max-width: 820px; }
.nf__h1 span { color: rgb(186, 99, 230); }
.nf__sub { font-size: 19px; line-height: 1.65; color: rgb(80, 80, 80); max-width: 520px; margin: 0; }
@media (max-width: 640px) { .nf { padding: 64px 24px 80px; } .nf__h1 { font-size: 38px; } .nf__b { width: 84px; height: 84px; font-size: 15px; } .nf__b--l { width: 128px; height: 128px; font-size: 40px; } }

@media (max-width: 560px) {
  .nav { flex-wrap: wrap; }
  .nav__logo { font-size: 11px; padding: 0.5em 0.95em; }
  .nav__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; margin-right: -11px;
    background: none; border: 0; cursor: pointer;
  }
  .nav__toggle span { display: block; height: 3px; border-radius: 2px; background: var(--deep); transition: transform .2s, opacity .2s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav__links { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 4px 4px; }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { font-size: 17px; padding: 10px 0; width: 100%; }
  .nav__links .btn { margin-top: 8px; }
}

.home { background: var(--white); }

/* mobile: straight cards, squiggle under the selected chip instead of the dotted connector */
@media (max-width: 640px) {
  .pcard__img, .pcard:hover .pcard__img { transform: none; }
  .swi-w[data-on]::before { display: none; }
  .swi-w[data-on]::after {
    height: 10px; width: 78%; top: calc(100% + 4px); border-left: 0; transform: translateX(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10'%3E%3Cpath d='M0 5 Q6 0 12 5 T24 5' fill='none' stroke='%236040C9' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 24px 10px;
    animation: swi-squig 0.4s ease-out;
  }
}
@keyframes swi-squig { from { opacity: 0; transform: translateX(-50%) translateY(-4px); } to { opacity: 1; transform: translateX(-50%); } }
