/* Multi-page additions to the homepage design (site.css): dropdown navigation,
   breadcrumbs and the sections used on service, location and company pages. */

/* navigation: same bar as the live site; Services and Industries open panels on hover, focus or click */
.menu[data-open="true"]{max-height:calc(100vh - 150px);overflow-y:auto}
.head{z-index:40}
.dd{position:relative;display:flex;align-items:center}
.dd::after{content:"";position:absolute;left:-10px;right:-10px;top:100%;height:18px}
.dd-menu{position:absolute;top:calc(100% + 14px);left:-22px;z-index:30;min-width:320px;padding:12px;border-radius:26px;background:var(--bg);border:1px solid var(--line);box-shadow:0 22px 48px rgba(37,35,33,.16);display:none;flex-direction:column;gap:2px}
:root[data-theme="dark"] .dd-menu{box-shadow:0 22px 48px rgba(0,0,0,.45)}
.dd:hover .dd-menu,.dd:focus-within .dd-menu,.dd[data-open="true"] .dd-menu{display:flex}
.nav-links .dd-menu a{padding:10px 14px;border-radius:16px;font-size:15.5px;font-weight:600;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.3}
.dd-menu a small{font-size:13.5px;font-weight:400;color:var(--mut)}
.nav-links .dd-menu a:hover,.nav-links .dd-menu a:focus-visible{background:var(--panel)}
.nav-links .dd-menu .dd-all{margin-top:6px;padding-top:14px;border-top:1px solid var(--line);border-radius:0 0 16px 16px;color:var(--red-tx)}
.dd-menu.mega{flex-direction:row;gap:10px;width:min(920px,calc(100vw - 2*var(--gut)));min-width:0;padding:16px}
.dd:hover .dd-menu.mega,.dd:focus-within .dd-menu.mega,.dd[data-open="true"] .dd-menu.mega{display:grid;grid-template-columns:1fr 1fr .95fr}
.mega-col{display:flex;flex-direction:column;gap:2px}
.mega-label{display:block;padding:6px 14px 8px;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--mut)}
.mega-card{border-radius:20px;background:var(--panel);padding:18px 18px 16px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.mega-card .mega-label{padding:0}
.mega-card strong{font-family:var(--display);font-weight:400;font-size:24px;letter-spacing:-.02em;line-height:1.1}
.mega-card p{margin:0;font-size:15px;line-height:1.5;color:var(--mut)}
.nav-links .mega-card .pill{min-height:44px;padding:0 18px;font-size:15px;margin-top:4px}
.nav-links .mega-card .mega-more{padding:2px 0;font-size:14.5px;font-weight:600;color:var(--red-tx);background:none}
.nav-links .mega-card .mega-more:hover{background:none;text-decoration:underline}

/* blog posts */
.post-meta{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:14.5px;color:var(--mut);margin-bottom:10px}
.prose .lead{font-size:19px;color:var(--ink);max-width:none}
.prose h3{margin:28px 0 8px;font-size:21px;font-weight:600;line-height:1.3}
.post-cta{margin-top:40px;padding:26px 28px;border-radius:26px;background:var(--panel);display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.post-cta strong{font-family:var(--display);font-weight:400;font-size:26px;letter-spacing:-.02em;line-height:1.15}
.post-cta p{margin:0}

/* reviews */
.review-card{margin:0}
.review-card blockquote{margin:0;font-family:var(--serif);font-style:italic;font-size:20px;line-height:1.45}
.review-card figcaption{margin-top:auto;font-size:15.5px;color:var(--mut)}
.review-card figcaption b{color:var(--ink)}
.review-city{font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--red-tx)}
.area-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.area-list a,.area-list span{padding:10px 18px;border-radius:999px;border:1px solid var(--line);font-size:15.5px;text-decoration:none;background:var(--bg)}
.area-list a:hover{background:var(--panel)}

/* breadcrumbs */
.crumbs{padding:4px var(--gut) 16px;font-size:14px;color:var(--mut)}
.crumbs a{color:var(--mut);text-underline-offset:4px}
.crumbs span[aria-current]{color:var(--ink)}

/* page hero */
.page-hero h1{font-size:clamp(34px,3.5vw,54px);max-width:14em}
.page-hero .hero-photo{min-height:440px}

/* section heads and body copy */
.sec-head{max-width:780px;margin-bottom:30px}
.sec-head .h2{margin-top:14px}
.sec-head .lead{margin-top:18px}
.body-copy{display:flex;flex-direction:column;gap:18px;padding-top:6px}
.body-copy p{margin:0;font-size:18px;line-height:1.6;color:var(--mut)}
.body-copy a,.industry-card p a,.faq details p a{color:var(--ink);text-underline-offset:4px}
.body-copy strong{color:var(--ink)}

/* card grids */
.industry-grid.two-up{grid-template-columns:repeat(2,minmax(0,1fr))}
.industry-card ul{margin:0;padding-left:18px;color:var(--mut);font-size:16px;line-height:1.6}
.industry-card ul li{margin:4px 0}
a.svc-card{text-decoration:none;transition:transform .2s ease,box-shadow .2s ease}
a.svc-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(37,35,33,.08)}
.svc-card .more{margin-top:auto;padding-top:8px;font-size:15px;font-weight:600;color:var(--red-tx)}
.story-points li>div>strong:only-child{padding-top:2px}

/* related links and closing strip */
.related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.related .area .go{font-size:22px;color:var(--red-tx)}
.strip.end{margin-top:clamp(72px,8vw,112px)}
.strip.end strong{max-width:14em}

/* contact page */
.contact.page-contact{margin-top:0}
.office-list{display:flex;flex-direction:column;gap:14px;margin-top:8px}

/* IT risk self-check */
.check{display:grid;gap:14px}
.q{margin:0;min-width:0;border:1px solid var(--line);border-radius:24px;background:var(--panel2);padding:22px 24px}
/* float keeps the legend inside the box instead of on the fieldset border */
.q legend{float:left;width:100%;padding:0;margin:0;font-weight:600;font-size:18.5px;line-height:1.4}
.q legend span{color:var(--red-tx);font-family:var(--display);font-weight:400;margin-right:10px}
.q .opts{clear:both;display:flex;gap:10px;flex-wrap:wrap;padding-top:14px}
.q label{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;border:1px solid var(--line);background:var(--bg);cursor:pointer;font-size:15.5px}
.q input{accent-color:var(--red);width:16px;height:16px;margin:0}
.q label:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.q label:has(input:focus-visible){outline:2px solid var(--red);outline-offset:2px}
.check-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}
.pill-outline{background:var(--bg);color:var(--ink);border:1px solid var(--line)}
.check-status{margin:0;color:var(--red-tx)}
.check-status:empty{display:none}
.result{margin-top:28px;border-radius:clamp(28px,4vw,48px);background:var(--hero);color:#FFFFFF;padding:clamp(28px,4.5vw,56px)}
.result:focus{outline:none}
.result .kicker{color:rgba(255,255,255,.7)}
.result h2{margin:14px 0 12px;font-family:var(--display);font-weight:400;font-size:clamp(30px,3.6vw,46px);letter-spacing:-.03em;line-height:1.05}
.result p{margin:0;color:rgba(255,255,255,.82);max-width:40em;font-size:17px}
.result ul{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:12px}
.result li{border-top:1px solid rgba(255,255,255,.16);padding-top:12px}
.result li strong{display:block}
.result li span{color:rgba(255,255,255,.78)}
.result .btns{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 16px}
.result .fine{font-size:14.5px;color:rgba(255,255,255,.6)}
.fine{font-size:15px;color:var(--mut)}

/* policy text */
.prose{max-width:820px;padding:clamp(20px,3vw,40px) var(--gut) 0}
.prose h1{margin:14px 0 18px;font-family:var(--display);font-weight:400;font-size:clamp(40px,5vw,62px);letter-spacing:-.035em;line-height:1.02}
.prose h2{margin:40px 0 10px;font-family:var(--display);font-weight:400;font-size:clamp(24px,2.6vw,30px);letter-spacing:-.02em;line-height:1.15}
.prose p,.prose li{font-size:17px;line-height:1.65;color:var(--mut)}
.prose strong{color:var(--ink)}
.prose a{color:var(--ink)}

@media (max-width:900px){
  .industry-grid.two-up,.related{grid-template-columns:1fr}
  .page-hero .hero-photo{min-height:340px}
}

/* blog cards, covers and page numbers */
.post-card{gap:12px}
.post-thumb{display:block;width:100%;height:auto;aspect-ratio:1200/630;border-radius:18px;background:var(--hero);margin-bottom:6px}
.prose .post-cover{display:block;width:100%;height:auto;aspect-ratio:1200/630;border-radius:24px;margin:18px 0 26px;background:var(--hero)}
.pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin-top:36px}
.pager-nums{display:flex;gap:6px;flex-wrap:wrap}
.pager-nums a,.pager-nums span{min-width:44px;height:44px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);text-decoration:none;font-weight:600}
.pager-nums a:hover{background:var(--panel)}
.pager-nums span[aria-current]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
/* hero photo captions: compact pill with a green check (owner request 2026-09-28) */
.hero-photo figcaption{right:auto;max-width:min(400px,calc(100% - 48px));padding:11px 20px 11px 11px;gap:12px;border-radius:999px;box-shadow:0 12px 30px rgba(0,0,0,.2)}
.hero-photo figcaption strong{font-size:17px;line-height:1.15;letter-spacing:-.02em}
.hero-photo figcaption small{font-size:12.5px;line-height:1.3;margin-top:2px}
.photo-seal{flex:0 0 32px;width:32px;height:32px;background:#1D7F4E;font-size:0}
.photo-seal::before{content:"";width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat}
@media (max-width:560px){
  .hero-photo figcaption{left:12px;bottom:12px;max-width:calc(100% - 24px);padding:9px 16px 9px 9px;gap:10px}
  .hero-photo figcaption strong{font-size:15px}
  .hero-photo figcaption small{font-size:11.5px}
  .photo-seal{flex-basis:28px;width:28px;height:28px}
  .photo-seal::before{width:14px;height:14px}
}