/* ---------- Halden & Pierce LLP — shared styles ---------- */
:root {
  --ink: #0f1d2e;
  --ink-2: #1a2a3f;
  --ink-soft: #3b4a60;
  --cream: #f4ede2;
  --cream-2: #ebe1cf;
  --paper: #fbf8f2;
  --brass: #b08d3e;
  --brass-dark: #8a6c27;
  --line: rgba(15, 29, 46, 0.14);
  --line-light: rgba(15, 29, 46, 0.08);

  --serif: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --max: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
p  { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--brass);
}
.eyebrow.no-rule::before { display: none; }
.eyebrow.on-dark { color: #d9b878; }
.eyebrow.on-dark::before { background: #d9b878; }

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

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #cdd6e2;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  height: 38px;
  gap: 24px;
}
.topbar a { color: #cdd6e2; }
.topbar a:hover { color: #fff; }
.topbar .left, .topbar .right { display: flex; gap: 22px; align-items: center; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass); }

/* ---------- Header / Nav ---------- */
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line-light);
  position: sticky; top: 0; z-index: 50;
}
header.site .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 86px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 20px; font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 3px;
  border: 1px solid rgba(244, 237, 226, 0.35);
  border-radius: 50%;
}
.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand-name small {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
  font-weight: 600;
}
nav.primary { display: flex; gap: 36px; align-items: center; }
nav.primary a {
  font-size: 14px; font-weight: 500;
  color: var(--ink); position: relative;
  padding: 6px 0;
}
nav.primary a.active::after,
nav.primary a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--brass);
}
.nav-cta {
  background: var(--ink); color: var(--cream);
  padding: 12px 22px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .2s;
}
.nav-cta:hover { background: var(--brass-dark); color: #fff; }
.nav-cta svg { width: 14px; height: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; border: none;
  transition: all .2s ease;
}
.btn.primary { background: var(--brass); color: #fff; }
.btn.primary:hover { background: var(--brass-dark); }
.btn.dark { background: var(--ink); color: var(--cream); }
.btn.dark:hover { background: #000; color: #fff; }
.btn.ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--cream); }
.btn.ghost-light {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(244, 237, 226, 0.4);
}
.btn.ghost-light:hover { background: var(--cream); color: var(--ink); }
.btn svg { width: 14px; height: 14px; }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
section.tight { padding: 80px 0; }

.section-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head .lead { color: var(--ink-soft); font-size: 17px; line-height: 1.65; max-width: 56ch; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--ink);
  color: #c8d0dc;
  padding: 90px 0 30px;
}
footer.site h4 {
  font-family: var(--sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #d9b878; margin-bottom: 22px;
}
footer.site .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
}
footer.site .brand-name { color: var(--cream); }
footer.site .brand-name small { color: #8e9bb0; }
footer.site .mission {
  font-family: var(--serif);
  font-size: 22px; line-height: 1.35;
  color: var(--cream);
  margin-top: 28px;
  max-width: 32ch;
}
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 12px; font-size: 14px; }
footer.site a:hover { color: #fff; }
footer.site .bottom {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between;
  font-size: 12px; color: #8e9bb0;
  letter-spacing: 0.04em;
}
@media (max-width: 880px) {
  footer.site .grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Generic page hero ---------- */
.page-hero {
  background: var(--ink);
  color: var(--cream);
  padding: 130px 0 110px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--cream); }
.page-hero .lead {
  margin-top: 28px;
  color: #cdd6e2;
  font-size: 18px; line-height: 1.6;
  max-width: 58ch;
}
.page-hero .crumbs {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #8e9bb0; margin-bottom: 26px;
}
.page-hero .crumbs span { color: #d9b878; }
.page-hero .ornament {
  position: absolute; right: -120px; top: -80px;
  width: 520px; height: 520px;
  border: 1px solid rgba(217, 184, 120, 0.18);
  border-radius: 50%;
}
.page-hero .ornament::after {
  content: ""; position: absolute; inset: 60px;
  border: 1px solid rgba(217, 184, 120, 0.12);
  border-radius: 50%;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mt-6 { margin-top: 64px; }
.text-soft { color: var(--ink-soft); }
.divider { height: 1px; background: var(--line); width: 100%; }

/* image card */
.image-card {
  position: relative; overflow: hidden;
  background: var(--cream-2);
}
.image-card img { width: 100%; height: 100%; object-fit: cover; }

/* tag */
.tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: rgba(255,255,255,0.6);
}
