:root {
  --oem-green: #123d31;
  --oem-green-dark: #0b2c25;
  --oem-green-soft: #e9f0eb;
  --oem-gold: #c8892d;
  --oem-gold-dark: #a86619;
  --oem-paper: #fffdf9;
  --oem-warm: #f5f1e9;
  --oem-ink: #1e2623;
  --oem-muted: #5f6b65;
  --oem-line: #d9ddd7;
  --oem-shadow: 0 16px 40px rgba(20, 47, 38, 0.1);
}

.oem-page {
  overflow: clip;
  background: var(--oem-paper);
  color: var(--oem-ink);
}

.oem-page *,
.oem-hero * {
  min-width: 0;
}

.oem-kicker {
  margin: 0 0 12px;
  color: var(--oem-gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: uppercase;
}

.oem-hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: #eee8dd;
  color: var(--oem-ink);
}

.oem-hero__media,
.oem-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.oem-hero__media {
  object-fit: cover;
  object-position: center;
}

.oem-hero__shade {
  background: linear-gradient(90deg, rgba(249, 246, 239, 0.98) 0%, rgba(249, 246, 239, 0.93) 34%, rgba(249, 246, 239, 0.63) 53%, rgba(249, 246, 239, 0.12) 75%);
}

.oem-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 590px;
}

.oem-hero__copy {
  width: min(640px, 58%);
  padding: 72px 0;
}

.oem-hero__copy h1 {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--oem-green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.oem-hero__copy > p:not(.oem-kicker) {
  max-width: 610px;
  margin: 0;
  color: #3d4843;
  font-size: 17px;
  line-height: 1.7;
}

.oem-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.oem-hero__actions .btn {
  min-height: 48px;
}

.oem-btn-secondary {
  border-color: rgba(18, 61, 49, 0.45);
  background: rgba(255, 253, 249, 0.88);
  color: var(--oem-green);
}

.oem-btn-secondary:hover {
  border-color: var(--oem-green);
  background: #fff;
}

.oem-btn-secondary:focus-visible,
.oem-page a:focus-visible,
.oem-page button:focus-visible,
.oem-page input:focus-visible,
.oem-page textarea:focus-visible {
  outline: 3px solid var(--oem-gold);
  outline-offset: 3px;
}

.oem-section {
  padding: 84px 0;
  scroll-margin-top: 112px;
}

.oem-section--soft {
  background: var(--oem-warm);
}

.oem-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.oem-heading--centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.oem-heading h2 {
  margin: 0 0 12px;
  color: var(--oem-green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.oem-heading > p:last-child {
  margin: 0;
  color: var(--oem-muted);
  font-size: 16px;
  line-height: 1.7;
}

.oem-serve-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.oem-serve-card,
.oem-scope-card,
.oem-manufacturing-grid figure,
.oem-project-card {
  overflow: hidden;
  border: 1px solid var(--oem-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 45, 38, 0.06);
}

.oem-serve-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.oem-serve-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 15 / 8;
  object-fit: cover;
}

.oem-serve-card > div {
  flex: 1;
  padding: 18px 20px 20px;
}

.oem-serve-card h3,
.oem-scope-card h3,
.oem-process-grid h3,
.oem-project-card h3 {
  margin: 0;
  color: var(--oem-green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.oem-serve-card h3 {
  font-size: 20px;
}

.oem-serve-card p {
  margin: 5px 0 0;
  color: var(--oem-muted);
  font-size: 14px;
}

.oem-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.oem-scope-card {
  display: grid;
  grid-template-columns: minmax(150px, 42%) 1fr;
  min-height: 178px;
}

.oem-scope-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oem-scope-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.oem-scope-card h3 {
  font-size: 19px;
}

.oem-scope-card p {
  margin: 8px 0 0;
  color: var(--oem-muted);
  font-size: 13px;
  line-height: 1.55;
}

.oem-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--oem-line);
  border-left: 1px solid var(--oem-line);
  list-style: none;
}

.oem-process-grid li {
  min-height: 220px;
  padding: 24px 20px;
  border-right: 1px solid var(--oem-line);
  border-bottom: 1px solid var(--oem-line);
  background: #fff;
}

.oem-process-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--oem-gold-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.oem-process-grid h3 {
  font-size: 17px;
}

.oem-process-grid p {
  margin: 9px 0 0;
  color: var(--oem-muted);
  font-size: 13px;
  line-height: 1.55;
}

.oem-development-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.oem-development-gallery figure {
  position: relative;
  min-height: 160px;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--oem-green-dark);
}

.oem-development-gallery img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.oem-development-gallery figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 12px;
  background: rgba(11, 44, 37, 0.9);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.oem-manufacturing-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.oem-manufacturing-grid figure {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  margin: 0;
}

.oem-manufacturing-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.oem-manufacturing-grid figcaption {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-start;
  padding: 14px 10px 16px;
  text-align: center;
}

.oem-manufacturing-grid strong {
  color: var(--oem-green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.3;
}

.oem-manufacturing-grid small {
  display: block;
  margin-top: 5px;
  color: var(--oem-muted);
  font-size: 12px;
  line-height: 1.45;
}

.oem-benefit-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.oem-benefit-strip li {
  display: grid;
  min-height: 48px;
  place-items: center;
  padding: 9px 12px;
  border: 1px solid #ccd8cf;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.78);
  color: #33473e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.oem-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.oem-project-card {
  display: grid;
  grid-template-columns: minmax(220px, 45%) 1fr;
  min-height: 330px;
}

.oem-project-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oem-project-card > div {
  padding: 24px;
}

.oem-project-card h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.oem-project-card dl {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.oem-project-card dt {
  margin-top: 10px;
  color: var(--oem-green-dark);
  font-weight: 800;
}

.oem-project-card dd {
  margin: 2px 0 0;
  color: var(--oem-muted);
}

.oem-inquiry {
  position: relative;
  background: var(--oem-green-dark);
  color: #fff;
}

.oem-inquiry::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.035), transparent 48%);
  content: "";
  pointer-events: none;
}

.oem-inquiry .gb-container {
  position: relative;
}

.oem-heading--light h2,
.oem-heading--light > p:last-child {
  color: #fff;
}

.oem-heading--light > p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.oem-inquiry .oem-kicker {
  color: #efbd6b;
}

.oem-inquiry__layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 42px;
  align-items: start;
}

.oem-inquiry__brief {
  padding: 12px 0;
}

.oem-inquiry__brief h3 {
  max-width: 380px;
  margin: 0 0 20px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.2;
}

.oem-inquiry__brief ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.oem-inquiry__brief li {
  position: relative;
  margin: 12px 0;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.oem-inquiry__brief li::before {
  position: absolute;
  top: 3px;
  left: 0;
  color: #efbd6b;
  content: "\2713";
  font-weight: 900;
}

.oem-inquiry__contact {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.oem-inquiry__contact span,
.oem-inquiry__contact a {
  display: block;
}

.oem-inquiry__contact span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.oem-inquiry__contact a {
  margin-top: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.oem-inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--oem-shadow);
  color: var(--oem-ink);
}

.oem-inquiry-form label {
  color: #334039;
  font-size: 12px;
  font-weight: 800;
}

.oem-inquiry-form input,
.oem-inquiry-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #cfd6d1;
  border-radius: 4px;
  background: #fff;
  color: var(--oem-ink);
  font-size: 16px;
}

.oem-inquiry-form input {
  min-height: 48px;
  padding: 11px 13px;
}

.oem-inquiry-form textarea {
  min-height: 144px;
  padding: 12px 13px;
  resize: vertical;
}

.oem-inquiry-form input:focus,
.oem-inquiry-form textarea:focus {
  border-color: var(--oem-gold);
  box-shadow: 0 0 0 3px rgba(200, 137, 45, 0.16);
}

.oem-inquiry-form .oem-field--full,
.oem-inquiry-form .oem-form-status {
  grid-column: 1 / -1;
}

.oem-file-field {
  padding: 18px;
  border: 1px dashed #aebbb3;
  border-radius: 6px;
  background: #f8faf8;
}

.oem-file-field input[type="file"] {
  height: auto;
  min-height: 48px;
  padding: 9px;
  background: #fff;
}

.oem-file-field small {
  display: block;
  margin-top: 8px;
  color: var(--oem-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.oem-inquiry-form .verify {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 7px;
}

.oem-inquiry-form .verify input {
  margin-top: 0;
}

.oem-inquiry-form .verify img {
  width: auto;
  max-width: 160px;
  height: 46px;
  object-fit: contain;
  cursor: pointer;
}

.oem-inquiry-form .btn {
  justify-self: start;
  min-width: 170px;
}

.oem-form-status {
  margin: 0;
  color: var(--oem-muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .oem-hero__copy h1 {
    font-size: 54px;
  }

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

  .oem-manufacturing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .oem-benefit-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .oem-project-card {
    grid-template-columns: 1fr;
  }

  .oem-project-card > img {
    aspect-ratio: 12 / 7;
  }
}

@media (max-width: 900px) {
  .oem-hero__copy {
    width: min(620px, 72%);
  }

  .oem-hero__shade {
    background: linear-gradient(90deg, rgba(249, 246, 239, 0.98) 0%, rgba(249, 246, 239, 0.9) 48%, rgba(249, 246, 239, 0.35) 82%);
  }

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

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

  .oem-development-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .oem-development-gallery figure:nth-child(n + 4) {
    min-height: 190px;
  }

  .oem-inquiry__layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .oem-inquiry__brief {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
  }

  .oem-inquiry__brief .oem-kicker,
  .oem-inquiry__brief h3,
  .oem-inquiry__contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .oem-hero,
  .oem-hero__inner {
    min-height: 570px;
  }

  .oem-hero__media {
    object-position: 78% center;
  }

  .oem-hero__shade {
    background: linear-gradient(90deg, rgba(249, 246, 239, 0.97) 0%, rgba(249, 246, 239, 0.9) 64%, rgba(249, 246, 239, 0.55) 100%);
  }

  .oem-hero__copy {
    width: 100%;
    max-width: 540px;
    padding: 56px 0;
  }

  .oem-hero__copy h1 {
    max-width: 460px;
    font-size: 42px;
    line-height: 1.07;
  }

  .oem-hero__copy > p:not(.oem-kicker) {
    max-width: 500px;
    font-size: 16px;
  }

  .oem-section {
    padding: 58px 0;
    scroll-margin-top: 84px;
  }

  .oem-heading {
    margin-bottom: 28px;
  }

  .oem-heading h2 {
    font-size: 32px;
  }

  .oem-serve-grid,
  .oem-scope-grid,
  .oem-project-grid {
    grid-template-columns: 1fr;
  }

  .oem-scope-card {
    grid-template-columns: minmax(130px, 40%) 1fr;
  }

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

  .oem-development-gallery figure,
  .oem-development-gallery figure:nth-child(n + 4) {
    min-height: 170px;
  }

  .oem-development-gallery figure:last-child {
    grid-column: 1 / -1;
  }

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

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

  .oem-project-card {
    min-height: 0;
  }

  .oem-project-card > div {
    padding: 22px;
  }

  .oem-inquiry__brief {
    display: block;
  }

  .oem-inquiry-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .oem-inquiry-form .oem-field--full,
  .oem-inquiry-form .oem-form-status {
    grid-column: auto;
  }
}

@media (max-width: 460px) {
  .oem-hero,
  .oem-hero__inner {
    min-height: 620px;
  }

  .oem-hero__copy h1 {
    font-size: 38px;
  }

  .oem-hero__actions {
    flex-direction: column;
  }

  .oem-hero__actions .btn {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .oem-scope-card {
    grid-template-columns: 1fr;
  }

  .oem-scope-card img {
    aspect-ratio: 4 / 3;
  }

  .oem-process-grid,
  .oem-development-gallery,
  .oem-manufacturing-grid,
  .oem-benefit-strip {
    grid-template-columns: 1fr;
  }

  .oem-development-gallery figure:last-child {
    grid-column: auto;
  }

  .oem-process-grid li {
    min-height: 0;
  }

  .oem-inquiry__brief h3 {
    font-size: 27px;
  }
}

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