/* ==========================================================================
   Medicrit Biotech Pvt. Ltd. — medicrit.co.in
   Design direction: "pack insert & vial label", set on clinical white.
   Institutional expanded grotesque + insert serif + clinical mono.
   ========================================================================== */

:root {
  /* One accent, taken from the Medicrit trademark: the red of the M roundel
     and the cross on the i. Red carries every label, rule and action.        */
  --red: #b60000;
  --red-deep: #8a0000;

  /* A ladder of greys, lightest to deepest. Structure comes from these steps
     and from hairlines — never from large dark fields.                       */
  --white: #ffffff;
  --paper: #f5f6f7;
  --paper-deep: #eceef0;
  --paper-tint: #e2e5e8;

  /* Text — headings go deeper than body so the hierarchy carries at a glance */
  --ink-deep: #101317;
  --ink: #22262b;
  --ink-soft: #3c4249;
  --muted: #5b6169;
  --muted-soft: #7a818a;

  /* Elevation: three soft layers, never a single hard drop shadow. */
  --lift-1: 0 1px 2px rgba(16, 19, 23, 0.05),
            0 2px 6px rgba(16, 19, 23, 0.04);
  --lift-2: 0 1px 2px rgba(16, 19, 23, 0.06),
            0 4px 12px rgba(16, 19, 23, 0.06),
            0 12px 28px -12px rgba(16, 19, 23, 0.10);
  --lift-3: 0 2px 4px rgba(16, 19, 23, 0.07),
            0 10px 24px -6px rgba(16, 19, 23, 0.10),
            0 30px 60px -24px rgba(16, 19, 23, 0.18);

  /* Functional hues, used only where they carry meaning */
  --steel: #2b5375;       /* cold chain, capsules */
  --ochre: #8a6708;       /* nutraceuticals */

  --rule: #ccd1d6;
  --rule-soft: #dfe3e7;

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --wrap: 1180px;
  --band: clamp(3.75rem, 8vw, 7.5rem);
}

/* --------------------------------------------------------------- reset --- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.075rem, 1.02rem + 0.3vw, 1.2rem);
  line-height: 1.68;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

/* Any class that sets `display` would otherwise beat the UA [hidden] rule. */
[hidden] { display: none !important; }

/* Anchored sections must clear the sticky masthead. */
section[id] { scroll-margin-top: 100px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "wdth" 118;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink-deep);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 200;
  font-family: var(--mono);
  font-size: 0.88rem;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* ------------------------------------------------------------ primitives - */

.wrap {
  width: min(var(--wrap), 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: var(--band); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.band--deep { background: var(--paper-deep); }
.band--white { background: var(--white); }

/* Was a dark band in the first pass; now the deepest grey on the ladder,
   still reading as a distinct section without going black.                  */
.band--ink {
  background: var(--paper-tint);
  border-block: 1px solid var(--rule);
}

/* Eyebrow: a spec code, not decoration — names the section's register. */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.h-xl {
  font-size: clamp(2.6rem, 1.2rem + 5.9vw, 5.4rem);
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.028em;
}
.h-lg { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.3rem); }
.h-md { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }

.lede {
  font-size: clamp(1.2rem, 1.1rem + 0.6vw, 1.45rem);
  line-height: 1.6;
  max-width: 60ch;
  color: var(--muted);
}

.measure { max-width: 64ch; }

.mono {
  font-family: var(--mono);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

/* Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.6rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  box-shadow: var(--lift-1);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
              box-shadow 0.2s ease, transform 0.2s ease;
}
.btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: var(--lift-2);
  transform: translateY(-1px);
}
.btn:active { transform: none; box-shadow: var(--lift-1); }

.btn--red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--red:hover { background: var(--ink); border-color: var(--ink); }

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.15rem;
}

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 18px -14px rgba(16, 19, 23, 0.35);
}

/* The trademark red, as a hairline rule across the top. */
.masthead::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--red);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: clamp(156px, 18vw, 200px);
  height: auto;
}
.brand__alt {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 0.9rem;
  margin-left: 0.9rem;
  border-left: 1px solid var(--rule);
  line-height: 1.55;
  max-width: 9.5rem;
}
@media (max-width: 760px) { .brand__alt { display: none; } }

/* The footer is light now, so the wordmark needs no white plate behind it.
   The PNG has a white background rather than an alpha channel, so multiply
   drops it into the grey. The white counter inside the M picks up the footer
   grey instead of pure white, which is imperceptible at this tone.          */
.brand--plate {
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-self: flex-start;
}
.brand--plate img {
  width: 186px;
  mix-blend-mode: multiply;
}

.nav { display: flex; align-items: center; gap: 2rem; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--red);
}

.nav__cta { padding: 0.75rem 1.2rem; font-size: 0.79rem; }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav__toggle { display: inline-block; }
  .nav {
    position: absolute;
    inset: 100% 0 auto;
    display: block;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 14px 24px -18px rgba(34, 38, 43, 0.35);
    padding: 0.5rem var(--gutter) 1.75rem;
  }
  .nav[hidden] { display: none; }
  .nav__list { display: block; }
  .nav__list li + li { border-top: 1px solid var(--rule-soft); }
  .nav__link { display: block; padding: 1rem 0; font-size: 0.95rem; }
  .nav__link[aria-current="page"] { border-bottom-color: transparent; color: var(--red); }
  .nav__cta { margin-top: 1.25rem; width: 100%; justify-content: center; }
}

/* ------------------------------------------------------------------ hero - */

.hero {
  /* Light pooling toward the label, so the panel reads as lit rather than flat */
  background:
    radial-gradient(120% 90% at 78% 42%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(180deg, var(--paper-deep) 0%, var(--paper-tint) 100%);
  color: var(--ink);
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3.5rem, 8vw, 7rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}

/* Registration grid — the faint carton print grid behind the panel. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(34, 38, 43, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 38, 43, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--mono);
  font-size: 0.79rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.6);
  padding: 0.55rem 0.9rem;
  margin-bottom: 1.9rem;
}
.hero__stamp b { color: var(--ink); font-weight: 600; }

.hero h1 { margin-bottom: 1.6rem; }
.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero__note {
  margin-top: 2.35rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--muted);
  max-width: 46ch;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------- signature: the vial label - */
/* A pharmaceutical label object. Used once at hero scale, then as the
   product card. Everything else on the page stays quiet.                    */

.label {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: var(--lift-2);
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

/* A hairline highlight along the top edge — the sheen of a coated carton. */
.label::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.catalogue .label:hover {
  transform: translateY(-3px);
  box-shadow: var(--lift-3);
  border-color: var(--rule);
}

.label__cap {
  height: 12px;
  background: var(--red);
  border-bottom: 1px solid var(--ink);
}
.label__cap[data-cat="Tablet"] { background: var(--ink); }
.label__cap[data-cat="Capsule"] { background: var(--steel); }
.label__cap[data-cat="Protein Powder"] { background: var(--ochre); }

.label__body { padding: 1.4rem 1.5rem 1.55rem; }

.label__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.label__rx {
  border: 1px solid var(--ink);
  padding: 0.22rem 0.48rem;
  color: var(--ink);
  white-space: nowrap;
}

.label__name {
  font-family: var(--display);
  font-variation-settings: "wdth" 120;
  font-weight: 700;
  font-size: 1.65rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 1.05rem 0 0.4rem;
}

.label__strength {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.label__strength span {
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.3rem;
}

/* The pack name as printed on the carton, where it differs from the brand. */
.label__pack {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.6rem 0 0;
}

.label__comp {
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0.95rem 0 0;
  padding-top: 0.95rem;
  border-top: 1px dashed var(--rule);
}
.label__comp--none { color: var(--muted); }

.label__spec {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 1.15rem 0 0;
  padding-top: 0.95rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--mono);
  font-size: 0.82rem;
}
.label__spec dt {
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.label__spec dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.label__spec dd b { font-weight: 600; }

.label__cold {
  display: inline-block;
  margin-top: 0.95rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--steel);
  border: 1px solid var(--steel);
  padding: 0.25rem 0.5rem;
}

/* Hero-scale label */
.label--hero { box-shadow: var(--lift-3); }
.label--hero .label__cap { height: 16px; }
.label--hero .label__body { padding: 1.8rem 1.8rem 1.95rem; }
.label--hero .label__name { font-size: clamp(1.85rem, 1.5rem + 1.1vw, 2.35rem); }

.label__legend {
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.65;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.45rem 0 0;
  padding-top: 1.05rem;
  border-top: 1px solid var(--ink);
}

/* Barcode-ish footer band: batch/registration vernacular, not ornament. */
.label__code {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 26px;
  margin-top: 1.3rem;
}
.label__code i {
  display: block;
  width: 2px;
  height: 100%;
  background: var(--ink);
}
.label__code i:nth-child(3n) { width: 4px; }
.label__code i:nth-child(4n) { height: 70%; }
.label__code i:nth-child(5n) { width: 1px; }

/* ---------------------------------------------------- product photograph - */
/* Only some presentations have a carton shot. Where one exists it sits above
   the label text, on white, so cards with and without still line up.        */

.label__shot {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 1.15rem;
  display: grid;
  place-items: center;
  min-height: 210px;
}
.label__shot img {
  max-height: 190px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply; /* the source shots are on white */
}

/* --------------------------------------------------------- product grid - */

.catalogue {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalogue > li { display: flex; }
.catalogue .label { flex: 1; display: flex; flex-direction: column; }
.catalogue .label__body { display: flex; flex-direction: column; flex: 1; }
.catalogue .label__cta { margin-top: auto; }

.label__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1.4rem;
  padding-top: 1.05rem;
  border-top: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.15s ease;
}
.label__cta span { transition: transform 0.18s ease; }
.label__cta:hover { color: var(--red); }
.label__cta:hover span { transform: translateX(4px); }

/* Filter bar --------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  border: 1px solid var(--rule);
  background: var(--white);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.chip b { font-weight: 400; opacity: 0.6; }

.search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--rule);
  background: var(--white);
  padding: 0.5rem 0.8rem;
  min-width: 255px;
}
.search input {
  border: 0;
  background: none;
  font-family: var(--mono);
  font-size: 0.9rem;
  padding: 0.35rem 0;
  width: 100%;
}
.search input:focus { outline: none; }
.search svg { flex: none; color: var(--muted); }

.result-count {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: -1.25rem 0 2rem;
}

.empty {
  border: 1px dashed var(--rule);
  background: var(--white);
  padding: 3rem 1.5rem;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--muted);
}

/* ------------------------------------------------------- capability grid - */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.areas {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.areas li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.5rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--rule);
}
.areas__key {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--red);
  padding-top: 0.35rem;
}
.areas h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.areas p { font-size: 1.08rem; color: var(--muted); margin: 0; }

@media (max-width: 560px) {
  .areas li { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* Spec table — pack-insert data, used for facts, never for filler. */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 0.92rem;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.9rem 0.75rem 0.9rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.spec-table th {
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  width: 42%;
}
.spec-table td { font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------- timeline - */
/* Dated sequence: order carries real information here. */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
}
.timeline li:last-child { border-bottom: 1px solid var(--rule); }
.timeline__year {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--red);
}
.timeline h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.timeline p { color: var(--muted); margin: 0; max-width: 58ch; }

@media (max-width: 560px) {
  .timeline li { grid-template-columns: 1fr; gap: 0.6rem; }
}

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

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rule);
  background: var(--white);
  box-shadow: var(--lift-1);
}
.facts li {
  padding: 1.85rem 1.55rem;
  border-right: 1px solid var(--rule);
}
.facts li:last-child { border-right: 0; }
.facts dt {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
.facts dd {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 118;
  font-weight: 700;
  font-size: clamp(1.8rem, 1.4rem + 1.3vw, 2.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.facts dd small {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 0.55rem;
}

@media (max-width: 700px) {
  .facts li { border-right: 0; border-bottom: 1px solid var(--rule); }
  .facts li:last-child { border-bottom: 0; }
}

/* -------------------------------------------------------- boxed notices -- */
/* The Schedule H warning box, borrowed straight from the carton panel. */

.notice {
  border: 2px solid var(--red);
  box-shadow: var(--lift-1);
  padding: 1.35rem 1.5rem;
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  background: var(--white);
}
.notice strong {
  display: block;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: var(--lift-1);
  padding: 1.85rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover { box-shadow: var(--lift-2); transform: translateY(-2px); }
.card h3 { font-size: 1.3rem; margin-bottom: 0.65rem; }
.card p { color: var(--muted); font-size: 1.08rem; }
.card a { text-decoration: underline; text-underline-offset: 3px; }
.card a:hover { color: var(--red); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.3rem;
}

/* --------------------------------------------------------------- office -- */

.office {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--red);
  box-shadow: var(--lift-1);
  padding: 1.95rem;
}
.office__kind {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.95rem;
}
.office address {
  font-style: normal;
  font-size: 1.12rem;
  line-height: 1.6;
  margin-bottom: 1.3rem;
}
.office__lines {
  display: grid;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.92rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--rule-soft);
}
.office__lines a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.office__lines a:hover { color: var(--red); border-bottom-color: var(--red); }

/* ----------------------------------------------------------------- form -- */

.form { display: grid; gap: 1.3rem; }

.field { display: grid; gap: 0.5rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label span { color: var(--red); }

.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1.08rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 0;
  border-color: var(--red);
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}
@media (max-width: 620px) { .field-pair { grid-template-columns: 1fr; } }

.form__status {
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.65;
  padding: 0.95rem 1.05rem;
  border-left: 3px solid var(--ink);
  background: var(--white);
}
.form__status[data-state="error"] { border-left-color: var(--red); }

.form__fine {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ------------------------------------------------------------ UPI paying - */

.pay {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--red);
  box-shadow: var(--lift-2);
  padding: clamp(1.5rem, 4vw, 2.35rem);
}
@media (max-width: 780px) {
  .pay { grid-template-columns: 1fr; }
}

.pay__qr {
  border: 1px solid var(--ink);
  padding: 0.9rem;
  background: var(--white);
  width: 244px;
  max-width: 100%;
  margin: 0;
}
.pay__qr img,
.pay__qr svg { width: 100%; height: auto; display: block; }

.pay__qr figcaption {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--rule);
}

.pay h3 { font-size: 1.35rem; margin-bottom: 0.65rem; }
.pay p { font-size: 1.08rem; color: var(--muted); }

/* The VPA itself: the one string a payer must get exactly right. */
.pay__vpa {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1.3rem 0;
  padding: 0.9rem 1.05rem;
  border: 1px dashed var(--rule);
  background: var(--paper);
}
.pay__vpa code {
  font-family: var(--mono);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  word-break: break-all;
}
.pay__copy {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.15s ease, color 0.15s ease;
}
.pay__copy:hover { background: var(--ink); color: var(--white); }
.pay__copy[data-copied="1"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* App buttons are only useful on a phone, where the deep link can open. */
.pay__apps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.3rem 0 1.05rem;
}
.pay__app {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75rem 1.05rem;
  border: 1px solid var(--rule);
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.pay__app:hover { border-color: var(--ink); }
.pay__app::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}
.pay__app[data-app="phonepe"]::before { background: #5f259f; }
.pay__app[data-app="gpay"]::before { background: var(--steel); }
.pay__app[data-app="paytm"]::before { background: #0e7fa8; }

.pay__fine {
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}
.pay__fine a { color: var(--ink); }
.pay__fine a:hover { color: var(--red); }

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

.footer {
  background: var(--paper-deep);
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

/* Columns are weighted by content: the nav links need little room, the contact
   column has to hold a 25-character email address on one line.              */
.footer__grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr) minmax(0, 0.72fr) minmax(0, 1fr) minmax(0, 1.18fr);
  gap: 2.5rem 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer h2 {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  font-variation-settings: normal;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.15rem;
  line-height: 1.4;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.footer a { text-decoration: none; }
/* Safety net for long addresses in a narrow column. */
.footer ul a { overflow-wrap: anywhere; }
.footer ul a { border-bottom: 1px solid transparent; }
.footer ul a:hover { color: var(--red); border-bottom-color: var(--red); }
.footer li, .footer p { font-size: 1rem; }

.footer__brand .brand { margin-bottom: 1.15rem; }
.footer__brand p { max-width: 34ch; }

/* General enquiry address — the one contact that belongs on every page. */
.footer__mail {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
}
.footer__mail a {
  font-family: var(--mono);
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer__mail a:hover { color: var(--red); border-bottom-color: var(--red); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  padding-top: 2rem;
  font-family: var(--mono);
  font-size: 0.79rem;
  letter-spacing: 0.04em;
  color: var(--muted-soft);
}
.footer__base a { border-bottom: 1px solid var(--rule); }
.footer__base a:hover { color: var(--red); }

/* --------------------------------------------------------------- motion -- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .masthead, .footer, .filters, .label__cta, .btn-row { display: none; }
  body { background: #fff; }
}
