:root {
  --bg: #fdfdfb;
  --bg-soft: #f3f5f0;
  --surface: #ffffff;
  --text: #111411;
  --text-sub: #555d56;
  --text-mute: #8a938b;
  --line: #dde2dc;
  --line-dark: #bcc5bd;
  --accent: #74d719;
  --accent-dark: #3f8f00;
  --mint: #e8f7e3;
  --radius: 6px;
  --max: 1120px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  min-width: 320px;
  color: var(--text);
  background-color: var(--bg);
  background-image: url("assets/paper-texture.png");
  background-size: 960px auto;
  background-attachment: fixed;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
::selection { color: #102000; background: #bfff7e; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: 0; color: inherit; background: none; font: inherit; cursor: pointer; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 32px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: rgb(253 253 251 / .82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: border-color .2s, background .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgb(253 253 251 / .95); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 38px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 800 17px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.04em; }
.logo img { border: 1px solid var(--line-dark); image-rendering: pixelated; }
.logo i { margin-left: -8px; color: var(--accent-dark); font-style: normal; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.nav { display: flex; gap: 28px; margin-left: auto; color: var(--text-mute); font-size: 13px; font-weight: 650; }
.nav a { position: relative; transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: -17px; width: 5px; height: 5px; transform: translateX(-50%); background: var(--accent); }
.icon-link { display: flex; color: var(--text-sub); transition: color .2s, transform .2s; }
.icon-link:hover { color: var(--accent-dark); transform: translateY(-2px); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100svh - var(--header-h)));
  display: flex;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 110px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 32px;
  top: 104px;
  width: clamp(170px, 22vw, 270px);
  aspect-ratio: 1;
  border: 1px solid #b9df9b;
  background:
    linear-gradient(90deg, transparent 49.7%, #d9ead0 50%, transparent 50.3%),
    linear-gradient(transparent 49.7%, #d9ead0 50%, transparent 50.3%);
  transform: rotate(3deg);
}
.hero::after {
  content: "GTR / 01";
  position: absolute;
  z-index: 0;
  right: 54px;
  top: 127px;
  color: #5f9d32;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
}
.hero__text { width: 100%; position: relative; z-index: 1; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--text-sub); font: 650 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .07em; text-transform: uppercase; }
.hero__eyebrow span { padding: 5px 9px; color: #245c00; border: 1px solid #a9df78; background: #edfadf; }
.hero__title { max-width: 850px; font-size: clamp(52px, 7.4vw, 88px); line-height: 1.05; font-weight: 770; letter-spacing: -.065em; text-wrap: balance; }
.hero__title strong { color: var(--accent-dark); font-weight: 850; }
.hero__desc { max-width: 610px; margin-top: 28px; color: var(--text-sub); font-size: clamp(16px, 1.7vw, 19px); }
.hero__desc em { color: var(--text); font-style: normal; font-weight: 680; }
.hero__actions { display: flex; gap: 10px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 26px; padding: 0 19px; border: 1px solid var(--text); font-size: 14px; font-weight: 720; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: #132300; border-color: var(--accent); background: var(--accent); }
.button--primary:hover { background: #8ce93b; }
.button--ghost { background: rgb(255 255 255 / .68); }
.button--ghost:hover { color: #fff; background: var(--text); }
.stats { width: min(620px, 100%); display: flex; margin-top: 54px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: rgb(255 255 255 / .58); backdrop-filter: blur(7px); }
.stats > div { flex: 1; padding: 15px 18px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats dt { color: var(--text-mute); font-size: 11px; }
.stats dd { margin-top: 2px; font: 750 23px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.04em; }

/* Shared sections */
.section { position: relative; padding-top: 142px; padding-bottom: 28px; }
.section::before { content: ""; position: absolute; top: 84px; left: 32px; right: 32px; height: 1px; background: var(--line); }
.section__title { display: flex; align-items: center; gap: 12px; margin-bottom: 38px; font-size: 32px; line-height: 1.3; font-weight: 760; letter-spacing: -.04em; }
.section__title::before { content: "//"; color: var(--accent-dark); font: 750 15px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.18em; }
.section__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.section__head .section__title { margin-bottom: 0; }
.section__note { margin-bottom: 25px; color: var(--text-mute); font-size: 13px; }

/* Strengths */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { position: relative; min-height: 305px; overflow: hidden; padding: 30px 26px; border: 1px solid var(--line); background: var(--surface); transition: transform .25s, border-color .25s, box-shadow .25s; }
.card:nth-child(2) { background: #f4f8ef; }
.card:hover { transform: translateY(-6px); border-color: #99c976; box-shadow: 0 18px 44px rgb(53 84 35 / .09); }
.card::after { content: ""; position: absolute; right: -35px; bottom: -50px; width: 125px; height: 125px; border: 1px solid #cfe6be; transform: rotate(45deg); }
.card__num { color: var(--accent-dark); font: 750 12px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.card h3 { max-width: 255px; margin: 50px 0 13px; font-size: 21px; line-height: 1.42; letter-spacing: -.025em; }
.card p { position: relative; z-index: 1; color: var(--text-sub); font-size: 14px; }

/* Experience */
.exp { border-top: 1px solid var(--line-dark); }
.exp__item { display: grid; grid-template-columns: 190px 1fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); transition: padding-left .25s, background .25s; }
.exp__item:hover { padding-left: 12px; background: linear-gradient(90deg, #f4faef, transparent); }
.exp__period { color: var(--accent-dark); font: 650 13px/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; font-variant-numeric: tabular-nums; }
.exp__body h3 { font-size: 21px; letter-spacing: -.025em; }
.exp__body h3 a { border-bottom: 1px solid var(--line-dark); transition: color .2s, border-color .2s; }
.exp__body h3 a:hover { color: var(--accent-dark); border-color: var(--accent-dark); }
.exp__role { margin: 3px 0 9px; color: var(--accent-dark); font-size: 13px; font-weight: 680; }
.exp__body p:last-child { color: var(--text-sub); font-size: 14px; }

/* Client mod showcase */
.client-project { overflow: hidden; border: 1px solid var(--line-dark); background: rgb(255 255 255 / .76); }
.client-project__copy { padding: 48px 48px 0; }
.client-project__title { margin-top: 20px; font-size: clamp(38px, 5vw, 58px); line-height: 1.08; font-weight: 830; letter-spacing: -.055em; }
.client-project__lead { max-width: 720px; margin-top: 12px; font-size: clamp(18px, 2.2vw, 23px); line-height: 1.45; font-weight: 680; letter-spacing: -.025em; }
.client-project__desc { max-width: 820px; margin-top: 18px; color: var(--text-sub); font-size: 14px; }
.client-preview-toggle { display: inline-flex; align-items: center; gap: 9px; margin-top: 25px; padding: 11px 15px; color: #183006; border: 1px solid #96c970; background: #ecf8e3; font-size: 13px; font-weight: 740; transition: background .2s, border-color .2s; }
.client-preview-toggle::after { content: "↓"; color: var(--accent-dark); font: 750 14px/1 ui-monospace, monospace; transition: transform .25s; }
.client-preview-toggle:hover { border-color: var(--accent-dark); background: #e4f5d8; }
.client-preview-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.showcase-tabs { display: flex; gap: 6px; margin-top: 34px; overflow-x: auto; scrollbar-width: none; }
.client-project:not(.is-preview-open) .showcase-tabs,
.client-project:not(.is-preview-open) .showcase { display: none; }
.client-project.is-preview-open .showcase-tabs { animation: preview-drop .3s ease both; }
.client-project.is-preview-open .showcase { animation: preview-drop .38s ease both; }
@keyframes preview-drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.showcase-tabs::-webkit-scrollbar { display: none; }
.showcase-tab { flex: 0 0 auto; padding: 10px 14px; color: var(--text-mute); border: 1px solid var(--line); background: #fff; font-size: 12px; font-weight: 700; transition: color .2s, border-color .2s, background .2s; }
.showcase-tab:hover { color: var(--text); border-color: var(--line-dark); }
.showcase-tab.is-active { color: #142400; border-color: var(--accent); background: var(--accent); }
.showcase { position: relative; min-height: 510px; margin-top: 16px; padding: 46px; display: grid; place-items: center; background: #e9ede8; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.showcase::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(21 30 23 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(21 30 23 / .045) 1px, transparent 1px); background-size: 24px 24px; }
.showcase-panel { position: relative; z-index: 1; width: 100%; max-width: 800px; animation: showcase-in .35s ease both; }
.showcase-panel[hidden] { display: none; }
@keyframes showcase-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mock-window { overflow: hidden; border: 1px solid #32393a; background: #101515; box-shadow: 0 24px 70px rgb(26 42 30 / .18); }
.mock-window__bar { height: 38px; display: flex; align-items: center; gap: 6px; padding: 0 13px; color: #748078; border-bottom: 1px solid #28302b; background: #171d1a; font: 600 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .09em; }
.mock-window__bar > span { width: 7px; height: 7px; border: 1px solid #4b5650; border-radius: 50%; }
.mock-window__bar b { margin-left: 8px; color: #cfd7d0; font-weight: 650; }
.mock-window__bar em { margin-left: auto; color: #90dc55; font-style: normal; }
.platform-demo { min-height: 390px; padding-bottom: 28px; }
.platform-demo__hud { display: flex; align-items: end; gap: 16px; margin: 24px 28px 14px; padding: 14px 16px; color: #aeb8b0; border: 1px solid #303c34; background: #151c18; font: 550 10px/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }
.platform-demo__hud b { color: #b6ef7d; font-size: 23px; }
.platform-demo__hud span:last-child { margin-left: auto; }
.platform-demo__apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding: 0 28px; }
.platform-demo__apps > div { min-height: 212px; padding: 20px 16px; display: flex; flex-direction: column; border: 1px solid #2c3731; background: linear-gradient(150deg, #1b2420, #111714); transition: transform .2s, border-color .2s; }
.platform-demo__apps > div:hover { transform: translateY(-3px); border-color: #7aa955; }
.platform-demo__apps i { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: auto; color: #b6ef7d; border: 1px solid #40533f; background: #222d25; font: 500 20px/1 ui-monospace, monospace; font-style: normal; }
.platform-demo__apps b { color: #f2f5f2; font-size: 14px; }
.platform-demo__apps small { margin-top: 4px; color: #727d75; font-size: 10px; }

.phone-demo { position: relative; width: 340px; min-height: 455px; margin-inline: auto; overflow: hidden; color: #eee; border: 6px solid #262631; border-radius: 36px; background: #111118; box-shadow: 0 28px 70px rgb(21 24 22 / .23); }
.phone-demo__notch { position: absolute; z-index: 2; top: 0; left: 50%; width: 112px; height: 22px; transform: translateX(-50%); border-radius: 0 0 14px 14px; background: #08080d; }
.phone-demo__status { height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: #888; background: #0e0e16; font: 550 9px/1 ui-monospace, monospace; }
.phone-demo__header { height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; border-bottom: 1px solid #2a2a3a; background: #0e0e16; }
.phone-demo__header strong { font-size: 17px; }
.phone-demo__header button { width: 32px; height: 32px; color: #aaa; border-radius: 8px; background: #1a1a28; pointer-events: none; }
.phone-demo__chat { height: 74px; display: flex; align-items: center; gap: 11px; padding: 12px 16px; border-bottom: 1px solid #20202d; }
.phone-demo__chat > i { position: relative; width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; color: #aaa; border-radius: 14px; background: #1a1a28; font-style: normal; font-weight: 700; }
.phone-demo__chat:first-of-type > i::after { content: ""; position: absolute; right: 0; bottom: 0; width: 9px; height: 9px; border: 2px solid #111118; border-radius: 50%; background: #4a9a6a; }
.phone-demo__chat p { min-width: 0; display: flex; flex: 1; flex-direction: column; }
.phone-demo__chat b { font-size: 12px; }
.phone-demo__chat small { overflow: hidden; color: #666; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.phone-demo__chat time { color: #555; font-size: 9px; }
.phone-demo__dock { position: absolute; left: 14px; right: 14px; bottom: 15px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 10px 6px; border: 1px solid #29293a; border-radius: 18px; background: rgb(19 19 29 / .96); }
.phone-demo__dock span { min-height: 44px; display: grid; place-items: end center; padding-bottom: 3px; color: #6f6f7d; border-radius: 10px; background: #1a1a28; font-size: 8px; }

.dialogue-demo { min-height: 420px; overflow: hidden; display: grid; grid-template-columns: 1.08fr .92fr; border: 1px solid #282f2b; background: #101413; box-shadow: 0 24px 70px rgb(26 42 30 / .17); }
.dialogue-demo__editor { position: relative; min-height: 420px; overflow: hidden; background-color: #171d1b; background-image: radial-gradient(#39423e 1px, transparent 1px); background-size: 18px 18px; }
.editor-node { position: absolute; width: 112px; padding: 12px; color: #e6ebe7; border: 1px solid #4e5e53; border-radius: 4px; background: #222a26; font: 650 11px/1.35 ui-monospace, monospace; box-shadow: 0 8px 20px rgb(0 0 0 / .18); }
.editor-node small { color: #7f8c83; font-size: 8px; }
.editor-node--start { top: 48px; left: 34px; border-color: #76a84e; }
.editor-node--choice { top: 166px; left: 185px; }
.editor-node--end { right: 35px; bottom: 49px; }
.editor-line { position: absolute; height: 1px; background: #66814f; transform-origin: left; }
.editor-line--one { top: 107px; left: 134px; width: 112px; transform: rotate(36deg); }
.editor-line--two { top: 230px; left: 286px; width: 120px; transform: rotate(31deg); }
.dialogue-demo__game { min-height: 420px; display: flex; flex-direction: column; justify-content: end; padding: 32px 27px; color: white; background: linear-gradient(180deg, #80988a, #334139 50%, #141a17); }
.dialogue-demo__game small { width: fit-content; padding: 4px 9px; color: #b8ee8d; background: #111814; font-weight: 700; }
.dialogue-demo__game p { padding: 17px; border: 1px solid rgb(255 255 255 / .27); background: rgb(10 14 12 / .78); font-size: 14px; line-height: 1.65; }
.dialogue-demo__game div { display: grid; gap: 5px; margin-top: 8px; }
.dialogue-demo__game span { padding: 8px 11px; color: #cad3cc; border: 1px solid rgb(255 255 255 / .14); background: rgb(10 14 12 / .66); font-size: 10px; }
.dialogue-demo__game span:first-child { color: #15210c; border-color: #9ddd6b; background: #aeea7f; }

.cosmetics-demo { min-height: 420px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid #313738; background: #111616; box-shadow: 0 24px 70px rgb(26 42 30 / .17); }
.cosmetic-avatar { position: relative; min-height: 420px; background: radial-gradient(circle at 50% 45%, #344338, #18201c 55%, #0e1210); }
.cosmetic-avatar span { position: absolute; display: block; background: #dbdfdb; box-shadow: inset -12px -10px rgb(0 0 0 / .08); }
.cosmetic-avatar__head { top: 77px; left: calc(50% - 37px); width: 74px; height: 74px; }
.cosmetic-avatar__body { top: 157px; left: calc(50% - 48px); width: 96px; height: 132px; background: #282d2b !important; }
.cosmetic-avatar__arm { top: 160px; width: 29px; height: 126px; background: #ecefec !important; }
.cosmetic-avatar__arm--left { left: calc(50% - 81px); }
.cosmetic-avatar__arm--right { right: calc(50% - 81px); }
.cosmetic-avatar__wing { z-index: 0; top: 142px; width: 98px; height: 176px; border: 2px solid #a3e66f; background: rgb(125 214 53 / .28) !important; box-shadow: none !important; clip-path: polygon(100% 0, 86% 100%, 0 35%); }
.cosmetic-avatar__wing--left { left: calc(50% - 143px); transform: scaleX(-1) rotate(-8deg); }
.cosmetic-avatar__wing--right { right: calc(50% - 143px); transform: rotate(-8deg); }
.cosmetics-demo__panel { padding: 42px 34px; color: #e9ece9; border-left: 1px solid #303834; background: #181e1b; }
.cosmetics-demo__eyebrow { color: #8eca5e; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .12em; }
.cosmetics-demo__panel h4 { margin: 12px 0 34px; font-size: 27px; }
.cosmetics-demo__panel label { display: block; margin-top: 18px; color: #8f9991; font-size: 10px; }
.cosmetics-demo__panel label i { position: relative; height: 3px; display: block; margin-top: 9px; background: #303934; }
.cosmetics-demo__panel label i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--value); background: #88cc51; }
.cosmetics-demo__swatches { display: flex; gap: 7px; margin-top: 35px; }
.cosmetics-demo__swatches button { width: 24px; height: 24px; border: 2px solid #181e1b; outline: 1px solid #465148; background: #a3e66f; pointer-events: none; }
.cosmetics-demo__swatches button:nth-child(2) { background: #7da7f2; }
.cosmetics-demo__swatches button:nth-child(3) { background: #eb8ca7; }
.cosmetics-demo__swatches button:nth-child(4) { background: #eee; }

/* Source-faithful client previews — dimensions come from the projects themselves. */
.source-preview { position: relative; width: 100%; overflow: hidden; border: 1px solid rgb(18 25 22 / .34); background: #0c0e12; box-shadow: 0 24px 70px rgb(26 42 30 / .18); }
.source-preview--client,
.source-preview--dialogue { aspect-ratio: 16 / 9; }
.source-preview--client > img:not(.client-backdrop) { position: absolute; left: calc(var(--x) / 1920 * 100%); top: calc(var(--y) / 1080 * 100%); width: calc(var(--w) / 1920 * 100%); height: calc(var(--h) / 1080 * 100%); object-fit: fill; }
.source-preview--client .client-backdrop,
.source-preview--dialogue > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.source-preview--cosmetics { aspect-ratio: 1280 / 819; }
.source-preview--cosmetics > img { position: absolute; left: -1.25%; top: -1.954%; width: 102.5%; height: 103.907%; max-width: none; object-fit: fill; }

.phone-stage { min-height: 660px; display: grid; place-items: center; }
.phone-demo { container-type: inline-size; position: relative; width: min(360px, 100%); min-height: 0; aspect-ratio: 360 / 640; margin-inline: auto; overflow: hidden; color: #eee; border: .556cqw solid #4a4a60; border-radius: 6.667cqw; background: #111118; box-shadow: 0 28px 70px rgb(21 24 22 / .23); }
.phone-demo__notch { position: absolute; z-index: 2; top: 0; left: 33.333%; width: 33.333%; height: 6.111cqw; transform: none; border-radius: 3.889cqw; background: #0a0a12; }
.phone-demo__status { height: auto; min-height: 14.444cqw; display: flex; align-items: center; justify-content: space-between; padding: 6.667cqw 5.556cqw 1.667cqw; color: #aaa; background: #0e0e16; font: 500 2.778cqw/1 Pretendard, sans-serif; }
.phone-demo__status b { color: #fff; font-weight: 700; }
.phone-demo__grid { position: absolute; inset: 14.444cqw 0 5.556cqw; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: max-content; align-content: center; gap: 5.556cqw; padding: 8.333cqw; }
.phone-demo__grid > div { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 1.111cqw; color: #ddd; font-size: 2.778cqw; white-space: nowrap; }
.phone-demo__grid i { width: 14.444cqw; height: 14.444cqw; display: grid; place-items: center; overflow: hidden; border-radius: 3.889cqw; background: #222230; font-style: normal; }
.phone-demo__grid img { width: 8.333cqw; height: 8.333cqw; object-fit: contain; }
.phone-demo__grid .app-egg img { width: 100%; height: 100%; }
.phone-demo__grid .app-yellow { background: #fae03b; }
.phone-demo__grid .app-gallery { background: #2a3a5a; }
.phone-demo__grid .app-call { background: #4abc5c; }
.phone-demo__grid .app-settings { background: #6b7280; }
.phone-demo__grid .app-sos { background: #e53935; }
.phone-demo__home { position: absolute; inset: auto 0 0; height: 5.556cqw; display: grid; place-items: center; background: #0e0e16; }
.phone-demo__home span { width: 27.778cqw; height: 1.111cqw; border-radius: .556cqw; background: #333; }

.capture-gallery { width: 100%; }
.capture-gallery img,
.capture-single img,
.phone-shot > img { display: block; max-width: 100%; height: auto; }
.capture-gallery__main,
.capture-single img { width: 100%; border: 1px solid rgb(18 25 22 / .28); box-shadow: 0 24px 70px rgb(26 42 30 / .16); }
.capture-gallery__strip { display: grid; grid-template-columns: 1.895fr 1.895fr 1.831fr; gap: 8px; margin-top: 8px; }
.capture-gallery__strip img { width: 100%; aspect-ratio: auto; border: 1px solid rgb(18 25 22 / .22); }

.phone-captures { min-height: 660px; display: flex; align-items: center; justify-content: center; gap: 18px; overflow-x: auto; scrollbar-width: thin; }
.phone-shot { position: relative; flex: 0 0 auto; height: 620px; margin: 0; }
.phone-shot > img { width: auto; height: 100%; }
.phone-shot__replacement { position: absolute; z-index: 2; left: 33.1%; top: 39.5%; width: 13.5%; aspect-ratio: 1; display: grid; place-items: center; background: #0b0c13; box-shadow: 0 0 0 7px #0b0c13; }
.phone-shot__replacement img { display: block; width: 100%; height: 100%; }

.dialogue-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgb(18 25 22 / .3); background: #090711; box-shadow: 0 24px 70px rgb(26 42 30 / .18); }
.dialogue-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.capture-single { width: 100%; margin: 0; }

.performance-points { display: grid; grid-template-columns: repeat(4, 1fr); }
.performance-points li { min-height: 92px; padding: 19px 20px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.performance-points li:last-child { border-right: 0; }
.performance-points b { color: var(--accent-dark); font: 750 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; }
.performance-points span { margin-top: 6px; color: var(--text-sub); font-size: 11px; }

/* Featured project */
.project { position: relative; overflow: hidden; padding: 48px; border: 1px solid #b8ccb0; background: linear-gradient(135deg, #edf8e8, #fff 68%); }
.client-project + .project { margin-top: 24px; }
.project::after { content: "HELM / 01"; position: absolute; top: 34px; right: 38px; color: rgb(59 128 0 / .065); font: 850 clamp(44px, 7vw, 84px)/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: -.09em; pointer-events: none; }
.project__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.project__domain { color: var(--text-mute); font: 520 12px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.project__title { position: relative; z-index: 1; margin-top: 20px; font-size: 46px; line-height: 1.1; font-weight: 850; letter-spacing: -.055em; }
.project__lead { position: relative; z-index: 1; max-width: 660px; margin: 9px 0 20px; color: var(--text) !important; font-size: 18px !important; font-weight: 680; }
.project > p { position: relative; z-index: 1; max-width: 790px; color: var(--text-sub); font-size: 14px; }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; color: #327a00; border: 1px solid #9fd277; background: #e5f7d6; font-size: 11px; font-weight: 750; }
.badge--live i { width: 6px; height: 6px; background: currentColor; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 7px currentColor; } 50% { opacity: .3; box-shadow: none; } }
.toggle { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; color: var(--text-sub); font-size: 13px; font-weight: 680; }
.toggle::after { content: "+"; color: var(--accent-dark); font: 750 17px/1 ui-monospace, monospace; transition: transform .25s; }
.toggle[aria-expanded="true"]::after { transform: rotate(45deg); }
.toggle:hover { color: var(--text); }
.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.collapse > * { overflow: hidden; }
.collapse.is-open { grid-template-rows: 1fr; }
.bullets { padding-top: 16px; }
.bullets li { position: relative; padding-left: 17px; margin-bottom: 7px; color: var(--text-sub); font-size: 14px; }
.bullets li::before { content: "›"; position: absolute; left: 0; color: var(--accent-dark); }
.bullets b { color: var(--text); font-weight: 680; }
/* Filters and works */
.filters { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); background: var(--bg-soft); }
.filter { min-width: 52px; padding: 6px 11px; color: var(--text-mute); font: 650 12px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; transition: color .2s, background .2s; }
.filter:hover { color: var(--text); }
.filter.is-active { color: #142400; background: var(--accent); }
.works__year { padding: 30px 0 9px; color: var(--accent-dark); font: 750 13px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.works__year::before { content: "[ "; color: var(--text-mute); }
.works__year::after { content: " ]"; color: var(--text-mute); }
.works__list { border-top: 1px solid var(--line-dark); }
.work { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 24px; min-height: 76px; padding: 15px 14px 15px 0; border-bottom: 1px solid var(--line); transition: padding-left .2s, background .2s; }
.work:hover { padding-left: 14px; background: #f4f9f0; }
.work__name { font-size: 15px; font-weight: 680; }
.work__name a { transition: color .2s; }
.work__name a:hover { color: var(--accent-dark); }
.work__name a::after { content: " ↗"; color: var(--accent-dark); font-size: 11px; }
.work__meta { display: block; margin-top: 2px; color: var(--text-mute); font-size: 12px; font-weight: 400; }
.work__roles { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.role { padding: 3px 8px; color: var(--text-sub); border: 1px solid var(--line); background: #fff; font-size: 11px; white-space: nowrap; }
.role--main { color: #307700; border-color: #add58f; background: #ecf8e3; }
.platform { display: inline-block; margin-left: 7px; padding: 1px 5px; border: 1px solid currentColor; font-size: 9px; font-weight: 800; vertical-align: 2px; }
.platform--soop { color: #3578e5; }
.platform--chzzk { color: #009f64; }

/* Contact */
.contact { margin-top: 132px; margin-bottom: 60px; padding-top: 66px; padding-bottom: 66px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 62px; border: 1px solid #bbd2ae; background: linear-gradient(125deg, #eaf7e3, #fff); }
.contact::before { display: none; }
.contact__title { align-self: center; font-size: clamp(31px, 4.2vw, 47px); line-height: 1.28; font-weight: 770; letter-spacing: -.05em; }
.contact__title::after { content: "_"; color: var(--accent-dark); animation: blink 1.1s steps(1) infinite; }
.contact__list li { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid #cad8c5; font-size: 14px; }
.contact__list li:first-child { border-top: 1px solid #cad8c5; }
.contact__list span { width: 66px; flex-shrink: 0; color: var(--text-mute); font: 540 11px/1.9 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; }
.contact__list a, .copy { border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.contact__list a:hover, .copy:hover { color: var(--accent-dark); border-color: var(--accent-dark); }
.copy::after { content: "copy"; margin-left: 8px; color: var(--text-mute); font: 520 10px/1 ui-monospace, monospace; }
.footer { display: flex; align-items: center; min-height: 74px; padding-top: 20px; padding-bottom: 30px; border-top: 1px solid var(--line); color: var(--text-mute); font: 520 11px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: 28px; transform: translate(-50%, 18px); padding: 10px 16px; color: #152500; border: 1px solid #76bd38; background: #bdf67f; font-size: 13px; font-weight: 720; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .logo i, .contact__title::after, .badge--live i { animation: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero::before { opacity: .58; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card:last-child { grid-column: span 2; min-height: 220px; }
  .contact { gap: 36px; }
  .platform-demo__apps { grid-template-columns: 1fr 1fr; }
  .platform-demo__apps > div { min-height: 150px; }
  .performance-points { grid-template-columns: 1fr 1fr; }
  .performance-points li:nth-child(2) { border-right: 0; }
  .performance-points li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .container { padding-inline: 18px; }
  .header__inner { gap: 15px; }
  .logo span, .logo i { display: none; }
  .nav { width: 100%; gap: 18px; margin-left: 0; overflow-x: auto; font-size: 12px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .nav a.is-active::after { bottom: -14px; }
  .hero { min-height: auto; align-items: flex-end; padding-top: 72px; padding-bottom: 76px; }
  .hero::before, .hero::after { display: none; }
  .hero__text { width: 100%; }
  .hero__eyebrow { flex-wrap: wrap; margin-bottom: 18px; font-size: 10px; }
  .hero__title { font-size: clamp(40px, 12vw, 59px); }
  .br-pc { display: none; }
  .stats { margin-top: 38px; }
  .stats > div { padding: 13px 11px; }
  .stats dt { font-size: 10px; }
  .stats dd { font-size: 19px; }
  .section { padding-top: 104px; }
  .section::before { top: 65px; left: 18px; right: 18px; }
  .cards { grid-template-columns: 1fr; }
  .card, .card:last-child { grid-column: auto; min-height: 0; }
  .card h3 { margin-top: 28px; }
  .exp__item { grid-template-columns: 1fr; gap: 5px; }
  .project { padding: 31px 22px; }
  .project::after { right: 20px; font-size: 42px; }
  .work { grid-template-columns: 1fr; }
  .work__roles { justify-content: flex-start; }
  .contact { margin-top: 100px; margin-inline: 18px; padding: 42px 24px; grid-template-columns: 1fr; gap: 34px; }
  .client-project__copy { padding: 31px 22px 0; }
  .showcase { min-height: 440px; padding: 24px 16px; }
  .capture-gallery__strip { display: flex; overflow-x: auto; }
  .capture-gallery__strip img { width: 54%; flex: 0 0 auto; }
  .phone-captures { min-height: 520px; justify-content: flex-start; padding-inline: 12px; }
  .phone-shot { height: 500px; }
  .platform-demo__hud { margin-inline: 16px; }
  .platform-demo__apps { padding-inline: 16px; }
  .dialogue-demo { grid-template-columns: 1fr; }
  .dialogue-demo__editor { display: none; }
  .cosmetics-demo { grid-template-columns: 1fr; }
  .cosmetic-avatar { min-height: 330px; }
  .cosmetics-demo__panel { padding: 28px 24px; border-left: 0; border-top: 1px solid #303834; }
}

@media (max-width: 430px) {
  .icon-link { display: none; }
  .hero__actions { flex-direction: column; }
  .button { width: 100%; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; }
  .stats > div { border-bottom: 1px solid var(--line); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:last-child { grid-column: span 2; border-bottom: 0; }
  .section__head { align-items: flex-start; }
  .filters { width: 100%; overflow-x: auto; }
  .filter { flex: 1; }
  .contact__list li { gap: 8px; font-size: 13px; }
  .contact__list span { width: 58px; }
  .client-project__title { font-size: 38px; }
  .showcase { min-height: 410px; }
  .phone-demo { width: min(310px, 100%); }
  .platform-demo__apps { grid-template-columns: 1fr; }
  .platform-demo__apps > div { min-height: 116px; }
  .performance-points { grid-template-columns: 1fr; }
  .performance-points li { border-right: 0; border-bottom: 1px solid var(--line); }
  .performance-points li:last-child { border-bottom: 0; }
}
