/* ============================================================
   GRIDPOINT MANAGEMENT & CONSULTING — SHARED STYLESHEET
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --navy:        #0d1f3c;
  --navy-light:  #162d54;
  --orange:      #e87722;
  --orange-light:#f09040;
  --cream:       #f8f4ee;
  --warm-white:  #fdfaf6;
  --slate:       #4a5568;
  --light-slate: #718096;
  --border:      #e2d9cc;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { font-family:'DM Sans',sans-serif; background:var(--warm-white); color:var(--navy); overflow-x:hidden; }

/* ── NAV ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  background:var(--navy);
  border-bottom:1px solid rgba(232,119,34,0.25);
  height:80px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 52px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-brand { display:flex; align-items:center; text-decoration:none; }
.nav-logo { height:52px; width:auto; display:block; }
.nav-links { display:flex; align-items:center; gap:26px; list-style:none; }
.nav-links a { color:rgba(255,255,255,0.72); text-decoration:none; font-size:0.79rem; font-weight:500; letter-spacing:0.06em; text-transform:uppercase; transition:color 0.2s; }
.nav-links a:hover, .nav-links a.active { color:var(--orange-light); }
.nav-cta { background:var(--orange) !important; color:#fff !important; padding:9px 22px; border-radius:3px; font-weight:600 !important; transition:background 0.2s !important; }
.nav-cta:hover { background:var(--orange-light) !important; }

/* Mobile nav toggle */
.nav-toggle { display:none; background:none; border:none; cursor:pointer; flex-direction:column; gap:5px; padding:4px; }
.nav-toggle span { display:block; width:22px; height:2px; background:#fff; border-radius:2px; transition:all 0.3s; }
.mobile-nav { display:none; position:fixed; top:80px; left:0; right:0; background:var(--navy); border-bottom:1px solid rgba(232,119,34,0.2); padding:16px 24px; z-index:199; }
.mobile-nav.open { display:block; }
.mobile-nav a { display:block; color:rgba(255,255,255,0.8); text-decoration:none; font-size:0.9rem; font-weight:500; letter-spacing:0.06em; text-transform:uppercase; padding:12px 0; border-bottom:1px solid rgba(255,255,255,0.06); }
.mobile-nav a:last-child { border-bottom:none; color:var(--orange-light); }

/* ── BUTTONS ── */
.btn-gold, .btn-orange {
  background:var(--orange); color:#fff;
  padding:13px 30px; font-size:0.83rem; font-weight:700;
  letter-spacing:0.06em; text-transform:uppercase;
  text-decoration:none; border-radius:3px; border:none;
  cursor:pointer; transition:background 0.2s,transform 0.15s;
  display:inline-block;
}
.btn-gold:hover, .btn-orange:hover { background:var(--orange-light); transform:translateY(-1px); }
.btn-ghost {
  background:transparent; color:#fff;
  padding:13px 30px; font-size:0.83rem; font-weight:500;
  letter-spacing:0.06em; text-transform:uppercase;
  text-decoration:none; border-radius:3px;
  border:1px solid rgba(255,255,255,0.28);
  cursor:pointer; transition:all 0.2s; display:inline-block;
}
.btn-ghost:hover { border-color:var(--orange); color:var(--orange-light); }
.btn-navy-solid {
  background:var(--navy); color:#fff;
  padding:14px 32px; font-size:0.85rem; font-weight:700;
  letter-spacing:0.06em; text-transform:uppercase;
  text-decoration:none; border-radius:3px;
  transition:background 0.2s; white-space:nowrap; display:inline-block;
  border:2px solid rgba(255,255,255,0.15);
}
.btn-navy-solid:hover { background:var(--navy-light); }

/* ── SHARED HELPERS ── */
.gold-line { width:44px; height:2px; background:var(--orange); margin:16px 0 28px; }
.section-tag { font-size:0.69rem; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--orange); margin-bottom:10px; }
.section-title { font-family:'Playfair Display',serif; font-size:clamp(1.9rem,3vw,2.6rem); font-weight:700; color:var(--navy); line-height:1.2; }
.section-sub { color:var(--light-slate); font-size:0.95rem; line-height:1.8; font-weight:300; }
.section-sub-white { color:rgba(255,255,255,0.48); }

.eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(232,119,34,0.12); border:1px solid rgba(232,119,34,0.3);
  padding:5px 13px; border-radius:2px; margin-bottom:22px;
}
.eyebrow::before { content:''; width:5px; height:5px; background:var(--orange); border-radius:50%; flex-shrink:0; }
.eyebrow span { color:var(--orange-light); font-size:0.69rem; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background:var(--navy); padding:128px 80px 72px;
  position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background:
    repeating-linear-gradient(0deg,transparent,transparent 59px,rgba(255,255,255,0.015) 59px,rgba(255,255,255,0.015) 60px),
    repeating-linear-gradient(90deg,transparent,transparent 59px,rgba(255,255,255,0.015) 59px,rgba(255,255,255,0.015) 60px);
}
.page-hero-content { position:relative; z-index:1; max-width:640px; animation:fadeUp 0.7s ease both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(22px);}to{opacity:1;transform:translateY(0);} }
.page-hero h1 { font-family:'Playfair Display',serif; font-size:clamp(2.4rem,4vw,3.6rem); font-weight:900; color:#fff; line-height:1.1; margin-bottom:14px; }
.page-hero p { color:rgba(255,255,255,0.52); font-size:1rem; line-height:1.75; font-weight:300; max-width:520px; }

/* ── FORMS ── */
.fg { margin-bottom:15px; }
.fg label { display:block; font-size:0.7rem; font-weight:700; color:var(--slate); letter-spacing:0.07em; text-transform:uppercase; margin-bottom:6px; }
.fg input, .fg select, .fg textarea {
  width:100%; padding:11px 14px;
  border:1px solid var(--border); border-radius:3px;
  font-family:'DM Sans',sans-serif; font-size:0.89rem;
  color:var(--navy); background:var(--warm-white);
  outline:none; transition:border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color:var(--orange); box-shadow:0 0 0 3px rgba(232,119,34,0.08); }
.fg textarea { resize:vertical; min-height:92px; }
.r2 { display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.notify { display:none; background:#d1fae5; border:1px solid #6ee7b7; border-radius:3px; padding:11px 15px; margin-top:13px; font-size:0.83rem; color:#065f46; font-weight:500; }

/* ── FOOTER ── */
footer { background:var(--navy); border-top:1px solid rgba(232,119,34,0.18); }
.footer-main { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; padding:64px 80px 52px; }
.footer-logo { height:48px; width:auto; display:block; margin-bottom:14px; }
.footer-brand p { font-size:0.82rem; color:rgba(255,255,255,0.38); line-height:1.75; max-width:260px; }
.footer-col h4 { font-size:0.68rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:rgba(255,255,255,0.45); margin-bottom:16px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col ul a { color:rgba(255,255,255,0.52); text-decoration:none; font-size:0.83rem; transition:color 0.2s; }
.footer-col ul a:hover { color:var(--orange-light); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.07); padding:20px 80px; display:flex; justify-content:space-between; align-items:center; }
.footer-bottom p { color:rgba(255,255,255,0.22); font-size:0.74rem; }

/* ── RESPONSIVE ── */
@media(max-width:1024px) {
  nav { padding:0 24px; }
  .nav-links { gap:18px; }
}
@media(max-width:768px) {
  .nav-links { display:none; }
  .nav-toggle { display:flex; }
  .page-hero { padding:100px 24px 52px; }
  .footer-main { grid-template-columns:1fr 1fr; gap:32px; padding:48px 24px 36px; }
  .footer-bottom { flex-direction:column; gap:8px; padding:16px 24px; text-align:center; }
  .r2 { grid-template-columns:1fr; }
}

/* ── SISTER SITE TAB ── */
.nav-links .nav-sister {
  color:var(--orange) !important;
  border:1px solid rgba(232,119,34,0.35) !important;
  padding:6px 14px !important;
  border-radius:2px !important;
  font-size:0.72rem !important;
  letter-spacing:0.07em !important;
  transition:all 0.2s !important;
}
.nav-links .nav-sister:hover {
  background:rgba(232,119,34,0.1) !important;
  border-color:var(--orange) !important;
  color:var(--orange-light) !important;
}
