/* ── Rudra Brass Industries — Static CSS ── */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,400;1,300;1,400&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --navy-deep: oklch(0.18 0.05 260);
  --navy:      oklch(0.26 0.06 260);
  --brass:     oklch(0.78 0.13 85);
  --brass-light: oklch(0.88 0.10 88);
  --brass-deep:  oklch(0.62 0.13 75);
  --ivory:     oklch(0.96 0.01 90);

  --bg:        oklch(0.14 0.04 260);
  --card:      oklch(0.20 0.05 260);
  --muted-fg:  oklch(0.72 0.02 90);
  --border:    oklch(1 0 0 / 10%);

  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --gradient-brass: linear-gradient(135deg, oklch(0.88 0.10 88), oklch(0.62 0.13 75));
  --shadow-brass:   0 20px 60px -20px oklch(0.78 0.13 85 / 0.35);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--ivory);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, oklch(0.26 0.06 260 / 0.5), transparent),
    radial-gradient(ellipse 60% 50% at 100% 100%, oklch(0.78 0.13 85 / 0.05), transparent);
  background-attachment: fixed;
}

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; }

::selection { background: var(--brass); color: var(--navy-deep); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Utilities ── */
.cx { margin-inline: auto; max-width: 1280px; padding-inline: 1.25rem; }
@media (min-width: 768px) { .cx { padding-inline: 2rem; } }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.gradient-text {
  background-image: var(--gradient-brass);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-brass {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 9999px;
  background-image: var(--gradient-brass);
  padding: 1rem 1.75rem;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--navy-deep);
  box-shadow: var(--shadow-brass);
  transition: transform 0.2s;
  cursor: pointer;
  border: none;
}
.btn-brass:hover { transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 1rem 1.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: var(--ivory);
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--brass); color: var(--brass); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

/* ── Header ── */
header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background 0.5s, border-color 0.5s;
}
header.scrolled {
  background: oklch(0.14 0.04 260 / 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon {
  display: grid;
  place-items: center;
  height: 2.5rem; width: 2.5rem;
  border-radius: 0.375rem;
  background-image: var(--gradient-brass);
  box-shadow: var(--shadow-brass);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-deep);
}
.logo-text { line-height: 1.2; display: none; }
@media (min-width: 640px) { .logo-text { display: block; } }
.logo-name { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.logo-sub  { font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brass); }

nav.desktop-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { nav.desktop-nav { display: flex; } }
nav.desktop-nav a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}
nav.desktop-nav a:hover, nav.desktop-nav a.active { color: var(--brass); }
.nav-quote {
  margin-left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid oklch(0.78 0.13 85 / 0.4);
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--brass);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.nav-quote:hover {
  background: var(--brass);
  color: var(--navy-deep);
  box-shadow: var(--shadow-brass);
}
.menu-btn { display: block; background: none; border: none; color: var(--ivory); cursor: pointer; padding: 0.25rem; }
@media (min-width: 768px) { .menu-btn { display: none; } }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: oklch(0.14 0.04 260 / 0.96);
  backdrop-filter: blur(20px);
}
.mobile-nav.open { display: block; }
.mobile-nav .cx { display: flex; flex-direction: column; padding-block: 1rem; }
.mobile-nav a { padding-block: 0.75rem; font-size: 1rem; letter-spacing: 0.025em; color: rgba(255,255,255,0.9); }
.mobile-nav a:hover { color: var(--brass); }

/* ── Footer ── */
footer {
  margin-top: 8rem;
  border-top: 1px solid var(--border);
  background: oklch(0.12 0.04 260);
}
.footer-grid { display: grid; gap: 3rem; padding-block: 5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr auto auto; } }
.footer-brand { grid-column: span 1; }
@media (min-width: 768px) { .footer-brand { grid-column: span 2; } }
.footer-brand p { margin-top: 1.5rem; max-width: 28rem; font-size: 0.875rem; line-height: 1.7; color: var(--muted-fg); }
.footer-contact { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; }
.footer-contact a, .footer-contact div { display: flex; align-items: flex-start; gap: 0.75rem; color: rgba(255,255,255,0.8); transition: color 0.2s; }
.footer-contact a:hover { color: var(--brass); }
.footer-icon { color: var(--brass); flex-shrink: 0; margin-top: 0.1rem; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.footer-col ul { margin-top: 1rem; list-style: none; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-col a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-col a:hover { color: var(--brass); text-transform: capitalize; }
.footer-bottom {
  border-top: 1px solid oklch(1 0 0 / 0.08);
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted-fg);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 5rem;
  padding-top: 10rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  height: 100%; width: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.hero-overlay-1 { position: absolute; inset: 0; background: linear-gradient(to bottom, oklch(0.14 0.04 260 / 0.7), oklch(0.14 0.04 260 / 0.4), var(--bg)); }
.hero-overlay-2 { position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 40%, transparent, oklch(0.14 0.04 260) 75%); }
.hero-content { max-width: 56rem; }
.hero-content h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  line-height: 0.98;
  color: var(--ivory);
}
.hero-content p {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-fg);
}
.hero-btns { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

/* ── Stats ── */
.stats {
  padding-block: 6rem;
  border-block: 1px solid rgba(255,255,255,0.05);
  background: oklch(0.16 0.04 260);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
@media (min-width: 768px) { .stat { text-align: left; } }
.stat-value { font-family: var(--font-display); font-size: clamp(2.5rem,4vw,3.75rem); background-image: var(--gradient-brass); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 0.75rem; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-fg); }

/* ── Section headings ── */
.section-head { display: grid; gap: 1rem; }
@media (min-width: 768px) { .section-head { grid-template-columns: 1fr auto; align-items: flex-end; } }
.section-head h2 { margin-top: 1rem; font-family: var(--font-display); font-size: clamp(2.5rem,4vw,3.75rem); color: var(--ivory); }
.view-all {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass);
  transition: gap 0.2s;
}
.view-all:hover { gap: 0.75rem; }

/* ── Product grid ── */
.product-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: var(--card);
  transition: border-color 0.3s, transform 0.3s;
}
.product-card:hover { border-color: oklch(0.78 0.13 85 / 0.4); transform: translateY(-4px); }
.product-card .thumb { aspect-ratio: 1; overflow: hidden; }
.product-card .thumb img { height: 100%; width: 100%; object-fit: cover; transition: transform 1.2s ease; }
.product-card:hover .thumb img { transform: scale(1.1); }
.product-card .info { padding: 1.5rem; }
.product-card h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--ivory); }
.product-card p  { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-fg); line-height: 1.6; }
.product-card .more { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }

/* Product card tall variant (home page hero-style) */
.product-card.tall .thumb { aspect-ratio: 4/5; position: relative; }
.product-card.tall .info {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 1.5rem;
  background: none;
}
.product-card.tall .thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, oklch(0.14 0.04 260 / 0.3) 50%, transparent);
}
.product-card.tall .info { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; }
.product-card.tall .more { opacity: 0; transition: opacity 0.3s; }
.product-card.tall:hover .more { opacity: 1; }

/* ── Capabilities ── */
.caps-grid {
  display: grid; gap: 1px;
  background: rgba(255,255,255,0.05);
  border-radius: 1rem; overflow: hidden;
}
@media (min-width: 640px) { .caps-grid { grid-template-columns: repeat(2, 1fr); } }
.cap-item { background: var(--card); padding: 1.5rem; }
.cap-item h3 { margin-top: 1rem; font-family: var(--font-display); font-size: 1.25rem; color: var(--ivory); }
.cap-item p  { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; }
.cap-icon { color: var(--brass); }

/* ── CTA band ── */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid oklch(0.78 0.13 85 / 0.2);
  background: linear-gradient(135deg, oklch(0.22 0.06 260), oklch(0.16 0.04 260));
  padding: 3rem 2rem;
  text-align: center;
}
@media (min-width: 768px) { .cta-band { padding: 5rem; } }
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, oklch(0.78 0.13 85 / 0.15), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(2.5rem,4vw,3.75rem); color: var(--ivory); margin-top: 1rem; }
.cta-band p  { margin-top: 1.5rem; max-width: 36rem; color: var(--muted-fg); margin-inline: auto; }
.cta-band .btn-brass { margin-top: 2.5rem; }

/* ── Page Hero ── */
.page-hero { padding-top: 10rem; padding-bottom: 4rem; position: relative; overflow: hidden; }
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at 50% 0%, oklch(0.78 0.13 85 / 0.08), transparent 60%);
}
.page-hero h1 { margin-top: 1rem; font-family: var(--font-display); font-size: clamp(2.5rem,5vw,4rem); color: var(--ivory); }
.page-hero .lead { margin-top: 1.5rem; max-width: 40rem; color: var(--muted-fg); line-height: 1.7; }

/* ── About / Quality ── */
.two-col { display: grid; gap: 4rem; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }
.rounded-img { overflow: hidden; border-radius: 1.5rem; border: 1px solid rgba(255,255,255,0.05); }
.rounded-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.spec-grid {
  display: grid; gap: 1px;
  background: rgba(255,255,255,0.05);
  border-radius: 1rem; overflow: hidden;
}
@media (min-width: 640px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
.spec-item { background: var(--card); padding: 1.5rem; }
.spec-item .eyebrow { display: block; }
.spec-item .val { margin-top: 0.5rem; color: var(--ivory); }

.pillars-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); } }

.principle { display: flex; align-items: flex-start; gap: 1rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1.5rem; }
.principle .check { color: var(--brass); flex-shrink: 0; margin-top: 0.1rem; }
.principle p { color: rgba(255,255,255,0.85); line-height: 1.7; }

/* ── Banner image ── */
.banner-wrap { position: relative; overflow: hidden; border-radius: 1.5rem; }
.banner-wrap img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg), oklch(0.14 0.04 260 / 0.6), transparent);
  display: flex; align-items: center;
}
.banner-copy { max-width: 36rem; }
.banner-copy h3 { font-family: var(--font-display); font-size: clamp(1.5rem,3vw,2.25rem); color: var(--ivory); margin-top: 0.75rem; }
.banner-copy p  { margin-top: 1rem; color: var(--muted-fg); }
.banner-copy a  { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); }

/* ── Contact ── */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card { border-radius: 1rem; border: 1px solid var(--border); background: var(--card); padding: 1.75rem; }
.contact-card .icon { color: var(--brass); }
.contact-card .eyebrow { display: block; margin-top: 1rem; }
.contact-card a, .contact-card p { margin-top: 0.5rem; display: block; font-size: 1.125rem; color: var(--ivory); line-height: 1.6; word-break: break-all; }
.contact-card a:hover { color: var(--brass); }

.inquiry-form {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2rem;
}
@media (min-width: 768px) { .inquiry-form { padding: 2.5rem; } }
.inquiry-form h2 { margin-top: 0.75rem; font-family: var(--font-display); font-size: 1.875rem; color: var(--ivory); }
.form-row { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; }
.field label { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.field input, .field textarea {
  margin-top: 0.5rem;
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: oklch(0.14 0.04 260 / 0.5);
  padding: 0.75rem 1rem;
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-fg); }
.field input:focus, .field textarea:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 3px oklch(0.78 0.13 85 / 0.2);
}
.field textarea { resize: vertical; }
.form-message { margin-top: 1.25rem; }

/* ── Product detail ── */
.product-detail-hero { padding-top: 8rem; padding-bottom: 5rem; position: relative; overflow: hidden; }
.product-detail-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at top, oklch(0.78 0.13 85 / 0.1), transparent 60%);
}
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--brass); }
.back-link:hover { opacity: 0.8; }
.product-layout { display: grid; gap: 3rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .product-layout { grid-template-columns: 1fr 1fr; align-items: center; } }
.product-img { overflow: hidden; border-radius: 1.5rem; border: 1px solid var(--border); }
.product-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info h1 { margin-top: 0.75rem; font-family: var(--font-display); font-size: clamp(2.5rem,4vw,3.75rem); color: var(--ivory); line-height: 1.1; }
.product-info .tagline { margin-top: 1.25rem; font-size: 1.125rem; color: var(--muted-fg); line-height: 1.7; }
.product-info .range   { margin-top: 1.5rem; color: rgba(255,255,255,0.8); line-height: 1.7; }
.applications { margin-top: 2rem; }
.applications ul { margin-top: 1rem; display: grid; gap: 0.5rem; list-style: none; }
@media (min-width: 640px) { .applications ul { grid-template-columns: repeat(2, 1fr); } }
.applications li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.applications li svg { color: var(--brass); flex-shrink: 0; }

.specs-band {
  display: grid; gap: 1px;
  background: rgba(255,255,255,0.05);
  border-radius: 1rem; overflow: hidden;
}
@media (min-width: 640px) { .specs-band { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .specs-band { grid-template-columns: repeat(4, 1fr); } }
.spec-cell { background: var(--card); padding: 1.5rem; }

.related-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card { display: block; overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); background: var(--card); transition: border-color 0.3s; }
.related-card:hover { border-color: oklch(0.78 0.13 85 / 0.4); }
.related-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.related-card .thumb img { height: 100%; width: 100%; object-fit: cover; transition: transform 1.2s; }
.related-card:hover .thumb img { transform: scale(1.1); }
.related-card .info { padding: 1.25rem; }
.related-card h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--ivory); }
.related-card p  { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-fg); }

/* ── Sections spacing ── */
.section { padding-block: 5rem; }
.section-lg { padding-block: 8rem; }

/* SVG icons inline helper */
svg { display: inline-block; vertical-align: middle; }
