:root {
  --ink: #152430;
  --ink-2: #263945;
  --paper: #f3f1eb;
  --white: #ffffff;
  --mist: #e7ecee;
  --line: #d4dce0;
  --muted: #65727a;
  --accent: #ce6438;
  --accent-dark: #a94724;
  --green: #2a6655;
  --max: 1220px;
  --header-height: 74px;
  --font: "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  min-height: var(--header-height);
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(17, 30, 40, 0.78);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.08;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.13em;
}

.brand-copy small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.site-nav a {
  opacity: 0.8;
  transition: opacity 160ms ease;
}

.site-nav a:hover {
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 4px;
  color: inherit;
  border: 0;
  background: transparent;
  font-size: 12px;
}

.language-toggle svg,
.menu-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.button-dark {
  background: var(--ink);
}

.button-dark:hover {
  background: #0a151d;
}

.menu-toggle {
  display: none;
  color: inherit;
  border: 0;
  background: transparent;
}

.hero {
  position: relative;
  min-height: 780px;
  height: 92vh;
  max-height: 920px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-jike-hd.jpg");
  background-position: center 28%;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 27, 0.58);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(660px, 52vw);
  height: 3px;
  background: var(--accent);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 0 0 108px;
  text-shadow: 0 2px 22px rgba(4, 12, 18, 0.34);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffc1a6;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 36px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-proof span {
  padding: 0 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-proof span:first-child {
  padding-left: 0;
  border-left: 0;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.scroll-cue svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.section {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading h2,
.capability-copy h2,
.about h2,
.contact-section h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.section-heading > p,
.about-intro > p:last-child,
.contact-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 12px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #d8dfe2;
  color: var(--white);
}

.category-card-large {
  grid-column: span 1;
  grid-row: span 1;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 36, 0.38);
}

.category-card:hover img {
  transform: scale(1.035);
}

.category-index {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 10px;
}

.category-copy {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 5px;
}

.category-copy strong {
  font-size: 22px;
  line-height: 1.15;
}

.category-card-large .category-copy strong {
  font-size: 30px;
}

.category-copy small {
  max-width: 390px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.category-card-dark {
  background: var(--green);
}

.category-card-dark::after {
  display: none;
}

.products-section {
  border-top: 1px solid var(--line);
}

.compact-heading {
  align-items: center;
}

.filter-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.filter {
  min-width: 80px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.filter.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 16px;
}

.product-card {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #edf0f1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.025);
}

.product-code {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 7px;
  background: rgba(21, 36, 48, 0.88);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.product-info {
  padding: 18px 17px 20px;
}

.product-category {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 7px 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}

.product-meta strong {
  color: var(--ink);
  font-size: 15px;
}

.product-open {
  width: 100%;
  margin-top: 14px;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 11px;
  font-weight: 700;
}

.product-open:hover {
  color: var(--accent);
}

.catalog-note {
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.capabilities {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 74px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.capability-visual {
  position: sticky;
  top: 100px;
  min-height: 650px;
  overflow: hidden;
  border-radius: 6px;
  background: #dfe4e6;
}

.capability-visual > img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.visual-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 16px;
  border-radius: 4px;
  background: rgba(21, 36, 48, 0.9);
  color: var(--white);
}

.visual-caption strong {
  font-size: 28px;
  line-height: 1;
}

.visual-caption span {
  max-width: 125px;
  font-size: 10px;
  line-height: 1.3;
}

.capability-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 25px 0 0;
  color: var(--muted);
}

.process-list {
  display: grid;
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.process-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.process-row > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.process-row strong {
  font-size: 16px;
}

.process-row p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.about {
  border-top: 1px solid var(--line);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 70px;
  align-items: end;
}

.about-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -40px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 58px;
  border: 1px solid var(--line);
  background: var(--line);
}

.value-card {
  min-height: 230px;
  padding: 26px 24px;
  background: var(--paper);
}

.value-card svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.7;
}

.value-card strong {
  display: block;
  margin-top: 36px;
  font-size: 15px;
}

.value-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 0.9fr);
  gap: 80px;
  border-top: 1px solid var(--line);
}

.contact-direct {
  display: grid;
  gap: 6px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-direct span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-direct a {
  width: fit-content;
  font-size: 25px;
  font-weight: 700;
}

.contact-direct small {
  max-width: 360px;
  color: var(--muted);
  font-size: 11px;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fbfcfc;
  color: var(--ink);
  outline: none;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(42, 102, 85, 0.12);
}

.inquiry-form .button {
  justify-self: start;
  min-width: 190px;
}

.form-status {
  min-height: 18px;
  margin: 0;
  color: var(--green);
  font-size: 12px;
}

.site-footer {
  width: 100%;
  min-height: 260px;
  padding: 56px max(28px, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand > div {
  display: grid;
  gap: 2px;
}

.footer-brand strong {
  letter-spacing: 0.12em;
}

.footer-brand span:not(.brand-mark),
.site-footer p,
.site-footer small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

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

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 12px;
}

.site-footer small {
  grid-column: 1 / -1;
  margin-top: 100px;
}

.product-dialog {
  width: min(940px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}

.product-dialog::backdrop {
  background: rgba(9, 18, 25, 0.74);
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.dialog-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.dialog-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}

.dialog-image-wrap {
  background: #e9edef;
}

.dialog-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-copy {
  padding: 62px 46px 46px;
}

.dialog-copy h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.dialog-copy > p:not(.eyebrow) {
  margin: 20px 0 0;
  color: var(--muted);
}

.product-spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 30px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-spec-list div {
  padding: 13px;
  background: var(--white);
}

.product-spec-list dt {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-spec-list dd {
  margin: 4px 0 0;
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 20px;
  }

  .menu-toggle {
    display: grid;
    justify-self: end;
    width: 38px;
    height: 38px;
    place-items: center;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions .button {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: none;
    padding: 22px 24px 34px;
    flex-direction: column;
    gap: 20px;
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .site-nav.open {
    display: flex;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card-large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capabilities,
  .contact-section,
  .about-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-intro .eyebrow {
    margin-bottom: -20px;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-visual {
    position: relative;
    top: auto;
    min-height: 480px;
  }

  .capability-visual > img {
    height: 480px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding: 0 15px;
    gap: 14px;
  }

  .brand-copy small,
  .language-toggle span {
    display: none;
  }

  .language-toggle {
    padding: 8px;
  }

  .hero {
    min-height: 660px;
    height: 89vh;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-content {
    width: calc(100% - 34px);
    padding-bottom: 82px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 45px;
  }

  .hero-lede {
    max-width: 340px;
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 270px;
  }

  .hero-proof {
    display: grid;
    gap: 8px;
  }

  .hero-proof span,
  .hero-proof span:first-child {
    padding: 0;
    border: 0;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    width: calc(100% - 34px);
    padding: 78px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .section-heading h2,
  .capability-copy h2,
  .about h2,
  .contact-section h2 {
    font-size: 36px;
  }

  .category-grid {
    grid-auto-rows: 230px;
  }

  .category-card-large {
    grid-column: span 2;
  }

  .category-card {
    grid-column: span 2;
  }

  .category-copy strong,
  .category-card-large .category-copy strong {
    font-size: 24px;
  }

  .filter-row {
    justify-content: flex-start;
  }

  .product-grid,
  .value-grid,
  .form-row,
  .dialog-layout {
    grid-template-columns: 1fr;
  }

  .product-info h3 {
    font-size: 17px;
  }

  .capability-visual,
  .capability-visual > img {
    min-height: 390px;
    height: 390px;
  }

  .inquiry-form {
    padding: 20px;
  }

  .inquiry-form .button {
    width: 100%;
  }

  .site-footer {
    padding: 42px 18px 30px;
    grid-template-columns: 1fr;
  }

  .site-footer small {
    margin-top: 30px;
  }

  .dialog-layout {
    min-height: 0;
  }

  .dialog-image-wrap {
    aspect-ratio: 4 / 5;
  }

  .dialog-copy {
    padding: 32px 22px 28px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
