@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --site-font: "Montserrat", Verdana, sans-serif;
}
body,
button,
input,
select,
textarea {
  font-family: var(--site-font);
}
body nav a {
  font-family: var(--site-font) !important;
  letter-spacing: .075em !important;
}
body nav .nav-shred-fragments,
body nav .nav-shred-fragments span {
  font-family: inherit !important;
  letter-spacing: inherit !important;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: .035em;
}


/* Site-wide contact call to action and message form. */
body nav .contact-nav-button { display:inline-flex; align-items:center; justify-content:center; padding:.55rem .95rem !important; background:#ffed00 !important; color:#050505 !important; border:2px solid #050505 !important; box-shadow:4px 4px 0 #050505; font-weight:900 !important; line-height:1.1; text-decoration:none; text-transform:none; white-space:nowrap; }
body nav .contact-nav-button:hover { transform:translate(-2px,-2px); box-shadow:6px 6px 0 #050505; }
.contact-form { display:grid; gap:.55rem; margin:1.5rem 0 0; max-width:38rem; }
.contact-form h3 { margin:.5rem 0; font-size:1.3rem; font-weight:900; }
.contact-form label { margin-top:.4rem; font-weight:800; }
.contact-form input:not([type="hidden"]):not(.contact-honeypot), .contact-form textarea { width:100%; padding:.75rem; border:2px solid currentColor; border-radius:0; background:#fff; color:#111; font:inherit; }
.contact-form textarea { min-height:9rem; resize:vertical; }
.contact-form button { justify-self:start; margin-top:.5rem; padding:.8rem 1.1rem; border:2px solid #050505; border-radius:0; background:#ffed00; color:#050505; font-weight:900; text-transform:uppercase; box-shadow:4px 4px 0 #050505; }
.contact-form button:disabled { opacity:.65; cursor:wait; }
.contact-form-status, #contact-form-status { min-height:1.5em; margin:.4rem 0 0; font-weight:700; }
.contact-form-note { margin:0; font-size:.9rem; }
.contact-honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media (max-width:700px) { body nav .contact-nav-button { padding:.45rem .7rem !important; box-shadow:3px 3px 0 #050505; } }

/* Large, two-row navigation matrix on wide screens. */
body header { flex-wrap:wrap; }
body header nav {
  display:grid !important;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:stretch;
  gap:10px !important;
  width:100%;
  max-width:none !important;
  margin-left:auto;
}
body header nav a {
  display:flex !important;
  align-items:center;
  justify-content:center;
  min-height:60px;
  padding:12px 10px !important;
  font-size:clamp(18px,1.15vw,24px) !important;
  font-weight:800 !important;
  line-height:1.08 !important;
  text-align:center;
  white-space:normal !important;
  overflow-wrap:anywhere;
}
body header nav .instagram-icon svg { flex:none; width:30px; height:30px; }
body header nav .contact-nav-button { min-height:60px; }
@media (max-width:900px) {
  body header nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px !important; }
  body header nav a { min-height:54px; font-size:clamp(18px,2.5vw,22px) !important; }
}
@media (max-width:480px) {
  body header nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px !important; }
  body header nav a { min-height:48px; padding:10px 6px !important; font-size:18px !important; }
}

/* Larger, consistent navigation labels; ExMeLab retains its brand casing. */
body header nav a { font-size:clamp(20px,1.35vw,26px) !important; font-weight:700 !important; letter-spacing:.035em; text-transform:uppercase !important; white-space:nowrap; }
body header nav a[href*="exmelab/"], body.lab-body header nav a[href="../"] { text-transform:none !important; }
body.home-page > header > nav > a, body.home-page > header > nav > a.instagram-icon { font-size:clamp(20px,1.35vw,26px) !important; }
body.home-page > header > nav > a[href*="exmelab/"] { text-transform:none !important; }
body #about-contact .about-copy.bio-full, body #about-contact .about-details { background:rgba(255,255,255,.93) !important; opacity:1 !important; }
body #about-contact .selected-critical-reviews { margin:2rem 0 1rem; padding:1.25rem 1.5rem; background:rgba(255,255,255,.93); color:#111; }
body #about-contact .selected-critical-reviews h3 { margin:0 0 18px; font-size:clamp(22px,2vw,32px); }
body #about-contact .selected-critical-reviews ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px 24px; list-style:none; margin:0; padding:0; }
body #about-contact .selected-critical-reviews li { display:grid; gap:4px; min-width:0; }
body #about-contact .selected-critical-reviews li a { color:#111; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
body #about-contact .selected-critical-reviews li span { color:#333; font-size:.9em; }
@media(max-width:700px) { body #about-contact .selected-critical-reviews ul { grid-template-columns:1fr; } }

/* Final shared menu typography override; labels fit the existing compact grid. */
body header nav > a { font-size:clamp(20px,1.35vw,26px) !important; line-height:1.08 !important; font-weight:700 !important; letter-spacing:.035em !important; text-transform:uppercase !important; }
body.home-page header > nav > a { font-size:clamp(20px,1.35vw,26px) !important; text-transform:uppercase !important; }
body header nav > a[href*="exmelab/"] { text-transform:none !important; }
body.lab-body header nav > a[href="../"] { text-transform:none !important; }
body #about-contact .about-copy.bio-full, body #about-contact .about-details { background:rgba(255,255,255,.96) !important; opacity:1 !important; }
