:root {
  --page-bg: #f6f1e8;
  --surface: #eee5d7;
  --surface-strong: #e5d8c6;
  --ink: #171717;
  --muted: #6f6c66;
  --soft: #9b968d;
  --line: rgba(23, 23, 23, .08);
  --blue: #789bb3;
  --yellow: #f2b632;
  --red: #d65a47;
  --cream: #f1e9dc;
  --nav-bg: rgba(248, 243, 235, .9);
  --shadow: 0 24px 58px rgba(69, 52, 31, .11), 0 5px 16px rgba(69, 52, 31, .045);
  --soft-shadow: 0 13px 32px rgba(69, 52, 31, .075), 0 2px 8px rgba(69, 52, 31, .035);
  --felt-texture: url("assets/felt-texture.png");
  --sans: "Avenir Next", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", monospace;
  --page: min(1240px, calc(100% - 72px));
  --radius-lg: 28px;
  --radius-md: 20px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { overflow-x: clip; background: var(--page-bg); scroll-behavior: smooth; }
body {
  position: relative;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 8%, rgba(242, 182, 50, .055), transparent 24%),
    var(--page-bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image: var(--felt-texture);
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: .72;
  mix-blend-mode: multiply;
  pointer-events: none;
}
body:not(.page-ready) main { opacity: 0; transform: translateY(8px); }
body.page-ready main { animation: page-load .42s var(--ease-out) both; }
body > main { position: relative; z-index: 1; flex: 1 0 auto; }
a { color: inherit; }
button, a { font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: rgba(242, 182, 50, .5); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.route-wash { display: none; }

.site-header {
  position: sticky;
  top: 16px;
  z-index: 60;
  width: var(--page);
  height: 60px;
  margin: 16px auto 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.brand {
  position: absolute;
  left: 0;
  top: 50%;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  transform: translateY(-50%);
  text-decoration: none;
  pointer-events: auto;
}
.brand strong { font-size: 19px; font-weight: 700; letter-spacing: -.05em; }
.brand span { color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .04em; }
.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 5px 9px 10px;
  border-radius: 999px;
  background-color: var(--nav-bg);
  background-image: var(--felt-texture);
  background-blend-mode: soft-light;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, .68),
    inset 0 -3px 7px rgba(83, 62, 36, .035),
    0 10px 29px rgba(69, 52, 31, .075),
    0 0 10px rgba(69, 52, 31, .045);
  backdrop-filter: blur(16px) saturate(112%);
  -webkit-backdrop-filter: blur(16px) saturate(112%);
  pointer-events: auto;
}
.site-nav a {
  position: relative;
  z-index: 1;
  padding: 10px 15px 9px;
  border-radius: 999px;
  color: #5f5b55;
  font-size: 12px;
  font-weight: 520;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}
.site-nav a:hover { color: var(--ink); background: rgba(242, 182, 50, .11); }
.site-nav a.active { color: var(--ink); font-weight: 680; }
.site-nav a:focus { outline: none; }
.site-nav a:focus-visible { box-shadow: 0 0 0 2px rgba(120, 155, 179, .32); }
.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  transform: translateX(var(--indicator-x, 0));
  opacity: 0;
  transition: transform .42s var(--ease-out), opacity .18s ease;
}
.site-nav.indicator-ready .nav-indicator { opacity: 1; }
.site-nav.indicator-snap .nav-indicator { transition: none; }
.language-switch {
  position: absolute;
  right: 0;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(248, 243, 235, .78);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, .72), 0 7px 20px rgba(69, 52, 31, .055);
  transform: translateY(-50%);
  pointer-events: auto;
}
.language-switch a,
.language-switch span {
  min-width: 30px;
  padding: 6px 7px 5px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 560;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}
.language-switch a { transition: color .2s ease, background .2s ease, transform .24s var(--ease-out); }
.language-switch a:hover { color: var(--ink); background: rgba(242, 182, 50, .11); transform: translateY(-1px); }
.language-switch span { color: var(--ink); background: rgba(242, 182, 50, .22); font-weight: 700; }
.header-contact { display: none; }

.page-shell { width: var(--page); margin: 0 auto; }
.studio-hero {
  position: relative;
  min-height: 570px;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: 64px;
  padding: 52px 0 34px;
}
.home-cat {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: -18px;
  width: clamp(126px, 11vw, 154px);
  aspect-ratio: 1;
  opacity: 0;
  pointer-events: none;
  transform-origin: 50% 76%;
  will-change: transform, opacity;
  isolation: isolate;
}
.home-cat.is-visible { opacity: 1; }
.home-cat.is-static {
  left: auto;
  right: 5%;
  opacity: .76;
}
.home-cat canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
}
.home-cat-shadow {
  position: absolute;
  z-index: 0;
  left: 20%;
  bottom: 17%;
  width: 62%;
  height: 8%;
  border-radius: 50%;
  background: rgba(43, 47, 48, .09);
  filter: blur(5px);
}
.studio-intro { position: relative; z-index: 2; padding-left: 3%; }
.identity-line { max-width: 640px; margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 560; line-height: 1.45; letter-spacing: -.04em; }
.intro-copy { max-width: 540px; margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.social-row { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 42px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 550; text-decoration: none; transition: color .2s ease, transform .24s var(--ease-out); }
.social-link:hover { color: var(--ink); transform: translateY(-2px); }
.social-link svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }

.character-stage {
  --sticker-x: 0;
  --sticker-y: 0;
  position: relative;
  min-height: 500px;
  isolation: isolate;
}
.character-stage::before {
  display: none;
}
.site-sticker {
  z-index: 2;
  opacity: 0;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 15px 18px rgba(23, 23, 23, .08));
  transition: opacity .34s ease var(--sticker-delay, 0ms), filter .28s ease;
}
body.stickers-ready .site-sticker { opacity: 1; }
.motion-sequence {
  position: absolute;
  z-index: 2;
  inset: 1% -18% 1% -12%;
  display: grid;
  place-items: center;
  overflow: visible;
  cursor: default;
  outline: none;
}
.motion-sequence:focus-visible canvas { filter: drop-shadow(0 12px 24px rgba(120, 155, 179, .2)); }
.motion-sequence::after {
  display: none;
}
.motion-sequence canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: min(620px, 100%);
  max-width: none;
  height: auto;
  opacity: 0;
  transform: translateY(12px) scale(.975);
  transition: opacity .48s ease, transform .8s var(--ease-out);
  will-change: transform, opacity;
}
.motion-sequence.is-ready canvas {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.sticker-home-peek {
  position: absolute;
  z-index: 3;
  width: min(112px, 23%);
  right: 0;
  top: 13%;
  pointer-events: none;
  transform: translate(calc(var(--sticker-x) * -7px), calc(var(--sticker-y) * -6px)) rotate(calc(-3deg + var(--sticker-y) * 1deg));
  will-change: transform;
}
body.stickers-ready .sticker-home-peek { animation: sticker-peek-idle 4.8s ease-in-out infinite; }

.home-section { padding: 62px 0; }
.work-section { padding-top: 74px; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 25px; }
.section-title { margin: 0; font-size: clamp(22px, 2vw, 29px); font-weight: 680; letter-spacing: -.045em; }
.section-more { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 580; text-decoration: none; }
.section-more span { color: var(--red); }
.section-more:hover { color: var(--ink); }
.featured-work {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  overflow: hidden;
  border-radius: 30px 25px 31px 23px / 25px 31px 24px 30px;
  background: #ece3d6;
  color: var(--ink);
  text-decoration: none;
  transition: transform .48s var(--ease-out), box-shadow .48s var(--ease-out);
}
.featured-work:hover { transform: translateY(-4px) rotate(-.12deg); box-shadow: var(--shadow); }
.featured-copy { position: relative; z-index: 2; padding: 52px 0 52px 64px; }
.featured-copy h3 { margin: 0; font-size: clamp(27px, 2.8vw, 38px); line-height: 1.08; letter-spacing: -.045em; }
.featured-copy p { max-width: 330px; margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.featured-copy span { display: block; margin-top: 31px; color: var(--soft); font-family: var(--mono); font-size: 8px; letter-spacing: .03em; }
.featured-media { position: relative; z-index: 1; align-self: stretch; overflow: hidden; }
.featured-media img { width: 124%; max-width: none; height: 100%; object-fit: cover; object-position: 37% center; transform: translateX(-5%) rotate(-.5deg) scale(1.04); transition: transform .72s var(--ease-out); filter: saturate(.32) brightness(1.035) contrast(.96); }
.featured-work:hover .featured-media img { transform: translateX(-8%) rotate(-1deg) scale(1.07); }
.corner-arrow { position: absolute; z-index: 3; right: 25px; top: 25px; width: 25px; height: 25px; fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }

.compact-section { padding-top: 64px; padding-bottom: 58px; }
.skill-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.skill-rail a { position: relative; min-height: 200px; padding: 27px; border-radius: 23px 19px 25px 20px / 20px 25px 19px 24px; color: inherit; background: var(--cream); text-decoration: none; transition: transform .34s var(--ease-out), background .24s ease, box-shadow .34s ease; }
.skill-rail a:nth-child(2) { background: rgba(120, 155, 179, .13); }
.skill-rail a:nth-child(3) { background: rgba(214, 90, 71, .10); }
.skill-rail a:nth-child(2) { border-radius: 19px 25px 21px 24px / 24px 20px 25px 19px; }
.skill-rail a:nth-child(3) { border-radius: 25px 20px 23px 18px / 19px 24px 20px 25px; }
.skill-rail a:hover { transform: translateY(-4px) rotate(-.25deg); box-shadow: var(--soft-shadow); }
.skill-rail a > span { color: var(--red); font-family: var(--mono); font-size: 8px; }
.skill-rail strong { display: block; margin-top: 34px; font-size: 19px; font-weight: 650; letter-spacing: -.035em; }
.skill-rail p { max-width: 260px; margin: 11px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.skill-rail i { position: absolute; right: 22px; bottom: 22px; color: var(--red); font-style: normal; opacity: 0; transform: translate(-7px, 7px); transition: .28s var(--ease-out); }
.skill-rail a:hover i { opacity: 1; transform: none; }
.reading-list { display: grid; gap: 10px; }
.reading-item { min-height: 76px; display: grid; grid-template-columns: 80px 1fr auto 24px; align-items: center; gap: 22px; padding: 0 22px; border-radius: 18px 15px 19px 16px / 16px 19px 15px 18px; background: rgba(250, 247, 241, .78); text-decoration: none; transition: transform .3s var(--ease-out), background .2s ease, box-shadow .3s ease; }
.reading-item:hover { color: var(--ink); background: #faf7f1; transform: translateX(6px); box-shadow: var(--soft-shadow); }
.reading-item time, .reading-item span { color: var(--soft); font-family: var(--mono); font-size: 8px; font-style: normal; }
.reading-item strong { font-size: 16px; font-weight: 590; letter-spacing: -.025em; }
.reading-item i { color: var(--red); font-style: normal; opacity: 0; transition: opacity .2s ease; }
.reading-item:hover i { opacity: 1; }
.article-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.article-preview {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 23px 19px 25px 20px / 20px 25px 19px 24px;
  color: inherit;
  background-color: var(--cream);
  text-decoration: none;
  transition: transform .34s var(--ease-out), box-shadow .34s ease;
}
.article-preview:nth-child(2) { border-radius: 19px 25px 21px 24px / 24px 20px 25px 19px; background-color: rgba(120, 155, 179, .13); }
.article-preview:nth-child(3) { border-radius: 25px 20px 23px 18px / 19px 24px 20px 25px; background-color: rgba(214, 90, 71, .10); }
.article-preview:hover { color: var(--ink); transform: translateY(-4px) rotate(-.18deg); box-shadow: var(--soft-shadow); }
.article-preview-media { height: 180px; overflow: hidden; background: #e8e0d4; }
.article-preview-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .56s var(--ease-out), filter .34s ease; filter: saturate(.56) contrast(.96) brightness(1.015); }
.article-preview:first-child .article-preview-media img { object-position: 54% 55%; transform: scale(1.06); }
.article-preview:nth-child(2) .article-preview-media img { object-position: center; }
.article-preview:nth-child(3) .article-preview-media { display: grid; place-items: center; background: rgba(120, 155, 179, .15); }
.article-preview:nth-child(3) .article-preview-media img { width: 78%; height: 78%; object-fit: contain; filter: none; }
.article-preview:hover .article-preview-media img { transform: scale(1.035); filter: saturate(.72) contrast(.98); }
.article-preview:first-child:hover .article-preview-media img { transform: scale(1.095); }
.article-preview:nth-child(3):hover .article-preview-media img { transform: scale(1.045) rotate(-.4deg); filter: none; }
.article-preview-copy { position: relative; min-height: 120px; display: flex; flex-direction: column; padding: 19px 21px 22px; }
.article-preview-copy > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--soft); font-family: var(--mono); font-size: 8px; }
.article-preview-copy time { font-style: normal; }
.article-preview-copy strong { max-width: calc(100% - 28px); margin-top: 18px; font-size: 17px; font-weight: 650; line-height: 1.35; letter-spacing: -.035em; }
.article-preview-copy i { position: absolute; right: 20px; bottom: 19px; color: var(--red); font-style: normal; opacity: 0; transform: translate(-6px, 6px); transition: .28s var(--ease-out); }
.article-preview:hover .article-preview-copy i { opacity: 1; transform: none; }
.home-contact { display: grid; grid-template-columns: minmax(150px, .48fr) minmax(0, 1.52fr); align-items: center; gap: 34px; margin: 70px 0 20px; padding: 28px 32px; border-radius: 27px 22px 29px 24px / 23px 28px 22px 27px; background: rgba(226, 192, 122, .20); }
.home-contact h2 { margin: 0; font-size: 23px; font-weight: 680; letter-spacing: -.04em; }
.home-contact-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.home-contact-links a { min-width: 0; min-height: 58px; display: grid; grid-template-columns: 19px 1fr auto; align-items: center; gap: 10px; padding: 0 16px; border-radius: 17px 14px 18px 15px / 15px 18px 14px 17px; color: var(--muted); background: rgba(250, 247, 241, .74); font-size: 11px; font-weight: 580; text-decoration: none; transition: color .2s ease, transform .28s var(--ease-out), background .2s ease; }
.home-contact-links a:nth-child(2) { border-radius: 14px 18px 15px 17px / 17px 15px 18px 14px; }
.home-contact-links a:nth-child(3) { border-radius: 18px 15px 17px 14px / 14px 17px 15px 18px; }
.home-contact-links a:nth-child(4) { border-radius: 15px 17px 14px 18px / 18px 14px 17px 15px; }
.home-contact-links a:hover { color: var(--ink); background: #faf7f1; transform: translateY(-3px) rotate(-.25deg); }
.home-contact-links svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.home-contact-links i { color: var(--red); font-style: normal; opacity: .72; transition: transform .24s var(--ease-out), opacity .2s ease; }
.home-contact-links a:hover i { opacity: 1; transform: translate(2px, -2px); }
.page-footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding: 30px 0 42px; color: var(--soft); font-family: var(--mono); font-size: 8px; letter-spacing: .02em; }
.page-footer a { text-decoration: none; }

.listing-page { min-height: calc(100svh - 92px); display: flex; flex-direction: column; padding: 96px 0 0; }
main.listing-page { width: var(--page); margin-right: auto; margin-left: auto; }
.listing-page > .page-footer { margin-top: auto; }
.project-showcase { position: relative; height: 350px; display: grid; grid-template-columns: .62fr 1.38fr; overflow: hidden; margin-bottom: 16px; border-radius: 29px 23px 30px 25px / 24px 30px 23px 29px; background: var(--surface); color: inherit; text-decoration: none; transition: transform .42s var(--ease-out), box-shadow .42s var(--ease-out); }
.project-showcase:hover { transform: translateY(-4px); box-shadow: var(--soft-shadow); }
.showcase-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding: 58px 32px 38px 50px; }
.showcase-copy h2 { max-width: 350px; margin: 0; font-size: clamp(26px, 2.2vw, 31px); line-height: 1.1; letter-spacing: -.045em; }
.showcase-copy p { max-width: 330px; margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.showcase-copy > span { margin-top: 26px; color: var(--soft); font-family: var(--mono); font-size: 8px; }
.showcase-copy > a, .showcase-copy > i { width: 36px; height: 36px; display: grid; place-items: center; margin-top: auto; border-radius: 50%; color: var(--red); background: rgba(255, 255, 255, .72); text-decoration: none; font-style: normal; transition: transform .28s var(--ease-out), background .2s ease; }
.project-showcase:hover .showcase-copy > a, .project-showcase:hover .showcase-copy > i { transform: translateX(6px); background: #fff; }
.showcase-copy svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.showcase-media { position: relative; overflow: hidden; min-height: 0; }
.controller-media { background: radial-gradient(circle at 57% 45%, rgba(255,255,255,.9), transparent 58%); }
.controller-media img { position: absolute; inset: 0; width: 116%; max-width: none; height: 100%; object-fit: cover; object-position: 40% center; transform: translateX(-2%) scale(1.02); filter: saturate(.28) brightness(1.035) contrast(.96); transition: transform .66s var(--ease-out); }
.project-showcase:hover .controller-media img { transform: translateX(-4%) scale(1.05); }
.webuild-showcase { background: #edf1f1; }
.webuild-media { display: grid; align-items: end; padding: 26px 30px 0 0; }
.browser-frame { width: 104%; height: 91%; overflow: hidden; border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 18px 46px rgba(43, 52, 60, .11); transform: translateY(8px); transition: transform .5s var(--ease-out); }
.webuild-showcase:hover .browser-frame { transform: translateY(0); }
.browser-bar { height: 48px; display: flex; align-items: center; gap: 24px; padding: 0 22px; color: #778079; font-size: 8px; }
.browser-bar b { margin-right: 10px; color: var(--ink); font-size: 14px; }
.browser-bar em { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: var(--yellow); }
.community-preview { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; padding: 28px; }
.community-lead small { color: var(--red); font-family: var(--mono); font-size: 7px; }
.community-lead strong { display: block; margin-top: 12px; font-size: 19px; line-height: 1.35; letter-spacing: -.04em; }
.community-lead p { max-width: 220px; margin: 11px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.community-lead button { margin-top: 18px; padding: 8px 13px; border: 0; border-radius: 7px; color: #fff; background: var(--ink); font-size: 8px; }
.community-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.community-cards article { min-width: 0; padding: 9px; border-radius: 10px; background: var(--cream); }
.community-cards i { display: block; height: 80px; border-radius: 7px; background: #2e3436; }
.community-cards article:nth-child(2) i { background: #4d7487; }
.community-cards article:nth-child(3) i { background: #a75345; }
.community-cards b { display: block; overflow: hidden; margin-top: 10px; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.community-cards span { display: block; overflow: hidden; margin-top: 5px; color: var(--muted); font-size: 7px; white-space: nowrap; text-overflow: ellipsis; }
.workflow-showcase { background: #ece9e2; }
.workflow-media { margin: 25px 25px 0 0; overflow: hidden; border-radius: 15px 15px 0 0; color: #dbe2e0; background: #171b1c; box-shadow: 0 20px 44px rgba(18, 24, 24, .17); }
.workflow-toolbar { height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px; color: #aeb8b5; font-family: var(--mono); font-size: 8px; }
.workflow-toolbar i { width: 6px; height: 6px; border-radius: 50%; background: #6fc89c; }
.workflow-toolbar button { margin-left: auto; padding: 7px 13px; border: 0; border-radius: 7px; color: #fff; background: var(--red); font-size: 8px; }
.workflow-canvas { min-width: 700px; height: 265px; display: flex; align-items: center; justify-content: center; padding: 30px; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; }
.flow-node { padding: 13px 14px; border-radius: 9px; color: #c8d0ce; background: #292f30; font-size: 9px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.flow-node.start { background: #214637; }
.flow-node.active { background: #485f6e; }
.flow-line { width: 23px; height: 1px; background: #596260; }

.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.content-card { min-height: 275px; display: flex; flex-direction: column; padding: 27px; border-radius: 23px 19px 25px 20px / 20px 25px 19px 24px; background: rgba(250,247,241,.84); color: inherit; text-decoration: none; box-shadow: 0 8px 28px rgba(69, 52, 31, .035); transition: transform .32s var(--ease-out), box-shadow .32s var(--ease-out), background .2s ease; }
.content-card:hover { transform: translateY(-5px) rotate(-.2deg); background: #fff; box-shadow: var(--soft-shadow); }
.content-card small { color: var(--red); font-family: var(--mono); font-size: 8px; }
.content-card h2 { margin: 58px 0 11px; font-size: 21px; line-height: 1.38; letter-spacing: -.035em; }
.content-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.content-card .arrow { margin-top: auto; padding-top: 21px; color: var(--red); font-size: 10px; }
.skill-card:nth-child(3n+1) { background: rgba(120, 155, 179, .12); }
.skill-card:nth-child(3n+2) { background: rgba(242, 182, 50, .12); }
.skill-card:nth-child(3n+3) { background: rgba(214, 90, 71, .09); }
.article-card:nth-child(3n+1) { color: #fff; background: var(--ink); }
.article-card:nth-child(3n+1) p { color: #aaa59c; }
.tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; }
.tool-item { min-height: 142px; display: grid; place-items: center; gap: 10px; padding: 20px; border-radius: 21px 17px 22px 18px / 18px 22px 17px 21px; background: rgba(250,247,241,.79); transition: transform .28s var(--ease-out), box-shadow .28s ease; }
.tool-item:hover { transform: translateY(-4px) rotate(.4deg); box-shadow: var(--soft-shadow); }
.tool-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: var(--ink); font-weight: 700; }
.tool-item:nth-child(3n+1) .tool-mark { background: var(--blue); }
.tool-item:nth-child(3n+2) .tool-mark { background: var(--red); }
.tool-item span:last-child { color: var(--muted); font-size: 11px; }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-panel { min-height: 350px; padding: 37px; border-radius: 26px 21px 28px 22px / 22px 27px 21px 26px; background: #faf7f1; }
.contact-panel.yellow { background: rgba(242, 182, 50, .16); }
.contact-panel h2 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.contact-panel p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.contact-methods { display: grid; gap: 8px; margin-top: 27px; }
.contact-methods a { display: flex; justify-content: space-between; gap: 18px; padding: 14px; border-radius: 11px; background: var(--surface); font-size: 11px; text-decoration: none; }
.qr-placeholder { width: 160px; aspect-ratio: 1; display: grid; place-items: center; margin-top: 25px; border-radius: 18px; color: var(--muted); background: rgba(255,255,255,.7); font-size: 11px; text-align: center; }

.featured-work,
.skill-rail a,
.reading-item,
.article-preview,
.home-contact,
.home-contact-links a,
.project-showcase,
.content-card,
.tool-item,
.contact-panel,
.contact-methods a,
.qr-placeholder {
  background-image: var(--felt-texture);
  background-repeat: repeat;
  background-size: 256px 256px;
  background-blend-mode: soft-light;
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, .48),
    inset 0 -4px 9px rgba(83, 62, 36, .035),
    0 8px 24px rgba(69, 52, 31, .045),
    0 0 11px rgba(69, 52, 31, .028);
}

.sticker-page {
  position: absolute;
  z-index: 5;
  pointer-events: auto;
  cursor: default;
  transform-origin: center;
  transition: opacity .34s ease var(--sticker-delay, 0ms), transform .3s var(--ease-out), filter .28s ease;
}
.sticker-page:hover { filter: drop-shadow(0 18px 22px rgba(23, 23, 23, .13)); }
.sticker-projects { width: 142px; right: -46px; top: 28px; transform: rotate(2deg); }
.sticker-projects:hover { transform: translateY(-6px) rotate(-2deg); }
.sticker-tutorials { width: 130px; right: -18px; top: 26px; transform: rotate(4deg); }
.sticker-tutorials:hover { transform: translateY(-6px) rotate(-2deg); }
.sticker-articles { width: 176px; right: -48px; top: 20px; transform: rotate(3deg); }
.sticker-articles:hover { transform: translateY(-5px) rotate(-1deg); }
.sticker-skills { width: 155px; right: -34px; top: 29px; transform: rotate(2deg); }
.sticker-skills:hover { transform: translateY(-5px) rotate(-2deg); }
.sticker-contact { width: 210px; right: -26px; top: 17px; transform: rotate(1deg); }
.sticker-contact:hover { transform: translateY(-5px) rotate(-2deg); }
.sticker-contact-motion {
  aspect-ratio: 1;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.sticker-contact-motion:hover { transform: rotate(1deg); }
.sticker-contact-motion:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.contact-sticker-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
  transform-origin: 50% 66%;
  will-change: transform;
  filter: drop-shadow(0 11px 12px rgba(23, 23, 23, .09));
}
.sticker-contact-motion:not(.is-awake) .contact-sticker-video { animation: contact-sleep-breathe 3.8s ease-in-out infinite; }
.sticker-contact-motion.is-awake .contact-sticker-video { animation: none; }

@keyframes contact-sleep-breathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.006); }
}

.route-sticker-hop {
  position: fixed;
  z-index: 100;
  width: 68px;
  max-height: 68px;
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.45) rotate(-8deg);
  filter: drop-shadow(0 10px 12px rgba(23,23,23,.12));
}
.route-sticker-hop.is-hopping { animation: route-sticker-hop .28s var(--ease-out) both; }
body.is-sticker-leaving { overflow: hidden; }
body.is-sticker-leaving > main { opacity: .58; transform: translateY(4px); transition: opacity .22s ease, transform .26s var(--ease-out); }
body.sticker-arrived.page-ready main { animation: sticker-arrive .32s var(--ease-out) both; }

@keyframes page-load { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes sticker-arrive { from { opacity: .58; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes route-sticker-hop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.45) rotate(-8deg); }
  45% { opacity: 1; transform: translate(-50%, calc(-50% - 34px)) scale(1) rotate(var(--route-turn)); }
  100% { opacity: 0; transform: translate(-50%, calc(-50% - 22px)) scale(.72) rotate(0deg); }
}
@keyframes sticker-peek-idle {
  0%, 100% { translate: 0 0; }
  42% { translate: -5px 3px; }
  58% { translate: -7px 0; }
}

@media (max-width: 980px) {
  :root { --page: min(100% - 36px, 780px); }
  .site-header { justify-items: end; }
  .studio-hero { min-height: 0; grid-template-columns: 1fr; gap: 12px; padding-top: 92px; }
  .studio-intro { padding-left: 0; }
  .character-stage { min-height: 410px; }
  .motion-sequence { inset: -2% -5% -1%; }
  .motion-sequence canvas { width: min(600px, 92%); }
  .sticker-home-peek { right: 8%; }
  .featured-work { min-height: 540px; grid-template-columns: 1fr; }
  .featured-copy { padding: 44px 48px 22px; }
  .featured-media { min-height: 320px; }
  .project-showcase { height: auto; grid-template-columns: 1fr; }
  .showcase-copy { min-height: 280px; }
  .showcase-media { min-height: 320px; }
  .webuild-media { padding-left: 28px; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 720px) {
  :root { --page: calc(100% - 28px); }
  .site-header { top: 8px; width: calc(100% - 16px); height: 94px; margin-top: 8px; display: block; }
  .brand { left: 8px; top: 18px; transform: none; }
  .brand span { display: none; }
  .brand strong { font-size: 17px; }
  .site-nav { position: absolute; top: 45px; left: 0; right: 0; justify-content: flex-start; max-width: 100%; overflow-x: auto; padding-right: 6px; padding-left: 6px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding-right: 9px; padding-left: 9px; font-size: 11px; }
  .language-switch { right: 7px; top: 17px; transform: none; }
  .language-switch a, .language-switch span { min-width: 25px; padding-right: 5px; padding-left: 5px; font-size: 8px; }
  .studio-hero { padding-top: 104px; }
  .home-cat { bottom: -10px; width: 112px; }
  .identity-line { font-size: 23px; }
  .intro-copy { margin-top: 18px; font-size: 13px; }
  .social-row { gap: 18px; margin-top: 31px; }
  .character-stage { min-height: 340px; }
  .motion-sequence { inset: -3% -7% -1%; }
  .motion-sequence canvas { width: min(520px, 104%); }
  .sticker-home-peek { width: 21%; right: 5%; top: 8%; }
  .home-section { padding: 48px 0; }
  .section-title { font-size: 23px; }
  .featured-work { min-height: 490px; }
  .featured-copy { padding: 32px 27px 12px; }
  .featured-media { min-height: 275px; }
  .featured-media img { width: 145%; transform: translateX(-16%) scale(1.04); }
  .skill-rail { grid-template-columns: 1fr; }
  .skill-rail a { min-height: 165px; padding: 24px; }
  .skill-rail strong { margin-top: 22px; }
  .article-rail { grid-template-columns: 1fr; }
  .article-preview-media { height: 210px; }
  .article-preview-copy { min-height: 112px; padding: 18px 20px 21px; }
  .reading-item { grid-template-columns: 54px 1fr 20px; gap: 12px; padding: 0 15px; }
  .reading-item > span { display: none; }
  .home-contact { grid-template-columns: 1fr; gap: 20px; padding: 26px 22px; }
  .home-contact-links { grid-template-columns: 1fr; }
  .listing-page { padding-top: 110px; }
  .project-showcase { margin-bottom: 12px; }
  .showcase-copy { min-height: 250px; padding: 38px 27px 27px; }
  .showcase-media { min-height: 275px; }
  .webuild-media { padding: 18px 16px 0; }
  .browser-frame { width: 110%; }
  .community-preview { grid-template-columns: 1fr; }
  .community-cards { display: none; }
  .workflow-media { margin: 14px 14px 0; }
  .content-grid, .contact-page-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .page-footer { flex-direction: column; }
  .sticker-page { right: -20px; top: 18px; transform: scale(.75) rotate(2deg); transform-origin: top right; }
  .sticker-page:hover { transform: scale(.75) translateY(-4px) rotate(-1deg); }
  .sticker-contact { right: -8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .route-sticker-hop { display: none; }
  .home-cat-shadow { opacity: .65; }
}
