/* ============================================================
   Rider chrome — northcountymotorcycleaccident.com
   Law Office of Angelo Reyes, APC — personal injury, North County
   Brushed nickel · saddle tan · cream · condensed sans.
   Static, no frameworks, system fonts only, zero JS dependencies.
   ============================================================ */

:root {
  /* Cream ground */
  --cream-50:  #FDFAF2;
  --cream-100: #FBF7EC;
  --cream-200: #F2EDE1;
  --cream-300: #E5DECA;
  --hairline:  #D8CFB9;

  /* Brushed nickel */
  --nickel-100: #E2E5E9;
  --nickel-200: #CBD0D7;
  --nickel-300: #A9AFB7;
  --nickel-400: #8B929B;
  --nickel-500: #5A616A;
  --nickel-600: #484E56;
  --nickel-700: #2E3338;
  --nickel-800: #22252A;
  --hairline-nickel: #C7CBD1;

  /* Saddle tan leather */
  --saddle-100: #C99A62;
  --saddle-200: #B07A3E;
  --saddle-300: #8A5A2B;
  --saddle-400: #6B441E;
  --saddle-500: #5C3A18;
  --saddle-600: #38230D;

  /* Ink */
  --ink:       #2A251E;
  --ink-soft:  #4A443A;
  --muted:     #6F6554;

  /* Type */
  --font-display: 'Avenir Next Condensed','Franklin Gothic Medium','Arial Narrow','Helvetica Neue Condensed','Roboto Condensed','Arial',sans-serif;
  --font-body: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;

  --shadow-plate: 0 1px 2px rgba(34,37,42,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--saddle-300); text-decoration: none; }
a:hover { color: var(--saddle-500); text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Display type ---------- */

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--saddle-300);
}

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); font-weight: 800; }

h1 {
  font-size: clamp(2.25rem, 4.8vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 30px;
}
h2::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 56px; height: 5px;
  background-color: var(--nickel-200);
  background-image:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.55) 0 1px, transparent 1px 2px, rgba(72,78,86,0.22) 2px 3px);
  border: 1px solid var(--nickel-300);
}
h2::after {
  content: "";
  position: absolute;
  left: 12px; bottom: -8px;
  width: 36px; height: 4px;
  background: var(--saddle-300);
}

h3 {
  font-size: 1.24rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.2;
}

p + p { margin-top: 0.9em; }

.lede { font-size: 1.13rem; color: var(--ink); line-height: 1.6; }

/* ---------- Brushed metal band ---------- */

.brushed {
  background-color: var(--nickel-200);
  background-image:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.40) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(72,78,86,0.10) 0 1px, transparent 1px 4px);
}

/* ---------- Riveted spec plate ---------- */

.spec-plate {
  position: relative;
  background: var(--cream-50);
  border: 1px solid var(--nickel-300);
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.70),
    inset 0 0 0 3px rgba(169,175,183,0.28),
    var(--shadow-plate);
  background-image:
    radial-gradient(circle 2.4px at 9px 9px, var(--nickel-600) 0 2.4px, var(--nickel-300) 2.5px 3.6px, transparent 3.7px),
    radial-gradient(circle 2.4px at calc(100% - 9px) 9px, var(--nickel-600) 0 2.4px, var(--nickel-300) 2.5px 3.6px, transparent 3.7px),
    radial-gradient(circle 2.4px at 9px calc(100% - 9px), var(--nickel-600) 0 2.4px, var(--nickel-300) 2.5px 3.6px, transparent 3.7px),
    radial-gradient(circle 2.4px at calc(100% - 9px) calc(100% - 9px), var(--nickel-600) 0 2.4px, var(--nickel-300) 2.5px 3.6px, transparent 3.7px);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-50);
  background-color: var(--saddle-500);
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 5px);
  border: 1px solid var(--saddle-600);
  border-radius: 3px;
  padding: 14px 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 0 var(--saddle-600);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background-color: var(--saddle-400); color: var(--cream-50); text-decoration: none; }

.btn-nickel {
  background-color: var(--nickel-600);
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 5px);
  border-color: var(--nickel-800);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 2px 0 var(--nickel-800);
}
.btn-nickel:hover { background-color: var(--nickel-500); color: var(--cream-50); }

/* ---------- Header ---------- */

.site-header { background: var(--cream-50); }

.top-band { height: 6px; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 14px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 46px; height: 46px; flex: none; border-radius: 3px; }

.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.42rem;
  line-height: 1.05;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.header-phone .eyebrow { display: block; text-align: right; }
.header-phone a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--saddle-500);
}
.header-phone a:hover { color: var(--saddle-300); text-decoration: none; }

.site-nav {
  border-top: 1px solid var(--hairline-nickel);
  border-bottom: 1px solid var(--hairline-nickel);
  background: var(--cream-100);
}
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 28px; padding: 10px 0; }
.site-nav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nickel-700);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--saddle-500); border-bottom-color: var(--saddle-300); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--saddle-500); border-bottom-color: var(--saddle-500); }

/* ---------- Hero ---------- */

.hero { background: var(--cream-200); border-bottom: 1px solid var(--hairline); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 72px;
}
.hero h1 { margin: 14px 0 18px; }
.hero .lede { max-width: 34em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-plate { padding: 14px 14px 10px; }
.hero-plate svg { width: 100%; height: auto; display: block; }
.plate-caption {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding-top: 10px;
  border-top: 1px dashed var(--hairline-nickel);
  margin-top: 10px;
}

/* ---------- Sections ---------- */

.section { padding: 76px 0; }
.section-alt {
  background: var(--cream-100);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.section-nickel {
  background: var(--nickel-100);
  border-top: 1px solid var(--nickel-300);
  border-bottom: 1px solid var(--nickel-300);
}
.section-intro { max-width: 46em; }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 42px;
}
.card {
  background: var(--cream-50);
  border: 1px solid var(--hairline-nickel);
  border-top: 3px solid var(--nickel-300);
  border-radius: 4px;
  padding: 26px 24px 22px;
  box-shadow: var(--shadow-plate);
  display: flex;
  flex-direction: column;
}
.card:hover { border-top-color: var(--saddle-300); }
.card-icon {
  width: 58px; height: 58px;
  border: 1px solid var(--nickel-300);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--saddle-400);
  background: var(--cream-100);
  margin-bottom: 16px;
}
.card-icon svg { width: 40px; height: 40px; }
.card h3 { margin-bottom: 10px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--saddle-500); text-decoration: none; }
.card p { font-size: 0.97rem; flex: 1; }
.card-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saddle-400);
  margin-top: 16px;
}
.card-link:hover { color: var(--saddle-600); text-decoration: none; }

/* ---------- Statute callouts ---------- */

.cite-block {
  border-left: 4px solid var(--saddle-300);
  background: var(--cream-100);
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
  margin: 22px 0;
}
.cite-block .code {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--saddle-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 4px;
}
.cite-block p { font-size: 0.97rem; }

/* ---------- Firm section ---------- */

.firm-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 52px;
  align-items: start;
  margin-top: 42px;
}
.firm-photo img {
  border: 1px solid var(--nickel-300);
  border-radius: 4px;
  box-shadow: 8px 8px 0 var(--nickel-200);
}
.firm-photo figcaption {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
}
.pillar { display: flex; gap: 14px; margin-bottom: 20px; }
.pillar-mark {
  flex: none;
  width: 38px; height: 38px;
  border: 1px solid var(--nickel-300);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: var(--saddle-400);
  background: var(--cream-100);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.pillar h3 { font-size: 1.02rem; margin-bottom: 4px; }
.pillar p { font-size: 0.96rem; }
.firm-note { margin-top: 24px; font-size: 0.92rem; color: var(--muted); border-top: 1px dashed var(--hairline); padding-top: 16px; }

/* ---------- CTA band (saddle leather) ---------- */

.cta-band {
  background-color: var(--saddle-500);
  background-image:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.06) 0 1px, transparent 1px 3px);
  border-top: 1px solid var(--saddle-600);
  border-bottom: 1px solid var(--saddle-600);
  color: var(--cream-100);
  padding: 64px 0;
}
.cta-band h2 { color: var(--cream-50); }
.cta-band h2::before {
  background-color: var(--nickel-300);
  background-image: repeating-linear-gradient(180deg, rgba(255,255,255,0.5) 0 1px, transparent 1px 2px);
  border-color: var(--nickel-200);
}
.cta-band h2::after { background: var(--saddle-100); }
.cta-band p { color: var(--cream-200); }
.cta-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.cta-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: 0.03em;
  color: var(--cream-50);
  display: block;
  margin-top: 6px;
}
.cta-phone:hover { color: var(--saddle-100); text-decoration: none; }
.cta-offices { font-size: 0.9rem; color: var(--cream-200); margin-top: 14px; }

/* ---------- Subpage hero ---------- */

.page-hero { background: var(--cream-200); border-bottom: 1px solid var(--hairline); padding: 52px 0 50px; }
.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--nickel-500); }
.breadcrumb a:hover { color: var(--saddle-500); text-decoration: none; }
.breadcrumb .sep { color: var(--nickel-300); margin: 0 8px; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { margin-top: 16px; max-width: 44em; }

/* ---------- Article body ---------- */

.article-body { max-width: 760px; }
.article-body h2 { margin-top: 58px; }
.article-body ul, .article-body ol { margin: 14px 0 14px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body .list-plain { list-style: none; margin-left: 0; }

.two-col { display: grid; grid-template-columns: 1fr 300px; gap: 52px; align-items: start; }

.side-plate {
  background: var(--cream-50);
  border: 1px solid var(--hairline-nickel);
  border-top: 3px solid var(--nickel-300);
  border-radius: 4px;
  padding: 24px 22px;
  box-shadow: var(--shadow-plate);
}
.side-plate h3 { font-size: 1.0rem; margin-bottom: 12px; }
.side-plate ul { list-style: none; }
.side-plate li { border-top: 1px dashed var(--hairline); padding: 9px 0; font-size: 0.93rem; }
.side-plate li:first-child { border-top: 0; }
.side-plate .side-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--saddle-500);
}
.side-plate .side-phone:hover { color: var(--saddle-300); text-decoration: none; }

/* ---------- FAQ ---------- */

.faq-list { margin-top: 36px; max-width: 820px; }
.faq-item {
  background: var(--cream-50);
  border: 1px solid var(--hairline-nickel);
  border-radius: 4px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-plate);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--saddle-300);
  flex: none;
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item[open] summary { border-bottom: 1px solid var(--hairline); }
.faq-body { padding: 18px 24px 24px; }
.faq-body p { font-size: 0.99rem; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.office-card {
  background: var(--cream-50);
  border: 1px solid var(--hairline-nickel);
  border-top: 3px solid var(--saddle-300);
  border-radius: 4px;
  padding: 24px 22px;
  box-shadow: var(--shadow-plate);
  margin-bottom: 20px;
}
.office-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.office-card p { font-size: 0.95rem; }
.office-card .office-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  color: var(--saddle-500);
  display: inline-block;
  margin-top: 10px;
}
.office-card .office-phone:hover { color: var(--saddle-300); text-decoration: none; }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-field input, .form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream-50);
  border: 1px solid var(--nickel-300);
  border-radius: 3px;
  padding: 12px 14px;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--saddle-300);
  box-shadow: 0 0 0 2px rgba(176,122,62,0.25);
}
.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 14px; }

/* ---------- 404 ---------- */

.fourohfour { padding: 96px 0 120px; text-align: center; }
.fourohfour .code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6rem, 18vw, 10rem);
  line-height: 1;
  color: var(--nickel-300);
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.8), 3px 3px 0 var(--nickel-200);
}
.fourohfour h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 22px 0 14px; }
.fourohfour .lede { max-width: 30em; margin: 0 auto; }
.fourohfour .hero-cta { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--nickel-800);
  color: var(--nickel-200);
  padding: 60px 0 0;
  border-top: 6px solid var(--saddle-500);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 1.1fr;
  gap: 44px;
  padding-bottom: 46px;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream-50);
}
.footer-blurb { margin-top: 10px; font-size: 0.9rem; color: var(--nickel-300); }
.footer-address { margin-top: 16px; font-size: 0.92rem; line-height: 1.6; }
.footer-phone {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--saddle-100);
  display: inline-block;
  margin-top: 16px;
}
.footer-phone:hover { color: var(--cream-50); text-decoration: none; }

.footer h3 {
  color: var(--cream-100);
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 7px; font-size: 0.9rem; }
.footer a { color: var(--nickel-200); }
.footer a:hover { color: var(--saddle-100); text-decoration: none; }
.footer .network-list { columns: 2; column-gap: 26px; }
.footer li.self-site { color: var(--saddle-100); font-weight: 600; }

.footer-bottom { border-top: 1px solid var(--nickel-600); padding: 18px 0; font-size: 0.85rem; color: var(--nickel-300); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--nickel-300); }
.footer-bottom a:hover { color: var(--saddle-100); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 48px 0 56px; }
  .hero-plate { max-width: 540px; }
  .firm-grid { grid-template-columns: 1fr; }
  .firm-photo { max-width: 340px; }
  .two-col { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone .eyebrow { text-align: left; }
  .header-main { flex-direction: column; align-items: flex-start; }
  .section { padding: 56px 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-phone a { font-size: 1.25rem; }
  .btn { width: 100%; text-align: center; }
  .site-nav ul { gap: 4px 18px; }
  .footer .network-list { columns: 1; }
}

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