/* The Law Office of Chad G. Greiner, LLC */
:root {
  --gold: #c89a69;
  --gold-soft: rgba(200, 154, 105, 0.71);
  --brown: #997361;
  --ink: #272725;
  --text: #1e1e1e;
  --muted: #797979;
  --muted-light: #a09c9c;
  --light: #f8f8f8;
  --light-2: #f6f6f6;
  --topbar: #2e2e2e;
  --footer: #4d4d4b;
  --footer-bottom: #272725;
  --serif: "Roboto Slab", Georgia, serif;
  --display: "Playfair Display", Georgia, serif;
  --button: "Josefin Sans", Arial, sans-serif;
  --sans: "Open Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; }

.container { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 30px; }
.center { text-align: center; }
.divider { width: 36px; height: 3px; background: var(--gold); border: 0; margin: 20px auto; }
.divider.left { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--button);
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 30px 13px;
  min-width: 225px;
  text-align: center;
  transition: background .25s, color .25s, border-color .25s;
  cursor: pointer;
}
.btn-outline-light { border: 2px solid var(--gold); color: #fff; background: transparent; }
.btn-outline-light:hover { background: var(--gold); }
.btn-gold { background: var(--gold); color: #fff; border: 2px solid var(--gold); min-width: 200px; }
.btn-gold:hover { background: transparent; }
.btn-outline-gold { border: 2px solid var(--gold); color: var(--gold); background: transparent; min-width: 280px; }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

/* ---------- Top bar ---------- */
/* Horizontal padding lines the icons up with the logo and the phone number with the last nav item. */
.topbar { background: var(--topbar); color: #fff; font-size: 16px; padding: 0 49px 0 57px; }
.topbar .container { max-width: none; margin: 0; padding: 0; display: flex; justify-content: space-between; align-items: center; height: 38px; }
.social { display: flex; gap: 7px; align-items: center; }
.topbar .social { gap: 18px; }
.social a { color: var(--gold); display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 28px; }
.topbar .social a { width: auto; height: 38px; }
.social svg { width: 14px; height: 14px; fill: currentColor; }
.topbar .call { font-weight: 700; line-height: 38px; }
.topbar .call { font-weight: 700; }
.topbar .call a { color: var(--gold); }

/* ---------- Header / nav ---------- */
.site-header { background: #fff; position: relative; z-index: 50; }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; height: 91px; padding: 0 30px 0 57px; }
.logo img { width: 300px; height: auto; }
.nav { display: flex; gap: 0; align-items: center; margin: 0; padding: 0; }
.nav > li { position: relative; list-style: none; }
.nav > li > a { padding: 0 18px; line-height: 24px; }
.nav > li:last-child > a { padding-right: 19px; }
.nav a { font-size: 18px; letter-spacing: 0.54px; color: var(--text); transition: color .2s; display: inline-flex; align-items: center; gap: 10px; }
.nav a:hover, .nav a.active { color: var(--gold); }
.has-dropdown { padding: 33px 0; }
@media (min-width: 1600px) {
  .site-header .inner { height: 101px; }
  .logo img { width: 366px; }
}
.nav .caret { width: 10px; height: 10px; }
.dropdown {
  position: absolute; top: 100%; left: 0; background: #fff; min-width: 240px;
  box-shadow: 0 6px 18px rgba(0,0,0,.1); padding: 10px 0; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { font-family: var(--display); font-size: 15px; letter-spacing: .45px; color: var(--ink); padding: 9px 22px; display: block; }
.dropdown a:hover { color: var(--gold); background: var(--light); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; color: #fff;
  background: url(../img/hero-home.jpg) center/cover no-repeat;
  padding: 206px 50px 256px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.7); }
.hero .container { position: relative; max-width: 1060px; }
.hero .since { font-family: var(--display); color: var(--gold); font-size: 20px; margin-bottom: 18px; }
.hero h1 { font-size: 70px; line-height: 1.25; max-width: 700px; margin-bottom: 40px; }
.hero .btn-call { display: none; }

/* ---------- Home intro ---------- */
.intro { padding: 80px 30px; text-align: center; }
.intro h2 { font-size: 35px; color: var(--ink); max-width: 560px; margin: 0 auto 40px; line-height: 1.35; }
.intro p { color: var(--muted); line-height: 24px; max-width: 1000px; margin: 0 auto 30px; }
.intro .read-more { font-weight: 700; font-size: 17px; color: var(--gold); text-decoration: underline; }

/* ---------- Superstar team ---------- */
.team {
  position: relative; background: #111 url(../img/team-bg.png) center/cover no-repeat;
  color: #fff; padding: 31px 40px 0; overflow: hidden;
}
.team::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.team .container { position: relative; display: flex; align-items: flex-end; gap: 40px; max-width: 1160px; }
.team .copy { flex: 1 1 50%; padding: 30px 0 50px; max-width: 520px; }
.team .eyebrow { font-family: var(--display); font-size: 20px; margin-bottom: 10px; }
.team h2 { font-size: 35px; color: var(--gold-soft); margin-bottom: 18px; }
.team p { line-height: 24px; margin-bottom: 36px; }
.team .photo { flex: 1 1 50%; display: flex; justify-content: center; }
.team .photo img { max-height: 510px; width: auto; }

/* ---------- Practice tiles (home) ---------- */
.practice-home { padding: 75px 40px 70px; text-align: center; }
.practice-home h2 { font-size: 35px; color: var(--ink); }
.practice-home .lead { color: var(--muted); max-width: 1000px; margin: 0 auto 50px; line-height: 1.5; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; max-width: 1000px; margin: 0 auto; }
.tile { position: relative; aspect-ratio: 1 / 0.97; background-size: cover; background-position: center; overflow: hidden; display: block; }
.tile .overlay {
  position: absolute; inset: 0; background: rgba(39,39,37,.75); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  opacity: 0; transition: opacity .3s;
}
.tile:hover .overlay, .tile:focus .overlay { opacity: 1; }
.tile h3 { font-family: var(--display); font-size: 20px; }
.tile .mini-btn { font-family: var(--button); font-size: 12px; text-transform: uppercase; border: 1px solid var(--gold); padding: 9px 18px 7px; }

/* ---------- Stats ---------- */
.stats { position: relative; background: url(../img/stats-bg.jpg) center/cover fixed; color: #fff; padding: 100px 30px; }
.stats::before { content: ""; position: absolute; inset: 0; background: rgba(60,60,58,.92); }
.stats .grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 780px; margin: 0 auto; text-align: center; gap: 30px; }
.stat .ring { width: 150px; height: 150px; border: 2px solid var(--gold); border-radius: 50%; margin: 0 auto 36px; display: flex; align-items: center; justify-content: center; }
.stat .ring svg { width: 46px; height: 46px; fill: #fff; }
.stat h3 { font-family: var(--display); color: var(--gold); font-size: 20px; margin-bottom: 10px; }
.stat p { font-size: 16px; line-height: 1.4; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 90px 50px 90px; text-align: center; }
.testimonials .quote-mark { font-family: var(--display); color: var(--gold); font-size: 120px; line-height: .7; height: 60px; margin-bottom: 30px; }
.slider { position: relative; max-width: 1000px; margin: 0 auto; padding: 0 80px; }
.slide { display: none; }
.slide.active { display: block; animation: fade .6s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.slide blockquote { margin: 0 auto 14px; max-width: 700px; font-style: italic; line-height: 1.4; color: #000; }
.slide cite { font-family: var(--display); font-style: normal; font-size: 24px; color: var(--gold); }
.slider .arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--gold); cursor: pointer; padding: 10px; }
.slider .arrow svg { width: 22px; height: 38px; stroke: currentColor; fill: none; stroke-width: 3; }
.slider .prev { left: 0; }
.slider .next { right: 0; }

/* ---------- Contact form section ---------- */
.speak { background: #f7f7f7; padding: 75px 30px 110px; text-align: center; }
.speak h2 { font-size: 35px; color: var(--ink); }
.speak .lead { color: #000; max-width: 800px; margin: 0 auto 40px; line-height: 1.45; }
.contact-form { max-width: 930px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; text-align: left; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 0; background: #fff; font-family: var(--serif); font-size: 15px; color: var(--text);
  padding: 11px 10px;
}
.contact-form textarea { min-height: 70px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #666; }
.contact-form input:focus, .contact-form textarea:focus { outline: 1px solid var(--gold); }
.contact-form .actions { grid-column: 1 / -1; text-align: center; margin-top: 4px; }
.contact-form .btn { min-width: 244px; padding: 14px 20px 11px; font-size: 16px; }
.form-msg { display: none; grid-column: 1 / -1; text-align: center; line-height: 1.5; }
.form-msg.show { display: block; }

/* ---------- Page banners ---------- */
.banner { height: 238px; background-size: cover; background-position: center; }
.banner-about { background-image: url(../img/banner-about.jpg); }
.banner-practice { background-image: url(../img/banner-practice.jpg); }

/* ---------- About ---------- */
.about { padding: 70px 30px 80px; }
.about .container { max-width: 900px; padding: 0; }
.about h1 { font-size: 35px; color: var(--gold); }
.about .row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.about p { font-size: 17px; font-weight: 300; line-height: 20px; color: var(--text); margin-bottom: 20px; }
.about hr.rule { border: 0; border-top: 1px solid #333; margin: 18px 0 20px; }
.about h2 { font-family: var(--display); color: var(--gold); font-size: 20px; margin-bottom: 10px; }
.areas-band { background: var(--gold); color: #fff; padding: 55px 20px; text-align: center; font-family: var(--display); font-size: 22px; line-height: 1.5; }

/* ---------- Practice areas page ---------- */
.practice-intro { padding: 70px 30px 30px; text-align: center; }
.practice-intro h1 { font-size: 35px; color: var(--ink); }
.practice-intro .divider { margin-top: 0; margin-bottom: 20px; }
.practice-intro p { color: var(--muted); font-size: 17px; max-width: 900px; margin: 0 auto 30px; line-height: 1.3; }
.practice-intro .specialize { color: var(--brown); font-weight: 700; font-size: 17px; }
.area { display: grid; grid-template-columns: 1fr 1fr; background: var(--light-2); min-height: 528px; scroll-margin-top: 20px; }
.area .img { background-size: cover; background-position: center; min-height: 300px; }
.area .text { display: flex; flex-direction: column; justify-content: center; padding: 60px 50px 60px 50px; max-width: 520px; }
.area.reverse .img { order: 2; }
.area.reverse .text { justify-self: end; }
.area h2 { font-style: italic; font-size: 35px; color: var(--gold); margin-bottom: 26px; }
.area p { color: var(--muted-light); line-height: 1.4; margin-bottom: 30px; }
.arrow-link { font-family: var(--button); color: var(--gold); display: inline-flex; align-items: center; gap: 16px; font-size: 16px; }
.arrow-link::before { content: ""; width: 22px; height: 2px; background: var(--gold); box-shadow: none; }
.arrow-link svg { display: none; }

/* ---------- Contact page ---------- */
.contact-page { padding: 50px 30px 90px; text-align: center; }
.contact-page h1 { font-size: 35px; color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1000px; margin: 50px auto 0; }
.contact-grid h3 { font-weight: 700; color: var(--gold); font-size: 16px; margin-bottom: 4px; }
.contact-grid p { margin: 0 0 18px; line-height: 1.35; }
.contact-grid .appt { font-weight: 700; margin-top: 14px; }
.contact-grid .social { justify-content: center; margin-top: 30px; }
.map { height: 250px; background: #2b2b2b; }
.map iframe { width: 100%; height: 100%; border: 0; filter: invert(90%) hue-rotate(180deg) grayscale(.6); }

/* ---------- News / blog ---------- */
.news { padding: 60px 30px 90px; }
.news h1 { font-size: 35px; color: var(--ink); text-align: center; }
.post-list { max-width: 900px; margin: 40px auto 0; display: grid; gap: 50px; }
.post-card { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
.post-card .thumb { aspect-ratio: 300 / 230; background-size: cover; background-position: center; display: block; }
.post-card h2 { font-family: var(--display); font-size: 22px; color: var(--gold); margin-bottom: 8px; }
.post-meta { font-size: 13px; color: #333; margin-bottom: 12px; }
.post-card p { line-height: 1.5; }
.blog-lead { text-align: center; color: var(--muted); font-size: 17px; margin: 0 auto; }
.post-card .arrow-link { font-size: 14px; }
.post { padding: 40px 30px 60px; }
.post .container { max-width: 820px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.breadcrumbs a { color: var(--gold); }
.post h1 { font-family: var(--serif); font-size: 38px; line-height: 1.25; color: var(--ink); margin-bottom: 14px; }
.post .byline { font-size: 14px; color: var(--muted); margin-bottom: 30px; }
.post .hero-img { width: 100%; max-height: 460px; object-fit: cover; margin-bottom: 30px; }
.post .body { font-size: 17px; line-height: 1.7; color: #333; }
.post .body p { margin-bottom: 1.1em; }
.post .body .intro-lede { font-size: 19px; color: var(--ink); }
.post .body h2 { font-family: var(--display); color: var(--gold); font-size: 28px; line-height: 1.3; margin: 1.6em 0 .6em; }
.post .body h3 { font-size: 19px; font-weight: 700; color: var(--ink); margin: 1.3em 0 .4em; }
.post .body ul, .post .body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.post .body li { margin-bottom: .55em; }
.post .body a { color: var(--gold); text-decoration: underline; }
.post .body strong { color: var(--ink); }
.cta-box { background: var(--light); border-left: 4px solid var(--gold); padding: 26px 30px; margin: 40px 0 30px; }
.cta-box h2 { margin-top: 0 !important; font-size: 24px !important; }
.cta-box p { margin: 0; }
.disclaimer { font-size: 13px; color: var(--muted); font-style: italic; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share a { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #ccc; border-radius: 3px; font-family: Arial, sans-serif; font-size: 11px; color: #555; padding: 0 8px 0 0; background: #f7f7f7; overflow: hidden; }
.share a span { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; color: #fff; }
.share svg { width: 11px; height: 11px; fill: #fff; }
.post-nav { display: flex; justify-content: space-between; margin: 30px 0 20px; }
.post .nav-link { color: var(--gold); font-size: 14px; margin: 0; }
.related { padding: 50px 30px 70px; border-top: 1px solid #eee; }
.related .container { max-width: 1000px; }
.related-title { font-size: 28px; text-align: center; color: var(--ink); margin-bottom: 36px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.related-grid .post-card { grid-template-columns: 1fr; gap: 16px; }
.related-grid h3 { font-family: var(--display); font-size: 20px; color: var(--gold); margin-bottom: 6px; }
.related-grid p { font-size: 14px; line-height: 1.5; }

/* ---------- 404 ---------- */
.notfound { padding: 120px 30px; text-align: center; }
.notfound h1 { font-size: 35px; color: var(--gold); margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #fff; }
.site-footer .main { padding: 50px 40px; }
.site-footer .cols { display: grid; grid-template-columns: 1.1fr 1fr 1.05fr .8fr; gap: 10px; max-width: 960px; margin: 0 auto; }
.site-footer .flogo img { width: 240px; margin-bottom: 26px; }
.site-footer h4 { font-family: var(--display); color: var(--gold); font-size: 22px; margin-bottom: 10px; }
.site-footer p { line-height: 1.3; margin-bottom: 14px; }
.site-footer .links { list-style: none; margin: 0; padding: 0; }
.site-footer .links li { margin-bottom: 12px; }
.site-footer .links a:hover { color: var(--gold); }
.site-footer .bottom { background: var(--footer-bottom); text-align: center; font-family: var(--sans); font-size: 14px; padding: 8px 20px; }
.site-footer .bottom span { font-weight: 300; }
.site-footer .bottom a { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .topbar { padding: 0 28px 0 24px; }
  .site-header .inner { padding: 0 16px 0 24px; }
  .nav > li > a { padding: 0 12px; }
  .hero h1 { font-size: 54px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 767px) {
  .container { padding: 0 16px; }
  .topbar { padding: 0 16px; }
  .topbar .container { justify-content: center; }
  .site-header .inner { height: 76px; padding: 0 16px; }
  .has-dropdown { padding: 0; }
  .nav > li > a, .nav > li:last-child > a { padding: 10px 0; }
  .topbar .social { display: none; }
  .menu-toggle { display: block; }
  .logo img { width: 220px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 24px 20px; box-shadow: 0 8px 18px rgba(0,0,0,.1); display: none;
  }
  .nav.open { display: flex; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 12px; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .hero { padding: 110px 16px 130px; }
  .hero h1 { font-size: 40px; }
  .hero .btn-call { display: inline-block; margin-bottom: 14px; }
  .intro, .practice-home, .testimonials, .speak { padding-left: 16px; padding-right: 16px; }
  .intro h2, .practice-home h2, .speak h2 { font-size: 28px; }
  .team { padding: 30px 16px 0; }
  .team .container { flex-direction: column; align-items: stretch; }
  .team .photo img { max-height: 380px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .stats { background-attachment: scroll; padding: 70px 16px; }
  .stats .grid { grid-template-columns: 1fr; gap: 50px; }
  .slider { padding: 0 34px; }
  .contact-form { grid-template-columns: 1fr; }
  .banner { height: 160px; }
  .about .row { grid-template-columns: 1fr; }
  .area, .area.reverse { grid-template-columns: 1fr; min-height: 0; }
  .area.reverse .img { order: 0; }
  .area .img { min-height: 260px; }
  .area .text { padding: 40px 16px; }
  .area h2 { font-size: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .post { padding: 30px 16px 40px; }
  .post h1 { font-size: 28px; }
  .post .body h2 { font-size: 24px; }
  .related { padding: 40px 16px; }
  .related-grid { grid-template-columns: 1fr; }
  .post-card { grid-template-columns: 1fr; }
  .site-footer .main { padding: 40px 16px; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
.contact-form .hp { display: none; }
