/* North River Group — shared styles */
:root {
  --bg: #0b0b0c;
  --bg-panel: #121214;
  --ink: #e9e6df;
  --ink-dim: #b7b2a6;
  --gold: #c9a45c;
  --gold-soft: rgba(201, 164, 92, 0.35);
  --line: rgba(201, 164, 92, 0.22);
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 0.6em; }
h3 { font-size: 1.35rem; color: var(--gold); margin-bottom: 0.35em; }

.kicker {
  font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; font-weight: 500;
}

a { color: var(--gold); text-decoration: none; }
p + p { margin-top: 1em; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 2rem;
  background: linear-gradient(rgba(11,11,12,0.92), rgba(11,11,12,0.75));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav .brand img { height: 44px; display: block; }
.nav ul { display: flex; gap: 2rem; list-style: none; }
.nav a {
  color: var(--ink); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.nav a:hover, .nav a.active { color: var(--gold); }

/* Hero */
.hero {
  min-height: 72vh; display: flex; align-items: center;
  padding: 8rem 2rem 5rem; position: relative; overflow: hidden;
}
.hero-inner { max-width: var(--max); margin: 0 auto; width: 100%; position: relative; }
.hero p.lede { font-size: 1.15rem; color: var(--ink-dim); max-width: 40em; margin-top: 1.2rem; }
.hero-consulting {
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(58, 84, 130, 0.35), transparent 65%),
    radial-gradient(900px 600px at 10% 110%, rgba(35, 48, 75, 0.4), transparent 60%),
    var(--bg);
}
.hero-aero {
  background:
    radial-gradient(1100px 500px at 82% -10%, rgba(160, 108, 42, 0.32), transparent 65%),
    radial-gradient(900px 600px at 8% 115%, rgba(110, 70, 25, 0.30), transparent 60%),
    var(--bg);
}

.btn {
  display: inline-block; margin-top: 2rem; padding: 0.85rem 2.1rem;
  border: 1px solid var(--gold); border-radius: 999px;
  color: var(--gold); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: var(--gold); color: #14120c; }

/* Sections */
section { padding: 4.5rem 2rem; }
.wrap { max-width: var(--max); margin: 0 auto; }
.alt { background: var(--bg-panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.narrow { max-width: 46em; }
.dim { color: var(--ink-dim); }

/* Card grid */
.grid { display: grid; gap: 1.2rem; margin-top: 2rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .grid.cols-2 { grid-template-columns: 1fr; } }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px; padding: 1.6rem;
}
.card h3 { font-family: "Inter", sans-serif; font-size: 1rem; letter-spacing: 0.04em; font-weight: 600; }
.card p { font-size: 0.95rem; color: var(--ink-dim); margin-top: 0.4rem; }

/* Numbered services */
.svc { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem; padding: 2.2rem 0; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc .num { font-family: "Cormorant Garamond", serif; font-size: 2.4rem; color: var(--gold-soft); line-height: 1; }
.svc p { color: var(--ink-dim); margin-top: 0.5rem; }

/* Steps */
.steps { counter-reset: step; margin-top: 2rem; display: grid; gap: 1rem; }
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1.2rem; align-items: baseline; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: "Cormorant Garamond", serif; font-size: 1.9rem; color: var(--gold);
  border: 1px solid var(--line); border-radius: 50%;
  width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center;
}
.step h3 { font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 600; color: var(--ink); }
.step p { font-size: 0.95rem; color: var(--ink-dim); }

/* FAQ */
details {
  border-top: 1px solid var(--line); padding: 1.1rem 0;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  font-weight: 500;
}
summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 0.8rem; color: var(--ink-dim); font-size: 0.97rem; max-width: 46em; }

/* Band */
.band { text-align: center; }
.band .quote { font-family: "Cormorant Garamond", serif; font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--gold); }
.band p { max-width: 44em; margin: 1rem auto 0; color: var(--ink-dim); }

/* Contact */
form { display: grid; gap: 1rem; margin-top: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); display: grid; gap: 0.4rem; }
input, textarea {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px; padding: 0.8rem; color: var(--ink); font: inherit;
}
input:focus, textarea:focus { outline: none; border-color: var(--gold); }
textarea { min-height: 8rem; resize: vertical; }
form .btn { justify-self: start; cursor: pointer; background: none; }

/* Footer */
footer { padding: 3rem 2rem; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); }
footer img { height: 60px; opacity: 0.85; margin-bottom: 1rem; }
footer p { font-size: 0.85rem; color: var(--ink-dim); }
footer a { color: var(--ink-dim); text-decoration: underline; }
footer a:hover { color: var(--gold); }

/* Landing */
.landing {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 3rem 2rem;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(201,164,92,0.08), transparent 60%),
    radial-gradient(700px 500px at 50% 115%, rgba(201,164,92,0.05), transparent 60%),
    var(--bg);
}
.landing .group-logo { width: min(300px, 60vw); margin-bottom: 2.5rem; }
.landing .rule { width: 70px; height: 1px; background: var(--gold); opacity: 0.6; margin: 0 auto 3rem; }
.divisions { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; align-items: stretch; }
.division {
  flex: 1 1 240px; max-width: 320px; padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.07); border-radius: 12px;
  background: rgba(255,255,255,0.02);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.division:hover {
  transform: translateY(-6px); border-color: var(--gold-soft);
  box-shadow: 0 18px 45px rgba(0,0,0,0.5), 0 0 0 1px var(--gold-soft);
}
.division img { width: 100%; max-width: 220px; height: 90px; object-fit: contain; }
.division span { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-dim); }
.landing footer { border: none; margin-top: 3.5rem; padding: 0; }

@media (max-width: 720px) {
  .nav ul { gap: 1.1rem; }
  .nav a { font-size: 0.68rem; letter-spacing: 0.1em; }
  .form-row { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 3rem 1fr; gap: 1rem; }
  section { padding: 3.2rem 1.2rem; }
}


/* ==========================================================================
   Shared site footer — used by index.html and privacy.html.
   Overrides the generic `footer` rules above (centred, image-led), which the
   older page layout relied on.
   ========================================================================== */
.nrg-footer {
  padding: 0;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 8, 10, 0.35);
}

.nrg-footer-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 3.4rem 2rem 2.8rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem 4rem;
  flex-wrap: wrap;
}

.nrg-footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  max-width: 46ch;
}
.nrg-footer .nrg-footer-mark {
  width: 46px;
  height: auto;
  margin: 0.1rem 0 0;
  opacity: 0.8;
  flex: none;
}
.nrg-footer .nrg-footer-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 0.4rem;
}
.nrg-footer .nrg-footer-blurb {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--ink-dim);
  margin: 0;
}

/* Location sits under the blurb as a small caps-style line — set apart by a
   short rule so it reads as a deliberate detail, not a trailing sentence. */
.nrg-footer .nrg-footer-loc {
  margin: 1.1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.nrg-footer .nrg-footer-head {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: 0.63rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.1rem;
}
.nrg-footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}
.nrg-footer-nav a {
  color: var(--ink-dim);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}
.nrg-footer-nav a:hover { color: var(--gold); }

.nrg-footer-bar {
  max-width: 1340px;
  margin: 0 auto;
  padding: 1.35rem 2rem 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 2rem;
  flex-wrap: wrap;
}
.nrg-footer .nrg-footer-bar p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-dim);
  letter-spacing: 0.02em;
}
.nrg-footer .nrg-footer-bar a {
  color: var(--ink-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.nrg-footer .nrg-footer-bar a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 700px) {
  .nrg-footer-inner { padding: 2.8rem 1.5rem 2.2rem; gap: 2.4rem; }
  .nrg-footer-bar { padding: 1.2rem 1.5rem 2rem; }
  /* tightened so the location holds one line in a phone-width column */
  .nrg-footer .nrg-footer-loc { font-size: 0.63rem; letter-spacing: 0.13em; }
}
