/* ====================================================================
   LAXMI INDUSTRIAL CORPORATION — Industrial Heritage Blueprint
   ==================================================================== */

:root {
  /* Core palette */
  --ink:        #100e0c;       /* warm charcoal */
  --ink-2:      #1a1714;       /* card on dark */
  --ink-3:      #2a2520;       /* hairline borders on dark */
  --paper:      #f4ede2;       /* warm cream */
  --paper-2:    #ebe2d3;       /* slightly darker cream */
  --paper-3:    #d8cdb9;       /* hairline borders on light */
  --amber:      #d97e1c;       /* industrial caution amber */
  --amber-deep: #a85d10;
  --steel:      #3a5470;
  --rust:       #8a3a18;

  --text-light: #f4ede2;
  --text-light-mute: #b9aea0;
  --text-dark:  #100e0c;
  --text-dark-mute: #5a4f44;

  /* Typography */
  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans:    "Manrope", "Helvetica Neue", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Layout */
  --max-w:     1400px;
  --gutter:    clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--amber); color: var(--ink); }

/* ============================== TOP TICKER =========================== */
.ticker {
  background: var(--amber);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ticker .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  margin: 0 8px;
  vertical-align: middle;
}
.ticker .right { display: flex; gap: 18px; align-items: center; }
.ticker a:hover { text-decoration: underline; }

/* ============================== NAVIGATION =========================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-3);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.brand__mark {
  width: 44px; height: 44px;
  border: 1.5px solid var(--paper);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 24px;
  color: var(--paper);
  position: relative;
}
.brand__mark::before, .brand__mark::after {
  content: "";
  position: absolute;
  background: var(--amber);
}
.brand__mark::before { top: -3px; left: 50%; transform: translateX(-50%); width: 1px; height: 6px; }
.brand__mark::after  { bottom: -3px; left: 50%; transform: translateX(-50%); width: 1px; height: 6px; }
.brand__text { line-height: 1.1; }
.brand__name {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--paper);
  white-space: nowrap;
}
.brand__sub {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light-mute);
  margin-top: 2px;
}

.nav__links { display: flex; gap: 4px; align-items: center; }
.nav__link {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  color: var(--text-light-mute);
  border: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav__link:hover { color: var(--paper); }
.nav__link.is-active {
  color: var(--paper);
  border-color: var(--ink-3);
}
.nav__cta {
  margin-left: 8px;
  padding: 11px 18px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--amber);
  transition: background .15s, color .15s;
}
.nav__cta:hover { background: transparent; color: var(--amber); }

/* hamburger (mobile) */
.nav__toggle { display: none; background: none; border: 0; color: var(--paper); cursor: pointer; }

@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--ink);
    border-bottom: 1px solid var(--ink-3); padding: 12px var(--gutter); gap: 0; }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: 14px 0; border: 0; border-bottom: 1px solid var(--ink-3); }
  .nav__link:last-of-type { border-bottom: 0; }
  .nav__cta { margin: 12px 0 4px; text-align: center; }
  .nav__toggle { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
}

/* ============================== UTILITIES ============================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--amber);
  display: inline-block;
}

.h-display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.section {
  padding: clamp(72px, 10vw, 140px) 0;
  border-top: 1px solid var(--ink-3);
}
.section.invert {
  background: var(--paper);
  color: var(--text-dark);
  border-top-color: var(--paper-3);
}
.section.invert .eyebrow { color: var(--amber-deep); }
.section.invert .eyebrow::before { background: var(--amber-deep); }

.section__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}
.section__header h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.section__header p {
  color: var(--text-light-mute);
  max-width: 480px;
  font-size: 17px;
  line-height: 1.55;
}
.section.invert .section__header p { color: var(--text-dark-mute); }
@media (max-width: 800px) {
  .section__header { grid-template-columns: 1fr; gap: 28px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn--solid {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}
.btn--solid:hover { background: var(--amber-deep); border-color: var(--amber-deep); color: var(--paper); }
.btn--ghost { color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--ghost-dark { color: var(--ink); border-color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { display: inline-block; transition: transform .15s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================== HERO ================================= */
.hero {
  position: relative;
  min-height: min(900px, calc(100vh - 110px));
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(40px, 7vh, 72px) var(--gutter) clamp(52px, 6vw, 88px);
  max-width: var(--max-w);
  margin: 0 auto;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--ink-3) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-3) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center;
  opacity: 0.4;
  pointer-events: none;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow {
  display: flex; gap: 24px; align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light-mute);
  margin-bottom: 32px;
}
.hero__eyebrow .amber { color: var(--amber); }

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(56px, 8.4vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  font-weight: 400;
  max-width: 16ch;
}
.hero__title em {
  font-style: italic;
  color: var(--amber);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 28px 0 28px;
  border-top: 1px solid var(--ink-3);
  margin-top: clamp(40px, 6vw, 72px);
}
.hero__meta-cell .label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light-mute);
  margin-bottom: 12px;
}
.hero__meta-cell .value {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}
.hero__meta-cell .value small {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-mute);
  margin-left: 6px;
}
.hero__meta-cell p {
  font-size: 14px;
  color: var(--text-light-mute);
  max-width: 28ch;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .hero__meta { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* corner brackets — drafting-style L-corners (registration / crop marks).
   Each corner is just the two outer edges meeting at the corner. */
.crosshair {
  position: absolute;
  width: 30px; height: 30px;
  pointer-events: none;
  z-index: 2;
}
.crosshair::before, .crosshair::after {
  content: ""; position: absolute; background: var(--amber);
}
.crosshair.tl { top: 28px; left: 28px; }
.crosshair.tl::before { top: 0; left: 0; width: 30px; height: 1.5px; }
.crosshair.tl::after  { top: 0; left: 0; width: 1.5px; height: 30px; }
.crosshair.tr { top: 28px; right: 28px; }
.crosshair.tr::before { top: 0; right: 0; width: 30px; height: 1.5px; }
.crosshair.tr::after  { top: 0; right: 0; width: 1.5px; height: 30px; }
.crosshair.bl { bottom: 28px; left: 28px; }
.crosshair.bl::before { bottom: 0; left: 0; width: 30px; height: 1.5px; }
.crosshair.bl::after  { bottom: 0; left: 0; width: 1.5px; height: 30px; }
.crosshair.br { bottom: 28px; right: 28px; }
.crosshair.br::before { bottom: 0; right: 0; width: 30px; height: 1.5px; }
.crosshair.br::after  { bottom: 0; right: 0; width: 1.5px; height: 30px; }

/* ============================== FOOTER =============================== */
footer.foot {
  background: var(--ink);
  color: var(--text-light);
  padding: 80px var(--gutter) 32px;
  border-top: 1px solid var(--ink-3);
}
.foot__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--ink-3);
}
.foot__brand .brand__name { font-size: 28px; }
.foot__tag {
  color: var(--text-light-mute);
  margin-top: 18px;
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.55;
}
.foot__col h4 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light-mute);
  margin-bottom: 18px;
}
.foot__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot__col a { color: var(--paper); font-size: 15px; }
.foot__col a:hover { color: var(--amber); }
.foot__bar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding-top: 32px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light-mute);
}

/* SOCIAL block (prominent) */
.social {
  display: flex; gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--ink-3);
  background: var(--ink-2);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background .15s, border-color .15s, color .15s;
}
.social a:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}
.social svg { width: 16px; height: 16px; }

@media (max-width: 800px) {
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .foot__grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .foot__bar { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Reach-us hours status block */
.foot__hours {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--ink-3);
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot__hours-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(217,126,28,0.18);
  flex-shrink: 0;
  position: relative;
}
.foot__hours-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.5;
  animation: hoursPulse 2.4s ease-out infinite;
}
@keyframes hoursPulse {
  0%   { transform: scale(0.8); opacity: 0.5; }
  70%  { transform: scale(2.3); opacity: 0; }
  100% { transform: scale(2.3); opacity: 0; }
}
.foot__hours-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-light-mute);
  margin-bottom: 3px;
}
.foot__hours-value {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--paper);
}

/* ============================== COMMON SECTIONS ====================== */

/* Tag chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid currentColor;
  color: var(--amber);
  background: transparent;
}
.section.invert .chip { color: var(--amber-deep); }

/* Stat strip */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats > div {
  padding: 32px 28px;
  border-left: 1px solid var(--ink-3);
}
.stats > div:first-child { border-left: 0; padding-left: 0; }
.section.invert .stats > div { border-left-color: var(--paper-3); }
.stats .n {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
}
.stats .n em { font-style: italic; color: var(--amber); }
.stats .l {
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light-mute);
}
.section.invert .stats .l { color: var(--text-dark-mute); }
@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { border-left: 0 !important; border-top: 1px solid var(--ink-3); padding: 24px 0; }
  .section.invert .stats > div { border-top-color: var(--paper-3); }
  .stats > div:first-child, .stats > div:nth-child(2) { border-top: 0; }
}

/* Capabilities grid */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-3);
  border: 1px solid var(--ink-3);
}
.section.invert .cap-grid { background: var(--paper-3); border-color: var(--paper-3); }
.cap-card {
  background: var(--ink);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  min-height: 280px;
}
.section.invert .cap-card { background: var(--paper); }
.cap-card .num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--amber);
  margin-bottom: 24px;
}
.section.invert .cap-card .num { color: var(--amber-deep); }
.cap-card h3 {
  font-family: var(--f-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 16px;
}
.cap-card p {
  color: var(--text-light-mute);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}
.section.invert .cap-card p { color: var(--text-dark-mute); }
.cap-card ul {
  list-style: none;
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.cap-card li {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding-left: 18px;
  position: relative;
  color: var(--paper);
}
.section.invert .cap-card li { color: var(--ink); }
.cap-card li::before {
  content: "→";
  position: absolute; left: 0;
  color: var(--amber);
}
@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } }

/* Page hero (smaller hero for inner pages) */
.page-hero {
  padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(60px, 9vw, 120px);
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.page-hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.page-hero h1 em { font-style: italic; color: var(--amber); }
.page-hero__sub {
  font-size: 17px;
  color: var(--text-light-mute);
  line-height: 1.6;
  max-width: 44ch;
}
.page-hero__meta {
  display: flex; gap: 32px;
  margin-top: 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light-mute);
}
.page-hero__meta span { color: var(--amber); margin-right: 8px; }
@media (max-width: 900px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================== TOAST =============================== */
.lic-toast {
  position: fixed;
  left: 50%; bottom: 32px;
  transform: translate(-50%, 30px);
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--amber);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.6);
  display: flex; align-items: center; gap: 12px;
}
.lic-toast::before {
  content: "✓";
  display: inline-block;
  width: 18px; height: 18px; line-height: 18px;
  text-align: center;
  background: var(--amber); color: var(--ink);
  font-family: var(--f-sans); font-weight: 700;
  border-radius: 50%;
}
.lic-toast.is-show {
  opacity: 1; transform: translate(-50%, 0);
}

/* ============================== HERO LOGO BRAND ====================== */
.brand__mark--img {
  border: 0 !important;
  background: transparent;
  padding: 0;
}
.brand__mark--img img {
  width: 100%; height: 100%; object-fit: contain;
  /* Logo file is black on transparent — lift to a soft warm grey on dark UI */
  filter: invert(0.72) brightness(1.05) sepia(0.12);
  transition: filter .2s;
}
.brand:hover .brand__mark--img img {
  filter: invert(0.92) brightness(1.05) sepia(0.06);
}
.brand__mark--img::before, .brand__mark--img::after { display: none; }

/* ============================== PARTICLES CANVAS ===================== */
.hero__particles {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ============================== CLIENT LOGO GRID ===================== */
.clients {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--ink-3);
  border: 1px solid var(--ink-3);
}
.client {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--ink);
  padding: 32px 26px 26px;
  text-decoration: none;
  color: var(--paper);
  transition: background .2s, color .2s;
  min-height: 240px;
}
.client:hover { background: var(--amber); color: var(--ink); }
.client__num {
  display: none; /* numbering hidden per request */
}
.client__logo {
  flex: 1;
  display: grid; place-items: center;
  padding: 18px 12px;
  margin: 22px 0 26px;
  min-height: 110px;
}
.client__logo img {
  max-width: 100%;
  max-height: 68px;
  width: auto; height: auto;
  /* Render native logo colors; lighten-blend over the dark card so they
     stay recognizable but cohesive with the industrial palette. */
  mix-blend-mode: lighten;
  filter: brightness(1.05) saturate(0.7) contrast(1.05);
  transition: filter .2s, transform .2s;
}
.client:hover .client__logo img {
  filter: brightness(0.18) saturate(0) contrast(1.2);
  mix-blend-mode: normal;
}
.client__logo--text {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 40px;
  letter-spacing: 0.02em;
  color: var(--paper);
  opacity: 0.92;
}
.client:hover .client__logo--text { color: var(--ink); opacity: 1; }
.client__name {
  display: none; /* name removed per request; URL row stands in */
}
.client__url {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--ink-3);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-light-mute);
  display: flex; justify-content: space-between; align-items: center;
}
.client:hover .client__url { color: var(--ink); border-top-color: rgba(0,0,0,0.22); }
.client__url .arrow { transition: transform .15s; }
.client:hover .client__url .arrow { transform: translateX(4px); }
@media (max-width: 1000px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .clients { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .clients { grid-template-columns: 1fr; } }

/* ============================== RECORD STRIP ========================= */
.record-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--paper-3);
  border-bottom: 1px solid var(--paper-3);
  position: relative;
}
.record-item {
  padding: 56px 32px 52px;
  border-right: 1px solid var(--paper-3);
  position: relative;
  transition: background .25s, transform .25s;
  overflow: hidden;
}
.record-item:last-child { border-right: 0; }
.record-item::after {
  content: "";
  position: absolute;
  left: 32px; bottom: 0;
  width: 0;
  height: 3px;
  background: var(--amber);
  transition: width .4s cubic-bezier(.2,.7,.1,1);
}
.record-item:hover { background: var(--paper-2); }
.record-item:hover::after { width: calc(100% - 64px); }
.record-item__n {
  font-family: var(--f-display);
  font-size: clamp(64px, 7vw, 104px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.record-item__n em { font-style: italic; color: var(--amber-deep); }
.record-item__l {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 22px;
}
.record-item__sub {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dark-mute);
  margin-top: 6px;
}
@media (max-width: 900px) {
  .record-strip { grid-template-columns: 1fr 1fr; }
  .record-item:nth-child(2n) { border-right: 0; }
  .record-item:nth-child(-n+2) { border-bottom: 1px solid var(--paper-3); }
}
@media (max-width: 560px) {
  .record-strip { grid-template-columns: 1fr; }
  .record-item { border-right: 0; border-bottom: 1px solid var(--paper-3); padding: 40px 28px; }
  .record-item:last-child { border-bottom: 0; }
}

/* ============================== INTRO MANIFESTO ====================== */
.manifesto-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.manifesto-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light-mute);
  max-width: 52ch;
}
@media (max-width: 800px) {
  .manifesto-body { grid-template-columns: 1fr; gap: 22px; }
}

/* Image slot — let the component's built-in placeholder do the work */
image-slot {
  display: block;
}

/* ====================================================================
   MOBILE SWEEP — comprehensive responsive overrides
   ==================================================================== */

/* ---------- TICKER ---------- */
@media (max-width: 720px) {
  .ticker {
    font-size: 10px;
    padding: 6px 16px;
    gap: 8px;
    justify-content: center;
  }
  .ticker .left,
  .ticker .right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
  .ticker .dot { margin: 0 4px; }
}
@media (max-width: 560px) {
  /* hide secondary info to keep ticker single-row-ish */
  .ticker .left span:nth-child(5),     /* GSTIN */
  .ticker .left span:nth-child(4),     /* dot before GSTIN */
  .ticker .right span:nth-child(1),    /* hours blob */
  .ticker .right span:nth-child(2) {   /* dot */
    display: none;
  }
}

/* ---------- NAV brand text on phones ---------- */
@media (max-width: 480px) {
  .nav__inner { padding: 14px var(--gutter); gap: 12px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 16px; }
  .brand__sub  { font-size: 9px; }
}

/* ---------- HERO ---------- */
@media (max-width: 760px) {
  .hero {
    padding: clamp(32px, 6vh, 56px) var(--gutter) clamp(40px, 5vw, 56px);
    min-height: auto;
  }
  .hero__title { font-size: clamp(44px, 11vw, 64px); }
  .hero__eyebrow { gap: 14px; flex-wrap: wrap; font-size: 10px; }
  .hero__eyebrow span:nth-child(2) { display: none; }
  .crosshair { width: 22px; height: 22px; }
  .crosshair.tl, .crosshair.tr { top: 18px; }
  .crosshair.bl, .crosshair.br { bottom: 18px; }
  .crosshair.tl, .crosshair.bl { left: 18px; }
  .crosshair.tr, .crosshair.br { right: 18px; }
  .crosshair.tl::before, .crosshair.tr::before,
  .crosshair.bl::before, .crosshair.br::before { width: 22px; }
  .crosshair.tl::after, .crosshair.tr::after,
  .crosshair.bl::after, .crosshair.br::after { height: 22px; }

  .hero__meta {
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
    margin-top: 40px;
    padding: 22px 0;
  }
  .hero__meta-cell .value { font-size: clamp(24px, 5vw, 32px); }
  .hero__meta-cell .value small { display: block; margin-left: 0; margin-top: 4px; }
  .hero__meta-cell p { font-size: 13px; }
}

/* ---------- BUTTONS on mobile ---------- */
@media (max-width: 480px) {
  .btn { padding: 12px 18px; font-size: 11px; letter-spacing: .14em; }
  .btn--solid, .btn--ghost { width: 100%; justify-content: center; }
}

/* ---------- PAGE HEROS (about / capabilities / contact) ---------- */
@media (max-width: 760px) {
  .page-hero { padding: clamp(56px, 10vw, 96px) var(--gutter) clamp(40px, 6vw, 64px); }
  .page-hero h1 { font-size: clamp(44px, 10vw, 72px); }
  .page-hero__sub { font-size: 15px; }
  .page-hero__meta { flex-wrap: wrap; gap: 14px 24px; font-size: 10px; }
}

/* ---------- SECTION SPACING on mobile ---------- */
@media (max-width: 760px) {
  .section { padding: clamp(56px, 11vw, 80px) 0; }
  .section__header { gap: 24px; margin-bottom: 40px; }
  .section__header h2 { font-size: clamp(34px, 8vw, 48px) !important; }
  .section__header p { font-size: 15px; }
}

/* ---------- INLINE GRID OVERRIDES ---------- */
/* CTA strips: 1.4fr 1fr stacks on tablet */
@media (max-width: 900px) {
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns:1.4fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    align-items: start !important;
  }
  [style*="grid-template-columns: 1fr 2fr"],
  [style*="grid-template-columns:1fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  [style*="grid-template-columns: 1fr 1.4fr"],
  [style*="grid-template-columns:1fr 1.4fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Inline 2-col splits collapse on phones */
@media (max-width: 720px) {
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Home — part tiles 6 → 3 → 2 cols */
@media (max-width: 1000px) {
  [style*="grid-template-columns: repeat(6, 1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 560px) {
  [style*="grid-template-columns: repeat(6, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Home — clients grid */
@media (max-width: 1000px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .clients { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .clients { grid-template-columns: 1fr; } .client { min-height: 180px; padding: 24px 20px; } .client__logo { min-height: 80px; } .client__logo img { max-height: 50px; } }

/* Contact - phone cards on mobile */
@media (max-width: 760px) {
  .contact-card { padding: 32px 24px; min-height: auto; }
  .contact-card__big { font-size: clamp(34px, 8vw, 48px) !important; margin: 22px 0 18px; }
  .contact-card__meta { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 16px; }
}

/* Contact - social cards on mobile */
@media (max-width: 760px) {
  .social-card { min-height: 220px; padding: 28px 24px 22px; }
  .social-card__name { font-size: 32px; }
}

/* Contact - map image on mobile */
@media (max-width: 760px) {
  #directions svg { min-height: 280px; }
}

/* About - timeline padding on mobile */
@media (max-width: 760px) {
  .t-row { padding: 24px 0; }
  .t-year { font-size: clamp(28px, 7vw, 40px); }
}

/* Capabilities - jump nav on mobile */
@media (max-width: 760px) {
  #operations + section,
  section[style*="border-top:1px solid var(--ink-3); border-bottom:1px solid var(--ink-3)"] > .container {
    font-size: 10px !important;
    gap: 14px !important;
  }
}

/* Capabilities - conv-card on small mobile */
@media (max-width: 480px) {
  .conv-card { min-height: 200px; padding: 22px 20px; }
  .conv-card h4 { font-size: 20px; }
  .conv-svg { width: 48px; height: 40px; }
}

/* CTA buttons in amber CTA strips on mobile - keep them dark-bordered, full width */
@media (max-width: 480px) {
  section[style*="background:var(--amber)"] .btn { width: 100%; }
}

/* Footer hours on tablet/mobile */
@media (max-width: 480px) {
  .foot__hours { padding: 12px 14px; gap: 10px; }
  .foot__hours-value { font-size: 11px; }
}

/* Toast on mobile */
@media (max-width: 480px) {
  .lic-toast { left: 16px; right: 16px; transform: translateY(30px); width: auto; bottom: 20px; padding: 12px 16px; font-size: 11px; }
  .lic-toast.is-show { transform: translateY(0); }
}

/* Founder photo wrap labels on small */
@media (max-width: 480px) {
  .founder__info h3 { font-size: clamp(28px, 8vw, 38px); }
  .founder__tag { top: 12px; left: 12px; padding: 4px 8px; font-size: 9px; }
}

/* Machine row tag on phones — push to its own row gracefully */
@media (max-width: 480px) {
  .machine-row__name { font-size: 22px; }
}

/* General — ensure tap targets are >= 44px */
.nav__link, .nav__cta, .btn, .social a, .foot__col a, .client, .contact-card, .social-card {
  min-height: 0; /* placeholder; specific touchable elements already meet 44px */
}

/* prevent horizontal scroll from any wide content */
html, body { overflow-x: hidden; }
img, svg, canvas { max-width: 100%; }

/* ============================== MAP EMBED ============================ */
.map-embed {
  position: relative;
  background: var(--paper-2);
  min-height: 420px;
  overflow: hidden;
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  /* warm-tone the map so it doesn't clash with the cream/amber palette */
  filter: grayscale(0.35) saturate(0.85) sepia(0.08) contrast(1.02);
}
.map-embed__pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.map-embed__pin-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 6px rgba(217,126,28,0.22),
              0 8px 18px -4px rgba(0,0,0,0.4);
  position: relative;
}
.map-embed__pin-dot::after {
  content: "";
  position: absolute;
  left: 50%; top: 100%;
  transform: translate(-50%, -2px) rotate(45deg);
  width: 8px; height: 8px;
  background: var(--amber);
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.map-embed__pin-label {
  margin-top: 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 10px;
  white-space: nowrap;
  box-shadow: 0 8px 18px -6px rgba(0,0,0,0.4);
}
@media (max-width: 760px) {
  .map-embed { min-height: 320px; }
}

/* Brand/nav-link clearance at narrow desktop / large tablet */
@media (min-width: 901px) and (max-width: 1100px) {
  .nav__inner { gap: 20px; }
  .brand__name { font-size: 18px; }
  .brand__sub { font-size: 9px; }
  .nav__link { padding: 10px 12px; font-size: 10px; letter-spacing: .12em; }
  .nav__cta { padding: 11px 14px; font-size: 10px; }
}
