@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&family=Noto+Serif+TC:wght@600;700;900&display=swap");

:root {
  --ink: #1c2524;
  --muted: #66716e;
  --line: rgba(28, 37, 36, 0.13);
  --paper: #fff8ed;
  --paper-strong: #fff2dd;
  --steel: #2f3c3d;
  --steel-2: #182222;
  --orange: #f28c28;
  --orange-dark: #be5f09;
  --green: #16705b;
  --mint: #d6f0df;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 34, 34, 0.18);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-display: "Noto Serif TC", "Source Han Serif TC", "Noto Serif CJK TC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 18% 0%, rgba(242, 140, 40, 0.22), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(22, 112, 91, 0.16), transparent 30rem),
    linear-gradient(135deg, #fffaf1 0%, #f4efe4 52%, #e7ebe5 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(28, 37, 36, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 37, 36, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 99;
  padding: 10px 14px;
  color: var(--white);
  background: var(--steel-2);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px 14px;
  background: rgba(255, 248, 237, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 16px 48px rgba(24, 34, 34, 0.1);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 248, 237, 0.94);
  box-shadow: 0 18px 54px rgba(24, 34, 34, 0.15);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--steel-2), var(--green));
  border-radius: 14px;
  box-shadow: inset 0 -10px 22px rgba(255, 255, 255, 0.1);
}

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

.brand strong {
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

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

.site-nav a {
  padding: 11px 14px;
  color: rgba(28, 37, 36, 0.72);
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(242, 140, 40, 0.13);
}

.header-cta {
  padding: 12px 18px;
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.02em;
  background: var(--steel-2);
  border-radius: 999px;
  box-shadow: inset 0 -10px 18px rgba(255, 255, 255, 0.07);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-toggle i,
.nav-toggle i::before,
.nav-toggle i::after {
  display: block;
  width: 18px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 99px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle i::before {
  transform: translateY(-6px);
}

.nav-toggle i::after {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] i {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] i::before {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] i::after {
  transform: translateY(-2px) rotate(90deg);
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 104px);
  padding: 74px 0 96px;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 16px;
  color: var(--orange-dark);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

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

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -0.045em;
}

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 7.2vw, 6.8rem);
  line-height: 0.95;
}

.hero-title.is-formatted {
  max-width: none;
  font-size: clamp(2.2rem, 3vw, 3.25rem);
  line-height: 1.08;
}

.hero-title-main {
  white-space: nowrap;
}

.hero-title-subline {
  display: inline;
  max-width: 100%;
  margin-top: 0.32em;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.35;
}

.hero-lead,
.section-heading p,
.split-heading p,
.expertise-copy p,
.contact-main p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.hero-lead {
  max-width: 42rem;
  margin-bottom: 30px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 20px;
  font-weight: 900;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--steel-2);
  background: linear-gradient(135deg, #ffbd56, var(--orange));
  box-shadow: 0 18px 34px rgba(190, 95, 9, 0.24);
}

.button-ghost {
  color: var(--steel-2);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(28, 37, 36, 0.18);
}

.button-ghost.light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.24);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 690px;
  margin: 34px 0 0;
}

.trust-strip div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(28, 37, 36, 0.1);
  border-radius: 22px;
}

.trust-strip dt {
  margin-bottom: 6px;
  font-size: 1rem;
  font-weight: 900;
}

.trust-strip dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
}

.machine-frame {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(255, 242, 221, 0.36));
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 42px;
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}

.machine-frame::before {
  position: absolute;
  inset: 32px -18px auto auto;
  z-index: -1;
  width: 58%;
  height: 38%;
  content: "";
  background: var(--orange);
  border-radius: 28px;
  transform: rotate(-8deg);
}

.machine-frame img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.machine-frame figcaption {
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: grid;
  gap: 3px;
  max-width: min(280px, calc(100% - 60px));
  padding: 16px 18px;
  color: var(--white);
  background: rgba(24, 34, 34, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.machine-frame figcaption strong {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.machine-frame figcaption span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.floating-note {
  position: absolute;
  bottom: 10%;
  left: -26px;
  display: grid;
  gap: 4px;
  width: 210px;
  padding: 18px;
  color: var(--steel-2);
  background: var(--mint);
  border: 1px solid rgba(22, 112, 91, 0.18);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(22, 112, 91, 0.17);
  animation: soft-float 4.2s ease-in-out infinite;
}

.floating-note span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.floating-note strong {
  font-size: 1.05rem;
}

.services,
.equipment,
.process,
.factory,
.products,
.expertise,
.contact {
  padding: 78px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

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

.service-card {
  position: relative;
  min-height: 285px;
  padding: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(28, 37, 36, 0.11);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 42px rgba(24, 34, 34, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card::after {
  position: absolute;
  right: -42px;
  bottom: -46px;
  width: 128px;
  height: 128px;
  content: "";
  background: radial-gradient(circle, rgba(242, 140, 40, 0.24), transparent 62%);
}

.service-card:hover {
  box-shadow: 0 24px 56px rgba(24, 34, 34, 0.12);
  transform: translateY(-5px);
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 62px;
  color: var(--orange-dark);
  font-family: var(--font-display);
  font-weight: 900;
  background: rgba(242, 140, 40, 0.15);
  border-radius: 16px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.service-card p,
.machine-card p,
.process-list p,
.expertise-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.equipment-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.72fr);
  gap: 26px;
  align-items: stretch;
  padding: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 140, 40, 0.36), transparent 22rem),
    linear-gradient(135deg, rgba(24, 34, 34, 0.98), rgba(47, 60, 61, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.equipment-kicker {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--white);
}

.equipment-kicker .eyebrow {
  color: #ffbd56;
}

.equipment-kicker h2 {
  max-width: 820px;
}

.equipment-kicker p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.05rem;
  line-height: 1.9;
}

.equipment-visual {
  position: relative;
  display: grid;
  min-height: 320px;
}

.equipment-visual figure {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
}

.equipment-visual figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(14, 21, 21, 0.72), rgba(14, 21, 21, 0.06));
}

.equipment-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.tonnage-card {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: end;
  display: grid;
  align-content: center;
  width: min(260px, calc(100% - 28px));
  min-height: 210px;
  padding: 28px;
  color: var(--steel-2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), transparent 42%),
    linear-gradient(135deg, #ffbd56, var(--orange));
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 30px;
  box-shadow: inset 0 -24px 54px rgba(190, 95, 9, 0.14);
}

.tonnage-card span,
.tonnage-card small {
  font-weight: 900;
  letter-spacing: 0.12em;
}

.tonnage-card span {
  font-size: 0.86rem;
}

.tonnage-card strong {
  margin: 4px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 5.5vw, 4.2rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.tonnage-card small {
  font-size: 0.94rem;
}

.machine-capability-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.machine-card {
  min-height: 352px;
  padding: 12px 12px 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(28, 37, 36, 0.11);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 42px rgba(24, 34, 34, 0.07);
}

.machine-card img {
  width: 100%;
  height: 138px;
  margin-bottom: 18px;
  object-fit: cover;
  border-radius: 16px;
}

.machine-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 0 22px 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  background: var(--green);
  border-radius: 14px;
}

.machine-card h3 {
  padding: 0 10px;
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.machine-card p {
  padding: 0 10px;
}

.equipment-spec-block {
  padding: 36px;
  margin-top: 18px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 189, 86, 0.28), transparent 24rem),
    rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(28, 37, 36, 0.11);
  border-radius: 34px;
  box-shadow: 0 18px 48px rgba(24, 34, 34, 0.08);
}

.equipment-spec-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: 36px;
  align-items: end;
}

.equipment-spec-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.equipment-spec-heading > p,
.support-equipment-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.machine-spec-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.machine-group {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(28, 37, 36, 0.11);
  border-radius: 24px;
}

.machine-group-large,
.machine-group-other {
  grid-column: span 2;
}

.machine-group-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 22px 18px;
  background: var(--mint);
}

.machine-group-heading > div:first-child {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.machine-group-heading .eyebrow {
  margin: 0 0 3px;
  font-size: 0.7rem;
}

.machine-group-heading h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.machine-group-heading > strong {
  flex: 0 0 auto;
  color: var(--green);
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  white-space: nowrap;
}

.machine-group-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  background: var(--green);
  border-radius: 12px;
}

.machine-group-large .machine-group-heading {
  color: var(--white);
  background: var(--steel-2);
}

.machine-group-large .machine-group-heading .eyebrow,
.machine-group-large .machine-group-heading > strong {
  color: #ffbd56;
}

.machine-group-large .machine-group-number {
  color: var(--steel-2);
  background: #ffbd56;
}

.machine-group .machine-table-wrap {
  border: 0;
  border-radius: 0;
}

.machine-group .machine-spec-table {
  min-width: 0;
}

.equipment-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0 18px;
}

.equipment-metrics div {
  padding: 22px;
  background: var(--steel-2);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
}

.equipment-metrics dt {
  color: #ffbd56;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.equipment-metrics dt small {
  margin-left: 3px;
  font-size: 0.48em;
  letter-spacing: 0;
}

.equipment-metrics dd {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.5;
}

.machine-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(28, 37, 36, 0.11);
  border-radius: 22px;
  outline: none;
}

.machine-table-wrap:focus-visible {
  box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.22);
}

.machine-spec-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.72);
}

.machine-spec-table caption {
  padding: 15px 20px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
  text-align: left;
  background: var(--mint);
}

.machine-spec-table th,
.machine-spec-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(28, 37, 36, 0.09);
}

.machine-spec-table th {
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  background: var(--steel-2);
}

.machine-spec-table tbody tr:nth-child(even) {
  background: rgba(255, 248, 237, 0.68);
}

.machine-spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.machine-spec-table td:first-child,
.machine-spec-table td:last-child {
  font-weight: 900;
}

.machine-spec-table td:last-child {
  color: var(--green);
}

.support-equipment {
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1fr);
  gap: 24px;
  padding-top: 30px;
}

.support-equipment-heading h4 {
  margin: 0 0 9px;
  font-size: 1.35rem;
}

.support-equipment ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.support-equipment li {
  display: grid;
  gap: 5px;
  padding: 16px;
  background: rgba(255, 248, 237, 0.82);
  border: 1px solid rgba(28, 37, 36, 0.09);
  border-radius: 16px;
}

.support-equipment li strong {
  color: var(--steel-2);
}

.support-equipment li span {
  color: var(--muted);
  font-size: 0.84rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.process-list li {
  position: relative;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 248, 237, 0.55));
  border: 1px solid rgba(28, 37, 36, 0.1);
  border-radius: var(--radius-lg);
}

.process-list span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  background: var(--green);
  border-radius: 999px;
}

.process-list h3 {
  margin-bottom: 10px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.split-heading h2,
.split-heading p {
  margin-bottom: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1.24fr 0.76fr;
  gap: 16px;
}

.gallery-card {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: var(--steel-2);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(24, 34, 34, 0.16);
}

.gallery-card.large {
  grid-row: span 2;
  min-height: 676px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.45s ease;
}

.gallery-card:hover img {
  transform: scale(1.075);
}

.gallery-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  content: "";
  background: linear-gradient(to top, rgba(14, 21, 21, 0.88), transparent);
}

.gallery-card figcaption {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
  display: grid;
  gap: 6px;
  color: var(--white);
}

.gallery-card strong {
  font-size: 1.25rem;
}

.gallery-card span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

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

.product-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(28, 37, 36, 0.11);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(24, 34, 34, 0.08);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 24px;
}

.product-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.product-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.expertise-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 32px;
  padding: 36px;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 16%, rgba(242, 140, 40, 0.32), transparent 30rem),
    linear-gradient(135deg, var(--steel-2), var(--steel));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.expertise-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.expertise-panel .eyebrow {
  color: #ffbd56;
}

.expertise-list {
  display: grid;
  gap: 12px;
}

.expertise-list article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
}

.expertise-list h3 {
  margin-bottom: 9px;
}

.expertise-list p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.76fr);
  gap: 28px;
  padding: 38px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(242, 140, 40, 0.22), transparent 46%),
    linear-gradient(135deg, #133832, #1f2b2b);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.contact-card .eyebrow {
  color: #ffbd56;
}

.contact-main p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-info {
  display: grid;
  gap: 12px;
  align-content: start;
  font-style: normal;
}

.contact-info > span {
  display: grid;
  gap: 4px;
  padding: 18px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.contact-info small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-info a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.26);
  text-underline-offset: 5px;
}

.contact-info button {
  justify-self: start;
  margin-top: 4px;
  padding: 6px 10px;
  color: var(--white);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 900;
  color: var(--green);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0ms);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes soft-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 6px;
    padding: 12px;
    background: rgba(255, 248, 237, 0.97);
    border: 1px solid rgba(28, 37, 36, 0.1);
    border-radius: 26px;
    box-shadow: 0 18px 44px rgba(24, 34, 34, 0.12);
  }

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    max-width: 13ch;
  }

  .hero-title.is-formatted {
    font-size: clamp(2rem, 5vw, 3.25rem);
  }

  .service-grid,
  .machine-capability-grid,
  .product-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .section-heading,
  .split-heading,
  .equipment-panel,
  .equipment-spec-heading,
  .machine-spec-groups,
  .expertise-panel,
  .contact-card,
  .support-equipment {
    grid-template-columns: 1fr;
  }

  .equipment-metrics,
  .support-equipment ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 20px, 1180px);
    margin-top: 10px;
    padding: 10px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .section-shell,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    gap: 36px;
    padding: 48px 0 60px;
  }

  h1 {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  .hero-title.is-formatted {
    font-size: clamp(1.75rem, 8.5vw, 3rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .service-grid,
  .machine-capability-grid,
  .machine-spec-groups,
  .product-grid,
  .process-list,
  .gallery {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 26px;
  }

  .machine-frame {
    padding: 9px;
    border-radius: 28px;
    transform: rotate(0);
  }

  .machine-frame img {
    border-radius: 21px;
  }

  .machine-frame figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
    max-width: none;
  }

  .floating-note {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    margin: -20px 18px 0;
  }

  .services,
  .equipment,
  .process,
  .factory,
  .products,
  .expertise,
  .contact {
    padding: 52px 0;
  }

  .service-card,
  .machine-card {
    min-height: auto;
  }

  .machine-card img {
    height: 210px;
  }

  .card-index {
    margin-bottom: 42px;
  }

  .gallery-card,
  .gallery-card.large {
    min-height: 340px;
  }

  .expertise-panel,
  .equipment-panel,
  .equipment-spec-block,
  .contact-card {
    padding: 24px;
    border-radius: 28px;
  }

  .equipment-metrics,
  .support-equipment ul {
    grid-template-columns: 1fr;
  }

  .machine-group-large,
  .machine-group-other {
    grid-column: auto;
  }

  .machine-group-heading {
    align-items: flex-start;
  }

  .machine-table-wrap {
    overflow: visible;
    border: 0;
  }

  .machine-spec-table {
    min-width: 0;
    background: transparent;
  }

  .machine-spec-table caption {
    display: block;
    width: 100%;
    border-radius: 16px;
  }

  .machine-spec-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .machine-spec-table,
  .machine-spec-table tbody,
  .machine-spec-table tr,
  .machine-spec-table td {
    display: block;
    width: 100%;
  }

  .machine-spec-table tr {
    padding: 11px 15px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(28, 37, 36, 0.1);
    border-radius: 16px;
  }

  .machine-spec-table tbody tr:nth-child(even) {
    background: rgba(255, 248, 237, 0.9);
  }

  .machine-spec-table td {
    display: grid;
    grid-template-columns: 7.2rem minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(28, 37, 36, 0.07);
  }

  .machine-spec-table tbody tr:last-child td {
    border-bottom: 1px solid rgba(28, 37, 36, 0.07);
  }

  .machine-spec-table tr td:last-child {
    border-bottom: 0;
  }

  .machine-spec-table td::before {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    content: attr(data-label);
  }

  .tonnage-card {
    width: calc(100% - 24px);
    min-height: 210px;
    padding: 24px;
  }

  .product-card {
    grid-template-columns: 1fr;
    padding: 12px 12px 22px;
  }

  .product-card img {
    height: 240px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
