@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-400.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-600.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("assets/instrument-serif.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
:root {
  --deep: #0d2932;
  --ink: #17323a;
  --body: #42565a;
  --cream: #fbfaf6;
  --mist: #eeefe8;
  --gold: #efc48c;
  --line: #c7cfca;
  --serif: "Instrument Serif", "Songti SC", "Noto Serif CJK SC", "SimSun", Georgia, serif;
  --sans: "DM Sans", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --side: clamp(1.3rem, 5.4vw, 5.8rem);
  --section: clamp(4.3rem, 7.4vw, 7.6rem);
  color: var(--ink);
  background: var(--cream);
  font: 400 16px/1.55 var(--sans);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 6.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body, h1, h2, h3, p, dl, dd, figure { margin: 0; }
body { min-width: 280px; }
a { color: inherit; }
button { border: 0; padding: 0; font: inherit; color: inherit; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px solid #b66822; outline-offset: 4px; }
.masthead :focus-visible, .hero :focus-visible, .contact :focus-visible { outline-color: var(--gold); }
.wrap { width: min(calc(100% - var(--side) * 2), 83rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; top: .5rem; left: .5rem; padding: .7rem 1rem; background: white; }
.masthead { background: var(--deep); color: white; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #ffffff24; }
.masthead-inner { min-height: 5rem; display: flex; align-items: center; gap: 2.4rem; }
.brand { display: inline-flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand-type { display: grid; line-height: 1; }
.brand-name { font: 400 2.05rem/.98 var(--serif); letter-spacing: -.02em; }
.brand-sub { margin: .42rem 0 0 .05rem; text-transform: uppercase; font-size: .61rem; color: var(--gold); font-weight: 600; letter-spacing: .27em; }
#navigation { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3.2rem); }
#navigation a, .hero-link, .service-link, .email, .footer-links a { text-decoration: none; }
#navigation a { padding: .7rem 0; font-size: .92rem; }
#navigation a:hover, .hero-link:hover, .email:hover, .footer-links a:hover, .footer-links button:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-controls { display: flex; align-items: center; gap: .65rem; }
#language { border: 1px solid #ffffff65; border-radius: 2rem; min-width: 3.15rem; min-height: 2.55rem; padding: .25rem .7rem; font-size: .85rem; }
#language:hover { background: #ffffff16; }
#menu-toggle { display: none; width: 2.75rem; height: 2.75rem; place-content: center; gap: 5px; }
#menu-toggle span { background: currentColor; display: block; width: 21px; height: 2px; }
#menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
#menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero { position: relative; isolation: isolate; overflow: hidden; color: #fffdf6; background: var(--deep); }
.hero-art { position: absolute; inset: 0 0 0 38%; z-index: -1; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 48%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep), rgb(13 41 50 / 82%) 8%, rgb(13 41 50 / 15%) 32%, transparent 51%); }
.hero-inner { min-height: clamp(31rem, 40vw, 43rem); display: flex; align-items: center; padding-block: clamp(3.8rem, 6.5vw, 7rem); }
.hero-copy { width: 58%; }
.eyebrow, .field-label { font: 600 .72rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .15em; }
.hero-kicker { display: flex; align-items: center; gap: .85rem; color: #f6d7ac; }
.short-rule { width: 2.1rem; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(4.4rem, 6.7vw, 7.1rem); line-height: .99; letter-spacing: -.031em; margin: 1.25rem 0 1.3rem; }
h1 span { display: block; }
h1 span:last-child { color: var(--gold); }
.hero-intro { max-width: min(90%, 28rem); color: #ebf0ed; font-size: clamp(1rem, 1.18vw, 1.15rem); line-height: 1.62; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.65rem; margin: 1.9rem 0 0; }
.button, .hero-link, .service-link { display: inline-flex; gap: .7rem; align-items: center; font-weight: 600; }
.button { padding: .8rem 1.2rem; min-height: 47px; background: #f3d1a3; color: var(--deep); text-decoration: none; border: 1px solid transparent; }
.button:hover { background: #ffe6c3; }
.hero-link { color: #fff; padding: .65rem 0; }
.arrow { display: inline-block; position: relative; flex: none; width: .73rem; height: .73rem; font-size: 0; vertical-align: .12rem; }
.arrow::before { content: ""; position: absolute; top: .1rem; right: 0; width: .46rem; height: .46rem; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; }
.arrow::after { content: ""; position: absolute; top: .1rem; right: 0; width: .83rem; border-top: 1.5px solid currentColor; transform-origin: right center; transform: rotate(-45deg); }
h2 { font-size: clamp(2.9rem, 4.6vw, 5rem); letter-spacing: -.027em; line-height: 1.06; }
.section { padding-block: var(--section); }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 2rem; row-gap: .6rem; }
.section-heading > p { color: var(--body); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: 2rem; }
.service { display: flex; flex-direction: column; align-items: flex-start; position: relative; padding: 2rem clamp(1rem, 2.5vw, 3rem) .35rem; }
.service:first-child { padding-left: 0; }
.service:last-child { padding-right: 0; }
.service + .service::before { content: ""; position: absolute; inset: 2rem auto 0 0; border-left: 1px solid var(--line); }
.service h3 { font-size: clamp(2.05rem, 2.6vw, 3.05rem); letter-spacing: -.027em; line-height: 1.08; margin: 0 0 .85rem; }
.service p, .about-intro { color: var(--body); line-height: 1.75; }
.service p { max-width: 33rem; margin-bottom: 1.25rem; }
.service-link { margin-top: auto; padding-block: .55rem; text-decoration: underline; text-underline-offset: .31rem; text-decoration-color: #a4b2ab; }
.service-link:hover { color: #704420; text-decoration-color: currentColor; }

.about { padding-block: var(--section); background: var(--mist); }
.about-inner { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: clamp(2.8rem, 7.5vw, 8rem); }
.about figure { position: relative; }
.about img { width: 100%; height: auto; aspect-ratio: 1.28; object-fit: cover; }
.about figcaption { position: absolute; bottom: .95rem; left: .95rem; padding: .35rem .7rem; color: white; background: #0d2932e8; font-size: .78rem; }
.about .eyebrow { color: #526456; margin-bottom: .85rem; }
.about h2 { max-width: 9.5em; }
.about-intro { margin-top: 1.3rem; max-width: 35rem; }
.company-facts { margin-top: 1.6rem; }
.company-facts div { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; border-top: 1px solid #b7c2b9; padding: .72rem 0; }
.company-facts dt { color: var(--body); font-size: .88rem; }
.company-facts dd { text-align: right; font-weight: 600; }
.contact { color: #f9faf4; padding-block: var(--section); background: linear-gradient(105deg, #0c2932 5%, #102c35f7 53%, #102c35d9), url("assets/ocean-900.webp") center/cover; }
.contact .eyebrow { color: var(--gold); margin-bottom: .8rem; }
.contact-grid { display: grid; grid-template-columns: .72fr 1.25fr 1fr; gap: 2rem; border-top: 1px solid #ffffff45; margin-top: 2rem; padding-top: 1.65rem; }
.field-label { color: #d5dedb; font-size: .69rem; margin: 0 0 .72rem; }
.person, .email { font-size: clamp(1.05rem, 1.55vw, 1.45rem); }
.email { overflow-wrap: anywhere; }
.email .arrow { margin-left: .4rem; color: var(--gold); }
.copy-button { display: block; color: var(--gold); font-size: .87rem; padding: .55rem 0; text-decoration: underline; text-underline-offset: .25em; }
address { font-style: normal; line-height: 1.55; }
footer { background: var(--deep); color: #ebf0ec; border-top: 1px solid #ffffff29; font-size: .81rem; }
.footer-inner, .footer-links { display: flex; align-items: center; gap: 1.3rem; }
.footer-inner { justify-content: space-between; padding-block: 1.3rem; flex-wrap: wrap; }
.footer-links a, .footer-links button { padding-block: .45rem; }
dialog { width: min(29rem, 88vw); border: 1px solid var(--line); color: var(--ink); background: var(--cream); padding: 1.6rem; }
dialog::backdrop { background: #071b23ae; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.dialog-heading h2 { font-size: 2.25rem; }
#credits-close { font-size: 1.8rem; width: 2.75rem; height: 2.75rem; }
dialog li { margin-block: .5rem; }
:lang(zh-CN) h1 { font-size: clamp(3.45rem, 5.2vw, 5.65rem); line-height: 1.17; letter-spacing: .015em; }
:lang(zh-CN) h2:not([lang="en"]) { font-size: clamp(2.3rem, 3.6vw, 4rem); line-height: 1.22; }
:lang(zh-CN) .service h3 { font-size: clamp(1.7rem, 2.1vw, 2.35rem); line-height: 1.3; }
@media (min-width: 741px) and (max-width: 1020px) {
  .hero-art { left: 34%; }
  .hero-copy { width: 62%; }
  .hero-intro { max-width: 23rem; }
  .contact-grid { grid-template-columns: .6fr 1.28fr 1fr; gap: 1.5rem; }
}
@media (max-width: 740px) {
  html { scroll-padding-top: 5.1rem; }
  .masthead-inner { min-height: 4.2rem; gap: .6rem; }
  .brand-name { font-size: 1.75rem; }
  .brand-sub { font-size: .55rem; margin-top: .34rem; }
  .js #menu-toggle { display: grid; }
  #navigation { gap: .8rem; }
  .js #navigation { position: absolute; top: 100%; left: 0; right: 0; padding: .6rem var(--side) 1.05rem; background: var(--deep); border-top: 1px solid #ffffff24; border-bottom: 1px solid #ffffff35; display: none; }
  .js #navigation.open { display: grid; gap: 0; }
  .js #navigation a { display: block; padding: .76rem .1rem; }
  html:not(.js) .masthead-inner { flex-wrap: wrap; padding-block: .7rem; }
  html:not(.js) .nav-controls { display: none; }
  .hero-inner { min-height: 0; padding-block: 2.9rem 0; display: block; }
  .hero { display: flex; flex-direction: column; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(3.7rem, 11.8vw, 5.2rem); margin: .95rem 0 1rem; }
  .hero-intro { max-width: 34rem; font-size: 1rem; }
  .hero-actions { margin-top: 1.4rem; }
  .hero-art { position: relative; inset: auto; order: 1; margin-top: .5rem; height: clamp(11rem, 51vw, 21rem); width: 100%; }
  .hero-art img { object-position: center 48%; }
  .hero-art::after { background: linear-gradient(180deg, var(--deep), rgb(13 41 50 / 30%) 22%, transparent 49%); }
  .service-grid { grid-template-columns: 1fr; margin-top: 1.35rem; }
  .service, .service:first-child, .service:last-child { padding: 1.55rem 0 1.2rem; }
  .service + .service { border-top: 1px solid var(--line); }
  .service + .service::before { display: none; }
  .service h3 { margin-bottom: .55rem; }
  .service p { margin-bottom: .55rem; }
  .about-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .about figure { order: 1; }
  .about img { aspect-ratio: 1.57; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 1.3rem; }
  .contact-email { grid-column: 1/-1; grid-row: 1; }
  .footer-inner { gap: .2rem; }
}
@media (max-width: 389px) {
  :root { --side: 1.05rem; }
  .hero-actions { gap: .45rem 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 13.5vw, 3.7rem); }
}
