/* ==========================================================================
   EMZ — Stone · Cabinetry · Remodeling
   Architectural construction identity: near-black ground, ivory type,
   champagne gold used only for rules, numbers, active states and CTAs.
   Square corners throughout. Dense by intention — no SaaS whitespace.
   ========================================================================== */

:root {
  --ink:      #090909;
  --ink-2:    #0D0D0D;
  --ink-3:    #141414;
  --ink-4:    #1C1C1C;
  --ivory:    #F4F2ED;
  --ivory-2:  #C9C6BF;
  --ivory-3:  #8A8781;
  --gold:     #B99A5B;
  --gold-lt:  #D8BC85;
  --gold-dk:  #8E7442;
  --hair:     rgba(244, 242, 237, .13);
  --hair-g:   rgba(185, 154, 91, .34);

  --disp: 'Barlow Condensed', 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1280px;
  --gut: 28px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ivory);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  /* Black marble ground. header.php layers the stone image in behind this
     scrim; without it the page just sits on flat near-black. */
  background-color: var(--ink);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.emz-wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }

/* --- shared type ---------------------------------------------------------- */
.emz-h1, .emz-h2, .emz-h3 {
  font-family: var(--disp);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .96;
  margin: 0;
}
.emz-h1 { font-size: clamp(44px, 6.6vw, 82px); }
.emz-h2 { font-size: clamp(27px, 3.4vw, 44px); }
.emz-h3 { font-size: clamp(17px, 1.7vw, 21px); line-height: 1.1; }

.emz-eyebrow {
  font-family: var(--body);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.emz-lede { color: var(--ivory-2); font-size: 15px; max-width: 52ch; margin: 0; }

/* a gold tick that sits on a section corner, like a drawing crop mark */
.emz-mark { position: relative; }
.emz-mark::before,
.emz-mark::after {
  content: ''; position: absolute; background: var(--gold); opacity: .8;
}
.emz-mark::before { left: 0; top: 0; width: 1px; height: 22px; }
.emz-mark::after  { left: -10px; top: 11px; width: 22px; height: 1px; }

/* --- buttons -------------------------------------------------------------- */
.emz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-size: 11.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 14px 24px; border: 1px solid var(--gold); border-radius: 0;
  background: var(--gold); color: #17130B; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  white-space: nowrap;
}
.emz-btn:hover { background: var(--gold-lt); border-color: var(--gold-lt); }
.emz-btn-line { background: transparent; color: var(--ivory); border-color: rgba(244,242,237,.34); }
.emz-btn-line:hover { background: transparent; border-color: var(--gold); color: var(--gold); }
.emz-btn-sm { padding: 10px 18px; font-size: 10.5px; }

/* --- utility bar ---------------------------------------------------------- */
.emz-util {
  background: rgba(13, 13, 13, .82);
  border-bottom: 1px solid var(--hair);
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ivory-3);
}
.emz-util .emz-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 34px; }
.emz-util b { color: var(--gold); font-weight: 600; }
.emz-util-r { display: flex; align-items: center; gap: 20px; }
.emz-util a { display: inline-flex; align-items: center; gap: 7px; color: var(--ivory); }
.emz-util a:hover { color: var(--gold); }
.emz-util svg { color: var(--gold); }

/* --- header --------------------------------------------------------------- */
.emz-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(9, 9, 9, .94);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--hair);
}
.emz-head .emz-wrap { display: flex; align-items: center; gap: 26px; height: 68px; }

/* the wordmark is the artwork; the tagline sits under it, optically aligned */
.emz-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; flex: none; }
.emz-logo-img {
  height: 30px; width: auto; display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6));
}
.emz-logo .emz-logo-txt small { margin-top: 0; padding-left: 2px; }
.emz-logo-mark {
  width: 38px; height: 38px; flex: none;
  border: 1px solid var(--gold); display: grid; place-items: center;
}
.emz-logo-mark svg { color: var(--gold); }
.emz-logo-txt b {
  display: block; font-family: var(--disp); font-size: 23px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; line-height: 1;
}
.emz-logo-txt small {
  display: block; font-size: 8px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-top: 4px;
}

.emz-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.emz-nav a {
  font-size: 12.5px; font-weight: 500; letter-spacing: .04em;
  color: var(--ivory-2); padding: 6px 0; position: relative;
}
.emz-nav a:hover, .emz-nav a.on { color: var(--ivory); }
.emz-nav a.on::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold);
}
.emz-burger {
  display: none; width: 40px; height: 40px; margin-left: auto;
  border: 1px solid var(--hair); background: transparent; color: var(--ivory);
  cursor: pointer; place-items: center;
}

/* --- hero ----------------------------------------------------------------- */
.emz-hero { border-bottom: 1px solid var(--hair); }
.emz-hero-grid {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  min-height: 560px; align-items: stretch;
}
.emz-hero-copy {
  padding: 54px 46px 0 0; display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.emz-hero-copy .emz-h1 span { display: block; }
.emz-hero-copy .emz-h1 span:last-child { color: var(--gold); }
.emz-hero-copy .emz-lede { margin: 22px 0 30px; }
.emz-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.emz-hero-img { position: relative; overflow: hidden; min-height: 420px; }
.emz-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.emz-hero-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(9,9,9,.35) 18%, transparent 46%);
  pointer-events: none;
}

.emz-hero-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  border-top: 1px solid var(--hair); height: 46px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory-2);
}
.emz-hero-foot ol { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.emz-hero-foot li + li::before { content: '/'; color: var(--gold); margin: 0 14px; }
.emz-hero-foot .count { color: var(--ivory-3); font-variant-numeric: tabular-nums; }
.emz-hero-foot .count b { color: var(--gold); font-weight: 600; }

/* --- services grid -------------------------------------------------------- */
.emz-svc { border-bottom: 1px solid var(--hair); }
.emz-svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--hair);
}
.emz-svc-cell {
  border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  display: grid; grid-template-columns: minmax(0, 1fr) 40%; gap: 14px;
  padding: 20px 20px 18px; min-height: 162px; position: relative;
  transition: background .2s;
}
.emz-svc-grid > :nth-child(-n+3) { border-top: 1px solid var(--hair); }
.emz-svc-cell:hover { background: rgba(28, 28, 28, .58); }
.emz-svc-cell .n {
  font-family: var(--disp); font-size: 30px; font-weight: 700; line-height: 1;
  color: var(--gold); opacity: .55;
}
.emz-svc-cell:hover .n { opacity: 1; }
.emz-svc-txt { display: flex; flex-direction: column; gap: 3px; }
.emz-svc-txt h3 { margin: 6px 0 2px; }
.emz-svc-txt p { margin: 0; font-size: 12.5px; color: var(--ivory-3); line-height: 1.45; }
.emz-svc-pic { align-self: stretch; overflow: hidden; border: 1px solid var(--hair-g); }
.emz-svc-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.emz-svc-cell:hover .emz-svc-pic img { transform: scale(1.07); }
.emz-svc-go {
  margin-top: auto; width: 30px; height: 30px; border: 1px solid var(--hair-g);
  display: grid; place-items: center; color: var(--gold);
}
.emz-svc-cell:hover .emz-svc-go { background: var(--gold); color: #17130B; border-color: var(--gold); }

/* --- material selector ---------------------------------------------------- */
.emz-mat {
  position: relative; border-bottom: 1px solid var(--hair);
  background: var(--ink-2) center/cover no-repeat;
  padding-block: 44px 38px;
}
.emz-mat::before {
  content: ''; position: absolute; inset: 0; background: rgba(9,9,9,.72);
}
.emz-mat > .emz-wrap { position: relative; }
.emz-mat-head { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: end; margin-bottom: 22px; }
.emz-mat-head p { margin: 0; font-size: 13px; color: var(--ivory-2); max-width: 54ch; }

.emz-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.emz-tab {
  font-family: var(--body); font-size: 11px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 11px 22px; border: 1px solid var(--hair); background: transparent;
  color: var(--ivory-2); cursor: pointer; transition: .18s;
}
.emz-tab:hover { border-color: var(--gold); color: var(--gold); }
.emz-tab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #17130B; }

.emz-mat-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
.emz-slab { position: relative; overflow: hidden; border: 1px solid var(--hair-g); min-height: 260px; }
.emz-slab img { width: 100%; height: 100%; object-fit: cover; }
.emz-mat-spec { padding: 26px 0 8px 34px; display: flex; flex-direction: column; }
.emz-mat-spec h3 {
  font-family: var(--disp); font-size: 30px; font-weight: 600; text-transform: none;
  letter-spacing: 0; margin: 0 0 16px; color: var(--ivory);
}
.emz-mat-spec dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 9px 12px; font-size: 13px; }
.emz-mat-spec dt { color: var(--ivory-3); }
.emz-mat-spec dd { margin: 0; color: var(--ivory); }
.emz-mat-note { margin: 16px 0 0; font-size: 12.5px; color: var(--ivory-3); line-height: 1.5; }
.emz-mat-spec .emz-btn { margin-top: 20px; align-self: flex-start; }

.emz-thumbs { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.emz-thumb {
  width: 84px; height: 46px; flex: none; overflow: hidden; padding: 0;
  border: 1px solid var(--hair); background: var(--ink-3); cursor: pointer;
}
.emz-thumb img { width: 100%; height: 100%; object-fit: cover; }
.emz-thumb[aria-selected="true"] { border-color: var(--gold); }
.emz-mat-count { margin-left: auto; font-size: 11px; letter-spacing: .2em; color: var(--ivory-3); font-variant-numeric: tabular-nums; }
.emz-mat-count b { color: var(--gold); font-weight: 600; }

/* --- section head --------------------------------------------------------- */
.emz-shead {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--hair);
}
.emz-shead small { display: block; font-size: 12.5px; color: var(--ivory-3); margin-top: 8px; letter-spacing: 0; text-transform: none; font-family: var(--body); }
.emz-more { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: inline-flex; gap: 9px; align-items: center; white-space: nowrap; }
.emz-more:hover { color: var(--gold-lt); }

/* --- projects ------------------------------------------------------------- */
.emz-sec { padding-block: 42px; border-bottom: 1px solid var(--hair); }
.emz-proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.emz-card { display: flex; flex-direction: column; }
.emz-card-pic { overflow: hidden; border: 1px solid var(--hair); aspect-ratio: 4 / 3; }
.emz-card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.emz-card:hover .emz-card-pic img { transform: scale(1.05); }
.emz-card-no { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin: 14px 0 5px; }
.emz-card h3 { margin: 0 0 3px; font-family: var(--disp); font-size: 22px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.emz-card .city { font-size: 12.5px; color: var(--ivory-3); margin: 0; }
.emz-card .scope { font-size: 12px; color: var(--ivory-2); margin: 7px 0 14px; }
.emz-card .emz-btn { align-self: flex-start; margin-top: auto; }

/* --- before / after ------------------------------------------------------- */
.emz-ba-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.emz-ba {
  position: relative; overflow: hidden; border: 1px solid var(--hair);
  aspect-ratio: 16 / 10; user-select: none; touch-action: pan-y;
}
.emz-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.emz-ba-after { clip-path: inset(0 0 0 var(--split, 50%)); }
.emz-ba-line { position: absolute; top: 0; bottom: 0; left: var(--split, 50%); width: 2px; background: var(--gold); pointer-events: none; }
.emz-ba-grip {
  position: absolute; top: 50%; left: var(--split, 50%); transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: #17130B;
  display: grid; place-items: center; cursor: ew-resize; border: 0;
}
.emz-ba-tag {
  position: absolute; bottom: 12px; padding: 5px 12px; font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; background: rgba(9,9,9,.82); color: var(--ivory);
  border: 1px solid var(--hair);
}
.emz-ba-tag.b { left: 12px; }
.emz-ba-tag.a { right: 12px; }

/* --- process -------------------------------------------------------------- */
.emz-proc { position: relative; background: var(--ink-2) center/cover no-repeat; padding-block: 42px; border-bottom: 1px solid var(--hair); }
.emz-proc::before { content: ''; position: absolute; inset: 0; background: rgba(9,9,9,.78); }
.emz-proc > .emz-wrap { position: relative; }
.emz-proc-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 8px; }
.emz-step { padding: 0 18px 0 0; position: relative; }
.emz-step::before { content: ''; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--hair-g); }
.emz-step:last-child::before { right: 18px; }
.emz-step-ic {
  position: relative; width: 38px; height: 38px; border: 1px solid var(--gold);
  background: var(--ink); display: grid; place-items: center; color: var(--gold); margin-bottom: 14px;
}
.emz-step .no { font-family: var(--disp); font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--gold); }
.emz-step h3 { margin: 4px 0 6px; font-family: var(--disp); font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.emz-step p { margin: 0; font-size: 12px; color: var(--ivory-3); line-height: 1.5; padding-right: 10px; }

/* --- testimonials --------------------------------------------------------- */
.emz-test-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; align-items: center; }
.emz-quote { font-family: var(--disp); font-size: clamp(20px, 2.4vw, 29px); font-weight: 500; line-height: 1.25; margin: 0 0 18px; color: var(--ivory); text-transform: none; letter-spacing: 0; }
.emz-test-who { display: flex; align-items: center; gap: 13px; }
.emz-test-av { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; border: 1px solid var(--hair-g); flex: none; background: var(--ink-4); display: grid; place-items: center; font-family: var(--disp); font-size: 17px; color: var(--gold); }
.emz-test-who b { display: block; font-size: 14px; font-weight: 600; }
.emz-test-who span { font-size: 12px; color: var(--ivory-3); }
.emz-stars { display: inline-flex; gap: 2px; color: var(--gold); margin-left: 4px; }
.emz-test-pic { border: 1px solid var(--hair); overflow: hidden; aspect-ratio: 4 / 3; }
.emz-test-pic img { width: 100%; height: 100%; object-fit: cover; }

/* --- service area --------------------------------------------------------- */
.emz-area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 34px; align-items: center; }
.emz-area-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.emz-area-list li { display: flex; align-items: center; gap: 11px; font-size: 14px; }
.emz-area-list svg { color: var(--gold); flex: none; }
.emz-map { position: relative; border: 1px solid var(--hair); background: var(--ink-2); aspect-ratio: 16 / 9; overflow: hidden; }
.emz-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* --- CTA band ------------------------------------------------------------- */
.emz-cta { border-bottom: 1px solid var(--hair); background: rgba(13, 13, 13, .74); }
.emz-cta .emz-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; flex-wrap: wrap; }
.emz-cta p { margin: 8px 0 0; font-size: 13.5px; color: var(--ivory-2); }
.emz-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- footer --------------------------------------------------------------- */
.emz-foot { background: rgba(13, 13, 13, .80); padding-block: 38px 0; }
.emz-foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr; gap: 30px; padding-bottom: 30px; }
.emz-foot h4 { font-family: var(--disp); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; color: var(--ivory); }
.emz-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.emz-foot a { font-size: 13px; color: var(--ivory-3); }
.emz-foot a:hover { color: var(--gold); }
.emz-foot-brand p { font-size: 12.5px; color: var(--ivory-3); margin: 14px 0 0; max-width: 34ch; }
.emz-foot-c { display: grid; gap: 10px; font-size: 13px; }
.emz-foot-c a { color: var(--ivory); display: inline-flex; gap: 9px; align-items: center; }
.emz-foot-c svg { color: var(--gold); }
.emz-social { display: flex; gap: 9px; margin-top: 16px; }
.emz-social a { width: 32px; height: 32px; border: 1px solid var(--hair); display: grid; place-items: center; color: var(--ivory-2); }
.emz-social a:hover { border-color: var(--gold); color: var(--gold); }
.emz-foot-bar {
  border-top: 1px solid var(--hair); padding-block: 16px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory-3);
}

/* --- mobile sticky CTA ---------------------------------------------------- */
.emz-mobilebar { display: none; }

/* --- image fallback while photography is still being made ----------------- */
.emz-ph {
  background:
    linear-gradient(118deg, rgba(255,255,255,.055) 0 28%, transparent 28.4% 34%, rgba(255,255,255,.04) 34.4% 52%, transparent 52.4%),
    linear-gradient(200deg, rgba(185,154,91,.10), transparent 60%),
    var(--ink-4);
  position: relative;
}
.emz-ph::after {
  content: attr(data-ph); position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: rgba(244,242,237,.26);
  text-align: center; padding: 10px;
}

/* --- soft white marble break ----------------------------------------------
   The one light panel on the site, as in the mockup's bottom strip.
   header.php lays the stone image behind this scrim; the rules below flip
   the type dark so it reads on it. */
.emz-marble {
  background-color: var(--ivory);
  background-position: center;
  background-size: cover;
  color: var(--ink);
  border-block: 1px solid rgba(9, 9, 9, .12);
}
.emz-marble .emz-h2, .emz-marble .emz-h3, .emz-marble h3 { color: var(--ink); }
.emz-marble p, .emz-marble .emz-lede, .emz-marble small { color: #3B3833; }
.emz-marble .emz-eyebrow { color: var(--gold-dk); }
.emz-marble .emz-btn-line { color: var(--ink); border-color: rgba(9, 9, 9, .3); }
.emz-marble .emz-btn-line:hover { border-color: var(--gold-dk); color: var(--gold-dk); }
.emz-marble .emz-shead { border-bottom-color: rgba(9, 9, 9, .14); }
.emz-marble .emz-quote { color: var(--ink); }
.emz-marble .emz-test-who b { color: var(--ink); }
.emz-marble .emz-test-who > span span { color: #5C574F; }
.emz-marble .emz-test-av { background: rgba(9, 9, 9, .05); border-color: rgba(9, 9, 9, .18); color: var(--gold-dk); }
.emz-marble .emz-test-pic, .emz-marble .emz-card-pic { border-color: rgba(9, 9, 9, .16); }
.emz-marble .city, .emz-marble .scope { color: #5C574F; }

/* the thin marble band that closes the page, as in the mockup */
.emz-strip { height: 74px; background-color: var(--ivory); }
@media (max-width: 720px) { .emz-strip { height: 46px; } }

/* --- concept ribbon ------------------------------------------------------- */
.emz-demo {
  background: var(--gold-dk); color: #0B0904; text-align: center;
  font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 14px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .emz-nav { display: none; }
  .emz-burger { display: grid; }
  .emz-head .emz-wrap > .emz-btn { display: none; }
  .emz-hero-grid { grid-template-columns: 1fr; }
  .emz-hero-copy { padding: 36px 0 30px; }
  .emz-hero-img { min-height: 300px; aspect-ratio: 16 / 10; }
  .emz-hero-img::after { background: linear-gradient(0deg, rgba(9,9,9,.5), transparent 55%); }
  .emz-svc-grid { grid-template-columns: repeat(2, 1fr); }
  .emz-svc-grid > :nth-child(3) { border-top: 0; }
  .emz-mat-body { grid-template-columns: 1fr; }
  .emz-mat-spec { padding: 22px 0 0; }
  .emz-proj-grid { grid-template-columns: repeat(2, 1fr); }
  .emz-ba-grid, .emz-test-grid, .emz-area-grid { grid-template-columns: 1fr; }
  .emz-proc-row { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
  .emz-foot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --gut: 18px; }
  body { padding-bottom: 60px; }
  .emz-util .emz-wrap { justify-content: center; }
  .emz-util-l, .emz-util-r span { display: none; }
  .emz-mat-head { grid-template-columns: 1fr; gap: 12px; }
  .emz-svc-grid { grid-template-columns: 1fr; }
  .emz-svc-grid > :nth-child(2) { border-top: 0; }
  .emz-proj-grid { grid-template-columns: 1fr; }
  .emz-proc-row { grid-template-columns: repeat(2, 1fr); }
  .emz-step::before { display: none; }
  .emz-foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .emz-hero-foot { height: auto; padding-block: 12px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .emz-hero-foot ol { flex-wrap: wrap; }

  .emz-mobilebar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
    border-top: 1px solid var(--hair-g); background: rgba(9,9,9,.97);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .emz-mobilebar a {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    padding: 17px 10px; font-size: 11.5px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
  }
  .emz-mobilebar a:first-child { color: var(--ivory); border-right: 1px solid var(--hair); }
  .emz-mobilebar a:last-child { background: var(--gold); color: #17130B; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
