/* Shree Nakoda Uniforms — public site
   Ink navy + the logo's red on warm linen; a faint woven texture ties it to fabric. */

:root {
  --ink: #16213d;
  --ink-2: #24315a;
  --blue: #3d5ca8;
  --blue-d: #2e4a8f;
  --blue-50: #eef2fb;
  --red: #d4242c;
  --linen: #f6f3ec;
  --paper: #fffdf9;
  --white: #ffffff;
  --line: #e6e0d3;
  --text: #2a3147;
  --muted: #646b80;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(22, 33, 61, .06), 0 2px 8px rgba(22, 33, 61, .05);
  --shadow: 0 2px 6px rgba(22, 33, 61, .06), 0 18px 40px -18px rgba(22, 33, 61, .28);
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--ink); line-height: 1.12; letter-spacing: -.015em; }
h1 { font-size: clamp(36px, 5.4vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 20px; }
h1 em, h2 em { font-style: italic; color: var(--blue); font-weight: 500; }
.icon { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.narrow-center { max-width: 760px; text-align: center; }
.narrow-center .hero-actions { justify-content: center; }

/* Woven texture: two fine thread grids. */
.weave, .weave-dark { position: absolute; inset: 0; pointer-events: none; }
.weave {
  background-image:
    repeating-linear-gradient(0deg, rgba(22, 33, 61, .035) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(22, 33, 61, .035) 0 1px, transparent 1px 7px);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.weave-dark {
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 7px);
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow-light { color: #aab9e6; }
.stitch-dot { width: 22px; height: 0; border-top: 2px dashed var(--red); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.65; }
.prose p + p { margin-top: 14px; }
.prose-lg { font-size: 18px; line-height: 1.75; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(22, 33, 61, .7); }
.btn-primary:hover { background: var(--blue); }
.btn-outline { border-color: rgba(22, 33, 61, .2); color: var(--ink); background: rgba(255, 255, 255, .6); }
.btn-outline:hover { border-color: var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--linen); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.round-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; transition: background .2s;
}
.round-btn:hover { background: rgba(255, 255, 255, .1); }
.round-btn[data-dir="-1"] .icon { transform: rotate(180deg); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #c9d2ec; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-contact, .topbar-social { display: flex; align-items: center; gap: 18px; }
.topbar-social span { opacity: .75; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself would make it the
   containing block for the fixed mobile menu, shrinking that menu to the header's height. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 253, 249, .88);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(22, 33, 61, .4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand img { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li > a, .main-nav summary {
  display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--ink); cursor: pointer; list-style: none; transition: background .2s;
}
.main-nav summary::-webkit-details-marker { display: none; }
.main-nav > ul > li > a:hover, .main-nav summary:hover { background: var(--linen); }
.main-nav .is-active { color: var(--blue); }
.main-nav summary .icon { transition: transform .2s; }
.main-nav details[open] summary .icon { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 10px; display: grid; gap: 2px;
  animation: menu-in .18s ease-out;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.menu-wide { grid-template-columns: repeat(2, minmax(220px, 1fr)); min-width: 520px; }
.menu-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--radius-sm); }
.menu-item:hover, .menu-link:hover { background: var(--linen); }
.menu-thumb { width: 48px; height: 48px; border-radius: 10px; background: var(--linen); overflow: hidden; flex-shrink: 0; }
.menu-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.menu-item strong { display: block; color: var(--ink); font-size: 15px; }
.menu-item small { color: var(--muted); font-size: 13px; }
.menu-link { padding: 10px 12px; border-radius: 10px; font-weight: 500; }
.menu-all {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px; padding: 12px; border-radius: var(--radius-sm); background: var(--blue-50); color: var(--blue); font-weight: 600;
}
.nav-toggle, .drawer-head, .drawer-foot, .drawer-scrim { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--linen); overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 { margin: 18px 0 20px; }
.hero-copy .lead { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 38px; margin-top: 40px; padding-top: 28px; border-top: 1px dashed rgba(22, 33, 61, .2); }
.hero-stats dt { font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.hero-stats dd { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

.hero-visual { position: relative; height: clamp(380px, 46vw, 560px); }
.hero-frame {
  position: absolute; margin: 0; overflow: hidden; background: #fff;
  border-radius: 200px 200px 24px 24px; box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-frame-1 { width: 50%; height: 82%; left: 25%; top: 0; z-index: 2; }
.hero-frame-2 { width: 38%; height: 58%; left: 0; bottom: 4%; transform: rotate(-4deg); }
.hero-frame-3 { width: 38%; height: 58%; right: 0; bottom: 10%; transform: rotate(4deg); }
.hero-frame::after { content: ''; position: absolute; inset: 8px; border: 1.5px dashed rgba(255, 255, 255, .7); border-radius: inherit; pointer-events: none; }
.hero-badge {
  position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  background: #fff; padding: 12px 18px 12px 12px; border-radius: 999px; box-shadow: var(--shadow);
}
.hero-badge-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; }
.hero-badge strong { display: block; color: var(--ink); font-size: 15px; }
.hero-badge small { color: var(--muted); font-size: 13px; }

/* ---------- Brand marquee ---------- */
.brand-strip { border-block: 1px solid var(--line); background: #fff; }
.brand-strip-inner { display: flex; align-items: center; gap: 28px; padding-block: 18px; }
.brand-strip-label { flex-shrink: 0; font-size: 13px; font-weight: 600; color: var(--muted); max-width: 110px; line-height: 1.35; }
.marquee { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-logo { display: grid; place-items: center; width: 132px; height: 84px; border-radius: var(--radius-sm); filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.marquee-logo:hover { filter: none; opacity: 1; }
.marquee-logo img { max-height: 76px; width: auto; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(32px, 5vw, 64px) 0; }
.section-linen { background: var(--linen); overflow: hidden; }
.section-ink { background: var(--ink); color: #d6ddf2; overflow: hidden; }
.section-ink h2 { color: #fff; }
.section > .container { position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { margin-top: 10px; max-width: 640px; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.industry-card {
  position: relative; display: block; aspect-ratio: 4 / 3.3; border-radius: var(--radius); overflow: hidden;
  /* Linen behind the photo: some product shots are cut-outs, some on white — this evens them out. */
  background: linear-gradient(180deg, #f3efe6, #e4ddcc); isolation: isolate;
}
.industry-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
.industry-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22, 33, 61, 0) 52%, rgba(22, 33, 61, .55) 74%, rgba(22, 33, 61, .92)); z-index: 0; }
.industry-card:hover img { transform: scale(1.06); }
.industry-body { position: absolute; inset: auto 0 0 0; padding: 22px; color: #fff; display: grid; grid-template-columns: 1fr auto; align-items: end; z-index: 1; }
.industry-count { grid-column: 1; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.industry-name { grid-column: 1; font-family: var(--display); font-size: 28px; font-weight: 600; line-height: 1.1; }
.industry-arrow { grid-column: 2; grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; transition: transform .25s, background .25s, color .25s; }
.industry-card:hover .industry-arrow { transform: rotate(-45deg); background: var(--red); color: #fff; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.product-media { position: relative; aspect-ratio: 4 / 4.6; background: linear-gradient(180deg, #f3efe6, #ebe5d8); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.product-body .eyebrow { font-size: 11px; }
.product-name { font-family: var(--display); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.product-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 600; color: var(--blue); }
.product-link .icon { transition: transform .2s; }
.product-card:hover .product-link .icon { transform: translateX(4px); }

/* Story + features */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story-copy h2 { margin: 12px 0 18px; }
.story-copy p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.feature-list { display: grid; gap: 14px; }
.feature { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.feature:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex-shrink: 0; }
.feature h3 { font-size: 19px; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 15px; }

/* Reviews */
.scroller-nav { display: flex; gap: 10px; }
.review-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.review-scroller::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px; margin: 0;
  padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.review-quote { color: var(--red); }
.review blockquote { font-family: var(--display); font-size: 20px; line-height: 1.45; color: #fff; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, .18); }
.review figcaption img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.review strong { display: block; color: #fff; font-size: 15px; }
.review small { color: #9aa6c8; font-size: 13px; }

/* CTA */
.cta-band { position: relative; background: var(--blue-d); color: #dfe6fa; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .14); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(48px, 6vw, 72px); }
.cta-band h2 { color: #fff; margin: 10px 0 10px; }
.cta-band p { max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; background: var(--linen); padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.page-hero-xl { padding-block: clamp(56px, 8vw, 104px); }
.page-hero h1 { margin: 14px 0 16px; max-width: 900px; }
.page-hero .lead { max-width: 720px; }
.page-hero .container { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--blue); }
.crumbs span:last-child { color: var(--ink); font-weight: 500; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); transition: all .2s;
}
.chip span { font-size: 12px; color: var(--muted); background: var(--linen); padding: 1px 8px; border-radius: 999px; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active span { background: rgba(255, 255, 255, .15); color: #fff; }
.search { position: relative; display: flex; align-items: center; min-width: 260px; }
.search .icon { position: absolute; left: 16px; color: var(--muted); }
.search input { width: 100%; height: 46px; padding: 0 18px 0 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); }
.result-count { margin: 24px 0 18px; color: var(--muted); font-size: 14px; }

.empty { text-align: center; padding: 64px 24px; border: 1.5px dashed var(--line); border-radius: var(--radius); color: var(--muted); display: grid; justify-items: center; gap: 10px; }
.empty .icon { color: var(--blue); }
.empty .btn { margin-top: 10px; }
.empty-inline { display: flex; text-align: left; align-items: center; gap: 20px; padding: 28px; }
.empty-inline > div { flex: 1; }
.empty-inline h3 { margin-bottom: 4px; }
.empty-inline .btn { margin: 0; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.product-gallery { position: sticky; top: 100px; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, #f3efe6, #e9e2d3); aspect-ratio: 4 / 4.6; }
.product-gallery img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: 13px; font-weight: 600; }
.product-info h1 { font-size: clamp(32px, 4vw, 52px); margin: 16px 0 20px; }
.product-info .prose { color: var(--muted); font-size: 17px; line-height: 1.75; }
.ticks { display: grid; gap: 10px; margin: 26px 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.ticks .icon { color: #1f9d55; margin-top: 3px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px dashed var(--line); }

.enquire-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.enquire-split h2 { margin: 12px 0 14px; }
.card { background: #fff; border-radius: 24px; padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.mini-brands { margin-top: 32px; }
.mini-brands p { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.mini-brands div { display: flex; flex-wrap: wrap; gap: 10px; }
.mini-brands a { width: 76px; height: 54px; display: grid; place-items: center; background: #fff; border-radius: 10px; border: 1px solid var(--line); }
.mini-brands img { max-height: 48px; width: auto; }

/* Forms */
.enquiry-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-50); background: #fff; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); max-width: 260px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.alert-success { background: #e8f6ee; color: #146c3c; }
.alert-error { background: #fdecec; color: #a1161d; }

/* Brands */
.brand-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.brand-hero h1 { font-size: clamp(34px, 4.6vw, 56px); }
.brand-logo-card { background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 24px; aspect-ratio: 1.2; display: grid; place-items: center; }
.brand-logo-card img { max-height: 100%; width: auto; }
.catalogue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.catalogue-card {
  display: grid; gap: 14px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.catalogue-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.catalogue-icon { width: 52px; height: 52px; border-radius: 14px; background: #fdecec; color: var(--red); display: grid; place-items: center; }
.catalogue-title { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.catalogue-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--line); }
.catalogue-card:hover .catalogue-meta { color: var(--blue); }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.brand-card { display: grid; justify-items: center; gap: 8px; padding: 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: box-shadow .25s, transform .25s; }
.brand-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.brand-card img { height: 90px; width: auto; }
.brand-list { display: grid; gap: 14px; }
.brand-row { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.brand-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.brand-row-logo { display: grid; place-items: center; background: var(--linen); border-radius: 16px; aspect-ratio: 1.3; padding: 10px; }
.brand-row-logo img { max-height: 120px; width: auto; }
.brand-row-body { display: grid; gap: 6px; }
.brand-row-body strong { font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); }
.brand-row-body > span { color: var(--muted); }
.brand-row-body small { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--blue); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: sticky; top: 100px; }
.about-stats div { padding: 22px; border-radius: var(--radius); background: var(--linen); }
.about-stats strong { display: block; font-family: var(--display); font-size: 36px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.about-stats span { font-size: 14px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split h2 { margin: 12px 0 14px; }
.loom-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.loom-list li { display: flex; align-items: center; gap: 14px; padding: 20px; background: #fff; border-radius: var(--radius); font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.loom-list span { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.sector-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.sector-cloud li { padding: 12px 20px; border-radius: 999px; border: 1.5px dashed rgba(22, 33, 61, .2); font-weight: 600; color: var(--ink); }

/* Contact */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office-card { display: flex; flex-direction: column; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.office-card h2 { font-size: 28px; }
.office-tag { color: var(--muted); margin: 4px 0 20px; }
.office-lines { display: grid; gap: 12px; }
.office-lines li { display: flex; gap: 12px; align-items: flex-start; }
.office-lines .icon { color: var(--blue); margin-top: 3px; }
.office-lines a:hover { color: var(--blue); }
.office-people { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.person { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 10px 16px 10px 10px; border-radius: 999px; background: var(--linen); transition: background .2s; }
.person:hover { background: var(--blue-50); }
.person span { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.person strong { color: var(--ink); font-size: 14px; }
.person small { color: var(--muted); font-size: 13px; }
.office-map { width: 100%; height: 220px; border: 0; border-radius: var(--radius-sm); margin-top: auto; background: var(--linen); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: #aab4d3; overflow: hidden; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.4fr; gap: 40px; padding-block: clamp(48px, 6vw, 80px) 40px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 18px; }
.footer-logo img { height: 44px; width: auto; }
.footer-about p { font-size: 15px; max-width: 360px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; color: #fff; transition: background .2s; }
.footer-social a:hover { background: rgba(255, 255, 255, .1); }
.site-footer h3 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-office { display: grid; gap: 4px; font-size: 14px; margin-bottom: 18px; }
.footer-office strong { color: #fff; font-size: 15px; }
.footer-office span { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }

.whatsapp-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(18, 140, 70, .6); transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.06); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { gap: 12px; }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  }
  /* Off-canvas drawer from the right, over a dimmed page. */
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(86vw, 380px);
    flex-direction: column; align-items: stretch; gap: 18px; padding: 0 20px calc(24px + env(safe-area-inset-bottom));
    background: var(--paper); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s .3s, box-shadow .3s;
  }
  .main-nav.is-open { transform: none; visibility: visible; transition-delay: 0s; box-shadow: -24px 0 60px -20px rgba(22, 33, 61, .45); }
  .drawer-scrim {
    display: block; position: fixed; inset: 0; z-index: 65; background: rgba(22, 33, 61, .5);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s;
  }
  .main-nav.is-open + .drawer-scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
  .drawer-head {
    position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between;
    margin: 0 -20px; padding: 14px 20px; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .drawer-head img { height: 40px; width: auto; }
  .drawer-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
  .drawer-foot { display: grid; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
  .drawer-contact { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
  .drawer-contact .icon { color: var(--blue); }
  .drawer-social { display: flex; gap: 10px; }
  .drawer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a, .main-nav summary { padding: 15px 2px; font-size: 17px; border-radius: 0; justify-content: space-between; }
  .main-nav > ul > li > a:hover, .main-nav summary:hover { background: none; }
  .menu, .menu-wide { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 14px; grid-template-columns: 1fr; animation: none; background: transparent; }
  .menu-item { padding: 6px 4px; }
  .menu-thumb { width: 42px; height: 42px; }
  .nav-cta { min-height: 52px; }
  body.nav-open { overflow: hidden; }

  /* minmax(0, 1fr), not 1fr: a plain 1fr column grows to its longest word (an email) and pushes past the screen. */
  .hero-grid, .story, .product-detail, .enquire-split, .brand-hero, .about-grid, .split, .office-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { height: 420px; max-width: 560px; width: 100%; margin: 0 auto; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .review-scroller { grid-auto-columns: calc((100% - 20px) / 2); }
  .product-gallery, .about-stats { position: static; }
  .product-gallery { max-width: 560px; }
  .brand-logo-card { max-width: 360px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  /* Finger-sized hit areas for the small links. */
  .topbar-inner { min-height: 44px; }
  .topbar-contact a { min-height: 44px; }
  .topbar-social { gap: 0; }
  .topbar-social a { width: 44px; height: 44px; justify-content: center; }
  .link-arrow { min-height: 44px; }
  .site-footer ul { gap: 0; }
  .site-footer ul a, .footer-office span a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 40px; }
  .footer-office > a { padding-block: 6px; }
  .footer-social a { width: 44px; height: 44px; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
  .office-lines a, .footer-office a, .drawer-contact { overflow-wrap: anywhere; }
  .office-lines li { min-height: 40px; align-items: center; }
  .about-stats div { padding: 16px; }
  .about-stats strong { font-size: 28px; }
  .loom-list li { padding: 14px; gap: 10px; font-size: 15px; }
  .brand img { height: 44px; }
  .header-inner { min-height: 68px; }
  .hero-visual { height: 340px; }
  .hero-badge { padding: 10px 14px 10px 10px; }
  .hero-badge small { display: none; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats dt { font-size: 22px; }
  .hero-stats dd { font-size: 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .scroller-nav { display: none; }
  .industry-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .industry-card { aspect-ratio: 3 / 4; }
  .industry-body { padding: 14px; grid-template-columns: 1fr; }
  .industry-name { font-size: 20px; }
  .industry-count { font-size: 11px; }
  .industry-arrow { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-body { padding: 12px 12px 14px; }
  .product-name { font-size: 16px; }
  .product-link { font-size: 13px; }
  .review-scroller { grid-auto-columns: 86%; }
  .brand-strip-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .brand-strip-label { max-width: none; text-align: center; }
  .field-row { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  /* nowrap: a wrapping column flexbox sizes each line to its content, so the chip row would run 900px wide. */
  .toolbar { flex-direction: column; align-items: stretch; flex-wrap: nowrap; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .search { min-width: 0; }
  .detail-actions .btn { flex: 1 1 100%; }
  .brand-row { grid-template-columns: 1fr; gap: 14px; }
  .brand-row-logo { aspect-ratio: 2.2; }
  .empty-inline { flex-direction: column; text-align: center; }
  .about-stats, .loom-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .whatsapp-fab { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
