/* ==========================================================================
   Sahjanand Engineering — Homepage
   All colour, type and spacing decisions live in :root below.
   Brand colours are sampled from the MARUTI logo (images/logo.webp):
   red #ED1D26, hook black #222021, silver frame #DFE2E5 → #8C9196.
   ========================================================================== */

:root {
    /* Primary — MARUTI red */
    --red-500: #ed1d26;           /* exact logo red: large marks, rails, dots */
    --red-600: #d0151e;           /* AA on white for text and buttons (5.5:1) */
    --red-700: #b0121a;           /* hover / brand surface (7:1 with white) */
    --red-800: #8e0e15;
    --red-050: #fdeeee;

    /* Secondary — hook black / graphite */
    --graphite-950: #111213;
    --graphite-900: #18191b;
    --graphite-800: #222021;      /* exact logo black */
    --graphite-700: #2d2c2d;
    --graphite-600: #3e3d3e;

    /* Accent — silver steel from the logo frame */
    --steel-600: #6d7278;
    --steel-500: #8c9196;
    --steel-400: #a9aeb3;
    --steel-300: #c9cdd1;
    --steel-200: #dfe2e5;
    --steel-100: #eceef0;
    --steel-050: #f3f4f5;

    /* Neutrals */
    --white: #ffffff;
    --paper: #f6f4f0;             /* warm mill-paper background */

    /* Semantic surfaces */
    --surface-page: var(--paper);
    --surface-raised: var(--white);
    --surface-steel: var(--steel-050);
    --surface-steel-strong: var(--steel-100);
    --surface-dark: var(--graphite-900);
    --surface-darker: var(--graphite-950);
    --surface-brand: var(--red-700);

    /* Semantic text */
    --text-strong: var(--graphite-900);
    --text: #393a3c;
    --text-muted: #5c6066;        /* 5.9:1 on paper */
    --text-on-dark: #f3f3f1;
    --text-on-dark-muted: #a7abb0;
    --text-accent: var(--red-600);

    /* Lines */
    --line: rgba(24, 25, 27, .12);
    --line-strong: rgba(24, 25, 27, .22);
    --line-on-dark: rgba(255, 255, 255, .14);
    --line-on-dark-strong: rgba(255, 255, 255, .28);

    /* Type */
    --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
    --fs-h1: clamp(2.35rem, 1.1rem + 4.5vw, 5.5rem);
    --fs-h2: clamp(1.95rem, 1.2rem + 2.3vw, 3.6rem);
    --fs-h3: clamp(1.3rem, 1.05rem + .7vw, 1.85rem);
    --fs-lead: clamp(1.06rem, 1rem + .3vw, 1.25rem);
    --fs-body: 1.0625rem;
    --fs-small: .9375rem;
    --fs-xs: .8125rem;

    /* Layout */
    --gutter: clamp(20px, 4vw, 72px);
    --shell: min(1680px, calc(100% - (var(--gutter) * 2)));
    --section-y: clamp(80px, 5vw + 48px, 152px);
    --header-h: 84px;
    --radius: 4px;
    --radius-lg: 8px;

    /* Motion */
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --dur-fast: .2s;
    --dur: .45s;
    --dur-slow: .9s;
    --dur-image: 1.2s;
    --stagger: 90ms;
    --shadow-card: 0 1px 2px rgba(17, 18, 19, .06), 0 24px 60px -24px rgba(17, 18, 19, .22);
    --shadow-lift: 0 2px 4px rgba(17, 18, 19, .06), 0 36px 72px -28px rgba(17, 18, 19, .32);

}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    color: var(--text);
    background: var(--surface-page);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
sup { font-size: .55em; line-height: 0; vertical-align: .9em; }

h1, h2, h3, h4 {
    color: var(--text-strong);
    font-family: var(--font-display);
    font-stretch: 108%;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.025em;
    text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.12; }
p { text-wrap: pretty; }
::selection { color: var(--white); background: var(--red-600); }
:focus-visible { outline: 2px solid var(--red-500); outline-offset: 3px; }

.shell { width: var(--shell); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 2000; top: 12px; left: 12px; padding: 10px 16px; color: var(--white); background: var(--graphite-900); border-radius: var(--radius); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.br-lg { display: none; }

@media (min-width: 1100px) { .br-lg { display: inline; } }

/* ---------- Small fallback icons (graphics.php, industries only) ---------- */
.ico { width: 100%; height: 100%; color: inherit; }
.ico .thin { stroke-width: 1; opacity: .65; }
.ico .ac { stroke: var(--red-500); }

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-stretch: 106%;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.005em;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--primary { color: var(--white); background: var(--red-600); }
.btn--primary:hover { background: var(--red-700); }
.btn--dark { color: var(--white); background: var(--graphite-900); }
.btn--dark:hover { background: var(--red-600); }
.btn--light { color: var(--graphite-900); background: var(--white); }
.btn--light:hover { color: var(--white); background: var(--graphite-900); }
.btn--ghost-light { color: var(--white); border-color: var(--line-on-dark-strong); background: transparent; }
.btn--ghost-light:hover { color: var(--graphite-900); background: var(--white); border-color: var(--white); }

.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--red-600); font-family: var(--font-display); font-stretch: 106%; font-weight: 600; white-space: nowrap; }
.text-link svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- Section heads ---------- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--text-accent);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.section-label::after {
    content: "";
    order: 1;
    width: 18px;
    height: 18px;
    background: currentColor;
    mask: var(--eyebrow-icon) center / contain no-repeat;
}
.section-label span { order: 2; color: var(--text-strong); font-family: var(--font-body); font-weight: 500; }
.section-label--light { color: var(--red-500); }
.section-label--light span { color: var(--text-on-dark); }
.global .section-label--light { color: var(--white); }

/* Eyebrow icons: drawn from the project icon set (shared/landing/components.php se_icon) */
#products { --eyebrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 3 5 5L8 21l-5-5z'/%3E%3Cpath d='m15 8 2 2M12 11l2 2M9 14l2 2M6 17l2 2'/%3E%3C/svg%3E"); }
#about { --eyebrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E"); }
#manufacturing { --eyebrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06-2.83 2.83-.06-.06a1.7 1.7 0 0 0-1.88-.34 1.7 1.7 0 0 0-1.03 1.56V21h-4v-.09A1.7 1.7 0 0 0 9 19.36a1.7 1.7 0 0 0-1.88.34l-.06.06-2.83-2.83.06-.06A1.7 1.7 0 0 0 4.63 15 1.7 1.7 0 0 0 3.07 14H3v-4h.09A1.7 1.7 0 0 0 4.64 9a1.7 1.7 0 0 0-.34-1.88l-.06-.06 2.83-2.83.06.06A1.7 1.7 0 0 0 9 4.63 1.7 1.7 0 0 0 10 3.07V3h4v.09A1.7 1.7 0 0 0 15 4.64a1.7 1.7 0 0 0 1.88-.34l.06-.06 2.83 2.83-.06.06A1.7 1.7 0 0 0 19.37 9 1.7 1.7 0 0 0 20.93 10H21v4h-.09A1.7 1.7 0 0 0 19.4 15z'/%3E%3C/svg%3E"); }
#industries { --eyebrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V9l6 3V8l6 4V4h6v17z'/%3E%3Cpath d='M7 17h2M12 17h2M17 17h2'/%3E%3C/svg%3E"); }
#global { --eyebrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
#testimonials { --eyebrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11H4a5 5 0 0 1 5-5v11H4v-3M20 11h-5a5 5 0 0 1 5-5v11h-5v-3'/%3E%3C/svg%3E"); }
#enquiry { --eyebrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }

.section-head { margin-bottom: clamp(40px, 4.5vw, 80px); }
.section-head--split { display: grid; gap: 20px 64px; align-items: end; }
.section-head h2 { max-width: 18ch; }
.section-intro { max-width: 50ch; color: var(--text-muted); font-size: var(--fs-lead); line-height: 1.6; }

@media (min-width: 1024px) {
    .section-head--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
    .section-head--split .section-intro { justify-self: end; padding-bottom: 6px; }
}

/* ---------- Load line (scroll progress signature) ---------- */
.load-line { display: none; }

@media (min-width: 1280px) {
    .load-line { position: fixed; z-index: 800; top: 0; bottom: 0; left: calc(var(--gutter) / 2 - 1px); display: block; width: 2px; pointer-events: none; }
    .load-line::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--steel-400), var(--steel-400)) center / 1px 100% no-repeat; opacity: .35; }
    .load-line__cable { position: absolute; top: 0; left: 0; width: 2px; height: 100%; background: var(--red-500); transform-origin: top; transform: scaleY(var(--progress, 0)); }
    .load-line__hook { position: absolute; top: 0; left: 50%; width: 18px; color: var(--red-500); transform: translate(-50%, calc(var(--progress, 0) * (100vh - 30px))); }
    .load-line__hook svg { width: 18px; height: 24px; }
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    z-index: 900;
    inset: 0 0 auto;
    color: var(--white);
    transition: background-color var(--dur) ease, color var(--dur) ease, box-shadow var(--dur) ease;
}
.site-header__bar { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.site-header.is-solid { color: var(--text-strong); background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 var(--line); }

@supports (backdrop-filter: blur(10px)) {
    .site-header.is-solid { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); }
}

.brand { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand__tile { display: grid; place-items: center; flex: 0 0 auto; width: 76px; height: 76px; background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); transform-origin: left center; transition: transform var(--dur) var(--ease-out); }
.brand__tile img { width: 66px; height: auto; }
.site-header.is-solid .brand__tile { transform: scale(.85); }
.site-header.is-solid .brand__text { transform: translateX(-10px); }
.brand__text { display: grid; line-height: 1.15; transition: transform var(--dur) var(--ease-out); }
.brand__text strong { font-family: var(--font-display); font-stretch: 110%; font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; }
.brand__text small { opacity: .72; font-size: .82rem; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: clamp(18px, 1.8vw, 36px); }
.primary-nav ul a { position: relative; display: inline-block; padding: 8px 0; font-size: .97rem; font-weight: 500; opacity: .86; transition: opacity var(--dur-fast) ease; }
.primary-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--red-500); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out); }
.primary-nav ul a:hover, .primary-nav ul a.is-active { opacity: 1; }
.primary-nav ul a:hover::after, .primary-nav ul a.is-active::after { transform: scaleX(1); }
.primary-nav__contact { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; color: var(--red-500); }

.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid currentColor; border-radius: var(--radius); background: transparent; cursor: pointer; opacity: .9; }
.nav-toggle__bars { display: grid; gap: 6px; width: 20px; margin: auto; }
.nav-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform var(--dur) var(--ease-out); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 1600px) { .header-phone { display: inline-flex; } }

@media (max-width: 1279px) {
    :root { --header-h: 72px; }
    .brand__tile { width: 66px; height: 66px; }
    .brand__tile img { width: 58px; }
    .nav-toggle { display: grid; }
    .site-header__actions { margin-left: auto; }

    .primary-nav {
        position: fixed;
        inset: var(--header-h) 0 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 24px var(--gutter) 40px;
        color: var(--text-on-dark);
        background: var(--graphite-950);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
        overflow-y: auto;
    }
    .nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .nav-open .site-header { color: var(--white); background: var(--graphite-950); box-shadow: none; backdrop-filter: none; }
    .primary-nav ul { flex-direction: column; gap: 0; }
    .primary-nav ul li { border-bottom: 1px solid var(--line-on-dark); }
    .primary-nav ul a { display: block; padding: 16px 0; font-family: var(--font-display); font-stretch: 108%; font-size: clamp(1.5rem, 5.5vw, 2.2rem); font-weight: 600; opacity: 1; }
    .primary-nav ul a::after { display: none; }
    .primary-nav ul a.is-active { color: var(--red-500); }
    .primary-nav__contact { display: grid; gap: 12px; margin-top: 32px; color: var(--text-on-dark-muted); }
    .primary-nav__contact a { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
    .primary-nav__contact svg { width: 18px; height: 18px; color: var(--red-500); }
}

@media (max-width: 640px) {
    .brand { gap: 10px; }
    .brand__text small { display: none; }
    .brand__text strong { font-size: 1rem; }
    .brand__tile { width: 62px; height: 62px; }
    .brand__tile img { width: 54px; }
    .site-header__actions .btn { display: none; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: max(640px, 100svh);
    padding-top: var(--header-h);
    color: var(--text-on-dark);
    background: var(--graphite-950);
    overflow: hidden;
}
.hero__media { position: absolute; z-index: -2; inset: 0; transform: translate3d(0, var(--parallax, 0), 0); will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }

.hero__shade {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(14, 14, 15, .94) 0%, rgba(14, 14, 15, .78) 34%, rgba(14, 14, 15, .2) 68%, rgba(14, 14, 15, .05) 100%),
        linear-gradient(0deg, rgba(14, 14, 15, .92) 0%, rgba(14, 14, 15, 0) 34%),
        linear-gradient(180deg, rgba(14, 14, 15, .72) 0, rgba(14, 14, 15, 0) 180px);
}

.hero__inner { display: flex; align-items: center; padding-block: clamp(40px, 8vh, 120px) 36px; }
.hero__copy { max-width: min(980px, 64vw); }
.hero__origin { display: inline-flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 3vh, 36px); color: var(--text-on-dark-muted); font-size: var(--fs-small); font-weight: 500; }
.hero__origin::before { content: ""; flex: 0 0 auto; width: 40px; height: 2px; background: var(--red-500); }
.hero__title { color: var(--white); font-size: var(--fs-h1); font-stretch: 104%; font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__line > span { display: inline-block; }
.hero__line:last-child > span { color: var(--steel-300); }
.hero__lead { max-width: 46ch; margin-top: clamp(20px, 3.4vh, 36px); color: var(--text-on-dark-muted); font-size: var(--fs-lead); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 4vh, 44px); }

.hero__facts-wrap { padding-bottom: clamp(28px, 4vh, 48px); }
.hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-on-dark-strong); }
.hero__facts > div { padding: 22px 24px 0 0; }
.hero__facts > div + div { padding-left: 24px; border-left: 1px solid var(--line-on-dark); }
.hero__facts dt { color: var(--white); font-family: var(--font-display); font-stretch: 110%; font-size: clamp(1.2rem, 1rem + .8vw, 1.85rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.hero__facts dd { margin-top: 6px; color: var(--text-on-dark-muted); font-size: var(--fs-small); line-height: 1.45; }

@media (max-width: 900px) {
    .hero__copy { max-width: none; }
    .hero__media img { object-position: 70% 50%; }
    .hero__shade { background: linear-gradient(180deg, rgba(14, 14, 15, .55) 0%, rgba(14, 14, 15, .82) 45%, rgba(14, 14, 15, .96) 100%); }
    .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero__facts > div { padding: 16px 14px 16px 0; }
    .hero__facts > div + div { padding-left: 0; border-left: 0; }
    .hero__facts > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-on-dark); }
    .hero__facts > div:nth-child(n+3) { border-top: 1px solid var(--line-on-dark); }
}

@media (max-width: 640px) {
    .hero__actions .btn { flex: 1 1 100%; }
}

/* Hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@keyframes lift-line { from { transform: translateY(108%); } to { transform: none; } }

@keyframes settle { from { transform: scale(1.09); } to { transform: scale(1); } }

.js .hero__media img { animation: settle 2.4s var(--ease-out) both; }
.js .hero [data-hero-step] { animation: rise var(--dur-slow) var(--ease-out) both; animation-delay: calc(var(--d, 0) * 110ms + 200ms); }
.js .hero__line > [data-hero-step] { animation-name: lift-line; animation-duration: 1.1s; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: calc(var(--d, 0) * var(--stagger)); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Image reveal: the frame opens from a slight inset while the photo settles */
.js [data-reveal-media] { clip-path: inset(5% 5% 5% 5% round var(--radius-lg)); transition: clip-path var(--dur-image) var(--ease-out); transition-delay: calc(var(--d, 0) * var(--stagger)); }
.js [data-reveal-media] img { transform: scale(1.06); transition: transform 1.6s var(--ease-out), scale var(--dur-image) var(--ease-out); }
.js [data-reveal-media].is-visible { clip-path: inset(0 round var(--radius-lg)); }
.js [data-reveal-media].is-visible img { transform: none; }

/* ---------- Products ---------- */
.products { background: var(--surface-page); }

/* Product comparison: column cards on desktop, grouped by specification on smaller screens */
.cmp { margin-bottom: clamp(56px, 6vw, 112px); }
.cmp__label { color: var(--text-muted); font-size: var(--fs-small); font-weight: 500; }
.cmp__cell { color: var(--text-strong); font-weight: 500; line-height: 1.5; }
.cmp__product { display: grid; gap: 4px; }
.cmp__thumb { display: block; aspect-ratio: 16 / 10; margin-bottom: 14px; overflow: hidden; background: var(--steel-200); border-radius: var(--radius); }
.cmp__thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale var(--dur-image) var(--ease-out); }
.cmp__product:hover .cmp__thumb img { scale: 1.05; }
.cmp__num { color: var(--red-600); font-family: var(--font-display); font-size: var(--fs-small); font-weight: 700; font-variant-numeric: tabular-nums; }
.cmp__name { color: var(--text-strong); font-family: var(--font-display); font-stretch: 106%; font-size: clamp(1.2rem, 1.05rem + .55vw, 1.6rem); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; transition: color var(--dur-fast) ease; }
.cmp__product:hover .cmp__name { color: var(--red-600); }
.cmp__what { margin-top: 10px; color: var(--text-muted); font-size: var(--fs-small); font-weight: 400; line-height: 1.55; }
.cmp__big { display: block; font-family: var(--font-display); font-stretch: 110%; font-size: clamp(1.45rem, 1.15rem + .9vw, 2.1rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
.cmp__note { display: block; margin-top: 4px; color: var(--text-muted); font-size: var(--fs-small); font-weight: 400; }
.cmp__row--cta .btn { width: 100%; gap: 8px; padding-inline: 14px; font-size: .92rem; }

@media (min-width: 1024px) {
    .cmp { display: grid; grid-template-columns: minmax(120px, .5fr) repeat(3, minmax(0, 1fr)); column-gap: clamp(14px, 1.4vw, 24px); }
    .cmp__row { display: contents; }
    .cmp__label { padding: 20px 8px 20px 0; border-top: 1px solid var(--line); }
    .cmp__cell { padding: 20px clamp(18px, 1.6vw, 28px); background: var(--surface-raised); border-top: 1px solid var(--line); box-shadow: inset 1px 0 0 var(--line), inset -1px 0 0 var(--line); transition: background-color var(--dur) ease; }
    .cmp__row--head .cmp__label { border-top: 0; }
    .cmp__cell--head { padding-top: clamp(18px, 1.6vw, 24px); border-top: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: inset 0 1px 0 var(--line), inset 1px 0 0 var(--line), inset -1px 0 0 var(--line); }
    .cmp__row--capacity .cmp__label, .cmp__row--capacity .cmp__cell { border-top: 2px solid var(--graphite-900); }
    .cmp__row--cta .cmp__label { border-top: 0; }
    .cmp__row--cta .cmp__cell { padding-bottom: 26px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: inset 0 -1px 0 var(--line), inset 1px 0 0 var(--line), inset -1px 0 0 var(--line); }

    /* Hovering anywhere in a product's column tints the whole column */
    .cmp:has([data-col="1"]:hover) [data-col="1"],
    .cmp:has([data-col="2"]:hover) [data-col="2"],
    .cmp:has([data-col="3"]:hover) [data-col="3"] { background: var(--steel-050); }
}

@media (max-width: 1023px) {
    .cmp__row { margin-top: 12px; overflow: hidden; background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--line); }

    .cmp__row--head {
        position: sticky;
        z-index: 5;
        top: var(--header-h);
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 0;
        padding: 12px 0;
        overflow: visible;
        background: var(--surface-page);
        border-radius: 0;
        box-shadow: 0 1px 0 var(--line);
    }
    .cmp__row--head .cmp__label, .cmp__what { display: none; }
    .cmp__cell--head .cmp__thumb { margin-bottom: 8px; }
    .cmp__cell--head .cmp__name { font-size: clamp(.92rem, .85rem + .5vw, 1.1rem); line-height: 1.2; }
    .cmp__label { display: block; padding: 12px 18px; color: var(--text-strong); background: var(--surface-steel); font-family: var(--font-display); font-weight: 600; }
    .cmp__cell { display: grid; grid-template-columns: minmax(96px, 32%) minmax(0, 1fr); gap: 4px 14px; padding: 14px 18px; border-top: 1px solid var(--line); }
    .cmp__cell::before { content: attr(data-product); color: var(--red-600); font-size: var(--fs-xs); font-style: normal; font-weight: 600; line-height: 1.6; }
    .cmp__row--head .cmp__cell { display: block; padding: 0; border: 0; }
    .cmp__row--head .cmp__cell::before, .cmp__row--cta .cmp__cell::before { display: none; }
    .cmp__row--cta { display: grid; gap: 10px; margin-top: 16px; overflow: visible; background: none; box-shadow: none; }
    .cmp__row--cta .cmp__label { display: none; }
    .cmp__row--cta .cmp__cell { display: block; padding: 0; border: 0; }
}

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

.tick-points { display: grid; gap: 6px; }
.tick-points li { position: relative; padding-left: 18px; }
.tick-points li::before { content: ""; position: absolute; top: .62em; left: 0; width: 7px; height: 7px; background: var(--red-500); }

/* Stacked product cards */
.product-stack { display: grid; gap: 28px; }
.product-card { --scale: 1; }
.product-card__inner { display: grid; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); transform: scale(var(--scale)); transform-origin: 50% 0; }
.product-card--light .product-card__inner { background: var(--surface-raised); }
.product-card--dark .product-card__inner { background: var(--surface-dark); }
.product-card--steel .product-card__inner { background: var(--surface-steel-strong); }
.product-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--steel-200); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale var(--dur-image) var(--ease-out); }
.product-card:hover .product-card__media img { scale: 1.035; }

.product-card__plate {
    position: absolute;
    left: clamp(16px, 2vw, 28px);
    bottom: clamp(16px, 2vw, 28px);
    display: grid;
    gap: 2px;
    max-width: calc(100% - 32px);
    padding: 16px 22px 18px;
    color: var(--white);
    background: var(--surface-brand);
    border-radius: var(--radius);
    box-shadow: 0 24px 48px -20px rgba(17, 18, 19, .55);
}
.product-card__plate span, .product-card__plate small { color: rgba(255, 255, 255, .84); font-size: var(--fs-xs); }
.product-card__plate strong { font-family: var(--font-display); font-stretch: 110%; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.4rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; }

.product-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.6vw, 72px); }
.product-card__count { margin-bottom: clamp(16px, 2.2vh, 28px); color: var(--text-muted); font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.product-card__count span { color: var(--red-600); font-weight: 700; }
.product-card h3 { font-size: clamp(2rem, 1.3rem + 2vw, 3.4rem); letter-spacing: -.03em; }
.product-card__lead { max-width: 44ch; margin-top: 16px; color: var(--text); font-size: var(--fs-lead); line-height: 1.55; }
.spec-list { width: 100%; margin: clamp(22px, 3vh, 36px) 0 clamp(26px, 3.4vh, 40px); border-top: 1px solid var(--line-strong); }
.spec-list > div { display: grid; grid-template-columns: minmax(96px, 9rem) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--text-muted); font-size: var(--fs-small); }
.spec-list dd { color: var(--text-strong); font-weight: 500; line-height: 1.5; }
.product-card .btn { margin-top: auto; }

.product-card--dark h3, .product-card--dark .spec-list dd { color: var(--white); }
.product-card--dark .product-card__lead { color: var(--text-on-dark-muted); }
.product-card--dark .product-card__count, .product-card--dark .spec-list dt { color: var(--text-on-dark-muted); }
.product-card--dark .product-card__count span { color: var(--red-500); }
.product-card--dark .spec-list { border-color: var(--line-on-dark-strong); }
.product-card--dark .spec-list > div { border-color: var(--line-on-dark); }

@media (max-width: 640px) {
    .product-card__plate { left: 12px; bottom: 12px; padding: 10px 14px 12px; }
    .product-card__plate strong { font-size: 1.35rem; }
    .product-card__plate small { display: none; }
}

@media (max-width: 480px) {
    .spec-list > div { grid-template-columns: 1fr; gap: 2px; }
    .product-card .btn { width: 100%; }
}

@media (min-width: 1024px) {
    .product-card__inner { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); }
    .product-card:nth-child(even) .product-card__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr); }
    .product-card:nth-child(even) .product-card__media { order: 2; }
    .product-card__media { aspect-ratio: auto; min-height: 440px; }
    .product-card__media img { position: absolute; inset: 0; }
}

/* Stacking cards: only where the viewport can hold a whole card */
@media (min-width: 1024px) and (min-height: 780px) {
    .product-stack { gap: 7vh; padding-bottom: 4vh; }
    .product-card { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 22px); }
    .product-card__inner { height: min(calc(100vh - var(--header-h) - 120px), 760px); }
}

.also {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    margin-top: clamp(32px, 3.5vw, 56px);
    padding: 20px clamp(20px, 2vw, 32px);
    background: var(--surface-raised);
    border-left: 3px solid var(--red-500);
    border-radius: var(--radius);
    box-shadow: 0 0 0 1px var(--line);
}
.also p { color: var(--text); }
.also strong { color: var(--text-strong); font-weight: 600; }

/* ---------- About ---------- */
.about { background: var(--surface-raised); }
.about__statement { max-width: 18ch; font-size: clamp(2.2rem, 1.2rem + 3vw, 4.4rem); font-stretch: 104%; font-weight: 600; line-height: 1.04; letter-spacing: -.035em; }
.about__statement em { color: var(--red-600); font-style: normal; }
.about__grid { display: grid; gap: clamp(40px, 5vw, 72px); margin-top: clamp(48px, 5vw, 88px); align-items: center; }

.about__visual { position: relative; padding: 0 clamp(0px, 7vw, 112px) clamp(64px, 8vw, 128px) 0; }
.about__main { aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-100); border-radius: var(--radius-lg); }
.about__main img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 100%; scale: 1.14; transform-origin: 42% 100%; }

.about__inset {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(48%, 320px);
    padding: 8px 8px 4px;
    background: var(--surface-raised);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
}
.about__inset img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about__inset figcaption { padding: 8px 4px 4px; color: var(--text-muted); font-size: var(--fs-xs); }

.about__stamp {
    position: absolute;
    top: clamp(16px, 2.4vw, 32px);
    left: clamp(12px, 1vw, 16px);
    display: grid;
    padding: clamp(14px, 1.4vw, 22px) clamp(18px, 1.8vw, 28px);
    color: var(--white);
    background: var(--surface-brand);
    border-radius: var(--radius);
    box-shadow: 0 24px 48px -20px rgba(142, 14, 21, .5);
}
.about__stamp strong { font-family: var(--font-display); font-stretch: 110%; font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.8rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.about__stamp span { margin-top: 4px; color: rgba(255, 255, 255, .86); font-size: var(--fs-small); }
.about__caption { max-width: 48%; margin-top: 14px; color: var(--text-muted); font-size: var(--fs-small); }

.about__lead { max-width: 50ch; color: var(--text-strong); font-size: var(--fs-lead); line-height: 1.6; }
.about__subhead { margin: clamp(36px, 4vw, 56px) 0 6px; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); }
.reasons { display: grid; }
.reason { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: border-color var(--dur) ease, opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reason:hover { border-bottom-color: var(--red-500); }
.reason__num { color: var(--red-600); font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.75; }
.reason h4 { font-size: 1.18rem; font-stretch: 106%; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.reason p { margin-top: 6px; color: var(--text-muted); font-size: var(--fs-small); line-height: 1.6; }

@media (min-width: 720px) {
    .reasons { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}

@media (min-width: 1100px) {
    .about__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(56px, 6vw, 120px); }
    .about__stamp { left: -20px; }
}

@media (max-width: 560px) {
    .about__visual { padding-right: 0; padding-bottom: 96px; }
    .about__inset { width: 58%; }
    .about__caption { max-width: 40%; }
}

/* ---------- Manufacturing: a dark sheet that slides over the section above ---------- */
.manufacturing {
    position: relative;
    margin-top: -32px;
    color: var(--text-on-dark);
    background: var(--surface-darker);
    border-radius: 32px 32px 0 0;
}
.manufacturing h2, .manufacturing h3 { color: var(--white); }
.manufacturing .section-intro { color: var(--text-on-dark-muted); }

.process { position: relative; margin-bottom: clamp(56px, 6vw, 96px); }
.process__rail { position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: var(--line-on-dark-strong); }
.process__rail-fill { position: absolute; inset: 0; background: var(--red-500); transform-origin: left; transform: scaleX(var(--fill, 0)); }
.process__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.process__step { position: relative; padding-top: 44px; }
.process__step::before { content: ""; position: absolute; top: 0; left: 0; width: 16px; height: 16px; background: var(--surface-darker); border: 2px solid var(--red-500); transition: background-color var(--dur) ease; }
.process__step.is-visible::before { background: var(--red-500); transition-delay: calc(var(--d, 0) * 220ms + 400ms); }
.process__num { display: block; margin-bottom: 10px; color: var(--red-500); font-family: var(--font-display); font-size: var(--fs-small); font-weight: 600; }
.process__step h3 { font-size: clamp(1.25rem, 1.05rem + .5vw, 1.6rem); }
.process__step p { max-width: 34ch; margin-top: 10px; color: var(--text-on-dark-muted); font-size: var(--fs-small); }

@media (max-width: 900px) {
    .process__rail { inset: 0 auto 0 7px; width: 2px; height: auto; }
    .process__rail-fill { transform-origin: top; transform: scaleY(var(--fill, 0)); }
    .process__steps { grid-template-columns: 1fr; gap: 32px; }
    .process__step { padding: 0 0 0 44px; }
}

.mfg-grid { display: grid; gap: 16px; }
.mfg-tile { position: relative; overflow: hidden; background: var(--graphite-800); border-radius: var(--radius-lg); }
.mfg-tile img { width: 100%; height: 100%; object-fit: cover; }
.mfg-tile:hover img { scale: 1.04; }
.mfg-tile figcaption { position: absolute; left: 14px; bottom: 14px; padding: 8px 12px; color: var(--white); background: rgba(17, 18, 19, .82); border-radius: var(--radius); font-size: var(--fs-xs); }
.mfg-tile--assembly, .mfg-tile--workshop { aspect-ratio: 4 / 3; }
.mfg-tile--feature { aspect-ratio: 3 / 2; }
.quality-card { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 48px); color: var(--graphite-900); background: var(--white); border-radius: var(--radius-lg); }
.quality-card__mark { width: 84px; height: 84px; margin-bottom: 20px; object-fit: contain; }
.quality-card h3 { color: var(--graphite-900); }
.tick-list { display: grid; gap: 12px; margin-top: 18px; }
.tick-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--text); line-height: 1.5; }
.tick-list svg { width: 20px; height: 20px; margin-top: 2px; color: var(--red-600); }

@media (min-width: 720px) {
    .mfg-grid { grid-template-columns: 1fr 1fr; }
    .mfg-tile--feature, .quality-card { grid-column: 1 / -1; }
    .quality-card { display: grid; grid-template-columns: auto 1fr; column-gap: 32px; align-items: start; }
    .quality-card__mark { grid-row: span 2; margin: 0; }
}

@media (min-width: 1100px) {
    .mfg-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas: "feature quality quality" "feature assembly workshop";
    }
    .mfg-tile--feature { grid-area: feature; aspect-ratio: auto; min-height: 520px; }
    .mfg-tile--feature img { position: absolute; inset: 0; }
    .quality-card { grid-area: quality; column-gap: 40px; align-content: center; }
    .quality-card__mark { width: 112px; height: 112px; }
    .quality-card .tick-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
    .mfg-tile--assembly { grid-area: assembly; }
    .mfg-tile--workshop { grid-area: workshop; }
}

/* ---------- Industries ---------- */
.industries { background: var(--surface-steel); }
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }

.industry {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    min-height: clamp(210px, 14vw, 260px);
    padding: clamp(22px, 2.2vw, 36px);
    background: var(--surface-steel);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background-color var(--dur) ease, opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.industry::before { content: ""; position: absolute; left: -1px; top: -1px; width: 3px; height: 0; background: var(--red-500); transition: height var(--dur) var(--ease-out); }
.industry__icon { width: 60px; height: 60px; color: var(--graphite-800); transition: color var(--dur) ease, transform var(--dur) var(--ease-out); }
.industry__num { color: var(--text-muted); font-family: var(--font-display); font-size: var(--fs-small); font-variant-numeric: tabular-nums; transition: color var(--dur) ease; }
.industry h3 { grid-column: 1 / -1; align-self: end; padding-top: 28px; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.95rem); transition: color var(--dur) ease; }
.industry p { grid-column: 1 / -1; margin-top: 8px; color: var(--text-muted); font-size: var(--fs-small); line-height: 1.5; transition: color var(--dur) ease; }
.industry:hover { background: var(--graphite-900); }
.industry:hover::before { height: calc(100% + 1px); }
.industry:hover .industry__icon { color: var(--white); transform: translateY(-3px); }
.industry:hover h3 { color: var(--white); }
.industry:hover p { color: var(--text-on-dark-muted); }
.industry:hover .industry__num { color: var(--red-500); }

@media (min-width: 1100px) { .industry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 560px) {
    .industry { grid-template-columns: 44px 1fr auto; grid-template-rows: auto auto; column-gap: 16px; min-height: 0; }
    .industry__icon { grid-row: span 2; width: 44px; height: 44px; }
    .industry__num { grid-column: 3; grid-row: 1; }
    .industry h3 { grid-column: 2; grid-row: 1; padding-top: 0; }
    .industry p { grid-column: 2 / -1; margin-top: 4px; }
}
.industries__also { max-width: 90ch; margin-top: 28px; color: var(--text-muted); }
.industries__also strong { color: var(--text-strong); font-weight: 600; }

/* ---------- Global reach: animated presence map ---------- */
.global { position: relative; overflow: hidden; color: var(--white); background: var(--surface-brand); }
.global__head { display: grid; gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.global h2 { max-width: 18ch; color: var(--white); }
.global__lead { max-width: 50ch; color: rgba(255, 255, 255, .88); font-size: var(--fs-lead); }
.global__layout { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }

.world { margin: 0; }
.world__frame { position: relative; overflow: hidden; padding: clamp(14px, 2vw, 32px); background: rgba(0, 0, 0, .12); border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.world__canvas { position: relative; width: var(--map-zoom, 100%); margin-left: var(--map-shift, 0%); aspect-ratio: 1000 / 383.3; }
.world__base, .world__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.world__base { opacity: .3; }
.world__india circle, .world__dot, .world__dest { fill: var(--white); }
.world__ring { fill: none; stroke: var(--white); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.world__ring--wide { stroke-width: .8; }
.world__route { fill: none; stroke: var(--white); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }

.world__label {
    position: absolute;
    display: grid;
    padding: 8px 12px;
    color: var(--text-muted);
    background: var(--surface-raised);
    border-radius: var(--radius);
    box-shadow: 0 18px 36px -18px rgba(40, 3, 6, .6);
    font-size: var(--fs-xs);
    line-height: 1.3;
    white-space: nowrap;
    transform: translate(16px, -50%);
}
.world__label strong { color: var(--text-strong); font-family: var(--font-display); font-stretch: 106%; font-size: .95rem; font-weight: 600; }

.world__legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 16px; color: rgba(255, 255, 255, .88); font-size: var(--fs-small); }
.world__key { display: inline-flex; align-items: center; gap: 10px; }
.world__key::before { content: ""; flex: 0 0 auto; width: 10px; height: 10px; background: var(--white); border-radius: 50%; }
.world__key--export { font-style: italic; }
.world__key--export::before { background: transparent; border: 1px dashed var(--white); }

/* Map motion: dots settle in, India fills, the base marker breathes while the map is on screen */
.js .world .world__base { opacity: 0; transform: scale(1.015); transition: opacity var(--dur-image) var(--ease-out), transform 1.8s var(--ease-out); }
.js .world.is-visible .world__base { opacity: .3; transform: none; }
.js .world .world__india circle { opacity: 0; transition: opacity .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 10ms + 500ms); }
.js .world.is-visible .world__india circle { opacity: 1; }
.js .world .world__route { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-in-out); transition-delay: calc(var(--i, 0) * 200ms + 900ms); }
.js .world.is-visible .world__route { stroke-dashoffset: 0; }
.js .world .world__label { opacity: 0; transform: translate(26px, -50%); transition: opacity var(--dur-slow) var(--ease-out) 1.1s, transform var(--dur-slow) var(--ease-out) 1.1s; }
.js .world.is-visible .world__label { opacity: 1; transform: translate(16px, -50%); }
.world.is-running .world__ring { animation: world-pulse 3.6s var(--ease-out) infinite; }
.world.is-running .world__ring--late { animation-delay: 1.8s; }
.world.is-running .world__ring--wide { animation: world-wave 7.2s var(--ease-out) infinite; }

@keyframes world-pulse { from { opacity: .75; transform: scale(.5); } to { opacity: 0; transform: scale(2.6); } }

@keyframes world-wave { from { opacity: .45; transform: scale(.2); } to { opacity: 0; transform: scale(1.4); } }

.global__facts { display: grid; margin-bottom: 32px; border-top: 1px solid rgba(255, 255, 255, .32); }
.global__facts > div { display: grid; grid-template-columns: minmax(120px, 11rem) 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.global__facts dt { color: rgba(255, 255, 255, .8); font-size: var(--fs-small); }
.global__facts dd { font-weight: 500; }
.global .btn--light:hover { background: var(--graphite-950); }

@media (min-width: 1024px) {
    .global__head { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
    .global__head .global__lead { justify-self: end; padding-bottom: 6px; }
}

@media (min-width: 1100px) {
    .global__layout { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
    .global__facts > div { grid-template-columns: 1fr; gap: 2px; }
}

/* Narrow screens: zoom the map onto India and the surrounding regions */
@media (max-width: 699px) {
    .world__canvas { --map-zoom: 190%; --map-shift: -92%; }
}

@media (max-width: 480px) {
    .global__facts > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--surface-page); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; align-items: start; }

.quote-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(26px, 2.6vw, 40px);
    background: var(--surface-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color var(--dur) ease, box-shadow var(--dur) ease, opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.quote-card:hover { border-color: var(--red-500); box-shadow: var(--shadow-card); }
.quote-card__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.quote-card__mark { display: grid; place-items: center; width: 44px; height: 44px; color: var(--red-600); background: var(--red-050); border-radius: var(--radius); }
.quote-card__mark svg { width: 22px; height: 22px; }
.quote-card__product { color: var(--text-muted); font-size: var(--fs-xs); font-weight: 500; text-align: right; }
.quote-card blockquote { margin: 24px 0 32px; }
.quote-card blockquote p { color: var(--text-strong); font-family: var(--font-display); font-stretch: 100%; font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); font-weight: 500; line-height: 1.45; letter-spacing: -.01em; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.quote-card__avatar { display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; color: var(--steel-600); background: var(--steel-100); border: 1px dashed var(--steel-400); border-radius: 50%; }
.quote-card__avatar svg { width: 20px; height: 20px; }
.quote-card figcaption > span:last-child { display: grid; line-height: 1.35; }
.quote-card figcaption strong { color: var(--text-strong); font-weight: 600; }
.quote-card figcaption small { color: var(--text-muted); font-size: var(--fs-xs); }

@media (min-width: 1100px) {
    .quote-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 48px; }
    .quote-card:nth-child(2) { margin-top: 48px; }
}

/* ---------- Enquiry: dark brief panel with the form card laid over its edge ---------- */
.enquiry { background: var(--surface-steel); }
.enquiry__grid { display: grid; }
.enquiry__info { position: relative; isolation: isolate; display: flex; color: var(--text-on-dark); background: var(--surface-dark); overflow: hidden; }

.enquiry__info::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, var(--graphite-900) 35%, rgba(24, 25, 27, .84) 100%), url("../images/industrial-panorama.webp") 30% 100% / cover no-repeat;
}
.enquiry__info-inner { width: 100%; padding: var(--section-y) var(--gutter); }
.enquiry h2 { max-width: 14ch; color: var(--white); }
.enquiry__lead { max-width: 44ch; margin-top: 18px; color: var(--text-on-dark-muted); font-size: var(--fs-lead); }

.hints { margin-top: 32px; }
.hints__title { margin-bottom: 12px; color: var(--white); font-family: var(--font-display); font-stretch: 106%; font-weight: 600; }
.hints__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 10px 20px; }
.hints__list li { display: flex; align-items: center; gap: 10px; color: var(--text-on-dark); font-size: var(--fs-small); }
.hints__list svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--red-500); }

.contact-list { display: grid; margin-top: 36px; border-top: 1px solid var(--line-on-dark-strong); }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-on-dark); }
.contact-list svg { width: 22px; height: 22px; margin-top: 2px; color: var(--red-500); }
.contact-list div { display: grid; gap: 2px; min-width: 0; }
.contact-list span { color: var(--text-on-dark-muted); font-size: var(--fs-xs); }
.contact-list a { width: fit-content; max-width: 100%; color: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; background: linear-gradient(var(--red-500), var(--red-500)) 0 100% / 0 1px no-repeat; transition: background-size var(--dur) var(--ease-out); }
.contact-list a:hover { background-size: 100% 1px; }
.contact-list address { max-width: 40ch; color: var(--text-on-dark); }

.enquiry__form-wrap { display: flex; align-items: center; padding: clamp(40px, 5vw, 72px) var(--gutter) var(--section-y); }
.enquiry__card { position: relative; z-index: 1; width: 100%; max-width: 960px; padding: clamp(22px, 3vw, 48px); background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.enquiry-form__head { margin-bottom: 26px; }
.enquiry-form__head h3 { font-size: clamp(1.45rem, 1.15rem + .9vw, 2.1rem); }
.enquiry-form__head p { margin-top: 8px; color: var(--text-muted); font-size: var(--fs-small); }
.enquiry-form__head p span[aria-hidden], .field label span[aria-hidden], .product-pick legend span[aria-hidden] { color: var(--red-600); }

.field-row { display: grid; gap: 0 20px; }

@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .product-pick legend { color: var(--text-strong); font-size: var(--fs-small); font-weight: 500; }

.field input, .field select, .field textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    color: var(--text-strong);
    background: var(--surface-steel);
    border: 1px solid var(--steel-300);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--steel-600); }
.field select { appearance: none; padding-right: 46px; background-image: linear-gradient(45deg, transparent 50%, var(--steel-600) 50%), linear-gradient(135deg, var(--steel-600) 50%, transparent 50%); background-position: calc(100% - 20px) 23px, calc(100% - 14px) 23px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--white); border-color: var(--graphite-900); box-shadow: 0 0 0 3px rgba(237, 29, 38, .18); }
.field [aria-invalid="true"] { border-color: var(--red-600); background: var(--red-050); }
.field__error { color: var(--red-700); font-size: .875rem; line-height: 1.4; }
.field__error:empty { display: none; }

/* Product picker: photo cards */
.product-pick { min-width: 0; padding: 0; border: 0; }
.product-pick legend { margin-bottom: 8px; padding: 0; }
.product-pick__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pick { position: relative; display: block; cursor: pointer; }
.pick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pick__box { position: relative; display: grid; height: 100%; overflow: hidden; background: var(--surface-steel); border: 1px solid var(--steel-300); border-radius: var(--radius); transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease; }
.pick__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--steel-200); }
.pick__media img { width: 100%; height: 100%; object-fit: cover; transition: scale var(--dur-image) var(--ease-out); }
.pick__name { padding: 10px 12px 12px; color: var(--text-strong); font-size: var(--fs-small); font-weight: 500; line-height: 1.3; }
.pick:hover .pick__box { border-color: var(--steel-500); }
.pick:hover .pick__media img { scale: 1.04; }
.pick input:focus-visible + .pick__box { outline: 2px solid var(--red-500); outline-offset: 2px; }
.pick input:checked + .pick__box { background: var(--white); border-color: var(--graphite-900); box-shadow: inset 0 0 0 1px var(--graphite-900); }
.pick input:checked + .pick__box::after { content: ""; position: absolute; top: 8px; right: 8px; width: 12px; height: 12px; background: var(--red-500); box-shadow: 0 0 0 2px var(--white); }
.product-pick[aria-invalid="true"] .pick__box { border-color: var(--red-600); }

@media (min-width: 640px) { .product-pick__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.captcha { display: grid; grid-template-columns: minmax(0, 1fr) 120px 54px; gap: 10px; align-items: center; }
.captcha input { text-transform: uppercase; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.captcha img { width: 120px; height: 54px; object-fit: fill; border-radius: var(--radius); }
.captcha__refresh { display: grid; place-items: center; width: 54px; height: 54px; color: var(--graphite-900); background: var(--surface-raised); border: 1px solid var(--steel-300); border-radius: var(--radius); cursor: pointer; transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.captcha__refresh:hover { color: var(--red-600); border-color: var(--graphite-900); }
.captcha__refresh svg { width: 20px; height: 20px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-bottom: 14px; color: var(--red-700); font-weight: 500; }
.form-status:empty { display: none; }
.enquiry-form [data-submit][aria-busy="true"] { opacity: .75; cursor: progress; }
.enquiry-form__privacy { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text-muted); font-size: .875rem; }
.enquiry-form__privacy svg { width: 16px; height: 16px; }

.enquiry-success:focus { outline: none; }
.enquiry-success__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; color: var(--white); background: var(--red-600); border-radius: 50%; }
.enquiry-success__icon svg { width: 26px; height: 26px; }
.enquiry-success h3 { font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.6rem); }
.enquiry-success p { max-width: 50ch; margin: 14px 0 28px; color: var(--text-muted); }
.enquiry-success a { color: var(--red-600); font-weight: 600; }

@media (max-width: 1099px) {
    .enquiry__info-inner { padding-bottom: calc(var(--section-y) + 48px); }
    .enquiry__form-wrap { padding-top: 0; }
    .enquiry__card { margin-top: -64px; }
}

@media (min-width: 1100px) {
    .enquiry__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
    .enquiry__info-inner { padding-right: clamp(120px, 10vw, 200px); padding-left: max(var(--gutter), calc((100vw - 1680px) / 2)); }
    .enquiry__form-wrap { padding: var(--section-y) max(var(--gutter), calc((100vw - 1680px) / 2)) var(--section-y) 0; }
    .enquiry__card { margin-left: clamp(-160px, -8vw, -80px); }
}

@media (max-width: 420px) {
    .captcha { grid-template-columns: 1fr 54px; }
    .captcha input { grid-column: 1 / -1; }
}

/* ---------- Enquiry modal ---------- */
body.dialog-open { overflow: hidden; }
.enquiry-modal {
    width: min(700px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    color: var(--text);
    background: transparent;
    border: 0;
    border-radius: var(--radius-lg);
    overflow: visible;
}
.enquiry-modal::backdrop { background: rgba(17, 18, 19, .78); backdrop-filter: blur(5px); }
.enquiry-modal[open] { animation: modal-fade-in .2s ease-out both; }
.enquiry-modal[open] .enquiry-modal__surface { animation: modal-surface-in .32s var(--ease-out) both; }
.enquiry-modal__surface {
    position: relative;
    max-height: calc(100dvh - 32px);
    padding: clamp(26px, 4vw, 48px);
    background: var(--surface-raised);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
    overflow-y: auto;
}
.enquiry-modal__close {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--text-strong);
    background: var(--surface-steel);
    border: 1px solid var(--steel-300);
    border-radius: 50%;
    cursor: pointer;
}
.enquiry-modal__close:hover { color: var(--white); background: var(--red-600); border-color: var(--red-600); }
.enquiry-modal__close svg { width: 20px; height: 20px; }
.enquiry-modal__brand { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.enquiry-modal__brand img { width: 66px; height: 64px; object-fit: contain; }
.enquiry-form--modal .enquiry-form__head { padding-inline: 40px; text-align: center; }
.enquiry-form--modal .enquiry-form__head h2 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.7rem); }
.enquiry-modal__eyebrow { margin-bottom: 8px; color: var(--red-600); font-family: var(--font-display); font-size: var(--fs-small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.enquiry-success--modal { padding: clamp(38px, 7vw, 72px) 12px; text-align: center; }
.enquiry-success--modal .enquiry-success__icon { margin-inline: auto; }
.enquiry-success--modal p { margin-inline: auto; }
@keyframes modal-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-surface-in { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
    .enquiry-modal { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
    .enquiry-modal__surface { max-height: calc(100dvh - 16px); padding: 24px 18px; }
    .enquiry-modal__close { top: 10px; right: 10px; }
    .enquiry-modal__brand { width: 64px; height: 64px; }
    .enquiry-modal__brand img { width: 56px; height: 54px; }
    .enquiry-form--modal .enquiry-form__head { padding-inline: 30px; }
}

/* ---------- Footer ---------- */
.site-footer { color: var(--text-on-dark-muted); background: var(--surface-darker); }
.site-footer__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(56px, 6vw, 104px) 0; border-bottom: 1px solid var(--line-on-dark); }
.site-footer__cta h2 { max-width: 16ch; color: var(--white); }
.site-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer__cta-actions svg:first-child:not(:last-child) { width: 18px; height: 18px; }
.site-footer__grid { display: grid; gap: 40px; padding: clamp(48px, 5vw, 88px) 0; }
.footer-brand__logo { display: inline-grid; place-items: center; width: 132px; height: 132px; margin-bottom: 22px; background: var(--white); border-radius: var(--radius-lg); }
.footer-brand__logo img { width: 112px; }
.footer-brand__name { margin-bottom: 8px; color: var(--white); font-family: var(--font-display); font-stretch: 108%; font-size: 1.15rem; font-weight: 600; }
.footer-brand p:last-child { max-width: 36ch; font-size: var(--fs-small); }
.footer-col h3 { margin-bottom: 18px; color: var(--white); font-size: 1rem; font-stretch: 106%; font-weight: 600; letter-spacing: 0; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { width: fit-content; max-width: 100%; overflow-wrap: anywhere; transition: color var(--dur-fast) ease; }
.footer-col a:hover { color: var(--white); }
.footer-col--contact { display: grid; align-content: start; gap: 10px; }
.footer-col--contact address { max-width: 34ch; margin-bottom: 6px; font-size: var(--fs-small); }
.footer-col--contact a { color: var(--text-on-dark); font-variant-numeric: tabular-nums; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px 0 36px; border-top: 1px solid var(--line-on-dark); font-size: .875rem; }

@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }

@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; } }

@media (max-width: 640px) {
    .site-footer__cta-actions { width: 100%; }
    .site-footer__cta-actions .btn { flex: 1 1 100%; }
}

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

.go-top {
    position: fixed;
    right: clamp(16px, 2vw, 28px);
    bottom: clamp(16px, 2vw, 28px);
    z-index: 870;
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    place-items: center;
    color: var(--white);
    background: var(--graphite-900);
    border: 1px solid var(--line-on-dark-strong);
    border-radius: 50%;
    box-shadow: 0 14px 32px rgba(8, 12, 18, .24);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity var(--dur-fast) ease, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur-fast), background-color var(--dur-fast) ease;
}
.go-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.go-top:hover { background: var(--red-600); }
.go-top svg { width: 21px; height: 21px; }

@media (max-width: 767px) {
    .mobile-bar {
        position: fixed;
        z-index: 850;
        left: 0;
        right: 0;
        bottom: 0;
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(17, 18, 19, .96);
        border-top: 1px solid var(--line-on-dark);
        transform: translateY(110%);
        transition: transform var(--dur) var(--ease-out);
    }
    .mobile-bar.is-visible { transform: none; }
    .mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; color: var(--white); border: 1px solid var(--line-on-dark-strong); border-radius: var(--radius); font-family: var(--font-display); font-weight: 600; }
    .mobile-bar a svg { width: 18px; height: 18px; }
    .mobile-bar .mobile-bar__primary { background: var(--red-600); border-color: var(--red-600); }
    .site-footer { padding-bottom: 72px; }
    .go-top { bottom: calc(82px + env(safe-area-inset-bottom)); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .js [data-reveal-media] { clip-path: none; }
    .js [data-reveal-media] img { transform: none; }
    .hero__media { transform: none; }
    .product-card__inner { transform: none; }
    .world__ring { display: none; }
    .js .world .world__base { opacity: .3; transform: none; }
    .js .world .world__india circle, .js .world .world__label { opacity: 1; }
    .js .world .world__route { stroke-dashoffset: 0; }
    .site-header.is-solid .brand__tile, .site-header.is-solid .brand__text { transform: none; }
}
