/* Rameshwara cinematic — palette taken from official logo
   Navy #0B2545 / #102A4A   Steel #2E86C1 / #4AA3D1
   Silver #C5CDD6           Script black kept on light header */
:root {
  --bg: #06101c;
  --bg-2: #0a1828;
  --ink: #e8eef5;
  --muted: #93a4b8;
  --navy: #0b2545;
  --navy-2: #12355c;
  --steel: #2e86c1;
  --steel-2: #4aa3d1;
  --silver: #c5cdd6;
  --line: rgba(74, 163, 209, 0.22);
  --glass: rgba(8, 20, 34, 0.72);
  --serif: "Cinzel", serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--sans); }
body { overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 80; opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%;
  pointer-events: none; z-index: 5; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(46,134,193,.16), transparent 68%);
  mix-blend-mode: screen;
}

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 32px;
  background: rgba(247, 250, 252, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 37, 69, 0.08);
  box-shadow: 0 8px 30px rgba(6, 16, 28, 0.12);
}
.brand-logo { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #1a334d; }
.nav-links a:hover { color: var(--steel); }
.nav-cta {
  font-size: 12px; letter-spacing: .1em; color: #fff;
  background: linear-gradient(180deg, var(--steel-2), var(--navy-2));
  padding: 9px 16px; border-radius: 999px;
}
.menu-btn { display: none; background: none; border: 0; width: 34px; height: 18px; position: relative; }
.menu-btn span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--navy); }
.menu-btn span:first-child { top: 4px; }
.menu-btn span:last-child { bottom: 4px; }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.kicker { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--steel-2); margin-bottom: 16px; }
.kicker.center, .center { text-align: center; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.12; margin-bottom: 18px; }
.sub { color: var(--muted); max-width: 720px; line-height: 1.7; }
.section-head { margin-bottom: 36px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; letter-spacing: .16em;
  text-transform: uppercase; font-size: 11px; border: 1px solid transparent;
  transition: transform .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(180deg, var(--steel-2), var(--steel)); color: #06101c; font-weight: 600; }
.btn.ghost { border-color: var(--line); color: var(--ink); }
.glass {
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(18px); box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; padding: 120px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: -8%; background-size: cover; background-position: center; transform: scale(1.08); }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,16,28,.35) 0%, rgba(6,16,28,.25) 40%, rgba(6,16,28,.92) 100%),
    radial-gradient(ellipse at 70% 40%, transparent 20%, rgba(11,37,69,.45) 80%);
}
.hero-copy { position: relative; z-index: 2; width: min(1100px, calc(100% - 72px)); margin: 0 auto; }
.hero h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; max-width: 18ch; }
.hero h1 span { color: var(--steel-2); }
.lede { max-width: 56ch; color: var(--muted); margin: 22px 0 32px; font-size: 18px; line-height: 1.7; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { list-style: none; display: flex; gap: 36px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-stats b { display: block; font-family: var(--serif); font-size: 20px; color: var(--steel-2); }
.hero-stats span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.yard { padding: 0; background: #04080f; }
.yard-frame {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  margin: 28px auto 12px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  background: #000;
}
.yard-frame video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.05) saturate(1.05);
}
.yard-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 28px 22px;
  background: linear-gradient(180deg, transparent, rgba(6,16,28,.88));
  pointer-events: none;
}
.yard-overlay .btn { pointer-events: auto; margin-top: 12px; }
.yard-overlay h2 { font-size: clamp(26px, 3.4vw, 44px); margin-bottom: 8px; }
.yard-overlay p:not(.kicker) { color: var(--muted); max-width: 52ch; line-height: 1.6; }

.strip { border-block: 1px solid var(--line); overflow: hidden; background: #071422; }
.marquee {
  display: flex; gap: 28px; align-items: center; white-space: nowrap;
  padding: 18px 0; animation: slide 28s linear infinite;
  font-family: var(--serif); letter-spacing: .28em; text-transform: uppercase; font-size: 12px; color: var(--steel-2);
}
.marquee i { width: 5px; height: 5px; border-radius: 50%; background: var(--silver); display: inline-block; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.about { position: relative; padding: 120px 0; overflow: hidden; }
.section-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .16; }
.about .text-col p { color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill-row span {
  border: 1px solid var(--line); color: var(--steel-2); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px;
}
.card-stack { display: grid; gap: 18px; }
.card-stack .glass { padding: 28px; }
.card-stack h3 { color: var(--steel-2); margin-bottom: 10px; font-size: 18px; }
.card-stack p { color: var(--muted); line-height: 1.7; }

.leaders { padding: 20px 0 90px; }
.leader-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; }
.leader-card { padding: 32px; border: 1px solid var(--line); background: linear-gradient(180deg, #10263c, #0a1828); }
.mono {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  font-family: var(--serif); color: #06101c;
  background: linear-gradient(145deg, var(--steel-2), var(--navy-2));
}
.leader-card h3 { font-size: 22px; margin-bottom: 4px; }
.role { color: var(--steel-2); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; }
.leader-card p:last-child { color: var(--muted); line-height: 1.7; }

.products { padding: 20px 0 40px; }
.spec-block { padding: 28px 0; }
.spec-block.alt { background: rgba(11, 37, 69, 0.28); }
.spec-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.spec-grid.flip { grid-template-columns: 1.1fr .9fr; }
.spec-grid.flip .spec-visual { order: 2; }
.spec-visual { position: relative; overflow: hidden; min-height: 360px; border: 1px solid var(--line); transform-style: preserve-3d; }
.spec-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; min-height: 360px; }
.spec-visual figcaption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--steel-2);
}
.spec-copy h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 12px; }
.spec-copy p { color: var(--muted); line-height: 1.7; margin-bottom: 18px; }

table.spec { width: 100%; border-collapse: collapse; font-size: 13px; }
table.spec th, table.spec td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { color: var(--steel-2); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
table.spec td:last-child { color: var(--steel-2); white-space: nowrap; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
table.spec tbody tr:hover { background: rgba(46,134,193,.06); }

.process-hero {
  min-height: 52vh; background-size: cover; background-position: center;
  display: flex; align-items: flex-end; padding: 80px 0 50px; position: relative;
}
.process-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,16,28,.25), rgba(6,16,28,.88)); }
.process-hero .wrap { position: relative; z-index: 1; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding: 36px 0 110px; }
.step { border-top: 1px solid var(--steel); padding: 22px 8px 0; }
.step span { font-family: var(--serif); color: var(--steel-2); font-size: 20px; }
.step h3 { margin: 10px 0 8px; font-size: 18px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.6; }

.services { padding: 20px 0 110px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  padding: 28px 24px; min-height: 210px;
  background: linear-gradient(180deg, #122a42, #0a1828); border: 1px solid var(--line);
  transition: transform .3s, border-color .3s;
}
.svc:hover { transform: translateY(-6px); border-color: rgba(74,163,209,.5); }
.svc h3 { margin-bottom: 10px; font-size: 20px; }
.svc p { color: var(--muted); line-height: 1.65; }

.why { padding: 20px 0 90px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.why-grid article { padding: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.why-grid h3 { font-size: 18px; margin-bottom: 8px; color: var(--steel-2); }
.why-grid p { color: var(--muted); line-height: 1.6; }

.story { padding: 20px 0 100px; }
.quote-block { max-width: 860px; text-align: center; }
blockquote { font-family: var(--serif); font-size: clamp(22px, 3vw, 34px); line-height: 1.4; }
.attr { margin-top: 18px; letter-spacing: .22em; text-transform: uppercase; font-size: 11px; color: var(--steel-2); }

.contact { padding: 20px 0 110px; }
.contact-lines { display: flex; flex-direction: column; gap: 8px; margin: 22px 0 28px; }
.contact-lines a { color: var(--steel-2); }
.offices { display: grid; gap: 18px; }
.offices h3 { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-2); margin-bottom: 6px; }
.offices p { color: var(--muted); line-height: 1.6; }
.contact-form { padding: 28px; display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form textarea {
  background: #071422; border: 1px solid var(--line); color: var(--ink);
  padding: 12px 14px; font: 400 15px var(--sans);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 1px solid var(--steel); }
.form-note { font-size: 12px; color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 22px 0 36px; color: var(--muted); font-size: 13px; background: #071422; }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-brand img { height: 40px; width: auto; }
.foot-links { display: flex; gap: 16px; }

@media (max-width: 980px) {
  .split, .leader-grid, .service-grid, .why-grid, .steps, .spec-grid, .spec-grid.flip { grid-template-columns: 1fr; }
  .spec-grid.flip .spec-visual { order: 0; }
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #f7fafc; padding: 20px 28px 28px; gap: 16px;
  }
}
@media (max-width: 640px) {
  .hero { align-items: center; padding-bottom: 60px; }
  .hero-copy { width: calc(100% - 36px); }
  .hero-stats { flex-direction: column; gap: 14px; }
  .wrap { width: calc(100% - 32px); }
  .brand-logo { height: 40px; }
  table.spec td:last-child { white-space: normal; }
}
