@import url("../fonts/site-fonts.css");

:root {
  --bg: #ffffff;
  --surface: #f4f4f2;
  --ink: #111111;
  --muted: #5d6066;
  --line: #e4e4e0;
  --accent: #c4161c;
  --accent-ink: #ffffff;
  --warn: #9a5b00;
  --radius: 2px;
  --wrap: 1180px;
  --font: "IBM Plex Sans", "IBM Plex Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); position: sticky; top: 0; z-index: 20;
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.brand::before { content: ""; width: 10px; height: 10px; background: var(--accent); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.lang { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 6px 8px; font-size: 14px; }
@media (max-width: 720px) {
  .site-header .wrap { gap: 12px; height: 56px; }
  .nav { gap: 14px; }
  .nav .hide-sm { display: none; }
  .brand { font-size: 16px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 1px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink);
  font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #a31015; border-color: #a31015; }
.btn.ghost { border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- catalogue ---------- */
.hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 24px; max-width: 16ch; }
.hero p { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 58ch; margin: 0 0 32px; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
:lang(hi) .eyebrow, :lang(mr) .eyebrow { letter-spacing: .02em; font-size: 13px; }

.family { padding: 64px 0 8px; }
.family-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; border-top: 1px solid var(--ink); padding-top: 14px; }
.family-head .idx { font-size: 13px; color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.family-head h2 { margin: 0; font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -0.015em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 32px 24px; }
.card { display: flex; flex-direction: column; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.card .ph { aspect-ratio: 4 / 3; background: var(--surface); display: grid; place-items: center; overflow: hidden; margin-bottom: 14px; }
.card .ph img { width: 86%; height: 86%; object-fit: contain; transition: transform .35s ease; }
.card:hover .ph img { transform: scale(1.03); }
.card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.card .note { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.card .meta .price { font-weight: 600; }
.card .meta .go { color: var(--accent); font-weight: 500; }
.tag { display: inline-block; font-size: 12px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); }

.band { margin-top: 88px; padding: 64px 0; background: var(--ink); color: #fff; }
.band h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.02em; font-weight: 600; margin: 0 0 12px; }
.band p { color: #c9c9c9; max-width: 56ch; margin: 0 0 28px; }
.band .btn { border-color: #fff; color: #fff; background: transparent; }
.band .btn:hover { background: #fff; color: var(--ink); }
.band .btn.primary { background: var(--accent); border-color: var(--accent); }

.industries { padding: 56px 0; }
.industries p { margin: 0; color: var(--muted); max-width: 80ch; }

/* ---------- product dialog ---------- */
dialog { border: 0; padding: 0; max-width: min(980px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px);
  border-radius: var(--radius); box-shadow: 0 24px 80px rgba(0,0,0,.25); }
dialog::backdrop { background: rgba(17,17,17,.45); }
.pd { display: grid; grid-template-columns: 1.2fr 1fr; }
.pd .gallery { background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.pd .main { aspect-ratio: 1; display: grid; place-items: center; padding: 24px; }
.pd .main img { max-height: 100%; object-fit: contain; }
.pd .thumbs { display: flex; gap: 8px; padding: 0 16px 16px; overflow-x: auto; }
.pd .thumbs button { flex: 0 0 64px; height: 64px; border: 1px solid var(--line); background: #fff; padding: 4px; cursor: pointer; }
.pd .thumbs button[aria-current="true"] { border-color: var(--ink); }
.pd .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd .info { padding: 32px 28px; overflow-y: auto; max-height: calc(100dvh - 24px); }
.pd h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.02em; font-weight: 600; }
.pd .fam { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.mat { border-top: 1px solid var(--line); padding: 14px 0; }
.mat strong { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.mat p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.pd .btn-row { margin-top: 24px; }
.close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: rgba(255,255,255,.9);
  font-size: 22px; cursor: pointer; border-radius: 50%; }
@media (max-width: 760px) { .pd { grid-template-columns: 1fr; } .pd .main { aspect-ratio: 4 / 3; } .pd .info { max-height: none; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.site-footer strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .credit { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr; } }

.loading { color: var(--muted); padding: 48px 0; }
