/* Reilly Like Tenety & Hinrichs — site styles */
:root {
  --navy: #14284b;
  --navy-deep: #0d1c36;
  --gold: #b08d57;
  --gold-soft: #e9dcc6;
  --ink: #1f2933;
  --muted: #52606d;
  --line: #e1ddd5;
  --paper: #ffffff;
  --cream: #f7f5f1;
  --radius: 6px;
  --max: 1120px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #d9dee7; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: flex-end; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--gold-soft); }

/* Header */
.header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { text-decoration: none; color: var(--navy); display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; letter-spacing: .02em; }
.brand-sub { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 4px; font-weight: 600; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--cream); }
.nav .has-sub { position: relative; }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 24px rgba(13,28,54,.12); min-width: 210px; padding: 6px; flex-direction: column; align-items: stretch; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex; }
.nav .caret { font-size: .7em; margin-left: 4px; }
.btn {
  display: inline-block; background: var(--gold); color: #fff !important; text-decoration: none;
  padding: 12px 22px; border-radius: var(--radius); font-weight: 600; border: 0; cursor: pointer;
  font-size: 1rem; font-family: var(--sans); transition: background .15s;
}
.btn:hover { background: #967647; color: #fff; }
.btn-outline { background: transparent; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.nav .btn { padding: 10px 18px; margin-left: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }

/* Hero */
.hero {
  background:
    linear-gradient(120deg, rgba(13,28,54,.97) 0%, rgba(20,40,75,.93) 55%, rgba(20,40,75,.86) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 80px);
  color: #fff; padding: 84px 0 72px;
}
.hero h1 { color: #fff; max-width: 17em; }
.hero .eyebrow { color: var(--gold-soft); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 600; margin-bottom: 14px; }
.hero .lead { font-size: 1.2rem; max-width: 36em; color: #dfe5ee; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.page-hero { background: var(--navy); color: #fff; padding: 52px 0 44px; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { color: #dfe5ee; margin: 10px 0 0; max-width: 40em; font-size: 1.1rem; }

.trust { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.trust li::before { content: "✓"; color: var(--gold); margin-right: 8px; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--cream); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.card p { color: var(--muted); flex: 1; }
.card .more { font-weight: 600; text-decoration: none; }
.stats { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 8px 0 0; }
.stat { border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; }
.stat b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding: 6px 0 6px 28px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 10px; background: var(--gold); border-radius: 2px; }
.cols-2 { columns: 2; column-gap: 32px; }
.cols-2 li { break-inside: avoid; }

.cta-band { background: var(--navy); color: #fff; padding: 52px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dfe5ee; font-size: 1.1rem; }
.cta-band .phones { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; margin: 18px 0 24px; }
.cta-band .phones a { color: #fff; font-size: 1.3rem; font-weight: 600; text-decoration: none; }
.cta-band .phones small { display: block; color: var(--gold-soft); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }

/* People */
.person { display: grid; grid-template-columns: 220px 1fr; gap: 36px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.person:last-child { border-bottom: 0; }
.person .photo { width: 220px; aspect-ratio: 4/5; background: var(--cream); border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 3rem; color: var(--gold); border: 1px solid var(--line); }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .role { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; margin: -4px 0 14px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 520px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #fff; font-weight: 600; }
tr:nth-child(even) td { background: var(--cream); }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #c9c3b8; border-radius: var(--radius);
  font: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }
.req { color: #a33; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.notice { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 18px; background: #fdf1f1; border: 1px solid #e8b4b4; color: #7a1f1f; }

/* Offices */
a.addr { color: inherit; text-decoration: none; }
a.addr:hover { color: var(--gold); text-decoration: underline; }
.office-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.office-card h3 { margin-bottom: 8px; }
.office-card address { font-style: normal; margin-bottom: 10px; }
.office-card .tel { font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.map { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: var(--radius); background: var(--cream); }

.doc-link { display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; margin: 18px 0; }
.doc-link .ico { width: 44px; height: 54px; flex: none; background: var(--navy); color: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; }
.doc-link b { display: block; color: var(--navy); }
.doc-link span { color: var(--muted); font-size: .92rem; }

/* Footer */
.footer { background: var(--navy-deep); color: #c3cad6; font-size: .93rem; padding: 52px 0 28px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--gold-soft); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; text-align: center; }
.footer h4 { color: #fff; font-family: var(--serif); font-size: 1.05rem; margin: 0 0 10px; font-weight: 600; }
.footer address { font-style: normal; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 6px; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; font-size: .85rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.footer .disclaimer { color: #fff; font-weight: 600; }

/* Responsive */
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(13,28,54,.1); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px 16px 16px; gap: 0; }
  .nav .sub { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .nav .caret { display: none; }
  .nav .btn { margin: 10px 0 0; text-align: center; }
  .header .wrap { position: relative; }
  .grid-2, .grid-3, .footer .cols { grid-template-columns: 1fr; }
  .grid-2 { gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar .wrap { justify-content: center; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 48px 0; }
  .stats { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 20px; }
  .cols-2 { columns: 1; }
  .person { grid-template-columns: 1fr; gap: 20px; }
  .person .photo { width: 180px; }
  .brand-name { font-size: 1.1rem; }
}

/* ---- Centered layout (everything except attorney bios, forms and tables) ---- */
.hero, .page-hero, .section { text-align: center; }
.hero h1, .hero .lead, .page-hero p { margin-left: auto; margin-right: auto; }
.hero .actions { justify-content: center; }
.checklist { display: inline-block; text-align: left; max-width: 100%; }
.cols-2 { display: block; max-width: 900px; margin: 0 auto 1em; }
.stat { border-left: 0; padding: 0 0 14px; }
.stat::after { content: ""; display: block; width: 44px; height: 3px; background: var(--gold); margin: 12px auto 0; }
.card { align-items: center; }
.form, .table-wrap, .doc-link, .person { text-align: left; }
.person h2, .person .role { text-align: left; }

/* Contact details on attorney and staff listings */
.contact-line { font-weight: 600; margin: -6px 0 16px; }
.contact-line a { text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }
.staff-grid { margin-top: 24px; gap: 24px; }
.card.staff .role { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; margin: 0 0 12px; flex: none; }
.card.staff .contact-line { margin: 0; flex: none; color: var(--navy); }
