:root {
  color-scheme: light;
  --ink: #122637;
  --navy: #0c2133;
  --night: #091722;
  --muted: #405b6a;
  --line: #c8dade;
  --mist: #eaf3f4;
  --paper: #f7faf9;
  --accent: #00605f;
  --mint: #adefe2;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.65; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(3.25rem, 6.15vw, 6.25rem); letter-spacing: -.069em; font-weight: 720; }
h2 { font-size: clamp(2.15rem, 4vw, 3.8rem); letter-spacing: -.056em; }
h3 { font-size: 1.22rem; letter-spacing: -.026em; }
a { color: inherit; text-underline-offset: .25em; }
:focus-visible { outline: 3px solid #008486; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
.shell { width: min(80rem, calc(100% - clamp(2rem, 8vw, 8rem))); margin-inline: auto; }
.skip { position: absolute; z-index: 2; inset: .5rem auto auto .5rem; transform: translateY(-150%); padding: .65rem 1rem; background: white; }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .closing { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 4.65rem; }
.brand { display: inline-flex; gap: .75rem; align-items: center; font-size: 1.23rem; font-weight: 750; line-height: 1; letter-spacing: -.048em; text-decoration: none; }
.brand-tail { font-weight: 520; }
.brand-mark { display: inline-block; flex: 0 0 1.78rem; width: 1.78rem; height: 1.78rem; background: var(--navy); border-radius: .4rem; position: relative; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border: 2px solid var(--mint); width: .66rem; height: .66rem; border-radius: .12rem; transform: rotate(-16deg); top: .45rem; left: .43rem; }
.brand-mark::after { top: .70rem; left: .70rem; }
nav { display: flex; align-items: center; gap: clamp(.75rem, 2.8vw, 2.4rem); }
nav a { font-size: .91rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.nav-contact { padding: .46rem .9rem; border: 1px solid var(--line); border-radius: .28rem; }
.nav-contact:hover, .nav-contact[aria-current="page"] { background: var(--mist); }

.hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(1.5rem, 4vw, 4.2rem); align-items: center; padding-block: clamp(2.5rem, 5.5vw, 5.1rem); }
.hero-copy p, .contact-masthead p { max-width: 43ch; color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.19rem); margin-top: 1.5rem; }
.hero-visual { overflow: hidden; background: var(--night); border-radius: .42rem; aspect-ratio: 1.05; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.5rem; margin-top: 1.8rem; }
.button { display: inline-block; background: var(--navy); color: #fff; border-radius: .28rem; padding: .76rem 1.06rem; font-weight: 680; text-decoration: none; }
.button:hover { background: var(--accent); }
.text-link { color: var(--accent); font-weight: 700; }

.section { padding-block: clamp(3rem, 6.5vw, 6.5rem); }
.split { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(1.5rem, 5vw, 5rem); }
.section-intro p, .section-lead { max-width: 39ch; margin-top: .9rem; color: var(--muted); }
#services { border-top: 1px solid var(--line); }
.disclosures { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: .8rem; cursor: pointer; padding: 1.1rem .08rem; font-weight: 720; font-size: clamp(1rem, 1.55vw, 1.2rem); line-height: 1.35; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: .54rem; height: .54rem; margin-right: .4rem; flex: none; transform: rotate(45deg); border: solid var(--accent); border-width: 0 2px 2px 0; }
details[open] > summary::after { transform: rotate(225deg); }
summary:hover { color: var(--accent); }
details p { max-width: 62ch; padding: 0 1.7rem 1.1rem .08rem; color: var(--muted); }

.examples-band { background: var(--mist); }
.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.3rem, 3.2vw, 3rem); margin-top: 2rem; }
.example-grid article { border-top: 2px solid #6cabad; padding-top: 1.05rem; }
.example-grid p, .steps p { color: var(--muted); margin-top: .5rem; }
.steps { display: grid; gap: 1.45rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.65rem 1fr; align-items: start; gap: 1rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-weight: 700; }
.steps li > div { padding-top: .19rem; }
.company-band { background: var(--navy); color: #fff; }
.company-band p { color: #ccdde5; }
.company-details { border-top: 1px solid #547281; }
.company-details div { display: grid; grid-template-columns: minmax(7rem, .7fr) 1.3fr; gap: .65rem; padding-block: .8rem; border-bottom: 1px solid #547281; }
.company-details dt { color: #c4d6df; }
.company-details dd { font-weight: 690; }
.closing { background: var(--mist); padding: clamp(1.4rem, 4vw, 3rem); border-radius: .42rem; margin-bottom: clamp(3rem, 5.5vw, 5rem); }
.closing h2 { font-size: clamp(1.8rem, 3.1vw, 3rem); }
.closing .button { flex: none; }
.site-footer { background: var(--night); color: var(--paper); }
.site-footer :focus-visible { outline-color: var(--mint); }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(1.35rem, 3.15vw, 3.25rem);
  align-items: start;
  padding-block: clamp(2.2rem, 4.8vw, 4.5rem);
}
.footer-brand .brand { letter-spacing: -.032em; }
.footer-brand p { margin-top: .65rem; max-width: 26ch; color: #bed1da; }
.footer-nav { display: grid; align-items: start; grid-template-columns: 1.2fr 1fr; gap: .65rem 1.35rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-nav a, .footer-contact a { overflow-wrap: anywhere; }
.footer-contact a { display: inline-block; margin-top: .4rem; color: var(--mint); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.15rem;
  justify-content: space-between;
  padding-block: 1rem;
  border-top: 1px solid #405b6a;
  color: #bed1da;
}
.footer-bottom small { font-size: .875rem; }

.contact-page { min-height: 100vh; display: flex; flex-direction: column; }
.contact-page main { flex: 1; }
.contact-masthead { padding-top: clamp(3.2rem, 8vw, 7rem); }
.contact-masthead h1 { max-width: 15ch; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.4rem, 4.8vw, 4rem); align-items: start; }
.contact-grid h2 { font-size: clamp(1.6rem, 2.7vw, 2.65rem); }
.contact-method { background: var(--mist); padding: clamp(1.3rem, 3vw, 2.6rem); border-radius: .42rem; }
.contact-method p { margin-top: .75rem; color: var(--muted); }
.contact-method a { overflow-wrap: anywhere; }
.brief { padding: clamp(.3rem, 1.2vw, 1rem) 0; }
.brief-note { margin-top: .65rem; color: var(--muted); }
.brief ul { list-style: none; margin: .9rem 0 0; padding: 0; }
.brief li { display: grid; grid-template-columns: minmax(6rem, .42fr) 1fr; gap: .65rem; border-top: 1px solid var(--line); padding: .7rem 0; }
.brief li span { color: var(--muted); }
.brief-example { margin-top: 1.1rem; padding: 1.1rem 1.25rem; border-inline-start: 2px solid #6cabad; background: var(--mist); }
.brief-example p { margin-top: .45rem; color: var(--muted); }
.deliverables { border-top: 1px solid var(--line); }
.deliverable-list > div { border-top: 1px solid var(--line); padding: 1rem 0; }
.deliverable-list > div:last-child { border-bottom: 1px solid var(--line); }
.deliverable-list dt { font-size: 1.15rem; font-weight: 720; }
.deliverable-list dd { margin-top: .2rem; color: var(--muted); }

@media (max-width: 56rem) {
  .hero { gap: 1.55rem; }
  h1 { font-size: clamp(2.85rem, 6.65vw, 4.4rem); }
}
@media (max-width: 44rem) {
  .hero, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.5rem; }
  .hero-visual { aspect-ratio: 1.3; }
  .example-grid { grid-template-columns: 1fr; }
  .closing { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 29rem) {
  .header-inner { flex-wrap: wrap; gap: .7rem 1rem; padding-block: .85rem .6rem; }
  .header-inner nav { width: 100%; justify-content: space-between; }
  .footer-main { grid-template-columns: 1fr; }
  .brief li { grid-template-columns: 1fr; gap: .1rem; }
}

.language-menu { position: relative; border: 0; }
.language-menu summary {
  min-height: 2.55rem;
  font-size: .91rem;
  line-height: 1.2;
  padding: .45rem .1rem .45rem .25rem;
  gap: .36rem;
  white-space: nowrap;
}
.language-menu summary::after { width: .42rem; height: .42rem; margin-inline: .1rem .28rem; }
.language-name { color: var(--muted); font-weight: 600; }
.language-menu ul {
  position: absolute;
  z-index: 3;
  top: 100%;
  right: 0;
  min-width: 11rem;
  margin: .25rem 0 0;
  padding: .28rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: var(--paper);
  box-shadow: 0 .55rem 1.3rem #12263718;
}
.language-menu li a { display: block; padding: .45rem .65rem; border-radius: .22rem; }
.language-menu li a:hover, .language-menu a[aria-current="true"] { background: var(--mist); }
html:lang(zh), html:lang(ja) { font-family: system-ui, "PingFang SC", "Hiragino Sans", sans-serif; }
html:lang(zh) :is(h1, h2, h3), html:lang(ja) :is(h1, h2, h3) { letter-spacing: -.025em; }
html:lang(zh) h1, html:lang(ja) h1 { font-size: clamp(2.65rem, 4.6vw, 5rem); line-height: 1.18; }
@media (max-width: 48rem) {
  .header-inner { flex-wrap: wrap; padding-block: .7rem; gap: .35rem 1.4rem; }
  .header-inner nav { flex-wrap: wrap; gap: .25rem clamp(.55rem, 2vw, 1.25rem); }
}
@media (max-width: 29rem) {
  .header-inner nav { justify-content: flex-start; }
  .language-menu { margin-left: auto; }
}

.scroll-progress {
  position: fixed;
  z-index: 4;
  inset: 0 0 auto;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, #007d7d, #60d6be);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  display: none;
}

@keyframes cybria-enter {
  from { opacity: .1; translate: 0 .65rem; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes cybria-unfold {
  from { opacity: 0; translate: 0 -.22rem; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes cybria-page-in {
  from { opacity: .45; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    --motion-ease: cubic-bezier(.2, .7, .25, 1);
    scroll-behavior: smooth;
    scroll-padding-top: .9rem;
  }
  .scroll-progress { display: block; }
  :where(a, summary) {
    transition: color 180ms ease, opacity 160ms ease, background-color 180ms ease,
      border-color 180ms ease, text-decoration-color 180ms ease, transform 200ms var(--motion-ease);
  }
  a:active { opacity: .72; }
  .brand-mark { transition: transform 240ms var(--motion-ease); }
  .button:active { transform: scale(.975); }
  summary::after { transition: transform 240ms var(--motion-ease); }
  .site-header { animation: cybria-page-in 250ms ease-out; }
  .hero-copy, .contact-masthead { animation: cybria-enter 460ms var(--motion-ease); }
  .hero-visual { animation: cybria-enter 570ms var(--motion-ease); }
  .has-entered { animation: cybria-enter 440ms var(--motion-ease); }
  .has-entered:focus-within { animation: none; }
  .language-menu[open] > ul { animation: cybria-unfold 190ms var(--motion-ease); }

  @media (hover: hover) {
    .button:hover:not(:active) { transform: translateY(-2px); }
    .brand:hover .brand-mark { transform: rotate(-7deg); }
    .nav-contact:hover { border-color: #88b7b9; }
    .site-header nav a:hover { color: var(--accent); }
    .site-footer a:hover { color: var(--mint); }
  }

  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    .disclosures details::details-content {
      interpolate-size: allow-keywords;
      overflow: clip;
      block-size: 0;
      opacity: 0;
      transition: block-size 280ms var(--motion-ease), opacity 220ms ease, content-visibility 280ms;
      transition-behavior: allow-discrete;
    }
    .disclosures details[open]::details-content { block-size: auto; opacity: 1; }
  }
  @supports not ((interpolate-size: allow-keywords) and selector(details::details-content)) {
    .disclosures details[open] > p { animation: cybria-unfold 200ms var(--motion-ease); }
  }
  @supports selector(details::details-content) {
    .language-menu::details-content {
      opacity: 0;
      transition: opacity 180ms ease, content-visibility 180ms;
      transition-behavior: allow-discrete;
    }
    .language-menu[open]::details-content { opacity: 1; }
    .language-menu:not([open]) > ul { pointer-events: none; }
  }

}
