/* Cory Rudnick Law — site styles */

:root {
  --navy: #0f2540;
  --navy-dark: #0a1a2e;
  --gold: #c9a45c;
  --gold-light: #e3c98f;
  --ink: #1f2933;
  --muted: #5b6b7c;
  --paper: #f7f5f0;
  --white: #ffffff;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", "Segoe UI", -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
}

a { color: var(--navy); }

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

/* Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 6px rgba(0,0,0,.25);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: .02em;
}

.brand span { color: var(--gold-light); }

.site-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  color: #d8e0ea;
  text-decoration: none;
  font-size: .95rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-light); }

.site-nav .cta {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 8px 18px;
  border-radius: 3px;
  font-weight: 600;
}

.site-nav .cta:hover { background: var(--gold-light); color: var(--navy-dark); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 60%, #1b3a5e 100%);
  color: var(--white);
  padding: 88px 0 96px;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  max-width: 820px;
  margin: 0 auto 18px;
}

.hero h1 em { color: var(--gold-light); font-style: normal; }

.hero p.lede {
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 1.15rem;
  color: #cfd9e4;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 3px;
  letter-spacing: .03em;
}

.btn:hover { background: var(--gold-light); }

.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.5);
  margin-left: 12px;
}

.btn.ghost:hover { border-color: var(--gold-light); color: var(--gold-light); background: transparent; }

/* Sections */
section { padding: 72px 0; }

section.alt { background: var(--paper); }

.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }

.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }

.section-head p { color: var(--muted); }

.kicker {
  display: block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

/* Practice area cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid #e3e0d8;
  border-top: 3px solid var(--gold);
  padding: 30px 26px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.card h3 { font-size: 1.25rem; margin-bottom: 10px; }

.card p { color: var(--muted); font-size: .97rem; flex: 1; }

.card a.more {
  margin-top: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  font-size: .95rem;
}

.card a.more:hover { color: var(--gold); }

/* Two-column feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }

.split p { margin-bottom: 14px; }

.split ul { margin: 14px 0 14px 20px; }

.split li { margin-bottom: 8px; }

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

/* Checklist */
ul.checks { list-style: none; margin: 18px 0 0; }

ul.checks li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}

ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Practice page layout */
.page-hero {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 60px 0;
}

.page-hero h1 { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 10px; }

.page-hero p { color: #cfd9e4; max-width: 640px; font-size: 1.1rem; }

.content { max-width: 760px; }

.content h2 { font-size: 1.5rem; margin: 36px 0 14px; }

.content h3 { font-size: 1.15rem; margin: 26px 0 10px; }

[id] { scroll-margin-top: 96px; }

.content p { margin-bottom: 16px; }

.content ul { margin: 0 0 16px 22px; }

.content li { margin-bottom: 8px; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }

.cta-band p { color: #cfd9e4; margin-bottom: 28px; }

/* Contact */
.form-embed {
  background: var(--white);
  border: 1px solid #e3e0d8;
  border-radius: 4px;
  padding: 32px;
  margin-top: 24px;
}

.contact-info { margin-top: 32px; color: var(--muted); }

.contact-info strong { color: var(--ink); }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: #9fb0c2;
  padding: 48px 0 32px;
  font-size: .9rem;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 12px; }

.site-footer a { color: #9fb0c2; text-decoration: none; display: block; margin-bottom: 8px; }

.site-footer a:hover { color: var(--gold-light); }

.disclaimer {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  margin-top: 8px;
  font-size: .8rem;
  color: #6d7f92;
}

@media (max-width: 700px) {
  .site-footer .wrap { grid-template-columns: 1fr; gap: 24px; }
  .btn.ghost { margin-left: 0; margin-top: 12px; }
}
