/* ============================================================
   Great Ridge Capital — Global Stylesheet
   Slate blue, cream, navy, tan. Light body, slate hero/header, navy footer.
   ============================================================ */

:root {
  --slate: #2C3E55;
  --cream: #F6F3EA;
  --navy: #1B2A41;
  --tan: #C5A880;
  --steel: #B4C3D6;
  --tan-dark: #8A6E46;

  --bg: #F6F3EA;
  --bg-raised: #ECE7D8;
  --bg-panel: #E4DDC9;
  --line: rgba(27, 42, 65, 0.12);
  --line-strong: rgba(27, 42, 65, 0.24);
  --text: #1B2A41;
  --text-dim: #2C3E55;
  --text-faint: #5B6B82;
  --accent: #8A6E46;
  --accent-dim: #8A6E46;
  --skyline-fill: #243448;
  --skyline-fill-2: #1F2E43;
  --hero-bg: #2C3E55;
  --hero-text: #F6F3EA;
  --hero-text-dim: #B4C3D6;
  --hero-accent: #C5A880;
  --hero-line: rgba(246, 243, 234, 0.18);
  --serif: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(138, 110, 70, 0.22); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Header ---------- */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(44, 62, 85, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(246, 243, 234, 0.14);
  --text: #F6F3EA;
  --text-dim: #B4C3D6;
  --accent: #C5A880;
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.wordmark svg { width: 34px; height: 29px; flex: none; }

.wordmark .name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wordmark .name span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 44px;
  align-items: center;
}

.nav-links a {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.25s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-links a.nav-contact {
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 18px;
  border-radius: 3px;
}

.nav-links a.nav-contact:hover { background: var(--accent); color: var(--navy); }

/* ---------- Hero ---------- */

.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  --accent: #C5A880;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 65% 50% at 50% 100%, rgba(180, 195, 214, 0.10), transparent 68%),
    linear-gradient(180deg, rgba(44,62,85,0) 45%, rgba(44,62,85,0.55) 78%, rgba(44,62,85,0.92) 100%);
  pointer-events: none;
}

.skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 46%;
  z-index: 0;
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 2; padding-top: 84px; }

.hero .eyebrow { color: var(--hero-accent); }
.hero h1 { color: var(--hero-text); }

.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 34px;
  display: block;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  max-width: 17ch;
}

.hero .lede {
  margin-top: 36px;
  max-width: 54ch;
  font-size: 17px;
  color: var(--hero-text-dim);
}

/* ---------- Sections ---------- */

section { padding: 130px 0; }

section.ruled { border-bottom: 1px solid var(--line); }

.section-label {
  font-size: 11.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 30px;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.2;
  max-width: 24ch;
}

h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
}

.prose {
  max-width: 62ch;
  color: var(--text-dim);
  font-size: 16.5px;
}

.prose p + p { margin-top: 1.4em; }

.prose strong { color: var(--text); font-weight: 400; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: start;
}

/* ---------- Principle grid ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 70px;
}

.grid-3 > div {
  background: var(--bg);
  padding: 48px 40px 56px;
}

.grid-3 .num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 26px;
}

.grid-3 h3 { margin-bottom: 16px; }

.grid-3 p { color: var(--text-dim); font-size: 15px; }

/* ---------- Light section (cream, for rhythm breaks) ---------- */

.section-light {
  background: var(--bg-raised);
}

.statement-lg {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.35;
  max-width: 20ch;
}

/* Numbered philosophy panels (light variant) */

.philo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-strong);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  margin-top: 64px;
}

.philo-grid > div { background: var(--bg-raised); padding: 42px 36px 52px; }

.philo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.philo-idx {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--text-dim);
}

.pill {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
  border-radius: 999px;
}

.philo-grid h3 { font-size: 21px; margin-bottom: 14px; }
.philo-grid p { font-size: 14.5px; line-height: 1.65; }

/* ---------- Raised CTA panel ---------- */

.cta-panel {
  border: 1px solid var(--line-strong);
  background: var(--bg-panel);
  padding: 66px 60px;
  max-width: 700px;
}

.cta-panel h2 {
  text-align: left;
  margin: 0 0 20px;
  max-width: none;
}

.cta-panel > p {
  color: var(--text-dim);
  max-width: 46ch;
  margin-bottom: 44px;
  font-size: 16px;
}

.btn-row { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 58px; }

.btn-outline {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  border: 1px solid var(--line-strong);
  padding: 18px 40px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover { border-color: var(--accent); color: var(--text); }

.cta-panel .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 46ch;
}

.quote-cap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.quote-cap::before { content: ""; width: 32px; height: 1px; background: var(--line-strong); }

/* ---------- Multi-column footer ---------- */

.foot-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}

.foot-brand p {
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.75;
  max-width: 36ch;
  margin-top: 18px;
}

.foot-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.foot-col a {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 13px;
  transition: color 0.25s ease;
}

.foot-col a:hover { color: var(--text); }

/* ---------- Serve list ---------- */

.serve-list {
  list-style: none;
  margin-top: 10px;
  border-top: 1px solid var(--line-strong);
}

.serve-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.serve-list li span {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- CTA ---------- */

.cta {
  text-align: center;
  padding: 150px 0;
}

.cta h2 { margin: 0 auto 44px; }

.btn {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  background: var(--tan);
  font-weight: 500;
  border: 1px solid var(--tan);
  padding: 18px 46px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  background: var(--tan-dark);
  border-color: var(--tan-dark);
  color: var(--cream);
}

/* ---------- Page header (interior pages) ---------- */

.page-head {
  padding: 210px 0 90px;
  border-bottom: 1px solid var(--line);
}

.page-head p {
  margin-top: 30px;
  max-width: 56ch;
  color: var(--text-dim);
  font-size: 17px;
}

/* ---------- Statement blocks (About) ---------- */

.statement {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.45;
  font-weight: 400;
  max-width: 30ch;
}

.tenets { margin-top: 20px; }

.tenet {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.tenet:first-child { border-top: 1px solid var(--line-strong); }

.tenet .roman {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 0.15em;
}

.tenet h3 { margin-bottom: 12px; }

.tenet p { color: var(--text-dim); font-size: 15.5px; max-width: 58ch; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 90px;
  align-items: start;
}

.contact-meta { border-top: 1px solid var(--line-strong); }

.contact-meta > div {
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
}

.contact-meta .k {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 8px;
}

.contact-meta a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 21px;
  transition: color 0.25s ease;
}

.contact-meta a:hover { color: var(--accent); }

form { display: grid; gap: 34px; }

.field { display: grid; gap: 10px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
}

input, textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 10px 2px 14px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

textarea { resize: vertical; min-height: 120px; }

form .btn {
  cursor: pointer;
  justify-self: start;
  font-family: var(--sans);
}

/* ---------- Legal pages ---------- */

.legal { padding: 90px 0 130px; }

.legal .prose { max-width: 70ch; }

.legal h3 {
  margin: 54px 0 16px;
  font-size: 21px;
}

.legal .updated {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 40px;
  display: block;
}

/* ---------- Private page ---------- */

.private-tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 8px 18px;
  margin-bottom: 36px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line-strong);
  margin-top: 10px;
}

.spec-table td {
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table td:first-child {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  width: 38%;
  padding-top: 30px;
}

.spec-table td:last-child {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--text);
}

.disclaimer-box {
  margin-top: 80px;
  border: 1px solid var(--line);
  padding: 36px 40px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--text-faint);
}

/* ---------- Footer ---------- */

footer {
  background: var(--navy);
  padding: 70px 0 60px;
  --text: #F6F3EA;
  --text-dim: #B4C3D6;
  --text-faint: #8FA1B8;
  --accent: #C5A880;
  --line: rgba(246, 243, 234, 0.14);
}

.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.foot-top .wordmark .name { font-size: 17px; }

.foot-links { display: flex; gap: 36px; }

.foot-links a {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.25s ease;
}

.foot-links a:hover { color: var(--text); }

.foot-legal {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.8;
  color: var(--text-faint);
  max-width: 90ch;
}

.foot-copy {
  margin-top: 26px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
  .wrap, .nav { padding: 0 24px; }
  section { padding: 90px 0; }
  .nav { height: 72px; }
  .nav-links { gap: 24px; }
  .nav-links a { font-size: 10.5px; letter-spacing: 0.16em; }
  .wordmark .name { font-size: 17px; }
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .grid-3, .philo-grid { grid-template-columns: 1fr; }
  .tenet { grid-template-columns: 1fr; gap: 10px; }
  .field-row { grid-template-columns: 1fr; }
  .page-head { padding: 160px 0 70px; }
  .serve-list li { font-size: 20px; flex-direction: column; gap: 6px; align-items: flex-start; }
  .foot-cols { grid-template-columns: 1fr; gap: 34px; }
  .cta-panel { padding: 46px 28px; }
}

@media (max-width: 560px) {
  .nav-links a:not(.nav-contact) { display: none; }
}
