/* Manjusha Elastics — public site
   Navy and red from the logo; Archivo (condensed for display) with IBM Plex Mono labels. */

:root {
  --ink:        #0e1838;
  --ink-2:      #2b3450;
  --body:       #444c63;
  --muted:      #5a6178;
  --line:       #e3e6ee;
  --line-2:     #d6dbe6;
  --field:      #c9cfdc;
  --soft:       #f3f5f9;
  --white:      #ffffff;
  --accent:     #c8101e;
  --accent-dk:  #a30d18;
  --on-navy:    #c3cadb;
  --on-navy-2:  #aab3c8;
  --navy-line:  #2a3863;
  --accent-on-navy: #ff6b75;

  --font:  "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, monospace;
  --radius: 6px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.section-title {
  margin: 0; font-size: clamp(2rem, 1.2rem + 2.6vw, 3rem); line-height: 1.05;
  font-weight: 800; font-stretch: 80%; letter-spacing: -.005em;
}
.section-title--sm { font-size: 2rem; margin-bottom: 28px; }
.lead { font-size: 1.1rem; line-height: 1.65; color: var(--body); margin: 20px 0 0; max-width: 560px; }
.prose p { font-size: 1.06rem; line-height: 1.7; color: var(--body); margin: 18px 0 0; }
.prose p:first-child { margin-top: 28px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 22px; border-radius: 4px; border: 1px solid var(--accent);
  background: var(--accent); color: #fff; font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; transition: background .15s ease;
}
.btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--field); }
.btn--ghost:hover { background: var(--soft); color: var(--ink); border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--ink); color: var(--on-navy); font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; align-items: center; padding-block: 9px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__contact, .topbar__note { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.topbar__note .mono { color: var(--on-navy-2); }
.topbar__tagline { color: #fff; font-weight: 700; letter-spacing: .04em; }

.masthead { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.masthead .wrap { display: flex; align-items: center; gap: 16px 40px; padding-block: 14px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
/* Explicit height: the logo SVG has only a viewBox, so with max-height alone it collapses to 0×0 in the flex row. */
.brand img { height: 48px; width: auto; display: block; }
.brand-text { font-weight: 800; font-size: 20px; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px 28px; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 10px 0; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line);
    border-radius: 4px; background: var(--white); cursor: pointer;
  }
  .nav-toggle span[aria-hidden] { display: block; height: 2px; background: var(--ink); border-radius: 1px; }
  .masthead .wrap { flex-wrap: wrap; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 12px; margin: 0; padding-bottom: 8px; }
  .nav[data-open="true"] { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- carousel ---------- */
.carousel { position: relative; height: clamp(260px, 42vw, 560px); overflow: hidden; background: var(--ink); }
.carousel__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transform: scale(1); transition: opacity 1.2s ease, transform 6s ease-out;
}
.carousel__slide.is-active { opacity: 1; transform: scale(1.06); }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(14, 24, 56, .72); color: #fff; display: flex; align-items: center; justify-content: center;
}
.carousel__btn:hover { background: rgba(14, 24, 56, .92); }
.carousel__btn--prev { left: 24px; }
.carousel__btn--next { right: 24px; }
.carousel__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 2px; }
.carousel__dots button { width: 44px; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carousel__dots span { display: block; width: 10px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .55); transition: width .3s ease; }
.carousel__dots [aria-current="true"] span { width: 28px; background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .carousel__slide, .carousel__slide.is-active { transition: none; transform: none; }
}
@media (max-width: 600px) {
  .carousel__btn { display: none; }
}

/* ---------- hero ---------- */
.hero { background: var(--soft); }
.hero__inner { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: flex-end; padding-block: 80px 88px; }
.hero__head { flex: 1 1 560px; min-width: 0; }
.hero__body { flex: 1 1 420px; min-width: 0; }
.hero__title {
  margin: 0; font-size: clamp(2.6rem, 1.4rem + 4.2vw, 4.75rem); line-height: 1;
  font-weight: 800; font-stretch: 80%; letter-spacing: -.01em;
}
.hero__body .lead { margin-top: 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 44px 0 0; padding-top: 28px; border-top: 1px solid var(--line-2); max-width: 540px; }
.stats__value { font-size: 1.85rem; font-weight: 800; font-stretch: 80%; line-height: 1.1; }
.stats__label { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.stats > div { display: flex; flex-direction: column; }
.tape { height: 10px; background: repeating-linear-gradient(90deg, var(--ink) 0 48px, var(--accent) 48px 60px, #fff 60px 64px); }

/* ---------- clients strip ---------- */
.clients { border-bottom: 1px solid var(--line); }
.clients__inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; padding-block: 36px; }
.clients__label { flex: 0 0 190px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.clients__logos { flex: 1 1 600px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
.clients__logos img { height: 44px; width: 72px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.clients__logos img:hover { filter: none; opacity: 1; }

/* ---------- sections ---------- */
.section { padding-block: 96px; scroll-margin-top: 80px; }
.section--soft { background: var(--soft); }
.section--ruled { border-top: 1px solid var(--line); padding-block: 80px; }
.section--navy { background: var(--ink); color: #fff; }
.section--navy .eyebrow { color: var(--accent-on-navy); }
.section--navy .lead { color: var(--on-navy); }
.section > .wrap > .section-title { margin-bottom: 40px; }
.section-intro { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.section-intro .muted { margin: 0; max-width: 420px; line-height: 1.6; }
#top, #clients { scroll-margin-top: 80px; }

/* ---------- products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.product-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.product-card:hover { color: var(--ink); border-color: var(--ink); box-shadow: 0 6px 20px rgba(14, 24, 56, .08); }
.product-card img, .product-card__noimg { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--soft); }
.product-card__body { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px 20px; }
.product-card__body svg { flex-shrink: 0; transition: transform .15s ease; }
.product-card:hover .product-card__body svg { transform: translateX(3px); color: var(--accent); }
.product-card__title { display: block; font-size: 19px; font-weight: 700; }
.product-card__desc { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- capabilities ---------- */
.capabilities { display: flex; flex-wrap: wrap; gap: 56px; }
.capabilities__intro { flex: 1 1 380px; min-width: 0; }
.grades {
  flex: 1 1 620px; min-width: 0; list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
  background: var(--navy-line); border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden;
}
.grades li { background: var(--ink); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.grades .mono { color: var(--on-navy-2); }
.grades strong { font-size: 22px; }
.industries {
  flex: 1 1 100%; list-style: none; margin: 0; padding: 40px 0 0; border-top: 1px solid var(--navy-line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.industries strong { display: block; font-size: 18px; }
.industries span { display: block; font-size: 15px; color: var(--on-navy-2); margin-top: 6px; line-height: 1.5; }
@media (max-width: 520px) { .grades { grid-template-columns: minmax(0, 1fr); } }

/* ---------- about ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.split__main { flex: 1 1 520px; min-width: 0; }
.promise { flex: 1 1 380px; min-width: 0; background: var(--soft); border-radius: var(--radius); padding: 40px; }
.promise > .mono { margin: 0; }
.promise__text { margin: 14px 0 0; font-size: 2.5rem; line-height: 1.15; font-weight: 800; font-stretch: 80%; }
.promise__text span { display: block; }
.promise__facts { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.promise__facts dt { font-size: 14px; color: var(--muted); }
.promise__facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 700; }

/* ---------- certificates ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.cert {
  display: flex; gap: 18px; align-items: center; padding: 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
}
a.cert:hover { border-color: var(--ink); color: var(--ink); }
a.cert:hover svg { color: var(--accent); }
.cert svg { flex-shrink: 0; }
.cert strong { display: block; font-size: 17px; }
.cert .muted { display: block; font-size: 14px; margin-top: 4px; }

/* ---------- testimonials ---------- */
.quotes { display: flex; flex-wrap: wrap; gap: 48px; }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.quote__logo { height: 40px; width: 72px; object-fit: contain; object-position: left center; }
.quote--lead .quote__logo { height: 56px; width: 110px; }
.quote--lead { flex: 1 1 520px; min-width: 0; }
.quote--lead blockquote { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.15rem); line-height: 1.3; font-weight: 600; font-stretch: 90%; }
.quote--lead figcaption { margin-top: 24px; font-size: 15px; }
.quotes__rest { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.quotes__rest .quote { border-top: 1px solid var(--line); padding-top: 20px; }
.quotes__rest blockquote { font-size: 17px; line-height: 1.6; color: var(--ink-2); }

/* ---------- team ---------- */
.team { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.member { display: flex; gap: 14px; align-items: center; }
.member__photo {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; object-fit: cover;
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
}
.member strong { display: block; font-size: 16px; }
.member .muted { display: block; font-size: 14px; margin-top: 2px; }
.member__phone { display: inline-block; font-size: 14px; margin-top: 4px; color: var(--ink); }

/* ---------- contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__info { flex: 1 1 380px; min-width: 0; }
.contact__list { margin: 40px 0 0; display: flex; flex-direction: column; gap: 24px; }
.contact__list dt { color: var(--muted); }
.contact__list dd { margin: 4px 0 0; line-height: 1.7; }
.enquiry {
  flex: 1 1 560px; min-width: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px;
  align-self: flex-start;
}
.enquiry label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.enquiry input, .enquiry select, .enquiry textarea {
  font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; color: var(--ink);
  border: 1px solid var(--field); border-radius: 4px; background: var(--white); width: 100%;
}
.enquiry textarea { resize: vertical; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.enquiry__wide, .enquiry .notice { grid-column: 1 / -1; }
.enquiry__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.enquiry__foot .muted { font-size: 14px; }
@media (max-width: 600px) {
  .enquiry { grid-template-columns: minmax(0, 1fr); padding: 24px; }
}

.notice { margin: 0; padding: 14px 16px; border-radius: 4px; font-size: 15px; }
.notice--ok  { background: #e3f6e8; color: #14532d; border: 1px solid #8fd3a4; }
.notice--bad { background: #fde5e7; color: #7f1d1d; border: 1px solid #f3a6ac; }

.map { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--radius); margin-top: 56px; background: var(--line); }
@media (max-width: 600px) { .map { height: 300px; margin-top: 40px; } }

/* ---------- product page ---------- */
.page { padding-block: 32px 96px; }
.page > .section-title { margin-bottom: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.pdp { display: flex; flex-wrap: wrap; gap: 56px; margin-top: 32px; align-items: flex-start; }
.pdp__gallery { flex: 1 1 520px; min-width: 0; }
.pdp__main { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); display: block; background: var(--soft); }
.pdp__thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.pdp__thumbs button { width: 96px; height: 96px; padding: 0; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); cursor: pointer; }
.pdp__thumbs button[aria-current="true"] { border-color: var(--accent); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__info { flex: 1 1 460px; min-width: 0; }
.pdp__info .eyebrow { margin-bottom: 0; }
.pdp__title { margin: 12px 0 0; font-size: clamp(2.5rem, 1.6rem + 3vw, 3.75rem); line-height: 1.02; font-weight: 800; font-stretch: 80%; }
.pdp__info > .muted { margin: 28px 0 0; line-height: 1.6; }
.specs { margin: 32px 0 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.assure { margin: 32px 0 0; background: var(--soft); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.assure svg { flex-shrink: 0; margin-top: 1px; }
.related { margin-top: 96px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-navy); font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px 64px; padding-block: 64px 40px; }
.footer-grid > div:first-child { flex: 1 1 300px; }
.footer-grid > nav { flex: 0 1 200px; }
.footer-grid > div:last-child { flex: 1 1 260px; line-height: 1.7; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid p { margin: 0 0 8px; }
.footer-logo { height: 52px; width: auto; display: block; }
.footer-tagline { margin-top: 20px !important; color: #fff; font-weight: 700; letter-spacing: .04em; }
.footer-blurb { max-width: 340px; line-height: 1.6; }
.footer-head { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-on-navy); margin-bottom: 14px !important; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; border-top: 1px solid var(--navy-line); padding-block: 24px 32px; font-size: 13px; color: var(--on-navy-2); }
.footer-bottom a { color: var(--on-navy-2); }

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .section { padding-block: 64px; }
  .hero__inner { padding-block: 48px 56px; }
  .stats { gap: 16px; }
  .stats__value { font-size: 1.4rem; }
  .promise { padding: 28px; }
}
