/* Aum Sumriddhi Ventures LLP — shared design system.
   Editorial layout (numbered section markers, oversized display type) in the
   logo's palette: green #105948 and gold #B99245, pixel-sampled from
   assets/logo-full.png. */

:root {
  --ink: #12241d;
  --paper: #faf9f6;
  --paper-2: #f2efe7;
  --grey-600: #5f6660;
  --grey-300: #d6d8d1;
  --line: #e2e0d8;
  --dark: #0b3a2f;
  --dark-2: #082c24;
  --on-dark: #f4f1ea;
  --on-dark-mut: #a9bab1;
  --line-dark: rgba(244, 241, 234, 0.16);
  --gold: #b99245;
  --gold-deep: #8a6c2c;
  --green: #105948;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.eyebrow {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.on-dark .eyebrow, .section--dark .eyebrow, .hero .eyebrow { color: var(--gold); }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.display-xl { font-size: clamp(2.5rem, 5.6vw, 4.8rem); line-height: 1; text-transform: uppercase; font-weight: 700; }
.display-l { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; text-transform: uppercase; }
.display-m { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.15; }
.body-l { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--grey-600); line-height: 1.6; margin: 0 0 16px; }
.body-m { font-size: 1rem; color: var(--grey-600); margin: 0 0 14px; }
.section--dark .body-l, .section--dark .body-m, .hero .body-l { color: var(--on-dark-mut); }
.body-l strong, .body-m strong { color: var(--ink); font-weight: 600; }
.section--dark .body-l strong, .hero .body-l strong { color: var(--on-dark); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
/* backdrop-filter makes the header the containing block for position:fixed
   children, which would trap the full-screen mobile menu — desktop only. */
@media (min-width: 1181px) {
  .site-header { background: rgba(250, 249, 246, 0.95); backdrop-filter: blur(8px); }
}
.utility-bar { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--grey-600); border-bottom: 1px solid var(--line); }
.utility-bar .container { display: flex; justify-content: space-between; gap: 24px; padding-top: 7px; padding-bottom: 7px; }
.utility-bar nav { display: flex; gap: 22px; }
.utility-bar a:hover, .utility-bar a[aria-current="page"] { color: var(--gold-deep); }

.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 10px; }
.main-nav > ul { display: flex; align-items: center; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 4px; padding: 10px 10px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--gold-deep); }
.nav-caret { font-size: 10px; opacity: 0.6; }
.nav-mobile-only, .mobile-close { display: none; }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(18, 36, 29, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 9px 12px; font-size: 14px; }
.dropdown a:hover { background: var(--paper-2); color: var(--gold-deep); }

.nav-cta { font-size: 13px; font-weight: 600; padding: 10px 18px; background: var(--green); color: var(--on-dark); border-radius: 2px; white-space: nowrap; }
.nav-cta:hover { background: var(--dark); }
.external-link::after { content: " \2197"; font-size: 12px; }
.menu-toggle { display: none; }

@media (max-width: 1180px) {
  .utility-bar { display: none; }
  .menu-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line);
    padding: 9px 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink);
    cursor: pointer;
  }
  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 150;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px var(--gutter) 40px;
    overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .main-nav > ul { flex-direction: column; align-items: stretch; width: 100%; }
  .nav-link { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 16px; justify-content: space-between; }
  .nav-mobile-only { display: block; }
  .nav-caret { font-size: 15px; opacity: 0.8; }
  .external-link::after { font-size: 15px; }
  .mobile-close {
    display: flex;
    align-self: flex-end;
    background: none;
    border: 1px solid var(--line);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--ink);
    cursor: pointer;
    margin-bottom: 8px;
  }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; display: none; border: none; box-shadow: none; background: var(--paper-2); margin: 0 0 8px; }
  .nav-item.is-expanded .dropdown { display: block; }
  .nav-cta { margin-top: 20px; text-align: center; padding: 14px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  background: radial-gradient(120% 90% at 85% 10%, #135c4a 0%, var(--dark) 45%, var(--dark-2) 100%);
}
.hero > .container { position: relative; z-index: 1; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero-lede { max-width: 620px; margin-top: 22px; }
.hero-cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--line-dark);
  color: var(--on-dark);
}
.hero-mark {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: min(46vw, 560px);
  color: var(--gold);
  opacity: 0.13;
  pointer-events: none;
}
.hero-mark svg { width: 100%; height: auto; }

/* photo hero: full-bleed image under a green scrim */
.hero--photo { background-color: var(--dark); background-size: cover; background-position: center; }
.hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 44, 36, 0.94) 0%, rgba(8, 44, 36, 0.78) 45%, rgba(8, 44, 36, 0.35) 100%);
}
@media (max-width: 880px) { .hero--photo::before { background: rgba(8, 44, 36, 0.84); } }

/* split hero: text left, framed image right */
.hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-split figure { margin: 0; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.04); padding: 10px; }
.hero-split figure img { width: 100%; height: auto; }
@media (max-width: 880px) { .hero-split { grid-template-columns: 1fr; gap: 36px; } }

.btn { display: inline-block; padding: 14px 26px; font-size: 14px; font-weight: 600; border-radius: 2px; border: 1px solid currentColor; cursor: pointer; font-family: var(--font-display); }
.btn--primary { background: var(--gold); border-color: var(--gold); color: #1b1407; }
.btn--primary:hover { background: #cda75a; border-color: #cda75a; }
.btn--ghost { color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.hero .btn--ghost, .section--dark .btn--ghost { color: var(--on-dark); }
.hero .btn--ghost:hover, .section--dark .btn--ghost:hover { background: var(--on-dark); color: var(--dark); }
.btn--green { background: var(--green); border-color: var(--green); color: var(--on-dark); }
.btn--green:hover { background: var(--dark); border-color: var(--dark); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 104px) 0; border-bottom: 1px solid var(--line); }
.section--tight { padding: clamp(48px, 5vw, 64px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--dark); color: var(--on-dark); border-bottom-color: var(--line-dark); }
.section-head { max-width: 780px; margin-bottom: 44px; }
.section-head .body-l { margin-top: 18px; }
.section-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
@media (max-width: 880px) { .section-grid { grid-template-columns: 1fr; gap: 28px; } }
.anchor { scroll-margin-top: 110px; }

/* verticals showcase */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 1080px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.v-card { display: flex; flex-direction: column; background: var(--paper); padding: 32px 28px; min-height: 290px; transition: background 0.15s ease; }
.v-card:hover { background: #fff; }
.v-card .v-top { display: flex; justify-content: space-between; align-items: flex-start; }
.v-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--grey-600); }
.v-card .icon { width: 40px; height: 40px; color: var(--green); }
.v-card h3 { margin: 26px 0 10px; font-size: 1.15rem; text-transform: uppercase; }
.v-card p { color: var(--grey-600); font-size: 0.93rem; margin: 0 0 20px; }
.v-card .explore { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--gold-deep); }
.v-card .explore::after { content: " \25b8"; }
.v-card--ext .explore::after { content: " \2197"; }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 720px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat { border-top: 1px solid var(--line-dark); padding-top: 18px; }
.stat .n { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; color: var(--gold); line-height: 1.1; }
.stat .cap { font-size: 13px; color: var(--on-dark-mut); margin-top: 6px; }
.section:not(.section--dark) .stat { border-top-color: var(--line); }
.section:not(.section--dark) .stat .n { color: var(--green); }
.section:not(.section--dark) .stat .cap { color: var(--grey-600); }

/* feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .feature-grid, .feature-grid--3 { grid-template-columns: 1fr; } }
.feature { padding: 24px 0; border-top: 1px solid var(--line); }
.section--dark .feature { border-top-color: var(--line-dark); }
.feature h4 { font-size: 1rem; text-transform: uppercase; margin: 0 0 8px; }
.feature p { margin: 0; font-size: 0.94rem; color: var(--grey-600); }
.section--dark .feature p { color: var(--on-dark-mut); }

/* product cards */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .p-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .p-grid, .p-grid--2 { grid-template-columns: 1fr; } }
.p-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.p-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #eeeeec; }
.p-card figure img { width: 100%; height: 100%; object-fit: cover; }
.p-card figure.contain img { object-fit: contain; }
.p-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.p-code { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--gold-deep); text-transform: uppercase; }
.p-card h4 { font-size: 1.05rem; text-transform: uppercase; }
.p-card p { margin: 0; font-size: 0.93rem; color: var(--grey-600); }
.p-meta { margin-top: auto; padding-top: 12px; font-size: 12px; color: var(--grey-600); border-top: 1px dashed var(--line); }
.p-meta strong { color: var(--ink); font-weight: 600; }
.p-icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--green); }
.tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  background: rgba(16, 89, 72, 0.08);
  color: var(--green);
  border: 1px solid rgba(16, 89, 72, 0.25);
}

.bullets { margin: 6px 0 0; }
.bullets li { position: relative; padding: 6px 0 6px 18px; font-size: 0.92rem; color: var(--grey-600); border-top: 1px solid var(--line); }
.bullets li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; background: var(--gold); }
.bullets li strong { color: var(--ink); }
.section--dark .bullets li { color: var(--on-dark-mut); border-top-color: var(--line-dark); }
.section--dark .bullets li strong { color: var(--on-dark); }

/* sub-category blocks */
.subcat { padding: 64px 0; border-top: 1px solid var(--line); }
.subcat:first-child { border-top: none; padding-top: 8px; }
.subcat-head { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; margin-bottom: 36px; align-items: end; }
.subcat-head .body-m { margin: 0; }
@media (max-width: 880px) { .subcat-head { grid-template-columns: 1fr; gap: 16px; } }

/* wide photo under a section / sub-section heading */
.section-photo { margin: 0 0 28px; aspect-ratio: 21 / 9; overflow: hidden; background: var(--paper-2); }
.section-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .section-photo { aspect-ratio: 16 / 9; } }

/* smaller native-size photo inside a text column (for low-resolution sources) */
.inline-photo { margin: 20px 0 0; max-width: 673px; border: 1px solid var(--line); background: #fff; padding: 6px; }
.inline-photo img { width: 100%; height: auto; }

/* photo band */
.photo-band { display: grid; grid-template-columns: 1.1fr 0.9fr; min-height: 420px; }
.photo-band > img { width: 100%; height: 100%; object-fit: cover; }
.photo-band .pb-text { padding: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.photo-band--rev { grid-template-columns: 0.9fr 1.1fr; }
.photo-band--rev > img { order: 2; }
@media (max-width: 880px) { .photo-band, .photo-band--rev { grid-template-columns: 1fr; } .photo-band > img { max-height: 340px; order: 0; } }

/* chips (OEMs, units) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); background: #fff; }
.section--dark .chip { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }

/* unit grid (railway clientele) */
.unit-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 980px) { .unit-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .unit-grid { grid-template-columns: repeat(2, 1fr); } }
.unit { padding: 24px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.unit b { display: block; font-size: 1.5rem; color: var(--green); }
.unit span { font-size: 12.5px; color: var(--grey-600); }

/* accreditations */
.accred-strip { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.accred-item { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--grey-600); text-transform: uppercase; border: 1px solid var(--line); padding: 10px 16px; background: #fff; }
.section--dark .accred-item { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }

/* made in india ribbon */
.mii { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.mii::before { content: ""; width: 26px; height: 3px; background: linear-gradient(90deg, #ff9933 0 33%, #fff 33% 66%, #138808 66%); border: 1px solid rgba(0, 0, 0, 0.08); }
.hero .mii, .section--dark .mii { color: var(--on-dark); }

/* coming soon */
.soon { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); }

/* CTA band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band .display-l { max-width: 760px; }

/* form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  font-family: var(--font-display);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--grey-300);
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.field .hint { font-size: 12px; color: var(--grey-600); }
.form-status { margin-top: 16px; font-size: 14px; }
.form-status[data-state="ok"] { color: var(--green); }
.form-status[data-state="error"] { color: #a83232; }
.dept-list li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.dept-list li span { color: var(--grey-600); }
.dept-list a { color: var(--green); font-weight: 600; }
.dept-list a:hover { color: var(--gold-deep); }
@media (max-width: 520px) { .dept-list li { grid-template-columns: 1fr; gap: 2px; } }

/* footer */
.site-footer { background: var(--dark-2); color: var(--on-dark); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; margin: 0; }
.footer-brand span { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-top: 6px; font-weight: 400; }
.site-footer h5 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-mut); margin: 0 0 16px; font-weight: 500; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.site-footer a:hover { color: var(--gold); }
.footer-blurb { color: var(--on-dark-mut); font-size: 14px; max-width: 360px; margin: 16px 0 0; }
.footer-accred { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.footer-accred span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--on-dark-mut); border: 1px solid var(--line-dark); padding: 5px 9px; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--on-dark-mut); }

/* reveal-on-scroll: enhancement only — content is visible without JS */
.js-ready [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js-ready [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-ready [data-reveal] { opacity: 1; transform: none; transition: none; } }
@media print { .js-ready [data-reveal] { opacity: 1; transform: none; } .site-header { position: static; } }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 16px; top: 16px; }
