/* Herning Law static site */
@font-face{font-family:"Playfair Display";src:url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
/* Tinos and Arimo match Times New Roman and Arial letter-for-letter, so every device renders the same layout.
   Browsers download a file only when the page uses that style. */
@font-face{font-family:"Tinos";src:url("../fonts/tinos-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Tinos";src:url("../fonts/tinos-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:"Tinos";src:url("../fonts/tinos-latin-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap;}
@font-face{font-family:"Arimo";src:url("../fonts/arimo-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Arimo";src:url("../fonts/arimo-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:"Arimo";src:url("../fonts/arimo-latin-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap;}

:root{
  --navy:#14314f;
  --navy-2:#1d4166;
  --gold:#b8935b;
  --gold-muted:#ada282;
  --gold-text:#856532; /* gold for text and buttons on light backgrounds (WCAG AA) */
  --gold-light:#d0af7a; /* gold for text on the navy header and hero photo (WCAG AA) */
  --text:#6b6a63;
  --text-2:#5f5f5f;
  --page:#f5f5f3;
  --band:#f1f1f1;
  --warm:#fffefa;
  --white:#ffffff;
  --serif:"Tinos","Times New Roman",Times,Georgia,serif;
  --sans:"Arimo",Arial,Helvetica,sans-serif;
  --logo:"Playfair Display","Tinos","Times New Roman",serif;
  --topbar-h:40px;
  --nav-h:88px;
  --hdr-h:calc(var(--topbar-h) + var(--nav-h));
  --wrap:1180px;
}
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 16px);}
body{margin:0;background:var(--page);color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;}
img{max-width:100%;height:auto;display:block;}
a{color:var(--gold-text);}
p{margin:0 0 1em;}
h1,h2,h3{font-family:var(--serif);font-weight:500;color:var(--navy);margin:0;line-height:1.2;}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 24px;}
.skip{position:absolute;left:-999px;top:0;background:var(--gold-text);color:#fff;padding:8px 14px;z-index:100;}
.skip:focus{left:12px;top:12px;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
:focus-visible{outline:3px solid var(--gold-text);outline-offset:2px;}
.site-header :focus-visible,.site-footer :focus-visible,.hero :focus-visible,.skip:focus-visible{outline-color:#fff;}

/* ---------- header ---------- */
.site-header{position:absolute;top:0;left:0;right:0;z-index:50;}
.topbar{height:var(--topbar-h);background:rgba(20,49,79,.55);color:#fff;font-size:14px;}
.topbar .wrap{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;}
.topbar a{color:#fff;text-decoration:none;}
.topbar .tb-right{display:flex;gap:28px;}
.topbar svg,.contact-item svg{width:15px;height:15px;fill:var(--gold);vertical-align:-2px;margin-right:8px;}
.navbar{height:var(--nav-h);background:rgba(20,49,79,.32);transition:background .25s,box-shadow .25s;}
.navbar .wrap{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;}
.navbar.is-fixed{position:fixed;top:0;left:0;right:0;background:var(--navy);box-shadow:0 2px 14px rgba(0,0,0,.18);}
.logo{display:inline-flex;align-items:center;gap:14px;font-family:var(--logo);font-size:28px;letter-spacing:.02em;text-decoration:none;color:var(--gold);white-space:nowrap;}
.logo-mark{flex:0 0 auto;width:60px;height:60px;}
.logo-text span{color:#fff;}
.nav{display:flex;align-items:center;gap:8px;}
.nav a{color:var(--gold-light);text-decoration:none;padding:12px 18px;font-size:16px;}
.nav a:hover,.nav a[aria-current="page"]{color:#fff;}
/* Practice Areas dropdown: opens on hover/keyboard focus without JS; main.js adds click and Escape */
.nav-group{position:relative;}
.nav-trigger{display:flex;align-items:center;gap:8px;background:none;border:0;font:inherit;font-size:16px;color:var(--gold-light);padding:12px 18px;cursor:pointer;}
.nav-trigger::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-3px) rotate(45deg);}
.nav-trigger:hover,.nav-trigger.is-current{color:#fff;}
.nav-label{display:none;}
.submenu{display:none;position:absolute;top:100%;left:6px;min-width:250px;margin:0;padding:10px 0;list-style:none;background:var(--navy);border-top:2px solid var(--gold);box-shadow:0 14px 30px rgba(0,0,0,.25);z-index:60;}
.nav-group:hover .submenu,html:not(.js) .nav-group:focus-within .submenu,.nav-group.open .submenu{display:block;}
.submenu a{display:block;padding:9px 22px;font-size:15px;}
.submenu .sub-hub a{font-family:var(--serif);font-size:17px;color:#fff;}
.submenu .sub-hub:not(:first-child){margin-top:6px;border-top:1px solid rgba(255,255,255,.12);padding-top:6px;}
.submenu .sub-child a{padding-left:36px;}
.btn{display:inline-block;font-family:var(--serif);font-weight:600;font-size:15px;letter-spacing:.02em;text-decoration:none;color:#fff;background:var(--gold-text);border:2px solid var(--gold-text);padding:12px 34px;transition:background .2s,color .2s;}
.btn:hover{background:transparent;color:var(--gold-text);}
.hero .btn:hover{color:var(--gold-light);border-color:var(--gold-light);}
.btn-outline{background:transparent;color:#fff;border-color:var(--gold);padding:8px 20px;}
.btn-outline:hover{background:var(--gold-text);border-color:var(--gold-text);color:#fff;}
.nav-call{display:none;}
.menu-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer;}
.menu-toggle span{display:block;width:26px;height:2px;background:var(--gold);margin:6px 0;}

/* ---------- heroes ---------- */
.hero{position:relative;color:#fff;background:var(--navy) center/cover no-repeat;background-image:linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),url("../img/hero-cable-car.jpg");background-image:linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-cable-car.webp") type("image/webp"),url("../img/hero-cable-car.jpg") type("image/jpeg"));}
.hero-home{background-image:linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),url("../img/hero-home.jpg");background-image:linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-home.webp") type("image/webp"),url("../img/hero-home.jpg") type("image/jpeg"));min-height:88vh;display:flex;align-items:center;padding:calc(var(--hdr-h) + 48px) 0 72px;}
.hero-home .hero-inner{max-width:640px;}
.hero .eyebrow{color:#fff;font-size:16px;margin-bottom:12px;letter-spacing:.04em;}
.hero h1{color:#fff;font-size:clamp(34px,5vw,56px);font-weight:400;margin-bottom:22px;}
.hero p{color:#fff;font-size:17px;}
.hero .btn{margin-top:12px;}
.page-hero{min-height:calc(var(--hdr-h) * 3.2);display:flex;align-items:center;padding:calc(var(--hdr-h) + 20px) 0 28px;background-position:center 45%;}
.page-hero{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),url("../img/hero-cable-car.jpg");background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-cable-car.webp") type("image/webp"),url("../img/hero-cable-car.jpg") type("image/jpeg"));}
.page-hero .eyebrow{color:#fff;margin-bottom:6px;}
.page-hero h1{margin-bottom:8px;}
.page-hero p{margin:0;}

/* ---------- sections ---------- */
.section{padding:88px 0;}
.band{background:var(--band);}
.warm{background:var(--warm);}
.white{background:var(--white);}
.eyebrow{display:block;color:var(--gold-text);font-size:16px;margin-bottom:10px;}
.section h2{font-size:clamp(26px,3.2vw,36px);margin-bottom:18px;}
.center{text-align:center;}
.rule{width:80px;height:2px;background:var(--gold);border:0;margin:18px auto 44px;}
.rule-left{margin:14px 0 18px;width:44px;}
.lede{max-width:760px;}
.lede p{font-size:17px;}

/* three-item bar */
.pillars{background:var(--white);padding:0;}
.pillars .grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;transform:translateY(-44px);background:var(--white);box-shadow:0 12px 40px rgba(20,49,79,.12);}
.pillar{display:flex;gap:18px;padding:34px 30px;border-right:1px solid #ecebe6;}
.pillar:last-child{border-right:0;}
.pillar .ico{flex:0 0 56px;height:56px;background:var(--gold);display:flex;align-items:center;justify-content:center;}
.pillar .ico svg{width:30px;height:30px;stroke:#fff;fill:none;stroke-width:1.6;}
.pillar h3{color:var(--gold-text);font-size:21px;font-weight:400;margin-bottom:6px;}
.pillar p{color:var(--navy);font-size:15px;margin:0;font-weight:500;}

/* cards */
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;}
.cards.one{grid-template-columns:minmax(0,680px);justify-content:center;}
.cards.three{grid-template-columns:repeat(3,minmax(0,1fr));}
.card{background:var(--white);padding:40px 38px;display:flex;gap:26px;align-items:flex-start;}
.card .ring{flex:0 0 74px;width:74px;height:74px;border:1px solid var(--gold);border-radius:50%;display:flex;align-items:center;justify-content:center;}
.card .ring svg{width:34px;height:34px;stroke:var(--gold);fill:none;stroke-width:1.5;}
.card .ring .qm{font-family:var(--serif);font-size:44px;line-height:1;color:var(--gold);margin-top:14px;}
.card h3{font-size:22px;font-weight:400;}
.card p{font-size:15px;line-height:1.7;}
.card .attrib{margin:14px 0 0;font-size:14px;color:var(--gold-text);}
.card .attrib a{color:var(--gold-text);}
.card.fact{display:block;padding:32px 30px;}
.quote{margin:0;}
.quote blockquote{margin:0;}

/* why */
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px;text-align:left;}
.step .num{font-family:var(--serif);font-size:18px;color:var(--gold-text);display:block;margin-bottom:10px;}
.step h3{font-size:22px;letter-spacing:-.3px;margin-bottom:10px;}
.step p{font-size:14.5px;color:var(--text-2);}

/* contact */
.contact-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:56px;align-items:start;}
.contact-list{display:grid;gap:26px;}
.contact-item h3{font-size:20px;font-weight:400;margin-bottom:4px;}
.contact-item a{color:var(--text);text-decoration:none;}
.tbd{background:#fff3a8;color:#000;padding:0 5px;border:1px dashed #b38f00;font-weight:600;}

/* contact page and form */
.contact-page{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:64px;align-items:start;}
.contact-page h2{font-size:clamp(24px,2.6vw,30px);margin-bottom:18px;}
.contact-aside h2:not(:first-child){margin-top:44px;}
.notice{border-left:4px solid var(--gold-text);background:var(--page);padding:16px 20px;margin-bottom:28px;}
.notice p{margin:0;color:var(--navy);}
.field{margin-bottom:22px;}
.field label{display:block;font-weight:700;color:var(--navy);margin-bottom:6px;}
.req{font-weight:400;font-size:14px;color:var(--text-2);}
.field input,.field select,.field textarea{display:block;width:100%;padding:12px 14px;font:inherit;color:var(--navy);background:#fff;border:1px solid #8a8a84;border-radius:0;}
.field textarea{min-height:160px;resize:vertical;}
.field [aria-invalid="true"]{border:2px solid #b3261e;}
.hint{display:block;font-size:14px;color:var(--text-2);margin-top:6px;}
.field-error{display:block;font-size:14px;font-weight:700;color:#b3261e;margin-top:6px;}
.field-error:empty{display:none;}
.checkbox{display:flex;gap:12px;align-items:flex-start;}
.checkbox input{flex:0 0 22px;width:22px;height:22px;margin:3px 0 0;accent-color:var(--gold-text);}
.checkbox label{font-weight:400;color:var(--text);margin:0;}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.form-privacy{font-size:14px;}
.form-status{margin-top:20px;}
.form-status:empty{display:none;}
.form-status.is-ok{border-left:4px solid #2e7d32;background:var(--page);padding:16px 20px;color:var(--navy);font-weight:700;}
.form-status.is-error{border-left:4px solid #b3261e;background:var(--page);padding:16px 20px;color:#b3261e;font-weight:700;}
.expect{padding-left:22px;margin:0;}
.expect li{margin-bottom:10px;}
.map-embed{margin-top:30px;border:1px solid var(--gold);line-height:0;}
.map-embed iframe{display:block;width:100%;height:320px;border:0;}

/* about */
.about-grid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:56px;align-items:start;}
.about-photo img{width:300px;border:1px solid var(--gold);}
.badge{margin-top:24px;display:flex;justify-content:center;}
.bio p{font-size:16.5px;line-height:1.75;}

/* 404 */
.link-list{margin:24px 0 0;padding-left:20px;line-height:2;}

/* legal */
.legal{max-width:820px;}
.legal h2{font-size:28px;margin:10px 0 18px;}
.legal h2 + p{margin-top:0;}
.legal h3{font-size:21px;margin:30px 0 10px;}
.legal ul{margin:0 0 1em;padding-left:22px;}
.legal li{margin-bottom:6px;}
.legal .updated{font-size:14px;color:var(--text-2);}
.disclaimer{max-width:900px;margin:40px auto 0;text-align:center;font-size:14px;font-style:italic;color:var(--text-2);}

/* ---------- practice area pages ---------- */
.breadcrumb{margin-bottom:14px;font-size:14px;}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;}
.breadcrumb li:not(:last-child)::after{content:"/";margin-left:6px;color:rgba(255,255,255,.6);}
.breadcrumb a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.55);text-underline-offset:3px;}
.breadcrumb a:hover{text-decoration-color:#fff;}
.breadcrumb [aria-current="page"]{color:#fff;}
.hero .hero-sub{font-family:var(--serif);font-style:italic;font-size:clamp(19px,2.2vw,23px);}
.pa-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:64px;align-items:start;}
.pa-main{max-width:760px;}
.pa-section{margin-bottom:64px;}
.pa-section:last-child{margin-bottom:0;}
.pa-section > h2{font-size:clamp(26px,3vw,34px);margin-bottom:6px;}
.pa-section > h2 + .rule-left,.band-head .rule-left{margin:14px 0 26px;}
.pa-main p,.pa-main li{font-size:16.5px;line-height:1.75;}
.pa-intro p:first-of-type{font-size:19px;line-height:1.65;color:var(--navy);}
.btn-row{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px;}
.btn-ghost{background:transparent;color:var(--gold-text);}
.btn-ghost:hover{background:var(--gold-text);color:#fff;}
.topic{border-left:2px solid var(--gold);padding:2px 0 2px 24px;margin:0 0 30px;}
.topic h3{font-size:22px;margin-bottom:10px;}
.topic p:last-child,.topic ul:last-child{margin-bottom:0;}
.checklist{list-style:none;margin:0 0 1.2em;padding:0;}
.checklist li{position:relative;padding-left:32px;margin-bottom:12px;}
.checklist li::before{content:"";position:absolute;left:4px;top:.5em;width:8px;height:14px;border-right:2px solid var(--gold-text);border-bottom:2px solid var(--gold-text);transform:rotate(45deg);}
.checklist.two-col{columns:2;column-gap:36px;}
.checklist.two-col li{break-inside:avoid;}
.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}
.service-card{display:flex;flex-direction:column;background:var(--page);border-top:3px solid var(--gold);padding:28px 26px;}
.service-card h3{font-size:22px;margin-bottom:12px;}
.service-card p{font-size:15.5px;line-height:1.7;}
.service-card .text-link{margin-top:auto;}
.text-link{font-family:var(--serif);font-weight:700;font-size:16px;color:var(--gold-text);text-decoration:none;}
.text-link::after{content:" \2192";}
.text-link:hover{text-decoration:underline;}
.steps-list{list-style:none;margin:0;padding:0;counter-reset:step;}
.steps-list > li{position:relative;padding:0 0 30px 64px;counter-increment:step;}
.steps-list > li::before{content:counter(step);position:absolute;left:0;top:-4px;width:42px;height:42px;border:1px solid var(--gold-text);border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:18px;color:var(--gold-text);background:#fff;}
.steps-list > li:not(:last-child)::after{content:"";position:absolute;left:21px;top:42px;bottom:2px;width:1px;background:#d9d2c3;}
.steps-list h3{font-size:22px;margin-bottom:8px;}
.steps-list p:last-child{margin-bottom:0;}
.diff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:8px;}
.diff-card{background:var(--page);padding:24px 26px;border-left:3px solid var(--gold);}
.diff-card p{margin:0;font-size:15.5px;}
.diff-card strong{display:block;font-family:var(--serif);font-weight:400;font-size:20px;line-height:1.3;color:var(--navy);margin-bottom:8px;}
.pa-aside{position:sticky;top:calc(var(--nav-h) + 24px);display:grid;gap:24px;}
.side-box{background:var(--page);padding:26px 24px;}
.side-title{font-family:var(--serif);font-size:21px;color:var(--navy);margin:0 0 12px;}
.side-nav ul{list-style:none;margin:0;padding:0;}
.side-nav li{border-top:1px solid #e4e1d8;}
.side-nav a{display:block;padding:10px 0;color:var(--text);text-decoration:none;}
.side-nav a:hover{color:var(--gold-text);}
.side-nav a[aria-current="page"]{color:var(--navy);font-weight:700;box-shadow:inset 3px 0 0 var(--gold-text);padding-left:12px;}
.side-contact{background:var(--navy);color:#fff;}
.side-contact .side-title{color:#fff;}
.side-contact p{font-size:15px;color:#e3e6ea;}
.side-contact a:not(.btn){display:block;color:var(--gold-light);text-decoration:none;margin-bottom:8px;}
.side-contact a:not(.btn):hover{text-decoration:underline;}
.side-contact .btn{display:block;text-align:center;margin-top:16px;}
.exp-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:52px;align-items:center;max-width:980px;}
.exp-grid img{width:240px;border:1px solid var(--gold);}
.exp-grid p{font-size:16.5px;line-height:1.75;}
.band-head .eyebrow{margin-bottom:6px;}
.county-chips{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 0;padding:0;list-style:none;}
.county-chips li{border:1px solid var(--gold);background:#fff;color:var(--navy);padding:7px 16px;font-size:15px;}
.faq{max-width:860px;}
.faq details{border-bottom:1px solid #dcd8cf;}
.faq details:first-of-type{border-top:1px solid #dcd8cf;}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;cursor:pointer;list-style:none;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary h3{font-size:20px;line-height:1.35;}
.faq summary::after{content:"+";flex:0 0 auto;font-family:var(--serif);font-size:28px;line-height:1;color:var(--gold-text);}
.faq details[open] summary::after{content:"\2212";}
.faq .answer{padding:0 0 18px;}
.faq .answer p{font-size:16px;line-height:1.75;}
/* FAQ page */
.faq-intro{font-size:17px;line-height:1.7;margin-bottom:28px;}
.faq-toc{background:var(--page);padding:22px 24px;margin-bottom:48px;}
.faq-toc ul{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none;}
.faq-toc a{display:inline-block;border:1px solid var(--gold);background:#fff;padding:7px 14px;font-size:15px;color:var(--navy);text-decoration:none;}
.faq-toc a:hover{border-color:var(--gold-text);color:var(--gold-text);}
.faq-group{margin-bottom:56px;}
.faq-group:last-child{margin-bottom:0;}
.faq-group h2{font-size:clamp(24px,2.8vw,30px);}
.faq-group-link,.faq-more{margin-top:18px;}
.cta-band{background:var(--navy-2);border-top:3px solid var(--gold);color:#fff;text-align:center;}
.cta-band h2{color:#fff;font-size:clamp(26px,3.2vw,36px);margin-bottom:14px;}
.cta-band p{color:#e3e6ea;font-size:17px;max-width:640px;margin:0 auto;}
.cta-band .btn-row{justify-content:center;}
.cta-band .btn-outline{color:#fff;border-color:var(--gold-light);}
.cta-band .btn-outline:hover{background:var(--gold-light);border-color:var(--gold-light);color:var(--navy);}
.card .text-link{display:inline-block;margin-top:6px;}

/* ---------- footer ---------- */
.site-footer{background:var(--navy);color:#c9c9c9;padding:72px 0 0;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:40px;}
.site-footer .logo{font-size:26px;margin-bottom:16px;}
.site-footer .logo-mark{width:72px;height:72px;}
.site-footer h3{color:#fff;font-size:22px;font-weight:400;margin-bottom:16px;}
.site-footer ul{list-style:none;margin:0;padding:0;}
.site-footer li{margin-bottom:10px;}
.site-footer a{color:#fff;text-decoration:none;}
.site-footer a:hover{color:var(--gold);}
.footer-bottom{margin-top:56px;border-top:1px solid rgba(255,255,255,.14);padding:22px 0 26px;font-size:14px;color:#fff;}
.footer-bottom .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.footer-bottom a{color:#fff;}
.footer-links{display:flex;flex-wrap:wrap;gap:8px 24px;}
a[href^="tel:"]{white-space:nowrap;}
.site-footer .social-links{display:flex;gap:12px;margin:20px 0 0;padding:0;list-style:none;}
.site-footer .social-links li{margin:0;}
.site-footer .social-links a{display:block;width:40px;height:40px;border-radius:50%;}
.social-links svg{display:block;width:40px;height:40px;}
.social-links .si-bg{fill:var(--gold);transition:fill .2s;}
.social-links .si-fg{fill:var(--navy);}
.site-footer .social-links a:hover .si-bg,.site-footer .social-links a:focus-visible .si-bg{fill:var(--gold-light);}

/* ---------- responsive ---------- */
/* tablets: tighter menu spacing so the logo and menu fit side by side down to 861px */
@media (max-width:1100px){
  .nav a,.nav-trigger{padding-left:12px;padding-right:12px;}
}
@media (max-width:1024px){
  .steps{grid-template-columns:repeat(2,minmax(0,1fr));}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .cards.three{grid-template-columns:repeat(2,minmax(0,1fr));}
}
/* phones and tablets: menu collapses behind the menu button (the full menu needs about 1025px) */
@media (max-width:1024px){
  .menu-toggle{display:block;}
  .navbar .wrap{gap:12px;}
  .nav-call{display:inline-flex;align-items:center;gap:7px;margin-left:auto;color:#fff;text-decoration:none;border:2px solid var(--gold);padding:7px 14px;font-family:var(--serif);font-weight:600;font-size:15px;line-height:1;}
  .nav-call svg{width:15px;height:15px;fill:var(--gold);}
  .nav{display:none;position:absolute;top:var(--nav-h);left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:var(--navy);padding:10px 24px 22px;}
  .nav.open{display:flex;}
  .nav a{padding:14px 0;border-bottom:1px solid rgba(255,255,255,.08);}
  .nav .btn{margin-top:14px;text-align:center;}
  .navbar .wrap{position:relative;}
  .nav{max-height:calc(100vh - var(--hdr-h));overflow-y:auto;}
  .nav-trigger{display:none;}
  .nav-label{display:block;padding:16px 0 4px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#c9ced6;}
  .submenu{display:block;position:static;min-width:0;padding:0;background:none;border:0;box-shadow:none;}
  .submenu a{padding:12px 0 12px 14px;border-bottom:1px solid rgba(255,255,255,.08);}
  .submenu .sub-child a{padding-left:30px;}
  .submenu .sub-hub:not(:first-child){margin-top:0;border-top:0;padding-top:0;}
}
@media (max-width:860px){
  :root{--topbar-h:0px;--nav-h:74px;}
  .topbar{display:none;}
  .navbar .logo-mark{width:48px;height:48px;}
  .pillars .grid{grid-template-columns:1fr;transform:none;box-shadow:none;}
  .pillars{padding:24px 0;}
  .pillar{border-right:0;border-bottom:1px solid #ecebe6;}
  .cards,.cards.three{grid-template-columns:1fr;}
  .card{padding:30px 24px;gap:18px;}
  .card .ring{flex:0 0 58px;width:58px;height:58px;}
  .contact-grid,.contact-page{grid-template-columns:1fr;gap:32px;}
  .about-grid{grid-template-columns:1fr;gap:32px;justify-items:center;}
  .about-photo img{width:240px;}
  .section{padding:64px 0;}
  .page-hero{min-height:calc(var(--nav-h) * 3.2);}
}
@media (max-width:560px){
  .steps{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .card{flex-direction:column;}
  .logo{font-size:24px;gap:10px;}
}
/* phones: keep logo, Call and menu on one row */
@media (max-width:430px){
  .navbar .logo{font-size:22px;gap:8px;}
  .navbar .logo-mark{width:44px;height:44px;}
  .nav-call{padding:8px 10px;}
  .nav-call span{display:none;}
}
@media (max-width:370px){
  .navbar .logo-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
  .navbar .logo-mark{width:48px;height:48px;}
}
@media (max-width:860px){
  .hero{background-image:linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),url("../img/hero-cable-car-1280.jpg");background-image:linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-cable-car-1280.webp") type("image/webp"),url("../img/hero-cable-car-1280.jpg") type("image/jpeg"));}
  .page-hero{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-cable-car-1280.webp") type("image/webp"),url("../img/hero-cable-car-1280.jpg") type("image/jpeg"));}
  /* tall home hero on phones/tablets: portrait crop centered on the cable car, so it isn't stretched */
  .hero-home{background-image:linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-home-portrait.webp") type("image/webp"),url("../img/hero-home.jpg") type("image/jpeg"));}
}

/* ---------- accessibility preferences ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{transition:none !important;}
}
/* Windows High Contrast: background colors are removed, so draw the menu icon in the system text color */
@media (forced-colors:active){
  .menu-toggle span{forced-color-adjust:none;background:CanvasText;}
}

/* practice pages and dropdown on tablets and phones */
@media (max-width:1024px){
  .pa-layout{grid-template-columns:minmax(0,1fr) 260px;gap:40px;}
}
@media (max-width:860px){
  .pa-layout{grid-template-columns:1fr;gap:48px;}
  .pa-aside{position:static;}
  .service-grid,.diff-grid{grid-template-columns:1fr;}
  .checklist.two-col{columns:1;}
  .exp-grid{grid-template-columns:1fr;gap:28px;justify-items:start;}
  .exp-grid img{width:200px;}
}

/* without JavaScript, phones and tablets get the menu as a plain list under the header instead of a dead toggle */
@media (max-width:1024px){
  html:not(.js) .menu-toggle{display:none;}
  html:not(.js) .site-header{position:relative;background:var(--navy);}
  html:not(.js) .navbar{height:auto;}
  html:not(.js) .navbar .wrap{flex-wrap:wrap;padding-top:16px;padding-bottom:10px;}
  html:not(.js) .nav{display:flex;position:static;width:100%;max-height:none;padding:6px 0 0;}
  html:not(.js) .hero-home,html:not(.js) .page-hero{padding-top:48px;min-height:0;}
}

/* practice page headers (one photo per page). The top fade darkens the sky behind the menu and the tint keeps
   all header text at WCAG AA contrast; both were set by measuring the text against each photo. */
.hero-spousal-support{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),url("../img/hero-spousal-support.jpg");background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-spousal-support.webp") type("image/webp"),url("../img/hero-spousal-support.jpg") type("image/jpeg"));}
.hero-property-division{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),url("../img/hero-property-division.jpg");background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-property-division.webp") type("image/webp"),url("../img/hero-property-division.jpg") type("image/jpeg"));}
.hero-modifications{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),url("../img/hero-modifications.jpg");background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-modifications.webp") type("image/webp"),url("../img/hero-modifications.jpg") type("image/jpeg"));}
.hero-legal-separation{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),url("../img/hero-legal-separation.jpg");background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-legal-separation.webp") type("image/webp"),url("../img/hero-legal-separation.jpg") type("image/jpeg"));}
.hero-child-support{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),url("../img/hero-child-support.jpg");background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-child-support.webp") type("image/webp"),url("../img/hero-child-support.jpg") type("image/jpeg"));}
.hero-civil-litigation{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),url("../img/hero-civil-litigation.jpg");background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-civil-litigation.webp") type("image/webp"),url("../img/hero-civil-litigation.jpg") type("image/jpeg"));}
.hero-family-law{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),url("../img/hero-family-law.jpg");background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-family-law.webp") type("image/webp"),url("../img/hero-family-law.jpg") type("image/jpeg"));}
.hero-spousal-support,.hero-property-division,.hero-modifications,.hero-legal-separation,.hero-child-support,.hero-civil-litigation,.hero-family-law{background-position:center 62%;}
/* the gold label is too light over these brighter photos; white keeps AA contrast (matches the home page label) */
.hero-spousal-support .eyebrow,.hero-property-division .eyebrow,.hero-modifications .eyebrow,.hero-legal-separation .eyebrow,.hero-child-support .eyebrow,.hero-civil-litigation .eyebrow,.hero-family-law .eyebrow{color:#fff;}
@media (max-width:860px){
  .hero-spousal-support{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-spousal-support-1280.webp") type("image/webp"),url("../img/hero-spousal-support.jpg") type("image/jpeg"));}
  .hero-property-division{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-property-division-1280.webp") type("image/webp"),url("../img/hero-property-division.jpg") type("image/jpeg"));}
  .hero-modifications{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-modifications-1280.webp") type("image/webp"),url("../img/hero-modifications.jpg") type("image/jpeg"));}
  .hero-legal-separation{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-legal-separation-1280.webp") type("image/webp"),url("../img/hero-legal-separation.jpg") type("image/jpeg"));}
  .hero-child-support{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-child-support-1280.webp") type("image/webp"),url("../img/hero-child-support.jpg") type("image/jpeg"));}
  .hero-civil-litigation{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-civil-litigation-1280.webp") type("image/webp"),url("../img/hero-civil-litigation.jpg") type("image/jpeg"));}
  .hero-family-law{background-image:linear-gradient(rgba(12,20,34,.6),rgba(12,20,34,0) 75%),linear-gradient(rgba(12,20,34,.62),rgba(12,20,34,.62)),image-set(url("../img/hero-family-law-1280.webp") type("image/webp"),url("../img/hero-family-law.jpg") type("image/jpeg"));}
  .hero-spousal-support,
  .hero-property-division,
  .hero-modifications,
  .hero-legal-separation,
  .hero-child-support,
  .hero-civil-litigation,
  .hero-family-law{background-position:50% 62%;}
}
