:root {
  color-scheme: light;
  --graphite: #101619;
  --panel: #182326;
  --dark-line: #354649;
  --white: #f2f5f1;
  --dark-muted: #b7c7c4;
  --warm: #f5f5ef;
  --paper: #fcfcf8;
  --line: #d8ded7;
  --ink: #192327;
  --muted: #50625f;
  --mint: #9de0c9;
  --link: #1d6958;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  color: var(--ink);
  background: var(--warm);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: .25em; }
button, select, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--mint); }
.skip-link { position: fixed; z-index: 10; inset: 8px auto auto 8px; padding: 10px 16px; background: var(--paper); transform: translateY(-130%); }
.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - 104px), 1280px); margin-inline: auto; }
.split, .body-grid, .card-grid, .form-row { display: grid; gap: clamp(20px, 5vw, 70px); }
.split { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.body-grid { grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); align-items: start; }
.card-grid { gap: 24px; }
.two, .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.section { padding-block: clamp(52px, 7vw, 104px); }
.paper { background: var(--paper); }
.dark { background: var(--graphite); color: var(--white); }
.lede { color: var(--muted); font-size: clamp(16px, 1.35vw, 20px); max-width: 38em; }
.dark .lede { color: var(--dark-muted); }
.eyebrow { color: var(--link); font-size: .85rem; font-weight: 600; }
h1, h2, h3 { line-height: 1.22; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 4.35vw, 66px); letter-spacing: -.045em; }
h2 { font-size: clamp(26px, 2.75vw, 42px); letter-spacing: -.028em; }
h3 { font-size: clamp(19px, 1.8vw, 26px); }
.button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 20px; border: 1px solid var(--line); border-radius: 8px;
  font-weight: 600; text-align: center; text-decoration: none; color: var(--ink);
  transition: background .18s, border-color .18s, color .18s;
}
.button:hover { background: #e8ede6; }
.dark .button { border-color: var(--dark-line); color: var(--white); }
.dark .button:hover { background: var(--panel); }
.button-primary, .dark .button-primary { background: var(--mint); color: var(--graphite); border-color: var(--mint); }
.button-primary:hover, .dark .button-primary:hover { background: #b3e8d5; }
.button-dark { color: var(--white); background: var(--graphite); border-color: var(--graphite); }
.button-dark:hover { background: var(--link); border-color: var(--link); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-header, .site-footer { color: var(--white); background: var(--graphite); }
.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--dark-line); }
.header-inner, .header-actions, .desktop-nav { display: flex; align-items: center; }
.header-inner { min-height: 68px; gap: clamp(18px, 3.5vw, 52px); }
.header-actions { margin-left: auto; gap: 8px; }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.brand img { width: 144px; }
.desktop-nav { gap: clamp(14px, 2vw, 32px); }
.desktop-nav a, .site-footer nav a, .mobile-menu nav a { color: var(--dark-muted); text-decoration: none; }
.desktop-nav a { display: flex; min-height: 44px; align-items: center; font-size: .9rem; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current], .desktop-nav .current-section, .site-footer nav a:hover { color: var(--mint); }
.mobile-menu { display: none; }
.mobile-menu summary { list-style: none; min-height: 44px; padding: 9px 12px; border: 1px solid var(--dark-line); border-radius: 8px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; inset: 100% 0 auto; padding: 8px 20px 16px; background: var(--graphite); border-bottom: 1px solid var(--dark-line); }
.mobile-menu nav a { display: flex; min-height: 44px; align-items: center; border-top: 1px solid var(--dark-line); }
#main { scroll-margin-top: 72px; }
.home-hero { padding-block: clamp(60px, 8vw, 120px); }
.home-hero .split > div:first-child { container-type: inline-size; }
.home-hero h1 { font-size: clamp(28px, 9.7cqi, 60px); }
.home-hero h1 span { display: block; }
.home-hero .lede, .section-hero .lede { margin-top: 24px; }
.home-hero .actions { margin-top: 34px; }
.order-board {
  padding: clamp(18px, 2.2vw, 32px); border: 1px solid var(--dark-line); border-radius: 12px;
  background-color: var(--panel);
  background-image: linear-gradient(90deg,#35464942 1px,transparent 1px),linear-gradient(#35464942 1px,transparent 1px);
  background-size: 23px 23px; animation: settle .45s ease-out both;
}
#order-board-title { font-size: clamp(20px, 2.3vw, 27px); text-wrap: balance; }
.order-board dt { color: var(--dark-muted); font-size: .8rem; }
.order-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; margin-block: 30px; }
.order-static { margin-block: 24px; padding-left: 24px; color: var(--dark-muted); font-size: .86rem; }
.order-static li + li { margin-top: 4px; }
.order-steps[hidden], .order-static[hidden] { display: none; }
.order-steps button { min-height: 56px; border: 1px solid transparent; border-top-color: var(--dark-line); border-radius: 6px; background: transparent; color: var(--dark-muted); padding: 4px 2px; font-size: .81rem; transition: background .18s, color .18s, border-color .18s; }
.order-steps button:hover { border-color: var(--mint); }
.order-steps button[aria-pressed=true] { color: var(--graphite); background: var(--mint); }
#order-record { min-height: 148px; }
#record-title { font-size: 1.18rem; letter-spacing: 0; }
#record-description { margin-top: 6px; color: var(--dark-muted); font-size: .93rem; }
.order-board dl { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--dark-line); }
.order-board dd { margin-top: 3px; font-size: .9rem; }
@keyframes settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.card, .panel { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.card { position: relative; overflow: hidden; }
.card:focus-within { outline: 2px solid var(--link); outline-offset: 4px; }
.card :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; }
.card h2 { font-size: clamp(19px, 1.8vw, 26px); }
.card-copy { padding: clamp(20px, 2.5vw, 34px); }
.card :is(h2, h3) a, .service-list h3 a { color: var(--ink); text-decoration-color: transparent; transition: color .17s, text-decoration-color .17s; }
.card :is(h2, h3) a:hover, .service-list h3 a:hover { color: var(--link); text-decoration-color: currentColor; }
.card p + :is(h2, h3) { margin-top: 7px; }
.card :is(h2, h3) + p, .service-list p { color: var(--muted); margin-top: 12px; }
.picture { position: relative; background: var(--panel); }
.picture img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.service-list article { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 20px; padding-block: 24px; border-top: 1px solid var(--line); }
.service-list p { margin: 0; }
.bio .actions { justify-content: end; }
.bio p { margin-top: 14px; }
.section-hero { padding: 34px 0 clamp(52px, 6vw, 94px); }
.section-hero .button { margin-top: 24px; }
.section-hero .picture { border-radius: 12px; overflow: hidden; border: 1px solid var(--dark-line); }
.delivery-example {
  padding: clamp(18px, 3vw, 36px);
  background: var(--panel);
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  overflow-wrap: anywhere;
}
.delivery-example h2 { font-size: clamp(20px, 2.3vw, 30px); text-wrap: balance; }
.delivery-example dl { margin-top: 16px; }
.delivery-example dl > div { border-top: 1px solid var(--dark-line); padding-block: 10px; }
.delivery-example dl > div:last-child { padding-bottom: 0; }
.delivery-example dt { color: var(--mint); font-size: .9rem; font-weight: 650; }
.delivery-example dd { margin-top: 3px; color: var(--dark-muted); font-size: .95rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 5px 10px; align-items: baseline; margin-bottom: 34px; font-size: .86rem; color: var(--muted); }
.dark .breadcrumbs, .dark .breadcrumbs a { color: var(--dark-muted); }
.prose { color: var(--ink); max-width: 76ch; font-size: 1.055rem; }
.prose h2, .related h2 { font-size: clamp(21px, 2.35vw, 32px); }
.prose h2 + p, .prose h2 + address { margin-top: 10px; }
.prose > section + section, .prose > h2, .prose > p + p { margin-top: 28px; }
.prose > header { margin-bottom: 28px; }
.prose table { width: 100%; margin-block: 24px; border-collapse: collapse; table-layout: fixed; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; text-align: left; border: 1px solid var(--line); overflow-wrap: anywhere; }
.prose thead th { background: var(--warm); }
.prose tbody th { font-weight: 600; }
.table-cell-label { display: none; }
.article-section { padding-top: 34px; }
.article h1 { font-size: clamp(30px, 4.2vw, 54px); margin-top: 8px; }
.article .byline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 15px; color: var(--muted); font-size: .88rem; }
.article-change { margin-top: 24px; padding: 12px; background: var(--warm); }
.related, .project-form { padding: clamp(18px, 3vw, 36px); }
.related ul { margin: 14px 0 0; padding-left: 20px; }
.related li + li { margin-top: 8px; }
.aside-action { margin-top: 18px; }
.project-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.project-form :is(input, select, textarea) { width: 100%; min-height: 44px; padding: 7px 12px; border: 1px solid #a6b3ab; border-radius: 6px; background: white; color: var(--ink); }
.project-form textarea { resize: vertical; }
.project-form .form-row { margin-block: 16px; gap: 16px; }
.project-form .form-note { margin-block: 12px; color: var(--muted); font-size: .9rem; }
.project-form .form-unavailable { margin-top: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
#contact-work { display: inline-flex; align-items: center; min-height: 44px; }
.language-confirm {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: clamp(18px, 5vw, 30px);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 48px #10161933;
  overflow-wrap: anywhere;
}
.language-confirm::backdrop { background: #101619bb; }
.language-confirm h2 { font-size: clamp(21px, 4vw, 27px); }
.language-confirm p { margin-block: 12px 22px; color: var(--muted); }
.language-confirm .actions { justify-content: flex-end; gap: 8px; }
.language-confirm .actions .button { flex: 0 1 auto; padding-inline: 14px; }
.site-footer { border-top: 1px solid var(--dark-line); padding-block: 48px; }
.footer-grid { display: grid; grid-template-columns: minmax(160px,.7fr) minmax(200px,1fr) auto; gap: 24px; }
.site-footer nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 10px 16px; }
.site-footer address, .copyright { color: var(--dark-muted); font-size: .88rem; }
.company-name { margin: 4px 0 6px; font-weight: 600; }
address { font-style: normal; }
@media (max-width: 920px) {
  .shell { width: min(calc(100% - 48px), 1280px); }
  .header-inner { gap: 20px; }
  .brand img { width: 120px; }
  .three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .shell { width: calc(100% - 40px); }
  .split, .body-grid, .two, .three, .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .home-hero .split { gap: 34px; }
  .home-hero h1 { font-size: clamp(26px, 8.65vw, 46px); }
  .home-hero .lede { margin-top: 18px; }
  .home-hero .actions { margin-top: 24px; }
  .bio .actions { justify-content: start; }
  .header-actions > a { padding-inline: 11px; font-size: .85rem; }
  .service-list article { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .section-heading { margin-bottom: 22px; }
  .article h1 { letter-spacing: -.025em; }
}
@media (max-width: 370px) {
  .form-row { grid-template-columns: minmax(0,1fr); }
  .language-confirm .actions .button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* The selector uses a native disclosure, so its language links work without JavaScript. */
.language-switch > summary {
  width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  list-style: none;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
}
.language-switch > summary::-webkit-details-marker { display: none; }
.language-switch:not([open]) > .language-panel { display: none; }
.language-switch[open] > summary, .language-switch > summary:hover { color: var(--mint); }
.globe-icon { position: relative; width: 20px; height: 20px; border: 1.5px solid currentColor; border-radius: 50%; }
.globe-icon::before { content: ""; position: absolute; inset: -1.5px 4px; border: 1.5px solid currentColor; border-radius: 50%; }
.globe-icon::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; border-top: 1.5px solid currentColor; transform: translateY(-50%); }
.language-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: max(20px, calc((100vw - 1280px) / 2));
  width: min(550px, calc(100vw - 40px));
  padding: 18px;
  background: var(--graphite);
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  box-shadow: 0 18px 36px #10161940;
}
.language-panel-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 12px; }
.language-close {
  min-height: 44px;
  padding: 4px 12px;
  border: 1px solid var(--dark-line);
  border-radius: 6px;
  background: transparent;
  color: var(--white);
}
.language-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.language-grid a {
  display: flex; align-items: center; justify-content: space-between; gap: 5px;
  min-height: 44px; padding: 6px 10px;
  color: var(--white); border: 1px solid transparent; border-radius: 6px; text-decoration: none;
  overflow-wrap: anywhere;
}
.language-grid a:hover { background: var(--panel); }
.language-grid a[aria-current] { color: var(--mint); border-color: var(--dark-line); }
.language-check { white-space: nowrap; }
.language-entry { min-height: 100vh; padding-block: clamp(42px, 10vw, 140px); }
.language-entry h1 { margin: 32px 0; }
.language-entry .language-grid { max-width: 680px; }
.office-label { color: var(--dark-muted); font-size: .88rem; }
.home-hero h1 { text-wrap: balance; }
.home-hero h1, .section-hero h1 { overflow-wrap: anywhere; }
.order-board { overflow-wrap: anywhere; }
#mobile-contact { display: none; }

@media (max-width: 1090px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
}
@media (max-width: 640px) {
  .header-inner { gap: 10px; }
  .header-actions > #header-contact { display: none; }
  #mobile-contact { display: flex; color: var(--mint); }
  .language-panel {
    position: fixed;
    inset: 0;
    width: auto;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 18px 20px max(20px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
  }
  .language-panel-heading { position: sticky; top: 0; padding-block: 4px; background: var(--graphite); }
  .language-panel .language-grid, .language-entry .language-grid { grid-template-columns: 1fr; }
  .language-switch:not([data-enhanced]) .language-panel {
    position: absolute; inset: calc(100% + 8px) 12px auto; max-height: 75vh; border: 1px solid var(--dark-line); border-radius: 10px;
  }
  body:has(.language-switch[data-enhanced][open]) { overflow: hidden; }
  .prose .article-table { display: block; }
  .article-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .article-table tbody { display: grid; gap: 12px; }
  .article-table tbody tr {
    display: grid;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
  }
  .article-table tbody :is(th, td) { display: block; border: 0; padding: 10px 14px; }
  .article-table tbody th { background: var(--warm); }
  .article-table tbody td + td { padding-top: 0; }
  .article-table .table-cell-label {
    display: block;
    margin-bottom: 2px;
    font-size: .83rem;
    font-weight: 650;
    color: var(--muted);
  }
}
@media (max-width: 480px) {
  .order-steps {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 6px;
    margin-block: 20px;
  }
  .order-steps button { min-height: 48px; padding: 5px 6px; text-wrap: balance; }
}
