/* Reffett Associates: navy + brass identity */
:root {
  --navy: #13294b;
  --navy-deep: #0c1c35;
  --navy-soft: #1f3a63;
  --brass: #b08d57;
  --brass-light: #d8c29a;
  --ink: #1d2433;
  --muted: #5b6475;
  --paper: #ffffff;
  --cream: #f7f4ee;
  --line: #e4ded2;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--brass); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 700; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brass); margin: 0 0 .9em;
}
.rule { width: 56px; height: 3px; background: var(--brass); border: 0; margin: 0 0 1.4em; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.2rem; color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { text-decoration: none; display: block; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--navy); line-height: 1.1; display: block; }
.brand-tag { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); font-weight: 700; display: block; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass); }
.nav .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; background: var(--brass); color: #fff; text-decoration: none;
  font-weight: 700; padding: 13px 26px; border-radius: 4px; border: 2px solid var(--brass);
  font-size: 1rem; letter-spacing: .02em; cursor: pointer; font-family: var(--sans);
}
.btn:hover { background: #9a7a47; border-color: #9a7a47; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.nav .btn { padding: 9px 18px; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px;
  border: 1px solid rgba(176,141,87,.35); border-radius: 50%;
}
.hero::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 360px; height: 360px;
  border: 1px solid rgba(176,141,87,.25); border-radius: 50%;
}
.hero .wrap { padding-top: 96px; padding-bottom: 96px; position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 820px; }
.hero p { color: #d7deea; font-size: 1.2rem; max-width: 700px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.page-hero { background: var(--navy); color: #fff; }
.page-hero .wrap { padding-top: 64px; padding-bottom: 60px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #d7deea; font-size: 1.15rem; max-width: 720px; margin: 0; }

/* Credentials strip */
.creds { background: var(--navy-deep); color: #fff; border-top: 1px solid rgba(176,141,87,.4); }
.creds ul { list-style: none; margin: 0 auto; padding: 22px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: var(--max); }
.creds li { text-align: center; }
.creds strong { display: block; font-family: var(--serif); color: var(--brass-light); font-size: 1.15rem; }
.creds span { display:block; line-height:1.4; font-size: .85rem; color: #b9c3d4; letter-spacing: .04em; }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--cream); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.center.section-head { margin-left: auto; margin-right: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brass);
  padding: 28px 24px; border-radius: 4px; text-decoration: none; color: var(--ink); display: block;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(19,41,75,.10); color: var(--ink); }
.card h3 { margin-bottom: .4em; }
.card p { font-size: .97rem; color: var(--muted); margin: 0; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--brass); font-size: .92rem; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-list li:first-child { padding-top: 0; }
.feature-list strong { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.08rem; margin-bottom: 4px; }
.feature-list span { color: var(--muted); font-size: .98rem; }

.quote-panel { background: var(--navy); color: #fff; padding: 40px 36px; border-radius: 4px; }
.quote-panel h3 { color: #fff; }
.quote-panel p { color: #d7deea; }
.quote-panel .big { font-family: var(--serif); font-size: 3rem; color: var(--brass-light); line-height: 1; margin-bottom: 8px; }

/* Clients */
.client-cols { columns: 3; column-gap: 40px; list-style: none; padding: 0; margin: 0; }
.client-cols li { break-inside: avoid; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li {
  counter-increment: step; position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 4px; padding: 24px 24px 22px 84px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 24px; top: 22px; width: 40px; height: 40px;
  border-radius: 50%; background: var(--navy); color: var(--brass-light); font-family: var(--serif);
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.person .info { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.person h3 { font-size: 1.08rem; margin-bottom: 2px; }
.person .role { color: var(--brass); font-weight: 700; font-size: .88rem; }
.person .loc { color: var(--muted); font-size: .88rem; margin-bottom: 10px; }
.person details { margin-top: auto; }
.person summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: .92rem; list-style: none; }
.person summary::-webkit-details-marker { display: none; }
.person summary::after { content: " +"; color: var(--brass); }
.person details[open] summary::after { content: " \2212"; }
.person details p { font-size: .92rem; color: var(--muted); margin: 10px 0 0; }

/* News */
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-list time { color: var(--brass); font-weight: 700; font-size: .92rem; }
.news-list h3 { margin: 0; font-size: 1.12rem; }

/* Contact */
.form { display: grid; gap: 16px; }
.form label { font-weight: 700; font-size: .92rem; color: var(--navy); display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cfc7b8;
  border-radius: 4px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brass); border-color: var(--brass); }
.form textarea { min-height: 150px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hidden { display: none; }
.contact-box { background: var(--cream); border: 1px solid var(--line); border-radius: 4px; padding: 30px; }
.contact-box h3 { margin-top: 0; }
.contact-box p { margin-bottom: .7em; }
.offices { list-style: none; padding: 0; margin: 0; }
.offices li { padding: 10px 0; border-top: 1px solid var(--line); }

/* CTA band */
.cta { background: var(--navy); color: #fff; text-align: center; }
.cta .wrap { padding-top: 72px; padding-bottom: 72px; }
.cta h2 { color: #fff; }
.cta p { color: #d7deea; max-width: 640px; margin: 0 auto 28px; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9c3d4; font-size: .95rem; }
.site-footer .wrap { padding-top: 56px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-family: var(--serif); font-size: 1rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: #b9c3d4; text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.footer-brand .brand-name { color: #fff; }
.vosb { width: 88px; margin-top: 16px; background: #fff; border-radius: 50%; padding: 4px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

/* Responsive */
@media (max-width: 1020px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(0,0,0,.06);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; text-align: center; border-bottom: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 32px; }
  .creds ul { grid-template-columns: 1fr 1fr; }
  .client-cols { columns: 2; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  .grid-5 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .client-cols { columns: 1; }
  .news-list li { grid-template-columns: 1fr; gap: 4px; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.3rem; }
  .steps li { padding-left: 72px; }
  .steps li::before { left: 18px; }
}
@media (max-width: 380px) {
  .team-grid { grid-template-columns: 1fr; }
}
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: 1fr; } }
/* Team cards as links + bio pages */
a.person { text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
a.person:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(19,41,75,.10); color: var(--ink); }
.person .more { margin-top: auto; font-weight: 700; color: var(--brass); font-size: .92rem; }
.bio-layout { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; }
.bio-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; border-bottom: 4px solid var(--brass); }
.bio-text p { font-size: 1.05rem; }
.team-links a { text-decoration: none; }
@media (max-width: 760px) {
  .bio-layout { grid-template-columns: 1fr; gap: 28px; }
  .bio-photo { max-width: 260px; }
}
/* News */
.news-list li > div { min-width: 0; }
.news-list h3 a { text-decoration: none; color: var(--navy); }
.news-list h3 a:hover { color: var(--brass); }
.news-list p { margin: 6px 0 8px; color: var(--muted); font-size: .98rem; }
.news-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: .9rem; }
.news-meta .more { font-weight: 700; color: var(--brass); text-decoration: none; }
.news-tag { background: var(--cream); border: 1px solid var(--line); border-radius: 3px; padding: 1px 8px; color: var(--navy); font-size: .8rem; font-weight: 600; }
.article { max-width: 780px; }
.article p { font-size: 1.07rem; }
.article h2 { font-size: 1.4rem; margin-top: 1.6em; }
.article blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brass); font-family: var(--serif); font-size: 1.08rem; color: var(--navy); }
.article-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); max-width: 900px; }
.article-practice { color: var(--muted); font-size: .95rem; }

.news-list.no-dates li { grid-template-columns: 1fr; }
/* Process step cards and step pages */
.step-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: none; }
.step-cards a { display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 24px; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.step-cards a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(19,41,75,.10); color: var(--ink); }
.step-num { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--brass-light); font-family: var(--serif); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.step-cards h3 { margin-bottom: .25em; }
.step-cards p { margin: 0 0 8px; color: var(--muted); font-size: .98rem; }
.step-cards .more { font-weight: 700; color: var(--brass); font-size: .92rem; }
.step-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.step-layout .article { max-width: none; }
.step-timing { background: var(--cream); border-left: 3px solid var(--brass); padding: 10px 16px; font-size: .98rem; }
.deliverables { margin: 0; padding-left: 20px; }
.deliverables li { margin-bottom: 8px; font-size: .97rem; }
.step-nav { margin-top: 24px; }
.step-nav h3 { font-size: 1.05rem; }
.step-nav ol { list-style: none; padding: 0; margin: 0; }
.step-nav a { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .95rem; }
.step-nav a span { color: var(--brass); font-weight: 700; min-width: 16px; }
.step-nav a[aria-current] { color: var(--navy); font-weight: 700; }
.step-pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.step-pager a { font-weight: 700; color: var(--navy); text-decoration: none; }
.step-pager a:hover { color: var(--brass); }
.step-next { margin-left: auto; text-align: right; }
@media (max-width: 860px) { .step-layout { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 600px) { .step-cards a { padding: 18px; gap: 14px; } .step-num { flex-basis: 36px; height: 36px; } }
