:root {
  --ink: #17211f;
  --muted-ink: #5d6b66;
  --surface: #fffdf7;
  --surface-2: #f1eee5;
  --line: #d8ddd7;
  --steel: #74857f;
  --teal: #177c6c;
  --teal-dark: #0d574d;
  --amber: #e6a545;
  --rust: #b95f32;
  --cream: #f8f4ec;
  --shadow: 0 20px 50px rgba(24, 33, 31, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 70px);
  color: var(--ink);
  background: rgba(255, 253, 247, 0.88);
  border-bottom: 1px solid rgba(216, 221, 215, 0.65);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 10px 32px rgba(23, 33, 31, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fffdf7;
  background: var(--teal-dark);
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted-ink);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 13px;
  color: #34423f;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover {
  background: rgba(23, 124, 108, 0.08);
  color: var(--teal-dark);
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: #fffdf7;
  background: var(--teal-dark);
}

.site-nav .nav-cta:hover {
  color: #fffdf7;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 130px clamp(20px, 5vw, 70px) 54px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(248, 244, 236, 0.98) 0%, rgba(248, 244, 236, 0.88) 38%, rgba(248, 244, 236, 0.18) 72%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 640px;
  color: #44534f;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.button.primary {
  color: #fffdf7;
  background: var(--teal-dark);
}

.button.primary:hover {
  background: var(--teal);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 253, 247, 0.78);
  border-color: rgba(23, 33, 31, 0.18);
}

.button.secondary:hover {
  border-color: var(--teal);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
  margin: 38px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid rgba(216, 221, 215, 0.86);
  border-radius: var(--radius);
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 850;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted-ink);
  font-size: 13px;
  font-weight: 650;
}

.section {
  padding: clamp(70px, 8vw, 112px) 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.intro-band {
  background: var(--ink);
  color: #fffdf7;
}

.intro-band .eyebrow {
  color: #9ee0d2;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: end;
}

.intro-grid p:last-child,
.solution-layout p,
.section-heading p,
.inquiry-layout p,
.site-footer p {
  color: var(--muted-ink);
  line-height: 1.75;
}

.intro-grid p:last-child {
  color: #dce7e3;
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.split {
  display: grid;
  max-width: none;
  grid-template-columns: 1fr minmax(280px, 430px);
  gap: 46px;
  align-items: end;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.94fr 0.94fr;
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(23, 33, 31, 0.06);
}

.product-card.featured {
  box-shadow: var(--shadow);
}

.product-visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(23, 33, 31, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 31, 0.08) 1px, transparent 1px),
    #f2efe6;
  background-size: 34px 34px;
}

.product-photo-wrap {
  display: grid;
  place-items: center;
  background: #fff;
}

.product-photo-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.product-body {
  padding: 26px;
}

.product-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  color: var(--teal-dark);
  background: rgba(23, 124, 108, 0.1);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-body p {
  color: var(--muted-ink);
  line-height: 1.65;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: #34423f;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--teal);
  clip-path: polygon(14% 52%, 37% 75%, 88% 20%, 100% 33%, 38% 100%, 0 62%);
}

.visual-machine .belt,
.visual-board .belt {
  position: absolute;
  left: 9%;
  right: 8%;
  top: 58%;
  height: 20px;
  background: #2e3936;
  border-radius: 999px;
}

.visual-machine .wood {
  position: absolute;
  top: 49%;
  width: 36%;
  height: 32px;
  background: linear-gradient(90deg, #bf7431, #efc27a, #c8833c);
  border: 2px solid rgba(92, 51, 19, 0.28);
}

.visual-machine .wood.left {
  left: 9%;
}

.visual-machine .wood.right {
  right: 8%;
}

.machine-head {
  position: absolute;
  left: 31%;
  top: 23%;
  width: 36%;
  height: 88px;
  background: linear-gradient(135deg, #eef3f0, #99aaa5);
  border: 3px solid #6d7c78;
  border-radius: 8px;
}

.machine-head::before {
  position: absolute;
  left: 22%;
  top: 22px;
  width: 54px;
  height: 24px;
  content: "";
  background: #26312f;
  border-radius: 4px;
}

.machine-head::after {
  position: absolute;
  right: 18%;
  top: 24px;
  width: 42px;
  height: 20px;
  content: "";
  background: var(--amber);
  border-radius: 4px;
}

.thread-line {
  position: absolute;
  left: 47%;
  top: 45%;
  width: 40px;
  height: 54px;
  border-left: 5px solid var(--teal);
  border-right: 5px solid var(--teal);
  border-radius: 50%;
}

.visual-thread .spool {
  position: absolute;
  top: 44px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 16px solid #dde7e3;
  background: radial-gradient(circle, #f8f4ec 0 18%, var(--teal) 19% 31%, #cdd9d5 32% 100%);
  box-shadow: inset 0 0 0 8px rgba(23, 33, 31, 0.12);
}

.visual-thread .spool.one {
  left: 42px;
}

.visual-thread .spool.two {
  right: 46px;
  border-color: #eed3a2;
  background: radial-gradient(circle, #f8f4ec 0 18%, var(--rust) 19% 31%, #e8bc71 32% 100%);
}

.thread-wave {
  position: absolute;
  left: 26%;
  right: 23%;
  top: 132px;
  height: 46px;
  border-top: 5px solid var(--teal);
  border-bottom: 5px solid var(--rust);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.visual-board .roller {
  position: absolute;
  bottom: 42px;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: radial-gradient(circle, #f7f4ec 0 20%, #7a8984 21% 38%, #34423f 39%);
}

.visual-board .r1 {
  left: 48px;
}

.visual-board .r2 {
  right: 50px;
}

.board-sheet {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 48%;
  height: 38px;
  background: linear-gradient(90deg, #bc7838, #edc17e, #c98642);
  border: 2px solid rgba(92, 51, 19, 0.24);
}

.cutter {
  position: absolute;
  top: 24px;
  right: 22%;
  width: 72px;
  height: 112px;
  background: linear-gradient(135deg, #eef3f0, #879691);
  border: 3px solid #667773;
  border-radius: 8px;
}

.cutter::after {
  position: absolute;
  left: 22px;
  bottom: -34px;
  width: 28px;
  height: 52px;
  content: "";
  background: var(--amber);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.muted {
  background: var(--surface-2);
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 54px;
  align-items: start;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.solution-list div {
  min-height: 142px;
  padding: 22px;
  background: #fffdf7;
  border: 1px solid #d6d8d0;
  border-radius: var(--radius);
}

.solution-list strong,
.solution-list span {
  display: block;
}

.solution-list strong {
  margin-bottom: 10px;
  font-size: 18px;
}

.solution-list span {
  color: var(--muted-ink);
  line-height: 1.55;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  min-width: 790px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: #fffdf7;
  background: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td:first-child {
  font-weight: 800;
  color: var(--teal-dark);
}

tr:last-child td {
  border-bottom: 0;
}

.process {
  background: #fbfaf5;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  position: relative;
  min-height: 230px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 850;
}

.process-step p {
  color: var(--muted-ink);
  line-height: 1.65;
}

.inquiry-section {
  color: #fffdf7;
  background: #18211f;
}

.inquiry-section .eyebrow {
  color: #9ee0d2;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 54px;
  align-items: start;
}

.inquiry-layout p {
  color: #dce7e3;
  font-size: 18px;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-strip a {
  padding: 12px 14px;
  color: #fffdf7;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font-weight: 750;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  color: var(--ink);
  background: #fffdf7;
  border-radius: var(--radius);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: #34423f;
  font-size: 13px;
  font-weight: 800;
}

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

.inquiry-form textarea {
  resize: vertical;
  min-height: 132px;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 124, 108, 0.16);
}

.form-submit {
  width: 100%;
}

.site-footer {
  padding: 34px 0;
  color: #dce7e3;
  background: #111816;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.site-footer strong,
.site-footer span {
  display: block;
  margin-bottom: 8px;
  color: #fffdf7;
  font-weight: 850;
}

.site-footer p {
  margin-bottom: 0;
  color: #aebfba;
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fffdf7;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 13px 14px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
  }

  .hero::after {
    background: rgba(248, 244, 236, 0.84);
  }

  .hero-bg svg {
    transform: translateX(12%);
  }

  .intro-grid,
  .section-heading.split,
  .solution-layout,
  .inquiry-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .site-header {
    min-height: 70px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    top: 70px;
  }

  .hero {
    padding-inline: 20px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  h2 {
    font-size: 32px;
  }

  .hero-actions,
  .contact-strip {
    flex-direction: column;
  }

  .button,
  .contact-strip a {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .container {
    width: min(100% - 32px, 1180px);
  }

  .solution-list,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 200px 1fr;
  }

  .inquiry-form {
    padding: 20px;
  }
}
