/* =========================================================
   Noor Safety Building Materials — Global Stylesheet
   Brand-aligned, minimal, luxury-leaning design system
   ========================================================= */

/* -------- Design Tokens ---------------------------------- */
:root {
  /* Brand — Teal scale */
  --teal-deep: #003D4D;
  --teal-dark: #005B72;
  --teal: #007896;          /* Noor Teal — primary brand */
  --teal-soft: #3A97AD;
  --teal-muted: #7BBECB;
  --teal-pale: #B0D8E0;
  --teal-whisper: #D4ECF0;
  --teal-ice: #EAF5F7;

  /* Neutrals — warm, not cold */
  --charcoal: #1A1E23;
  --graphite: #2E3338;
  --slate: #4A4F54;
  --pewter: #7A7E82;
  --warm-grey: #B5B3AE;
  --sand: #D8D4CE;
  --parchment: #EDEBE7;
  --ivory: #F7F6F3;
  --white: #FFFFFF;

  /* Supporting accents */
  --petrol: #1B5E6B;
  --sage: #4D8A8F;

  /* Semantic */
  --bg: var(--ivory);
  --bg-alt: var(--white);
  --bg-tint: var(--teal-ice);
  --text: var(--charcoal);
  --text-muted: var(--slate);
  --text-subtle: var(--pewter);
  --rule: var(--sand);
  --rule-soft: var(--parchment);
  --accent: var(--teal);
  --accent-deep: var(--teal-deep);

  /* Typography */
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Spacing scale (8px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --s-11: 160px;

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Type scale */
  --fs-display: clamp(40px, 7vw, 76px);
  --fs-h1: clamp(32px, 5vw, 52px);
  --fs-h2: clamp(26px, 3.5vw, 36px);
  --fs-h3: 20px;
  --fs-h4: 17px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-eyebrow: 11px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-1: 180ms;
  --dur-2: 320ms;
  --dur-3: 600ms;

  /* UI */
  --header-h: 120px;
  --radius: 2px;
  --radius-md: 6px;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-1) var(--ease);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

::selection { background: var(--teal-pale); color: var(--teal-deep); }

/* -------- Typography ------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--charcoal);
  margin: 0;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
}

.eyebrow--muted { color: var(--text-subtle); }

.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.display em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}

h1 { font-size: var(--fs-h1); font-weight: 500; }
h2 { font-size: var(--fs-h2); font-weight: 500; color: var(--teal-dark); }
h3 { font-size: var(--fs-h3); font-weight: 500; color: var(--petrol); letter-spacing: 0; }
h4 { font-size: var(--fs-h4); font-weight: 600; color: var(--charcoal); letter-spacing: 0; }

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 64ch;
}

.muted { color: var(--text-muted); }
.subtle { color: var(--text-subtle); }

/* -------- Layout primitives ------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-block: clamp(64px, 10vw, 128px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--charcoal); color: var(--parchment); }
.section--dark h1, .section--dark h2 { color: var(--white); }
.section--dark h3 { color: var(--teal-muted); }

.divider {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

.stack > * + * { margin-top: var(--s-4); }
.stack-sm > * + * { margin-top: var(--s-3); }
.stack-lg > * + * { margin-top: var(--s-6); }

.grid {
  display: grid;
  gap: var(--s-6);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

@media (min-width: 768px) {
  .grid { gap: var(--s-7); }
}

/* -------- Buttons ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}
.btn--primary:hover { background: var(--teal-deep); }

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--ghost:hover { background: var(--charcoal); color: var(--white); }

.btn--quiet {
  padding: 8px 0;
  background: transparent;
  color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  border-radius: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
}
.btn--quiet:hover { color: var(--accent); border-color: var(--accent); }

.btn .arrow {
  width: 14px; height: 14px;
  transition: transform var(--dur-1) var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* -------- Header / Navigation ---------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 243, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--rule);
  background: rgba(247, 246, 243, 0.94);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  height: var(--header-h);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-shrink: 0;
}

.nav__logo {
  height: 80px;
  width: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--s-7);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  padding: 6px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--dur-2) var(--ease);
}

.nav__link:hover { color: var(--accent); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--accent); }

.nav__cta { display: flex; align-items: center; gap: var(--s-4); }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: background var(--dur-1) var(--ease);
}

.nav__toggle:hover { background: var(--parchment); }

.nav__toggle .bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease);
}

.nav__toggle .bar + .bar { margin-top: 6px; }

body.menu-open .nav__toggle .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .nav__toggle .bar:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__toggle { display: inline-flex; }
  .nav__list, .nav__cta {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-5);
    padding: var(--s-7) var(--gutter);
    background: var(--ivory);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
    border-top: 1px solid var(--rule);
  }
  .nav__cta {
    inset: auto 0 0 0;
    top: auto;
    border-top: 0;
    padding-top: 0;
    padding-bottom: var(--s-7);
  }
  body.menu-open .nav__list,
  body.menu-open .nav__cta {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  body.menu-open { overflow: hidden; }
  .nav__link { font-size: 22px; padding: 8px 0; }
}

/* -------- Hero ------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0 clamp(64px, 8vw, 112px);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: var(--s-7);
  max-width: 1100px;
}

.hero__title {
  margin: 0;
}

.hero__lead {
  max-width: 56ch;
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--text-muted);
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-3);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-7);
  padding-top: var(--s-7);
  margin-top: var(--s-3);
  border-top: 1px solid var(--rule);
}

.hero__meta-item {
  flex: 1 1 180px;
}

.hero__meta-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: var(--s-2);
}

.hero__meta-value {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
}

/* -------- Section header pattern ------------------------- */
.section-head {
  display: grid;
  gap: var(--s-5);
  max-width: 720px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head__title { font-size: var(--fs-h2); }

/* -------- Cards ------------------------------------------ */
.card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  padding: var(--s-6) var(--s-6);
  transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}

.card:hover {
  border-color: var(--teal-pale);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -22px rgba(0, 61, 77, 0.18);
}

.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--s-5);
  color: var(--accent);
}

.card__icon svg { width: 100%; height: 100%; }

.card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--s-3);
  letter-spacing: 0;
}

.card__body {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.card__list {
  margin: var(--s-5) 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card__list li {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--slate);
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--ivory);
}

/* -------- Feature grid (about / values) ------------------ */
.feature {
  padding: var(--s-6) 0 0;
  border-top: 1px solid var(--rule);
}

.feature__index {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-subtle);
  margin-bottom: var(--s-4);
}

.feature__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: var(--s-3);
}

.feature__body {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* -------- Two-column intro / split ----------------------- */
.split {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

@media (min-width: 880px) {
  .split { grid-template-columns: 1fr 1.2fr; }
  .split--reverse > :first-child { order: 2; }
}

.split__title { font-size: var(--fs-h2); }

/* -------- Team ------------------------------------------- */
.team-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}

@media (min-width: 720px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

.member {
  display: grid;
  gap: var(--s-5);
}

.member__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--parchment);
  border-radius: var(--radius-md);
  filter: saturate(0.92) contrast(1.02);
  transition: filter var(--dur-3) var(--ease);
}

.member:hover .member__photo { filter: saturate(1) contrast(1.04); }

.member__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  margin: 0;
}

.member__role {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: var(--s-1) 0 var(--s-3);
}

.member__bio {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.member__contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-5);
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  font-size: 14px;
}

.member__contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--charcoal);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}

.member__contact a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.member__contact svg { width: 14px; height: 14px; flex-shrink: 0; }

/* -------- Contact ---------------------------------------- */
.contact-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 48px);
  background: var(--white);
  transition: border-color var(--dur-2) var(--ease);
}

.contact-card:hover { border-color: var(--teal-pale); }

.contact-card__role {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
}

.contact-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: var(--s-5);
}

.contact-list {
  display: grid;
  gap: var(--s-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--s-3);
  align-items: center;
  font-size: 15px;
}

.contact-list a {
  color: var(--charcoal);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}

.contact-list a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contact-list svg { width: 18px; height: 18px; color: var(--text-subtle); }

/* -------- CTA strip -------------------------------------- */
.cta-strip {
  background: var(--charcoal);
  color: var(--parchment);
  padding: clamp(56px, 8vw, 96px) 0;
}

.cta-strip__inner {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}

@media (min-width: 880px) {
  .cta-strip__inner {
    grid-template-columns: 1fr auto;
    gap: var(--s-8);
  }
}

.cta-strip h2 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

.cta-strip__lead {
  color: var(--teal-muted);
  font-size: 15px;
  margin-top: var(--s-3);
  max-width: 56ch;
}

.cta-strip .btn--primary { background: var(--teal-muted); color: var(--charcoal); }
.cta-strip .btn--primary:hover { background: var(--white); }

/* -------- Footer ----------------------------------------- */
.site-footer {
  background: var(--charcoal);
  color: var(--parchment);
  padding: clamp(72px, 8vw, 112px) 0 var(--s-7);
}

.footer__grid {
  display: grid;
  gap: var(--s-7);
}

@media (min-width: 720px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: var(--s-8);
  }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

.footer__logo { height: 72px; width: auto; }

.footer__about {
  color: var(--warm-grey);
  font-size: 14px;
  line-height: 1.7;
  max-width: 38ch;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-muted);
  margin-bottom: var(--s-5);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-3);
  font-size: 14px;
}

.footer__list a, .footer__list span {
  color: var(--parchment);
  transition: color var(--dur-1) var(--ease);
}

.footer__list a:hover { color: var(--white); }

.footer__bottom {
  margin-top: clamp(56px, 6vw, 80px);
  padding-top: var(--s-5);
  border-top: 1px solid #2A3036;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  font-size: 12px;
  color: var(--pewter);
  letter-spacing: 0.04em;
}

/* -------- Hero accent (subtle backdrop element) ---------- */
.hero-accent {
  position: absolute;
  inset: auto auto -120px -160px;
  width: 540px;
  height: 540px;
  background:
    radial-gradient(closest-side, var(--teal-ice), transparent 70%);
  pointer-events: none;
  opacity: 0.85;
  z-index: -1;
}

.hero-accent--right {
  inset: -120px -160px auto auto;
}

/* -------- Reveal animation ------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* -------- Misc utilities --------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }
.no-wrap { white-space: nowrap; }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  padding-left: 32px;
  position: relative;
  margin-bottom: var(--s-5);
}

.kicker::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 22px;
  height: 1px;
  background: var(--accent);
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--charcoal);
  color: var(--white);
  padding: 12px 20px;
  font-size: 14px;
  z-index: 100;
  transition: top var(--dur-1) var(--ease);
}

.skip-link:focus { top: 0; }

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =========================================================
   Site-wide background watermark (Option A — Sprinkler Rosette)
   Uses a fixed pseudo-element so it does not scroll, sits below
   all content, and never intercepts pointer events.
   ========================================================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("/assets/watermark.svg");
  background-repeat: repeat;
  background-size: 220px 220px;
  opacity: 0.55;
}

/* Ensure surfaces with their own background occlude the watermark cleanly */
.cta-strip,
.site-footer,
.site-header,
.section--tint { position: relative; z-index: 0; }

/* =========================================================
   Products — image-led grid + lightbox modal
   ========================================================= */
.product-cat {
  margin-top: clamp(48px, 7vw, 88px);
}
.product-cat:first-of-type { margin-top: 0; }

.product-cat__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-5);
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--rule);
}
.product-cat__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  letter-spacing: -0.005em;
  color: var(--charcoal);
  margin: 0;
}
.product-cat__count {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
@media (min-width: 600px)  { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(5, 1fr); } }

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  padding: 0;
  transition:
    transform var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease),
    box-shadow var(--dur-2) var(--ease);
}
.product:hover,
.product:focus-visible {
  transform: translateY(-3px);
  border-color: var(--teal-pale);
  box-shadow: 0 14px 30px -22px rgba(0, 60, 75, 0.35);
}
.product:focus-visible { outline: none; }

.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--ivory);
  overflow: hidden;
}
.product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14%;
  transition: transform var(--dur-3) var(--ease), filter var(--dur-3) var(--ease);
  filter: saturate(0.95);
}
.product:hover .product__media img,
.product:focus-visible .product__media img {
  transform: scale(1.06);
  filter: saturate(1);
}

.product__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  display: grid;
  place-items: center;
  color: var(--teal);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.product:hover .product__zoom,
.product:focus-visible .product__zoom { opacity: 1; transform: scale(1); }
.product__zoom svg { width: 14px; height: 14px; }

.product__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  padding: 14px 16px 16px;
  margin: 0;
  border-top: 1px solid var(--rule-soft);
  background: var(--white);
}

/* Lightbox modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px);
  background: rgba(20, 24, 28, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--dur-2) var(--ease);
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox__panel {
  background: var(--white);
  border-radius: var(--radius-md);
  max-width: 880px;
  width: 100%;
  max-height: 88vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transform: translateY(12px) scale(0.985);
  opacity: 0;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-2) var(--ease);
}
.lightbox.is-open .lightbox__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}
@media (min-width: 720px) {
  .lightbox__panel { grid-template-columns: 1.05fr 1fr; }
}
.lightbox__media {
  background: var(--ivory);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 6%;
}
.lightbox__media img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__body {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  overflow-y: auto;
}
.lightbox__cat {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.lightbox__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--charcoal);
  margin: 0;
  line-height: 1.2;
}
.lightbox__desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--rule);
  color: var(--charcoal);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.lightbox__close:hover { background: var(--charcoal); color: var(--white); }
.lightbox__close svg { width: 16px; height: 16px; }

body.is-locked { overflow: hidden; }

/* =========================================================
   Team — refined: smaller photos, side-by-side card layout
   ========================================================= */
.team-grid--refined {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .team-grid--refined { grid-template-columns: repeat(2, 1fr); }
}

.member--refined {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: clamp(20px, 2.4vw, 28px);
  align-items: start;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  transition:
    transform var(--dur-2) var(--ease),
    border-color var(--dur-2) var(--ease),
    box-shadow var(--dur-2) var(--ease);
}
@media (min-width: 480px) {
  .member--refined { grid-template-columns: 168px 1fr; }
}
.member--refined:hover {
  transform: translateY(-3px);
  border-color: var(--teal-pale);
  box-shadow: 0 18px 36px -26px rgba(0, 60, 75, 0.30);
}

.member--refined .member__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  filter: saturate(0.92) contrast(1.02);
  transition: filter var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
}
.member--refined:hover .member__photo {
  filter: saturate(1) contrast(1.05);
  transform: scale(1.02);
}

.member--refined .member__name { font-size: 19px; }
.member--refined .member__role { font-size: 11px; margin: 4px 0 12px; }
.member--refined .member__bio  { font-size: 14px; line-height: 1.65; }
.member--refined .member__contact { margin-top: var(--s-3); padding-top: var(--s-3); }

/* =========================================================
   Contact — address block + map embed
   ========================================================= */
.location-block {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .location-block { grid-template-columns: 1fr 1.1fr; align-items: start; }
}

.address-card {
  background: var(--white);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  padding: clamp(28px, 3.5vw, 40px);
  display: grid;
  gap: var(--s-5);
}

.address-card__row { display: grid; gap: 6px; }
.address-card__label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.address-card__value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.55;
}
.address-card__value .muted-line {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 2px;
}

.map-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--rule-soft);
  background: var(--ivory);
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.map-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -26px rgba(0, 60, 75, 0.30);
}
.map-link img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-3) var(--ease), filter var(--dur-3) var(--ease);
}
.map-link:hover img { transform: scale(1.03); }

.map-link__pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 999px;
  padding: 9px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--charcoal);
  box-shadow: 0 6px 18px -10px rgba(0,0,0,0.25);
}
.map-link__pill svg { width: 13px; height: 13px; color: var(--accent); }
