/* Vishwantara Innovations Pvt. Ltd. — shared styles */

:root {
  --paper:   #EDF1F3;
  --paper-2: #E2E8EB;
  --ink:     #0D1A21;
  --slate:   #24373F;
  --muted:   #5C6F78;
  --rule:    #C3CFD4;

  --teal:    #10706B;
  --amber:   #B67A17;
  --indigo:  #3A4A8F;
  --molten:  #AE3A18;

  --measure: 62ch;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1180px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
}

h1, h2, h3, .wordmark, .stat-figure {
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

.mono, .eyebrow, .tag, .depth, nav a, .btn, footer .legal {
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

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

/* ---------- header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237, 241, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 66px;
  flex-wrap: wrap;
  padding-block: 0.5rem;
}

.wordmark {
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}



nav ul {
  display: flex;
  gap: clamp(0.9rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  color: var(--muted);
}

nav a:hover { color: var(--ink); }
nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--teal); }

/* ---------- type blocks ---------- */

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.4rem;
}

.hero {
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--rule);
}

.hero h1 {
  font-size: clamp(2.3rem, 6.2vw, 4.15rem);
  max-width: 17ch;
  text-wrap: balance;
}

.hero p.lead {
  max-width: var(--measure);
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  color: var(--slate);
  margin: 1.6rem 0 0;
}

section { padding-block: clamp(2.8rem, 7vw, 5rem); }
section + section { border-top: 1px solid var(--rule); }

h2 {
  font-size: clamp(1.55rem, 3.4vw, 2.3rem);
  max-width: 22ch;
  text-wrap: balance;
}

h2 + p, .eyebrow + h2 { margin-top: 0; }

section > .wrap > p, .prose p {
  max-width: var(--measure);
  color: var(--slate);
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 2.4rem;
}

/* ---------- product cards ---------- */

.samples {
  display: grid;
  gap: 1.4rem;
  margin-top: 2.6rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.sample {
  display: flex;
  gap: 1.3rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.5rem 1.5rem 1.6rem;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.sample:hover { border-color: var(--accent, var(--teal)); transform: translateY(-2px); }

.core {
  flex: 0 0 10px;
  border-radius: 1px;
  background:
    repeating-linear-gradient(
      180deg,
      color-mix(in srgb, var(--accent) 100%, transparent) 0 14px,
      color-mix(in srgb, var(--accent) 62%, #fff) 14px 22px,
      color-mix(in srgb, var(--accent) 84%, #000 6%) 22px 31px
    );
}

.sample h3 { font-size: 1.32rem; }

.depth {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.sample p {
  margin: 0.7rem 0 0;
  color: var(--slate);
  font-size: 0.98rem;
}

.sample .go {
  display: inline-block;
  margin-top: 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- facts / contact ---------- */

.facts {
  display: grid;
  gap: 1.6rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 2.4rem;
  padding: 0;
  list-style: none;
}

.facts dt, .facts .k {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.facts dd, .facts .v { margin: 0; font-size: 1.02rem; }

.facts a { text-decoration-color: var(--rule); text-underline-offset: 3px; }

.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 1.5rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
}

.btn:hover { background: var(--teal); }

/* ---------- footer ---------- */

footer.site {
  background: var(--ink);
  color: var(--paper-2);
  padding-block: clamp(2.6rem, 6vw, 4rem);
  margin-top: clamp(2rem, 6vw, 4rem);
}

footer.site a { color: var(--paper-2); }

footer .cols {
  display: grid;
  gap: 2rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

footer h4 {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8FA4AC;
  font-weight: 400;
  margin: 0 0 0.8rem;
}

footer address {
  font-style: normal;
  line-height: 1.7;
}

footer ul { list-style: none; margin: 0; padding: 0; line-height: 1.9; }

footer .legal {
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid #26383F;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: #8FA4AC;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- logos ---------- */

.wordmark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.plate {
  display: flex;
  align-items: center;
  height: 76px;
  margin-bottom: 1.1rem;
}

.plate img {
  max-height: 76px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 2px;
}

.textmark {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: var(--accent, var(--ink));
}

.prod-logo {
  display: block;
  max-height: 86px;
  width: auto;
  max-width: min(100%, 420px);
  margin-bottom: 1.4rem;
}

.prod-logo.dark { border-radius: 3px; }
.prod-logo.round { max-height: 132px; }

p.prod-logo.textmark {
  font-size: 2.6rem;
  margin: 0 0 1rem;
  color: var(--teal);
}
