/* Law Offices of Stephen M. Magro */

:root {
  --navy: #142a47;
  --navy-deep: #0d1d33;
  --ink: #222222;
  --muted: #5a6270;
  --line: #e3e6eb;
  --wash: #f2f4f7;
  --maxw: 1060px;
  --serif: "Bitter", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 1rem;
}

p { margin: 0 0 1.1rem; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.4;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}

.site-nav a {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover { text-decoration: underline; }
.site-nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}

/* Hero */

.hero {
  background: var(--navy-deep) url("assets/hero-pattern.jpg") center / cover no-repeat;
  color: #fff;
}

.hero .wrap {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero--short .wrap {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-kicker {
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9d4e5;
  margin: 0 0 0.75rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 16em;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 42em;
  color: #dbe3f0;
  margin-bottom: 1.5rem;
}

.hero .phone-link {
  font-family: var(--sans);
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  padding-bottom: 2px;
}

/* Sections */

.section { padding: 3.5rem 0; }

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

.section .lede { max-width: 62em; }

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

/* Practice list */

.practice-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.1rem 3rem;
  max-width: 62em;
}

.practice-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  color: var(--navy);
}

/* Attorney teaser */

.split {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.split img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact blocks */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.contact-grid h3 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact-grid p {
  font-family: var(--sans);
  margin: 0;
}

.contact-grid .big {
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: #c9d4e5;
  font-size: 0.92rem;
}

.site-footer .wrap {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.site-footer nav a {
  font-family: var(--sans);
  color: #fff;
  text-decoration: none;
}

.site-footer nav a:hover { text-decoration: underline; }

.site-footer p { margin: 0 0 0.6rem; max-width: 60em; }
.site-footer p:last-child { margin-bottom: 0; }

.site-footer a[href^="tel:"] {
  color: #fff;
  text-decoration: none;
}

/* Mobile */

@media (max-width: 700px) {
  body { font-size: 16px; }

  .site-header .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .site-nav { gap: 1.25rem; }

  .hero .wrap {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .section { padding: 2.5rem 0; }

  .practice-list { grid-template-columns: 1fr; }

  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .split img { max-width: 240px; }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
