
:root {
  --bg-main: #020617;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-soft: rgba(148,163,184,0.35);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
}

/* header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  padding: 12px 16px;
  pointer-events: none;
}
.header-inner {
  max-width: 1180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(15,23,42,0.88);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  padding: 8px 16px 8px 14px;
  pointer-events: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand-mark { height: 50px; width: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-title {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
}
.nav a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--text-main);
  transition: width 0.18s ease-out;
}
.nav a:hover { color: var(--text-main); }
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { color: var(--text-main); }

.social {
  display: flex;
  gap: 10px;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.55);
  background: radial-gradient(circle at 30% 0, rgba(148,163,184,0.35), rgba(15,23,42,1));
}
.social svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--text-main);
  stroke-width: 1.4;
}
.social a:nth-child(2) svg path,
.social a:nth-child(3) svg path {
  stroke: none;
  fill: var(--text-main);
}

@media (max-width: 780px) {
  .brand-text { display: none; }
  .header-inner { padding-inline: 12px; }
  .nav { gap: 12px; font-size: 12px; }
  .social { gap: 6px; }
}

/* hero */
.page-home main { min-height: 100vh; }
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(15,23,42,0.08), rgba(15,23,42,0.55)),
    linear-gradient(to bottom, rgba(15,23,42,0.75), #020617);
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  margin: 0 auto;
  padding: 150px 24px 80px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 56px);
  margin-bottom: 12px;
}
.hero-line {
  font-size: 16px;
  color: #e5e7eb;
  max-width: 520px;
  margin-bottom: 22px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: #f9fafb;
  color: #020617;
}
.btn-ghost {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(148,163,184,0.7);
}

/* intro */
.intro {
  border-top: 1px solid rgba(31,41,55,1);
  background: radial-gradient(circle at top, #020617, #020617 60%);
}
.intro-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}
.intro-inner h2 { font-size: 22px; margin-bottom: 10px; }
.intro-inner p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* pages */
.page-main { padding-top: 96px; }
.page-hero {
  position: relative;
  border-bottom: 1px solid rgba(31,41,55,1);
  overflow: hidden;
}
.page-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 50px 24px 40px;
  position: relative;
  z-index: 2;
}
.page-hero-inner h1 { font-size: 26px; margin-bottom: 8px; }
.page-hero-inner p { font-size: 14px; color: var(--text-muted); }

/* background image for inner pages */
.page-services .page-hero::before,
.page-about .page-hero::before,
.page-contact .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/butler-hero.jpg");
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  opacity: 0.65;
}
.page-services .page-hero::after,
.page-about .page-hero::after,
.page-contact .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(15,23,42,0.08), rgba(15,23,42,0.6)),
    linear-gradient(to bottom, rgba(15,23,42,0.78), #020617);
  z-index: 1;
}

.section { padding: 24px 24px 40px; }
.section-alt { background: #020617; }
.section-inner {
  max-width: 1040px;
  margin: 0 auto;
}
.section-inner.narrow { max-width: 760px; }

.section-header {
  max-width: 720px;
  margin-bottom: 18px;
}
.section-header h2 { font-size: 20px; margin-bottom: 6px; }
.section-header p {
  font-size: 13px;
  color: var(--text-muted);
}

/* grid & cards */
.grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}
@media (max-width: 860px) {
  .grid { grid-template-columns: minmax(0,1fr); }
}
.card {
  background: rgba(15,23,42,0.9);
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  padding: 16px 18px 14px;
  box-shadow: 0 20px 60px rgba(15,23,42,0.55);
}
.card h3 { font-size: 15px; margin-bottom: 8px; }
.card ul {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 18px;
}
.card li + li { margin-top: 4px; }
.card-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* contact */
.contact-page-box {
  border-radius: 22px;
  border: 1px solid var(--border-soft);
  background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,0.98));
  padding: 20px 18px 18px;
  box-shadow: 0 20px 60px rgba(15,23,42,0.65);
}
.contact-main {
  font-size: 14px;
  margin-bottom: 6px;
}
.contact-main a { color: #e5e7eb; }
.contact-helper {
  font-size: 12px;
  color: var(--text-muted);
}

/* footer */
.site-footer {
  border-top: 1px solid rgba(31,41,55,1);
  padding: 14px 24px 18px;
  background: #020617;
}
.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
}
.footer-social a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-social a:hover { color: var(--text-main); }

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
