:root {
  --navy: #14202e;
  --navy-2: #1c2c3f;
  --steel: #5b6b7d;
  --line: #dde3ea;
  --bg: #f5f7f9;
  --white: #ffffff;
  --text: #1a2330;
  --muted: #4a5868;
  --amber: #f5b301;
  --amber-dark: #d99a00;
  --radius: 10px;
  --heading: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--amber);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 32, 46, 0.97);
  border-bottom: 3px solid var(--amber);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark { color: var(--amber); letter-spacing: 0.06em; }
.brand-text { text-transform: uppercase; font-size: 1.1rem; }

.nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  padding: 8px 12px;
  color: #e6ebf0;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
}

.nav-list a:hover { color: var(--amber); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(245, 179, 1, 0.18), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 96px 0 104px;
}

/* Scaffold-style grid: vertical standards, horizontal ledgers and a diagonal brace */
.hero-pattern {
  position: absolute;
  inset: 0 0 0 auto;
  width: 55%;
  background:
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(255, 255, 255, 0.10) 118px 124px),
    repeating-linear-gradient(0deg, transparent 0 94px, rgba(255, 255, 255, 0.08) 94px 99px),
    repeating-linear-gradient(135deg, transparent 0 160px, rgba(245, 179, 1, 0.14) 160px 164px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 18px, var(--navy) 18px 36px);
}

.hero-inner { position: relative; max-width: 1160px; }

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  max-width: 15ch;
  text-transform: uppercase;
}

.lead {
  font-size: 1.15rem;
  color: #d4dbe3;
  max-width: 58ch;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--amber); color: var(--navy); border: 2px solid var(--amber); }
.btn-primary:hover { background: var(--amber-dark); border-color: var(--amber-dark); }

.btn-ghost { color: var(--white); border: 2px solid rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

/* Sections */
.section { padding: 88px 0; }

.section-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8a6400;
  margin-bottom: 8px;
}

.section h2 { font-size: clamp(2rem, 4vw, 2.75rem); text-transform: uppercase; }

.section-intro { max-width: 62ch; color: var(--muted); margin-bottom: 40px; }

/* Services */
#services { background: var(--bg); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  box-shadow: 0 6px 20px rgba(20, 32, 46, 0.06);
}

.card-num {
  display: block;
  font-family: var(--heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--line);
  line-height: 1;
  margin-bottom: 14px;
}

.card h3 { font-size: 1.6rem; text-transform: uppercase; color: var(--navy); }
.card p { color: var(--muted); margin: 0; }

/* About */
.section-dark { background: var(--navy); color: #d4dbe3; }
.section-dark h2 { color: var(--white); }
.section-dark .section-kicker { color: var(--amber); }

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
}

.fact {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 18px 20px;
}

.fact dt {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a9b5c2;
  margin-bottom: 4px;
}

.fact dd {
  margin: 0;
  font-family: var(--heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-grid p { color: var(--muted); max-width: 48ch; }

.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 6px solid var(--amber);
  border-radius: var(--radius);
  padding: 28px 30px;
}

.contact-card h3 { font-size: 1.5rem; text-transform: uppercase; color: var(--navy); }

.contact-card address { font-style: normal; line-height: 1.75; }

/* Footer */
.site-footer {
  background: #0e1722;
  color: #b6c1cc;
  padding: 48px 0 32px;
  font-size: 0.92rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
}

.footer-address { margin: 0; }
.legal { max-width: 90ch; }
.copyright { margin: 0; color: #8d9aa8; }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-pattern { width: 100%; opacity: 0.6; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .header-inner { min-height: 58px; gap: 8px; }
  .brand { font-size: 1.3rem; }
  .brand-text { font-size: 0.95rem; }
  .nav-list a { padding: 8px 6px; font-size: 0.88rem; }
  .hero { padding: 64px 0 76px; }
  .section { padding: 64px 0; }
  .cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fact { padding: 14px 14px; }
  .fact dd { font-size: 1.2rem; }
  .btn { flex: 1 1 100%; }
}

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .nav-list { gap: 0; }
  .nav-list a { padding: 8px 5px; font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
