/* Vant Law PLLC — black, silver, and white */

@font-face { font-family: "EB Garamond"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("/assets/fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/fonts/eb-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #0d0d0e;          /* black */
  --charcoal: #1b1c1e;     /* body text */
  --graphite: #2a2c30;
  --muted: #4b4f55;        /* secondary text, 8:1 on white */
  --silver: #c3c7cc;       /* silver on black */
  --silver-light: #e4e6e9;
  --silver-deep: #8d939a;  /* decorative rules only */
  --mist: #f4f5f6;         /* alternate section background */
  --rule: #d6d9dd;
  --white: #ffffff;
  --focus: #6b7280;

  --serif: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.4rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 44rem; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--white); color: var(--ink); padding: 0.6rem 1rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--ink);
  color: var(--silver-light);
  border-bottom: 1px solid #3a3d42;
  box-shadow: inset 0 -1px 0 rgba(195, 199, 204, 0.35);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 0.5rem 2rem; min-height: 4.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.brand { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; }
.brand img { max-height: 2.75rem; width: auto; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.65rem; letter-spacing: 0.02em; line-height: 1; }
.wordmark-pllc { color: var(--silver); font-weight: 500; font-size: 0.72em; letter-spacing: 0.14em; margin-left: 0.15em; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.6rem; }
.site-nav a {
  color: var(--silver-light); text-decoration: none; font-size: 1rem; font-weight: 600;
  letter-spacing: 0.02em; display: inline-block; padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--white); border-bottom-color: var(--silver-deep); }
.site-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--silver); }
.site-header :focus-visible { outline-color: var(--silver); }

.nav-toggle {
  display: none; align-items: center; gap: 0.6rem;
  background: transparent; color: var(--white); border: 1px solid #5a5e64; border-radius: 3px;
  font: 600 1rem var(--sans); padding: 0.5rem 0.85rem; cursor: pointer; min-height: 44px;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

@media (max-width: 52rem) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0.25rem 0 0.5rem; }
  .site-nav li { border-top: 1px solid #2c2f33; }
  .site-nav a { display: block; padding: 0.8rem 0; border-bottom: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--silver); padding-left: 0.85rem; }
}

/* ---------- Hero / page heads ---------- */
.hero, .page-head {
  background: radial-gradient(120% 140% at 85% 0%, #2a2c30 0%, #141516 45%, var(--ink) 100%);
  color: var(--silver-light);
}
.hero { padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero h1, .page-head h1 { color: var(--white); max-width: 22ch; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
.hero-sub { font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 40rem; color: var(--silver-light); margin-bottom: 2rem; }
.hero-rule, .page-head-rule {
  width: 4.5rem; height: 2px; margin: 0 0 1.75rem; border: 0;
  background: linear-gradient(90deg, #f1f2f4, var(--silver-deep));
}
.page-head { padding: clamp(2.75rem, 7vw, 4.5rem) 0; }
.page-head h1 { margin-bottom: 0; }

.buttons { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0.75rem 1.5rem; border-radius: 3px; font-weight: 600; font-size: 1.05rem;
  text-decoration: none; letter-spacing: 0.01em; border: 1px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-silver { background: linear-gradient(180deg, #eef0f2, #c9cdd2); color: var(--ink); border-color: #d9dce0; }
.btn-silver:hover { background: var(--white); }
.btn-outline { color: var(--white); border-color: var(--silver); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--graphite); }
.hero :focus-visible, .cta-band :focus-visible { outline-color: var(--silver); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-alt { background: var(--mist); border-top: 1px solid #e8eaec; border-bottom: 1px solid #e8eaec; }
.section h2::before, .lead-h2::before {
  content: ""; display: block; width: 3rem; height: 2px; margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--ink), var(--silver-deep));
}
.section-tight { padding-top: 0; }
.stack > * + * { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 46rem) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--ink);
  padding: 1.75rem 1.6rem; display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { flex: 1; }
.card .more { margin-top: 1.25rem; }
.feature h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.feature { border-top: 1px solid var(--silver-deep); padding-top: 1.1rem; }

.more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4em; }
.more::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform 0.15s; }
.more:hover { text-decoration: underline; }
.more:hover::after { transform: translateX(3px); }

.lead { font-size: 1.2rem; }

/* Bulleted lists with a silver marker */
.list { list-style: none; padding: 0; margin: 0 0 1.1em; }
.list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.65rem; }
.list li::before {
  content: ""; position: absolute; left: 0; top: 0.68em; width: 0.55rem; height: 0.55rem;
  background: linear-gradient(135deg, #e9ebee, var(--silver-deep)); border: 1px solid #7d838a;
  transform: rotate(45deg);
}

/* Numbered steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 46rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--white); border: 1px solid var(--rule); padding: 1.4rem 1.4rem 1.5rem; }

.callout {
  border-left: 3px solid var(--ink); background: var(--mist); padding: 1.4rem 1.6rem; margin: 0;
}
.callout h2 { font-size: 1.5rem; }
.callout h2::before { display: none; }

.faq h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.faq > div + div { margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); }

/* Founder / bio */
.founder { display: grid; gap: 1.75rem; align-items: start; }
.founder-photo img { border: 1px solid var(--rule); background: var(--mist); }
.founder-photo a { display: inline-block; }
.founder-photo a:hover img { border-color: var(--silver-deep); }
@media (min-width: 46rem) {
  .founder { grid-template-columns: 200px 1fr; gap: 2.5rem; }
  .bio { grid-template-columns: minmax(0, 318px) 1fr; gap: 3rem; }
}
.home-photo img { width: 200px; }
.bio-photo img { width: 100%; max-width: 318px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--silver-light); padding: clamp(2.75rem, 6vw, 4rem) 0; }
.cta-band p { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.35; color: var(--white); max-width: 42rem; margin: 0; }
.cta-band a { color: var(--white); text-decoration-color: var(--silver); white-space: nowrap; }
.cta-band a:hover { text-decoration-color: var(--white); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .contact-grid { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 4rem; } }
.contact-details dl { margin: 0; }
.contact-details dt { font-weight: 600; color: var(--muted); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-details dd { margin: 0.15rem 0 1.4rem; font-size: 1.15rem; }
.notice { background: var(--mist); border-left: 3px solid var(--ink); padding: 1rem 1.25rem; margin: 0 0 1.75rem; }

.form { display: grid; gap: 1.25rem; max-width: 40rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; color: var(--ink); }
.req { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--charcoal); background: var(--white); width: 100%;
  border: 1px solid #8d939a; border-radius: 3px; padding: 0.65rem 0.8rem; min-height: 48px;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink);
}
@media (min-width: 40rem) { .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form button { justify-self: start; border: 0; cursor: pointer; font-family: var(--sans); }
.form button[disabled] { opacity: 0.6; cursor: progress; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: #8b1a1a; border-left: 3px solid #8b1a1a; padding-left: 0.9rem; }
.form-success { border-left: 3px solid var(--ink); background: var(--mist); padding: 1.25rem 1.5rem; font-size: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--silver); padding: 2.5rem 0 2.75rem; font-size: 0.98rem; border-top: 1px solid #3a3d42; }
.site-footer a { color: var(--silver-light); }
.site-footer a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--silver); }
.footer-info { font-style: normal; display: flex; flex-direction: column; gap: 0.3rem; }
.footer-info span:first-child { font-family: var(--serif); font-size: 1.25rem; color: var(--white); font-weight: 600; }
@media (min-width: 52rem) {
  .footer-info { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0; }
  .footer-info span + span::before { content: "|"; color: #6c7178; margin: 0 0.8rem; }
  .footer-info span:first-child { font-size: 1.1rem; }
}
.footer-links { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { display: inline-block; padding: 0.35rem 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .site-header nav, .nav-toggle, .cta-band, .skip-link { display: none !important; }
  .hero, .page-head, .site-footer { background: none; color: #000; }
  .hero h1, .page-head h1 { color: #000; }
}
