/* ============================================================
   MVB LEGAL — FINAL MERGED STYLESHEET
   Hero:           Compact split text (B)
   Team:           Full-width alternating rows (C, improved)
   Practice Areas: Accordion (B)
   Services:       2-col numbered cards (B)
   Approach:       2-col navy cards
   Process:        3-step timeline
   Contact:        Form + phone/email only (no address)
   ============================================================ */

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

:root {
  --navy:   #0D1B2A;
  --gold:   #C9A24B;
  --gold-lt:#DDB96A;
  --gold-dim:rgba(201,162,75,.08);
  --paper:  #F8F8F4;
  --bg-alt: #F2F1EC;
  --white:  #FFFFFF;
  --ink:    #0D1B2A;
  --muted:  #5A6272;
  --rule:   #E2E0D8;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;
  --max-w: 1160px;
  --nav-h: 72px;
  scroll-behavior: smooth;
}

html { font-size: 16px; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--alt  { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: var(--white); }

.section__label { font-size: .63rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: .55rem; display: flex; align-items: center; gap: .65rem; }
.section__label::before { content: ''; width: 1.75rem; height: 1px; background: var(--gold); flex-shrink: 0; }
.section__heading { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 600; line-height: 1.1; color: var(--ink); margin-bottom: .85rem; }
.section--navy .section__heading { color: var(--white); }
.section__sub { font-size: .95rem; color: var(--muted); max-width: 56ch; margin-bottom: 2.5rem; line-height: 1.75; }
.section--navy .section__sub { color: rgba(255,255,255,.5); }

/* ── Disclaimer ──────────────────────────────────────────── */
#disclaimer-overlay { position: fixed; inset: 0; background: rgba(13,27,42,.88); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 1.5rem; }
#disclaimer-box { background: var(--white); max-width: 600px; width: 100%; padding: clamp(2rem,5vw,3rem); border-left: 4px solid var(--gold); }
.disclaimer-logo { height: 54px; margin-bottom: 1.5rem; object-fit: contain; }
#disclaimer-box h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); margin-bottom: .85rem; }
#disclaimer-box p  { font-size: .88rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.75rem; }
#disclaimer-agree { background: var(--navy); color: var(--white); padding: .8rem 2.25rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .2s; display: inline-block; }
#disclaimer-agree:hover { background: var(--gold); }

/* ── Navigation ──────────────────────────────────────────── */
#nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); background: var(--navy); z-index: 100; transition: box-shadow .3s; }
#nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo { height: 52px; object-fit: contain; flex-shrink: 0; opacity: .92; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: inline-flex; align-items: center; gap: .4rem; background: var(--gold); color: var(--navy) !important; padding: .52rem 1.25rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; flex-shrink: 0; white-space: nowrap; transition: background .2s; }
.nav-cta:hover { background: var(--gold-lt) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: .4rem; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform .25s, opacity .25s; }
.nav-mobile { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--navy); padding: 1.5rem clamp(1.25rem,5vw,3rem); flex-direction: column; z-index: 99; }
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: .85rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.nav-mobile a:last-child { border: none; }
.nav-mobile-cta { margin-top: .5rem; display: inline-block; background: var(--gold); color: var(--navy) !important; text-align: center; padding: .8rem 1.5rem; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }

/* ── Hero — Compact, text-focused ───────────────────────── */
#hero { margin-top: var(--nav-h); background: var(--navy); display: flex; flex-direction: column; }
.hero-bg { display: none; }

.hero-content { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* Left: firm identity */
.hero-left { display: flex; flex-direction: column; align-items: center; }
.hero-logo { height: clamp(130px, 19vw, 210px); width: auto; object-fit: contain; margin-bottom: 2.5rem; }
.hero-eyebrow { font-size: .6rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; display: flex; align-items: center; gap: .65rem; }
.hero-eyebrow::before { content: ''; width: 1.75rem; height: 1px; background: var(--gold); }
.hero-name { font-family: var(--serif); font-size: clamp(2.75rem, 5.5vw, 4.75rem); font-weight: 700; line-height: .95; color: var(--white); margin-bottom: .5rem; letter-spacing: -.02em; }
.hero-subname { font-family: var(--serif); font-size: clamp(.85rem, 1.4vw, 1.1rem); font-weight: 400; color: rgba(255,255,255,.5); margin-bottom: .2rem; }
.hero-tagline { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); opacity: .65; }
.hero-divider { width: 2.5rem; height: 1px; background: var(--gold); opacity: .4; margin-block: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.btn-primary { display: inline-block; background: var(--gold); color: var(--navy); padding: .85rem 2rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .2s; }
.btn-primary:hover { background: var(--gold-lt); }
.btn-outline { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.65); padding: .85rem 2rem; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Right: value proposition panel */
.hero-right { border-left: 1px solid rgba(255,255,255,.08); padding-left: 3rem; }
.hero-value { font-family: var(--serif); font-size: clamp(1.1rem, 1.9vw, 1.35rem); font-weight: 500; color: rgba(255,255,255,.9); line-height: 1.6; margin-bottom: .9rem; }
.hero-support { font-size: .88rem; color: rgba(255,255,255,.45); line-height: 1.8; }

/* Gold strip */
.hero-strip { background: rgba(201,162,75,.1); border-top: 1px solid rgba(201,162,75,.2); }
.hero-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 1rem 1.75rem; display: flex; align-items: center; gap: .8rem; border-right: 1px solid rgba(255,255,255,.06); }
.strip-item:last-child { border: none; }
.strip-icon { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.strip-label { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); line-height: 1.3; }

/* ── Attorneys — Full-width alternating rows ─────────────── */
#about { padding-top: 0; }
.about-intro { padding-block: clamp(3rem,6vw,5rem); }

.attorney-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.attorney-row + .attorney-row { border-top: 1px solid var(--rule); }

/* Even rows flip (portrait right) */
.attorney-row:nth-child(even) .attorney-photo { order: 2; }
.attorney-row:nth-child(even) .attorney-body  { order: 1; }

.attorney-photo { position: relative; overflow: hidden; background: #e8e6e0; }
.attorney-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .6s ease; }
.attorney-row:hover .attorney-photo img { transform: scale(1.03); }
.attorney-photo-placeholder { width: 100%; height: 100%; min-height: 480px; background: #e8e6e0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: #aaa; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.attorney-photo-placeholder svg { width: 56px; opacity: .2; }

.attorney-body { background: var(--bg-alt); padding: clamp(2.5rem,5vw,4.5rem); display: flex; flex-direction: column; justify-content: center; }
.attorney-suffix { font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.attorney-name { font-family: var(--serif); font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: .3rem; }
.attorney-title { font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }

/* Forum tags — prominent, right after title */
.attorney-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.attorney-tag { display: inline-block; background: var(--navy); color: rgba(255,255,255,.75); font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .32rem .75rem; border-radius: 2px; }

.attorney-focus { font-size: .92rem; font-style: italic; color: var(--navy); line-height: 1.7; padding: .85rem 1.1rem; border-left: 3px solid var(--gold); background: rgba(201,162,75,.07); margin-bottom: 1.4rem; }
.attorney-bio p { font-size: .9rem; line-height: 1.82; color: var(--muted); margin-bottom: .7rem; }
.attorney-bio p:last-child { margin-bottom: 0; }

/* ── Practice Areas — Accordion ─────────────────────────── */
.accordion { margin-top: 2rem; border-top: 1px solid var(--rule); }
.accordion-item { border-bottom: 1px solid var(--rule); }
.accordion-trigger { width: 100%; text-align: left; padding: 1.35rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; cursor: pointer; }
.acc-left { display: flex; align-items: center; gap: 1.25rem; }
.acc-icon { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; }
.acc-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); transition: color .2s; }
.accordion-trigger:hover .acc-name { color: var(--gold); }
.acc-sub { font-size: .6rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-left: auto; flex-shrink: 0; }
.acc-arrow { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; transition: transform .3s; }
.accordion-item.open .acc-arrow { transform: rotate(180deg); }
.accordion-body { overflow: hidden; max-height: 0; transition: max-height .4s ease; }
.accordion-item.open .accordion-body { max-height: 700px; }
.accordion-inner { padding-bottom: 2rem; display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; }
.acc-desc { font-size: .9rem; line-height: 1.82; color: var(--muted); }
.acc-items { display: flex; flex-direction: column; gap: .4rem; }
.acc-items li { font-size: .82rem; color: var(--muted); display: flex; align-items: flex-start; gap: .55rem; padding-bottom: .45rem; border-bottom: 1px solid var(--rule); }
.acc-items li:last-child { border: none; padding-bottom: 0; }
.acc-items li::before { content: '→'; color: var(--gold); flex-shrink: 0; font-size: .68rem; margin-top: .15rem; }

/* ── Services ────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2rem; }
.service-card { border-top: 2px solid var(--gold); padding-top: 1.5rem; }
.service-num { font-family: var(--serif); font-size: 3rem; font-weight: 300; color: rgba(201,162,75,.22); line-height: 1; margin-bottom: .85rem; }
.service-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.service-desc { font-size: .88rem; line-height: 1.82; color: var(--muted); }

/* ── Approach ────────────────────────────────────────────── */
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(255,255,255,.05); margin-top: 3rem; }
.approach-card { background: rgba(255,255,255,.035); padding: clamp(2rem,4vw,3rem); display: flex; gap: 1.5rem; align-items: flex-start; }
.approach-num { font-family: var(--serif); font-size: 4rem; font-weight: 300; color: rgba(201,162,75,.13); line-height: 1; flex-shrink: 0; width: 3rem; }
.approach-body h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--white); margin-bottom: .45rem; }
.approach-body p { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.78; }

/* ── Process ─────────────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 2.2rem; left: calc(100%/6); right: calc(100%/6); height: 1px; background: var(--gold); opacity: .22; }
.process-step { padding: 0 2rem 2rem; text-align: center; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 4.5rem; height: 4.5rem; background: var(--paper); border: 2px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.step-heading { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.step-desc { font-size: .86rem; line-height: 1.78; color: var(--muted); }

/* ── Contact — phone, email, form only ──────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-top: 3rem; }
.contact-info h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 1.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-row { display: flex; align-items: center; gap: .9rem; font-size: .92rem; color: var(--muted); }
.contact-icon { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.contact-row a { transition: color .2s; }
.contact-row a:hover { color: var(--gold); }

/* Direct contact prompt */
.contact-note { margin-top: 2rem; padding: 1.5rem; background: var(--navy); }
.contact-note p { font-size: .82rem; line-height: 1.75; color: rgba(255,255,255,.55); }
.contact-note strong { color: var(--gold); font-weight: 600; }

.contact-form-wrap h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.form-field input, .form-field select, .form-field textarea { border: 1px solid var(--rule); background: var(--white); padding: .75rem 1rem; font-family: var(--sans); font-size: .9rem; color: var(--ink); outline: none; appearance: none; -webkit-appearance: none; transition: border-color .2s; }
.form-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6272' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-helper { font-size: .77rem; color: var(--muted); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); line-height: 1.7; }
.btn-submit { margin-top: 1.25rem; display: inline-block; background: var(--navy); color: var(--white); padding: .9rem 2.5rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: none; cursor: pointer; transition: background .2s; }
.btn-submit:hover { background: var(--gold); color: var(--navy); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
[hidden] { display: none !important; }
.form-success { margin-top: 1.5rem; display: flex; align-items: flex-start; gap: .85rem; background: #f0faf4; border-left: 3px solid #2d8a55; padding: 1rem 1.25rem; }
.form-success svg { width: 22px; flex-shrink: 0; color: #2d8a55; margin-top: .1rem; }
.form-success p { font-size: .88rem; color: #1e5e3a; line-height: 1.65; margin: 0; }
.form-error { margin-top: 1rem; font-size: .85rem; color: #b91c1c; background: #fef2f2; border-left: 3px solid #b91c1c; padding: .75rem 1rem; }
.form-error a { color: #b91c1c; text-decoration: underline; }

/* ── Footer ──────────────────────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,.45); padding-block: clamp(3rem, 5vw, 4.5rem); }
.footer-logo { height: 48px; object-fit: contain; margin-bottom: 1.1rem; opacity: .75; }
.footer-grid { display: grid; grid-template-columns: 1.75fr 1fr 1fr; gap: 3rem; }
.footer-firm-name { font-family: var(--serif); font-size: 1.1rem; color: var(--white); font-weight: 700; margin-bottom: .2rem; }
.footer-firm-tagline { font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-brand p { font-size: .82rem; line-height: 1.72; }
.footer-col h4 { font-size: .62rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 1.1rem; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .84rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact-row { display: flex; align-items: center; gap: .6rem; font-size: .84rem; margin-bottom: .8rem; }
.footer-contact-row svg { width: 13px; color: var(--gold); flex-shrink: 0; }
.footer-contact-row a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-contact-row a:hover { color: var(--gold); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.07); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; }
.footer-bottom p { font-size: .76rem; max-width: 70ch; line-height: 1.7; }
.footer-bottom .copyright { white-space: nowrap; font-size: .76rem; }

/* ── Reveal ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .accordion-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,.08); padding-top: 2rem; }
  .attorney-row { grid-template-columns: 1fr; min-height: auto; }
  .attorney-row:nth-child(even) .attorney-photo { order: 0; }
  .attorney-row:nth-child(even) .attorney-body  { order: 0; }
  .attorney-photo { aspect-ratio: 4/3; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-strip-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { text-align: left; display: flex; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
  .process-step .step-num { margin-bottom: 0; flex-shrink: 0; }
}
@media (max-width: 480px) {
  .hero-strip-inner { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; justify-content: center; }
}
