/* =============================================
   Mas Innovation — Design System & Site Styles
   ============================================= */

/* --- Self-hosted Inter Variable Font (Weights 100-900) --- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/InterVariable.woff2") format("woff2-variations");
}

/* --- Design Tokens --- */
:root {
  /* Colors */
  --ivory: #f7f3ea;
  --paper: #fffdf8;
  --sand: #d8c5a2;
  --sand-deep: #aa8958;
  --charcoal: #252722;
  --ink: #34362f;
  --muted: #6e7168;
  --line: rgba(37, 39, 34, .14);
  --error: #b5342b;
  --error-bg: #fef2f1;
  --success: #2e7d32;
  --success-bg: #f0faf0;

  /* Layout */
  --header-height: 5.25rem;
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --shadow: 0 20px 60px rgba(55, 47, 34, .08);
  --container: min(88rem, calc(100vw - 3rem));

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
}

/* --- Reset & Base --- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ink);
  background: var(--ivory);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; width: 100%; height: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
:focus-visible {
  outline: 3px solid var(--sand-deep);
  outline-offset: 4px;
}

/* --- Utility --- */
.container { width: var(--container); margin-inline: auto; }
.section { position: relative; padding-block: clamp(4rem, 8vw, 8rem); }
.sr-only, .visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* --- Skip Link --- */
.skip-link {
  position: fixed; z-index: 1000; top: .75rem; left: .75rem; padding: .75rem 1rem;
  color: var(--paper); background: var(--charcoal); border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: .875rem;
  transform: translateY(-150%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* --- Typography --- */
.eyebrow {
  margin: 0 0 var(--space-md);
  color: var(--sand-deep);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin-top: 0;
  color: var(--charcoal);
  font-weight: 580;
  letter-spacing: -.035em;
}
h1 {
  max-width: 15ch;
  margin-bottom: var(--space-lg);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.08;
}
h2 {
  max-width: 18ch;
  margin-bottom: var(--space-lg);
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.1;
}
h3 {
  margin-bottom: var(--space-sm);
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.15;
}
p { margin-top: 0; }

.body-large,
.section-heading > p:last-child,
.section-copy > p:last-child {
  max-width: 38em;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}

/* --- Header / Navbar --- */
.site-header {
  position: fixed; z-index: 100; top: 0; width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(247, 243, 234, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.brand { display: inline-flex; flex: none; align-items: center; }
.brand img { width: clamp(13rem, 15vw, 17.5rem); height: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.primary-nav ul {
  display: flex;
  gap: clamp(.75rem, 1.6vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-nav a {
  position: relative;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
.primary-nav ul a::after {
  position: absolute; right: 0; bottom: -.4rem; left: 0;
  height: 2px;
  background: var(--sand-deep);
  content: "";
  transform: scaleX(0);
  transition: transform .2s ease;
}
.primary-nav ul a:hover::after,
.primary-nav ul a.is-active::after {
  transform: scaleX(1);
}
.primary-nav ul a.is-active {
  color: var(--sand-deep);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.language-switch {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .4rem .6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
}
.language-switch a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.language-switch a[aria-current="page"] {
  color: var(--charcoal);
  text-decoration: underline;
  text-underline-offset: .2rem;
}
.language-switch span { color: var(--line); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .55rem 1rem;
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  color: var(--paper);
  background: var(--charcoal);
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.nav-cta:hover { color: var(--charcoal); background: transparent; }

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: .7rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: .35rem 0;
  background: currentColor;
  transition: transform .2s ease;
}

/* --- Buttons --- */
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.button {
  display: inline-flex;
  min-height: 2.875rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: var(--paper);
  background: var(--charcoal);
  border-color: var(--charcoal);
}
.button-primary:hover { background: #090a08; }
.button-secondary {
  color: var(--charcoal);
  background: transparent;
  border-color: var(--charcoal);
}
.button-secondary:hover {
  color: var(--paper);
  background: var(--charcoal);
}
.button-light {
  color: var(--charcoal);
  background: var(--paper);
  border-color: var(--paper);
}
.button-light:hover {
  background: var(--ivory);
}

/* --- Hero --- */
.hero {
  display: grid;
  min-height: min(56rem, 90svh);
  padding-top: calc(var(--header-height) + 3rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
  align-items: center;
  gap: var(--space-2xl);
}
.hero-copy { position: relative; z-index: 2; }
.hero-lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
}
.hero-art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-art img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* --- Split Section (About, Trade) --- */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.media-panel {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #e9dfcd;
  box-shadow: var(--shadow);
}
.media-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered h2 { margin-inline: auto; }

/* --- Products --- */
.products-section { background: var(--paper); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--ivory);
  transition: box-shadow .3s ease;
}
.product-card:hover {
  box-shadow: var(--shadow);
}
.product-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e8decc;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.product-card:hover .product-image img { transform: scale(1.025); }
.product-copy { padding: clamp(1.25rem, 2.5vw, 2rem); }
.product-copy p { margin-bottom: 0; color: var(--muted); }
.product-specs {
  display: grid;
  gap: .4rem;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
}
.product-specs li {
  display: flex;
  gap: .5rem;
  font-size: .85rem;
  color: var(--muted);
}
.product-specs li strong {
  color: var(--ink);
  font-weight: 600;
  flex: none;
  min-width: 7.5rem;
}
.product-cta {
  margin-top: var(--space-lg);
}
.product-cta .button {
  font-size: .84rem;
  padding: .6rem 1.25rem;
  min-height: 2.75rem;
}

/* --- Why Mas (Dark Section) — High Contrast WCAG AAA --- */
.dark-section {
  color: rgba(255, 255, 255, .88);
  background: var(--charcoal);
}
.dark-section h2,
.dark-section h3 { color: var(--paper); }
.dark-section .eyebrow { color: var(--sand); }
.dark-section .section-heading > p:last-child,
.dark-section .feature-card p,
.dark-section p {
  color: rgba(255, 255, 255, 0.85);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.feature-card {
  min-height: 16rem;
  padding: 1.75rem 1.25rem 1rem 0;
  border-right: 1px solid rgba(255, 255, 255, .16);
}
.feature-card + .feature-card { padding-left: 1.25rem; }
.feature-card:last-child { border-right: 0; }
.feature-number {
  display: block;
  margin-bottom: 4rem;
  color: var(--sand);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
}
.feature-card p { margin-bottom: 0; }

/* --- Trade --- */
.trade-section .section-copy { order: 1; }
.trade-section .media-panel { order: 2; }

/* --- Quality --- */
.quality-section { background: #ece4d5; }
.quality-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
}
.quality-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.quality-visual img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.stacked-features { display: grid; gap: 0; }
.stacked-feature {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--space-md);
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}
.stacked-feature > span {
  color: var(--sand-deep);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.stacked-feature p { margin: 0; color: var(--muted); }

/* --- Process --- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-item {
  position: relative;
  padding: 2rem 1.5rem;
  border: 1px solid var(--line);
  border-right: 0;
}
.process-item:last-child { border-right: 1px solid var(--line); }
.process-item > span {
  display: block;
  margin-bottom: 3rem;
  color: var(--sand-deep);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.process-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.process-output {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 600;
  color: var(--sand-deep);
}

/* --- CTA Banner --- */
.cta-section { padding-block: 0; }
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, .95);
  background: #7a6340;
}
.cta-panel h2 { color: var(--paper); margin-bottom: var(--space-sm); }
.cta-panel p { max-width: 38em; margin: 0; color: rgba(255, 255, 255, .9); }
.cta-panel .button { flex: none; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2.5rem, 7vw, 8rem);
}
.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  align-self: start;
}
.contact-details {
  display: grid;
  gap: .5rem;
  margin-top: var(--space-xl);
  font-style: normal;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: .92rem;
}
.contact-detail-item .detail-label {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  min-width: 5rem;
}
.contact-details a {
  width: fit-content;
  text-underline-offset: .3rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}
.field {
  display: grid;
  align-content: start;
  gap: .4rem;
}
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: .6rem;
  padding: .8rem .9rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e7168' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.5rem;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--sand-deep);
  box-shadow: 0 0 0 3px rgba(170, 137, 88, .13);
  outline: 0;
}
.field [aria-invalid="true"] {
  border-color: var(--error);
}
.field-error {
  min-height: 1.2rem;
  color: var(--error);
  font-size: .78rem;
}
.contact-form .button { justify-self: start; }
.contact-form .button:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}
.form-status {
  grid-column: 1 / -1;
  min-height: 1.5rem;
  margin: 0;
  font-weight: 600;
  font-size: .9rem;
}
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }
.form-legal {
  grid-column: 1 / -1;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
}
.form-legal a {
  color: var(--sand-deep);
  font-weight: 600;
  text-underline-offset: .2rem;
}

/* --- Footer --- */
.site-footer {
  padding-block: clamp(2.5rem, 5vw, 4rem) var(--space-xl);
  border-top: 1px solid var(--line);
  background: var(--charcoal);
  color: rgba(255, 255, 255, .7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr .8fr;
  gap: var(--space-2xl);
}
.footer-brand img { width: clamp(12rem, 14vw, 16rem); height: auto; }
.footer-description {
  margin-top: var(--space-md);
  font-size: .85rem;
  line-height: 1.55;
  max-width: 22rem;
  color: rgba(255, 255, 255, .65);
}
.footer-group h4 {
  margin: 0 0 var(--space-md);
  color: var(--paper);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .4rem;
}
.footer-group a {
  font-size: .85rem;
  text-decoration: none;
  color: rgba(255, 255, 255, .7);
  transition: color .2s ease;
}
.footer-group a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: .25rem;
}
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .85rem;
}
.footer-contact-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.footer-bottom p {
  margin: 0;
  font-size: .8rem;
  color: rgba(255, 255, 255, .6);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.footer-bottom-links a {
  font-size: .8rem;
  text-decoration: none;
  color: rgba(255, 255, 255, .65);
}
.footer-bottom-links a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: .2rem;
}
.back-to-top {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  text-decoration: none;
  color: rgba(255, 255, 255, .7);
  transition: border-color .2s ease, color .2s ease;
}
.back-to-top:hover {
  border-color: var(--paper);
  color: var(--paper);
}

/* --- Legal Pages --- */
.legal-body {
  background: var(--ivory);
}
.legal-main {
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: var(--space-3xl);
  min-height: 80vh;
}
.legal-container {
  max-width: 52rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: var(--space-xl);
}
.breadcrumb a {
  text-decoration: none;
  color: var(--sand-deep);
  font-weight: 600;
}
.breadcrumb a:hover { text-decoration: underline; }
.legal-content h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: var(--space-xs);
  max-width: none;
}
.legal-date {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--line);
}
.legal-body-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
}
.legal-body-text h2 {
  font-size: 1.35rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-sm);
  color: var(--charcoal);
  letter-spacing: -.02em;
}
.legal-body-text p {
  margin-bottom: var(--space-md);
}
.legal-body-text ul {
  padding-left: 1.25rem;
  margin-bottom: var(--space-md);
}
.legal-body-text li {
  margin-bottom: .4rem;
}
.legal-back {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--line);
}

/* --- 404 --- */
.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding-block: 4rem;
}
.error-page h1 {
  margin-top: 5rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

/* --- Reveal Animation --- */
.js .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1180px) {
  :root { --container: min(100% - 2.5rem, 72rem); }

  .menu-toggle { display: block; position: relative; z-index: 102; }
  .menu-toggle[aria-expanded="true"] > span:not(.sr-only):nth-last-child(2) { transform: translateY(.175rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:last-child { transform: translateY(-.175rem) rotate(-45deg); }

  .primary-nav {
    position: fixed; z-index: 101; inset: 0;
    display: grid; align-content: center; justify-items: center;
    gap: 2rem; padding-block: calc(var(--header-height) + 2rem);
    overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; background: var(--ivory);
    transition: visibility .25s, opacity .25s;
  }
  .primary-nav.is-open { visibility: visible; opacity: 1; }
  .primary-nav ul { display: grid; gap: 1rem; text-align: center; }
  .primary-nav ul a { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 560; letter-spacing: -.035em; }
  .primary-nav ul a::after { display: none; }
  .nav-actions { gap: .8rem; }

  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .feature-grid, .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-card:nth-child(2) { border-right: 0; }
  .feature-card:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
  .process-item:nth-child(2) { border-right: 1px solid var(--line); }
  .process-item:nth-child(n+3) { border-top: 0; }
}

@media (max-width: 767px) {
  :root {
    --container: min(100% - 2rem, 42rem);
    --header-height: 4rem;
  }
  .section { padding-block: clamp(3.5rem, 8vw, 5rem); }

  .hero { min-height: auto; padding-top: calc(var(--header-height) + 3rem); }
  .hero-grid,
  .split-grid,
  .quality-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-art {
    width: min(100%, 28rem);
    margin-inline: auto;
    margin-top: var(--space-xl);
  }
  .hero-copy { order: 1; }
  .hero-art { order: 2; }
  .button-row { flex-direction: row; }

  .split-grid { gap: var(--space-2xl); }
  .trade-section .section-copy { order: 1; }
  .trade-section .media-panel { order: 2; }

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

  .feature-card { min-height: 14rem; }
  .feature-number { margin-bottom: 2.5rem; }

  .quality-visual { order: 2; }

  .cta-panel { align-items: flex-start; flex-direction: column; }
  .contact-copy { position: static; }

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

@media (max-width: 520px) {
  :root { --container: calc(100% - 1.5rem); }

  .primary-nav { align-content: start; gap: 1.25rem; }
  .primary-nav ul { gap: .6rem; }
  .primary-nav ul a { font-size: clamp(1.3rem, 6vw, 1.75rem); }

  .button-row { flex-direction: column; align-items: stretch; }
  .button-row .button { width: 100%; }

  .feature-grid,
  .process-list,
  .contact-form { grid-template-columns: 1fr; }

  .feature-card,
  .feature-card + .feature-card {
    min-height: auto;
    padding: 1.5rem 0;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }
  .process-item,
  .process-item:nth-child(2),
  .process-item:last-child { border: 1px solid var(--line); border-bottom: 0; }
  .process-item:last-child { border-bottom: 1px solid var(--line); }

  .field-full { grid-column: auto; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-md); align-items: flex-start; }
  .footer-bottom-links { flex-wrap: wrap; gap: var(--space-sm) var(--space-md); }
  .back-to-top { position: absolute; right: 0; top: var(--space-xl); }
}

@media (min-width: 1600px) {
  :root { --container: min(94rem, calc(100vw - 8rem)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
