:root {
  --bg: #f7f4ef;
  --surface: #fffcf8;
  --ink: #1c1f24;
  --muted: #5c636d;
  --line: #d7d2c9;
  --steel: #3e4450;
  --header: #16181c;
  --green: #3d6b50;
  --cta: #b35a2a;
  --cta-hover: #8f4620;
  --placeholder: #ebe6de;
  --max: 1180px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 12px; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  color: #fff;
  border-bottom: 1px solid #2a2d33;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: #fff;
}
.logo-img { display: block; height: 32px; width: auto; max-width: 180px; }
.logo-word {
  font-weight: 750;
  letter-spacing: 0.14em;
  font-size: 20px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #4a4f58;
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
}
.nav { display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; }
.nav-link {
  display: block;
  padding: 10px 9px;
  font-size: 13px;
  color: #d5d8de;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link[aria-current="page"] { color: #fff; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 0;
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--steel);
}
.dropdown a:hover { background: var(--bg); }

.header-cta { display: flex; gap: 8px; flex: 0 0 auto; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
}
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); }
.btn-ghost { background: transparent; color: #fff; border-color: #5a616c; }
.btn-ghost.dark { color: var(--ink); border-color: #c9c3b8; background: transparent; }
.btn-ghost.dark:hover { background: #efece6; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 64px 0 48px;
}
.hero h1 { font-size: clamp(32px, 4vw, 46px); margin: 0 0 14px; max-width: 16em; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; max-width: 38em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.kicker-green { color: var(--green); }

img.ph, .ph {
  background: var(--placeholder);
  border: 1px dashed #b9b3a8;
  color: var(--muted);
  width: 100%;
  object-fit: cover;
}
.ph-hero { aspect-ratio: 16 / 10; min-height: 280px; }
.ph-card { aspect-ratio: 16 / 10; }
.ph-gallery { aspect-ratio: 4 / 3; }
.ph-flow { aspect-ratio: 4 / 3; }
.ph-solution { aspect-ratio: 16 / 9; }
.ph-material { aspect-ratio: 1 / 1; }
div.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 13px;
}

.section { padding: 48px 0; }
.section h2 { margin: 0 0 8px; font-size: 28px; }
.section .intro { color: var(--muted); margin: 0 0 24px; max-width: 46em; }

.brand-value {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brand-value h2 { max-width: 16em; }
.value-line {
  margin: 18px 0 0;
  color: var(--green);
  font-weight: 650;
  letter-spacing: 0.01em;
}

.process-section { background: var(--surface); border-bottom: 1px solid var(--line); }
.process-rail {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
}
.process-rail > li { margin: 0; padding: 0; min-width: 0; }
.process-node {
  position: relative;
  min-width: 0;
  color: inherit;
  display: block;
}
.process-node .dot {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.process-node::before {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(50% + 20px);
  width: calc(100% - 28px);
  height: 1px;
  background: #c9c3b8;
}
.process-node:last-child::before { display: none; }
.process-node strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
}
.process-node span.node-note {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.35;
}
a.process-node:hover strong { text-decoration: underline; text-underline-offset: 3px; }

.finished-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.finished-card {
  background: var(--bg);
  border: 1px solid var(--line);
  color: inherit;
  display: block;
}
.finished-card h3 { margin: 12px 14px 4px; font-size: 16px; }
.finished-card p { margin: 0 14px 14px; color: var(--muted); font-size: 13px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  color: inherit;
  display: block;
}
.card-body { padding: 16px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.card .meta { font-size: 12px; color: var(--muted); }
.flow-link {
  font-size: 13px;
  font-weight: 650;
  color: var(--steel);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.framework-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--line);
  padding: 3px 7px;
}

.grid-solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card--solution h3 { font-size: 22px; }
.ph-solution { min-height: 180px; }

.materials-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-materials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.material-item h3, .factory-item h3, .why-item h3 {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 650;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-item, .factory-item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 18px;
}
.why-item p, .factory-item p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.page-hero h1 { margin: 0 0 8px; font-size: clamp(28px, 3.5vw, 40px); }
.breadcrumb { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

.product-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.product-layout { padding: 32px 0 56px; }
.block { background: var(--surface); border: 1px solid var(--line); padding: 24px; margin-bottom: 16px; overflow-x: auto; }
.block h2 { margin: 0 0 12px; font-size: 22px; }
.muted { color: var(--muted); }
.note {
  background: #f3f0ea;
  border-left: 3px solid var(--steel);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--steel);
  margin: 12px 0 0;
}

table.params { width: 100%; border-collapse: collapse; }
table.params th, table.params td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
table.params th { width: 34%; color: var(--muted); font-weight: 600; }
table.params td + td { border-left: 1px solid var(--line); }
.temp-banner {
  margin: 0;
  padding: 10px 16px;
  background: #3d3428;
  color: #f6f1e8;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-align: center;
}
.temp-banner strong { font-weight: 650; }
img.ph.is-photo { border-style: solid; border-color: var(--line); background: #eeeae3; object-fit: contain; }

.feature-list, .faq, .ol-process { margin: 0; padding: 0; list-style: none; }
.feature-list li, .ol-process li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq-item strong { display: block; margin-bottom: 4px; }

.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.flow-step {
  flex: 1 1 110px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 14px 12px;
  min-height: 96px;
  color: inherit;
}
.flow-step .n { font-size: 11px; letter-spacing: 0.08em; color: var(--green); font-weight: 700; }
.flow-step strong { display: block; margin-top: 6px; }
.flow-step span { display: block; font-size: 13px; color: var(--muted); }
.flow-arrow { display: flex; align-items: center; color: var(--muted); font-size: 18px; }

.projects-empty { max-width: 560px; }
.projects-empty h2, .projects-empty h3 { margin-top: 0; }

.inquiry-form { display: grid; gap: 12px; max-width: 640px; }
.inquiry-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 650; }
.inquiry-form input, .inquiry-form textarea, .inquiry-form select {
  font: inherit;
  font-weight: 400;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.inquiry-form textarea { min-height: 120px; resize: vertical; }

.cta-band {
  background: var(--steel);
  color: #fff;
  padding: 40px 0;
}
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { color: #d5d8de; margin: 0 0 16px; max-width: 40em; }

.site-footer {
  background: var(--header);
  color: #b7bcc4;
  padding: 40px 0 20px;
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.site-footer h2, .site-footer h3, .site-footer h4 {
  color: #fff;
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0;
}
.site-footer a { display: block; padding: 3px 0; color: #b7bcc4; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #b7bcc4; }
.copyright { border-top: 1px solid #2a2e35; padding-top: 14px; font-size: 12px; }

.placeholder-page { padding: 28px 0 72px; }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--nav-h);
    background: #1c1f25;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 16px;
    border-bottom: 1px solid #2a2e35;
    max-height: calc(100vh - var(--nav-h));
    overflow: auto;
  }
  .nav.open { display: flex; }
  .nav-link { padding: 12px 16px; font-size: 15px; }
  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    background: #111317;
    border: 0;
    padding: 0 0 8px;
  }
  .nav-item.open > .dropdown { display: block; }
  .dropdown a { color: #d7dbe2; padding-left: 28px; }
  .site-header { position: sticky; }
  .header-inner { position: static; }
  .site-header .container { position: relative; }
}

@media (max-width: 960px) {
  .hero, .product-hero, .finished-split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-solutions, .why-grid { grid-template-columns: 1fr; }
  .grid-materials, .finished-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ph-hero { min-height: 200px; }
}

@media (max-width: 1100px) {
  .process-rail { display: flex; overflow-x: auto; padding-bottom: 8px; }
  .process-node { flex: 0 0 132px; }
}

@media (max-width: 760px) {
  .grid-3, .grid-2, .grid-materials, .finished-row, .footer-grid { grid-template-columns: 1fr; }
  .process-rail {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    gap: 0;
  }
  .process-node {
    display: grid;
    grid-template-columns: 34px 1fr;
    column-gap: 12px;
    flex: none;
    padding-bottom: 18px;
  }
  .process-node .dot { margin: 0; }
  .process-node strong, .process-node span.node-note { text-align: left; }
  .process-node strong { grid-column: 2; grid-row: 1; }
  .process-node span.node-note { grid-column: 2; grid-row: 2; }
  .process-node .dot { grid-column: 1; grid-row: 1 / span 2; }
  .process-node::before {
    top: 34px;
    left: 16px;
    width: 1px;
    height: calc(100% - 34px);
  }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding-top: 36px; }
}
