/* ============================================================
   DAPY — App-style MOBILE layer
   Everything here is scoped to phones via @media (max-width:860px).
   The only un-queried rule is `.m-only{display:none}` so the mobile
   blocks never show on desktop. Desktop rendering is untouched.
   Reuses tokens from tokens.css.
   ============================================================ */

/* Mobile-only blocks are hidden by default (desktop). */
.m-only { display: none; }

@media (max-width: 860px) {

  /* ---------- hand-off: hide desktop, show app ---------- */
  .d-only { display: none !important; }
  .m-only { display: block; }
  header.nav { display: none !important; }   /* desktop header replaced by app-bar */
  .footer    { display: none !important; }   /* desktop footer replaced by tab bar + menu sheet */

  /* ---------- app shell ---------- */
  html, body { background: var(--ivory); }
  .m-app {
    font-family: var(--font-display);
    color: var(--ink);
    background: var(--ivory);
    overflow-x: clip;   /* clip stray h-overflow without becoming a scroll container (keeps sticky working) */
    padding-bottom: calc(66px + env(safe-area-inset-bottom));  /* clear the fixed tab bar */
    position: relative;
  }
  .m-app * { box-sizing: border-box; }
  .m-app img { display: block; max-width: 100%; }
  .m-app a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: rgba(46,217,195,.18); }
  /* hide scrollbars on horizontal scrollers */
  .m-noscroll::-webkit-scrollbar { display: none; }
  .m-noscroll { scrollbar-width: none; }

  /* Pages with no dedicated app block (careers, legal pages): keep their
     existing responsive content, just clear the fixed tab bar at the bottom. */
  main:not(.m-app) { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  /* ---------- shared helpers ---------- */
  .m-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 10.5px; font-weight: 600; letter-spacing: .18em;
    text-transform: uppercase; color: var(--gray-700);
  }
  .m-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal-500); }
  .m-eyebrow.on-dark { color: var(--teal-500); }
  .m-eyebrow.tag {                 /* filled chip variant (hero) */
    background: var(--teal-500); color: var(--espresso);
    padding: 6px 11px; letter-spacing: .18em;
  }
  .m-eyebrow.tag::before { display: none; }

  .m-h-serif {
    font-family: var(--font-serif); font-weight: 400; line-height: 1.05;
    letter-spacing: 0; margin: 0;
  }
  .m-h-serif em { font-style: italic; color: var(--teal-700); }
  .m-h-sans {
    font-weight: 800; text-transform: uppercase; letter-spacing: -.02em;
    line-height: 1.06; margin: 0; color: var(--ink);
  }
  .m-lead { font-size: 14.5px; line-height: 1.6; color: var(--gray-700); margin: 12px 0 0; }

  .m-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 600; font-size: 14px; padding: 15px 22px; border-radius: var(--radius-md);
    border: 0; cursor: pointer; font-family: var(--font-display); line-height: 1;
  }
  .m-btn-teal  { background: var(--teal-500); color: var(--espresso); }
  .m-btn-dark  { background: var(--ink); color: var(--fg-on-dark); }
  .m-btn-ghost { background: transparent; color: var(--fg-on-dark); border: 1px solid rgba(242,235,221,.32); }
  .m-btn-block { display: flex; width: 100%; }

  .m-hscroll { display: flex; gap: 12px; overflow-x: auto; padding-left: 26px; padding-right: 26px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .m-hscroll > * { scroll-snap-align: start; }

  /* placeholder tile background (used where there is no photo) */
  .m-ph { background: linear-gradient(150deg, var(--sand), var(--bone)); position: relative; overflow: hidden; }
  .m-ph.alt  { background: linear-gradient(150deg, var(--sand-dark), var(--sand)); }
  .m-ph.dark { background: linear-gradient(150deg, #2a221c, var(--espresso)); }
  .m-ph.hatch::after { content: ""; position: absolute; inset: 0;
    background: repeating-linear-gradient(135deg, rgba(33,29,27,.04) 0 11px, transparent 11px 22px); }

  /* ============================================================
     APP CHROME — top app-bar, bottom tab bar, menu sheet
     Injected globally by partials.js; shown only here.
     ============================================================ */

  /* ---- top app-bar ---- */
  .m-appbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 22px; position: sticky; top: 0; z-index: 80;
    background: var(--ivory); border-bottom: 1px solid var(--line-1);
  }
  .m-appbar .m-logo { height: 21px; width: auto; }
  .m-appbar.dark { background: var(--espresso); border-bottom-color: var(--line-on-dark); }
  .m-appbar-actions { display: flex; align-items: center; gap: 15px; }

  /* EN/FR pill — reuses the existing .lang markup so site.js wires it */
  .m-appbar .lang {
    display: flex; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden;
  }
  .m-appbar.dark .lang { border-color: rgba(242,235,221,.28); }
  .m-appbar .lang button {
    appearance: none; border: 0; background: transparent; cursor: pointer;
    padding: 5px 9px; font: 600 11px/1 var(--font-display); letter-spacing: .06em; color: var(--ink);
  }
  .m-appbar.dark .lang button { color: var(--fg-on-dark); opacity: .6; }
  .m-appbar .lang button.on { background: var(--teal-500); color: var(--espresso); opacity: 1; }

  .m-burger {
    appearance: none; border: 0; background: transparent; cursor: pointer; padding: 2px;
    color: var(--ink); display: inline-flex; line-height: 0;
  }
  .m-appbar.dark .m-burger { color: var(--fg-on-dark); }

  /* ---- bottom tab bar ---- */
  .m-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: flex; justify-content: space-between;
    background: var(--bg-surface); border-top: 1px solid rgba(33,29,27,.09);
    padding: 10px 24px calc(8px + env(safe-area-inset-bottom));
  }
  .m-tab {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    color: #9a8f82; flex: 1;
  }
  .m-tab span { font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
  .m-tab.on { color: var(--teal-700); }

  /* ---- menu sheet (screen 02) ---- */
  .m-sheet {
    position: fixed; inset: 0; z-index: 120;
    background: var(--espresso); color: var(--fg-on-dark);
    font-family: var(--font-display);
    display: flex; flex-direction: column;
    padding: 16px 26px calc(26px + env(safe-area-inset-bottom));
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity var(--dur-2) var(--ease-standard), transform var(--dur-2) var(--ease-standard), visibility var(--dur-2);
  }
  .m-sheet.open { opacity: 1; visibility: visible; transform: none; }
  .m-sheet-head { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; }
  .m-sheet-head .m-logo { height: 21px; width: auto; }
  .m-sheet-close { appearance: none; border: 0; background: transparent; color: var(--fg-on-dark); cursor: pointer; line-height: 0; padding: 2px; }
  .m-sheet-wedge {
    position: absolute; right: 34px; top: 92px; width: 26px; aspect-ratio: 1 / 1.15;
    background: var(--teal-500); clip-path: polygon(0 100%, 100% 0, 100% 100%);
  }
  .m-sheet-label { display: block; margin-top: 40px; font-size: 10.5px; font-weight: 600;
    letter-spacing: .18em; text-transform: uppercase; color: rgba(242,235,221,.5); }
  .m-sheet-links { margin-top: 16px; }
  .m-sheet-link {
    display: flex; align-items: center; justify-content: space-between; padding: 15px 0;
    border-bottom: 1px solid rgba(242,235,221,.14);
    font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: -.01em; color: var(--fg-on-dark);
  }
  .m-sheet-link:last-child { border-bottom: 0; }
  .m-sheet-link .n { font-size: 13px; color: var(--teal-500); font-weight: 600; }
  .m-sheet-link.active span:first-child { color: var(--teal-500); }
  .m-sheet-foot { margin-top: auto; padding-top: 22px; }
  .m-sheet-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .m-soc { display: flex; gap: 10px; }
  .m-soc a { width: 42px; height: 42px; border: 1px solid rgba(242,235,221,.22); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center; color: var(--fg-on-dark); }
  .m-sheet-mail { display: block; margin-top: 18px; font-size: 14px; color: rgba(242,235,221,.7); }
  .m-sheet-legal { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .m-sheet-legal a { font-size: 11.5px; color: rgba(242,235,221,.5); }
  .m-sheet-copy { margin-top: 12px; font-size: 11px; color: rgba(242,235,221,.4); }

  /* prevent background scroll when the sheet is open */
  body.m-sheet-open { overflow: hidden; }

  /* ============================================================
     SCREEN 01 — HOME (index.html)
     ============================================================ */
  .m-hero { position: relative; background: var(--espresso); color: var(--fg-on-dark);
    padding: 60px 26px 34px; overflow: hidden; }
  .m-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
  .m-hero::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(22,17,14,.45) 0%, rgba(22,17,14,.30) 40%, rgba(22,17,14,.92) 100%); }
  .m-hero-inner { position: relative; z-index: 2; }
  .m-hero-h { font-size: 46px; color: var(--fg-on-dark); margin: 22px 0 0; }
  .m-hero-h em { color: var(--teal-500); font-style: italic; }
  .m-hero-lead { font-size: 14.5px; line-height: 1.6; color: rgba(242,235,221,.74); margin: 18px 0 0; max-width: 30ch; }
  .m-hero-cta { display: flex; gap: 10px; margin-top: 26px; }
  .m-hero-cta .m-btn-teal { flex: 1; }

  .m-stats-wrap { background: var(--espresso); padding: 4px 26px 36px; }
  .m-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: rgba(242,235,221,.14); border: 1px solid rgba(242,235,221,.14); }
  .m-stat { background: var(--espresso); padding: 22px 18px; }
  .m-stat-n { font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -.02em; color: var(--fg-on-dark); }
  .m-stat-n span { color: var(--teal-500); }
  .m-stat-l { font-size: 11.5px; color: rgba(242,235,221,.6); margin-top: 8px; }

  .m-block { padding: 36px 0 38px; }
  .m-block-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 26px; margin-bottom: 18px; }
  .m-block-head h2 { font-size: 23px; }
  .m-all { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700); white-space: nowrap; }
  .m-cats .m-catcard { flex: 0 0 168px; position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: block; }
  .m-catcard .m-ph { position: absolute; inset: 0; }
  .m-catcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .m-catcard-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; z-index: 2; color: #fff;
    background: linear-gradient(0deg, rgba(22,17,14,.78), transparent); }
  .m-catcard-meta .n { display: block; font-size: 10px; font-weight: 600; letter-spacing: .2em; opacity: .8; }
  .m-catcard-name { display: block; font-weight: 700; font-size: 17px; text-transform: uppercase; margin-top: 4px; }

  .m-process { background: var(--bone); padding: 34px 26px 36px; }
  .m-process h2 { margin: 14px 0 20px; max-width: 14ch; font-size: 23px; }
  .m-step { display: flex; align-items: center; gap: 16px; padding: 17px 0; border-top: 1px solid rgba(33,29,27,.12); }
  .m-step:last-child { border-bottom: 1px solid rgba(33,29,27,.12); }
  .m-step .n { font-size: 12px; font-weight: 600; color: var(--teal-700); letter-spacing: .1em; }
  .m-step .t { flex: 1; font-weight: 700; font-size: 17px; text-transform: uppercase; color: var(--ink); }
  .m-step .ar { color: var(--teal-700); }

  .m-trust { background: var(--espresso); color: var(--fg-on-dark); padding: 34px 26px 38px; }
  .m-trust h2 { font-size: 30px; line-height: 1.1; margin: 14px 0 22px; }
  .m-trust-list { display: flex; flex-wrap: wrap; gap: 10px 18px; font-family: var(--font-serif); font-size: 21px; color: rgba(242,235,221,.55); }

  .m-cta { background: var(--ivory); padding: 42px 26px 40px; text-align: center; }
  .m-cta h2 { font-size: 30px; line-height: 1.12; margin: 14px auto 0; max-width: 16ch; color: var(--ink); }
  .m-cta .m-btn { margin-top: 24px; }
  .m-eyebrow.plain::before { display: none; }

  /* ============================================================
     SCREEN 03 — PRODUCTS (gallery.html)
     ============================================================ */
  .m-prodhead { padding: 26px 26px 14px; }
  .m-prodhead h1 { font-size: 30px; max-width: 13ch; margin: 14px 0 0; }
  .m-chips { display: flex; gap: 8px; overflow-x: auto; padding: 6px 26px 16px;
    position: sticky; top: 56px; z-index: 60; background: var(--ivory); }
  .m-chip { flex: 0 0 auto; background: var(--bg-surface); border: 1px solid rgba(33,29,27,.14);
    color: var(--ink); font: 600 12px/1 var(--font-display); padding: 9px 15px; border-radius: var(--radius-md);
    cursor: pointer; white-space: nowrap; }
  .m-chip.on { background: var(--ink); color: var(--fg-on-dark); border-color: var(--ink); }
  .m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 26px 36px; }
  .m-pcard { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: block; background: var(--bone); }
  .m-pcard.hide { display: none; }
  .m-pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .m-pcard-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 11px; z-index: 2; color: #fff;
    background: linear-gradient(0deg, rgba(22,17,14,.72), transparent); }
  .m-pcard-cat { display: block; font-size: 9px; font-weight: 600; letter-spacing: .16em; opacity: .75; text-transform: uppercase; }
  .m-pcard-title { display: block; font-weight: 700; font-size: 13px; text-transform: uppercase; margin-top: 3px; line-height: 1.15; }
  .m-gallery-empty { padding: 40px 26px; color: var(--gray-700); font-size: 15px; }

  /* ============================================================
     SCREEN 04 — PRODUCT DETAIL (overlay on gallery.html) — honest view, no specs
     ============================================================ */
  .m-pdp { position: fixed; inset: 0; z-index: 130; background: var(--ivory); overflow-y: auto; display: none; }
  .m-pdp.open { display: block; }
  .m-pdp-img { position: relative; aspect-ratio: 3 / 3.2; background: linear-gradient(160deg, #2a221c, var(--espresso)); overflow: hidden; }
  .m-pdp-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .m-pdp-bar { position: relative; z-index: 2; padding: 16px 22px; }
  .m-pdp-back { width: 42px; height: 42px; border-radius: 50%; background: rgba(242,235,221,.16);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
    color: var(--fg-on-dark); border: 0; cursor: pointer; }
  .m-pdp-body { padding: 24px 26px 30px; }
  .m-pdp-cat { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-700); }
  .m-pdp-title { font-weight: 800; font-size: 28px; line-height: 1.05; text-transform: uppercase; letter-spacing: -.02em; color: var(--ink); margin: 12px 0 0; }
  .m-pdp-desc { font-size: 14.5px; line-height: 1.6; color: var(--gray-700); margin: 12px 0 0; }
  .m-pdp-cta { margin-top: 26px; }
  .m-pdp-more { background: var(--bone); padding: 8px 0 32px; }
  .m-pdp-more h3 { font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: -.01em; color: var(--ink); padding: 24px 26px 14px; margin: 0; }
  .m-pdp-more-row { display: flex; gap: 10px; overflow-x: auto; padding: 0 26px; }
  .m-pdp-more-card { flex: 0 0 140px; position: relative; aspect-ratio: 3 / 3.6; overflow: hidden; background: var(--sand); }
  .m-pdp-more-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .m-pdp-more-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 11px; z-index: 2; color: #fff;
    font-weight: 700; font-size: 12px; text-transform: uppercase; background: linear-gradient(0deg, rgba(22,17,14,.7), transparent); }
  body.m-pdp-open { overflow: hidden; }

  /* ============================================================
     SCREEN 05 — CAPABILITIES / "Studio" (capabilities.html)
     ============================================================ */
  .m-cap-head { padding: 26px 26px 6px; }
  .m-cap-head h1 { font-size: 30px; max-width: 13ch; margin: 14px 0 0; }
  .m-proc { padding: 18px 26px 8px; }
  .m-proc-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(33,29,27,.12); }
  .m-proc-row:last-child { border-bottom: 1px solid rgba(33,29,27,.12); }
  .m-proc-ico { flex: 0 0 46px; width: 46px; height: 46px; background: var(--bone); display: flex; align-items: center; justify-content: center; }
  .m-proc-ico img { width: 30px; height: 30px; object-fit: contain; }
  .m-proc-row .h { display: flex; align-items: baseline; gap: 8px; }
  .m-proc-row .n { font-size: 10px; font-weight: 600; color: var(--teal-700); letter-spacing: .12em; }
  .m-proc-row .t { font-weight: 700; font-size: 15px; text-transform: uppercase; color: var(--ink); }
  .m-proc-row p { font-size: 12.5px; color: var(--gray-700); margin: 3px 0 0; line-height: 1.45; }
  .m-materials { padding: 26px 0 6px; }
  .m-mat { flex: 0 0 120px; }
  .m-mat-sw { aspect-ratio: 1 / 1; }
  .m-mat .t { font-weight: 700; font-size: 13px; text-transform: uppercase; margin-top: 8px; color: var(--ink); }
  .m-mat .s { font-size: 11.5px; color: var(--gray-700); }
  .m-ar { margin: 26px 26px 30px; background: var(--espresso); color: var(--fg-on-dark); padding: 28px 24px; position: relative; overflow: hidden; }
  .m-ar-wedge { position: absolute; right: 22px; top: 22px; width: 26px; aspect-ratio: 1 / 1.15; background: var(--teal-500); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
  .m-ar h3 { font-weight: 800; font-size: 24px; text-transform: uppercase; letter-spacing: -.01em; margin: 12px 0 0; max-width: 11ch; }
  .m-ar p { font-size: 13.5px; color: rgba(242,235,221,.7); margin: 12px 0 0; line-height: 1.55; }
  .m-ar .m-btn { margin-top: 20px; }

  /* ============================================================
     SCREEN 06 — SUSTAINABILITY (sustainability.html)
     ============================================================ */
  .m-sus-head { padding: 26px 26px 22px; }
  .m-sus-head h1 { font-size: 42px; max-width: 12ch; margin: 16px 0 0; line-height: 1.04; }
  .m-sus-head h1 em { color: var(--teal-700); }
  .m-sus-media { margin: 0 26px; aspect-ratio: 16 / 10; background: linear-gradient(150deg, var(--teal-300), #cfe9e3); position: relative; overflow: hidden; }
  .m-sus-media .w { position: absolute; right: 18px; bottom: 18px; width: 30px; aspect-ratio: 1 / 1.15; background: var(--espresso); clip-path: polygon(0 100%, 100% 0, 100% 100%); opacity: .5; }
  .m-principles { padding: 30px 26px 8px; }
  .m-principles h2 { font-size: 22px; margin: 14px 0 18px; max-width: 15ch; }
  .m-principle { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(33,29,27,.12); }
  .m-principle:last-child { border-bottom: 1px solid rgba(33,29,27,.12); }
  .m-principle .ico { flex: 0 0 48px; width: 48px; height: 48px; background: var(--bone); display: flex; align-items: center; justify-content: center; }
  .m-principle .ico img { width: 32px; height: 32px; object-fit: contain; }
  .m-principle .t { font-weight: 700; font-size: 15px; text-transform: uppercase; color: var(--ink); }
  .m-principle p { font-size: 13px; color: var(--gray-700); margin: 4px 0 0; line-height: 1.5; }
  .m-susstats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(33,29,27,.1); margin: 26px 26px 0; }
  .m-susstat { background: var(--ivory); padding: 20px 16px; }
  .m-susstat .n { font-weight: 800; font-size: 30px; color: var(--ink); letter-spacing: -.02em; }
  .m-susstat .n span { color: var(--teal-700); }
  .m-susstat .l { font-size: 11.5px; color: var(--gray-700); margin-top: 6px; }
  .m-pledge { background: var(--espresso); color: var(--fg-on-dark); padding: 40px 28px; text-align: center; margin-top: 30px; }
  .m-pledge h2 { font-size: 28px; line-height: 1.18; margin: 16px auto 0; max-width: 18ch; }

  /* ============================================================
     SCREEN 07 — TRADESHOWS (tradeshows.html)
     ============================================================ */
  .m-tshero { position: relative; background: var(--espresso); color: var(--fg-on-dark); min-height: 240px;
    display: flex; flex-direction: column; overflow: hidden; }
  .m-tshero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
  .m-tshero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,17,14,.4), rgba(22,17,14,.9)); }
  .m-tshero-inner { position: relative; z-index: 2; margin-top: auto; padding: 26px; }
  .m-tshero-inner h1 { font-size: 27px; max-width: 14ch; margin: 10px 0 0; }
  .m-ts-intro { padding: 22px 26px 6px; }
  .m-events { padding: 14px 26px 8px; }
  .m-event { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(33,29,27,.12); }
  .m-event:last-child { border-bottom: 1px solid rgba(33,29,27,.12); }
  .m-event .d { flex: 0 0 58px; text-align: center; }
  .m-event .mo { display: block; font-weight: 800; font-size: 20px; color: var(--ink); line-height: 1; }
  .m-event .yr { display: block; font-size: 11px; font-weight: 600; color: var(--teal-700); }
  .m-event .i { flex: 1; }
  .m-event .t { font-weight: 700; font-size: 16px; text-transform: uppercase; color: var(--ink); letter-spacing: -.01em; }
  .m-event .c { font-size: 12.5px; color: var(--gray-700); margin-top: 2px; }
  .m-event .ar { color: var(--teal-700); }
  .m-ts-cta { margin: 24px 26px 30px; background: var(--bone); padding: 26px 22px; text-align: center; }
  .m-ts-cta h3 { font-size: 23px; line-height: 1.2; margin: 0 auto; max-width: 20ch; color: var(--ink); }
  .m-ts-cta .m-btn { margin-top: 18px; }

  /* ============================================================
     SCREEN 08 — CONTACT (contact.html) — own mobile form, same Web3Forms key
     ============================================================ */
  .m-contact-head { padding: 26px 26px 4px; }
  .m-contact-head h1 { font-size: 38px; max-width: 14ch; margin: 14px 0 0; }
  .m-contact-head h1 em { color: var(--teal-700); }
  .m-form { padding: 22px 26px 6px; }
  .m-field { margin-bottom: 14px; }
  .m-field label { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-700); margin-bottom: 7px; }
  .m-field input, .m-field textarea { width: 100%; font-family: var(--font-display); font-size: 14px; color: var(--ink);
    background: var(--bg-surface); border: 1px solid rgba(33,29,27,.14); border-radius: var(--radius-md); padding: 14px; outline: none; }
  .m-field input:focus, .m-field textarea:focus { border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(46,217,195,.18); }
  .m-field textarea { min-height: 96px; resize: vertical; }
  .m-typechips { display: flex; flex-wrap: wrap; gap: 8px; }
  .m-typechip { background: var(--bg-surface); border: 1px solid rgba(33,29,27,.14); color: var(--ink);
    font: 600 12px/1 var(--font-display); padding: 9px 14px; border-radius: var(--radius-md); cursor: pointer; }
  .m-typechip.on { background: var(--ink); color: var(--fg-on-dark); border-color: var(--ink); }
  .m-form .m-btn { margin-top: 8px; }
  .m-ok { display: none; background: var(--teal-100); border: 1px solid var(--teal-300); border-radius: var(--radius-lg);
    padding: 16px 18px; color: var(--teal-800); font-size: 14px; margin-top: 14px; }
  .m-ok.show { display: block; }
  .m-formerr { display: none; background: #fbeae8; border: 1px solid #e7b4ad; border-radius: var(--radius-lg);
    padding: 14px 16px; color: #8a2a1d; font-size: 14px; margin-bottom: 10px; }
  .m-formerr.show { display: block; }
  .m-info { background: var(--espresso); color: var(--fg-on-dark); padding: 30px 26px 32px; margin-top: 30px; }
  .m-info-mail { display: block; font-family: var(--font-serif); font-size: 26px; color: var(--fg-on-dark); margin-top: 8px; }
  .m-info-label { margin-top: 24px; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(242,235,221,.5); }
  .m-offices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .m-offices span { border: 1px solid rgba(242,235,221,.2); padding: 7px 12px; border-radius: var(--radius-md);
    font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

  /* —— per-screen styles appended below —— */
}
