:root {
  --header-h: 92px;
  --brand: #891816;
  --logo-h: 62px;
}

@media (width <= 960px) {
  :root {
    --header-h: 72px;
    --logo-h: 41px;
  }
}

.site-header[data-astro-cid-nen7h5rs] {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--brand);
  border-bottom: 1px solid #ffffff14;
  width: 100%;
}

.header-inner[data-astro-cid-nen7h5rs] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(1rem, 4vw, 3rem);
  max-width: 100%;
  box-sizing: border-box;
}

.brand-logo[data-astro-cid-nen7h5rs] {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  z-index: 55;
}

.aryama-logo-img[data-astro-cid-nen7h5rs] {
  height: var(--logo-h);
  width: auto;
  display: block;
  transition: transform .2s;
}

.brand-logo[data-astro-cid-nen7h5rs]:hover .aryama-logo-img[data-astro-cid-nen7h5rs] {
  transform: scale(1.03);
}

.brand-logo[data-astro-cid-nen7h5rs]:focus-visible, .desktop-nav[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs]:focus-visible, .mobile-menu-toggle[data-astro-cid-nen7h5rs]:focus-visible, .mobile-nav-overlay[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.desktop-nav[data-astro-cid-nen7h5rs] {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.desktop-nav[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs] {
  color: #ffffffe6;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}

.desktop-nav[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs]:hover {
  color: #fff;
}

.desktop-nav[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs].nav-contact-btn {
  background: #fff;
  color: var(--brand);
  padding: .55rem 1.25rem;
  border-radius: 0;
  font-weight: 700;
  transition: box-shadow .2s, transform .2s;
}

.desktop-nav[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs].nav-contact-btn:hover {
  color: var(--brand);
  box-shadow: 0 4px 12px #00000026;
  transform: translateY(-1px);
}

.mobile-menu-toggle[data-astro-cid-nen7h5rs] {
  display: none;
  align-items: center;
  gap: .7rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: .5rem;
  z-index: 55;
}

.menu-label[data-astro-cid-nen7h5rs] {
  font-size: .95rem;
  font-weight: 600;
}

.hamburger[data-astro-cid-nen7h5rs] {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.hamburger[data-astro-cid-nen7h5rs] .line[data-astro-cid-nen7h5rs] {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.mobile-menu-toggle[data-astro-cid-nen7h5rs].is-active .line-1[data-astro-cid-nen7h5rs] {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[data-astro-cid-nen7h5rs].is-active .line-2[data-astro-cid-nen7h5rs] {
  opacity: 0;
}

.mobile-menu-toggle[data-astro-cid-nen7h5rs].is-active .line-3[data-astro-cid-nen7h5rs] {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay[data-astro-cid-nen7h5rs] {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  background: #891816fc;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  padding: 2.5rem 1.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 45;
  box-sizing: border-box;
  overflow-y: auto;
}

.mobile-nav-overlay[data-astro-cid-nen7h5rs].is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-list[data-astro-cid-nen7h5rs] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-list[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs] {
  display: block;
  color: #fff;
  font-size: 1.65rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -.01em;
  border-bottom: 1px solid #ffffff1a;
  padding-bottom: .75rem;
}

.mobile-nav-footer[data-astro-cid-nen7h5rs] {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-tagline[data-astro-cid-nen7h5rs] {
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff9;
  font-weight: 700;
}

.footer-phone[data-astro-cid-nen7h5rs] {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

@media (width <= 960px) {
  .desktop-nav[data-astro-cid-nen7h5rs] {
    display: none;
  }

  .mobile-menu-toggle[data-astro-cid-nen7h5rs] {
    display: flex;
  }
}
:root {
  --maroon: #8B1A1A;
  --maroon-deep: #6E1313;
  --maroon-tint: #DCA398;
  --warm-white: #F5F2F0;
  --paper: #FAF8F6;
  --surface-alt: #EAE4DF;
  --charcoal: #171717;
  --charcoal-elevated: #202020;
  --charcoal-card: #262524;
  --grey: #626262;
  --line: #D8D1CA;
  --line-dark: #383532;

  /* Precision Architectural Sans + Technical Monospace for Numerals */
  --heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--maroon-tint); outline-offset: 4px; }
.container { width: min(100% - 64px, 1440px); margin-inline: auto; }

/* Precision Monospace & Tabular Numerals (Eliminates synthetic AI numeral look) */
.metric-value,
.process-num,
.item-number,
.hero-specs dt,
.sec-card strong,
.financial-card strong,
.input-with-slider input,
.field-label-row output,
.journey3d-index,
.hud-topbar,
.hud-bottombar strong,
.hud-pill {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
}

.display-heading {
  font-family: var(--heading);
  font-size: clamp(2.15rem, 3.8vw, 3.65rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.display-heading em {
  color: var(--maroon);
  font-style: normal;
}

.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 100; padding: 0.8rem 1.1rem; background: var(--charcoal); color: #fff; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition-property: opacity, transform;
  transition-duration: 0.85s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header.is-scrolled { box-shadow: 0 14px 34px rgba(23,23,23,0.22); }

.section-pad { padding-block: clamp(5.2rem, 8.5vw, 8.8rem); }
.eyebrow { font-family: var(--mono); margin-bottom: 1.15rem; color: var(--maroon); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow-light { color: var(--maroon-tint); }
.underlined-link { font-weight: 700; font-size: 0.86rem; color: var(--maroon); text-decoration: underline; text-underline-offset: 5px; white-space: nowrap; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 54px; padding: 0 1.45rem; font-size: 0.84rem; font-weight: 700; text-decoration: none; transition: transform 0.3s var(--ease-out-expo), background-color 0.25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--maroon); color: #fff; }
.button-primary:hover { background: var(--maroon-deep); }
.button-ghost { border: 1px solid var(--charcoal); background: transparent; color: var(--charcoal); }
.button-ghost:hover { background: var(--charcoal); color: #fff; }
.button-light { background: var(--warm-white); color: var(--maroon); }
.button-outline-light { border: 1px solid rgba(255,255,255,0.45); color: #fff; }

.media-frame { position: relative; overflow: hidden; background: #23211f; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06) translate3d(0, var(--parallax-y, 0px), 0); }

/* Hero Section with proper top clearance */
.hero { background: var(--warm-white); padding-top: clamp(2rem, 3.5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.hero-meta, .visual-topline, .visual-bottomline, .contact-top, .contact-bottom { font-family: var(--mono); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.12em; color: var(--grey); }
.hero-meta { padding-block: 0.9rem; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 0.94fr 1.06fr; align-items: center; gap: clamp(2.2rem, 4.5vw, 4.8rem); padding-block: clamp(2.8rem, 5vw, 5.2rem); }
.hero-copy h1 { font-family: var(--heading); font-size: clamp(2.85rem, 5vw, 4.85rem); font-weight: 600; line-height: 1.03; letter-spacing: -0.04em; }
.hero-copy h1 em { color: var(--maroon); font-style: normal; }
.hero-subheadline { margin-top: 1.25rem; font-family: var(--heading); font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 600; color: var(--charcoal); }
.hero-lead { max-width: 540px; margin-top: 1rem; color: var(--grey); font-size: 1rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.1rem; }
.hero-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.hero-specs dt { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; color: var(--maroon); }
.hero-specs dd { margin-top: 0.3rem; font-size: 0.86rem; font-weight: 600; color: var(--charcoal); }
.hero-visual { padding: 1rem; background: var(--surface-alt); border: 1px solid var(--line); }
.visual-topline { margin-bottom: 0.65rem; }
.visual-bottomline { margin-top: 0.65rem; }
.hero-frame { aspect-ratio: 16 / 11; }
.media-overlay { position: absolute; inset: auto 0 0 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1rem; padding: 0.85rem 1rem; background: linear-gradient(to top, rgba(23,23,23,0.86), rgba(23,23,23,0)); color: #fff; }
.overlay-badge { font-family: var(--mono); padding: 0.25rem 0.55rem; background: var(--maroon); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.12em; }
.overlay-caption { font-size: 0.68rem; color: rgba(255,255,255,0.86); }

/* 3D CAD Scroll Storytelling Section */
.journey3d-section { background: var(--charcoal); color: var(--warm-white); padding-block: clamp(5rem, 8vw, 8.5rem); border-bottom: 1px solid var(--line-dark); }
.journey3d-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; margin-bottom: 3.5rem; }
.journey3d-intro .display-heading em { color: var(--maroon-tint); }
.journey3d-lead { max-width: 460px; color: #c2bab2; font-size: 0.95rem; line-height: 1.8; }
.journey3d-shell { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: clamp(2rem, 4vw, 3.8rem); align-items: start; }
.journey3d-viewport-wrap { position: sticky; top: 112px; }
.journey3d-viewport { position: relative; border: 1px solid var(--line-dark); background: #161514; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.hud-topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--line-dark); background: #1d1b1a; font-size: 0.62rem; color: #aba39b; }
.hud-tag { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--maroon-tint); font-weight: 700; }
.hud-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--maroon-tint); box-shadow: 0 0 10px var(--maroon-tint); }
.journey3d-canvas { display: block; width: 100%; height: clamp(360px, 50vh, 520px); }
.hud-step-pills { position: absolute; top: 3.6rem; right: 1rem; display: flex; gap: 0.4rem; }
.hud-pill { padding: 0.3rem 0.55rem; border: 1px solid var(--line-dark); background: rgba(23,23,23,0.85); color: #a9a199; font-size: 0.65rem; font-weight: 700; cursor: pointer; transition: all 0.2s ease; }
.hud-pill.is-active, .hud-pill:hover { border-color: var(--maroon-tint); background: var(--maroon); color: #fff; }
.hud-bottombar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; padding: 0.9rem 1.25rem; border-top: 1px solid var(--line-dark); background: #1d1b1a; }
.hud-bottombar small { font-family: var(--mono); display: block; font-size: 0.54rem; color: #9a928a; letter-spacing: 0.1em; }
.hud-bottombar strong { display: block; margin-top: 0.2rem; font-size: 0.72rem; color: var(--warm-white); }
.hud-status-accent { color: var(--maroon-tint) !important; }

.journey3d-steps { display: grid; gap: 28vh; padding-block: 4vh 14vh; }
.journey3d-card { padding: clamp(1.6rem, 3vw, 2.3rem); border: 1px solid var(--line-dark); background: rgba(32, 31, 29, 0.72); transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.35s ease; }
.journey3d-card.is-active { border-color: var(--maroon-tint); background: #262321; transform: translateX(-4px); }
.journey3d-card-head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.journey3d-index { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--maroon); color: #fff; font-size: 0.78rem; font-weight: 700; }
.journey3d-step-label { font-family: var(--mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; color: var(--maroon-tint); }
.journey3d-card h3 { font-family: var(--heading); font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 600; line-height: 1.2; }
.journey3d-card p { margin-top: 0.75rem; color: #c7bfb7; font-size: 0.92rem; line-height: 1.75; }
.journey3d-progress-bar { height: 2px; background: var(--line-dark); margin-top: 1.4rem; overflow: hidden; }
.journey3d-progress-bar span { display: block; width: 100%; height: 100%; background: var(--maroon-tint); transform: scaleX(0); transform-origin: left center; transition: transform 0.12s linear; }

/* Intro & Editorial Sections */
.intro-section { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 0.45fr 1.55fr; gap: 3.5rem; }
.section-index { font-family: var(--mono); display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; color: var(--grey); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; }
.section-index i { width: 42px; height: 2px; background: var(--maroon); }
.intro-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; margin-top: 2.2rem; }
.intro-bottom p { max-width: 610px; color: var(--grey); line-height: 1.85; }

.interlude-grid { display: grid; grid-template-columns: 1.15fr 0.95fr 0.9fr; gap: 1.75rem; margin-top: 4.5rem; align-items: stretch; }
.interlude-card { display: flex; flex-direction: column; justify-content: space-between; background: var(--warm-white); border: 1px solid var(--line); }
.interlude-card .media-frame { aspect-ratio: 16 / 10; }
.interlude-card figcaption { padding: 1.25rem 1.35rem; }
.interlude-card figcaption span { font-family: var(--mono); display: block; color: var(--maroon); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; }
.interlude-card figcaption p { margin-top: 0.45rem; color: var(--grey); font-size: 0.84rem; line-height: 1.65; }

.interlude-editorial { display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; background: var(--charcoal); color: var(--warm-white); }
.interlude-editorial .eyebrow { color: var(--maroon-tint); margin-bottom: 0.75rem; }
.interlude-editorial h3 { font-family: var(--heading); font-size: clamp(1.3rem, 1.8vw, 1.65rem); font-weight: 600; line-height: 1.25; }
.interlude-editorial p:not(.eyebrow) { margin-top: 1rem; color: #c9c3bd; font-size: 0.88rem; line-height: 1.75; }
.editorial-rule { font-family: var(--mono); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.1em; color: var(--maroon-tint); }

.audience-section { background: var(--surface-alt); }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 3.5rem; margin-bottom: 3.8rem; }
.section-heading-row > p { max-width: 400px; color: var(--grey); line-height: 1.8; }
.audience-list { border-top: 1px solid var(--line); }
.audience-item { display: grid; grid-template-columns: 54px 0.85fr 1.35fr auto; align-items: start; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.item-number { color: var(--maroon); font-size: 0.8rem; font-weight: 700; padding-top: 0.25rem; }
.audience-title > span { font-family: var(--mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; color: var(--grey); }
.audience-title h3 { margin-top: 0.45rem; font-family: var(--heading); font-size: clamp(1.5rem, 2.1vw, 2rem); font-weight: 600; }
.audience-body p { max-width: 520px; color: var(--grey); font-size: 0.94rem; line-height: 1.75; }
.audience-metrics { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.audience-metrics li { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.76rem; font-weight: 600; color: var(--charcoal); }
.audience-metrics li::before { content: ''; width: 6px; height: 6px; background: var(--maroon); }
.audience-cta { align-self: center; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.1rem; border: 1px solid var(--line); background: var(--paper); color: var(--maroon); font-size: 0.8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.audience-cta:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }

.approach-section { background: var(--paper); }
.approach-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); }
.approach-intro > p:last-child { max-width: 440px; margin-top: 1.8rem; color: var(--grey); line-height: 1.85; }
.approach-steps { border-top: 1px solid var(--line); }
.approach-steps article { display: grid; grid-template-columns: 44px 1fr; gap: 1.2rem; padding: 1.85rem 0; border-bottom: 1px solid var(--line); }
.approach-steps article > span { font-family: var(--mono); color: var(--maroon); font-size: 0.75rem; font-weight: 700; }
.approach-steps h3 { font-family: var(--heading); font-size: 1.35rem; font-weight: 600; }
.approach-steps p { max-width: 520px; margin-top: 0.55rem; color: var(--grey); font-size: 0.92rem; line-height: 1.8; }

.industrial-feature { display: grid; grid-template-columns: 1.15fr 0.85fr; margin-top: 4.8rem; background: var(--warm-white); border: 1px solid var(--line); }
.industrial-media { min-height: 360px; }
.industrial-disclaimer { position: absolute; left: 1rem; bottom: 1rem; padding: 0.35rem 0.65rem; background: rgba(23,23,23,0.82); color: rgba(255,255,255,0.88); font-size: 0.65rem; }
.industrial-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 3.5rem); }
.industrial-copy h3 { font-family: var(--heading); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.18; }
.industrial-copy p:not(.eyebrow) { margin-top: 1rem; margin-bottom: 1.8rem; color: var(--grey); font-size: 0.92rem; line-height: 1.8; }

.system-section { background: var(--charcoal); color: var(--warm-white); }
.system-heading { max-width: 880px; }
.system-heading .display-heading em { color: var(--maroon-tint); }
.system-heading > p:last-child { max-width: 660px; margin-top: 1.4rem; color: #bfb8b1; line-height: 1.85; }

.schematic { margin-top: 3.5rem; padding: clamp(1.4rem, 3vw, 2.8rem); border: 1px solid var(--line-dark); background: var(--charcoal-elevated); }
.schematic-statusbar { font-family: var(--mono); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.2rem; margin-bottom: 1.8rem; border-bottom: 1px solid var(--line-dark); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; color: #a8a099; }
.status-indicator { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--maroon-tint); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--maroon-tint); animation: statusPulse 2.2s infinite; }
@keyframes statusPulse { 0% { box-shadow: 0 0 0 0 rgba(220,163,152,0.65); } 70% { box-shadow: 0 0 0 9px rgba(220,163,152,0); } 100% { box-shadow: 0 0 0 0 rgba(220,163,152,0); } }

.schematic-row { display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr; align-items: stretch; }
.schematic-node { display: flex; flex-direction: column; justify-content: space-between; text-align: left; padding: 1.35rem 1.15rem; border: 1px solid #443f3b; background: var(--charcoal-card); color: var(--warm-white); cursor: pointer; transition: border-color 0.25s ease, background-color 0.25s ease; }
.schematic-node:hover, .schematic-node.is-active { border-color: var(--maroon-tint); background: #2f2927; }
.node-top { font-family: var(--mono); display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 1.2rem; }
.node-top small { color: var(--maroon-tint); font-size: 0.56rem; font-weight: 600; }
.node-badge { padding: 0.18rem 0.45rem; border: 1px solid rgba(220,163,152,0.35); font-size: 0.52rem; font-weight: 600; color: var(--maroon-tint); }
.schematic-node strong { font-family: var(--heading); font-size: 1.1rem; font-weight: 600; }
.schematic-node p { margin-top: 0.55rem; color: #c2bab2; font-size: 0.8rem; line-height: 1.6; }

.schematic-connector { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.45rem; padding-inline: 0.25rem; }
.connector-track { position: relative; width: 100%; height: 2px; background: #4b433e; overflow: hidden; }
.connector-pulse { position: absolute; top: 0; left: -40%; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, var(--maroon-tint), transparent); animation: energyFlow 2.1s linear infinite; }
@keyframes energyFlow { 0% { left: -45%; } 100% { left: 105%; } }
.schematic-connector small { font-family: var(--mono); color: var(--maroon-tint); font-size: 0.54rem; font-weight: 600; }

.schematic-inspector { margin-top: 1.5rem; padding: 1.4rem 1.6rem; border-left: 3px solid var(--maroon-tint); background: #1b1a19; }
.inspector-meta { font-family: var(--mono); display: flex; gap: 1.5rem; font-size: 0.58rem; font-weight: 600; color: var(--maroon-tint); }
.inspector-body h3 { margin-top: 0.45rem; font-family: var(--heading); font-size: 1.2rem; font-weight: 600; }
.inspector-body p { margin-top: 0.4rem; color: #ccc4bc; font-size: 0.88rem; line-height: 1.75; }

.schematic-branch { display: flex; flex-direction: column; align-items: center; margin: 1.2rem 14% 0; }
.branch-stem { height: 24px; border-left: 1px dashed var(--maroon-tint); }
.meter-node { padding: 0.85rem 1.4rem; border: 1px solid var(--maroon-tint); background: #2b2623; text-align: center; }
.meter-node small { font-family: var(--mono); display: block; color: var(--maroon-tint); font-size: 0.55rem; font-weight: 600; }
.meter-node strong { display: block; margin-top: 0.3rem; font-family: var(--heading); font-size: 0.98rem; font-weight: 600; }
.branch-fork { width: 100%; height: 22px; border-top: 1px dashed var(--maroon-tint); border-left: 1px dashed var(--maroon-tint); border-right: 1px dashed var(--maroon-tint); }

.schematic-endpoints { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.endpoint-card { display: flex; align-items: flex-start; gap: 1.1rem; padding: 1.35rem; border: 1px solid var(--line-dark); background: var(--charcoal-card); }
.endpoint-symbol { color: var(--maroon-tint); font-size: 1.75rem; line-height: 1; }
.endpoint-card small { font-family: var(--mono); display: block; color: var(--maroon-tint); font-size: 0.55rem; font-weight: 600; }
.endpoint-card strong { display: block; margin-top: 0.35rem; font-family: var(--heading); font-weight: 600; }
.endpoint-card p { margin-top: 0.4rem; color: #bfb7af; font-size: 0.8rem; line-height: 1.65; }
.schematic-footnote { margin-top: 1.4rem; color: #9e968e; font-size: 0.72rem; line-height: 1.7; }

.quality-section { background: #1d1c1a; color: var(--warm-white); border-top: 1px solid var(--line-dark); }
.quality-section .display-heading em { color: var(--maroon-tint); }
.quality-grid { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.quality-intro { max-width: 470px; margin-top: 1.5rem; color: #c2bab2; line-height: 1.85; }
.quality-pillars { display: grid; gap: 1.25rem; }
.pillar-card { padding: 1.75rem 1.85rem; border: 1px solid var(--line-dark); background: var(--charcoal-card); }
.pillar-num { font-family: var(--mono); display: block; color: var(--maroon-tint); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; }
.pillar-card h3 { margin-top: 0.55rem; font-family: var(--heading); font-size: 1.25rem; font-weight: 600; }
.pillar-card p { margin-top: 0.55rem; color: #c2bab2; font-size: 0.88rem; line-height: 1.75; }

.process-section { background: var(--warm-white); }
.process-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.process-card { display: flex; flex-direction: column; padding: 1.65rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--maroon); }
.process-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.process-num { font-size: 1.25rem; font-weight: 700; color: var(--maroon); }
.process-phase { font-family: var(--mono); font-size: 0.56rem; font-weight: 600; letter-spacing: 0.12em; color: var(--grey); }
.process-card h3 { font-family: var(--heading); font-size: 1.12rem; font-weight: 600; line-height: 1.25; }
.process-card p { margin-top: 0.65rem; color: var(--grey); font-size: 0.85rem; line-height: 1.7; }

.contact-section { background: var(--maroon); color: #fff; }
.contact-top, .contact-bottom { padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.24); color: rgba(255,255,255,0.82); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(3rem, 6vw, 6.5rem); padding: clamp(3.2rem, 5.5vw, 5.2rem) 0; }
.contact-copy .display-heading em { color: #edd0c7; }
.contact-copy > p:not(.eyebrow) { max-width: 520px; margin: 1.6rem 0 2.2rem; color: rgba(255,255,255,0.9); line-height: 1.85; }
.contact-cta-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.contact-details { align-self: center; border-top: 1px solid rgba(255,255,255,0.24); }
.contact-details > div { padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,0.24); }
.contact-details small { font-family: var(--mono); display: block; margin-bottom: 0.45rem; color: #edd0c7; font-size: 0.58rem; font-weight: 600; }
.contact-details a, .contact-details p { color: #fff; font-size: 0.94rem; line-height: 1.75; text-decoration: none; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-bottom { padding-top: 1rem; padding-bottom: 0; border-top: 1px solid rgba(255,255,255,0.24); border-bottom: 0; }
.contact-bottom a { color: #fff; text-decoration: none; }

.partnerships { padding: 2.2rem 0; border-bottom: 1px solid var(--line); background: var(--surface-alt); }
.partnerships-inner { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: center; }
.partnerships .eyebrow { margin: 0; }
.partner-list { display: flex; flex-wrap: wrap; gap: 0.75rem 2.5rem; list-style: none; margin: 0; padding: 0; font-size: 0.85rem; font-weight: 600; }

.site-footer { padding: 3.5rem 0 2.2rem; background: var(--paper); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-brand { font-family: var(--heading); font-size: 1.1rem; font-weight: 700; }
.footer-partnership { margin-top: 0.65rem; color: var(--charcoal); font-size: 0.84rem; font-weight: 600; }
.footer-partner-sub { margin-top: 0.25rem; color: var(--grey); font-size: 0.8rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: flex-start; font-size: 0.82rem; font-weight: 600; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--maroon); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; margin-top: 1.8rem; color: var(--grey); font-size: 0.8rem; font-style: normal; }
.footer-legal a { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid var(--line); color: var(--grey); font-size: 0.78rem; }
.mobile-contact { display: none; }

/* Residential & Solutions Chapters & Calculator */
.chapters-section { background: var(--paper); border-bottom: 1px solid var(--line); }
.chapters-list { border-top: 1px solid var(--line); }
.chapter-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(2.2rem, 4vw, 3.4rem) 0; border-bottom: 1px solid var(--line); }
.chapter-tag { font-family: var(--mono); display: inline-block; color: var(--maroon); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; }
.chapter-meta h3 { margin-top: 0.5rem; font-family: var(--heading); font-size: clamp(1.45rem, 2.1vw, 1.95rem); font-weight: 600; line-height: 1.18; }
.chapter-lead { margin-top: 0.75rem; color: var(--charcoal); font-weight: 600; font-size: 0.95rem; }
.chapter-body p { color: var(--grey); font-size: 0.94rem; line-height: 1.8; }
.chapter-points { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.chapter-points li { display: flex; align-items: baseline; gap: 0.65rem; font-size: 0.84rem; font-weight: 600; color: var(--charcoal); }
.chapter-points li::before { content: ''; width: 7px; height: 7px; flex-shrink: 0; background: var(--maroon); }

.calc-section { background: var(--charcoal); color: var(--warm-white); }
.calc-header { max-width: 860px; }
.calc-header .display-heading em { color: var(--maroon-tint); }
.calc-header > p:last-child { margin-top: 1.25rem; color: #c2bab2; line-height: 1.8; }
.calc-shell { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.8rem, 3.5vw, 3rem); margin-top: 3rem; align-items: start; }
.calc-inputs, .calc-results { padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--line-dark); background: var(--charcoal-elevated); }
.calc-field + .calc-field { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); }
.field-label-row { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.field-label-row label { font-weight: 600; font-size: 0.92rem; }
.field-label-row output { font-size: 1.05rem; font-weight: 700; color: var(--maroon-tint); }
.field-badge, .field-badge-muted { font-family: var(--mono); padding: 0.2rem 0.5rem; font-size: 0.54rem; font-weight: 600; letter-spacing: 0.1em; }
.field-badge { background: var(--maroon); color: #fff; }
.field-badge-muted { border: 1px solid var(--line-dark); color: var(--maroon-tint); }
.field-help { margin-top: 0.35rem; margin-bottom: 0.85rem; color: #aba39b; font-size: 0.79rem; line-height: 1.55; }
.input-with-slider { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.65rem; }
.calc-inputs input[type='number'], .calc-inputs select { width: 100%; min-height: 46px; padding: 0.55rem 0.85rem; border: 1px solid #4e4944; background: #141413; color: var(--warm-white); font-size: 0.92rem; font-weight: 600; }
.unit-tag { font-family: var(--mono); white-space: nowrap; font-size: 0.75rem; font-weight: 600; color: var(--maroon-tint); }
.calc-inputs input[type='range'] { width: 100%; accent-color: var(--maroon-tint); cursor: pointer; }
.checkbox-label { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.83rem; color: #d6cfc8; cursor: pointer; }
.checkbox-label input { margin-top: 0.25rem; accent-color: var(--maroon-tint); }
.tariff-drawer { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line-dark); }
.results-header { font-family: var(--mono); display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark); font-size: 0.6rem; font-weight: 600; color: #aba39b; }
.results-pill { padding: 0.22rem 0.55rem; border: 1px solid rgba(220,163,152,0.4); color: var(--maroon-tint); }
.primary-metric { margin-top: 1.4rem; padding: 1.4rem; background: #171615; border-left: 3px solid var(--maroon-tint); }
.primary-metric small { font-family: var(--mono); display: block; color: var(--maroon-tint); font-size: 0.58rem; font-weight: 600; }
.metric-value { margin-top: 0.35rem; font-size: clamp(1.85rem, 3vw, 2.55rem); font-weight: 700; color: #fff; }
.primary-metric p { margin-top: 0.45rem; color: #c2bab2; font-size: 0.83rem; }
.secondary-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.sec-card { padding: 1.15rem; border: 1px solid var(--line-dark); background: var(--charcoal-card); }
.sec-card small { font-family: var(--mono); display: block; color: var(--maroon-tint); font-size: 0.55rem; font-weight: 600; }
.sec-card strong { display: block; margin-top: 0.4rem; font-size: 1.1rem; }
.sec-card span { display: block; margin-top: 0.35rem; color: #a9a199; font-size: 0.74rem; line-height: 1.5; }
.roof-check-banner { margin-top: 1rem; padding: 0.95rem 1.1rem; border: 1px solid #4a5d4e; background: rgba(46,74,52,0.22); color: #dce8de; font-size: 0.82rem; line-height: 1.6; }
.roof-check-banner.is-warn, .roof-check-banner.is-limit { border-color: #8a5a44; background: rgba(139,68,42,0.22); color: #f2dcd2; }
.roof-check-banner.is-neutral { border-color: var(--line-dark); background: #1a1918; color: #c2bab2; }
.financial-card { margin-top: 1rem; padding: 1.15rem; border: 1px dashed var(--maroon-tint); background: #1b1817; }
.financial-card small { font-family: var(--mono); display: block; color: var(--maroon-tint); font-size: 0.56rem; font-weight: 600; }
.financial-card strong { display: block; margin-top: 0.35rem; font-size: 1.15rem; }
.financial-card p { margin-top: 0.4rem; color: #b7afa7; font-size: 0.75rem; line-height: 1.55; }
.assumptions-ledger { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line-dark); }
.assumptions-ledger small { font-family: var(--mono); display: block; color: #9e968e; font-size: 0.56rem; font-weight: 600; }
.assumptions-ledger ul { margin: 0.55rem 0 0; padding-left: 1.1rem; color: #aba39b; font-size: 0.74rem; line-height: 1.65; }
.calc-cta { width: 100%; margin-top: 1.4rem; }

@media (max-width: 1180px) {
  .interlude-grid { grid-template-columns: 1fr 1fr; }
  .interlude-wide { grid-column: 1 / -1; }
  .process-rail { grid-template-columns: repeat(3, 1fr); }
  .hud-bottombar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 44px, 1440px); }
  .hero-grid, .intro-grid, .approach-grid, .industrial-feature, .quality-grid, .contact-grid, .chapter-row, .calc-shell, .secondary-metrics, .journey3d-shell { grid-template-columns: 1fr; gap: 2.2rem; }
  .journey3d-intro, .section-heading-row { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  
  
  
  .audience-item { grid-template-columns: 38px 1fr; gap: 1rem; }
  .audience-body, .audience-cta { grid-column: 2; }
  .audience-cta { justify-self: start; }
  .schematic-row, .process-rail { grid-template-columns: 1fr; gap: 0.85rem; }
  .schematic-connector { display: none; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .hero-specs, .interlude-grid, .schematic-endpoints, .partnerships-inner, .hud-bottombar { grid-template-columns: 1fr; }
  .intro-bottom, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mobile-contact { position: fixed; z-index: 40; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-contact a { display: grid; place-items: center; min-height: 46px; background: var(--maroon); color: #fff; font-size: 0.82rem; font-weight: 700; text-decoration: none; }
  .mobile-contact a:last-child { background: var(--charcoal); }
  body { padding-bottom: 72px; }
}
/* Bill-to-EMI Swap & Accelerated Depreciation Section */
.finance-section {
  background: var(--charcoal);
  color: var(--warm-white);
  border-bottom: 1px solid var(--line-dark);
}
.finance-section .display-heading em {
  color: var(--maroon-tint);
}
.finance-lead {
  max-width: 440px;
  color: #c2bab2 !important;
}
.finance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.finance-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line-dark);
  border-top: 3px solid var(--maroon-tint);
  background: var(--charcoal-elevated);
}
.finance-card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.finance-phase {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--maroon-tint);
}
.finance-badge {
  font-family: var(--mono);
  padding: 0.22rem 0.55rem;
  background: var(--maroon);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 600;
}
.finance-card h3 {
  font-family: var(--heading);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
}
.finance-card p {
  margin-top: 0.85rem;
  color: #c2bab2;
  font-size: 0.9rem;
  line-height: 1.75;
}
.tax-shield-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: clamp(1.75rem, 3.5vw, 2.6rem);
  border: 1px solid var(--maroon-tint);
  background: linear-gradient(135deg, #281918 0%, #1c1a19 100%);
}
.tax-shield-banner > div {
  max-width: 760px;
}
.tax-shield-banner h3 {
  font-family: var(--heading);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
}
.tax-shield-banner p {
  margin-top: 0.65rem;
  color: #d4cbc3;
  font-size: 0.9rem;
  line-height: 1.75;
}
@media (max-width: 960px) {
  .finance-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile & Tablet 3D Scrollytelling Fix (Prevents Overlap) */
@media (max-width: 900px) {
  .journey3d-shell { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .journey3d-viewport-wrap {
    position: sticky !important;
    top: 76px !important;
    z-index: 10 !important;
    padding-bottom: 0.65rem;
    background: linear-gradient(180deg, var(--charcoal) 88%, rgba(23, 23, 23, 0) 100%);
  }
  .journey3d-canvas { height: 270px !important; }
  .hud-topbar { padding: 0.55rem 0.85rem; font-size: 0.54rem; }
  .hud-coords { display: none; }
  .hud-step-pills { top: 2.5rem; right: 0.65rem; }
  .hud-bottombar { grid-template-columns: repeat(2, 1fr) !important; gap: 0.35rem 0.65rem; padding: 0.45rem 0.75rem; }
  .hud-bottombar small { font-size: 0.48rem; }
  .hud-bottombar strong { font-size: 0.64rem; margin-top: 0.1rem; }
  .journey3d-steps { position: relative; z-index: 1; gap: 1.25rem !important; padding-block: 0.5rem 2.5rem !important; }
  .journey3d-card { scroll-margin-top: 380px; background: #22201e; }
  .journey3d-card.is-active { transform: none !important; border-color: var(--maroon-tint); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); }
}
@media (max-width: 600px) {
  .journey3d-viewport-wrap { top: 70px !important; }
  .journey3d-canvas { height: 245px !important; }
}


/* ==========================================================================
   MASTER MOBILE & CROSS-DEVICE SCROLL ARCHITECTURE
   ========================================================================== */
html, body {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

/* Smooth GPU-accelerated scroll reveal on all devices (never blurs or gets stuck) */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

@media (max-width: 860px) {
  body {
    padding-bottom: 4.25rem !important;
  }

  /* 2. Container & Section Spacing */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1.1rem !important;
    padding-right: 1.1rem !important;
    box-sizing: border-box !important;
  }
  .section-pad {
    padding-top: 2.75rem !important;
    padding-bottom: 2.75rem !important;
  }

  /* 3. Fix Homepage Top White Space & Style "ARYAMA · ENGINEERED AROUND THE SUN" */
  .hero {
    padding-top: 0.85rem !important;
    padding-bottom: 2.25rem !important;
  }
  .hero-meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.18rem !important;
    margin: 0 0 1.1rem 0 !important;
    padding: 0.55rem 0.75rem !important;
    background: #ece5da !important;
    border: 1px solid #d5cbbd !important;
    border-left: 3px solid #871917 !important;
    font-size: 0.6rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0.08em !important;
  }
  .hero-meta span:first-child {
    color: #1c1917 !important;
    font-weight: 600 !important;
  }
  .hero-meta span:last-child {
    color: #6b6259 !important;
    font-size: 0.55rem !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .hero-copy .eyebrow {
    font-size: 0.64rem !important;
    margin-bottom: 0.45rem !important;
  }
  .hero-copy h1 {
    font-size: clamp(2rem, 8.2vw, 2.45rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 0.65rem !important;
  }
  .hero-subheadline {
    font-size: 1rem !important;
    margin-bottom: 0.55rem !important;
  }
  .hero-lead {
    font-size: 0.9rem !important;
    line-height: 1.58 !important;
    margin-bottom: 1.1rem !important;
  }
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    width: 100% !important;
  }
  .hero-actions .button {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .hero-specs {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
    padding-top: 0.9rem !important;
    margin-top: 1.1rem !important;
  }

  /* 4. Dark Obsidian Sticky Call/WhatsApp Bar (No jarring white strip over dark 3D section) */
  .mobile-sticky-bar,
  .sticky-cta-bar,
  .mobile-cta-bar {
    background: rgba(20, 19, 18, 0.96) !important;
    border-top: 1px solid #332e2a !important;
    backdrop-filter: blur(10px) !important;
  }

  /* 5. Single-Column Mobile Stack for Multi-Column Sections */
  .section-heading-row,
  .intro-grid,
  .interlude-grid,
  .field-gallery-grid,
  .industrial-feature,
  .process-rail,
  .contact-grid,
  .calc-shell,
  .inv-grid,
  .sec-grid,
  .carbon-grid {
    grid-template-columns: 1fr !important;
    gap: 1.15rem !important;
  }
  .display-heading {
    font-size: clamp(1.65rem, 6.8vw, 2.1rem) !important;
    line-height: 1.15 !important;
  }
  .audience-item {
    grid-template-columns: 1fr !important;
    gap: 0.7rem !important;
    padding: 1.15rem !important;
  }
  .calc-shell, .calc-inputs, .calc-results {
    padding: 1rem !important;
    box-sizing: border-box !important;
  }
}
/* ==========================================================================
   ARYAMA LOGO FIX: EXTRACT WHITE TEXT & ENLARGE
   ========================================================================== */
header img, 
.site-header img, 
.brand-logo img,
.logo img {
  /* 1. Eliminates the red box: forces background to black and text to pure white */
  filter: grayscale(1) brightness(0.8) contrast(1000%) !important;
  
  /* 2. Drops the black background, leaving ONLY the pristine white text to blend perfectly */
  mix-blend-mode: screen !important;
  
  /* 3. Scales up the text massively without stretching the actual navbar container */
  height: 60px !important;
  width: auto !important;
  transform: scale(1.6) !important; 
  transform-origin: left center !important;
  display: block !important;
}

@media (max-width: 768px) {
  header img, 
  .site-header img, 
  .brand-logo img,
  .logo img {
    height: 54px !important;
    transform: scale(1.4) !important; 
  }
}


/* REAL LOGO & 0PX ARCHITECTURAL FIX */
header, .site-header {
  background-color: #891816 !important;
}
.real-brand-logo, header img, .brand img, .site-header img {
  display: block !important;
  height: 42px !important;
  width: auto !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  transform: none !important;
  border-radius: 0 !important;
}
@media (max-width: 860px) {
  .real-brand-logo, header img, .brand img, .site-header img {
    height: 46px !important;
  }
  .hero {
    padding-top: 0.75rem !important;
  }
}
*, *::before, *::after, .button, button, .hero-meta, .media-frame, .calc-shell {
  border-radius: 0px !important;
}
/* --- PRIMARY & SECONDARY BRAND BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background-color: #891816; /* Aryama Maroon */
  color: #ffffff !important;
  border: 1px solid #891816;
}

.btn-primary:hover {
  background-color: #721311;
  border-color: #721311;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: #1a1a1a !important;
  border: 1px solid #1a1a1a;
}

.btn-secondary:hover {
  background-color: #1a1a1a;
  color: #ffffff !important;
  transform: translateY(-1px);
}
html { scroll-behavior: auto; }/* ==========================================================================
     GLOBAL STICKY SUPPORT & SCROLL-REVEAL RECOVERY (ALL PAGES)
     ========================================================================== */
  html,
  body,
  main {
    overflow-x: clip !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
  /* ==========================================================================
     UNIVERSAL MOBILE 3D CAD STICKY VIEWPORT (HOME, RESIDENTIAL, COMMERCIAL, SOCIETIES)
     ========================================================================== */
  .aryama-cad-section {
    position: relative !important;
    overflow: visible !important;
  }

  @media (max-width: 1023px) {
    .aryama-sticky-cad-panel {
      position: sticky !important;
      top: 62px !important;
      z-index: 35 !important;
      background: #141111 !important;
      border-radius: 14px !important;
      border: 1px solid rgba(255, 255, 255, 0.14) !important;
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.68) !important;
      padding: 0.6rem !important;
      margin-bottom: 1rem !important;
    }

    .aryama-sticky-cad-panel canvas,
    .aryama-sticky-cad-panel svg {
      max-height: 195px !important;
      width: 100% !important;
      object-fit: contain !important;
      display: block !important;
      margin: 0 auto !important;
    }

    .aryama-sticky-cad-panel dl,
    .aryama-sticky-cad-panel [class*="telemetry"],
    .aryama-sticky-cad-panel [class*="meta"] {
      gap: 0.35rem 0.65rem !important;
      padding-top: 0.4rem !important;
      margin-top: 0.4rem !important;
      font-size: 0.68rem !important;
    }

    .aryama-cad-stage-list {
      position: relative !important;
      z-index: 10 !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 1rem !important;
      padding-bottom: 1.5rem !important;
    }

    .aryama-cad-stage-card {
      border-radius: 14px !important;
      background: #1c1818 !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      padding: 1.15rem !important;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3) !important;
      transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
    }

    .aryama-cad-stage-card.is-stage-active {
      border-color: #d97757 !important;
      box-shadow: 0 0 0 1px rgba(217, 119, 87, 0.35), 0 12px 28px rgba(0, 0, 0, 0.45) !important;
    }
  }