/* Shared site styles for Nova Metals Ltd */
:root {
  --bg: #0b1220;
  --bg-soft: #111827;
  --surface: rgba(17, 24, 39, 0.82);
  --surface-strong: #182235;
  --line: rgba(148, 163, 184, 0.22);
  --text: #e5edf6;
  --muted: #9fb0c4;
  --accent: #f97316;
  --accent-soft: #fb923c;
  --steel: #cbd5e1;
  --success: #16a34a;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.18), transparent 28%),
    radial-gradient(circle at left 25%, rgba(37, 99, 235, 0.14), transparent 26%),
    linear-gradient(180deg, #060b15 0%, #0b1220 44%, #111827 100%);
  min-height: 100vh;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  overflow-x: hidden;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 88%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(14px);
}

.site-header-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-brand {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.site-brand-logo {
  width: auto;
  height: 5rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-brand-copy {
  min-width: 0;
}

.site-brand-name {
  margin: 0;
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.875rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-brand-meta {
  margin: 0;
  color: #94a3b8;
  font-size: 0.875rem;
}

.site-header-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.site-header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.mobile-nav-toggle {
  display: inline-flex;
  min-width: 4.9rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  background: #0f172a;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-nav {
  padding-bottom: 1rem;
}

.mobile-nav-panel {
  border-radius: 1.5rem;
  padding: 1rem;
}

.mobile-nav-links {
  display: grid;
  gap: 0.75rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 700;
}

.mobile-nav-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
}

.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.9), rgba(11, 18, 32, 0.88));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 146, 60, 0.35);
  background: rgba(249, 115, 22, 0.12);
  color: #ffcf9e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sub-title {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.accent-line {
  height: 4px;
  width: 92px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(249, 115, 22, 0.08));
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  color: #fff7ed;
  padding: 0.95rem 1.3rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.28);
}

.cta-primary:hover,
.cta-primary:focus-visible {
  transform: translateY(-1px);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.2);
  background: rgba(148, 163, 184, 0.08);
  color: var(--text);
  padding: 0.95rem 1.3rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-link {
  position: relative;
  color: #d5dfeb;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::before {
  content: "+";
  font-size: 0.85rem;
  color: var(--accent);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  display: none;
  min-width: 18rem;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(2, 6, 23, 0.96);
  box-shadow: 0 22px 50px rgba(2, 6, 23, 0.45);
  padding: 0.9rem;
  z-index: 50;
}

.nav-dropdown[open] .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
  gap: 0.45rem;
}

.nav-dropdown-link {
  border-radius: 0.9rem;
  color: #d5dfeb;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.75rem 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  background: rgba(249, 115, 22, 0.12);
  color: #fff;
}

.stat-card,
.info-card,
.work-card,
.faq-card {
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.68));
}

.stat-number {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  color: #fff7ed;
}

.metal-list li,
.check-list li {
  position: relative;
  padding-left: 1.6rem;
}

.metal-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #fdba74);
}

.faq-card summary {
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.kicker-grid {
  display: grid;
  gap: 1rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-media {
  position: relative;
  min-height: 500px;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.08) 0%, rgba(7, 10, 18, 0.3) 45%, rgba(7, 10, 18, 0.88) 100%);
}

.hero-media-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  object-position: center 38%;
}

.hero-overlay-card {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 1;
  max-width: 31rem;
  text-shadow: 0 2px 18px rgba(2, 6, 23, 0.75);
}

.hero-overlay-card .font-display {
  font-size: 1.9rem;
  line-height: 1;
}

.hero-overlay-card .check-list {
  display: grid;
  gap: 0.5rem;
}

.hero-overlay-card .check-list li {
  padding-left: 1.4rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-overlay-card .check-list li::before {
  top: 0.45rem;
}

.hero-line-bg {
  display: inline;
  padding: 0.02rem 0.45rem 0.08rem;
  border-radius: 0.4rem;
  background: rgba(7, 10, 18, 0.58);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.image-card,
.image-card .hero-media-image {
  min-height: 500px;
}

.image-card .hero-media-image {
  object-position: center 38%;
}

.image-card-content {
  max-width: 31rem;
}

.image-card-title {
  line-height: 1.3 !important;
}

.hero-media-compact {
  min-height: 500px;
}

.hero-media-compact .hero-media-image {
  min-height: 500px;
  object-position: center 36%;
}

.footer-link {
  color: #c7d2fe;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #fff7ed;
}

.hours-note {
  border-left: 4px solid rgba(249, 115, 22, 0.8);
  background: rgba(249, 115, 22, 0.08);
}

@media (min-width: 768px) {
  .site-header-inner {
    padding: 0 1.5rem;
  }

  .site-header-actions {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .site-header-nav {
    display: flex;
  }

  .mobile-nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .site-shell::before {
    background-size: 48px 48px;
    opacity: 0.55;
  }

  body > div.border-b.border-slate-800\/80.bg-slate-950\/80 > div {
    gap: 0.4rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  body > div.border-b.border-slate-800\/80.bg-slate-950\/80 p:first-child {
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.14em;
  }

  body > div.border-b.border-slate-800\/80.bg-slate-950\/80 p:last-child {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .site-header-row {
    gap: 0.75rem;
    align-items: center;
    padding: 0.9rem 0;
  }

  .site-brand-logo {
    height: 3.35rem;
  }

  .site-brand {
    gap: 0.75rem;
  }

  .site-brand-name {
    font-size: 1.7rem;
    line-height: 0.9;
    letter-spacing: 0.015em;
  }

  .site-brand-meta {
    margin-top: 0.2rem;
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .mobile-nav-toggle {
    min-width: 5.2rem;
    height: 2.9rem;
    border-radius: 1rem;
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.3);
  }

  .mobile-nav-toggle span {
    font-size: 0.9rem;
    display: inline-block;
  }

  .mobile-nav {
    padding-bottom: 0.9rem;
  }

  .mobile-nav-panel {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(11, 18, 32, 0.95));
  }

  .mobile-nav-links a {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.8rem 0.95rem;
    border-radius: 0.95rem;
    background: rgba(148, 163, 184, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.12);
    text-decoration: none;
  }

  .mobile-nav-links a:active,
  .mobile-nav-links a:focus-visible {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.28);
    color: #fff;
  }

  .mobile-nav-actions .cta-primary,
  .mobile-nav-actions .cta-secondary {
    width: 100%;
    min-height: 3rem;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
  }

  .section-title {
    font-size: clamp(2rem, 11vw, 3rem);
    line-height: 0.92;
  }

  .sub-title {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    line-height: 0.95;
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.11em;
  }

  .accent-line {
    width: 72px;
  }

  .hero-grid {
    gap: 1.35rem;
  }

  .hero-media,
  .hero-media-image {
    min-height: 455px;
    object-position: center 34%;
  }

  .hero-overlay-card {
    left: 0.85rem;
    right: 0.85rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    max-width: none;
    padding: 1rem !important;
  }

  .hero-overlay-card .font-display {
    font-size: 1.5rem;
  }

  .hero-overlay-card .check-list {
    gap: 0.35rem;
  }

  .hero-overlay-card .check-list li {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-media-compact,
  .hero-media-compact .hero-media-image {
    min-height: 420px;
  }


  .kicker-grid {
    gap: 0.85rem;
  }

  .panel,
  .stat-card,
  .info-card,
  .work-card,
  .faq-card {
    border-radius: 1.25rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    min-height: 3.15rem;
  }

  main section {
    scroll-margin-top: 5.5rem;
  }

  main > section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  main > section:first-child {
    padding-top: 1.75rem !important;
    padding-bottom: 2.25rem !important;
  }

  main > section:last-child {
    padding-top: 2.75rem !important;
    padding-bottom: 3rem !important;
  }

  aside.panel,
  section .panel,
  .stat-card,
  .info-card,
  .work-card,
  .faq-card {
    padding: 1.15rem !important;
  }

  .check-list,
  .metal-list {
    gap: 0.8rem;
  }

  .faq-card summary {
    line-height: 1.45;
  }

  footer .grid {
    gap: 2rem;
  }

  footer .font-display.text-3xl {
    font-size: 2rem;
  }

  footer .font-display.text-2xl {
    font-size: 1.55rem;
  }
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: start;
  }

  .kicker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
