/* ============================================================
   PREVOST FIRM — Retained General Counsel
   Design tokens derived from existing brand collateral:
   navy #1d3557, hairline gray #d9d9d9, Jost + EB Garamond
   ============================================================ */

:root {
  --navy: #1d3557;
  --navy-deep: #101d30;
  --navy-mid: #2a4160;
  --ink: #1a1a18;
  --paper: #faf9f6;
  --paper-dim: #f1efe9;
  --hairline: #d9d9d9;
  --hairline-dark: rgba(255,255,255,0.14);
  --brass: #a8842f;
  --brass-light: #cba25a;
  --brass-pale: #e8dcc0;

  --sans: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;

  --max-w: 1180px;
  --edge: clamp(24px, 6vw, 96px);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

h1, h2, h3, h4, .sans {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--navy);
}

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.serif-lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

button, .btn {
  font-family: var(--sans);
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ---------- layout helpers ---------- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

section { position: relative; }

.has-js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
  transition: background 0.3s ease;
}

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

.logo-lockup {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-full {
  height: 68px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--sans);
  font-size: 15px;
}
.nav-links a {
  text-decoration: none;
  color: var(--navy-mid);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--brass);
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-cta:hover { background: var(--navy); color: var(--paper); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 28px; height: 20px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span { top: 9px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 208px var(--edge) 96px;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(29,53,87,0.06), transparent 60%),
    var(--paper);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  max-width: 15ch;
  margin-top: 18px;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--brass);
}
.hero-lede {
  font-size: clamp(18px, 2vw, 22px);
  max-width: 56ch;
  margin-top: 26px;
  color: #3a3a36;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--paper);
  border: 1px solid var(--navy);
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-text {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
}

/* ---------- journey / signature element ---------- */
.journey {
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid var(--hairline);
}
.journey-label {
  margin-bottom: 40px;
}
.journey-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.journey-track::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 5.5%;
  right: 5.5%;
  height: 1px;
  background: linear-gradient(to right, var(--hairline), var(--brass) 50%, var(--hairline));
}
.journey-step {
  position: relative;
  padding-top: 40px;
}
.journey-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--brass);
}
.journey-years {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--brass);
  text-transform: uppercase;
}
.journey-step h3 {
  font-size: 21px;
  margin-top: 8px;
}
.journey-step p {
  margin-top: 10px;
  font-size: 15.5px;
  color: #4a4a44;
  max-width: 30ch;
}
.journey-outcome {
  margin-top: 44px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--navy);
  max-width: 62ch;
}

@media (max-width: 760px) {
  .journey-track { grid-template-columns: 1fr; gap: 32px; }
  .journey-track::before { display: none; }
}

/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */
.section-head { max-width: 62ch; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-top: 14px;
  line-height: 1.15;
}
.section-head p {
  margin-top: 18px;
  font-size: 18px;
  color: #46463f;
}

/* ============================================================
   VALUE / CASE FOR RETAINED GC
   ============================================================ */
.value-section {
  background: var(--navy);
  color: var(--paper-dim);
  padding: 110px var(--edge);
}
.value-section .eyebrow { color: var(--brass-light); }
.value-section .section-head h2 { color: var(--paper); }
.value-section .section-head p { color: #c7d0dd; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline-dark);
  border: 1px solid var(--hairline-dark);
}
.value-card {
  background: var(--navy);
  padding: 40px 34px;
}
.value-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--brass-light);
}
.value-card h3 {
  color: var(--paper);
  font-size: 21px;
  margin-top: 18px;
  line-height: 1.3;
}
.value-card p {
  margin-top: 14px;
  font-size: 15.5px;
  color: #c7d0dd;
}

@media (max-width: 860px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 110px var(--edge);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 60px;
}
.services-list {
  list-style: none;
  margin: 0; padding: 0;
}
.services-list li {
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 17px;
}
.services-list li:first-child { border-top: 1px solid var(--hairline); }
.services-list .mark {
  color: var(--brass);
  font-family: var(--serif);
  font-style: italic;
}
.services-aside {
  padding-left: 20px;
  border-left: 1px solid var(--hairline);
}
.services-aside blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 23px;
  color: var(--navy);
  line-height: 1.4;
}
.services-aside cite {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
}

@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-aside { border-left: none; border-top: 1px solid var(--hairline); padding-left: 0; padding-top: 32px; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 110px var(--edge);
  background: var(--paper-dim);
}
.about-grid {
  display: grid;
  grid-template-columns: 250px 1fr 0.85fr;
  gap: 56px;
  align-items: start;
}
.about-photo img {
  width: 100%;
  display: block;
  border: 1px solid var(--hairline);
  box-shadow: 0 18px 40px -20px rgba(29,53,87,0.35);
}
.about-photo {
  position: relative;
}
.about-photo::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px;
  width: 100%; height: 100%;
  border: 1px solid var(--brass);
  z-index: -1;
}
.about-body p { margin: 0 0 20px; font-size: 18px; color: #333330; }
.about-body p:last-child { margin-bottom: 0; }

.credentials h4 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}
.credentials ul {
  list-style: none;
  margin: 0 0 32px; padding: 0;
}
.credentials li {
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
  font-size: 15.5px;
}
.credentials li:last-child { border-bottom: 1px solid var(--hairline); }
.credentials-note {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 15.5px;
  font-style: italic;
  line-height: 1.55;
  color: #4a4a44;
}
.credentials-note em {
  font-style: italic;
  color: var(--navy-mid);
}
.credentials .role { font-family: var(--sans); font-weight: 500; color: var(--navy); display: block; }
.credentials .org { color: #55554f; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 280px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 110px var(--edge) 90px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.contact-info .item {
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
}
.contact-info .item:last-child { border-bottom: 1px solid var(--hairline); }
.contact-info .label {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.contact-info .value {
  margin-top: 6px;
  font-size: 19px;
  color: var(--navy);
  text-decoration: none;
  display: inline-block;
}
.contact-info a.value:hover { color: var(--brass); }

form.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--navy-mid);
}
.field input, .field textarea {
  font-family: var(--serif);
  font-size: 17px;
  padding: 12px 4px;
  border: none;
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom: 1px solid var(--brass);
}
.form-note {
  font-family: var(--sans);
  font-size: 13px;
  color: #6b6b63;
  margin-top: -6px;
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-deep);
  color: #9aa7ba;
  padding: 48px var(--edge) 36px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner .logo-full { filter: brightness(0) invert(1); opacity: 0.95; height: 52px; }
.footer-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
  font-family: var(--sans);
  font-size: 14px;
}
.footer-links a { text-decoration: none; color: #9aa7ba; }
.footer-links a:hover { color: var(--paper); }
.footer-fine {
  font-family: var(--sans);
  font-size: 12.5px;
  color: #6c7a8f;
  margin-top: 28px;
  border-top: 1px solid var(--hairline-dark);
  padding-top: 20px;
}

/* ============================================================
   RESPONSIVE NAV
   ============================================================ */
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  header.site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--hairline);
  }
  header.site-header.open .nav-links a {
    padding: 16px var(--edge);
    width: 100%;
  }
  header.site-header.open .nav-cta {
    display: block;
    margin: 16px var(--edge) 20px;
    text-align: center;
    position: absolute;
    top: 100%;
    background: var(--paper);
  }
}
