/* industrialdevicesindia · build 2026 · distinct shell */

:root {
  --bg-deep: #0a0c10;
  --bg-panel: #12151c;
  --bg-elev: #1a1f2a;
  --stroke: #2a3142;
  --text: #e6e9ef;
  --text-dim: #9aa3b2;
  --accent: #f43f5e;
  --accent-2: #22d3ee;
  --warn: #fcd34d;
  --font-head: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --space: clamp(1rem, 3vw, 1.75rem);
  --max: 1040px;
  --radius: 4px;
  --radius-b: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 90% 50% at 10% -10%, rgba(244, 63, 94, 0.12), transparent),
    radial-gradient(ellipse 70% 40% at 95% 30%, rgba(34, 211, 238, 0.08), transparent);
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ddm-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #0a0c10;
  font-weight: 700;
  z-index: 999;
}

.ddm-skip:focus {
  left: var(--space);
  outline: 2px solid var(--warn);
}

.ddm-top {
  border-bottom: 1px solid var(--stroke);
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(12px);
}

.ddm-top__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem var(--space);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 720px) {
  .ddm-top__inner {
    grid-template-columns: 1fr;
  }
}

.ddm-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--text);
}

.ddm-logo:hover {
  color: var(--accent-2);
  text-decoration: none;
}

.ddm-logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
}

.ddm-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.5rem;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 720px) {
  .ddm-nav {
    justify-content: flex-start;
  }
}

.ddm-nav a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius);
  text-decoration: none;
}

.ddm-nav a:hover {
  color: var(--text);
  background: var(--bg-elev);
  text-decoration: none;
}

.ddm-nav a[aria-current="page"] {
  color: var(--bg-deep);
  background: var(--accent-2);
}

.ddm-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space) var(--space) 4rem;
}

.ddm-ribbon {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.65rem, 5vw, 2.45rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  color: var(--warn);
}

h3 {
  font-size: 1rem;
  margin-top: 1.25rem;
  color: var(--text);
}

.ddm-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 1.5rem 0 3rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-b);
  overflow: hidden;
  background: var(--bg-panel);
}

@media (min-width: 860px) {
  .ddm-hero {
    grid-template-columns: 1fr 1.05fr;
    align-items: stretch;
    min-height: min(420px, 70vh);
  }
}

.ddm-hero__copy {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--stroke);
}

@media (min-width: 860px) {
  .ddm-hero__copy {
    border-bottom: none;
    border-right: 1px solid var(--stroke);
  }
}

.ddm-hero__copy p {
  margin: 0 0 1.25rem;
  color: var(--text-dim);
  font-size: 0.98rem;
  max-width: 42ch;
}

.ddm-hero__viz {
  position: relative;
  background: #050608;
  min-height: 220px;
}

.ddm-hero__frame {
  position: absolute;
  inset: 0;
}

.ddm-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ddm-hero__tag {
  position: absolute;
  left: var(--space);
  bottom: var(--space);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--warn);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius);
}

.ddm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.ddm-chip {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--stroke);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-deep);
}

.ddm-install img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 6px;
  transition: transform 0.15s ease, filter 0.15s ease;
  filter: brightness(1.05);
}

.ddm-install:hover img {
  transform: scale(1.03);
  filter: brightness(1.12);
}

.ddm-install:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

.ddm-strip {
  margin: 2.5rem 0 1rem;
  padding: 1rem 0;
  border-top: 1px dashed var(--stroke);
  border-bottom: 1px dashed var(--stroke);
  font-size: 0.92rem;
  color: var(--text-dim);
}

.ddm-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 0 1.25rem;
  margin-left: calc(-1 * var(--space));
  margin-right: calc(-1 * var(--space));
  padding-left: var(--space);
  padding-right: var(--space);
  -webkit-overflow-scrolling: touch;
}

.ddm-scroll > * {
  scroll-snap-align: start;
  flex: 0 0 min(85vw, 360px);
}

.ddm-cap {
  border: 1px solid var(--stroke);
  border-radius: var(--radius-b);
  overflow: hidden;
  background: var(--bg-elev);
}

.ddm-cap__ph {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, #0f1419 0%, #1a2230 100%);
}

.ddm-cap__ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ddm-cap figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-top: 1px solid var(--stroke);
}

.ddm-band {
  margin-top: 3rem;
  padding: 1.35rem var(--space);
  border-left: 4px solid var(--accent);
  background: var(--bg-panel);
  border-radius: 0 var(--radius-b) var(--radius-b) 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ddm-band p {
  margin: 0;
  flex: 1;
  min-width: 220px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.ddm-quote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-b);
  background: var(--bg-panel);
  font-size: 0.95rem;
  color: var(--text-dim);
}

.ddm-quote strong {
  color: var(--warn);
}

.ddm-grid2 {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .ddm-grid2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ddm-tile {
  padding: 1.2rem;
  border-radius: var(--radius-b);
  border: 1px solid var(--stroke);
  background: var(--bg-elev);
}

.ddm-tile h3 {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.ddm-tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 500;
}

.ddm-prose {
  max-width: 700px;
}

.ddm-prose p,
.ddm-prose li {
  color: var(--text-dim);
  font-weight: 500;
}

.ddm-prose p {
  margin: 0 0 1rem;
}

.ddm-prose ul,
.ddm-prose ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.ddm-prose li {
  margin-bottom: 0.45rem;
}

.ddm-prose strong {
  color: var(--text);
}

.ddm-kicker {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  max-width: 60ch;
}

.ddm-page-title {
  margin-bottom: 0.35rem;
}

.ddm-foot {
  margin-top: 3rem;
  border-top: 1px solid var(--stroke);
  background: #07090d;
}

.ddm-foot__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--space);
}

.ddm-foot__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.ddm-foot__mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--text);
}

.ddm-foot__mark img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
}

.ddm-foot__note {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
  max-width: 32rem;
  font-weight: 500;
}

.ddm-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.ddm-foot__links a {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
}

.ddm-foot__links a:hover {
  color: var(--accent-2);
}

.ddm-foot__meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--stroke);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.ddm-timeline {
  margin: 2rem 0;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

.ddm-timeline h3 {
  margin-top: 0;
}

.ddm-timeline p {
  margin: 0;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.92rem;
}
