:root {
  color-scheme: light;
  --color-ink: #172137;
  --color-ink-soft: #303b51;
  --color-paper: #f1ede3;
  --color-paper-deep: #e8e1d2;
  --color-surface: #f8f5ee;
  --color-bronze: #93713e;
  --color-bronze-dark: #6f542d;
  --color-line: #cfc5b3;
  --color-muted: #687080;
  --color-white: #fffefa;
  --font-display: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --content-width: 1240px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--color-paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--color-ink);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(147, 113, 62, .08) 50%, transparent calc(50% + 1px)),
    var(--color-paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--color-bronze);
  background: var(--color-white);
  transform: translateY(-140%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--color-bronze);
  outline-offset: 4px;
}

.site-shell {
  width: min(calc(100% - 64px), var(--content-width));
  min-height: 100vh;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 112px;
  border-bottom: 1px solid var(--color-line);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-ink);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i,
.brand-mark b {
  position: absolute;
  display: block;
  content: "";
  background: var(--color-ink);
}

.brand-mark::before {
  top: 8px;
  bottom: 8px;
  left: 19px;
  width: 1px;
}

.brand-mark::after {
  top: 19px;
  right: 8px;
  left: 8px;
  height: 1px;
}

.brand-mark i {
  top: 8px;
  left: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-bronze);
}

.brand-mark b {
  right: 8px;
  bottom: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-bronze);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .12em;
}

.brand-text small {
  color: var(--color-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 9px;
  letter-spacing: .18em;
}

.official-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 13px;
  letter-spacing: .12em;
}

.official-mark span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-bronze);
  box-shadow: 0 0 0 5px rgba(147, 113, 62, .12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: center;
  min-height: 680px;
  padding: 96px 0 104px;
  border-bottom: 1px solid var(--color-line);
}

.hero-copy > * {
  animation: reveal 560ms var(--ease-out) both;
}

.hero-copy h1 {
  animation-delay: 70ms;
}

.hero-copy .hero-lead {
  animation-delay: 130ms;
}

.hero-copy .hero-meta {
  animation-delay: 190ms;
}

.eyebrow,
.section-number,
.card-index {
  color: var(--color-bronze-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
}

.eyebrow {
  margin: 0 0 24px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 5.4vw, 78px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.hero-lead {
  max-width: 650px;
  margin: 34px 0 0;
  color: var(--color-ink-soft);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.85;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 46px;
  color: var(--color-muted);
  font-size: 13px;
  letter-spacing: .08em;
}

.hero-meta span {
  position: relative;
  padding-left: 16px;
}

.hero-meta span::before {
  position: absolute;
  top: .72em;
  left: 0;
  width: 5px;
  height: 1px;
  background: var(--color-bronze);
  content: "";
}

.equipment-figure {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--color-line);
  background:
    linear-gradient(rgba(147, 113, 62, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 113, 62, .08) 1px, transparent 1px),
    var(--color-surface);
  background-size: 32px 32px;
  box-shadow: 24px 24px 0 rgba(23, 33, 55, .06);
  animation: reveal 700ms 120ms var(--ease-out) both;
}

.figure-index {
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--color-bronze-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: .18em;
}

.equipment-figure > p {
  position: absolute;
  right: 24px;
  bottom: 18px;
  margin: 0;
  color: var(--color-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: .2em;
}

.machine-outline {
  position: absolute;
  inset: 22% 17% 17%;
}

.machine-top {
  position: absolute;
  top: 0;
  left: 50%;
  width: 78%;
  aspect-ratio: 1;
  border: 2px solid var(--color-ink);
  transform: translateX(-50%) rotate(45deg);
  background: rgba(241, 237, 227, .86);
  box-shadow: inset 0 0 0 16px rgba(147, 113, 62, .08);
}

.machine-core {
  position: absolute;
  top: 16%;
  left: 50%;
  width: 31%;
  aspect-ratio: 1;
  border: 1px solid var(--color-bronze-dark);
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--color-surface);
}

.machine-core::before,
.machine-core::after,
.machine-core i::before,
.machine-core i::after {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-bronze);
  content: "";
}

.machine-core::before { top: 14%; left: 47%; }
.machine-core::after { right: 14%; top: 47%; }
.machine-core i::before { bottom: 14%; left: 47%; }
.machine-core i::after { top: 47%; left: 14%; }

.machine-leg {
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 41%;
  background: var(--color-ink);
}

.machine-leg::after {
  position: absolute;
  bottom: 0;
  left: -10px;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  content: "";
}

.machine-leg-a { left: 30%; transform: rotate(5deg); }
.machine-leg-b { right: 30%; transform: rotate(-5deg); }

.company-note,
.service-boundary {
  display: grid;
  grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 120px);
  padding: 88px 0;
  border-bottom: 1px solid var(--color-line);
}

.section-number {
  margin: 0 0 16px;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.company-note > p,
.section-heading > p,
.service-boundary > div > p {
  max-width: 760px;
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 17px;
  line-height: 2;
}

.services {
  padding: 96px 0 104px;
  border-bottom: 1px solid var(--color-line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, .62fr) minmax(0, .38fr);
  gap: 48px;
  align-items: end;
}

.section-heading > p {
  justify-self: end;
  max-width: 430px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 56px;
  border: 1px solid var(--color-line);
  background: var(--color-line);
}

.service-card {
  min-height: 300px;
  padding: 32px;
  background: var(--color-surface);
  transition: background-color 220ms ease, color 220ms ease;
}

.service-card:hover {
  color: var(--color-white);
  background: var(--color-ink);
}

.service-card:hover .card-index,
.service-card:hover p {
  color: #d8c49e;
}

.service-card h3 {
  margin: 64px 0 18px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.service-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.9;
  transition: color 220ms ease;
}

.service-boundary {
  padding-top: 96px;
  padding-bottom: 96px;
}

.service-boundary > div {
  padding-left: 32px;
  border-left: 3px solid var(--color-bronze);
}

.service-boundary h2 {
  max-width: 760px;
  margin-bottom: 20px;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  min-height: 176px;
  padding: 38px 0 42px;
  color: var(--color-muted);
  font-size: 12px;
}

.site-footer strong {
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
}

.site-footer p {
  margin: 8px 0 0;
}

.filing {
  text-align: right;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .equipment-figure {
    min-height: 420px;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    justify-self: start;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 230px;
  }

  .service-card h3 {
    margin-top: 36px;
  }
}

@media (max-width: 768px) {
  .site-shell {
    width: min(calc(100% - 40px), var(--content-width));
  }

  .site-header {
    min-height: 88px;
  }

  .brand-text small {
    display: none;
  }

  .official-mark {
    font-size: 11px;
    letter-spacing: .06em;
  }

  .hero {
    gap: 56px;
    padding: 72px 0 80px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero-lead {
    margin-top: 28px;
    font-size: 16px;
  }

  .hero-meta {
    margin-top: 34px;
  }

  .equipment-figure {
    min-height: 340px;
    box-shadow: 12px 12px 0 rgba(23, 33, 55, .06);
  }

  .company-note,
  .service-boundary {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 68px 0;
  }

  .services {
    padding: 72px 0 76px;
  }

  .service-grid {
    margin-top: 40px;
  }

  .service-card {
    min-height: 212px;
    padding: 28px;
  }

  .service-boundary > div {
    padding-left: 20px;
  }

  .site-footer {
    display: grid;
    align-content: center;
    align-items: start;
    min-height: 200px;
  }

  .filing {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-mark::before { left: 16px; }
  .brand-mark::after { top: 16px; }
  .brand-text strong { font-size: 16px; }
  .official-mark span { display: none; }
  .equipment-figure { min-height: 300px; }
  .machine-outline { inset: 24% 15% 16%; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
