/* ============================================================
   Adams Law PLLC — Shared Stylesheet
   Brand: Navy (#1e2a4a) + Gold (#c9a24b), Cabarrus County local focus
   ============================================================ */

:root {
  --navy: #1e2a4a;
  --navy-deep: #151e36;
  --navy-light: #2c3c63;
  --gold: #c9a24b;
  --gold-light: #d9b970;
  --cream: #f7f4ec;
  --paper: #ffffff;
  --ink: #1a1a1a;
  --gray: #5a5f6b;
  --gray-light: #8b909b;
  --line: #e3e0d6;
  --shadow: 0 4px 24px rgba(30, 42, 74, 0.08);
  --shadow-lg: 0 12px 48px rgba(30, 42, 74, 0.14);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.7;
  background: var(--paper);
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--navy); }

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 14px;
  padding: 8px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a { color: var(--gold-light); }
.topbar a:hover { color: #fff; }
.topbar .tb-left span { margin-right: 20px; }

/* ---------- Header / nav ---------- */
header { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
nav.main { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand .logo-img { height: 92px; width: auto; display: block; border-radius: 8px; }
.brand .mark {
  width: 46px; height: 46px; flex-shrink: 0;
  border: 2px solid var(--gold); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--gold);
  background: var(--navy-deep);
}
.brand .bn { color: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1; }
.brand .bn small { display: block; font-family: var(--font-body); font-size: 11px; letter-spacing: 3px; color: var(--gold); font-weight: 600; margin-top: 3px; }
.navlinks { display: flex; gap: 30px; align-items: center; list-style: none; }
.navlinks a { color: #e8e9ee; font-weight: 600; font-size: 15px; letter-spacing: .3px; }
.navlinks a:hover, .navlinks a.active { color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--navy-deep) !important;
  padding: 11px 22px; border-radius: 4px; font-weight: 700;
}
.nav-cta:hover { background: var(--gold-light); color: var(--navy-deep) !important; }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(rgba(21,30,54,.86), rgba(21,30,54,.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='%231e2a4a'/%3E%3Cpath d='M0 0h30v30H0zM30 30h30v30H30z' fill='%23202c4d'/%3E%3C/svg%3E");
  color: #fff; text-align: center; padding: 110px 0 96px;
}
.hero .eyebrow { color: var(--gold); letter-spacing: 4px; text-transform: uppercase; font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 22px; }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { font-size: 1.25rem; max-width: 680px; margin: 0 auto 36px; color: #d6d9e2; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 15px 34px; border-radius: 4px; font-weight: 700;
  font-size: 16px; letter-spacing: .3px; cursor: pointer; border: 2px solid transparent; transition: all .2s;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost { border-color: var(--gold); color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--navy-deep); }

/* ---------- Trust strip ---------- */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust .wrap { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; text-align: center; }
.trust .item .num { font-family: var(--font-display); font-size: 2.2rem; color: var(--navy); font-weight: 700; }
.trust .item .lbl { font-size: 14px; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow { color: var(--gold); letter-spacing: 3px; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 12px 0 16px; }
.section-head p { color: var(--gray); font-size: 1.12rem; }
.alt { background: var(--cream); }

/* ---------- Cards / practice areas ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: 34px 30px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .ic { width: 52px; height: 52px; border-radius: 8px; background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 16px; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 15px; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img, .split .photo {
  width: 100%; border-radius: 8px; box-shadow: var(--shadow-lg);
  background: var(--navy-light); min-height: 380px; object-fit: cover;
  display: flex; align-items: center; justify-content: center; color: var(--gray-light); font-size: 15px;
}
.split h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.split p { color: var(--gray); margin-bottom: 16px; }
.checklist { list-style: none; margin: 22px 0; }
.checklist li { padding-left: 32px; position: relative; margin-bottom: 12px; color: var(--ink); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; font-size: 18px; }

/* ---------- Testimonials ---------- */
.quote { background: var(--paper); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0;
  padding: 30px 34px; box-shadow: var(--shadow); }
.quote .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; font-size: 18px; }
.quote p { font-style: italic; color: var(--ink); font-size: 1.08rem; margin-bottom: 14px; }
.quote .who { font-weight: 700; color: var(--navy); font-style: normal; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card .photo { min-height: 300px; border-radius: 8px 8px 0 0; }
.team-card .body { background: var(--paper); border: 1px solid var(--line); border-top: none; border-radius: 0 0 8px 8px; padding: 22px; }
.team-card h3 { font-size: 1.3rem; }
.team-card .role { color: var(--gold); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 70px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: #c9cfdd; font-size: 1.15rem; margin-bottom: 28px; }
.cta-phone { font-family: var(--font-display); font-size: 2rem; color: var(--gold); font-weight: 700; display: block; margin-top: 18px; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 5px;
  font-family: var(--font-body); font-size: 16px; background: var(--cream);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.info-row { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.info-row .ic { color: var(--gold); font-size: 22px; flex-shrink: 0; width: 30px; display: flex; align-items: center; }
.info-row .ic svg { width: 24px; height: 24px; }
.info-row .label { font-weight: 700; color: var(--navy); }
.info-row .val { color: var(--gray); }
.disclaimer { font-size: 13px; color: var(--gray-light); margin-top: 14px; }

/* ---------- Page banner ---------- */
.page-banner { background: linear-gradient(rgba(21,30,54,.9), rgba(21,30,54,.94)); color: #fff; padding: 64px 0; text-align: center; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-banner .crumb { color: var(--gold-light); font-size: 14px; margin-top: 10px; letter-spacing: 1px; }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: #b8bdcb; padding: 60px 0 24px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 40px; }
footer h4 { color: #fff; font-family: var(--font-body); font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: #b8bdcb; }
footer ul li a:hover { color: var(--gold); }
footer .foot-brand .bn { color: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 700; }
footer .foot-brand p { margin-top: 14px; max-width: 320px; line-height: 1.6; }
.foot-bottom { border-top: 1px solid var(--navy-light); padding-top: 22px; text-align: center; font-size: 13px; color: var(--gray-light); }
.foot-bottom .legal { max-width: 820px; margin: 0 auto 12px; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .navlinks { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-deep);
    flex-direction: column; padding: 20px; gap: 16px; }
  .navlinks.open { display: flex; }
  .menu-toggle { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .topbar .tb-left span { display: block; margin-bottom: 4px; }
}

/* ============================================================
   ANIMATION LAYER — Patterson-style choreography, column signature
   ============================================================ */

/* Scroll reveals */
.rv { opacity: 0; transition: opacity .8s ease, transform .8s ease; will-change: opacity, transform; }
.rv-up { transform: translateY(36px); }
.rv-left { transform: translateX(-44px); }
.rv-right { transform: translateX(44px); }
.rv-zoom { transform: scale(.92); }
.rv.in-view { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .12s; } .rv-d2 { transition-delay: .24s; } .rv-d3 { transition-delay: .36s; }

/* Hero entrance choreography (on load) */
@keyframes heroDrop { from { opacity: 0; transform: translateY(-46px); } to { opacity: 1; transform: none; } }
@keyframes heroRise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes wordRise { from { opacity: 0; transform: translateY(.55em); } to { opacity: 1; transform: none; } }
@keyframes colDraw { to { stroke-dashoffset: 0; } }
@keyframes heroPan { 0% { background-position: 50% 55%; } 100% { background-position: 50% 45%; } }

.hero2 { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; text-align: center; padding: 128px 0 118px; }
.hero2 .hero-bgimg { position:absolute; inset:0; background: linear-gradient(rgba(21,30,54,.88), rgba(21,30,54,.94)),
  radial-gradient(ellipse at 30% 20%, #2c3c63 0%, #151e36 60%); animation: heroPan 18s ease-in-out infinite alternate; }
.hero2 video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.34; }
.hero2 .wrap { position: relative; z-index: 2; }
.hero2 .col-mark { display:block; margin: 0 auto 26px; width: 72px; height: 84px; }
.hero2 .col-mark path { stroke: var(--gold); stroke-width: 2.4; fill: none; stroke-dasharray: 620; stroke-dashoffset: 620; animation: colDraw 1.6s ease forwards .1s; }
.hero2 .eyebrow { color: var(--gold); letter-spacing: 4px; text-transform: uppercase; font-size: 14px; font-weight: 700; margin-bottom: 18px; opacity:0; animation: heroDrop .8s ease forwards .5s; }
.hero2 h1 { color:#fff; font-size: clamp(2.3rem, 5vw, 3.9rem); margin-bottom: 22px; }
.hero2 h1 .w { display:inline-block; opacity:0; animation: wordRise .7s cubic-bezier(.2,.9,.3,1.2) forwards; }
.hero2 p.lead { font-size: 1.22rem; max-width: 660px; margin: 0 auto 34px; color:#d6d9e2; opacity:0; animation: heroRise .8s ease forwards 1.7s; }
.hero2 .hero-actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; opacity:0; animation: heroRise .8s ease forwards 2.05s; }
.hero2 .scroll-cue { position:absolute; bottom:22px; left:50%; transform:translateX(-50%); width:2px; height:44px; background:linear-gradient(var(--gold), transparent); opacity:0; animation: heroRise 1s ease forwards 2.6s; }

header.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.35); }

/* Gold growing divider (column motif) */
.col-divider { width: 3px; height: 0; background: var(--gold); margin: 0 auto 26px; transition: height 1s ease .2s; }
.rv.in-view .col-divider, .in-view .col-divider { height: 56px; }
.gold-rule { width: 74px; height: 3px; background: var(--gold); margin: 14px auto 0; }

/* Price-style practice directory */
.pa-directory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.pa-group { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 8px; padding: 30px 28px; box-shadow: var(--shadow); }
.pa-group h3 { font-size: 1.35rem; margin-bottom: 6px; }
.pa-group .sub { color: var(--gray); font-size: 14.5px; margin-bottom: 16px; }
.pa-group ul { list-style: none; }
.pa-group ul li { border-bottom: 1px solid var(--line); }
.pa-group ul li:last-child { border-bottom: none; }
.pa-group ul li a { display: flex; align-items: center; justify-content: space-between; padding: 11px 2px; color: var(--ink); font-weight: 600; font-size: 15.5px; transition: padding-left .2s, color .2s; }
.pa-group ul li a:hover { color: var(--gold); padding-left: 8px; }
.pa-group ul li a::after { content: "→"; color: var(--gold); font-weight: 700; }

/* Testimonial slider */
.t-wrap { max-width: 780px; margin: 0 auto; text-align: center; }
.t-slider { display: grid; }
.t-slide { grid-area: 1 / 1; opacity: 0; transition: opacity .7s ease; pointer-events: none; }
.t-slide.active { opacity: 1; pointer-events: auto; }
.t-slide .stars { color: var(--gold); letter-spacing: 4px; font-size: 20px; margin-bottom: 16px; }
.t-slide p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.55; color: var(--navy); font-style: italic; margin-bottom: 18px; }
.t-slide .who { font-weight: 700; color: var(--gray); font-style: normal; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }
.t-dots { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.t-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: none; cursor: pointer; transition: background .2s, transform .2s; }
.t-dot.active { background: var(--gold); transform: scale(1.25); }

/* Sticky mobile call bar */
.call-bar { display: none; }
@media (max-width: 860px) {
  .call-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
    background: var(--gold); color: var(--navy-deep); font-weight: 800; font-size: 17px;
    align-items: center; justify-content: center; gap: 10px; padding: 15px 10px;
    box-shadow: 0 -4px 16px rgba(0,0,0,.25); letter-spacing: .4px; }
  .call-bar svg { width: 20px; height: 20px; }
  body { padding-bottom: 54px; }
}

/* Reduced motion: disable all entrance animation */
@media (prefers-reduced-motion: reduce) {
  .rv, .hero2 .eyebrow, .hero2 h1 .w, .hero2 p.lead, .hero2 .hero-actions, .hero2 .scroll-cue { opacity: 1 !important; transform: none !important; animation: none !important; }
  .hero2 .col-mark path { stroke-dashoffset: 0; animation: none; }
  .hero2 .hero-bgimg { animation: none; }
  .col-divider { height: 56px; }
}

/* Hero logo column (extracted from brand badge) */
.hero2 .col-mark-img { display:block; margin: 0 auto 26px; width: 100px; height: auto; opacity: 0; animation: heroRise .9s ease forwards .15s; filter: drop-shadow(0 4px 14px rgba(0,0,0,.35)); }
@media (prefers-reduced-motion: reduce){ .hero2 .col-mark-img { opacity:1; animation:none; } }
