:root {
  color-scheme: dark;
  --ink: #060f19;
  --surface: #0a151f;
  --section: #0c1822;
  --white: #eff6f7;
  --muted: #b5c2c9;
  --line: #2a3944;
  --mint: #ace6d6;
  --mx: clamp(24px, 6.4vw, 100px);
  --max-content: 1280px;
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  color: var(--white);
  background: var(--ink);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2 { margin: 0; }
body { font-size: 16px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 6px; }
::selection { color: var(--ink); background: var(--mint); }
.container { width: min(calc(100% - 2 * var(--mx)), var(--max-content)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 5;
  top: 10px;
  left: 15px;
  padding: 8px 16px;
  background: var(--mint);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 1; background: var(--ink); border-bottom: 1px solid #25313d; }
.header-inner, .footer-inner, .contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-inner { min-height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 7px; line-height: 1; flex-shrink: 0; }
.brand img { width: 39px; height: 39px; }
.wordmark { display: grid; gap: 5px; }
.wordmark strong { font-size: 22px; font-weight: 650; letter-spacing: .065em; }
.wordmark span { font-size: 9px; font-weight: 600; letter-spacing: .27em; }
nav { display: flex; gap: clamp(22px, 3.2vw, 48px); align-items: center; }
nav a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
nav a { color: #dee7eb; font-size: 14px; }
nav a:hover, footer a:hover { color: var(--mint); }
nav .contact-nav {
  color: var(--white);
  border: 1px solid #62737d;
  padding: 0 17px;
  min-height: 40px;
  border-radius: 4px;
}
.contact-nav .arrow { margin-inline-start: 14px; }
nav .contact-nav:hover { color: var(--mint); border-color: var(--mint); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(100%, 1580px);
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 33%);
}
.hero-art img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: right center;
}
.hero-inner {
  min-height: clamp(530px, 42vw, 650px);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(58px, 5.5vw, 88px);
}
.eyebrow {
  font: 600 12px/1.3 "Courier New", monospace;
  letter-spacing: .16em;
  color: var(--mint);
}
.eyebrow span { padding-inline: 1px; }
h1 {
  margin-block: 24px 21px;
  font-size: clamp(54px, 5.7vw, 88px);
  line-height: 1.16;
  letter-spacing: -.055em;
  font-weight: 650;
}
h1 span { font-weight: 580; }
.lead { max-width: 27em; color: #c8d3d8; line-height: 1.85; font-size: clamp(15px, 1.14vw, 18px); }
.primary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 27px;
  padding: 10px 20px;
  background: var(--mint);
  color: #092923;
  font-size: 15px;
  font-weight: 650;
  border-radius: 4px;
}
.primary-link:hover { background: #c7f1e5; }
.arrow { font-family: Arial, sans-serif; font-weight: 400; line-height: 1; }
.primary-link .arrow { font-size: 21px; }

.services, .about, .contact { border-top: 1px solid var(--line); }
.services { background: var(--surface); }
.section-grid {
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(0, 1.65fr);
  gap: clamp(30px, 6vw, 90px);
  padding-block: clamp(64px, 6vw, 92px);
}
h2 {
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 610;
  line-height: 1.26;
  letter-spacing: -.045em;
}
.service-list { border-top: 1px solid #485861; }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 2px 25px 0;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
.service-text { display: grid; gap: 6px; }
.service-title { font-size: clamp(21px, 1.85vw, 28px); line-height: 1.45; font-weight: 570; letter-spacing: -.025em; }
.service-intro, .service-detail p, .contact p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.toggle {
  flex: 0 0 33px;
  width: 33px;
  height: 33px;
  border: 1px solid #465b61;
  border-radius: 50%;
  position: relative;
  color: var(--mint);
}
.toggle::after, .toggle::before {
  content: "";
  display: block;
  width: 11px;
  height: 1px;
  background: currentColor;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .toggle::after { transform: translate(-50%, -50%); }
summary:hover .service-title, details[open] .service-title { color: var(--mint); }
summary:hover .toggle { border-color: var(--mint); }
.service-detail { padding: 0 50px 25px 0; max-width: 48em; }
.service-detail p { color: #cbd7dc; }
.service-detail .text-link { margin-top: 10px; }
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 36px;
  font-size: 15px;
  font-weight: 550;
  color: var(--mint);
  text-decoration: underline;
  text-decoration-color: #5e8a7d;
  text-underline-offset: 5px;
}
.text-link:hover, .email-link:hover { text-decoration-color: var(--mint); }
.about { background: var(--section); }
.about-content > p { font-size: clamp(17px, 1.55vw, 23px); line-height: 1.85; font-weight: 440; }
.about-content .text-link { margin-top: 20px; }
.contact { background: var(--ink); }
.contact-inner { padding-block: clamp(60px, 6.4vw, 96px); gap: 42px; }
.contact p { margin-top: 16px; }
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  max-width: 100%;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.35;
  font-weight: 500;
  color: var(--mint);
  letter-spacing: -.025em;
  text-decoration: underline;
  text-underline-offset: .3em;
  text-decoration-thickness: 1px;
  text-decoration-color: #4f736b;
}
.email-link span { font-size: .75em; }
footer { border-top: 1px solid var(--line); color: #96a7b2; }
.footer-inner { gap: 18px; min-height: 74px; }
footer a, footer small { font-size: 12px; }
footer a { gap: 8px; white-space: nowrap; }
@media (min-width: 1600px) {
  .hero-art { right: calc((100% - 1600px) / 2); }
}
@media (max-width: 1050px) {
  .hero-inner { min-height: 490px; }
  .hero-art { width: 100%; mask-image: linear-gradient(90deg, transparent 32%, rgb(0 0 0 / .14) 49%, #000 66%); }
  .hero-art img { object-fit: cover; object-position: 72% center; }
  .lead { max-width: 23em; }
  .section-grid { grid-template-columns: minmax(145px, .52fr) minmax(0, 1.5fr); gap: 32px; }
}
@media (max-width: 700px) {
  :root { --mx: clamp(20px, 5.9vw, 36px); }
  .header-inner { min-height: 66px; gap: 12px; }
  nav { gap: 20px; }
  .wordmark strong { font-size: 17px; }
  .wordmark span { font-size: 8px; }
  .brand img { width: 32px; height: 36px; object-fit: contain; }
  .brand { gap: 4px; }
  nav a { font-size: 13px; }
  nav .contact-nav { padding-inline: 11px; min-height: 36px; }
  .contact-nav .arrow { margin-inline-start: 6px; }
  .hero { display: flex; flex-direction: column; }
  .hero-inner {
    order: -1;
    min-height: 0;
    padding-block: 48px 12px;
  }
  .hero-art {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: clamp(220px, 53vw, 310px);
    mask-image: linear-gradient(to bottom, transparent, #000 16%);
  }
  .hero-art img { object-fit: cover; object-position: 84% 52%; width: 100%; }
  h1 { margin-block: 16px; font-size: clamp(46px, 9vw, 58px); }
  .lead { max-width: 30em; font-size: 15px; }
  .primary-link { margin-top: 21px; min-height: 44px; font-size: 14px; }
  .section-grid { grid-template-columns: 1fr; gap: 27px; padding-block: 47px; }
  h2 { font-size: 32px; }
  summary { padding-block: 19px; }
  .service-intro, .service-detail p, .contact p { font-size: 14px; }
  .service-detail { padding-right: 12px; }
  .contact-inner { display: grid; gap: 19px; padding-block: 47px; }
  .contact p { margin-top: 12px; }
  .email-link { width: fit-content; font-size: clamp(21px, 5.8vw, 30px); gap: 9px; }
  .footer-inner { min-height: 64px; }
}
@media (max-width: 480px) {
  nav { gap: 16px; }
  .nav-long { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .primary-link, a, .service-title, .toggle { transition: color .16s ease-out, background-color .16s ease-out, border-color .16s ease-out; }
}
