/* ==========================================================================
   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: .88; }
/* The photo stays bright and open; a scrim sits only under the text column so the
   copy keeps its contrast without putting a mask over the whole shop floor. */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 40, 29, .42) 0%, rgba(10, 40, 29, 0) 26%,
                            rgba(10, 40, 29, 0) 74%, rgba(10, 40, 29, .38) 100%),
    linear-gradient(100deg, rgba(8, 34, 24, .90) 0%, rgba(10, 40, 29, .72) 34%,
                            rgba(14, 51, 37, .22) 62%, rgba(14, 51, 37, .06) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding-block: clamp(96px, 15vw, 172px); max-width: 900px;
}
/* A soft shadow buys back local contrast over the busy shop floor without
   putting a dark mask across the photograph. */
.hero h1 { color: #fff; margin-bottom: .48em; text-shadow: 0 2px 22px rgba(6, 28, 20, .55); }
.hero .eyebrow { color: var(--cream); text-shadow: 0 1px 10px rgba(6, 28, 20, .65); }
.hero .lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: #fff; max-width: 54ch; margin-bottom: 2.2em;
  text-shadow: 0 1px 14px rgba(6, 28, 20, .75), 0 1px 3px rgba(6, 28, 20, .5);
}
.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%; }

/* ---------- About + key figures ----------
   One positioning line, the factory, and six numbers a buyer can read in a
   glance. The old stand-alone figures strip was folded in here so the same
   numbers are not stated twice on the way down the page. */

.about-top {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.about-text h2 { margin-bottom: .5em; }
.about-text .lead-p { margin-bottom: 1.8em; max-width: 42ch; }
.about-media { border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat { background: var(--paper); padding: clamp(24px, 2.6vw, 34px); }
.stat-num {
  display: block; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700;
  color: var(--green); letter-spacing: -0.035em; line-height: 1.02;
}
.stat-num small { font-size: .42em; font-weight: 600; margin-left: 3px; letter-spacing: 0; }
.stat-label {
  display: block; font-size: .88rem; color: var(--ink-2);
  margin-top: 12px; line-height: 1.45;
}
.stat-label em {
  display: block; font-style: normal; font-size: .82rem;
  color: var(--ink-soft); margin-top: 3px;
}

/* ---------- 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; }
.lead-p { font-size: 1.05rem; color: var(--ink-soft); max-width: 46ch; }

.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; }
.stack-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Product categories ----------
   Studio pack shots on white, so each tile is a white card: on the cream
   section the photo's own background reads as part of the card rather than a
   mismatched patch. Eight cells fill the 4x2 grid — seven categories and an
   invitation to bring your own. */

.products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.product {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.product figure { overflow: hidden; }
.product img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .5s var(--ease);
}
.product:hover { border-color: var(--green-soft); }
.product:hover img { transform: scale(1.05); }
.product h3 {
  margin: 0; padding: 14px 16px 16px;
  font-size: .94rem; border-top: 1px solid var(--line);
}

.product-cta {
  background: var(--green); border-color: var(--green);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; text-decoration: none; min-height: 100%;
}
.product-cta:hover { background: var(--green-deep); border-color: var(--green-deep); transform: none; }
.product-cta-label {
  font-size: 1.05rem; font-weight: 600; color: var(--cream);
  letter-spacing: -0.01em; line-height: 1.25;
}
.product-cta-link {
  font-size: .86rem; color: rgba(255, 255, 255, .78); margin-top: 8px;
}

.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 h3 { margin-bottom: .55em; }
.card p { font-size: .91rem; color: var(--ink-soft); margin-bottom: 0; }

/* ---------- Eyewear production flow ---------- */

.flow {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(6, 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.05rem; margin: 0; color: #fff; }

/* ---------- Materials ----------
   The polymer list is a list, not prose: anyone sourcing eyewear already knows
   what PC and TR90 do. The sustainable grades get the weight instead — that is
   the part a buyer's ESG questionnaire actually asks about. */

.mat-row {
  list-style: none; margin: 0 0 clamp(40px, 5vw, 60px); padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.mat-row li {
  border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 22px; font-size: .95rem; font-weight: 600;
  letter-spacing: -0.005em; color: var(--green); background: var(--paper);
}

.sustain {
  background: var(--green); border-radius: var(--radius);
  padding: clamp(30px, 4vw, 52px);
}
.sustain-head { max-width: 62ch; margin-bottom: clamp(26px, 3vw, 36px); }
.sustain-head .eyebrow { color: var(--cream); }
.sustain-head h3 {
  color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  letter-spacing: -0.022em; margin-bottom: .55em;
}
.sustain-head p { color: rgba(255, 255, 255, .8); font-size: 1rem; margin: 0; }

.sustain-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(239, 219, 178, .22);
  border: 1px solid rgba(239, 219, 178, .22); border-radius: var(--radius);
  overflow: hidden;
}
.sustain-card { background: var(--green); padding: 22px 20px; }
.sustain-card strong {
  display: block; font-size: 1.02rem; font-weight: 600; color: var(--cream);
  letter-spacing: -0.01em;
}
.sustain-card span {
  display: block; font-size: .83rem; color: rgba(255, 255, 255, .7);
  margin-top: 6px; line-height: 1.45;
}

.sustain-foot {
  margin: 22px 0 0; font-size: .85rem;
  color: rgba(239, 219, 178, .62);
}

/* ---------- Lens section ----------
   Three photos across the full width, then the lists underneath. Keeping the
   photos in a column beside two short lists left a tall empty gap on the left. */

.lens-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.lens-shot { border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.lens-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lens-shot figcaption {
  padding: 13px 16px; background: var(--paper);
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--green);
}

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); max-width: 760px; }

.spec { margin-bottom: 0; }
.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: 22px; }
.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: .95rem; margin: 0 18px; color: var(--cream); line-height: 1.35; }

/* ---------- 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; }
/* Verifiable particulars under a status — certificate number, issuing body,
   accreditation. Italic fine print, the same subordinate treatment as the
   solar and trademark footnotes. */
.cert-ref {
  display: block; margin-top: 8px; font-size: .72rem; font-style: italic;
  line-height: 1.55; color: var(--ink-soft); opacity: .78;
}

/* Certificate document — the scan itself, shown beside its details.
   Markup sits commented out in index.html until the certificate is in hand. */
.cert-doc {
  display: grid; grid-template-columns: minmax(0, 260px) 1fr;
  gap: clamp(24px, 3vw, 40px); align-items: center;
  margin: clamp(28px, 3.5vw, 44px) 0 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2);
}
.cert-doc > a { display: block; line-height: 0; }
.cert-doc img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: 4px; background: #fff;
  box-shadow: 0 10px 28px rgba(21, 71, 52, .10);
  transition: box-shadow .25s ease, transform .25s ease;
}
.cert-doc > a:hover img { box-shadow: 0 16px 38px rgba(21, 71, 52, .16); transform: translateY(-2px); }
.cert-doc figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cert-doc figcaption strong { font-size: 1.3rem; color: var(--green); letter-spacing: -0.01em; }
.cert-doc figcaption span { font-size: .88rem; color: var(--ink-soft); line-height: 1.6; }
.cert-doc figcaption a {
  margin-top: 4px; font-size: .84rem; font-weight: 600; color: var(--green);
  text-decoration: none; border-bottom: 1px solid rgba(21, 71, 52, .3); padding-bottom: 2px;
}
.cert-doc figcaption a:hover { border-bottom-color: var(--green); }
.cert-doc + .fineprint, .certs + .fineprint { margin-top: 22px; }

/* ---------- 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 20px; border-bottom: 1px solid var(--line); }
.track-head h3 { margin: 0 0 .3em; font-size: 1.15rem; }
.track-head p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.track-steps {
  list-style: none; margin: 0; padding: 20px 28px 26px; counter-reset: ts;
}
.track-steps li {
  counter-increment: ts; position: relative;
  padding: 0 0 20px 34px; font-size: .95rem; color: var(--ink-2);
}
.track-steps li::before {                       /* the step number */
  content: counter(ts); position: absolute; left: 0; top: -1px;
  width: 21px; height: 21px; border-radius: 50%;
  border: 1.5px solid var(--green); color: var(--green);
  font-size: .68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.track-steps li::after {                        /* the connector line */
  content: ''; position: absolute; left: 10px; top: 24px; bottom: 4px;
  width: 1px; background: var(--line);
}
.track-steps li:last-child { padding-bottom: 0; }
.track-steps li:last-child::after { display: none; }

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

.solar {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: clamp(26px, 3.6vw, 48px); align-items: center;
  margin-bottom: clamp(44px, 5vw, 68px);
}
.solar-media { border-radius: var(--radius); overflow: hidden; background: var(--green-deep); }
.solar-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.solar-text h2,
.solar-text h3 { font-size: clamp(1.3rem, 2.1vw, 1.75rem); margin-bottom: .55em; }
.solar-text > p { font-size: 1rem; color: rgba(255, 255, 255, .8); margin-bottom: 1.6em; }
/* Footnote for the estimated figures — small and italic, clearly subordinate. */
.solar-ref {
  font-size: .74rem !important; line-height: 1.55; font-style: italic;
  color: rgba(239, 219, 178, .48) !important;
  margin: 1.5em 0 0 !important; max-width: 62ch;
}
.solar-ref a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.solar-ref a:hover { color: var(--cream); }
.solar-figures {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px;
  padding-top: 22px; border-top: 1px solid rgba(239, 219, 178, .22);
}
.solar-num {
  display: block; font-size: clamp(1.35rem, 2.1vw, 1.8rem); font-weight: 700;
  color: var(--cream); letter-spacing: -0.028em; line-height: 1.12;
}
.solar-num small {
  display: block; font-size: .46em; font-weight: 600;
  letter-spacing: .02em; margin-top: 3px;
}
.solar-label {
  display: block; font-size: .74rem; color: rgba(255, 255, 255, .62);
  letter-spacing: .02em; margin-top: 10px; line-height: 1.4;
}

.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: 1.2em; font-size: 1.2rem; }

.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; }

/* Honeypot. Off-screen rather than display:none — some bots skip hidden
   fields, and screen readers skip it because the wrapper is aria-hidden. */
.hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}

.form button[type=submit][disabled] { opacity: .65; cursor: progress; }

.form-status {
  margin: 14px 0 0; font-size: .88rem; line-height: 1.5; min-height: 0;
}
.form-status:empty { display: none; }
.form-status.is-ok  { color: var(--green); font-weight: 600; }
.form-status.is-bad { color: #9c3024; font-weight: 600; }

.form-alt {
  margin: 14px 0 0; font-size: .82rem; color: var(--ink-soft); line-height: 1.5;
}
.form-alt a { font-weight: 600; }

/* ---------- 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); }
/* Trademark footnote — italic fine print, the same subordinate treatment as
   .solar-ref, sitting above the copyright line. */
.trademarks {
  width: 100%; margin: 0; font-size: .74rem; font-style: italic; line-height: 1.6;
  color: rgba(239, 219, 178, .42); max-width: 76ch;
  padding-top: 14px; border-top: 1px solid rgba(239, 219, 178, .14);
}
.copyright {
  width: 100%; margin: 0; font-size: .78rem; color: rgba(239, 219, 178, .45);
  padding-top: 12px;
}
.trademarks + .copyright { padding-top: 4px; border-top: 0; }

/* ---------- 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) { transition-delay: .05s; }
.card.reveal.in:nth-child(3), .test.reveal.in:nth-child(3),
.flow-step.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; }
.flow-step.reveal.in:nth-child(6) { transition-delay: .25s; }

@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; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .sust { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .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; }

  .solar { grid-template-columns: 1fr; gap: 28px; }

  .two-col, .two-col-tight { grid-template-columns: 1fr; }
  .lens-strip { grid-template-columns: 1fr 1fr; gap: 14px; }
  .lens-strip .lens-shot:first-child { grid-column: 1 / -1; }
  .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; }
  .gallery { grid-template-columns: 1fr; }

  .mat-row { gap: 8px; }
  .mat-row li { padding: 7px 16px; font-size: .86rem; }
  .sustain-grid { grid-template-columns: 1fr 1fr; }
  .sustain-card { padding: 16px 15px; }

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

/* ---------- Phone ----------
   Everything that is a grid of pictures stays a grid on a phone: one item per
   screen turns this page into a 19,000px scroll. Two columns keeps the photos
   large enough to read and roughly halves the distance. */

@media (max-width: 620px) {
  :root { --gutter: 18px; }

  body { font-size: 15.5px; }
  h1 { font-size: clamp(2.1rem, 11vw, 2.9rem); }
  h2 { font-size: clamp(1.5rem, 7vw, 1.9rem); }

  .site-header { position: sticky; }
  .header-inner { min-height: 60px; }
  .brand-mark { height: 28px; }
  .brand-text strong { font-size: .88rem; }
  .brand-text em { font-size: .62rem; }

  .hero-inner { padding-block: 72px 64px; }
  .hero .lede { font-size: 1rem; margin-bottom: 1.8em; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; text-align: center; padding-block: 15px; }

  .section { padding-block: 56px; }
  .section-head { margin-bottom: 28px; }

  .about-top { grid-template-columns: 1fr; gap: 26px; }
  .about-text .btn { width: 100%; text-align: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 16px; }
  .stat-num { font-size: 1.75rem; }
  .stat-label { font-size: .8rem; margin-top: 8px; }
  .stat-label em { font-size: .75rem; }

  /* picture grids stay grids */
  .cards { grid-template-columns: 1fr 1fr; }
  .card-body { padding: 16px 14px 20px; }
  .card h3 { font-size: .97rem; margin-bottom: .4em; }
  .card p { font-size: .84rem; line-height: 1.5; }

  .flow { grid-template-columns: 1fr 1fr; gap: 14px; }
  .flow-media { margin-bottom: 12px; }
  .flow-step h3 { font-size: .95rem; }
  .flow-num { width: 22px; height: 22px; font-size: .7rem; margin-bottom: 7px; }

  .lab { gap: 20px; }
  .lab-grid { grid-template-columns: 1fr 1fr; }
  .test h3 { font-size: .87rem; margin-inline: 13px; }
  .test figure { margin-bottom: 12px; }
  .lab-hero figcaption { font-size: .82rem; padding: 15px 16px; }

  .certs { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cert { padding: 18px 16px; }
  .cert-label { font-size: .64rem; letter-spacing: .09em; margin-bottom: 8px; }
  .cert strong { font-size: .98rem; }
  .cert-note, .cert-status { font-size: .74rem; }
  .cert-ref { font-size: .67rem; margin-top: 6px; }
  .cert-status { padding-top: 12px; }

  .cert-doc { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .cert-doc > a { max-width: 240px; margin: 0 auto; }
  .cert-doc figcaption { align-items: center; text-align: center; }
  .cert-doc figcaption strong { font-size: 1.1rem; }

  .sust { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .sust-item h3 { font-size: .95rem; }
  .sust-item p { font-size: .84rem; }

  .solar-figures { grid-template-columns: 1fr; gap: 0; text-align: left; padding-top: 18px; }
  .solar-figure { padding: 14px 0; border-bottom: 1px solid rgba(239, 219, 178, .14); }
  .solar-figure:last-child { border-bottom: 0; padding-bottom: 0; }
  .solar-num { font-size: 1.45rem; }
  .solar-num small { font-size: .5em; margin-top: 2px; }
  .solar-label { margin-top: 4px; font-size: .78rem; }

  .lens-shot figcaption { padding: 11px 13px; font-size: .78rem; }
  .specs { gap: 26px 16px; }

  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product h3 { padding: 11px 13px 13px; font-size: .86rem; }
  .product-cta { padding: 16px; }
  .product-cta-label { font-size: .95rem; }
  .product-cta-link { font-size: .8rem; }

  .services { gap: 12px; }
  .service { padding: 18px 18px; }

  .track-head { padding: 20px 20px 16px; }
  .track-steps { padding: 16px 20px 20px; }
  .track-steps li { padding-bottom: 16px; font-size: .9rem; }

  .head-badge { width: 84px; }
  .std { padding: 7px 16px; font-size: .78rem; }
  .std-row { gap: 8px; }

  .contact-card { padding: 22px 18px; }
  .form input, .form textarea { font-size: 16px; }   /* 16px stops iOS zooming on focus */
  .btn { padding: 14px 24px; }
}
