/* ==========================================================================
   Meng Tai Eyewear Co., Ltd.
   Brand colours:  PANTONE 3435 C  #154734  (ground)
                   PANTONE 7506 C  #EFDBB2  (logo / type on the ground)
   Rule: cream type on the green ground, green type on white or cream.
   ========================================================================== */

:root {
  --green:       #154734;  /* PANTONE 3435 C */
  --cream:       #EFDBB2;  /* PANTONE 7506 C */

  --green-deep:  #0e3325;
  --green-soft:  #3a5b4d;
  --cream-soft:  #F7EEDC;
  --cream-wash:  #FBF6EC;
  --cream-line:  #E6DAC3;

  --ink:         #154734;
  --ink-2:       #33463d;
  --ink-soft:    #5c6f66;

  --paper:       #ffffff;
  --paper-2:     var(--cream-wash);
  --paper-3:     var(--cream-soft);
  --line:        var(--cream-line);

  --wrap: 1180px;
  --gutter: 24px;
  --radius: 4px;

  --shadow-md: 0 12px 32px -12px rgba(21, 71, 52, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
figure { margin: 0; }
a { color: var(--green); }

h1, h2, h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.021em;
  line-height: 1.14;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.35rem, 5.6vw, 4.05rem); font-weight: 700; letter-spacing: -0.032em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.012em; }

p { margin: 0 0 1.1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--cream); color: var(--green); padding: 12px 20px;
}
.skip:focus { left: 0; }

.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green-soft); margin: 0 0 1em;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 71, 52, .95);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(239, 219, 178, .16);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong { font-size: .98rem; font-weight: 700; letter-spacing: .13em; color: var(--cream); }
.brand-text em {
  font-style: normal; font-size: .69rem; letter-spacing: .09em;
  text-transform: uppercase; color: rgba(239, 219, 178, .62);
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  text-decoration: none; color: rgba(255, 255, 255, .86);
  font-size: .88rem; font-weight: 500; padding: 6px 0; position: relative;
}
.nav a:hover { color: var(--cream); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--cream); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-cta {
  background: var(--cream); color: var(--green); padding: 9px 20px;
  border-radius: var(--radius); font-weight: 600; transition: background .2s var(--ease);
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: #fff; color: var(--green); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none;
  cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--cream); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative; background: var(--green); color: #fff; overflow: hidden;
  border-bottom: 5px solid var(--cream);           /* echoes the business card */
}
.hero-media { position: absolute; inset: 0; background: var(--green-deep); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .80; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(14, 51, 37, .86) 0%, rgba(21, 71, 52, .65) 46%, rgba(21, 71, 52, .18) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding-block: clamp(96px, 15vw, 172px); max-width: 900px;
}
.hero h1 { color: #fff; margin-bottom: .48em; }
.hero .eyebrow { color: var(--cream); }
.hero .lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: rgba(255, 255, 255, .84); max-width: 56ch; margin-bottom: 2.2em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-size: .93rem; font-weight: 600;
  padding: 14px 30px; border-radius: var(--radius); border: 1.5px solid transparent;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--cream); border-color: var(--green); }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); }
.hero .btn-primary, .section-dark .btn-primary {
  background: var(--cream); color: var(--green); border-color: var(--cream);
}
.hero .btn-primary:hover, .section-dark .btn-primary:hover { background: #fff; border-color: #fff; }
.btn-ghost { color: var(--cream); border-color: rgba(239, 219, 178, .4); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(239, 219, 178, .1); }
.btn-block { width: 100%; }

/* ---------- Figures ---------- */

.figures { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.figures-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 52px; gap: 24px;
}
.figure { text-align: center; }
.figure-num {
  display: block; font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700;
  color: var(--green); letter-spacing: -0.03em; line-height: 1.05;
}
.figure-num small { font-size: .5em; font-weight: 600; margin-left: 1px; }
.figure-label {
  display: block; font-size: .8rem; color: var(--ink-soft);
  letter-spacing: .035em; margin-top: 8px;
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(68px, 9vw, 116px); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--green); color: rgba(255, 255, 255, .8); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--cream); }
.section-dark .section-sub { color: rgba(255, 255, 255, .72); }

.section-head { max-width: 64ch; margin-bottom: clamp(40px, 5.5vw, 64px); }
.section-sub { font-size: 1.03rem; color: var(--ink-soft); margin-bottom: 0; }

.two-col {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(36px, 6vw, 80px); align-items: start;
}
.two-col-tight { grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px); }

.ticks { list-style: none; padding: 0; margin: 1.4em 0 0; }
.ticks li {
  position: relative; padding-left: 28px; margin-bottom: 10px;
  color: var(--ink-2); font-size: .96rem;
}
.ticks li::before {
  content: ''; position: absolute; left: 4px; top: .6em;
  width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--green);
}
.section-dark .ticks li { color: rgba(255,255,255,.82); }
.section-dark .ticks li::before { border-color: var(--cream); }

/* ---------- Photos ---------- */

.shot { border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-tall { aspect-ratio: 4 / 5; }
.stack { display: grid; gap: 16px; }

/* ---------- Pills + services ---------- */

.pills {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px;
  padding: 0; margin: 0 0 clamp(40px, 5vw, 60px);
}
.pills li {
  border: 1px solid var(--line); background: var(--paper);
  border-radius: 100px; padding: 9px 20px;
  font-size: .9rem; font-weight: 500; color: var(--ink);
}

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 2.6vw, 32px);
}
.service h3 { margin-bottom: .5em; }
.service p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* ---------- Capability cards ---------- */

.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.card { background: var(--paper); display: flex; flex-direction: column; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: clamp(22px, 2vw, 28px); flex: 1; }
.card-idx {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  color: var(--green-soft); margin-bottom: 14px;
}
.card h3 { margin-bottom: .55em; }
.card p { font-size: .91rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Frame production flow ---------- */

.flow {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.flow-step { position: relative; }
.flow-media {
  aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  background: var(--green-deep); margin-bottom: 18px;
}
.flow-media img { width: 100%; height: 100%; object-fit: cover; }
.flow-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--cream); color: var(--cream);
  font-size: .76rem; font-weight: 700; margin-bottom: 10px;
}
.flow-step h3 { font-size: 1.02rem; margin-bottom: .35em; }
.flow-step p { font-size: .87rem; color: rgba(255,255,255,.7); margin: 0; }

/* ---------- Materials ---------- */

.mat-table { border-top: 1px solid var(--line); }
.mat-row {
  display: grid; grid-template-columns: 220px 1fr 1.5fr;
  gap: 28px; padding: 22px 4px;
  border-bottom: 1px solid var(--line); font-size: .94rem; align-items: start;
}
.mat-head {
  font-size: .72rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-soft); padding-block: 14px;
}
.mat-name {
  display: flex; flex-direction: column;
  font-weight: 600; color: var(--green); font-size: 1.04rem;
}
.mat-name em {
  font-style: normal; font-size: .77rem; font-weight: 400;
  color: var(--ink-soft); margin-top: 3px;
}
.mat-row span:not(.mat-name) { color: var(--ink-soft); }

.callout {
  margin-top: 36px; border-left: 3px solid var(--green);
  padding: 2px 0 2px 26px; max-width: 72ch;
}
.callout h3 { margin-bottom: .4em; }
.callout p { font-size: .96rem; color: var(--ink-soft); margin: 0; }
.callout strong { color: var(--green); }

.fineprint {
  margin-top: 30px; font-size: .88rem; color: var(--ink-soft); max-width: 72ch;
}

.spec { margin-bottom: 36px; }
.spec h3 {
  font-size: .74rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-soft);
  padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}

/* ---------- Quality lab ---------- */

.std-row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: clamp(36px, 4.5vw, 52px);
}
.std {
  border: 1px solid rgba(239, 219, 178, .38); border-radius: 100px;
  padding: 8px 20px; font-size: .84rem; font-weight: 600;
  letter-spacing: .04em; color: var(--cream);
}

.lab { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.lab-hero { border-radius: var(--radius); overflow: hidden; background: var(--green-deep); }
.lab-hero img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.lab-hero figcaption {
  padding: 18px 20px; font-size: .86rem; line-height: 1.55;
  color: rgba(255, 255, 255, .74);
  background: rgba(255, 255, 255, .05);
}

.lab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(239,219,178,.18); }
.test { background: var(--green); padding-bottom: 20px; }
.test figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--green-deep); margin-bottom: 16px; }
.test figure img { width: 100%; height: 100%; object-fit: cover; }
.test h3 { font-size: .97rem; margin: 0 18px .4em; color: var(--cream); }
.test p { font-size: .84rem; line-height: 1.55; color: rgba(255,255,255,.7); margin: 0 18px; }

/* ---------- Certifications ---------- */

.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; background: var(--paper-2);
}
.cert-label {
  display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px;
}
.cert { display: flex; flex-direction: column; position: relative; }

.head-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 40px; margin-bottom: clamp(40px, 5.5vw, 64px);
}
.head-row .section-head { margin-bottom: 0; }
.head-badge { width: clamp(96px, 10vw, 132px); height: auto; flex: none; }
.cert strong { display: block; font-size: 1.14rem; color: var(--green); letter-spacing: -0.01em; }
.cert-note { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: 6px; }
.cert-status {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: auto; padding-top: 16px;
  font-size: .8rem; font-weight: 500; color: var(--ink-soft);
}
.cert-status::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--green); box-shadow: 0 0 0 3px rgba(21, 71, 52, .13);
}
.cert-status.is-scheduled::before { background: #b98a3f; box-shadow: 0 0 0 3px rgba(185, 138, 63, .18); }
.cert-status.is-planned::before   { background: none; border: 1.5px solid var(--ink-soft); box-shadow: none; }

/* ---------- Development tracks ---------- */

.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 40px); }
.track { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.track-head {
  padding: 26px 28px 22px; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.track-head h3 { margin: 0; font-size: 1.15rem; }
.track-total {
  font-size: 1.5rem; font-weight: 700; color: var(--green); letter-spacing: -0.02em;
}
.track-total small { font-size: .56em; font-weight: 500; color: var(--ink-soft); margin-left: 8px; letter-spacing: 0; }
.track-steps { list-style: none; margin: 0; padding: 8px 28px 24px; counter-reset: ts; }
.track-steps li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: .93rem;
}
.track-steps li:last-child { border-bottom: 0; }
.ts-name { color: var(--ink-2); }
.ts-time { color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .88rem; }

/* ---------- Reasons ---------- */

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.reason { background: var(--paper); padding: clamp(26px, 2.6vw, 34px); }
.reason-num {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  color: var(--green-soft); margin-bottom: 16px;
}
.reason p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Sustainability ---------- */

.sust { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 32px);
  margin-bottom: clamp(44px, 5vw, 64px); }
.sust-item { border-top: 2px solid var(--cream); padding-top: 20px; }
.sust-item h3 { font-size: 1.02rem; margin-bottom: .45em; }
.sust-item p { font-size: .89rem; color: rgba(255,255,255,.72); margin: 0; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .shot { aspect-ratio: 4 / 3; background: var(--green-deep); }

/* ---------- Contact ---------- */

.contact-list { margin: 2em 0 0; }
.contact-list > div {
  display: grid; grid-template-columns: 140px 1fr; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.contact-list dt {
  font-size: .74rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); padding-top: 3px;
}
.contact-list dd { margin: 0; color: var(--ink); font-size: .97rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.contact-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(26px, 3vw, 38px);
}
.contact-card h3 { margin-bottom: .35em; font-size: 1.2rem; }
.contact-card-sub { font-size: .91rem; color: var(--ink-soft); margin-bottom: 1.8em; }

.form label { display: block; margin-bottom: 18px; }
.form label > span {
  display: block; font-size: .78rem; font-weight: 600; letter-spacing: .05em;
  color: var(--ink-2); margin-bottom: 7px;
}
.form input, .form textarea {
  width: 100%; font: inherit; font-size: .94rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 11px 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(21, 71, 52, .12);
}
.form textarea { resize: vertical; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green); color: rgba(255, 255, 255, .72);
  padding-block: 48px; font-size: .88rem;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  justify-content: space-between; gap: 28px;
}
.footer-brand { display: flex; flex-direction: column; gap: 5px; max-width: 58ch; }
.footer-brand strong { font-size: .84rem; letter-spacing: .11em; color: var(--cream); }
.footer-brand span { color: rgba(255, 255, 255, .66); font-size: .82rem; }
.footer-brand a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer-brand a:hover { color: var(--cream); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { color: rgba(255, 255, 255, .76); text-decoration: none; font-size: .85rem; }
.footer-nav a:hover { color: var(--cream); }
.copyright {
  width: 100%; margin: 0; font-size: .78rem; color: rgba(239, 219, 178, .45);
  padding-top: 12px; border-top: 1px solid rgba(239, 219, 178, .14);
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.card.reveal.in:nth-child(2), .test.reveal.in:nth-child(2),
.flow-step.reveal.in:nth-child(2), .reason.reveal.in:nth-child(2) { transition-delay: .05s; }
.card.reveal.in:nth-child(3), .test.reveal.in:nth-child(3),
.flow-step.reveal.in:nth-child(3), .reason.reveal.in:nth-child(3) { transition-delay: .1s; }
.card.reveal.in:nth-child(4), .test.reveal.in:nth-child(4),
.flow-step.reveal.in:nth-child(4) { transition-delay: .15s; }
.flow-step.reveal.in:nth-child(5) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover .card-media img { transform: none; }
  * { animation: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .lab { grid-template-columns: 280px 1fr; }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .sust { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .figures-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .services { grid-template-columns: 1fr; }
}

@media (max-width: 840px) {
  body { font-size: 16px; }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--green); border-bottom: 1px solid rgba(239, 219, 178, .16);
    padding: 8px var(--gutter) 20px; display: none; box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(239, 219, 178, .14); }
  .nav a::after { display: none; }
  .nav .nav-cta { text-align: center; margin-top: 14px; border-bottom: 0; }
  .nav-toggle { display: flex; }

  .head-row { flex-direction: column-reverse; align-items: flex-start; gap: 28px; }

  .two-col, .two-col-tight { grid-template-columns: 1fr; }
  .col-media { order: -1; }
  #contact .col-media, #lenses .col-media { order: 0; }
  .shot-tall { aspect-ratio: 16 / 10; }

  .cards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .lab { grid-template-columns: 1fr; }
  .lab-hero img { aspect-ratio: 4 / 3; }
  .tracks { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }

  .mat-row { grid-template-columns: 1fr; gap: 6px; padding: 20px 4px; }
  .mat-head { display: none; }
  .mat-name { margin-bottom: 4px; }

  .contact-list > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 520px) {
  :root { --gutter: 18px; }
  .figures-grid { grid-template-columns: 1fr 1fr; padding-block: 38px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .flow { grid-template-columns: 1fr; }
  .lab-grid { grid-template-columns: 1fr; }
  .certs, .sust { grid-template-columns: 1fr; }
  .track-head, .track-steps { padding-inline: 20px; }
}

/* Photo display: lift dark tones while keeping brand artwork unchanged. */
main img:not(.brand-mark):not(.head-badge) {
  filter: brightness(1.16) contrast(.90);
}
main img[src$="tooling-updated.png"],
main img[src$="coinject-machine-updated.png"],
main img[src$="coinject-detail-updated.png"] {
  filter: brightness(1.04) contrast(.96);
}
.hero-media img { filter: brightness(1.08) contrast(.96); }
