/* ==========================================================================
   HighPoint Solutions LLC — Site Styles
   Palette: Navy #0F2B4B / Gold #C79A3A / Cream #F7F4EE / Ink #0B1B2E
   Type: Playfair Display (display) + Inter (body)
   ========================================================================== */

:root {
  --navy: #0F2B4B;
  --navy-2: #1A3A62;
  --navy-ink: #0B1B2E;
  --gold: #C79A3A;
  --gold-2: #B08628;
  --cream: #F7F4EE;
  --paper: #FFFFFF;
  --line: #E4DFD5;
  --muted: #5A6A80;
  --text: #14263F;

  --container: 1160px;
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(15, 43, 75, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 43, 75, 0.08);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy-ink);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.accent { color: var(--gold); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-ink);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-2); border-color: var(--gold-2); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--paper); background: rgba(255,255,255,0.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 72px; width: auto; display: block; }
.nav { display: flex; gap: 32px; }
.nav a {
  color: var(--navy-ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--paper);
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0 clamp(80px, 12vw, 130px);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 500px at 15% 20%, rgba(199, 154, 58, 0.20), transparent 60%),
    radial-gradient(900px 500px at 85% 90%, rgba(26, 58, 98, 0.9), transparent 55%),
    linear-gradient(160deg, var(--navy-ink) 0%, var(--navy) 55%, #143255 100%);
}
.hero-bg::after {
  /* subtle blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero .eyebrow { color: var(--gold); }
.hero-title { color: var(--paper); max-width: 18ch; }
.hero-lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 58ch;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 640px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 600;
}
.hero-stats dd {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--paper);
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-lede { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }

.services { background: var(--cream); }

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.card-num {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---------- About ---------- */
.about { background: var(--paper); }
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-copy p { color: var(--muted); font-size: 1.05rem; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 16px; height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.side-card {
  background: var(--navy);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: sticky;
  top: 100px;
}
.side-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 24px;
}
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 0.95rem;
}
.side-card li:last-child { border-bottom: none; }
.side-card li span {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.side-card li strong { color: var(--paper); font-weight: 500; text-align: right; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact-head { text-align: center; margin: 0 auto 64px; }
.contact-head .section-lede { margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--paper);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-ink);
  letter-spacing: 0.02em;
}
.field .opt { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 154, 58, 0.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-note { margin: 0; font-size: 0.9rem; color: var(--muted); }
.form-note.success { color: #1e6b3b; font-weight: 500; }
.form-note.error { color: #a13232; }

.contact-side {
  background: var(--navy);
  color: var(--paper);
  padding: 40px;
  border-radius: var(--radius-lg);
}
.contact-side h3 {
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  gap: 4px;
}
.contact-list li:last-child { border-bottom: none; }
.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.contact-value {
  color: var(--paper);
  text-decoration: none;
  font-size: 1rem;
  word-break: break-word;
}
a.contact-value:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-ink);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-mark { height: 44px; width: auto; background: var(--paper); padding: 4px; border-radius: var(--radius); }
.footer-name { margin: 0; color: var(--paper); font-weight: 600; }
.footer-tag { margin: 2px 0 0; font-size: 0.88rem; }
.footer-copy { margin: 0; font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .header-inner { justify-content: space-between; height: 76px; }
  .brand-logo { height: 56px; }

  .grid-2 { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .side-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .hero-stats div { flex-direction: row; justify-content: space-between; align-items: baseline; }
  .footer-inner { flex-direction: column; text-align: center; }
}
