@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #0f1f3d;           /* deep navy for headings */
  --text: #2a2d34;
  --muted: #767b85;
  --line: #e7e8ea;
  --line-strong: #cbcdd2;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --navy: #0f1f3d;
  --navy-soft: #16294d;
  --accent: #b08a2e;        /* gold accent (readable on white) */
  --accent-light: #c9a24b;  /* brighter gold on dark surfaces */
  --accent-ink: #8a6c22;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

p { margin: 0 0 1.2em; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.narrow { max-width: 760px; }

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

/* Header */
header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

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

nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, color 0.25s;
}

nav a:hover, nav a.active {
  color: var(--ink);
  border-color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 15px 34px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.25s;
}

.btn:hover { background: #000; }

.btn-ghost {
  display: inline-block;
  padding: 15px 0;
  margin-left: 28px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  transition: color 0.25s, border-color 0.25s;
}

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

/* Hero */
.hero {
  padding: 150px 32px 130px;
  background: var(--navy);
  border-bottom: 4px solid var(--accent);
}

.hero .container { max-width: 1080px; }

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

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 400;
  color: #ffffff;
  max-width: 14ch;
  margin-bottom: 0.4em;
}

.hero p {
  font-size: 1.15rem;
  color: #c2cad8;
  max-width: 52ch;
  margin-bottom: 2.4em;
}

.hero-cta { display: flex; align-items: center; flex-wrap: wrap; }

.hero .btn { background: var(--accent-light); color: var(--navy); font-weight: 600; }
.hero .btn:hover { background: #d9b35e; }

.hero .btn-ghost { color: #ffffff; border-color: rgba(255,255,255,0.5); }
.hero .btn-ghost:hover { color: var(--accent-light); border-color: var(--accent-light); }

/* Full-bleed image hero (Concept B) */
.hero-full {
  position: relative;
  padding: 200px 32px 90px;
  background:
    linear-gradient(180deg, rgba(10,23,48,0.55) 0%, rgba(10,23,48,0.82) 70%, rgba(10,23,48,0.94) 100%),
    url('https://upload.wikimedia.org/wikipedia/commons/9/94/Supreme_Court.jpg') center 30%/cover no-repeat;
  border-bottom: 4px solid var(--accent);
}

/* Overlay header (transparent, sits over hero on home) */
header.overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  z-index: 50;
}

header.overlay .logo { color: #fff; }
header.overlay .logo span { color: var(--accent-light); }
header.overlay nav a { color: #e7ebf2; }
header.overlay nav a:hover, header.overlay nav a.active { color: #fff; border-color: var(--accent-light); }

/* Page hero (subpages) — full-bleed navy to match home */
.page-hero {
  position: relative;
  padding: 190px 32px 80px;
  background:
    linear-gradient(180deg, rgba(10,23,48,0.62) 0%, rgba(10,23,48,0.86) 100%),
    url('https://upload.wikimedia.org/wikipedia/commons/9/94/Supreme_Court.jpg') center 28%/cover no-repeat;
  border-bottom: 4px solid var(--accent);
}

.page-hero .eyebrow { color: var(--accent-light); }

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  color: #ffffff;
}

.page-hero p { color: #c2cad8; max-width: 56ch; margin-bottom: 0; }

/* Sections */
section { padding: 110px 32px; }

.section-head {
  margin-bottom: 70px;
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 400;
}

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

/* Service cards (Concept B) */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15,31,61,0.1);
}

.service-card .ic {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-card .ic svg { width: 26px; height: 26px; stroke: var(--accent-light); }

.service-card h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: 0.5em; }
.service-card p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* Stat strip (borrowed from Concept A) */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 60px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.stat-strip .s {
  padding: 38px 24px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat-strip .s:first-child { border-left: none; }

.stat-strip strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-strip span {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

.bg-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Practice areas — editorial list with hairlines */
.practice-list {
  border-top: 1px solid var(--line);
}

.practice-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding-left 0.3s;
}

.practice-item:hover { padding-left: 12px; }

.practice-item .num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  color: var(--accent);
}

.practice-item h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.4em;
}

.practice-item p { color: var(--muted); margin: 0; max-width: 62ch; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 10px 30px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.stat:first-child { border-left: none; }

.stat strong {
  display: block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 12px;
}

.stat span {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split img {
  width: 100%;
  display: block;
  filter: grayscale(100%) contrast(1.05);
  border-radius: 2px;
}

.split h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); font-weight: 400; }
.split p { color: var(--muted); }

/* Team */
.grid-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.team-card {
  background: #fff;
  padding: 48px 36px;
  transition: background 0.25s;
}

.team-card:hover { background: var(--bg-soft); }

.team-initials {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.team-card h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: 4px; }

.team-card .role {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.team-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-info .office {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .office:first-child { padding-top: 0; }

.contact-info h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.contact-info p { color: var(--text); margin: 0; }
.contact-info a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.contact-info a:hover { border-color: var(--accent); }

form { display: grid; gap: 0; }

input, textarea {
  width: 100%;
  padding: 16px 2px;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
  color: var(--ink);
  transition: border-color 0.25s;
}

input::placeholder, textarea::placeholder { color: var(--muted); }

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

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

form .btn { margin-top: 28px; border: none; cursor: pointer; justify-self: start; }
form .btn:disabled { opacity: 0.6; cursor: default; }

.form-status { margin: 16px 0 0; font-size: 0.92rem; }
.form-status.success { color: #1a6b4a; }
.form-status.error { color: #a3392d; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 64px 32px 40px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}

.footer-inner .foot-logo {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  color: var(--ink);
}
.footer-inner .foot-logo span { color: var(--accent); }

.footer-col p { font-size: 0.9rem; color: var(--muted); margin: 0 0 6px; }
.footer-col a { color: var(--ink); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1080px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .navbar { flex-direction: column; gap: 14px; padding: 16px 24px; }
  nav ul { gap: 22px; flex-wrap: wrap; justify-content: center; }
  nav a::after, nav a { padding-bottom: 2px; }
  header.overlay { position: static; background: var(--navy); border-bottom: none; }
  .hero { padding: 70px 24px 60px; }
  section { padding: 64px 24px; }
  .stats, .split, .contact-wrap, .grid-team, .services, .stat-strip { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .split img { max-height: 320px; object-fit: cover; }
  .stat { border-left: none; border-top: 1px solid var(--line); padding: 28px; }
  .stat:first-child { border-top: none; }
  .stat-strip .s { border-left: none; border-top: 1px solid var(--line); }
  .stat-strip .s:first-child { border-top: none; }
  .practice-item { grid-template-columns: 1fr; gap: 8px; padding: 32px 0; }
  .practice-item:hover { padding-left: 0; }
  .service-card { padding: 32px 26px; }
  .team-card { padding: 36px 28px; }
  .section-head { margin-bottom: 44px; }

  /* full-bleed heroes: header is now static, so less top padding needed */
  .hero-full { padding: 60px 24px 56px; }
  .page-hero { padding: 60px 24px 52px; }
  .hero-cta { gap: 14px; }
  .btn, .hero .btn { width: 100%; text-align: center; }
  .btn-ghost { margin-left: 0; width: 100%; text-align: center; border-bottom: none; text-decoration: underline; text-underline-offset: 4px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 2.1rem; }
  .page-hero h1, .split h2, .section-head h2 { font-size: 1.7rem; }
  .stat-strip strong, .stat strong { font-size: 2.2rem; }
  .footer-inner { flex-direction: column; gap: 22px; }
}
