/* ==========================================================================
   Bannon, Rawding, McDonald & Mascera, P.A. — Verona, NJ (est. 1966)
   "Prospect" design system — heritage law firm.
   Deep oxblood + warm parchment + aged brass. Spectral + Inter.
   Signature motif: a classical fluted column (counsel since 1966).
   ========================================================================== */

:root {
  --paper:    #f5f0e7;
  --paper-2:  #ece4d4;
  --paper-3:  #e3d9c4;
  --white:    #fffdf8;

  --ink:      #241c1e;
  --ink-soft: #574a4d;
  --ink-faint:#86777b;

  --burgundy: #51212b;
  --burgundy-deep: #3a141c;
  --burgundy-ink:  #2a0e14;
  --brass:    #b0894a;
  --brass-deep:#8f6c34;
  --brass-soft:#d8bd87;

  --line:    rgba(36, 28, 30, 0.13);
  --line-2:  rgba(36, 28, 30, 0.24);
  --brass-line: rgba(143, 108, 52, 0.5);
  --shadow-sm: 0 1px 2px rgba(36,28,30,.05), 0 4px 14px rgba(36,28,30,.06);
  --shadow-md: 0 10px 30px rgba(36,28,30,.10), 0 3px 8px rgba(36,28,30,.06);
  --shadow-lg: 0 30px 70px rgba(58,20,28,.22), 0 8px 22px rgba(36,28,30,.10);

  --display: "Spectral", Georgia, "Times New Roman", serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 60px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body); color: var(--ink); background: var(--paper);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--brass-deep); outline-offset: 3px; border-radius: 3px; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--burgundy); color: var(--white); padding: 10px 16px; border-radius: var(--r-sm); z-index: 200; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -0.005em; color: var(--burgundy-ink); }
.display { font-size: clamp(2.8rem, 6.4vw, 5rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.32rem); color: var(--ink-soft); line-height: 1.6; }
.serif-accent { font-family: var(--display); font-style: italic; color: var(--brass-deep); }

.eyebrow { font-family: var(--body); font-weight: 700; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-deep); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brass-deep); }
.eyebrow.center-eb { justify-content: center; }

/* Layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(70px, 10vw, 140px); }
.section-tight { padding-block: clamp(50px, 6vw, 90px); }
.center { text-align: center; }
.measure { max-width: 60ch; } .measure-c { max-width: 62ch; margin-inline: auto; }
.mt-1 { margin-top: 16px; } .mt-2 { margin-top: 28px; } .mt-3 { margin-top: 46px; }

/* Buttons */
.btn { --bg: var(--burgundy); --fg: var(--white); display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--bg); color: var(--fg); font-family: var(--body); font-weight: 600; font-size: .98rem; padding: 15px 30px; border-radius: var(--r-sm); border: 1.5px solid transparent; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--burgundy-deep); }
.btn:active { transform: translateY(0); }
.btn--brass { --bg: var(--brass); --fg: var(--burgundy-ink); }
.btn--brass:hover { background: var(--brass-deep); }
.btn--ghost { --bg: transparent; --fg: var(--burgundy); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: var(--white); border-color: var(--brass-deep); color: var(--burgundy-deep); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.scrolled { border-bottom-color: var(--brass-line); box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--paper) 94%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand .col { width: 30px; height: 38px; flex: none; }
.brand .wordmark { font-family: var(--display); font-weight: 600; font-size: 1.28rem; color: var(--burgundy-ink); letter-spacing: -0.005em; line-height: 1.05; }
.brand small { display: block; font-family: var(--body); font-weight: 700; font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-deep); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 9px 14px; border-radius: var(--r-sm); font-weight: 500; font-size: .95rem; color: var(--ink-soft); transition: color .2s var(--ease), background .2s var(--ease); }
.nav-links a:hover { color: var(--burgundy); background: var(--white); }
.nav-links a[aria-current="page"] { color: var(--burgundy-deep); background: color-mix(in srgb, var(--brass) 18%, transparent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--white); align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .nav-links, .nav-actions .btn--call-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 4px; position: absolute; left: var(--gutter); right: var(--gutter); top: 78px; background: var(--white); padding: 14px; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav.open .nav-links a { padding: 13px 16px; font-size: 1.05rem; }
}

/* Hero */
.hero { position: relative; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(54px, 8vw, 120px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(70% 70% at 88% -5%, color-mix(in srgb, var(--brass-soft) 38%, transparent) 0, transparent 58%), radial-gradient(60% 80% at -5% 110%, color-mix(in srgb, var(--burgundy) 9%, transparent) 0, transparent 55%); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 24px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 34px; align-items: center; }
.hero-meta .est { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--burgundy); }
.hero-meta .est b { font-style: normal; font-weight: 600; }
.hero-meta .pipe { color: var(--brass); }

/* Hero crest panel */
.crest-panel { position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); background: linear-gradient(165deg, var(--burgundy) 0%, var(--burgundy-deep) 70%, var(--burgundy-ink) 100%); box-shadow: var(--shadow-lg); overflow: hidden; display: grid; place-items: center; isolation: isolate; }
.crest-panel::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(216,189,135,.3); border-radius: calc(var(--r-lg) - 6px); pointer-events: none; }
.crest-panel .crest { width: 56%; position: relative; z-index: 1; filter: drop-shadow(0 14px 24px rgba(0,0,0,.3)); }
.crest-panel .estline { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; z-index: 2; font-family: var(--display); font-style: italic; color: var(--brass-soft); font-size: 1.2rem; letter-spacing: .02em; }
.hero-tab { position: absolute; top: -14px; right: -12px; background: var(--white); border-radius: var(--r-sm); box-shadow: var(--shadow-md); padding: 10px 18px; z-index: 3; border: 1px solid var(--brass-line); font-family: var(--display); font-weight: 600; color: var(--burgundy-ink); }
.hero-tab b { color: var(--brass-deep); }

@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 360px; margin-inline: auto; width: 100%; order: -1; } }

/* Gold rule */
.rule-brass { height: 1px; background: var(--brass-line); }

/* Cards / grid */
.grid { display: grid; gap: clamp(16px, 2.4vw, 26px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.pcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); display: block; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brass-line); }
.pcard .ic { width: 50px; height: 50px; display: grid; place-items: center; color: var(--burgundy); margin-bottom: 18px; border-bottom: 2px solid var(--brass); padding-bottom: 8px; }
.pcard .ic svg { width: 30px; height: 30px; }
.pcard h3 { margin-bottom: 10px; }
.pcard p { font-size: .98rem; }
.pcard .more { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; color: var(--brass-deep); }
.pcard .more svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.pcard:hover .more svg { transform: translateX(4px); }

/* Checklist */
.checklist li { display: flex; gap: 13px; padding: 12px 0; align-items: flex-start; font-size: 1.02rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist .ck { width: 22px; height: 22px; flex: none; color: var(--brass-deep); margin-top: 3px; }

/* Band */
.band { background: var(--burgundy-ink); color: var(--paper); position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; opacity: .6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M20 4v32M14 8h12M14 32h12' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E"); }
.band > * { position: relative; z-index: 1; }
.band h2, .band h3 { color: var(--white); }
.band p { color: rgba(245,240,231,.82); }
.band .eyebrow { color: var(--brass-soft); }
.band .eyebrow::before { background: var(--brass-soft); }
.band .stat b { color: var(--brass-soft); }

/* Stats */
.statline { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 60px); }
.stat b { font-family: var(--display); font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--burgundy); display: block; line-height: 1; font-weight: 600; }
.stat span { font-size: .86rem; color: var(--ink-faint); font-weight: 600; margin-top: 5px; display: block; letter-spacing: .02em; }

/* Attorney cards */
.attorneys { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 32px); max-width: 760px; margin-inline: auto; }
@media (max-width: 680px) { .attorneys { grid-template-columns: 1fr; max-width: 420px; } }
.atty { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.atty .pic { aspect-ratio: 1/1; background: linear-gradient(160deg, var(--burgundy), var(--burgundy-deep)); display: grid; place-items: center; position: relative; }
.atty .pic img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.atty .pic .mono { font-family: var(--display); font-size: 3.4rem; color: var(--brass-soft); font-weight: 500; }
.atty .pic .slot-note { position: absolute; bottom: 10px; left: 10px; right: 10px; text-align: center; font-size: .68rem; color: rgba(216,189,135,.7); font-weight: 600; }
.atty .info { padding: 22px clamp(18px,2.4vw,26px) 26px; }
.atty .info h3 { font-size: 1.5rem; }
.atty .role { color: var(--brass-deep); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 5px; }
.atty .info p { font-size: .95rem; margin-top: 12px; }

/* Hours / contact */
.info-card { background: linear-gradient(160deg, var(--burgundy), var(--burgundy-deep)); color: var(--white); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.info-card h3 { color: var(--white); }
.info-card .status { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; padding: 7px 15px; border-radius: var(--r-pill); background: rgba(255,255,255,.12); margin-bottom: 16px; font-size: .92rem; }
.info-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brass-soft); box-shadow: 0 0 0 4px rgba(216,189,135,.25); }
.info-card .dot.closed { background: #d8a3a3; box-shadow: 0 0 0 4px rgba(216,163,163,.2); }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.13); font-size: .96rem; }
.hours-list li:last-child { border-bottom: 0; }
.hours-list li.today { font-weight: 700; }
.hours-list .day { color: rgba(255,255,255,.82); }
.hours-list li.today .day { color: var(--white); }

.contact-rows li { display: flex; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-rows li:last-child { border-bottom: 0; }
.contact-rows .ic { width: 44px; height: 44px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--brass) 15%, var(--white)); color: var(--burgundy); display: grid; place-items: center; flex: none; border: 1px solid var(--brass-line); }
.contact-rows .ic svg { width: 21px; height: 21px; }
.contact-rows .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); font-weight: 700; }
.contact-rows .val { font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.contact-rows a.val:hover { color: var(--brass-deep); }
.map-embed { border: 0; width: 100%; height: 100%; min-height: 320px; border-radius: var(--r-lg); filter: saturate(.85) contrast(1.02); }

/* CTA band */
.cta-band { background: linear-gradient(160deg, var(--burgundy), var(--burgundy-deep)); border-radius: var(--r-lg); padding: clamp(40px, 5vw, 70px); text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(216,189,135,.25); border-radius: calc(var(--r-lg) - 8px); pointer-events: none; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(245,240,231,.82); }
.cta-band .hero-cta { justify-content: center; }

/* Photo slot */
.photo-slot { border-radius: var(--r-lg); border: 1.5px dashed var(--brass-line); background: linear-gradient(155deg, var(--paper-2), var(--paper-3)); display: grid; place-items: center; aspect-ratio: 4/3; position: relative; overflow: hidden; text-align: center; padding: 24px; }
.photo-slot .col { width: 22%; opacity: .8; }
.photo-slot .slot-note { position: absolute; bottom: 12px; left: 12px; right: 12px; font-size: .72rem; color: var(--ink-faint); font-weight: 600; }

/* Footer */
.site-footer { background: var(--burgundy-ink); color: var(--paper); padding-block: clamp(54px, 6vw, 80px) 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(26px, 4vw, 48px); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand .wordmark { color: var(--paper); }
.site-footer p { color: rgba(245,240,231,.62); font-size: .95rem; }
.footer-col h4 { font-family: var(--body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(245,240,231,.78); padding: 6px 0; font-size: .96rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(245,240,231,.13); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .82rem; color: rgba(245,240,231,.5); }
.disclaimer { font-size: .78rem; color: rgba(245,240,231,.45); max-width: 70ch; margin-top: 8px; }

/* Sticky mobile call bar */
.callbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; gap: 10px; background: color-mix(in srgb, var(--burgundy-ink) 96%, transparent); backdrop-filter: blur(8px); padding: 10px; border-radius: var(--r-sm); box-shadow: var(--shadow-lg); }
.callbar .btn { flex: 1; padding: 13px; font-size: .96rem; }
@media (max-width: 960px) { .callbar { display: flex; } body { padding-bottom: 86px; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Breadcrumb / page hero */
.crumbs { font-size: .84rem; color: var(--ink-faint); padding-top: 24px; }
.crumbs a:hover { color: var(--brass-deep); }
.crumbs span { margin: 0 8px; opacity: .5; }
.page-hero { padding-top: clamp(28px, 4vw, 54px); padding-bottom: clamp(30px, 4vw, 58px); }
.page-hero h1 { margin-top: 14px; font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 500; }
.page-hero .lead { margin-top: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 9px 18px; font-weight: 500; font-size: .92rem; color: var(--ink-soft); }
