/* Multi-page structure upgrade for Dongdubao overseas website. */

:root {
  --stage2-dark: #11171b;
  --stage2-panel: #f7fafd;
  --stage2-blue: #eaf3fb;
  --stage2-line: #d8e6f2;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body:not([data-page="contact"]) {
  background-color: #f7fafd;
  background-image:
    radial-gradient(ellipse 58% 43% at -16% 21%, transparent 0 68%, rgba(85, 156, 213, 0.19) 68.15% 68.42%, rgba(85, 156, 213, 0.08) 68.55% 69%, transparent 69.2%),
    radial-gradient(ellipse 74% 45% at 111% 12%, transparent 0 67%, rgba(105, 174, 226, 0.18) 67.2% 67.46%, rgba(105, 174, 226, 0.07) 67.62% 68.1%, transparent 68.35%),
    radial-gradient(ellipse 62% 36% at 106% 84%, transparent 0 66%, rgba(79, 150, 207, 0.17) 66.2% 66.48%, rgba(79, 150, 207, 0.065) 66.65% 67.2%, transparent 67.45%),
    radial-gradient(ellipse 48% 32% at 2% 91%, transparent 0 63%, rgba(115, 181, 229, 0.14) 63.25% 63.5%, transparent 63.8%);
  background-size: 760px 620px, 930px 620px, 860px 560px, 670px 490px;
  background-repeat: no-repeat;
  background-position: left 8vh, right -170px top 24vh, right -190px bottom 8vh, left -260px bottom -70px;
  background-attachment: fixed;
}

body[data-page="contact"] {
  background: #f7fafd;
}

.stage2-header {
  grid-template-columns: auto 1fr auto;
  min-height: 82px;
  padding: 10px clamp(22px, 4vw, 52px);
}

.stage2-brand span {
  max-width: 170px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.12;
}

.stage2-header nav {
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
}

.stage2-header nav a {
  color: rgba(23, 26, 29, 0.68);
  white-space: nowrap;
}

.stage2-header nav a.is-active,
.stage2-header nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.mobile-only-nav {
  display: none;
}

.home-hero.refined-hero {
  min-height: 650px;
}

.home-hero.refined-hero::before {
  animation: heroSlowZoom 16s ease-out forwards;
}

.home-hero .primary-button,
.mid-cta-section .primary-button {
  color: var(--white);
}

.home-hero .material-tags span:nth-child(n) {
  display: inline-flex;
}

.home-hero .material-tags span::after {
  content: none;
}

@keyframes heroSlowZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.03);
  }
}

.inner-hero {
  padding: clamp(106px, 12vw, 148px) max(var(--page-pad), calc((100% - var(--content-max)) / 2)) clamp(62px, 8vw, 92px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(234, 243, 251, 0.92) 100%),
    repeating-linear-gradient(90deg, rgba(97, 119, 131, 0.08) 0 1px, transparent 1px 92px);
  border-bottom: 1px solid var(--stage2-line);
}

.inner-hero h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
}

.inner-hero p:not(.section-code) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.home-section,
.page-section {
  padding: clamp(66px, 8vw, 108px) max(var(--page-pad), calc((100% - var(--content-max)) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.96fr) minmax(320px, 1.04fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.section-heading .section-code {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.06;
}

.section-heading > p:not(.section-code) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.narrow-heading,
.about-preview .section-heading,
.development-preview .section-heading,
.systems-preview .section-heading {
  max-width: 980px;
  grid-template-columns: 1fr;
}

.solution-section,
.systems-preview,
.systems-page,
.applications-section {
  background: #f7f8f7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solution-grid,
.solution-card-grid,
.systems-static-grid,
.timeline-grid,
.process-four-grid,
.process-seven-grid,
.texture-category-grid {
  display: grid;
  gap: 18px;
}

.solution-card-grid,
.systems-static-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.solution-card,
.system-card,
.timeline-card,
.process-card,
.texture-panel,
.contact-info-panel {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.solution-card figure,
.system-card figure,
.texture-visual figure {
  margin: 0;
  background: #fbfbfa;
  border-bottom: 1px solid var(--line);
}

.solution-card img,
.system-card img {
  width: 100%;
  height: 248px;
  object-fit: contain;
  object-position: center;
}

.solution-card-body,
.system-card-body {
  display: flex;
  flex-direction: column;
  min-height: 258px;
  padding: 24px;
}

.solution-card-body > span,
.system-card-body > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.solution-card h3,
.system-card h3,
.process-card h3,
.timeline-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.16;
}

.solution-card p,
.system-card p,
.process-card p,
.timeline-card p,
.texture-panel p {
  color: var(--muted);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  color: var(--deep);
  background: #f8f8f6;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-link {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 20px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.moulds-hero .moulds-hero-lead {
  margin-bottom: 16px !important;
  color: var(--deep) !important;
  font-size: clamp(20px, 2.2vw, 27px) !important;
  font-weight: 800;
  line-height: 1.28;
}

.moulds-hero p:not(.section-code) {
  max-width: 790px;
}

.mould-category {
  scroll-margin-top: 92px;
}

.mould-category-alt {
  background: #f5f8fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mould-category-heading {
  margin-bottom: 34px;
}

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

.mould-card {
  display: grid;
  grid-template-rows: 286px 1fr;
  overflow: hidden;
  min-height: 440px;
  background: var(--white);
  border: 1px solid var(--line);
}

.mould-card figure {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 18px;
  background: #fbfbfa;
  border-bottom: 1px solid var(--line);
}

.mould-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mould-card-body {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.mould-card-body > span {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mould-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.16;
}

.mould-card .card-tags {
  margin-top: 0;
  margin-bottom: 16px;
}

.mould-card p {
  margin-top: auto;
  margin-bottom: 0;
  color: var(--muted);
}

.moulds-project-cta .section-code {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.64);
}

.systems-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.system-card dl {
  display: grid;
  gap: 1px;
  margin: auto 0 0;
  background: var(--line);
}

.system-card dl div {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #fbfbfa;
}

.system-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.system-card dd {
  margin: 0;
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
}

.mould-carousel {
  position: relative;
}

.mould-carousel-track {
  display: grid;
  grid-auto-columns: calc((100% - 36px) / 3);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 8px;
}

.mould-carousel-track .system-card {
  scroll-snap-align: start;
}

.moulds-page .system-card figure {
  aspect-ratio: 4 / 3;
  background: #eef0ef;
}

.moulds-page .system-card img {
  height: 100%;
  object-fit: cover;
}

.system-image-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.system-image-button img {
  display: block;
  transition: transform 180ms ease;
}

.system-image-button:hover img,
.system-image-button:focus-visible img {
  transform: scale(1.025);
}

.system-image-enlarge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 9px;
  color: var(--white);
  background: rgba(16, 24, 28, 0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.system-image-button:hover .system-image-enlarge,
.system-image-button:focus-visible .system-image-enlarge {
  opacity: 1;
  transform: translateY(0);
}

.moulds-page .system-card-body {
  min-height: 212px;
  padding: 26px 28px 24px;
}

.moulds-page .system-card-body > span {
  margin-bottom: 12px;
  font-size: 13px;
}

.moulds-page .system-card h3 {
  font-size: 25px;
}

.moulds-page .system-card p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.5;
}

.moulds-page .system-card .product-link {
  margin-top: auto;
}

.mould-carousel-track {
  cursor: grab;
}

.mould-carousel-track:active {
  cursor: grabbing;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}

.carousel-controls button {
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--deep);
  border: 0;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.development-preview {
  color: var(--white);
  background: var(--stage2-dark);
}

.development-preview .section-code,
.development-preview h2,
.development-preview .section-heading > p {
  color: var(--white);
}

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

.process-card {
  min-height: 198px;
  padding: 26px;
}

.process-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.development-preview .process-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}

.development-preview .process-card p {
  color: rgba(255, 255, 255, 0.68);
}

.process-action,
.about-action {
  margin-top: 28px;
}

.about-preview {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

.about-copy > p:not(.section-code) {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.capability-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.capability-pills span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  background: #f7f8f7;
  border: 1px solid var(--line);
  color: var(--deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.about-media {
  overflow: hidden;
  margin: 0;
  background: #f7f8f7;
  border: 1px solid var(--line);
}

.about-media img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.mid-cta-section {
  align-items: center;
}

.page-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: 26px;
  align-items: start;
}

.contact-page-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 23, 27, 0.97), rgba(38, 54, 64, 0.98)),
    var(--deep);
  border-top: 5px solid var(--red);
}

.contact-info-panel {
  display: grid;
  gap: 22px;
  padding: clamp(30px, 4vw, 44px);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
}

.contact-info-panel h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.06;
}

.contact-info-panel h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
}

.contact-info-panel > p {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.contact-list article {
  padding: 18px;
  background: rgba(17, 23, 27, 0.44);
}

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

.contact-list span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-list a,
.contact-list strong {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.whatsapp-card {
  width: 100%;
}

.enquiry-form {
  display: grid;
  gap: 20px;
  padding: clamp(28px, 4vw, 42px);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.form-heading {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-heading span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.form-heading strong {
  font-size: 25px;
  line-height: 1.14;
}

.form-row,
.enquiry-form label {
  display: grid;
  gap: 8px;
}

.two-fields {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.enquiry-form label > span {
  color: #4e5961;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfbfa;
  border: 1px solid #cbd2d6;
  border-radius: 0;
  font: inherit;
  font-size: 16px;
}

.enquiry-form textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: 2px solid rgba(169, 31, 37, 0.2);
  border-color: var(--red);
  background: var(--white);
}

.native-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.custom-file-control {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 8px;
  background: #fbfbfa;
  border: 1px solid #cbd2d6;
}

.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--white);
  background: var(--deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.file-name {
  overflow: hidden;
  color: #5f6c76;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}

.consent-line {
  display: flex !important;
  grid-template-columns: none;
  gap: 10px !important;
  align-items: center;
  color: #64707a;
  font-size: 13px;
}

.consent-line input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--red);
}

.form-footer button {
  min-width: 170px;
  min-height: 54px;
  color: var(--white);
  background: var(--red);
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.form-footer button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #5f6c76;
  font-size: 13px;
}

.form-status.is-error,
.field-error {
  color: #a91f25;
  font-weight: 800;
}

.form-status.is-success {
  color: #0b7d48;
  font-weight: 800;
}

.form-status.is-loading {
  color: #526a78;
  font-weight: 800;
}

.field-error {
  font-size: 12px;
}

.has-error input,
.has-error textarea,
.has-error select,
.has-error .custom-file-control {
  border-color: #a91f25;
}

.process-seven-grid {
  grid-template-columns: repeat(7, minmax(150px, 1fr));
}

.process-seven-grid .process-card {
  min-height: 228px;
  padding: 22px;
}

.process-seven-grid .process-card h3 {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.process-seven-grid .process-card--manufacturing h3 {
  font-size: 17px;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
  word-break: keep-all;
}

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

.timeline-card {
  min-height: 210px;
  padding: 28px;
  border-top: 3px solid var(--stage2-dark);
}

.timeline-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--stage2-dark);
  font-size: 28px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.texture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

.texture-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.texture-visual img {
  width: 100%;
  min-height: 290px;
  object-fit: cover;
}

.texture-panel {
  padding: clamp(28px, 4vw, 42px);
}

.texture-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.texture-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
}

.texture-category-grid span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: #fbfbfa;
  border: 1px solid var(--line);
  color: var(--deep);
  font-weight: 800;
}

.textures-page .inner-hero {
  padding-bottom: clamp(70px, 9vw, 108px);
}

.texture-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
}

.textures-page .texture-hero h1 {
  max-width: 760px;
}

.texture-hero-lead {
  margin-bottom: 16px !important;
  color: var(--deep) !important;
  font-size: clamp(20px, 2.2vw, 27px) !important;
  font-weight: 800;
  line-height: 1.28;
}

.texture-hero-copy {
  max-width: 760px;
  margin-bottom: 28px !important;
}

.texture-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
  margin-bottom: 28px;
}

.texture-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid #cbd9e0;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.texture-hero-actions {
  margin-bottom: 0;
}

.texture-hero-visual {
  min-height: 410px;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #cbd9e0;
  box-shadow: 0 24px 56px rgba(33, 58, 77, 0.12);
}

.texture-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texture-intro-grid,
.texture-sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.texture-intro-grid h2,
.texture-sample-copy h2 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.06;
}

.texture-intro-grid > div > p:not(.section-code),
.texture-sample-copy > p:not(.section-code) {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
}

.texture-category-panel {
  padding: clamp(26px, 4vw, 38px);
  background: #f3f8fb;
  border: 1px solid #cbd9e0;
  border-top: 4px solid var(--stage2-dark);
}

.texture-category-panel > span {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-category-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: #cbd9e0;
}

.texture-category-panel li {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 14px;
  color: var(--deep);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.texture-gallery-section {
  background: #f5f8fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.texture-gallery-card {
  display: grid;
  grid-template-rows: 238px 1fr;
  overflow: hidden;
  min-height: 376px;
  background: var(--white);
  border: 1px solid var(--line);
}

.texture-gallery-card > button,
.texture-sample-image {
  margin: 0;
  background: #f7f8f7;
}

.texture-gallery-card > button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: zoom-in;
}

.texture-gallery-card img,
.texture-sample-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.texture-gallery-card > div {
  padding: 24px;
}

.texture-gallery-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.14;
}

.texture-gallery-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.texture-feature-section {
  padding-top: 0;
}

.texture-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #cbd9e0;
  border: 1px solid #cbd9e0;
}

.texture-feature-grid article {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 26px;
  background: #f4f9fb;
}

.texture-feature-grid strong {
  color: var(--deep);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
}

.texture-feature-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.texture-sample-section {
  background: var(--white);
}

.texture-sample-panel {
  max-width: 850px;
  padding: clamp(30px, 5vw, 56px);
  background: #f3f8fb;
  border: 1px solid #cbd9e0;
  border-top: 4px solid var(--stage2-dark);
}

.texture-sample-panel h2 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.06;
}

.texture-sample-panel > p:not(.section-code) {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
}

.texture-sample-layout {
  align-items: center;
}

.texture-sample-image {
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.texture-sample-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.texture-sample-points span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  color: var(--deep);
  background: #f4f8fa;
  border: 1px solid #cedbe2;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.development-process-grid {
  margin-top: 30px;
}

.development-how-copy {
  max-width: 800px;
}

.development-how-copy > p:not(.section-code),
.development-send-copy > p:not(.section-code) {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.development-send-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.development-send-copy .texture-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.development-process-media {
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  background: #edf2f4;
  border: 1px solid var(--line);
}

.development-process-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.development-send-media {
  min-height: 100%;
  aspect-ratio: 1 / 1;
}

.workshop-capability-section {
  background: #f5f8fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.workshop-capability-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.workshop-capability-card figure {
  margin: 0;
  background: #edf2f4;
  border-bottom: 1px solid var(--line);
}

.workshop-capability-card img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.88) contrast(1.04);
}

.workshop-capability-card > div {
  display: grid;
  gap: 7px;
  padding: 20px;
}

.workshop-capability-card strong {
  color: var(--deep);
  font-size: 16px;
}

.workshop-capability-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.workshop-intro-section {
  background: #f5f8fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.workshop-showcase-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.workshop-showcase-card figure {
  height: 250px;
  margin: 0;
  background: #edf2f4;
  border-bottom: 1px solid var(--line);
}

.workshop-showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workshop-showcase-card > div {
  min-height: 204px;
  padding: 24px;
}

.workshop-showcase-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.workshop-showcase-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.14;
}

.workshop-showcase-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.textures-page [data-reveal] {
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.textures-page [data-reveal].is-visible {
  transform: translateY(0);
}

.texture-project-cta .section-code {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.64);
}

.texture-lightbox {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 80px);
  background: rgba(10, 16, 20, 0.9);
}

.texture-lightbox[hidden] {
  display: none;
}

body.lightbox-open {
  overflow: hidden;
}

.texture-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: var(--white);
}

.texture-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.reserved-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.reserved-links span,
.reserved-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--deep);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stage2-footer {
  grid-template-columns: minmax(280px, 0.92fr) minmax(420px, 1.08fr);
  align-items: start;
  gap: 34px;
}

.stage2-footer .footer-company {
  display: grid;
  gap: 4px;
}

.stage2-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 18px;
  justify-content: start;
}

.stage2-footer p {
  grid-column: 1 / -1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease, transform 680ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .solution-card-grid,
  .systems-static-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

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

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

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

@media (max-width: 980px) {
  .stage2-header {
    grid-template-columns: auto auto auto;
    gap: 10px;
    padding: 10px 18px;
  }

  .stage2-header .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .stage2-header nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 22px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(17, 23, 27, 0.12);
  }

  body.nav-open .stage2-header nav {
    display: grid;
    gap: 2px;
  }

  .stage2-header nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .mobile-only-nav {
    display: flex;
  }

  .section-heading,
  .about-layout,
  .page-split,
  .development-send-layout,
  .texture-layout,
  .texture-hero-layout,
  .texture-intro-grid,
  .texture-sample-layout,
  .stage2-footer {
    grid-template-columns: 1fr;
  }

  .section-heading .section-code {
    margin-bottom: 0;
  }

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

  .mould-carousel-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 768px) {
  .stage2-header {
    min-height: 76px;
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .stage2-brand {
    min-width: 0;
    gap: 10px;
  }

  .stage2-brand img {
    width: 50px;
    height: 50px;
  }

  .stage2-brand span {
    max-width: 140px;
    font-size: 13px;
  }

  .stage2-header nav {
    top: 76px;
  }

  .header-contact {
    min-height: 40px;
    padding: 0 12px;
  }

  .header-contact .desktop-label {
    display: none;
  }

  .header-contact .mobile-label {
    display: inline;
  }

  .home-hero.refined-hero {
    min-height: 660px;
  }

  .home-section,
  .page-section {
    padding-top: var(--section-space-mobile);
    padding-bottom: var(--section-space-mobile);
  }

  .solution-card-grid,
  .systems-static-grid,
  .mould-gallery,
  .systems-preview-grid,
  .process-four-grid,
  .process-seven-grid,
  .timeline-grid,
  .two-fields,
  .form-footer,
  .texture-visual,
  .texture-category-grid,
  .texture-gallery,
  .texture-feature-grid,
  .stage2-footer .footer-links {
    grid-template-columns: 1fr;
  }

  .texture-category-panel ul {
    grid-template-columns: 1fr;
  }

  .texture-gallery-card {
    grid-template-rows: 236px auto;
    min-height: 0;
  }

  .workshop-showcase-grid {
    grid-template-columns: 1fr;
  }

  .workshop-capability-grid {
    grid-template-columns: 1fr;
  }

  .workshop-showcase-card figure {
    height: 238px;
  }

  .texture-hero-visual {
    min-height: 280px;
  }

  .texture-sample-image {
    min-height: 280px;
  }

  .solution-card img,
  .system-card img {
    height: 238px;
  }

  .solution-card-body,
  .system-card-body {
    min-height: auto;
  }

  .mould-card {
    grid-template-rows: 250px auto;
    min-height: 0;
  }

  .mould-carousel-track {
    grid-auto-columns: 100%;
  }

  .carousel-controls {
    justify-content: flex-start;
  }

  .custom-file-control {
    grid-template-columns: 1fr;
  }

  .inner-hero {
    padding-top: 96px;
  }
}

@media (max-width: 390px) {
  .stage2-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .stage2-brand span {
    max-width: 116px;
    font-size: 12px;
  }

  .menu-toggle {
    padding: 0 8px;
  }

  .header-contact {
    padding: 0 10px;
  }
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-file-note small {
  display: block;
  max-width: 38rem;
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
