:root {
  --paper: #f4f1ea;
  --paper-deep: #e9e4da;
  --surface: #fffdf8;
  --ink: #111315;
  --ink-soft: #4f5557;
  --line: #d3cec3;
  --line-dark: #afa99f;
  --accent: #ff5a4f;
  --accent-dark: #d83d35;
  --teal: #087e78;
  --blue: #3867d6;
  --yellow: #f1be3e;
  --success: #18794e;
  --danger: #b42318;
  --shadow-sm: 0 8px 22px rgba(17, 19, 21, 0.08);
  --shadow-lg: 0 24px 70px rgba(17, 19, 21, 0.14);
  --container: 1180px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#projects, #webos, #pueh-run, #studio, #contact { scroll-margin-top: 72px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background-image: linear-gradient(rgba(17, 19, 21, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 19, 21, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 82%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(56, 103, 214, 0.42); outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 9px 14px; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(175, 169, 159, 0.72);
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(18px);
}
.site-brand, .account-chip, .header-actions, .site-nav { display: flex; align-items: center; }
.site-brand { gap: 10px; width: max-content; }
.site-brand img { flex: 0 0 36px; border-radius: 6px; }
.site-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.site-brand strong { font-size: 18px; font-weight: 850; }
.site-brand small { margin-top: 4px; color: var(--ink-soft); font-size: 10px; }
.site-nav { gap: 30px; font-size: 14px; font-weight: 680; }
.site-nav a { position: relative; }
.site-nav a::after { position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; content: ""; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.site-nav a:hover::after { transform: scaleX(1); }
.header-actions { justify-content: flex-end; gap: 8px; }

.button, .icon-button, .copy-button, .account-chip { border: 1px solid transparent; cursor: pointer; transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; gap: 8px; padding: 0 17px; border-radius: var(--radius); font-size: 14px; font-weight: 750; }
.button svg { width: 17px; height: 17px; }
.button:hover, .copy-button:hover, .account-chip:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: #2b2f31; }
.button-light { color: var(--ink); background: white; border-color: rgba(255,255,255,.45); }
.button-outline { color: var(--ink); border-color: var(--line-dark); background: transparent; }
.button-outline:hover, .button-quiet:hover { border-color: var(--ink); background: var(--surface); }
.button-quiet { color: var(--ink); background: transparent; }
.button-danger { color: white; background: var(--danger); }
.button-block { width: 100%; }
.icon-button { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--ink); border-color: var(--line); border-radius: var(--radius); background: var(--surface); }
.icon-button svg { width: 19px; height: 19px; }
.nav-toggle { display: none; }
.account-chip { gap: 8px; padding: 5px 10px 5px 5px; border-color: var(--line); border-radius: var(--radius); background: var(--surface); font-size: 13px; font-weight: 720; }
.avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; color: white; background: var(--teal); font-size: 21px; font-weight: 800; text-transform: uppercase; }
.avatar-small { width: 31px; height: 31px; font-size: 13px; }

.flash-stack { position: fixed; top: 84px; right: max(20px, calc((100vw - var(--container)) / 2)); z-index: 80; display: grid; width: min(390px, calc(100vw - 32px)); gap: 8px; }
.flash, .inline-message { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-left-width: 4px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); font-size: 14px; }
.flash svg, .inline-message svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }
.flash-success, .inline-success { border-left-color: var(--success); }
.flash-error, .inline-error { border-left-color: var(--danger); }
.flash-info, .inline-info { border-left-color: var(--blue); }

.home-main { overflow: hidden; }
.home-hero { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(440px,.95fr); min-height: min(730px, calc(100svh - 72px)); border-bottom: 1px solid var(--line-dark); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 72px max(42px, calc((100vw - var(--container)) / 2)) 72px max(24px, calc((100vw - var(--container)) / 2)); }
.kicker, .section-index, .field-label, .overline { text-transform: uppercase; font-size: 12px; font-weight: 780; }
.kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; color: var(--ink-soft); }
.kicker::before { width: 28px; height: 3px; content: ""; background: var(--accent); }
.hero-copy h1 { max-width: 720px; margin: 0; font-family: "Arial Black", Inter, "Microsoft YaHei", sans-serif; font-size: clamp(56px,6.7vw,108px); line-height: .9; letter-spacing: 0; }
.hero-copy h1 span { display: block; margin-top: 17px; font-family: Inter,"PingFang SC","Microsoft YaHei",sans-serif; font-size: clamp(25px,2.7vw,44px); font-weight: 720; line-height: 1.15; }
.hero-lead { max-width: 620px; margin: 28px 0 0; color: var(--ink-soft); font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-visual { position: relative; display: flex; align-items: flex-end; min-height: 520px; overflow: hidden; color: white; background: var(--teal); }
.hero-visual::before { position: absolute; inset: 0; content: ""; background: linear-gradient(150deg, transparent 45%, rgba(17,19,21,.34)); }
.hero-monogram { position: absolute; top: 2%; left: -2%; color: rgba(255,255,255,.13); font-family: "Arial Black",sans-serif; font-size: clamp(250px,37vw,580px); font-weight: 900; line-height: 1; user-select: none; }
.hero-grid-labels { position: absolute; inset: 24px 28px auto; display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.82); font-size: 11px; font-weight: 740; text-transform: uppercase; }
.hero-note { position: relative; z-index: 1; width: 100%; margin: 28px; padding: 22px; border: 1px solid rgba(255,255,255,.48); background: rgba(5,62,59,.38); backdrop-filter: blur(10px); }
.hero-note p { margin: 0; font-size: 13px; font-weight: 700; }
.hero-note strong { display: block; margin-top: 4px; font-size: clamp(24px,3vw,38px); line-height: 1.2; }

.studio-strip { display: grid; grid-template-columns: repeat(3,1fr); max-width: var(--container); margin: 0 auto; border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
.studio-fact { padding: 24px; border-right: 1px solid var(--line); }
.studio-fact:last-child { border-right: 0; }
.studio-fact span { display: block; color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.studio-fact strong { display: block; margin-top: 5px; font-size: 16px; }
.home-section { padding: 104px max(24px, calc((100vw - var(--container)) / 2)); border-top: 1px solid var(--line-dark); }
.section-heading { display: grid; grid-template-columns: 140px minmax(0,1fr); align-items: end; margin-bottom: 46px; }
.section-index { color: var(--accent-dark); }
.section-heading h2, .studio-copy h2, .account-title h1 { margin: 0; font-size: clamp(36px,5vw,66px); line-height: 1; font-weight: 780; }
.section-heading p { max-width: 600px; margin: 18px 0 0; color: var(--ink-soft); }
.project-list { border-top: 1px solid var(--line-dark); }
.project-row { display: grid; grid-template-columns: 90px minmax(220px,.62fr) minmax(320px,1fr) 52px; align-items: center; gap: 24px; min-height: 148px; border-bottom: 1px solid var(--line-dark); transition: background-color 180ms ease; }
.project-row:hover { background: var(--surface); }
.project-number { color: var(--accent-dark); font-size: 13px; font-weight: 760; }
.project-name h3 { margin: 0; font-size: clamp(24px,3vw,38px); line-height: 1.1; }
.project-name span { display: block; margin-top: 7px; color: var(--ink-soft); font-size: 13px; }
.project-meta { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.project-meta p { max-width: 520px; margin: 0; color: var(--ink-soft); }
.project-tag { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 11px; font-weight: 720; white-space: nowrap; }
.project-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 50%; }
.project-arrow svg { width: 20px; height: 20px; }

.webos-feature { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.55fr); padding: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--ink); }
.webos-preview { position: relative; min-height: 520px; overflow: hidden; }
.webos-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.7) contrast(1.03); transition: transform 500ms ease, filter 500ms ease; }
.webos-feature:hover .webos-preview img { transform: scale(1.018); filter: saturate(.95) contrast(1.03); }
.webos-preview::after { position: absolute; inset: 0; content: ""; border: 1px solid rgba(255,255,255,.18); pointer-events: none; }
.webos-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 46px; color: white; }
.webos-copy .overline { color: #8ed8d3; }
.webos-copy h3 { margin: 24px 0 18px; font-size: clamp(34px,4.2vw,58px); line-height: 1; }
.webos-copy p { color: #b9c0c1; }
.webos-copy .button { align-self: flex-start; margin-top: 28px; }
.server-band { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(0,1fr); gap: 60px; align-items: end; color: white; background: var(--blue); }
.server-copy h2 { margin: 11px 0 16px; font-size: clamp(36px,5vw,64px); line-height: 1; }
.server-copy p { max-width: 470px; margin: 0; color: rgba(255,255,255,.8); }
.server-address { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; min-width: 0; padding: 24px; border: 1px solid rgba(255,255,255,.55); background: rgba(23,54,126,.32); }
.server-address span { display: block; color: rgba(255,255,255,.72); font-size: 12px; }
.server-address code { display: block; margin-top: 3px; overflow-wrap: anywhere; font-family: "Cascadia Code",Consolas,monospace; font-size: clamp(30px,5vw,62px); font-weight: 780; line-height: 1.1; }
.copy-button { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 14px; color: var(--ink); border-radius: var(--radius); background: white; font-size: 13px; font-weight: 750; }
.copy-button svg { width: 17px; height: 17px; }
.copy-button.is-copied { color: white; background: var(--success); }

.service-section { background: var(--surface); }
.service-directory { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line-dark); }
.service-link { display: grid; grid-template-columns: 42px minmax(0,1fr) auto 20px; align-items: center; min-width: 0; min-height: 96px; gap: 14px; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line-dark); transition: color 160ms ease, background-color 160ms ease; }
.service-link:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--line-dark); }
.service-link:nth-child(even) { padding-left: 28px; }
.service-link:hover { color: var(--blue); background: rgba(255,255,255,.54); }
.service-icon { display: grid; place-items: center; width: 42px; height: 42px; color: var(--teal); border: 1px solid var(--line); background: var(--paper); }
.service-icon svg { width: 20px; height: 20px; }
.service-copy { min-width: 0; }
.service-copy strong, .service-copy small { display: block; }
.service-copy strong { font-size: 16px; }
.service-copy small { margin-top: 4px; color: var(--ink-soft); font-size: 12px; }
.service-link code { color: var(--ink-soft); font-family: "Cascadia Code",Consolas,monospace; font-size: 12px; white-space: nowrap; }
.service-arrow { width: 18px; height: 18px; }
.service-all-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; font-weight: 760; }
.service-all-link svg { width: 20px; height: 20px; transition: transform 160ms ease; }
.service-all-link:hover svg { transform: translateX(4px); }

.studio-section { display: grid; grid-template-columns: minmax(0,.8fr) minmax(360px,1fr); gap: 100px; align-items: start; }
.studio-copy p { max-width: 620px; margin: 26px 0 0; color: var(--ink-soft); font-size: 17px; }
.studio-principles { border-top: 1px solid var(--line-dark); }
.principle { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.principle svg { width: 24px; height: 24px; color: var(--accent-dark); }
.principle h3 { margin: 0 0 5px; font-size: 17px; }
.principle p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.account-cta { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 32px; border-top: 1px solid var(--line-dark); color: white; background: var(--accent); }
.account-cta h2 { margin: 0; font-size: clamp(36px,5.5vw,72px); line-height: 1; }
.account-cta p { max-width: 660px; margin: 18px 0 0; color: rgba(255,255,255,.86); }

.site-footer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; padding: 58px max(24px,calc((100vw - var(--container))/2)) 28px; color: #c9cdce; background: var(--ink); }
.site-footer-compact { padding-top: 34px; }
.footer-brand { color: white; font-size: 18px; font-weight: 780; }
.site-footer p { max-width: 520px; margin: 8px 0 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-content: start; gap: 10px 22px; color: white; font-size: 13px; }
.footer-links a:hover { text-decoration: underline; }
.copyright { grid-column: 1/-1; width: 100%; padding-top: 22px; border-top: 1px solid #35393b; color: #8f9698; }

/* Authentication */
.auth-page { background: var(--surface); }
.auth-shell { display: grid; grid-template-columns: minmax(390px,.85fr) minmax(520px,1.15fr); min-height: calc(100svh - 72px); }
.auth-aside { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 640px; overflow: hidden; padding: 52px max(38px,calc((100vw - var(--container))/2)); color: white; background: var(--ink); }
.auth-aside::after { position: absolute; right: -50px; bottom: -110px; content: "P"; color: rgba(255,255,255,.075); font-family: "Arial Black",sans-serif; font-size: 430px; font-weight: 900; line-height: 1; }
.auth-aside > * { position: relative; z-index: 1; }
.auth-aside h1 { max-width: 490px; margin: 18px 0 20px; font-size: clamp(38px,4.6vw,68px); line-height: 1; }
.auth-aside p { max-width: 470px; color: #bac0c2; }
.auth-benefits { display: grid; gap: 14px; margin-top: 42px; }
.auth-benefit { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.auth-benefit svg { width: 19px; height: 19px; color: #8ed8d3; }
.auth-aside-foot { color: #8f9698; font-size: 12px; }
.auth-main { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 58px clamp(24px,7vw,92px); background: var(--surface); }
.auth-card { width: min(100%,500px); }
.auth-card-head { margin-bottom: 30px; }
.auth-card-head h2 { margin: 0; font-size: clamp(30px,4vw,44px); line-height: 1.1; }
.auth-card-head p { margin: 10px 0 0; color: var(--ink-soft); font-size: 14px; }
.auth-card-head a, .auth-foot a, .form-meta a { color: var(--blue); font-weight: 700; }
.form-grid { display: grid; gap: 18px; }
.field-group { min-width: 0; }
.field-label { display: block; margin-bottom: 7px; color: var(--ink-soft); text-transform: none; }
.field-control { position: relative; }
.field-input { width: 100%; min-height: 50px; padding: 0 14px; color: var(--ink); border: 1px solid var(--line-dark); border-radius: var(--radius); background: white; outline: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.field-input::placeholder { color: #969b9c; }
.field-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(56,103,214,.13); }
.field-input.has-action { padding-right: 48px; }
.field-action { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--ink-soft); border: 0; background: transparent; cursor: pointer; }
.field-action svg { width: 19px; height: 19px; }
.field-hint { margin: 7px 0 0; color: var(--ink-soft); font-size: 12px; }
.form-meta { display: flex; justify-content: flex-end; margin-top: -4px; font-size: 13px; }
.auth-foot { margin: 22px 0 0; color: var(--ink-soft); font-size: 13px; text-align: center; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: #8b9091; font-size: 11px; }
.auth-divider::before, .auth-divider::after { flex: 1; height: 1px; content: ""; background: var(--line); }

/* Account */
.account-main { width: min(var(--container),calc(100% - 48px)); min-height: calc(100svh - 72px); margin: 0 auto; padding: 64px 0 96px; }
.account-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding-bottom: 34px; border-bottom: 1px solid var(--line-dark); }
.account-title p { margin: 12px 0 0; color: var(--ink-soft); }
.account-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 56px; padding-top: 42px; }
.account-sidebar { align-self: start; }
.profile-identity { display: flex; align-items: center; gap: 13px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.profile-identity strong, .profile-identity span { display: block; }
.profile-identity span { color: var(--ink-soft); font-size: 12px; }
.account-nav { display: grid; gap: 4px; margin-top: 18px; }
.account-nav a, .account-nav button { display: flex; align-items: center; width: 100%; min-height: 42px; gap: 10px; padding: 0 10px; color: var(--ink-soft); border: 0; border-radius: var(--radius); background: transparent; cursor: pointer; font-size: 14px; text-align: left; }
.account-nav a:hover, .account-nav a.is-active, .account-nav button:hover { color: var(--ink); background: var(--surface); }
.account-nav svg { width: 17px; height: 17px; }
.account-content { min-width: 0; }
.account-section + .account-section { margin-top: 48px; }
.account-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.account-section-head h2 { margin: 0; font-size: 24px; }
.account-section-head p { margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; }
.account-card { border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--surface); }
.account-row { display: grid; grid-template-columns: 180px minmax(0,1fr) auto; align-items: center; gap: 22px; min-height: 76px; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.account-row:last-child { border-bottom: 0; }
.account-row-label { color: var(--ink-soft); font-size: 13px; }
.account-row-value { min-width: 0; overflow-wrap: anywhere; font-weight: 670; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 4px 8px; color: var(--success); border: 1px solid rgba(24,121,78,.32); border-radius: 999px; background: rgba(24,121,78,.07); font-size: 11px; font-weight: 740; }
.status-badge::before { width: 6px; height: 6px; content: ""; border-radius: 50%; background: currentColor; }
.status-pending { color: #8a5b00; border-color: rgba(138,91,0,.32); background: rgba(241,190,62,.12); }
.account-form { display: grid; gap: 18px; padding: 22px; }
.account-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.account-form-actions { display: flex; justify-content: flex-end; padding-top: 4px; }

.legal-main { width: min(780px,calc(100% - 48px)); min-height: calc(100svh - 72px); margin: 0 auto; padding: 74px 0 100px; }
.legal-main h1 { margin: 0 0 12px; font-size: clamp(38px,6vw,64px); line-height: 1; }
.legal-updated { color: var(--ink-soft); font-size: 13px; }
.legal-content { margin-top: 44px; }
.legal-content h2 { margin: 38px 0 10px; font-size: 21px; }
.legal-content p, .legal-content li { color: var(--ink-soft); }

@media (max-width:1000px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { position: absolute; top: 72px; right: 16px; display: none; width: min(280px,calc(100vw - 32px)); padding: 10px; border: 1px solid var(--line-dark); background: var(--surface); box-shadow: var(--shadow-lg); }
  .site-nav.is-open { display: grid; gap: 2px; }
  .site-nav a { padding: 10px; }
  .site-nav a::after { display: none; }
  .nav-toggle { display: inline-grid; }
  .home-hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 82px 24px 72px; }
  .hero-visual { min-height: 460px; }
  .project-row { grid-template-columns: 60px .7fr 1fr 44px; }
  .webos-feature, .studio-section { grid-template-columns: 1fr; }
  .webos-copy { min-height: 380px; }
  .server-band { grid-template-columns: 1fr; align-items: stretch; }
  .service-link { grid-template-columns: 42px minmax(0,1fr) 20px; }
  .service-link code { display: none; }
  .account-cta { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: minmax(340px,.7fr) minmax(420px,1fr); }
  .account-layout { grid-template-columns: 220px minmax(0,1fr); gap: 32px; }
}

@media (max-width:760px) {
  .site-header { min-height: 64px; padding: 0 16px; }
  .site-nav { top: 64px; }
  .site-brand small, .header-login, .header-register, .account-chip > span:last-child { display: none; }
  .account-chip { padding: 5px; }
  .home-hero { min-height: auto; }
  .hero-copy { padding: 66px 18px 56px; }
  .hero-copy h1 { font-size: clamp(52px,22vw,80px); }
  .hero-copy h1 span { font-size: 28px; }
  .hero-lead { font-size: 15px; }
  .hero-actions .button { flex: 1 1 170px; }
  .hero-visual { min-height: 220px; }
  .hero-monogram { font-size: 230px; }
  .hero-note { margin: 14px; padding: 16px; }
  .studio-strip { grid-template-columns: 1fr; border: 0; }
  .studio-fact, .studio-fact:last-child { padding: 17px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-section { padding: 74px 18px; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
  .project-row { grid-template-columns: 42px minmax(0,1fr) 40px; gap: 12px; min-height: 0; padding: 24px 0; }
  .project-meta { grid-column: 2/-1; grid-row: 2; grid-template-columns: 1fr; gap: 12px; padding-right: 10px; }
  .project-tag { width: max-content; }
  .project-arrow { width: 38px; height: 38px; }
  .webos-preview { min-height: 290px; }
  .webos-copy { min-height: 340px; padding: 30px 22px; }
  .server-band { gap: 38px; }
  .server-address { grid-template-columns: 1fr; padding: 18px; }
  .copy-button { width: 100%; justify-content: center; }
  .service-directory { grid-template-columns: 1fr; }
  .service-link:nth-child(odd), .service-link:nth-child(even) { padding: 16px 0; border-right: 0; }
  .studio-section { gap: 48px; }
  .account-cta .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; padding: 42px 18px 24px; }
  .footer-links { justify-content: flex-start; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { min-height: 370px; padding: 44px 24px; }
  .auth-aside::after { right: -20px; bottom: -70px; font-size: 300px; }
  .auth-benefits { display: none; }
  .auth-aside-foot { margin-top: 40px; }
  .auth-main { padding: 48px 20px 64px; }
  .account-main { width: min(100% - 36px,var(--container)); padding-top: 46px; }
  .account-title { align-items: flex-start; flex-direction: column; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { grid-template-columns: repeat(3,1fr); }
  .account-nav a, .account-nav button { justify-content: center; padding: 0 6px; font-size: 12px; }
  .account-row { grid-template-columns: 1fr; gap: 5px; padding: 16px; }
  .account-form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
