/*
Theme Name: Oliver Law Office
Template: hello-elementor
Description: Oliver Law Office, Dublin and Columbus, Ohio. Built on Hello Elementor; every page is an Elementor page.
Version: 2.0
*/

@font-face { font-family: "Libre Caslon Text"; src: url(fonts/libre-caslon-text-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url(fonts/libre-caslon-text-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url(fonts/libre-caslon-text-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

/* The Statehouse at noon: limestone, ink, oxblood leather, brass. */
:root {
  --lime: #efe9dd; --lime-2: #e4dccb; --ink: #1b1916; --ox: #7a2431; --ox-2: #5f1a25; --brass: #b4873a; --brass-2: #9a7130;
  --soft: rgba(27, 25, 22, .8); --quiet: rgba(27, 25, 22, .6); --line: rgba(27, 25, 22, .14);
  --serif: "Libre Caslon Text", Georgia, serif; --sans: "Source Sans 3", system-ui, sans-serif;
  --well: min(1200px, calc(100% - 40px));
}
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--lime); color: var(--ink); font: 400 18px/1.7 var(--sans); overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--ox); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--ink); line-height: 1.12; letter-spacing: -.01em; }
.elementor-widget-heading .elementor-heading-title { font-family: var(--serif); color: var(--ink); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* header: limestone bar, oxblood actions */
.ol-head { position: sticky; top: 0; z-index: 60; background: rgba(239, 233, 221, .97); backdrop-filter: blur(8px); border-bottom: 3px solid var(--ox); }
.ol-head__in { width: var(--well); margin: 0 auto; display: flex; align-items: center; gap: 28px; min-height: 84px; }
.ol-logo img { display: block; height: 50px; width: auto; }
.ol-nav { margin-left: auto; }
.ol-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.ol-nav a { display: block; padding: 10px 12px; font: 600 15.5px var(--sans); color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.ol-nav a:hover, .ol-nav .current-menu-item > a { border-bottom-color: var(--ox); color: var(--ox); }
.ol-head__call { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; line-height: 1.1; }
.ol-head--landing .ol-head__call { margin-left: auto; }
.ol-head__call > a:first-child { font: 700 24px var(--serif); color: var(--ox); text-decoration: none; }
.ol-head__cta { display: inline-block; padding: 7px 14px; background: var(--ox); color: #fff !important; font: 700 11.5px var(--sans); letter-spacing: .06em; text-decoration: none; }
.ol-head__cta:hover { background: var(--ox-2); }
.ol-burger { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); color: var(--ink); font: 700 14px var(--sans); padding: 8px 14px; }
.ol-callbar { display: none; }
@media (max-width: 1020px) {
  .ol-head__call { display: none; }
  .ol-burger { display: block; }
  .ol-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--lime); border-bottom: 3px solid var(--ox); padding: 8px 20px 16px; }
  .ol-nav.is-open { display: block; }
  .ol-nav ul { flex-direction: column; }
  .ol-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .ol-head--landing .ol-head__call { display: flex; }
  .ol-head--landing .ol-head__cta { display: none; }
  .ol-head--landing .ol-head__call > a:first-child { font-size: 20px; }
  .ol-callbar { display: flex; justify-content: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 14px; background: var(--ox); color: #fff; font: 700 18px var(--sans); text-decoration: none; box-shadow: 0 -6px 20px rgba(0, 0, 0, .2); }
  body { padding-bottom: 56px; }
}
@media (max-width: 480px) { .ol-logo img { height: 40px; } .ol-head__in { min-height: 68px; gap: 14px; } }

/* buttons: square, confident */
.ol-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 26px; font: 700 16px var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 2px solid var(--ox); transition: background .2s, color .2s; }
.ol-btn--call, .ol-btn--gold { background: var(--ox); color: #fff; }
.ol-btn--call:hover, .ol-btn--gold:hover { background: var(--ox-2); border-color: var(--ox-2); }
.ol-btn--ghost { background: transparent; color: var(--ox); }
.ol-btn--ghost:hover { background: var(--ox); color: #fff; }
.ol-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Elementor containers */
.e-con.ol-sec { padding-top: 96px !important; padding-bottom: 96px !important; }
.ol-sec--stone { background: var(--lime-2); }
.ol-sec--ink { background: var(--ink); }
.ol-sec--ink .elementor-heading-title, .ol-sec--ink h2 { color: #fff; }
.ol-sec--ink .ol-btn--call { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.ol-two > .e-con-inner, .ol-two.e-con-full { display: grid !important; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.ol-founder > .e-con-inner { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; }
.ol-sec > .e-con-inner > .ol-two, .ol-sec > .e-con-inner > .ol-narrow { width: 100%; }
.ol-narrow { max-width: 780px; }
.ol-sec .elementor-widget:not(:last-child) { margin-bottom: 18px; }
.ol-eyebrow .elementor-heading-title { font: 700 13px var(--sans) !important; letter-spacing: .16em; text-transform: uppercase; color: var(--ox) !important; }
.ol-h1 .elementor-heading-title { font-size: clamp(40px, 5vw, 76px); line-height: 1.02; letter-spacing: -.02em; }
.ol-h1 .elementor-heading-title em { font-style: italic; font-weight: 400; color: var(--ox); }
.ol-h2 .elementor-heading-title { font-size: clamp(30px, 3.6vw, 48px); }
.ol-lede p { font-size: 20px; color: var(--soft); max-width: 36em; }

/* home hero: Jami, tall, beside the headline */
.e-con.ol-split { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 0 !important; min-height: min(86vh, 820px); background: var(--lime); }
.ol-split__img { position: relative; overflow: hidden; padding: 0 !important; }
.ol-split__img .elementor-widget-image, .ol-split__img .elementor-widget-container { position: absolute; inset: 0; margin: 0 !important; }
.ol-split__img img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: center 28%; display: block; }
.ol-split__text { padding: clamp(40px, 6vw, 96px) clamp(24px, 6vw, 96px) !important; justify-content: center; border-left: 8px solid var(--ox); }
.ol-split__text .ol-h1 .elementor-heading-title { font-size: clamp(44px, 5.6vw, 88px); }

/* results band */
.e-con.ol-band { background: var(--ox); padding: 0 !important; }
.ol-band .ol-results { width: var(--well); margin: 0 auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.ol-band .ol-results li { background: transparent; border: 0; border-left: 1px solid rgba(255, 255, 255, .22); border-radius: 0; padding: 34px 26px; color: #fff; }
.ol-band .ol-results li:first-child { border-left: 0; padding-left: 0; }
.ol-band .ol-results strong { color: #fff; font-size: clamp(40px, 4vw, 60px); }
.ol-band .ol-results span { color: #e9cf9f; }
.ol-band .ol-results p { color: rgba(255, 255, 255, .82); }
.ol-results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ol-results li { background: #fff; border-top: 4px solid var(--ox); padding: 22px; }
.ol-results strong { display: block; font: 700 clamp(32px, 3vw, 44px)/1 var(--serif); color: var(--ox); }
.ol-results span { display: block; margin: 6px 0; font: 700 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-2); }
.ol-results p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--soft); }

/* practice pages: a hero, then an article with a contents list */
.e-con.ol-phero { padding: 72px 0 !important; background: linear-gradient(90deg, var(--lime) 0 58%, var(--lime-2) 58% 100%); border-bottom: 1px solid var(--line); }
.ol-phero .ol-two > .e-con-inner { align-items: start; }
.e-con.ol-article { padding: 88px 0 !important; }
.ol-article > .e-con-inner { display: grid !important; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 64px; align-items: start; }
.ol-article__toc { position: relative; padding: 0 !important; }
.ol-toc { position: sticky; top: 112px; border-top: 3px solid var(--ox); padding-top: 16px; }
.ol-toc p { margin: 0 0 10px; font: 700 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ox); }
.ol-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.ol-toc li { counter-increment: toc; }
.ol-toc a { display: grid; grid-template-columns: 2em 1fr; padding: 7px 0; color: var(--ink); text-decoration: none; font: 600 15px/1.35 var(--sans); border-bottom: 1px solid var(--line); }
.ol-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--brass-2); font-family: var(--serif); }
.ol-toc a:hover { color: var(--ox); }
.ol-article__body { max-width: 760px; padding: 0 !important; }
.ol-article__body .elementor-widget:not(:last-child) { margin-bottom: 0; }
.ol-text p, .ol-text li { color: var(--soft); }
.ol-text h2 { font-size: clamp(28px, 3vw, 40px); margin: 56px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.ol-article__body .ol-text:first-child h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.ol-text h3 { font-size: 23px; margin: 30px 0 8px; }
.ol-text h4 { font-size: 19px; margin: 22px 0 6px; }
.ol-text ul { padding-left: 1.2em; }
.ol-text li::marker { color: var(--ox); }
.ol-list { columns: 2 240px; column-gap: 32px; }
.ol-list li { break-inside: avoid; }

/* video */
.ol-watch .elementor-heading-title { font-style: italic; font-weight: 400; }
.ol-player { margin: 0; border: 10px solid #fff; box-shadow: 0 30px 70px rgba(27, 25, 22, .25); }
.ol-player video { display: block; width: 100%; height: auto; background: var(--ink); }

/* cards, steps, founder */
.ol-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ol-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ol-card { background: #fff; display: flex; flex-direction: column; text-decoration: none; color: inherit; border-bottom: 4px solid transparent; transition: border-color .2s, transform .2s; }
.ol-card:hover { border-bottom-color: var(--ox); transform: translateY(-3px); }
.ol-card--img img { width: 100%; aspect-ratio: 17 / 11; object-fit: cover; display: block; }
.ol-card h3 { margin: 0; padding: 16px 20px 20px; font-size: 22px; }
.ol-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.ol-steps li { padding: 22px 18px 0 0; }
.ol-steps li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.ol-steps h3 { font-size: 19px; margin: 0 0 8px; color: var(--ox); }
.ol-steps p { margin: 0; font-size: 15.5px; color: var(--soft); }
.ol-founder .elementor-widget-image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 20%; }
.ol-housecalls .elementor-heading-title { font-style: italic; font-weight: 400; font-size: 30px; color: var(--ox); margin-top: 28px; }

/* badges, cities, team, offices */
.ol-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 34px; }
.ol-badges li img { height: 82px !important; width: auto !important; max-width: none !important; display: block; }
.ol-cities { list-style: none; margin: 0; padding: 0; columns: 5 160px; column-gap: 24px; }
.ol-cities li { padding: 7px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font: 600 17px var(--sans); }
.ol-team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 26px; }
.ol-team li, .ol-team a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: inherit; }
.ol-team img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; background: var(--lime-2); width: 100%; }
.ol-team strong { font: 700 21px var(--serif); margin-top: 10px; }
.ol-team span { color: var(--ox); font: 600 14px var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.ol-offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ol-offices > div { background: #fff; padding-bottom: 18px; }
.ol-offices img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; display: block; }
.ol-offices p { margin: 0 22px 6px; }
.ol-addr { font: 700 20px/1.3 var(--serif); color: var(--ink); margin-top: 18px !important; }

/* form */
.ol-form { background: #fff; color: var(--ink); padding: 26px; border-top: 6px solid var(--ox); box-shadow: 0 24px 60px rgba(27, 25, 22, .18); }
.ol-form__title { font: 700 24px/1.15 var(--serif); color: var(--ink); margin: 0 0 14px; }
.ol-form form { display: grid; gap: 12px; }
.ol-form label { display: block; font: 600 15px var(--sans); color: var(--ink); }
.ol-form input, .ol-form textarea { display: block; margin-top: 4px; font: 400 17px var(--sans); padding: 12px 14px; border: 1.5px solid #cfc6b4; border-radius: 0; background: #fffdf8; color: var(--ink); width: 100%; box-sizing: border-box; }
.ol-form input:focus, .ol-form textarea:focus { border-color: var(--ox); outline: none; box-shadow: 0 0 0 3px rgba(180, 135, 58, .3); }
.ol-check { display: flex !important; gap: 10px; align-items: flex-start; font: 400 13px/1.45 var(--sans) !important; color: var(--soft) !important; }
.ol-check input { width: auto !important; margin-top: 3px !important; }
.ol-form button { width: 100%; }
.ol-form__fine { margin: 0; font-size: 13px; color: var(--quiet); line-height: 1.45; }
.ol-form__ok { margin: 0; padding: 14px 16px; background: #f4ece4; border-left: 4px solid var(--ox); color: var(--ink); }
.ol-form__err { margin: 0 0 10px; padding: 10px 14px; background: #fbeee6; border-left: 4px solid #b04a1f; color: var(--ink); }
.ol-hp { position: absolute; left: -9999px; }

/* FAQ */
.ol-faq { border-top: 3px solid var(--ink); margin-top: 8px; }
.ol-faq details { border-bottom: 1px solid var(--line); }
.ol-faq summary { cursor: pointer; padding: 18px 36px 18px 0; font: 700 19px/1.3 var(--serif); color: var(--ink); list-style: none; position: relative; }
.ol-faq summary::-webkit-details-marker { display: none; }
.ol-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 30px var(--sans); color: var(--ox); }
.ol-faq details[open] summary::after { content: "\2212"; }
.ol-faq details > div p { color: var(--soft); margin: 0 0 14px; }

/* footer */
.ol-foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 64px 0 0; border-top: 8px solid var(--ox); }
.ol-foot__in { width: var(--well); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ol-foot img { filter: brightness(0) invert(1); opacity: .92; height: 46px; width: auto; }
.ol-foot a { color: #fff; }
.ol-foot__tel { font: 700 24px var(--serif); text-decoration: none; }
.ol-foot nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ol-foot__legal { width: var(--well); margin: 48px auto 0; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .6); }

@media (max-width: 1020px) {
  .ol-results, .ol-band .ol-results, .ol-cards, .ol-cards--four { grid-template-columns: 1fr 1fr; }
  .ol-band .ol-results li:nth-child(3) { border-left: 0; padding-left: 0; }
  .ol-steps { grid-template-columns: 1fr 1fr; }
  .ol-foot__in { grid-template-columns: 1fr 1fr; }
  .ol-article > .e-con-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .e-con.ol-article { padding: 48px 0 !important; }
  .ol-toc { position: static; }
}
@media (max-width: 900px) {
  .ol-two > .e-con-inner, .ol-two.e-con-full, .ol-founder > .e-con-inner { grid-template-columns: 1fr; gap: 32px; }
  .e-con.ol-split { grid-template-columns: 1fr; min-height: 0; }
  .ol-split__img { height: 62vw; max-height: 460px; }
  .ol-split__text { border-left: 0; border-top: 8px solid var(--ox); }
  .e-con.ol-phero { background: var(--lime); padding: 40px 0 !important; }
  .e-con.ol-sec { padding-top: 56px !important; padding-bottom: 56px !important; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .ol-results, .ol-band .ol-results, .ol-cards, .ol-cards--four, .ol-offices, .ol-foot__in, .ol-steps { grid-template-columns: 1fr; }
  .ol-band .ol-results li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); padding: 22px 0; }
  .ol-band .ol-results li:first-child { border-top: 0; }
  .ol-steps li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .ol-badges li img { height: 60px !important; }
  .ol-ctas .ol-btn { width: 100%; }
  .ol-lede p { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ol-card { transition: none; } }
