/* ============================================================
   Choptank Capital — styles.css
   Palette: Navy #0F2D52 · Blue #1A4A82 · Slate #4A6FA5
            Mist #D4DCE8 · Offwhite #F7F8FA · White #FFFFFF
   Type: Georgia (display) · system-ui (body)
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Base ── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography scale ── */
.display {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.serif { font-family: Georgia, 'Times New Roman', serif; }

h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; }

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  color: #0f2d52;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.3;
  color: #0f2d52;
  letter-spacing: 0;
}

p { color: #3a4a5c; font-size: 1rem; line-height: 1.75; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8edf4;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-shield {
  flex-shrink: 0;
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-wordmark-top {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: #0f2d52;
  line-height: 1;
}

.nav-wordmark-sub {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 7px;
  letter-spacing: 0.44em;
  color: #4a6fa5;
  line-height: 1;
}

/* ── Hero ── */
#hero {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0f2d52;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #0a1f3a 0%, #0f2d52 50%, #1a4a82 100%);
}

/* Subtle geometric texture — two faint hex outlines */
.hero-bg::before {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.04);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10rem 2rem 6rem;
}

.hero-eyebrow {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #7aaad4;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 2rem;
  max-width: 800px;
}

.hero-headline em {
  font-style: normal;
  color: #7aaad4;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3rem;
  font-weight: 300;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn-primary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

/* ── About ── */
#about {
  background: #f7f8fa;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: #4a6fa5;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.about-left h2 { margin-bottom: 1.5rem; }

.about-left p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #3a4a5c;
  margin-bottom: 1.25rem;
}

.about-right {
  padding-top: 0.5rem;
}

.about-pillar {
  padding: 1.5rem 0;
  border-top: 1px solid #d4dce8;
}

.about-pillar:last-child { border-bottom: 1px solid #d4dce8; }

.about-pillar h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #0f2d52;
}

.about-pillar p {
  font-size: 0.9375rem;
  color: #5a6a7a;
  line-height: 1.65;
}

/* ── Focus ── */
#focus {
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .about-label { display: block; margin-bottom: 1rem; }

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: #d4dce8;
  border: 1.5px solid #d4dce8;
}

.focus-card {
  background: #ffffff;
  padding: 2.75rem 2.25rem;
}

.focus-card-icon {
  width: 36px;
  height: 2px;
  background: #0f2d52;
  margin-bottom: 2rem;
}

.focus-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.75rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.focus-card p {
  font-size: 0.9375rem;
  color: #5a6a7a;
  line-height: 1.7;
}

/* ── Philosophy ── */
#philosophy {
  background: #0f2d52;
}

.philosophy-label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: #7aaad4;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: block;
}

#philosophy h2 { color: #ffffff; margin-bottom: 4rem; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 5rem;
}

.principle {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.75rem;
}

.principle-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.75rem;
  color: #4a6fa5;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
}

.principle h3 {
  color: #ffffff;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.principle p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ── Closing ── */
#closing {
  background: #f7f8fa;
  padding: 7rem 0;
  text-align: center;
}

.closing-rule {
  width: 40px;
  height: 1px;
  background: #0f2d52;
  margin: 0 auto 3rem;
}

.closing-statement {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: #0f2d52;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* ── Footer ── */
footer {
  background: #0a1f3a;
  padding: 2.5rem 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
}

.footer-name {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.2);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .focus-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  section { padding: 4rem 0; }
  .hero-content { padding: 8rem 1.5rem 5rem; }
  .container { padding: 0 1.5rem; }
  .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
  .nav-wordmark-top { font-size: 12px; }
}

/* ── Accessibility ── */
:focus-visible {
  outline: 2px solid #4a6fa5;
  outline-offset: 3px;
}

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