@font-face {
  font-family: "Albert Sans";
  src: url("assets/albert-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}

@font-face {
  font-family: "Alumni Sans";
  src: url("assets/alumni-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
}

:root {
  color-scheme: dark;
  --background: #010100;
  --background-deep: #010100;
  --surface: #080808;
  --surface-raised: #0b0b0b;
  --surface-hover: #111111;
  --text: #e1e1e1;
  --text-strong: #f1f1f1;
  --text-soft: #c7c7c7;
  --muted: #a8a8a8;
  --quiet: #777777;
  --line: #242424;
  --line-strong: #363636;
  --accent: #ffba00;
  --accent-soft: rgba(255, 186, 0, 0.1);
  --accent-soft-ink: #f4efff;
  --accent-ink: #010100;
  --focus: #ffba00;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
  --display: "Alumni Sans", "Albert Sans", "Arial Narrow", Arial, sans-serif;
  --body: "Albert Sans", "Avenir Next", "Helvetica Neue", Arial, system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html[lang="zh-Hans"] {
  --display: "Alumni Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "Albert Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

html[lang="zh-Hant"] {
  --display: "Alumni Sans", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --body: "Albert Sans", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
  scrollbar-color: var(--line-strong) var(--background);
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.035), transparent 30%),
    linear-gradient(135deg, var(--background-deep) 0%, #070707 52%, var(--background) 100%);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 12%, transparent 82%);
}

::selection {
  color: var(--accent-ink);
  background: var(--accent);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--background);
  border-radius: 999px;
  background: var(--line-strong);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 40px));
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.brand-logo {
  display: inline-block;
  color: var(--accent);
  font-family: "Alumni Sans", "Arial Narrow", Arial, sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.15em;
  white-space: nowrap;
  transition: color 180ms var(--ease-out);
}

.brand:hover .brand-logo {
  color: var(--accent);
}

.nav {
  --nav-indicator-x: 0px;
  --nav-indicator-y: 0px;
  --nav-indicator-width: 0px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  color: var(--muted);
  font-size: 15px;
}

.nav::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: var(--nav-indicator-width);
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: translate3d(var(--nav-indicator-x), var(--nav-indicator-y), 0);
  transition: opacity 120ms var(--ease-out);
  pointer-events: none;
}

.nav.nav-indicator-animated::after {
  transition:
    width 220ms var(--ease-out),
    transform 220ms var(--ease-out),
    opacity 120ms var(--ease-out);
}

.nav.nav-indicator-ready::after {
  opacity: 1;
}

.nav a {
  position: relative;
  padding: 8px 0;
  transition: color 180ms var(--ease-out);
}

.nav a[aria-current="page"] {
  color: #f4efff;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.language-switch {
  position: relative;
}

.language-toggle,
.menu-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: color 180ms var(--ease-out);
}

.language-toggle {
  display: inline-flex;
  color: var(--muted);
}

.menu-toggle {
  display: none;
}

.language-toggle:hover,
.language-toggle[aria-expanded="true"] {
  color: var(--accent);
}

.menu-toggle[aria-expanded="true"] {
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
  .menu-toggle:not([aria-expanded="true"]):hover {
    color: var(--accent);
  }
}

.language-toggle svg {
  width: 19px;
  height: 19px;
}

.language-menu {
  --language-highlight-y: 0px;
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  width: 154px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.language-menu::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 6px;
  right: 6px;
  left: 6px;
  height: 40px;
  background: var(--accent-soft);
  transform: translateY(var(--language-highlight-y));
  transition: transform 220ms var(--ease-out);
  pointer-events: none;
}

.language-menu[hidden] {
  display: none;
}

.language-menu a {
  position: relative;
  z-index: 1;
  min-height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  transition: color 180ms var(--ease-out);
}

.language-menu:has(> a:nth-child(1)[aria-current="true"]) {
  --language-highlight-y: 0px;
}

.language-menu:has(> a:nth-child(2)[aria-current="true"]) {
  --language-highlight-y: 40px;
}

.language-menu:has(> a:nth-child(3)[aria-current="true"]) {
  --language-highlight-y: 80px;
}

.language-menu:has(> a:nth-child(1):is(:hover, :focus-visible)) {
  --language-highlight-y: 0px;
}

.language-menu:has(> a:nth-child(2):is(:hover, :focus-visible)) {
  --language-highlight-y: 40px;
}

.language-menu:has(> a:nth-child(3):is(:hover, :focus-visible)) {
  --language-highlight-y: 80px;
}

.language-menu a[aria-current="true"] {
  color: var(--accent-soft-ink);
}

.language-menu:has(> a:is(:hover, :focus-visible)) > a[aria-current="true"] {
  color: var(--muted);
}

.language-menu > a:is(:hover, :focus-visible) {
  color: var(--accent-soft-ink);
}

.language-menu:has(> a:is(:hover, :focus-visible))
  > a[aria-current="true"]:is(:hover, :focus-visible) {
  color: var(--accent-soft-ink);
}

.menu-toggle-box {
  position: relative;
  display: block;
  width: 24px;
  height: 16px;
}

.menu-toggle-line {
  position: absolute;
  left: 0;
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition:
    top 220ms var(--ease-out),
    bottom 220ms var(--ease-out),
    transform 220ms var(--ease-out),
    opacity 160ms var(--ease-out);
}

.menu-toggle-line:nth-child(1) {
  top: 0;
}

.menu-toggle-line:nth-child(2) {
  top: 7.5px;
}

.menu-toggle-line:nth-child(3) {
  bottom: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  top: 7.5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  top: 7.5px;
  bottom: auto;
  transform: rotate(-45deg);
}

.hero {
  min-height: calc(100dvh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  gap: clamp(52px, 6vw, 82px);
  align-items: center;
  padding: 72px 0 92px;
}

.hero-title,
.display-title,
.section-heading,
.work-family-title,
.work-card h2,
.process-item strong,
.contact-email,
.contact-aside h2 {
  font-family: var(--display);
}

.hero-title,
.display-title {
  margin: 0;
  color: var(--text-strong);
  font-weight: 540;
  letter-spacing: -0.018em;
}

.hero-title {
  max-width: 900px;
  font-size: clamp(78px, 10.5vw, 148px);
  line-height: 0.78;
}

.display-title {
  max-width: 940px;
  font-size: clamp(88px, 11vw, 154px);
  line-height: 0.82;
}

.display-title--work,
.display-title--skills,
.display-title--pricing {
  font-size: clamp(68px, 8.6vw, 122px);
}

.hero-title .outline,
.hero-title .solid,
.display-title .outline {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.2px var(--accent);
  display: block;
}

.hero-title .outline,
.display-title .outline {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.2px var(--accent);
}

html[lang="zh-Hans"] .hero-title,
html[lang="zh-Hant"] .hero-title {
  font-size: clamp(64px, 8.2vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

html[lang="zh-Hans"] .hero-title .outline,
html[lang="zh-Hans"] .hero-title .solid,
html[lang="zh-Hant"] .hero-title .outline,
html[lang="zh-Hant"] .hero-title .solid {
  display: inline;
}

.intro,
.page-lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.intro {
  margin: 34px 0 0;
}

.page-lede {
  margin: 28px 0 0;
}


.intro strong,
.page-lede strong {
  color: var(--text-strong);
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-width: 152px;
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    background 180ms var(--ease-out),
    transform 180ms var(--ease-out);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  color: var(--accent-ink);
  border-color: var(--accent);
  background: var(--accent);
}

.button-primary:hover {
  color: var(--accent);
  background: transparent;
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.015);
}

.button-secondary:hover {
  color: var(--text-strong);
  border-color: var(--text-soft);
  background: rgba(255, 255, 255, 0.035);
}

.card-wrap {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.profile-unit {
  width: min(100%, 460px);
}

.profile-card {
  position: relative;
  width: 100%;
  padding: 34px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: linear-gradient(145deg, var(--surface-raised), #070605);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.monogram {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(104px, 10vw, 132px);
  font-weight: 520;
  line-height: 0.8;
  letter-spacing: -0.035em;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.15px var(--accent);
}

.card-name {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.012em;
}

.card-role {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin-top: 30px;
}

.meta-item {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.meta-label {
  display: block;
  margin-bottom: 6px;
  color: var(--quiet);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.meta-value {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.subpage-main {
  flex: 1;
  padding: 92px 0 110px;
}

.section-heading {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 420;
  line-height: 1.02;
  letter-spacing: -0.012em;
}

.section-copy {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.work-groups {
  margin-top: 76px;
}

.work-family + .work-family {
  margin-top: 76px;
}

.work-family {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.012);
}

.work-family-header {
  max-width: none;
  padding: 36px 38px 30px;
  border-bottom: 1px solid var(--line);
}

.work-family-title {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 420;
  line-height: 1;
  letter-spacing: -0.012em;
}

.work-family-intro {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.work-family-items {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 18px;
}

.work-card {
  position: relative;
  min-width: 0;
  min-height: 318px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 0;
  color: var(--text);
  background: var(--surface-raised);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition:
    transform 220ms var(--ease-out),
    background 220ms var(--ease-out);
}

.work-card:nth-child(1),
.work-card:nth-child(4) {
  grid-column: span 7;
}

.work-card:nth-child(2),
.work-card:nth-child(3) {
  grid-column: span 5;
}


.work-card:hover {
  transform: translateY(-3px);
  background: var(--surface-hover);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.work-number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.work-card h2 {
  margin: 24px 0 0;
  color: var(--text-strong);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 430;
  line-height: 1.02;
  letter-spacing: -0.014em;
}

.work-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
}

.work-tags span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.012);
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: 0.035em;
}

.skills-summary {
  margin-top: 72px;
  max-width: 1040px;
}

.skills-summary-copy {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 430;
  line-height: 1.32;
  letter-spacing: -0.012em;
}

.skills-summary-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.skills-list {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(48px, 7vw, 96px);
  row-gap: 64px;
}

.skill-entry {
  min-width: 0;
}

.skill-label {
  display: block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.065em;
}

.skill-entry h2 {
  margin: 24px 0 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 430;
  line-height: 1.02;
  letter-spacing: -0.014em;
}

.skill-entry p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.skills-conclusion {
  margin-top: 96px;
  padding: clamp(34px, 5vw, 56px);
  background: var(--surface-raised);
}

.skills-conclusion h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 430;
  line-height: 1.02;
}

.skills-conclusion p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.76;
}

.process-panel {
  position: relative;
  margin-top: 76px;
  padding: 40px;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.014);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.process-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.process-item strong {
  display: block;
  color: var(--text-strong);
  font-size: 27px;
  font-weight: 430;
  line-height: 1.1;
}

.process-item span:last-child {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.process-panel .button {
  margin-top: 38px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.7fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 72px;
}

.contact-panel,
.contact-aside {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--surface-raised), #070605);
}

.contact-panel {
  padding: 42px;
  overflow: hidden;
}

.contact-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.contact-email {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin-top: 30px;
  color: var(--text-strong);
  font-size: clamp(35px, 4.4vw, 58px);
  font-weight: 430;
  line-height: 1;
  letter-spacing: -0.014em;
  overflow-wrap: anywhere;
}

.contact-email::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
}

.contact-email:hover::after,
.contact-email:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-copy {
  margin: 38px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.76;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 28px;
  margin-top: 42px;
}

.detail-item {
  min-width: 0;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.detail-label {
  display: block;
  color: var(--quiet);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.detail-value {
  display: block;
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.contact-aside {
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.contact-aside h2 {
  margin: 0;
  color: var(--text-strong);
  font-size: 34px;
  font-weight: 430;
  line-height: 1.05;
}

.fit-list {
  list-style: square outside;
  margin: 28px 0 0;
  padding: 0 0 30px 18px;
}

.fit-list li {
  padding: 15px 0 15px 2px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.fit-list li::marker {
  color: var(--quiet);
  font-size: 0.8em;
}

.contact-aside .button {
  width: 100%;
  margin-top: auto;
}

.footer-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 12px;
  letter-spacing: 0.035em;
}

.footer-brand {
  flex: 0 0 auto;
}

.footer-brand .brand-logo {
  font-size: 17px;
  letter-spacing: 0.15em;
}

.footer-copyright {
  margin-left: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  text-align: right;
  white-space: nowrap;
}

.copyright-symbol {
  font-size: 1em;
  line-height: 1;
  letter-spacing: 0;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
    padding: 62px 0 92px;
  }

  .card-wrap {
    min-height: auto;
    justify-content: flex-start;
  }

  .profile-unit {
    width: 100%;
  }

  .profile-card {
    padding: 30px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 18px;
    align-items: baseline;
  }

  .monogram {
    grid-column: 1;
    width: auto;
    height: auto;
    margin: 0;
    justify-content: flex-start;
    font-size: 42px;
    line-height: 1;
  }

  .card-name {
    grid-column: 2;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: clamp(21px, 3vw, 31px);
    white-space: nowrap;
  }

  .card-role,
  .card-meta {
    grid-column: 1 / -1;
  }

  .card-role {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .work-card h2 {
    font-size: clamp(28px, 4vw, 40px);
  }

  .work-card-title--long {
    white-space: nowrap;
    font-size: clamp(17px, 2.35vw, 26px) !important;
    letter-spacing: -0.02em !important;
  }
}

@media (max-width: 860px) {
  br.copy-break {
    display: none;
  }

  .site-shell {
    width: min(100% - 48px, 1240px);
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-family-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
  }

  .work-card,
  .work-card:nth-child(1),
  .work-card:nth-child(2),
  .work-card:nth-child(3),
  .work-card:nth-child(4) {
    grid-column: span 1;
    padding: 22px;
  }

  .work-card-title--long {
    font-size: clamp(17px, 2.55vw, 21px) !important;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .skills-summary,
  .skills-conclusion {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 40px, 1240px);
  }

  .topbar {
    min-height: 68px;
    padding: 6px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 56px auto;
    align-content: start;
    align-items: center;
    gap: 0 12px;
  }

  .brand {
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .brand-logo {
    font-size: 21px;
  }

  .header-controls {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .language-menu {
    top: calc(100% + 4px);
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-height: 0;
    display: grid;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    border-top: 0 solid var(--line);
    font-size: 14px;
    transition:
      max-height 300ms var(--ease-out),
      border-top-width 220ms var(--ease-out),
      opacity 180ms var(--ease-out),
      visibility 0s linear 300ms;
  }

  .topbar.menu-open .nav {
    max-height: 240px;
    opacity: 1;
    visibility: visible;
    border-top-width: 1px;
    transition:
      max-height 300ms var(--ease-out),
      border-top-width 220ms var(--ease-out),
      opacity 180ms var(--ease-out),
      visibility 0s linear 0s;
  }

  .nav a {
    width: 100%;
    height: 48px;
    padding: 0 2px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .nav::after {
    display: none;
  }

  .nav a[aria-current="page"] {
    color: var(--accent);
  }

  .topbar.menu-open {
    border-bottom-color: transparent;
  }

  .hero {
    min-height: auto;
    gap: 44px;
    padding: 52px 0 78px;
  }

  .hero-title {
    font-size: clamp(64px, 23vw, 88px);
    line-height: 0.8;
  }

  html[lang="zh-Hans"] .hero-title,
  html[lang="zh-Hant"] .hero-title {
    font-size: clamp(54px, 16vw, 74px);
    line-height: 1;
  }

  .intro,
  .page-lede {
    font-size: 16px;
  }

  .intro {
    margin-top: 28px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .profile-card {
    padding: 24px;
    column-gap: 12px;
  }

  .monogram {
    font-size: 34px;
  }

  .card-name {
    font-size: clamp(16px, 5vw, 23px);
  }

  .card-meta {
    gap: 18px;
  }

  .subpage-main {
    padding: 66px 0 82px;
  }

  .display-title {
    font-size: clamp(72px, 24vw, 100px);
  }

  .display-title--work,
  .display-title--skills,
  .display-title--pricing {
    font-size: clamp(48px, 14vw, 72px);
  }

  .work-groups {
    margin-top: 56px;
  }

  .work-family + .work-family {
    margin-top: 58px;
  }

  .work-family-header {
    padding: 28px 24px 24px;
  }

  .work-family-title {
    font-size: 44px;
  }

  .work-family-intro {
    font-size: 15px;
  }

  .work-family-items {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .work-card {
    grid-column: auto !important;
    min-height: 300px;
    padding: 24px;
  }

  

  .work-card h2 {
    margin-top: 24px;
    font-size: 33px;
  }

  .work-card-title--long {
    white-space: nowrap;
    font-size: clamp(17px, 5vw, 24px) !important;
  }

  .work-card p {
    font-size: 14px;
  }

  .process-panel {
    margin-top: 58px;
    padding: 30px 24px;
  }

  .skills-summary {
    margin-top: 54px;
  }

  .skills-summary-copy {
    font-size: 24px;
  }

  .skills-list {
    margin-top: 54px;
    display: block;
  }

  .skill-entry {
    margin-top: 48px;
  }

  .skill-entry:first-child {
    margin-top: 0;
  }

  .skill-entry h2 {
    margin-top: 24px;
    font-size: 38px;
  }

  .skills-conclusion {
    margin-top: 64px;
    padding: 30px 24px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-layout {
    gap: 18px;
    margin-top: 54px;
  }

  .contact-panel,
  .contact-aside {
    padding: 28px 24px;
  }

  .contact-email {
    font-size: clamp(25px, 8vw, 36px);
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .footer-line {
    gap: 12px;
    font-size: 11px;
  }

  .footer-brand .brand-logo {
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .site-shell {
    width: min(100% - 32px, 1240px);
  }

  .brand-logo {
    font-size: 19px;
  }

  .language-toggle,
  .menu-toggle {
    width: 38px;
  }

  .profile-card {
    padding: 20px;
  }

  .monogram {
    font-size: 30px;
  }

  .card-name {
    font-size: 15px;
  }

  .work-card-title--long {
    font-size: 17px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* =========================================================
 * Homepage — integrated brand + digital system
 * ========================================================= */

.home-main {
  flex: 1;
}

.home-hero {
  min-height: calc(100dvh - 76px);
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(52px, 6vw, 84px);
  align-items: center;
}

.home-eyebrow,
.home-section-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-hero .hero-title {
  margin-top: 22px;
}

.home-hero .intro {
}

.home-system {
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, var(--surface-raised), #070605);
  box-shadow: var(--shadow);
}

.home-system-head {
  padding: 28px 30px 26px;
  border-bottom: 1px solid var(--line);
}

.home-system-index {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.home-system-title {
  margin: 28px 0 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 430;
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.home-system-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-system-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 30px;
  border-bottom: 1px solid var(--line);
}

.home-system-item:last-child {
  border-bottom: 0;
}

.home-system-number {
  color: var(--quiet);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.home-system-item strong {
  display: block;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 430;
  line-height: 1.05;
}

.home-system-item span:last-child {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.home-section {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: end;
}

.home-section-title {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 430;
  line-height: 0.98;
  letter-spacing: -0.014em;
}

.home-section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.home-capabilities {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.home-capability {
  min-height: 280px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
  transition:
    background 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

.home-capability:hover {
  background: var(--surface-hover);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.home-capability-index {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.home-capability h3 {
  margin: 24px 0 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 430;
  line-height: 1;
  letter-spacing: -0.014em;
}

.home-capability p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.home-capability-tags {
  margin-top: auto;
  padding-top: 28px;
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.025em;
}

.home-method {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.home-method-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.home-method-index {
  display: block;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.home-method-item strong {
  display: block;
  margin-top: 18px;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 430;
  line-height: 1;
}

.home-method-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.home-cta {
  margin: 0 0 96px;
  padding: clamp(34px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, var(--surface-raised), #070605);
}

.home-cta h2 {
  margin: 14px 0 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(42px, 5.5vw, 70px);
  font-weight: 420;
  line-height: 0.98;
}

.home-cta p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.home-cta .actions {
  margin: 0;
}

/* =========================================================
 * Privacy Policy
 * ========================================================= */

.privacy-main {
  flex: 1;
  padding: 92px 0 110px;
}

.privacy-hero {
  max-width: 940px;
}

.privacy-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.privacy-title {
  margin: 16px 0 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(70px, 9vw, 126px);
  font-weight: 460;
  line-height: 0.86;
  letter-spacing: -0.018em;
}

.privacy-intro {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.privacy-updated {
  margin-top: 20px;
  color: var(--quiet);
  font-size: 12px;
}

.privacy-layout {
  margin-top: 72px;
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.privacy-aside {
  position: sticky;
  top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.privacy-aside strong {
  display: block;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 600;
}

.privacy-aside p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.privacy-aside a {
  color: var(--accent);
}

.privacy-content {
  border-top: 1px solid var(--line);
}

.privacy-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.privacy-section h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 31px;
  font-weight: 430;
  line-height: 1.05;
}

.privacy-section p,
.privacy-section li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.76;
}

.privacy-section p {
  margin: 14px 0 0;
}

.privacy-section ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.privacy-section li + li {
  margin-top: 8px;
}

.privacy-section a {
  color: var(--text-strong);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

.footer-privacy {
  margin-left: auto;
  color: var(--quiet);
  transition: color 180ms var(--ease-out);
}

.footer-privacy:hover,
.footer-privacy[aria-current="page"] {
  color: var(--accent);
}

.footer-copyright {
  margin-left: 0;
}

@media (max-width: 1100px) {
  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 54px;
    padding: 62px 0 88px;
  }

  .home-system {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .home-section-head,
  .home-cta,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .home-method {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .home-hero {
    gap: 42px;
    padding: 50px 0 66px;
  }

  .home-eyebrow {
    margin-bottom: 2px;
  }

  .home-system-head,
  .home-system-item {
    padding-right: 24px;
    padding-left: 24px;
  }

  .home-system-title {
    font-size: 38px;
  }

  .home-section {
    padding: 70px 0;
  }

  .home-section-head {
    gap: 22px;
  }

  .home-section-title {
    font-size: clamp(38px, 12vw, 52px);
  }

  .home-section-copy {
    font-size: 15px;
  }

  .home-capabilities {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .home-capability {
    min-height: 250px;
    padding: 24px;
  }

  .home-capability h3 {
    margin-top: 24px;
    font-size: 36px;
  }

  .home-method {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 42px;
  }

  .home-cta {
    margin-bottom: 74px;
    padding: 30px 24px;
  }

  .home-cta .actions {
    margin-top: 4px;
  }

  .privacy-main {
    padding: 66px 0 82px;
  }

  .privacy-title {
    font-size: clamp(56px, 18vw, 82px);
    line-height: 0.92;
  }

  .privacy-intro {
    font-size: 16px;
  }

  .privacy-layout {
    margin-top: 54px;
    gap: 34px;
  }

  .footer-line {
    flex-wrap: wrap;
  }

  .footer-privacy {
    margin-left: auto;
  }

  .footer-copyright {
    width: 100%;
    justify-content: flex-end;
  }
}


/* =========================================================
 * Navigation state cleanup
 * ========================================================= */

/* Current page should not be visually highlighted. */
.nav a[aria-current="page"],
.nav a[aria-current="true"] {
  color: inherit;
}

/* Keep underline behavior hover-driven only. */
@media (hover: hover) and (pointer: fine) {
  .nav a[aria-current="page"]::after,
  .nav a[aria-current="true"]::after {
    transform: scaleX(0);
  }

  .nav a:hover::after {
    transform: scaleX(1);
  }
}

/* Privacy link never uses an active/highlight state. */
.footer-privacy[aria-current="page"],
.footer-privacy[aria-current="true"] {
  color: var(--quiet);
}

.footer-privacy:hover {
  color: var(--accent);
}


/* =========================================================
 * Language-specific typography
 * English and Chinese are intentionally separated.
 * zh-Hans / zh-Hant share the same rules.
 * ========================================================= */

/* ---------- English ---------- */
html[lang="en"] {
  --body-font: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: "Alumni Sans", "Albert Sans", sans-serif;
}

html[lang="en"] body {
  font-family: var(--body-font);
}

html[lang="en"] .hero-title,
html[lang="en"] .display-title,
html[lang="en"] .home-system-title,
html[lang="en"] .home-section-title,
html[lang="en"] .home-capability h3,
html[lang="en"] .home-method-item strong,
html[lang="en"] .home-cta h2,
html[lang="en"] .privacy-title,
html[lang="en"] .privacy-section h2 {
  font-family: var(--display-font);
}

/* English alignment */
html[lang="en"] .privacy-hero,
html[lang="en"] .home-hero > div:first-child,
html[lang="en"] .home-section-head > div:first-child {
  text-align: left;
}

html[lang="en"] .privacy-kicker,
html[lang="en"] .privacy-title,
html[lang="en"] .home-eyebrow,
html[lang="en"] .home-section-label,
html[lang="en"] .home-section-title {
  margin-left: 0;
  padding-left: 0;
}

/* ---------- Simplified + Traditional Chinese ---------- */
html[lang="zh-Hans"],
html[lang="zh-Hant"] {
  --body-font-zh: "Noto Sans SC", "Noto Sans TC", "PingFang SC", "PingFang TC",
    "Microsoft YaHei", "Microsoft JhengHei", "Hiragino Sans GB",
    "Hiragino Sans", Arial, sans-serif;
}

html[lang="zh-Hans"] body,
html[lang="zh-Hant"] body {
  font-family: var(--body-font-zh);
}

/* Do not force Alumni Sans onto Chinese display text. */
html[lang="zh-Hans"] .hero-title,
html[lang="zh-Hant"] .hero-title,
html[lang="zh-Hans"] .display-title,
html[lang="zh-Hant"] .display-title,
html[lang="zh-Hans"] .home-system-title,
html[lang="zh-Hant"] .home-system-title,
html[lang="zh-Hans"] .home-section-title,
html[lang="zh-Hant"] .home-section-title,
html[lang="zh-Hans"] .home-capability h3,
html[lang="zh-Hant"] .home-capability h3,
html[lang="zh-Hans"] .home-method-item strong,
html[lang="zh-Hant"] .home-method-item strong,
html[lang="zh-Hans"] .home-cta h2,
html[lang="zh-Hant"] .home-cta h2,
html[lang="zh-Hans"] .privacy-title,
html[lang="zh-Hant"] .privacy-title,
html[lang="zh-Hans"] .privacy-section h2,
html[lang="zh-Hant"] .privacy-section h2 {
  font-family: var(--body-font-zh);
}

/* Chinese alignment */
html[lang="zh-Hans"] .privacy-hero,
html[lang="zh-Hant"] .privacy-hero,
html[lang="zh-Hans"] .home-hero > div:first-child,
html[lang="zh-Hant"] .home-hero > div:first-child,
html[lang="zh-Hans"] .home-section-head > div:first-child,
html[lang="zh-Hant"] .home-section-head > div:first-child {
  text-align: left;
}

html[lang="zh-Hans"] .privacy-kicker,
html[lang="zh-Hant"] .privacy-kicker,
html[lang="zh-Hans"] .privacy-title,
html[lang="zh-Hant"] .privacy-title,
html[lang="zh-Hans"] .home-eyebrow,
html[lang="zh-Hant"] .home-eyebrow,
html[lang="zh-Hans"] .home-section-label,
html[lang="zh-Hant"] .home-section-label,
html[lang="zh-Hans"] .home-section-title,
html[lang="zh-Hant"] .home-section-title {
  margin-left: 0;
  padding-left: 0;
}

/* Chinese display text needs calmer tracking and line-height. */
html[lang="zh-Hans"] .hero-title,
html[lang="zh-Hant"] .hero-title,
html[lang="zh-Hans"] .privacy-title,
html[lang="zh-Hant"] .privacy-title,
html[lang="zh-Hans"] .home-section-title,
html[lang="zh-Hant"] .home-section-title {
  letter-spacing: 0;
}

html[lang="zh-Hans"] .privacy-title,
html[lang="zh-Hant"] .privacy-title {
  line-height: 1;
}

html[lang="zh-Hans"] .home-section-title,
html[lang="zh-Hant"] .home-section-title {
  line-height: 1.08;
}


/* =========================================================
 * Heading alignment normalization
 * ========================================================= */

.privacy-hero > .privacy-kicker,
.privacy-hero > .privacy-title,
.home-hero .home-eyebrow,
.home-hero .hero-title,
.home-section-head .home-section-label,
.home-section-head .home-section-title {
  width: 100%;
  text-align: left;
}

.privacy-title,
.home-section-title,
.hero-title {
  margin-right: 0;
}


/* =========================================================
 * Hero hierarchy — role label vs. name
 * ========================================================= */

/* The name remains the primary yellow signal. */
.home-hero .hero-title {
  color: var(--accent);
}

/* The role label is deliberately quieter so it does not repeat the name. */
.home-hero .home-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  color: var(--text-soft);
}

.home-hero .home-eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

/* English: tighter editorial label. */
html[lang="en"] .home-hero .home-eyebrow {
  color: var(--text-soft);
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 560;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Simplified + Traditional Chinese share one treatment. */
html[lang="zh-Hans"] .home-hero .home-eyebrow,
html[lang="zh-Hant"] .home-hero .home-eyebrow {
  color: var(--text-soft);
  font-family: var(--body-font-zh);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Current-page semantics remain in HTML, but never create a resting underline. */
.nav a[aria-current="page"],
.nav a[aria-current="true"] {
  color: inherit;
}


/* =========================================================
 * Navigation current-state + copyright clarity
 * ========================================================= */

/* Desktop: current menu page keeps its resting underline via menu.js. */
@media (min-width: 681px) {
  .nav a[aria-current="page"] {
    color: #f4efff;
  }
}

/* Mobile has no moving underline, so current page uses accent color. */
@media (max-width: 680px) {
  .nav a[aria-current="page"] {
    color: var(--accent);
  }
}

/* Privacy is not a primary-nav item and never receives a current state. */
.footer-privacy,
.footer-privacy[aria-current="page"],
.footer-privacy[aria-current="true"] {
  color: var(--quiet);
}

.footer-privacy:hover {
  color: var(--accent);
}

/* © is deliberately rendered with a clearer UI/system glyph. */
.copyright-symbol {
  display: inline-block;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1.18em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}


/* =========================================================
 * Sticky navigation — restrained lacquer treatment
 * Inspired by Impeccable's hairline-first / low-shadow system.
 * Existing navigation height and layout are unchanged.
 * ========================================================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
}

/* Quiet full-width lacquer veil. Invisible at the top of the page. */
.topbar::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(5, 4, 3, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    background-color 180ms var(--ease-out),
    backdrop-filter 180ms var(--ease-out),
    -webkit-backdrop-filter 180ms var(--ease-out);
  pointer-events: none;
}

/* Hairline first: a restrained gold rule, not a neon border. */
.topbar::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -1px;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255, 186, 0, 0.32);
  opacity: 0;
  box-shadow: 0 1px 4px rgba(255, 186, 0, 0.10);
  transition: opacity 160ms var(--ease-out);
  pointer-events: none;
}

/* Scrolled: enough translucency to separate chrome from content,
   but content still reads through the header. */
.topbar.is-scrolled::before {
  background: rgba(1, 1, 0, 0.20);
  backdrop-filter: blur(18px) brightness(0.94) saturate(0.50);
  -webkit-backdrop-filter: blur(18px) brightness(0.94) saturate(0.50);
}

.topbar.is-scrolled::after {
  opacity: 1;
}

/* Let the gold hairline replace the original neutral divider. */
.topbar.is-scrolled {
  border-bottom-color: transparent;
}

/* Mobile menu uses the same material, only slightly more opaque for legibility. */
@media (max-width: 680px) {
  .topbar.menu-open::before {
    background: rgba(1, 1, 0, 0.66);
    backdrop-filter: blur(18px) brightness(0.48) saturate(0.55);
    -webkit-backdrop-filter: blur(18px) brightness(0.48) saturate(0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .topbar::before,
  .topbar::after {
    transition: none;
  }
}


/* Privacy content links: underline appears only on interaction. */
.privacy-section a {
  color: var(--text-strong);
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.privacy-section a:hover,
.privacy-section a:focus-visible {
  text-decoration: underline;
  text-decoration-color: currentColor;
}


/* =========================================================
 * Privacy sticky offset + animated email underline
 * ========================================================= */

/* The sticky operator block now clears the fixed/sticky top navigation. */
.privacy-aside {
  top: 118px;
}

/* Privacy email links stay white; yellow underline grows left-to-right. */
.privacy-aside a,
.privacy-section a[href^="mailto:"] {
  position: relative;
  display: inline-block;
  color: var(--text-strong);
  text-decoration: none;
}

.privacy-aside a::after,
.privacy-section a[href^="mailto:"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms var(--ease-out);
  pointer-events: none;
}

.privacy-aside a:hover::after,
.privacy-aside a:focus-visible::after,
.privacy-section a[href^="mailto:"]:hover::after,
.privacy-section a[href^="mailto:"]:focus-visible::after {
  transform: scaleX(1);
}

/* Prevent the generic privacy-link rule from drawing a second underline. */
.privacy-section a[href^="mailto:"]:hover,
.privacy-section a[href^="mailto:"]:focus-visible {
  text-decoration: none;
}

@media (max-width: 860px) {
  .privacy-aside {
    top: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-aside a::after,
  .privacy-section a[href^="mailto:"]::after {
    transition: none;
  }
}


/* =========================================================
 * Unified title typography
 * English title styling is the source of truth for all languages.
 * Chinese body typography remains language-specific.
 * ========================================================= */

html[lang="en"] .hero-title,
html[lang="zh-Hans"] .hero-title,
html[lang="zh-Hant"] .hero-title {
  font-family: var(--display);
  font-size: clamp(72px, 9.8vw, 148px);
  font-weight: 460;
  line-height: 0.86;
  letter-spacing: -0.018em;
}

html[lang="en"] .display-title,
html[lang="zh-Hans"] .display-title,
html[lang="zh-Hant"] .display-title {
  font-family: var(--display);
  font-size: clamp(68px, 8.8vw, 124px);
  font-weight: 460;
  line-height: 0.88;
  letter-spacing: -0.018em;
}

html[lang="en"] .home-system-title,
html[lang="zh-Hans"] .home-system-title,
html[lang="zh-Hant"] .home-system-title {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 430;
  line-height: 0.98;
  letter-spacing: -0.015em;
}

html[lang="en"] .home-section-title,
html[lang="zh-Hans"] .home-section-title,
html[lang="zh-Hant"] .home-section-title {
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 420;
  line-height: 0.96;
  letter-spacing: -0.014em;
}

html[lang="en"] .home-capability h3,
html[lang="zh-Hans"] .home-capability h3,
html[lang="zh-Hant"] .home-capability h3 {
  font-family: var(--display);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 430;
  line-height: 1;
  letter-spacing: -0.014em;
}

html[lang="en"] .home-method-item strong,
html[lang="zh-Hans"] .home-method-item strong,
html[lang="zh-Hant"] .home-method-item strong {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 430;
  line-height: 1;
  letter-spacing: normal;
}

html[lang="en"] .home-cta h2,
html[lang="zh-Hans"] .home-cta h2,
html[lang="zh-Hant"] .home-cta h2 {
  font-family: var(--display);
  font-size: clamp(42px, 5.5vw, 70px);
  font-weight: 420;
  line-height: 0.98;
  letter-spacing: normal;
}

html[lang="en"] .privacy-title,
html[lang="zh-Hans"] .privacy-title,
html[lang="zh-Hant"] .privacy-title {
  font-family: var(--display);
  font-size: clamp(70px, 9vw, 126px);
  font-weight: 460;
  line-height: 0.86;
  letter-spacing: -0.018em;
}

html[lang="en"] .privacy-section h2,
html[lang="zh-Hans"] .privacy-section h2,
html[lang="zh-Hant"] .privacy-section h2 {
  font-family: var(--display);
  font-size: 31px;
  font-weight: 430;
  line-height: 1.05;
  letter-spacing: normal;
}

/* Mobile uses the same English reference sizes for every language. */
@media (max-width: 680px) {
  html[lang="en"] .hero-title,
  html[lang="zh-Hans"] .hero-title,
  html[lang="zh-Hant"] .hero-title {
    font-size: clamp(64px, 19vw, 96px);
    line-height: 0.88;
  }

  html[lang="en"] .home-section-title,
  html[lang="zh-Hans"] .home-section-title,
  html[lang="zh-Hant"] .home-section-title {
    font-size: 46px;
    line-height: 0.96;
  }

  html[lang="en"] .home-capability h3,
  html[lang="zh-Hans"] .home-capability h3,
  html[lang="zh-Hant"] .home-capability h3 {
    font-size: 36px;
  }

  html[lang="en"] .privacy-title,
  html[lang="zh-Hans"] .privacy-title,
  html[lang="zh-Hant"] .privacy-title {
    font-size: clamp(56px, 18vw, 82px);
    line-height: 0.92;
  }
}


/* =========================================================
 * Final polish — nav material, editorial section heads,
 * privacy sticky offset, copyright glyph
 * ========================================================= */

/* 1) Navigation: rely on blur, not a dark overlay. */
.topbar.is-scrolled::before {
  background: rgba(1, 1, 0, 0.20);
  backdrop-filter: blur(18px) brightness(0.94) saturate(0.50);
  -webkit-backdrop-filter: blur(18px) brightness(0.94) saturate(0.50);
}

/* A very restrained warm hairline: no neon halo. */
.topbar::after {
  background: linear-gradient(
    90deg,
    rgba(255, 186, 0, 0) 0%,
    rgba(255, 186, 0, 0.08) 18%,
    rgba(255, 186, 0, 0.16) 50%,
    rgba(255, 186, 0, 0.08) 82%,
    rgba(255, 186, 0, 0) 100%
  );
  box-shadow: none;
}

.topbar.is-scrolled::after {
  opacity: 1;
}

@media (max-width: 680px) {
  .topbar.menu-open::before {
    background: rgba(1, 1, 0, 0.66);
    backdrop-filter: blur(18px) brightness(0.48) saturate(0.55);
    -webkit-backdrop-filter: blur(18px) brightness(0.48) saturate(0.55);
  }
}

/* 3) Privacy operator: its old top rule sits beneath the sticky header.
      The text starts exactly below the desktop navigation. */
@media (min-width: 861px) {
  .privacy-aside {
    top: 76px;
  }
}

@media (max-width: 860px) {
  .privacy-aside {
    border-top-color: transparent;
    padding-top: 0;
  }
}

/* 4) Copyright symbol — exactly as specified. */
.copyright-symbol {
  display: inline-block;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}


/* =========================================================
 * Chinese section-head alignment + privacy sticky edge
 * ========================================================= */

/* Simplified + Traditional Chinese: label and title share the exact top edge. */
@media (min-width: 861px) {
  html[lang="zh-Hans"] .home-section-head .home-section-label,
  html[lang="zh-Hant"] .home-section-head .home-section-label {
    padding-top: 0;
  }
}

/* Privacy operator rail meets the sticky navigation exactly. */
@media (min-width: 861px) {
  .privacy-aside {
    top: 76px;
  }

  /* Keep the short rule while it is in normal document flow. */
  .privacy-aside:not(.is-stuck) {
    border-top-color: var(--line);
  }

  /* Once the rail reaches the sticky navigation edge, hide its own rule.
     The navigation hairline becomes the only visible separator. */
  .privacy-aside.is-stuck {
    border-top-color: transparent;
  }
}


/* =========================================================
 * Narrow footer — centered three-line layout
 * Tablet / mobile only. Desktop footer remains unchanged.
 * ========================================================= */

@media (max-width: 860px) {
  .footer-line {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 28px 0 32px;
    text-align: center;
  }

  .footer-brand {
    order: 1;
    margin: 0;
  }

  .footer-copyright {
    order: 2;
    width: auto;
    margin: 0;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }

  .footer-privacy {
    order: 3;
    margin: 0;
    text-align: center;
  }
}


/* =========================================================
 * Expanded language menu — 8 languages
 * ========================================================= */
.language-menu {
  max-height: min(332px, calc(100dvh - 112px));
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}

.language-menu:has(> a:nth-child(4)[aria-current="true"]),
.language-menu:has(> a:nth-child(4):is(:hover, :focus-visible)) {
  --language-highlight-y: 120px;
}

.language-menu:has(> a:nth-child(5)[aria-current="true"]),
.language-menu:has(> a:nth-child(5):is(:hover, :focus-visible)) {
  --language-highlight-y: 160px;
}

.language-menu:has(> a:nth-child(6)[aria-current="true"]),
.language-menu:has(> a:nth-child(6):is(:hover, :focus-visible)) {
  --language-highlight-y: 200px;
}

.language-menu:has(> a:nth-child(7)[aria-current="true"]),
.language-menu:has(> a:nth-child(7):is(:hover, :focus-visible)) {
  --language-highlight-y: 240px;
}

.language-menu:has(> a:nth-child(8)[aria-current="true"]),
.language-menu:has(> a:nth-child(8):is(:hover, :focus-visible)) {
  --language-highlight-y: 280px;
}

/* Language-menu interaction fix — hover/focus must override current-language position. */
.language-menu:has(> a:nth-child(1):is(:hover, :focus-visible)) {
  --language-highlight-y: 0px;
}

.language-menu:has(> a:nth-child(2):is(:hover, :focus-visible)) {
  --language-highlight-y: 40px;
}

.language-menu:has(> a:nth-child(3):is(:hover, :focus-visible)) {
  --language-highlight-y: 80px;
}

.language-menu:has(> a:nth-child(4):is(:hover, :focus-visible)) {
  --language-highlight-y: 120px;
}

.language-menu:has(> a:nth-child(5):is(:hover, :focus-visible)) {
  --language-highlight-y: 160px;
}

.language-menu:has(> a:nth-child(6):is(:hover, :focus-visible)) {
  --language-highlight-y: 200px;
}

.language-menu:has(> a:nth-child(7):is(:hover, :focus-visible)) {
  --language-highlight-y: 240px;
}

.language-menu:has(> a:nth-child(8):is(:hover, :focus-visible)) {
  --language-highlight-y: 280px;
}

/* Spanish / French / German retain the current Latin font system. */
html[lang="es"],
html[lang="fr"],
html[lang="de"] {
  --body-font: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: "Alumni Sans", "Albert Sans", sans-serif;
}

html[lang="es"] body,
html[lang="fr"] body,
html[lang="de"] body {
  font-family: var(--body-font);
}

/* Japanese / Korean use local CJK system fonts for glyph coverage. */
html[lang="ja"] {
  --body: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --display: "Alumni Sans", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
}

html[lang="ko"] {
  --body: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --display: "Alumni Sans", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

/* Latin-language display typography follows English. */
html[lang="es"] .hero-title,
html[lang="fr"] .hero-title,
html[lang="de"] .hero-title {
  font-family: var(--display-font);
  font-size: clamp(72px, 9.8vw, 148px);
  font-weight: 460;
  line-height: 0.86;
  letter-spacing: -0.018em;
}

html[lang="es"] .home-section-title,
html[lang="fr"] .home-section-title,
html[lang="de"] .home-section-title {
  font-family: var(--display-font);
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 420;
  line-height: 0.96;
  letter-spacing: -0.014em;
}

html[lang="es"] .home-capability h3,
html[lang="fr"] .home-capability h3,
html[lang="de"] .home-capability h3 {
  font-family: var(--display-font);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 430;
  line-height: 1;
  letter-spacing: -0.014em;
}

html[lang="es"] .privacy-title,
html[lang="fr"] .privacy-title,
html[lang="de"] .privacy-title {
  font-family: var(--display-font);
  font-size: clamp(70px, 9vw, 126px);
  font-weight: 460;
  line-height: 0.86;
  letter-spacing: -0.018em;
}

/* Japanese / Korean CJK display text uses calmer tracking and section-title scale. */
html[lang="ja"] .hero-title,
html[lang="ko"] .hero-title,
html[lang="ja"] .privacy-title,
html[lang="ko"] .privacy-title,
html[lang="ja"] .home-section-title,
html[lang="ko"] .home-section-title {
  letter-spacing: 0;
}

html[lang="ja"] .home-main > .home-section:nth-of-type(2) .home-section-title,
html[lang="ja"] .home-main > .home-section:nth-of-type(3) .home-section-title,
html[lang="ko"] .home-main > .home-section:nth-of-type(2) .home-section-title,
html[lang="ko"] .home-main > .home-section:nth-of-type(3) .home-section-title {
  font-size: clamp(38px, 4.7vw, 62px);
  line-height: 1.04;
}

@media (max-width: 680px) {
  html[lang="es"] .hero-title,
  html[lang="fr"] .hero-title,
  html[lang="de"] .hero-title {
    font-size: clamp(64px, 19vw, 96px);
    line-height: 0.88;
  }

  html[lang="es"] .home-section-title,
  html[lang="fr"] .home-section-title,
  html[lang="de"] .home-section-title {
    font-size: 46px;
    line-height: 0.96;
  }

  html[lang="ja"] .home-main > .home-section:nth-of-type(2) .home-section-title,
  html[lang="ja"] .home-main > .home-section:nth-of-type(3) .home-section-title,
  html[lang="ko"] .home-main > .home-section:nth-of-type(2) .home-section-title,
  html[lang="ko"] .home-main > .home-section:nth-of-type(3) .home-section-title {
    font-size: 38px;
    line-height: 1.06;
  }
}


/* =========================================================
 * Home hero title rhythm — use the Japanese hero scale
 * consistently across all languages.
 * ========================================================= */

.home-hero .hero-title {
  font-size: clamp(78px, 10.5vw, 148px);
  line-height: 0.78;
  margin-top: 22px;
}

@media (max-width: 1100px) {
  .home-hero .hero-title {
    font-size: clamp(64px, 23vw, 88px);
    line-height: 0.8;
  }
}

/* =========================================================
 * Pricing
 * ========================================================= */

.pricing-section-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.pricing-website,
.pricing-brand {
  margin-top: 64px;
}

.pricing-plan-head {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pricing-plan-summary {
  min-width: 0;
  padding: clamp(28px, 3.5vw, 42px);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.008);
}

.pricing-plan-summary--pro {
  background: linear-gradient(145deg, rgba(255,186,0,.028), rgba(255,255,255,.006) 46%, rgba(255,255,255,.003));
}

.pricing-plan-summary h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(40px, 4.7vw, 60px);
  font-weight: 430;
  line-height: 1;
  letter-spacing: -0.014em;
}

.pricing-plan-price {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 6px 10px;
}

.pricing-plan-price span {
  grid-column: 1 / -1;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.pricing-plan-price strong {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(46px, 5.6vw, 72px);
  font-weight: 430;
  line-height: .96;
  letter-spacing: -.018em;
}

.pricing-plan-price em,
.pricing-brand-price em {
  padding-bottom: 7px;
  color: var(--quiet);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: .08em;
}

.pricing-plan-fit {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pricing-plan-fit span {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .065em;
  text-transform: uppercase;
}

.pricing-plan-fit p {
  margin: 9px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.pricing-comparison {
  margin-top: 32px;
}

.pricing-compare-head,
.pricing-compare-row {
  display: grid;
  grid-template-columns: minmax(180px, .78fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 42px);
}

.pricing-compare-head {
  padding: 0 0 13px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-strong);
}

.pricing-compare-group {
  margin-top: 24px;
  padding-top: 2px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.pricing-compare-group--pro {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.pricing-compare-row {
  align-items: start;
  padding: 10px 0;
}

.pricing-compare-row + .pricing-compare-row {
  margin-top: 2px;
}

.pricing-compare-row--section-end {
  margin-bottom: 24px;
}

.pricing-compare-row--section-end::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: -12px;
  left: 10px;
  height: 1px;
  background: var(--line);
}

.pricing-service,
.pricing-value {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.pricing-value--pro {
  color: var(--text-strong);
}

.pricing-detail {
  display: block;
}

.pricing-detail summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.pricing-detail summary::-webkit-details-marker {
  display: none;
}

.pricing-service-name {
  color: var(--text-strong);
}

.pricing-question {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--quiet);
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  transition: color 150ms var(--ease-out);
}

.pricing-question svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-question .pricing-question-dot {
  fill: currentColor;
  stroke: none;
}

.pricing-detail summary:hover .pricing-question,
.pricing-detail summary:focus-visible .pricing-question,
.pricing-detail[open] .pricing-question {
  color: var(--accent);
}

.pricing-detail summary:focus-visible {
  outline: none;
}

.pricing-detail-copy {
  margin-top: 8px;
  padding-left: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.62;
}

.pricing-brand-intro {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.pricing-brand-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pricing-brand-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.006);
}

.pricing-brand-name .pricing-service-name {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 430;
  line-height: 1.04;
}

.pricing-brand-name .pricing-detail-copy {
  margin-top: 12px;
}

.pricing-brand-price {
  margin-top: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 8px;
}

.pricing-brand-price span {
  grid-column: 1 / -1;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.pricing-brand-price strong {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 430;
  line-height: .96;
}

.pricing-note {
  margin-top: 56px;
  padding: clamp(30px, 4vw, 46px) 0;
  display: grid;
  grid-template-columns: minmax(220px,.36fr) minmax(0,.64fr);
  gap: clamp(32px,6vw,76px);
  align-items: start;
  border-top: 1px solid var(--line-strong);
}

.pricing-note h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(34px,4vw,52px);
  font-weight: 430;
  line-height: 1;
}

.pricing-note-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.pricing-note-copy p + p {
  margin-top: 14px;
}

.pricing-currency {
  color: var(--text-strong) !important;
  font-weight: 600;
}

.pricing-cta {
  margin-top: 24px;
  padding: clamp(32px,5vw,52px) 0;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 34px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.pricing-cta h2 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(38px,4.7vw,60px);
  font-weight: 430;
  line-height: 1;
}

.pricing-cta p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.pricing-cta .actions {
  margin: 0;
}

@media (max-width: 860px) {
  .pricing-plan-head,
  .pricing-brand-grid,
  .pricing-note,
  .pricing-cta {
    grid-template-columns: 1fr;
  }

  .pricing-compare-head,
  .pricing-compare-row {
    grid-template-columns: minmax(150px,.72fr) minmax(0,1fr) minmax(0,1fr);
    gap: 18px;
  }

  .pricing-cta .actions {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .pricing-website,
  .pricing-brand {
    margin-top: 50px;
  }

  .pricing-plan-summary {
    padding: 26px 22px;
  }

  .pricing-plan-price strong {
    font-size: clamp(44px,14vw,58px);
  }

  .pricing-compare-head {
    grid-template-columns: minmax(0,1fr) minmax(86px,.72fr) minmax(86px,.78fr);
    gap: 10px;
    font-size: 10px;
  }

  .pricing-compare-row {
    grid-template-columns: 1fr 1fr;
    gap: 7px 12px;
    padding: 12px 0;
  }

  .pricing-service {
    grid-column: 1 / -1;
  }

  .pricing-value {
    padding-top: 2px;
  }

  .pricing-detail-copy {
    max-width: none;
    margin-top: 7px;
  }

  .pricing-brand-grid {
    gap: 12px;
  }

  .pricing-brand-card {
    padding: 24px 22px;
  }

  .pricing-note,
  .pricing-cta {
    margin-top: 44px;
    padding: 28px 0;
  }
}


/* Brand service cards use the same directional feedback as Work cards. */
.pricing-brand-card {
  border: 0;
  background: var(--surface-raised);
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    transform 220ms var(--ease-out),
    background 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .pricing-brand-card:hover {
    transform: translateY(-3px);
    background: var(--surface-hover);
    box-shadow: inset 0 0 0 1px var(--accent);
  }
}

.pricing-brand-card:focus-within {
  background: var(--surface-hover);
  box-shadow: inset 0 0 0 1px var(--accent);
}

/* The service column carries the detail text; plan columns remain compact. */
.pricing-compare-row .pricing-value,
.pricing-compare-head > div:nth-child(2),
.pricing-compare-head > div:nth-child(3) {
  text-align: center;
}

@media (max-width: 680px) {
  .pricing-compare-row {
    grid-template-columns: minmax(0, 1fr) 84px 92px;
    gap: 10px;
    align-items: start;
  }

  .pricing-service {
    grid-column: auto;
  }

  .pricing-value {
    padding-top: 0;
  }
}

/* =========================================================
 * Pricing refinements — 202608110
 * ========================================================= */

/* Service names and inline explanations stay left-aligned before and after opening. */
.pricing-service,
.pricing-service .pricing-detail,
.pricing-service .pricing-detail summary,
.pricing-service .pricing-detail-copy {
  width: 100%;
  text-align: left;
}

.pricing-service .pricing-detail summary {
  justify-content: flex-start;
}

.pricing-service .pricing-detail-copy {
  margin-left: 0;
  padding-left: 0;
}

/* Status columns remain compact; no emoji glyphs are used. */
.pricing-value {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}


/* Independent services show their explanation permanently. */
.pricing-brand-title {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 430;
  line-height: 1.04;
}

.pricing-brand-description {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.68;
}

@media (max-width: 680px) {
  .pricing-compare-row {
    grid-template-columns: minmax(0, 1fr) 76px 88px;
    gap: 10px;
  }

  .pricing-service {
    grid-column: auto;
  }

  .pricing-value {
    padding-top: 0;
  }
}

/* =========================================================
 * Pricing refinements — 202608111
 * ========================================================= */

/* Keep the currency code immediately beside the price. */
.pricing-plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0 7px;
}

.pricing-plan-price > span {
  flex: 0 0 100%;
  margin-bottom: 6px;
}

.pricing-plan-price strong {
  flex: 0 0 auto;
}

.pricing-plan-price em {
  flex: 0 0 auto;
  padding-bottom: 0;
  align-self: baseline;
  transform: translateY(-1px);
}

/* Independent-service prices use the same amount + currency relationship. */
.pricing-brand-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0 7px;
}

.pricing-brand-price > span {
  flex: 0 0 100%;
  margin-bottom: 6px;
}

.pricing-brand-price strong,
.pricing-brand-price em {
  flex: 0 0 auto;
}

.pricing-brand-price em {
  padding-bottom: 0;
  align-self: baseline;
  transform: translateY(-1px);
}

/* Comparison: service content stays left; plan headers and states share right edges. */
.pricing-compare-head > div:first-child {
  text-align: left;
}

.pricing-compare-head > div:nth-child(2),
.pricing-compare-head > div:nth-child(3) {
  text-align: right;
}

.pricing-value {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: right;
}

.pricing-status {
  display: inline-flex;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.pricing-status svg {
  display: block;
  width: 18px;
  height: 18px;
  overflow: visible;
}

.pricing-status-ring,
.pricing-status-mark {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.pricing-status--yes .pricing-status-ring {
  stroke: #707070;
  stroke-width: 1;
}

.pricing-status--yes .pricing-status-mark {
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pricing-status--no .pricing-status-ring {
  stroke: #3f3f3f;
  stroke-width: 1;
}

.pricing-status--no .pricing-status-mark {
  stroke: #686868;
  stroke-width: 1;
  stroke-linecap: round;
}

/* Expanded explanations remain anchored to the service column. */
.pricing-service,
.pricing-service .pricing-detail,
.pricing-service .pricing-detail summary,
.pricing-service .pricing-detail-copy {
  text-align: left;
}

@media (max-width: 680px) {
  .pricing-compare-head,
  .pricing-compare-row {
    grid-template-columns: minmax(0, 1fr) 84px 96px;
    gap: 10px;
  }

  .pricing-compare-head > div:nth-child(2),
  .pricing-compare-head > div:nth-child(3),
  .pricing-value {
    text-align: right;
  }

  .pricing-value {
    justify-content: flex-end;
  }

  .pricing-plan-price em,
  .pricing-brand-price em {
    transform: translateY(-1px);
  }
}

/* =========================================================
 * 202608112 — requested refinements
 * ========================================================= */

/* ---------------------------------------------------------
 * Mobile header:
 * Keep the logo/control bar at the same 68px height whether
 * the menu is closed or open. The links drop below it.
 * --------------------------------------------------------- */
@media (max-width: 680px) {
  .topbar {
    height: 68px;
    min-height: 68px;
    padding: 6px 0;
    grid-template-rows: 56px;
    align-content: center;
    overflow: visible;
  }

  .nav {
    position: absolute;
    z-index: 110;
    top: 100%;
    left: 50%;
    width: 100vw;
    max-height: 0;
    padding: 0 20px;
    grid-column: auto;
    grid-row: auto;
    transform: translateX(-50%);
    background: rgba(1, 1, 0, 0.66);
    backdrop-filter: blur(18px) brightness(0.48) saturate(0.55);
    -webkit-backdrop-filter: blur(18px) brightness(0.48) saturate(0.55);
  }

  .topbar.menu-open .nav {
    max-height: 240px;
  }
}

@media (max-width: 380px) {
  .nav {
    padding-right: 16px;
    padding-left: 16px;
  }
}

/* ---------------------------------------------------------
 * Homepage hero:
 * Match the role-line metrics across languages and reserve
 * the same name-block height used by the English two-line
 * PENG / SICHONG title.
 * --------------------------------------------------------- */
.home-hero .home-eyebrow {
  min-height: 15.4px;
  line-height: 1.4;
}

html[lang="zh-Hans"] .home-hero .home-eyebrow,
html[lang="zh-Hant"] .home-hero .home-eyebrow {
  font-size: 11px;
  line-height: 1.4;
}

/* English/Japanese/Korean/Latin titles naturally occupy two
   lines. Chinese remains one line, but its title block now
   occupies the same vertical height so the hero rhythm matches. */
.home-hero .hero-title {
  min-height: 1.56em;
}

@media (max-width: 1100px) {
  .home-hero .hero-title {
    min-height: 1.6em;
  }
}

/* ---------------------------------------------------------
 * Website / Website Pro cards:
 * Same hover feedback as the independent service cards.
 * --------------------------------------------------------- */
.pricing-plan-summary {
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  transition:
    transform 220ms var(--ease-out),
    background 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .pricing-plan-summary:hover {
    transform: translateY(-3px);
    background: var(--surface-hover);
    box-shadow: inset 0 0 0 1px var(--accent);
  }
}

/* =========================================================
 * 202608113 — hero spacing + Pricing hierarchy
 * ========================================================= */

/* ---------------------------------------------------------
 * Homepage hero spacing
 *
 * Do not force Chinese names to occupy the height of the
 * two-line English PENG / SICHONG title. Only the actual
 * vertical gaps are shared across languages.
 * --------------------------------------------------------- */
.home-hero .home-eyebrow {
  min-height: 0;
}

/* Restore the intended Chinese role-label typography. */
html[lang="zh-Hans"] .home-hero .home-eyebrow,
html[lang="zh-Hant"] .home-hero .home-eyebrow {
  font-size: 13px;
  line-height: 1.4;
}

/* Role line -> name: same spacing as English. */
.home-hero .hero-title {
  min-height: 0;
  margin: 22px 0 0;
}

/* Name's final line -> intro: same spacing as English. */
.home-hero .intro {
  margin: 34px 0 0;
}

@media (max-width: 680px) {
  .home-hero .hero-title {
    min-height: 0;
    margin-top: 22px;
  }

  .home-hero .intro {
    margin-top: 28px;
  }
}

/* ---------------------------------------------------------
 * Pricing section hierarchy
 * --------------------------------------------------------- */
.pricing-section-label,
.pricing-compare-group {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

/* =========================================================
 * 202608114 — Chinese hero optical spacing + pricing row hover
 * ========================================================= */

/* ---------------------------------------------------------
 * Pricing comparison row hover:
 * Highlight the full service row across all three columns
 * without adding another visible border.
 * --------------------------------------------------------- */
.pricing-compare-row {
  position: relative;
  margin-right: -10px;
  margin-left: -10px;
  padding-right: 10px;
  padding-left: 10px;
  transition:
    background-color 180ms var(--ease-out),
    color 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .pricing-compare-row:hover {
    background: rgba(255, 186, 0, 0.045);
  }

  .pricing-compare-row:hover .pricing-service-name {
    color: var(--text-strong);
  }

  .pricing-compare-row:hover .pricing-status--yes .pricing-status-ring {
    stroke: #858585;
  }
}

/* =========================================================
 * 202608115 — home system number/title optical alignment
 * ========================================================= */

/* Align 01 / 02 / 03 / 04 with the visible first-line position
   of Brand Strategy / Digital Architecture / etc. */
.home-system-number {
  align-self: start;
  margin-top: 5px;
}



/* =========================================================
 * 202608116 — requested homepage copy + privacy title spacing
 * ========================================================= */

.privacy-title {
  margin-top: 44px;
}

/* =========================================================
 * 202608117 — pricing group-to-row spacing
 * ========================================================= */

/* Keep the first hoverable service row visually separated
   from the yellow section label above it. */
.pricing-compare-group {
  margin-bottom: 14px;
}

/* The Pro-only group already has a stronger top break; keep
   the same clear space below its label as well. */
.pricing-compare-group--pro {
  margin-bottom: 14px;
}

/* =========================================================
 * 202608118 — Simplified / Traditional Chinese homepage hero
 * ========================================================= */

html[lang="zh-Hans"] .home-hero .hero-title,
html[lang="zh-Hant"] .home-hero .hero-title {
  margin-top: 44px;
  width: calc(100% - 12px);
  line-height: 1;
}

/* =========================================================
 * 202608119 — Pricing page bottom spacing
 * ========================================================= */

.pricing-main {
  padding-bottom: 64px;
}

/* =========================================================
 * 202608124 — Standard / Premier + mobile pricing comparison
 * ========================================================= */

/* Package names are proper names, not utility labels. */
.pricing-compare-head {
  text-transform: none;
}

@media (max-width: 680px) {
  /* Give the service description most of the mobile width while
     keeping the two package columns equal and visually balanced. */
  .pricing-compare-head,
  .pricing-compare-row {
    grid-template-columns: minmax(0, 1fr) 68px 68px;
    gap: 7px;
  }

  .pricing-compare-head {
    font-size: 10px;
    letter-spacing: 0.025em;
  }

  .pricing-compare-head > div:first-child {
    text-align: left;
  }

  .pricing-compare-head > div:nth-child(2),
  .pricing-compare-head > div:nth-child(3) {
    text-align: center;
  }

  .pricing-value {
    justify-content: center;
    text-align: center;
  }

  /* Keep the ? attached to the service label instead of reserving
     a separate fixed-width flex slot at the right edge. */
  .pricing-service .pricing-detail summary {
    display: block;
    width: 100%;
  }

  .pricing-service-name {
    display: inline;
  }

  .pricing-question {
    display: inline-grid;
    margin-left: 5px;
    vertical-align: -2px;
  }

  .pricing-compare-row {
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .pricing-compare-row + .pricing-compare-row {
    margin-top: 0;
  }

  /* Keep the three Premier scope groups clear without creating
     oversized gaps on a narrow screen. */
  .pricing-compare-group {
    margin-top: 22px;
    margin-bottom: 12px;
  }

  .pricing-compare-group--pro {
    margin-top: 12px;
    padding-top: 18px;
    margin-bottom: 12px;
  }
}

/* =========================================================
 * 202608125 — sticky pricing navigation and mobile tier view
 * Reference direction: lightweight sticky navigation, not cards.
 * ========================================================= */

/* Desktop / tablet: keep the direct three-column comparison visible.
   The comparison header becomes a quiet sticky navigation row. */
.pricing-compare-head {
  position: sticky;
  z-index: 42;
  top: 76px;
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(1, 1, 0, 0.94);
  backdrop-filter: blur(16px) saturate(0.68);
  -webkit-backdrop-filter: blur(16px) saturate(0.68);
  border-bottom: 1px solid var(--line-strong);
}

.pricing-mobile-tabs {
  display: none;
}

@media (max-width: 680px) {
  /* On mobile the comparison header is replaced by a sticky plan switcher. */
  .pricing-compare-head {
    display: none;
  }

  .pricing-mobile-tabs {
    position: sticky;
    z-index: 46;
    top: 68px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 -10px 18px;
    padding: 0 10px;
    background: rgba(1, 1, 0, 0.94);
    backdrop-filter: blur(16px) saturate(0.68);
    -webkit-backdrop-filter: blur(16px) saturate(0.68);
    border-bottom: 1px solid var(--line-strong);
  }

  .pricing-mobile-tab {
    position: relative;
    min-width: 0;
    min-height: 48px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: 0.02em;
    cursor: pointer;
  }

  .pricing-mobile-tab::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: -1px;
    left: 12px;
    height: 1px;
    background: transparent;
  }

  .pricing-mobile-tab.is-active {
    color: var(--text-strong);
  }

  .pricing-mobile-tab.is-active::after {
    background: var(--accent);
  }

  /* Mobile is no longer a compressed three-column comparison.
     It becomes: service + question | selected-plan status. */
  .pricing-compare-row {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 10px;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .pricing-service {
    min-width: 0;
  }

  .pricing-service .pricing-detail {
    width: 100%;
  }

  .pricing-service .pricing-detail summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 8px;
    align-items: center;
    width: 100%;
  }

  .pricing-service-name {
    display: block;
    min-width: 0;
  }

  .pricing-question {
    display: inline-grid;
    justify-self: center;
    align-self: center;
    margin: 0;
    vertical-align: baseline;
  }

  /* Only one status column is visible at a time. */
  .pricing-comparison[data-mobile-tier="standard"] .pricing-value--pro {
    display: none;
  }

  .pricing-comparison[data-mobile-tier="premier"] .pricing-compare-row > .pricing-value:not(.pricing-value--pro) {
    display: none;
  }

  .pricing-comparison[data-mobile-tier="standard"] .pricing-compare-row > .pricing-value:not(.pricing-value--pro),
  .pricing-comparison[data-mobile-tier="premier"] .pricing-value--pro {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    text-align: center;
  }

  .pricing-compare-row + .pricing-compare-row {
    margin-top: 0;
  }

  .pricing-compare-group {
    margin-top: 22px;
    margin-bottom: 12px;
  }

  .pricing-compare-group--pro {
    margin-top: 12px;
    padding-top: 18px;
    margin-bottom: 12px;
  }
}

/* =========================================================
 * 202608126 — pricing sticky alignment and exact tab underline
 * ========================================================= */

/* Desktop / tablet:
   use the same visual height and typography as the mobile tabs,
   and attach directly to the viewport top once sticky. */
@media (min-width: 681px) {
  .pricing-compare-head {
    top: 0;
    min-height: 48px;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
    background: var(--background);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: 0.02em;
  }
}

/* Mobile:
   the sticky tabs must fit the exact comparison width.
   The full baseline is 100%; each plan owns exactly 50%.
   The active half overlays the baseline in accent color. */
@media (max-width: 680px) {
  .pricing-mobile-tabs {
    top: 67px;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
    background: var(--surface);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--line-strong);
  }

  .pricing-mobile-tab {
    min-height: 48px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: 0.02em;
  }

  .pricing-mobile-tab::after {
    right: 0;
    left: 0;
    bottom: -1px;
    height: 1px;
  }

  .pricing-mobile-tab.is-active::after {
    background: var(--accent);
  }
}

/* =========================================================
 * 202608128 — reliable sticky comparison + mobile inline info
 * ========================================================= */

/* overflow-x:hidden can become the sticky containing block in some
   browser layouts. clip keeps horizontal overflow suppressed without
   creating a scrolling ancestor for the pricing sticky header. */
html,
body {
  overflow-x: clip;
}

/* Desktop / tablet:
   retain the original neutral comparison-header treatment.
   The site header is itself sticky at 76px, so this row sticks directly beneath it. */
@media (min-width: 681px) {
  .pricing-main,
  .pricing-website,
  .pricing-comparison {
    overflow: visible;
  }

  .pricing-compare-head {
    position: -webkit-sticky;
    position: sticky;
    z-index: 90;
    top: 74px;
    min-height: 48px;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
    color: var(--muted);
    background: var(--surface);
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: 0.02em;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--line-strong);
  }

  .pricing-compare-head > div:nth-child(2),
  .pricing-compare-head > div:nth-child(3) {
    color: inherit;
  }

  .pricing-compare-head > div:nth-child(2)::after,
  .pricing-compare-head > div:nth-child(3)::after {
    content: none;
    display: none;
  }
}

/* Mobile:
   the service title and ? stay together on the left.
   The selected-plan status remains a separate far-right column. */
@media (max-width: 680px) {
  .pricing-compare-row {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 16px;
    align-items: center;
  }

  .pricing-service .pricing-detail {
    width: 100%;
  }

  .pricing-service .pricing-detail summary {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 6px;
    width: 100%;
    padding-right: 0;
  }

  .pricing-service-name {
    flex: 0 1 auto;
    display: block;
    width: auto;
    max-width: calc(100% - 23px);
    min-width: 0;
  }

  .pricing-question {
    position: static;
    top: auto;
    right: auto;
    flex: 0 0 17px;
    display: inline-grid;
    align-self: flex-end;
    margin: 0 0 2px;
    transform: none;
    vertical-align: baseline;
  }

  .pricing-comparison[data-mobile-tier="standard"] .pricing-compare-row > .pricing-value:not(.pricing-value--pro),
  .pricing-comparison[data-mobile-tier="premier"] .pricing-value--pro {
    grid-column: 2;
    justify-self: center;
  }
}

/* =========================================================
 * 202608130 — tablet pricing comparison column balance
 * ========================================================= */

@media (min-width: 681px) and (max-width: 1100px) {
  .pricing-compare-head,
  .pricing-compare-row {
    grid-template-columns: minmax(0, 1fr) 108px 108px;
    gap: 12px;
  }

  .pricing-compare-head > div:nth-child(2),
  .pricing-compare-head > div:nth-child(3),
  .pricing-value {
    justify-content: center;
    text-align: center;
  }
}

/* =========================================================
 * 202608133 — CJK small-label / large-title spacing
 * ========================================================= */

/* Home hero: eyebrow -> hero title */
html[lang="zh-Hans"] body .home-hero .home-eyebrow + .hero-title,
html[lang="zh-Hant"] body .home-hero .home-eyebrow + .hero-title,
html[lang="ja"] body .home-hero .home-eyebrow + .hero-title,
html[lang="ko"] body .home-hero .home-eyebrow + .hero-title {
  margin-top: 44px;
}

/* Home CTA: section label -> CTA heading.
   The CTA h2 intentionally has no .home-section-title class. */
html[lang="zh-Hans"] body .home-main > .home-cta .home-section-label + h2,
html[lang="zh-Hant"] body .home-main > .home-cta .home-section-label + h2,
html[lang="ja"] body .home-main > .home-cta .home-section-label + h2,
html[lang="ko"] body .home-main > .home-cta .home-section-label + h2 {
  margin-top: 14px;
}

/* Privacy uses the same 44px title rhythm. */
html[lang="zh-Hans"] body .privacy-hero > .privacy-kicker + .privacy-title,
html[lang="zh-Hant"] body .privacy-hero > .privacy-kicker + .privacy-title,
html[lang="ja"] body .privacy-hero > .privacy-kicker + .privacy-title,
html[lang="ko"] body .privacy-hero > .privacy-kicker + .privacy-title {
  margin-top: 44px;
}

/* =========================================================
 * 202608135 — balanced card / divider vertical rhythm
 * ========================================================= */

/* Work cards: first label -> title follows the same inset rhythm
   as the card edge. Remove historical card-position exceptions. */
.work-card h2,
.work-card:nth-child(2) h2,
.work-card:nth-child(3) h2 {
  margin-top: 30px;
}

/* Capability cards use the same 30px top inset on wide screens. */
.home-capability h3 {
  margin-top: 30px;
}

/* Home system header: top edge -> label and label -> title both 28px. */
.home-system-title {
  margin-top: 28px;
}

/* Divider-based method items: divider -> index and index -> title both 18px. */
.home-method-item strong {
  margin-top: 18px;
}

/* Skills entries are not boxed; keep the requested consistent 24px gap. */
.skill-entry h2 {
  margin-top: 24px;
}

@media (max-width: 860px) {
  /* Work cards use 22px card padding in this range. */
  .work-card h2,
  .work-card:nth-child(2) h2,
  .work-card:nth-child(3) h2 {
    margin-top: 22px;
  }

  /* Capability cards use 24px padding in this range. */
  .home-capability h3 {
    margin-top: 24px;
  }
}

@media (max-width: 680px) {
  /* Mobile Work cards use 24px padding. */
  .work-card h2,
  .work-card:nth-child(2) h2,
  .work-card:nth-child(3) h2 {
    margin-top: 24px;
  }

  .home-capability h3,
  .skill-entry h2 {
    margin-top: 24px;
  }
}

/* =========================================================
 * 202608137 — mobile menu glyph right-edge alignment
 * ========================================================= */

@media (max-width: 680px) {
  .menu-toggle {
    justify-content: flex-end;
  }

  .menu-toggle-box {
    margin-left: auto;
    margin-right: 0;
  }
}


/* =========================================================
 * 202608139 — prevent mobile double-tap zoom
 * ========================================================= */
@media (max-width: 680px) {
  html,
  body {
    touch-action: manipulation;
  }
}


/* =========================================================
 * 202608141 — Safari pricing sticky seam
 * ========================================================= */
/* The 76px sticky site header remains above this row (z-index 100).
   A 2px overlap avoids Safari subpixel hairline seams while remaining
   visually identical in Chromium. */



.skill-entry {
  border-top: 1px solid var(--line);
  padding-top: 44px;
}

.pricing-existing {
  margin-top: 64px;
}

.pricing-existing-title,
.pricing-brand-section-title {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 430;
  line-height: .98;
  letter-spacing: -0.014em;
}

.pricing-existing-intro {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.pricing-existing-list {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.pricing-existing-item {
  position: relative;
  min-width: 0;
  min-height: 300px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--surface-raised);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  transition:
    transform 220ms var(--ease-out),
    background 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

.pricing-existing-item:nth-child(1),
.pricing-existing-item:nth-child(2) {
  grid-column: span 6;
}

.pricing-existing-item:nth-child(3),
.pricing-existing-item:nth-child(4),
.pricing-existing-item:nth-child(5) {
  grid-column: span 4;
}

@media (hover: hover) and (pointer: fine) {
  .pricing-existing-item:hover {
    transform: translateY(-3px);
    background: var(--surface-hover);
    box-shadow: inset 0 0 0 1px var(--accent);
  }
}

.pricing-existing-name {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 430;
  line-height: 1.04;
  letter-spacing: -0.014em;
}

.pricing-existing-item p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.pricing-existing-price {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: baseline;
  gap: 0 7px;
  text-align: left;
}

.pricing-existing-price span {
  flex: 0 0 100%;
  margin-bottom: 6px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.pricing-existing-price strong {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 430;
  line-height: .96;
}

.pricing-existing-price em {
  color: var(--quiet);
  font-size: 10px;
  font-style: normal;
  line-height: 1.2;
}

.pricing-scope-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: .035em;
  text-align: center;
}

@media (max-width: 860px) {
  .pricing-existing-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26px;
  }

  .pricing-existing-item,
  .pricing-existing-item:nth-child(1),
  .pricing-existing-item:nth-child(2),
  .pricing-existing-item:nth-child(3),
  .pricing-existing-item:nth-child(4),
  .pricing-existing-item:nth-child(5) {
    grid-column: auto;
    min-height: 0;
    padding: 24px 22px;
  }

  .pricing-existing-item p {
    margin-top: 14px;
  }

  .pricing-existing-price {
    padding-top: 24px;
  }
}

@media (max-width: 680px) {
  .pricing-existing {
    margin-top: 50px;
  }

  .pricing-existing-title,
  .pricing-brand-section-title {
    font-size: clamp(38px, 12vw, 52px);
  }

  .pricing-existing-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pricing-existing-item,
  .pricing-existing-item:nth-child(1),
  .pricing-existing-item:nth-child(2),
  .pricing-existing-item:nth-child(3),
  .pricing-existing-item:nth-child(4),
  .pricing-existing-item:nth-child(5) {
    grid-column: auto;
    min-height: 0;
    padding: 24px;
  }

  .pricing-existing-item p {
    margin-top: 14px;
  }

  .pricing-existing-price {
    padding-top: 24px;
  }

  .pricing-existing-price strong {
    font-size: clamp(30px, 9vw, 40px);
  }
}




/* =========================================================
 * 20260822217 — canonical homepage split-heading structure
 * =========================================================
 * Both homepage content sections use the same DOM and the same grid:
 * row 1: section label
 * row 2: display title | supporting copy
 * The label/title spacing therefore comes from one row-gap rather than
 * section-specific margins or wrapper-dependent overrides.
 */
.home-main > .home-section:nth-of-type(2) .home-section-head,
.home-main > .home-section:nth-of-type(3) .home-section-head {
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 14px;
  align-items: end;
}

/* Preserve the already-tuned horizontal proportions as design variables;
   structure, rows, alignment and vertical rhythm are shared. */
.home-main > .home-section:nth-of-type(2) .home-section-head {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  column-gap: clamp(28px, 2.6vw, 40px);
}

.home-main > .home-section:nth-of-type(3) .home-section-head {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  column-gap: clamp(30px, 3.2vw, 48px);
}

.home-main > .home-section:nth-of-type(2) .home-section-label,
.home-main > .home-section:nth-of-type(3) .home-section-label {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  margin: 0;
  padding: 0;
}

.home-main > .home-section:nth-of-type(2) .home-section-title,
.home-main > .home-section:nth-of-type(3) .home-section-title {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  max-width: none;
  margin: 0;
}

.home-main > .home-section:nth-of-type(2) .home-section-copy,
.home-main > .home-section:nth-of-type(3) .home-section-copy {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  width: 100%;
  max-width: 520px;
  margin: 0;
}

html[lang="zh-Hans"] .home-main > .home-section:nth-of-type(2) .home-section-title,
html[lang="zh-Hans"] .home-main > .home-section:nth-of-type(3) .home-section-title,
html[lang="zh-Hant"] .home-main > .home-section:nth-of-type(2) .home-section-title,
html[lang="zh-Hant"] .home-main > .home-section:nth-of-type(3) .home-section-title {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;
}

@media (max-width: 860px) {
  .home-main > .home-section:nth-of-type(2) .home-section-head,
  .home-main > .home-section:nth-of-type(3) .home-section-head {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 0;
  }

  .home-main > .home-section:nth-of-type(2) .home-section-label,
  .home-main > .home-section:nth-of-type(3) .home-section-label {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 14px;
  }

  .home-main > .home-section:nth-of-type(2) .home-section-title,
  .home-main > .home-section:nth-of-type(3) .home-section-title {
    grid-column: 1;
    grid-row: 2;
  }

  .home-main > .home-section:nth-of-type(2) .home-section-copy,
  .home-main > .home-section:nth-of-type(3) .home-section-copy {
    grid-column: 1;
    grid-row: 3;
    max-width: none;
    margin-top: 22px;
  }
}

@media (max-width: 680px) {
  html[lang="zh-Hans"] .home-main > .home-section:nth-of-type(2) .home-section-title,
  html[lang="zh-Hans"] .home-main > .home-section:nth-of-type(3) .home-section-title,
  html[lang="zh-Hant"] .home-main > .home-section:nth-of-type(2) .home-section-title,
  html[lang="zh-Hant"] .home-main > .home-section:nth-of-type(3) .home-section-title {
    font-size: clamp(38px, 12vw, 52px);
    line-height: 1.08;
  }
}

/* =========================================================
 * 20260822213 — site-wide display-text optical left alignment
 * =========================================================
 * Large display glyphs can have a visible left side-bearing even when
 * their CSS boxes are mathematically aligned. Shift only display-level
 * typography; layout widths, wrapping and container padding stay intact.
 */
:where(
  .hero-title,
  .display-title,
  .section-heading,
  .work-family-title,
  .work-card h2,
  .skill-entry h2,
  .skills-conclusion h2,
  .contact-email,
  .contact-aside h2,
  .home-system-title,
  .home-system-item strong,
  .home-section-title,
  .home-capability h3,
  .home-method-item strong,
  .home-cta h2,
  .privacy-title,
  .privacy-section h2,
  .pricing-plan-summary h2,
  .pricing-brand-title,
  .pricing-existing-title,
  .pricing-brand-section-title,
  .pricing-existing-name,
  .pricing-note h2,
  .pricing-cta h2
) {
  transform: translateX(-0.016em);
}

/* CJK display glyphs generally carry a little more visible left inset. */
html:is([lang="zh-Hans"], [lang="zh-Hant"], [lang="ja"], [lang="ko"]) :where(
  .hero-title,
  .display-title,
  .section-heading,
  .work-family-title,
  .work-card h2,
  .skill-entry h2,
  .skills-conclusion h2,
  .contact-email,
  .contact-aside h2,
  .home-system-title,
  .home-system-item strong,
  .home-section-title,
  .home-capability h3,
  .home-method-item strong,
  .home-cta h2,
  .privacy-title,
  .privacy-section h2,
  .pricing-plan-summary h2,
  .pricing-brand-title,
  .pricing-existing-title,
  .pricing-brand-section-title,
  .pricing-existing-name,
  .pricing-note h2,
  .pricing-cta h2
) {
  transform: translateX(-0.026em);
}
