@font-face {
  font-family: "Studio Sans";
  src: url("./assets/studio-sans.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Studio Sans";
  src: url("./assets/studio-sans-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0b0d0e;
  --panel: #141718;
  --rule: #303631;
  --rule-subtle: #252b27;
  --text: #f3f5ee;
  --secondary: #c5cbc3;
  --muted: #a2aba1;
  --accent: #d5ef81;
  --accent-hover: #e1f6a8;
  --side: clamp(1.25rem, 4.2vw, 4.25rem);
  --header-height: 4.6rem;
  --content-width: 86rem;
  font-family: "Studio Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.1rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--text); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.shell { width: min(var(--content-width), calc(100% - 2 * var(--side))); margin-inline: auto; }
.section-space { padding-block: clamp(3.5rem, 6.1vw, 6.5rem); }
.skip-link {
  position: fixed;
  z-index: 10;
  inset: .7rem auto auto 1rem;
  padding: .6rem .9rem;
  background: var(--accent);
  color: var(--ink);
  border-radius: .35rem;
  translate: 0 -200%;
}
.skip-link:focus { translate: 0 0; }

.site-header {
  position: sticky;
  z-index: 3;
  top: 0;
  background: rgba(11, 13, 14, .96);
  border-bottom: 1px solid var(--rule-subtle);
  backdrop-filter: blur(14px);
}
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-inner { min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; gap: .78rem; white-space: nowrap; }
.brand-mark {
  display: block;
  position: relative;
  width: 2.8rem;
  aspect-ratio: 562 / 511;
  flex: none;
  overflow: hidden;
  border-radius: .51rem;
  background: #eeebe3;
}
.brand-mark img {
  position: absolute;
  width: 223.132%;
  max-width: none;
  height: auto;
  inset: -47.554% auto auto -61.21%;
}
.brand-name { display: grid; gap: .17rem; line-height: 1.1; }
.brand-name strong { font-size: 1.05rem; letter-spacing: .015em; }
.brand-name span { color: var(--muted); font-size: .75rem; letter-spacing: .125em; }
.site-nav a { display: inline-block; padding-block: .55rem; color: var(--secondary); font-size: .925rem; white-space: nowrap; }
.site-nav a:hover { color: var(--text); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: .65rem 1.32rem;
  border: 1px solid transparent;
  border-radius: .55rem;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.button-primary { color: #151a0b; background: var(--accent); }
.button-primary:hover { background: var(--accent-hover); }
.text-link { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: .28em; }
.text-link:hover { color: var(--accent-hover); }

.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule-subtle);
}
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 max(21%, calc((100vw - 86rem) / 2 + 20rem));
  background: var(--ink);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 79% center; }
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(11,13,14,.92) 10%, rgba(11,13,14,.33) 40%, transparent 65%),
    linear-gradient(0deg, var(--ink) 0%, rgba(11,13,14,.28) 17%, transparent 44%);
}
.hero-inner {
  display: flex;
  align-items: center;
  min-height: clamp(34rem, 45.5vw, 44rem);
  padding-block: 4rem;
}
.hero-copy { width: min(100%, 44rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .66rem;
  color: var(--accent);
  margin-bottom: 1.45rem;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .09em;
}
.eyebrow::before { content: ""; width: 1.7rem; height: 1px; background: var(--accent); }
.hero h1 {
  font-size: clamp(3.1rem, 5.7vw, 5.6rem);
  line-height: 1.13;
  font-weight: 700;
  letter-spacing: -.045em;
}
.hero h1 > span { display: block; }
.hero-description {
  max-width: 28rem;
  color: var(--secondary);
  font-size: clamp(1.0625rem, 1.35vw, 1.2rem);
  line-height: 1.85;
  margin: 1.65rem 0 1.8rem;
}
.section-heading {
  margin-bottom: 1.9rem;
  font-size: clamp(2.125rem, 3.4vw, 3.3rem);
  line-height: 1.14;
  letter-spacing: -.04em;
}
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.service-card {
  padding: clamp(1.25rem, 2.35vw, 2.05rem);
  border: 1px solid var(--rule-subtle);
  border-radius: .85rem;
  background: var(--panel);
}
.service-header { display: flex; justify-content: space-between; align-items: start; gap: .85rem; }
.service-header h3 { font-size: clamp(1.55rem, 2.3vw, 2.05rem); line-height: 1.25; letter-spacing: -.03em; }
.service-header p { margin-top: .55rem; color: var(--secondary); line-height: 1.72; }
.service-details { margin-top: 1.25rem; }
.service-details > div {
  display: grid;
  grid-template-columns: 5.75rem minmax(0, 1fr);
  align-items: baseline;
  padding-block: .84rem;
  gap: .2rem .62rem;
  border-top: 1px solid var(--rule);
}
.service-details > div:last-child { padding-bottom: 0; }
.service-details dt { font-size: .925rem; color: var(--accent); font-weight: 700; }
.service-details dd { color: var(--secondary); line-height: 1.68; }
.service-symbol {
  position: relative;
  width: 2.7rem;
  height: 2.5rem;
  flex: none;
  color: #89957f;
  margin-top: .15rem;
}
.service-symbol::before, .service-symbol::after, .service-symbol i { position: absolute; content: ""; display: block; }
.symbol-video::before { inset: .22rem .04rem .42rem; border: 1px solid currentColor; border-radius: .25rem; }
.symbol-video::after { inset: .73rem auto auto 1.15rem; border: solid transparent; border-width: .31rem 0 .31rem .49rem; border-left-color: var(--accent); }
.symbol-visual::before { inset: .38rem .02rem .5rem .37rem; border: 1px solid currentColor; border-radius: .2rem; box-shadow: -.26rem .27rem 0 -.06rem var(--panel), -.26rem .27rem 0 0 #435145; }
.symbol-visual::after { width: .45rem; height: .45rem; border: 1px solid var(--accent); border-radius: 50%; top: .72rem; left: .91rem; }
.symbol-visual i { top: 1.16rem; left: 1.32rem; width: .65rem; height: .65rem; border-left: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); }
.symbol-document::before { inset: .1rem .48rem .1rem; border: 1px solid currentColor; border-radius: .22rem; }
.symbol-document::after { top: .72rem; left: .83rem; width: .94rem; height: 1px; background: var(--accent); box-shadow: 0 .37rem currentColor, 0 .74rem currentColor, 0 1.11rem currentColor; }
.symbol-model::before { inset: .44rem .55rem; border: 1px solid currentColor; border-radius: .23rem; transform: rotate(45deg); }
.symbol-model::after { inset: .8rem .9rem; border: 1px solid var(--accent); border-radius: .12rem; transform: rotate(45deg); }

.site-footer { border-top: 1px solid var(--rule-subtle); }
.footer-inner { padding-block: 1.4rem 1.65rem; }
.footer-inner .text-link { font-size: .925rem; font-weight: 400; color: var(--secondary); }

@media (max-width: 59rem) {
  .service-details > div { grid-template-columns: 4.75rem minmax(0, 1fr); }
}

@media (max-width: 47.5rem) {
  :root { --header-height: 4.05rem; }
  .hero-inner { min-height: 0; padding-block: 3rem 16rem; }
  .hero-art { inset: auto -1% 0 -8%; height: clamp(17rem, 57vw, 24rem); }
  .hero-art img { object-position: 82% 53%; }
  .hero-art::after { background: linear-gradient(180deg, var(--ink) 0%, rgba(11,13,14,.23) 26%, transparent 46%, transparent 77%, var(--ink) 100%); }
  .hero h1 { font-size: clamp(2.37rem, 8.1vw, 3.8rem); }
  .hero-description { margin: 1.05rem 0 1.3rem; }
  .eyebrow { margin-bottom: .95rem; }
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 26rem) {
  .brand { gap: .5rem; }
  .brand-mark { width: 2.25rem; }
  .brand-name span { display: none; }
  .brand-name strong { font-size: .97rem; }
  .site-nav a { font-size: .875rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
