/* AVConsult.ing static site v0.1 — approved light/navy design direction.
   Self-hosted assets, no framework, no external CSS, fonts, tracking or JS. */
:root {
  color-scheme: light;
  --navy: #0c2345;
  --navy-deep: #071a35;
  --ink: #19283a;
  --muted: #5a6d85;
  --blue: #285bcb;
  --blue-deep: #1849b8;
  --pale: #f7faff;
  --pale-blue: #edf4ff;
  --line: #dde5ef;
  --white: #fff;
  --shadow: 0 18px 50px rgba(18, 44, 79, .07);
  --radius: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; min-width: 320px; color: var(--ink); background: #fff; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid #6da5fa; outline-offset: 3px; }
::selection { background: #dae8ff; color: var(--navy); }
.container { width: min(100% - 64px, 1200px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: -80px; left: 12px; border-radius: 5px; padding: 10px 16px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 12px; }

.site-header { height: 88px; position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(213, 224, 239, .83); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-link img { width: 245px; height: auto; }
.desktop-nav { display: flex; gap: clamp(16px, 2vw, 31px); align-items: center; }
.desktop-nav > a:not(.button) { font-size: 13px; font-weight: 700; color: var(--navy); transition: color .2s; }
.desktop-nav > a:not(.button):hover { color: var(--blue); }
.mobile-menu { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 52px; padding: 14px 23px; border-radius: 9px; border: 1.5px solid transparent; font-size: 13px; line-height: 1.35; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.button span { font-size: 18px; line-height: .8; font-weight: 400; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--blue); color: var(--white); box-shadow: 0 5px 14px rgba(40, 91, 203, .12); }
.button-primary:hover { background: var(--blue-deep); box-shadow: 0 9px 20px rgba(40, 91, 203, .20); }
.button-outline { color: var(--navy); background: rgba(255, 255, 255, .88); border-color: #98abc6; }
.button-outline:hover { background: var(--pale-blue); border-color: var(--blue); }
.button-small { min-height: 40px; padding: 10px 15px; font-size: 12px; border-radius: 8px; }

.hero { isolation: isolate; position: relative; overflow: hidden; background: linear-gradient(112deg, #fff 17%, #f6faff 53%, #e9f2ff 100%); }
.hero::after { content: ""; position: absolute; width: 65vw; height: 65vw; right: -25vw; top: -41vw; border-radius: 50%; background: rgba(173, 205, 249, .19); pointer-events: none; z-index: -1; }
.hero-wave { position: absolute; z-index: 0; inset: auto 0 -126px 0; height: 420px; background: url("../images/wave-mesh.svg?v=119ebf4ca766") center bottom / cover no-repeat; opacity: .58; pointer-events: none; }
.hero-grid { isolation: isolate; position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 633px; }
.hero-copy { position: relative; z-index: 3; max-width: 645px; padding: 60px 0 90px; }
.eyebrow { display: flex; gap: 13px; align-items: center; margin: 0 0 26px; color: var(--blue); text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: 1.9px; line-height: 1.5; }
.eyebrow-mark { display: inline-block; width: 35px; height: 4px; background: var(--blue); flex: 0 0 35px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); }
.hero h1 { max-width: 665px; margin: 0 0 25px; font-size: clamp(46px, 5.2vw, 77px); letter-spacing: -.045em; line-height: 1.05; font-weight: 800; }
.hero h1 span { display: block; }
.hero-lead { max-width: 510px; font-size: clamp(17px, 1.46vw, 20px); line-height: 1.6; color: #374b66; margin-bottom: 31px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }

.hero-visual { position: relative; height: 633px; align-self: stretch; margin-right: -30px; overflow: visible; z-index: 1; }
.hero-visual-halo { position: absolute; right: -175px; top: 50px; width: 700px; height: 700px; background: radial-gradient(circle at 52% 45%, rgba(187, 213, 249, .24), rgba(255,255,255,0) 65%); border-radius: 50%; }
.hero-visual img { position: absolute; right: -170px; bottom: -1px; width: 850px; max-width: none; height: auto; object-fit: cover; filter: drop-shadow(-9px 18px 26px rgba(8,36,73,.045)); }

.section { padding: 110px 0; }
.overline { color: var(--blue); font-size: 11px; line-height: 1.4; font-weight: 800; letter-spacing: 2px; margin: 0 0 19px; }
.section h2 { font-size: clamp(30px, 3.3vw, 45px); line-height: 1.13; letter-spacing: -.037em; font-weight: 800; margin: 0 0 22px; }
.section h2 span { color: var(--blue); }
.section-heading { max-width: 810px; margin-bottom: 49px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading h2 { margin-bottom: 15px; }
.section-heading > p:last-child { font-size: 16px; color: var(--muted); max-width: 680px; margin: 0 auto; }
.section-challenge { padding: 105px 0; background: #fff; }
.challenge-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 9%; align-items: center; }
.challenge-grid h2 { max-width: 560px; margin-bottom: 0; }
.challenge-copy { padding-left: 35px; border-left: 2px solid #e2eaf5; }
.challenge-copy p { font-size: 16px; color: #4c5e74; line-height: 1.78; margin-bottom: 17px; }
.challenge-copy p:last-child { margin: 0; }

.services-section { background: linear-gradient(180deg, #fbfdff 0%, #f7faff 100%); border-top: 1px solid #eff3f9; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { background: #fff; border: 1px solid #e0e8f3; border-radius: var(--radius); padding: 37px 32px 29px; box-shadow: 0 10px 36px rgba(14, 40, 81, .035); display: flex; flex-direction: column; min-height: 445px; }
.service-card:hover { box-shadow: var(--shadow); border-color: #becfea; }
.service-icon { width: 54px; height: 54px; margin: 0 0 24px; color: var(--blue); }
.service-icon svg { width: 48px; height: 48px; }
.service-number { color: #4670b4; font-size: 10px; font-weight: 800; letter-spacing: 1.6px; margin-bottom: 13px; }
.service-card h3 { font-size: 21px; line-height: 1.28; letter-spacing: -.018em; margin-bottom: 18px; }
.service-card > p:not(.service-deliverable) { color: #586a81; font-size: 14px; line-height: 1.7; margin-bottom: 25px; }
.service-deliverable { margin: auto 0 22px; border-top: 1px solid #edf1f7; padding-top: 18px; font-size: 12px; line-height: 1.55; }
.service-deliverable strong { display: block; color: var(--navy); margin-bottom: 4px; }
.service-deliverable span { color: #67809c; }
.text-link { display: inline-flex; align-items: center; gap: 11px; color: var(--blue); font-size: 13px; font-weight: 800; width: fit-content; }
.text-link:hover { color: var(--blue-deep); }
.text-link span { font-size: 17px; font-weight: 400; }


.approach-section { position: relative; overflow: hidden; padding: 115px 0 120px; background: #fff; }
.approach-wave { position: absolute; pointer-events: none; left: -120px; bottom: -180px; width: 930px; height: 350px; background: url("../images/wave-mesh.svg?v=119ebf4ca766") center center / cover no-repeat; opacity: .21; }
.approach-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 9%; align-items: start; position: relative; z-index: 1; }
.approach-intro h2 { max-width: 520px; }
.approach-intro > p:not(.overline) { font-size: 16px; line-height: 1.75; max-width: 465px; color: var(--muted); margin-bottom: 26px; }
.steps-list { counter-reset: steps; margin: 2px 0 0; padding: 0; list-style: none; }
.steps-list li { display: flex; align-items: flex-start; gap: 25px; border-bottom: 1px solid #e3eaf3; padding: 0 0 25px; margin-bottom: 25px; }
.steps-list li:last-child { margin-bottom: 0; border-bottom: 0; }
.step-num { font-size: 13px; font-weight: 800; color: var(--blue); border: 1px solid #cbdcf5; border-radius: 8px; min-width: 48px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; }
.steps-list h3 { margin: 1px 0 6px; font-size: 18px; line-height: 1.3; }
.steps-list p { margin: 0; color: var(--muted); line-height: 1.58; font-size: 14px; }

.industries-section { padding: 94px 0 101px; background: #f7faff; border-top: 1px solid #eff3fa; border-bottom: 1px solid #e7edf6; }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid #dfe8f4; border-radius: var(--radius); overflow: hidden; background: rgba(255,255,255,.93); }
.industry-item { padding: 32px 28px; display: flex; gap: 22px; align-items: center; border-right: 1px solid #e1e9f4; }
.industry-item:last-child { border-right: 0; }
.industry-symbol { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border: 1px solid #c7d9f0; border-radius: 12px; font-size: 30px; font-weight: 400; color: var(--blue); }
.industry-item h3 { margin: 0; font-size: 16px; line-height: 1.4; }


.expertise-section { background: #fff; padding: 110px 0; }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; }
.mini-label { font-size: 11px; font-weight: 800; color: var(--blue); letter-spacing: 2px; margin-bottom: 18px; }
.expertise-panel h2 { max-width: 545px; }
.expertise-panel > p { color: var(--muted); line-height: 1.74; font-size: 15px; max-width: 530px; }
.expertise-visual { position: relative; min-height: 395px; border-radius: 24px; overflow: hidden; background: linear-gradient(145deg, #f8fbff 0%, #e7f1ff 100%); border: 1px solid #e1eaf7; }
.expertise-visual img { width: 125%; max-width: none; position: absolute; left: -5%; bottom: -35px; opacity: .65; }
.expertise-keywords { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 68px 42px; }
.expertise-keywords span { display: flex; align-items: center; justify-content: center; min-height: 70px; border: 1px solid rgba(172, 195, 229, .75); border-radius: 13px; color: #183969; font-size: 14px; font-weight: 700; text-align: center; background: rgba(255, 255, 255, .77); }

.faq-section { background: #f7faff; border-top: 1px solid #e9eef6; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10%; }
.faq-grid > div:first-child > p:last-child { color: var(--muted); max-width: 385px; }
.faq-items { border-top: 1px solid #d7e2f1; }
.faq-items details { border-bottom: 1px solid #d7e2f1; background: transparent; }
.faq-items summary { position: relative; padding: 22px 43px 22px 0; font-size: 15px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after { content: "+"; position: absolute; right: 8px; top: 15px; color: var(--blue); font-size: 27px; font-weight: 400; }
.faq-items details[open] summary::after { content: "−"; }
.faq-items details p { max-width: 610px; color: #556980; line-height: 1.72; font-size: 14px; padding: 0 35px 21px 0; margin: 0; }

.contact-section { position: relative; isolation: isolate; overflow: hidden; padding: 85px 0; background: linear-gradient(125deg, #0b2a57, #071d40 70%, #103f84); color: #fff; }
.contact-wave { position: absolute; z-index: -1; width: 100%; height: 370px; right: 0; bottom: -155px; background: url("../images/wave-mesh.svg?v=119ebf4ca766") center center / cover no-repeat; opacity: .26; filter: saturate(.6); }
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; column-gap: 10%; row-gap: 16px; align-items: center; }
/* Meaningful business-first copy occupies both right-column contact rows,
   so the narrative reaches the Share panel without artificial whitespace. */
.contact-intro { grid-column: 1; grid-row: 1 / span 2; align-self: center; max-width: 620px; }
.contact-intro > p:not(.overline) { max-width: 610px; color: #d4e2f4; font-size: 15px; line-height: 1.75; margin: 0 0 17px; }
.contact-intro > p:last-child { margin-bottom: 0; }
.overline-light { color: #9cc5ff; }
.contact-section h2 { color: #fff; font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.03em; line-height: 1.15; max-width: 620px; margin: 0 0 20px; }
.contact-section h2 span { color: #a7ceff; }
.contact-callout { border: 1px solid rgba(199, 221, 254, .23); background: rgba(255,255,255,.08); padding: 30px; border-radius: 15px; }
.contact-callout-title { color: #fff; font-weight: 700; margin: 0 0 8px; }
.contact-callout p:not(.contact-callout-title) { color: #d6e5f7; font-size: 13px; margin: 0 0 13px; line-height: 1.65; }
.contact-callout .prelaunch-note { color: #a8c2e6 !important; font-size: 11px !important; }
.button-light { margin-top: 7px; color: var(--navy); background: #fff; }
.button-light:hover { background: #eaf2ff; }
/* AVC-50: an unmistakable Share panel directly below the corporate contact
   card. Pure inline icons, five labeled touch targets and no social SDK. */
.contact-share { grid-column: 2; grid-row: 2; border: 1px solid rgba(199,221,254,.26); background: rgba(255,255,255,.065); padding: 19px 20px 17px; border-radius: 15px; min-width: 0; }
.contact-share-heading { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-size: 14px; line-height: 1.3; font-weight: 750; }
.contact-share-title-icon { flex: 0 0 19px; color: #b5d4ff; }
.contact-share-hint { color: #b7cdee; font-size: 11px; line-height: 1.35; margin: 4px 0 15px; }
.contact-share-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.contact-share-link { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; min-height: 67px; min-width: 0; gap: 6px; padding: 0 0 5px; border-radius: 10px; text-align: center; text-decoration: none; }
.contact-share-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid #cadefa; border-radius: 50%; background: #f5f9ff; color: #17478e; transition: background-color .15s ease, transform .15s ease, border-color .15s ease; }
.contact-share-icon > svg { display: block; max-width: 25px; max-height: 25px; }
.contact-share-linkedin .contact-share-icon { color: #0a66c2; }
.contact-share-x .contact-share-icon { color: #182a46; }
.contact-share-whatsapp .contact-share-icon { color: #087c5c; }
.contact-share-telegram .contact-share-icon { color: #1585bb; }
.contact-share-email .contact-share-icon { color: #285bcb; }
.contact-share-label { font-size: 9.8px; font-weight: 650; line-height: 1.25; color: #dceafe; white-space: nowrap; }
.contact-share-link:hover .contact-share-icon { transform: translateY(-2px); border-color: #fff; background: #fff; }
.contact-share-link:focus-visible { outline: 3px solid #a8d0ff; outline-offset: 3px; }
.contact-share-link:focus-visible .contact-share-icon { background: #fff; border-color: #285bcb; }
.error-share-holder { padding-top: 5px; padding-bottom: 48px; }
.contact-share-light { max-width: 430px; background: #f7faff; border-color: #dce6f4; }
.contact-share-light .contact-share-heading, .contact-share-light .contact-share-label { color: #0c2345; }
.contact-share-light .contact-share-title-icon { color: #285bcb; }
.contact-share-light .contact-share-hint { color: #5a6d85; }
.contact-share-light .contact-share-icon { background: #fff; border-color: #d8e3f1; }
@media (max-width: 900px) {
  .contact-share { grid-column: 1; grid-row: auto; max-width: 600px; }
}
@media (max-width: 400px) {
  .contact-share { padding: 17px 13px 13px; }
  .contact-share-links { gap: 3px; }
  .contact-share-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .contact-share-label { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-share-icon { transition: none; }
}

.site-footer { background: #fff; padding: 30px 0; border-top: 1px solid #edf1f7; }
/* AVC-51 (Bug): symmetric outer columns guarantee that the tagline's
   geometric center is the footer container's center, irrespective of
   how wide the logo and copyright are. */
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 22px; }
.footer-inner > a { grid-column: 1; justify-self: start; }
.footer-inner > a img { width: 182px; height: auto; }
.footer-inner > span { grid-column: 2; justify-self: center; text-align: center; color: #4c5f7a; font-weight: 600; font-size: 12px; }
.footer-inner > small { grid-column: 3; justify-self: end; color: #7e8da2; font-size: 11px; text-align: right; }
/* On narrow devices the tagline occupies its own centered full-width row.
   The two side elements stay at opposite ends of the preceding row. */
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 15px; }
  .footer-inner > a { grid-column: 1; grid-row: 1; }
  .footer-inner > a img { width: min(182px, 100%); }
  .footer-inner > small { grid-column: 2; grid-row: 1; justify-self: end; }
  .footer-inner > span { grid-column: 1 / -1; grid-row: 2; justify-self: center; text-align: center; }
}



@media (max-width: 1130px) {
  .brand-link img { width: 205px; }
  .desktop-nav { gap: 16px; }
  .desktop-nav > a:not(.button) { font-size: 12px; }
  .desktop-nav .button { padding: 10px 11px; font-size: 11px; }
  .hero h1 { font-size: clamp(44px, 5vw, 61px); }
  .hero-visual img { width: 720px; right: -230px; }
  .service-card { padding: 29px 24px; }
  .industry-item { gap: 13px; padding: 25px 19px; }
  .industry-item h3 { font-size: 14px; }
}

@media (max-width: 870px) {
  .container { width: min(100% - 44px, 1200px); }
  .site-header { height: 78px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { display: flex; align-items: center; gap: 9px; color: var(--navy); font-weight: 700; font-size: 13px; cursor: pointer; list-style: none; padding: 11px 6px; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-glyph { width: 24px; display: grid; gap: 4px; }
  .menu-glyph i { display: block; height: 2px; border-radius: 2px; background: var(--navy); }
  .mobile-menu nav { position: absolute; top: 54px; right: 0; width: min(78vw, 310px); display: grid; padding: 12px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); z-index: 30; }
  .mobile-menu nav a { padding: 13px 4px; border-bottom: 1px solid #edf1f7; font-size: 14px; font-weight: 700; color: var(--navy); }
  .mobile-menu nav a:last-child { border: none; color: var(--blue); }
  .hero-grid { min-height: 565px; grid-template-columns: 1fr .72fr; }
  .hero-copy { padding: 58px 0 80px; }
  .hero h1 { font-size: clamp(41px, 6.5vw, 60px); }
  .hero-lead { max-width: 460px; font-size: 16px; }
  .hero-visual { height: 565px; }
  .hero-visual img { width: 650px; right: -285px; }
  .hero-actions .button { font-size: 12px; min-height: 48px; }
  .section { padding: 75px 0; }
  .challenge-grid, .approach-grid, .expertise-grid, .faq-grid { grid-template-columns: 1fr; gap: 38px; }
  .challenge-copy { max-width: 720px; padding-left: 25px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 390px; }
  .service-card:last-child { grid-column: 1 / -1; }
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .industry-item:nth-child(2) { border-right: none; }
  .industry-item:last-child { grid-column: 1 / -1; border-top: 1px solid #e1e9f4; justify-content: center; }
  .expertise-visual { min-height: 320px; }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-intro { grid-column: 1; grid-row: auto; max-width: 720px; }
  .contact-callout { max-width: 600px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 75px; }
  .container { width: min(100% - 34px, 1200px); }
  .site-header { height: 70px; }
  .brand-link img { width: 180px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; min-height: auto; }
  .hero-copy { padding: 55px 0 15px; max-width: 100%; }
  .hero h1 { font-size: clamp(39px, 10vw, 54px); line-height: 1.08; margin-bottom: 19px; }
  .hero h1 span { display: inline; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; margin-bottom: 20px; gap: 10px; }
  .eyebrow-mark { width: 21px; flex-basis: 21px; height: 3px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 400px; }
  .hero-actions .button { width: 100%; white-space: normal; text-align: center; padding: 12px 17px; min-height: 51px; }

  .hero-visual { height: 250px; align-self: stretch; margin-right: 0; width: 100%; }
  .hero-visual img { width: 100%; max-width: none; min-width: 360px; right: -28px; bottom: -6px; }
  .hero-visual-halo { width: 370px; height: 300px; top: -30px; right: -135px; }
  .hero-wave { opacity: .33; bottom: -180px; height: 500px; }
  .section { padding: 65px 0; }
  .section h2 { font-size: clamp(30px, 7.7vw, 38px); }
  .section-heading { margin-bottom: 32px; }
  .challenge-grid { gap: 22px; }
  .challenge-copy { padding-left: 17px; }
  .challenge-copy p { font-size: 14px; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card, .service-card:last-child { grid-column: auto; min-height: 0; padding: 27px 23px; }
  .service-icon { margin-bottom: 15px; }
  .service-card h3 { font-size: 20px; }
  .service-card > p:not(.service-deliverable) { font-size: 14px; }
  .service-deliverable { margin-top: 18px; }
  .approach-grid { gap: 35px; }
  .steps-list li { gap: 14px; padding-bottom: 20px; margin-bottom: 20px; }
  .steps-list h3 { font-size: 16px; }
  .steps-list p { font-size: 13px; }
  .step-num { min-width: 41px; min-height: 38px; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-item, .industry-item:last-child { grid-column: auto; border-right: none; border-bottom: 1px solid #e1e9f4; border-top: none; justify-content: flex-start; padding: 22px; }
  .industry-item:last-child { border-bottom: 0; }
  .industry-item h3 { font-size: 15px; }
  .expertise-visual { min-height: 255px; }
  .expertise-keywords { padding: 34px 23px; gap: 9px; }
  .expertise-keywords span { min-height: 63px; padding: 8px; font-size: 12px; }
  .faq-items summary { font-size: 14px; }
  .contact-section { padding: 72px 0; }
  .contact-section h2 { font-size: 33px; }
  .contact-callout { padding: 22px; }
  /* AVC-51 grid positioning above owns footer layout at every breakpoint. */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .desktop-nav > a { transition: none !important; }
  .button:hover { transform: none; }
}

@media print {
  .site-header, .button, .mobile-menu, .skip-link { display: none !important; }
  .section { padding: 20px 0; }
  .hero, .contact-section { background: #fff; color: var(--navy); }
  .contact-section h2 { color: var(--navy); }
}



/* Owner requirement #14: original two-column approach timeline restored. */
.detail-related { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 12px; margin: 2px 0 30px; }
/* AVC-21 owner correction: active label and links share EXACT typography and
   corporate color; active state differs only by an underline. */
.detail-related > a,
.detail-related > .detail-related-current {
  display: inline-flex;
  max-width: 430px;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.detail-related > a:hover { color: var(--blue-deep); }
/* A single visual separator BETWEEN each neighboring pair. Never before the
   first or after the last item, even if the current item is in the middle. */
.detail-related > .detail-related-separator {
  display: inline-flex;
  align-items: center;
  color: var(--blue);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  pointer-events: none;
}
/* Current page is shown but is not a redundant link to itself. */
.detail-related > .detail-related-current {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.detail-related a:focus-visible { border-radius: 4px; }
/* On smaller screens render a vertical sequence: separators stay BETWEEN
   pages, never orphaned at the beginning/end of a wrapped visual row. */
@media (max-width: 1199px) {
  .detail-related { flex-direction: column; align-items: flex-start; gap: 7px; }
  .detail-related > .detail-related-separator {
    align-self: flex-start;
    margin-left: 6px;
    transform: rotate(90deg);
  }
}


/* Individual consulting service pages — static HTML, shared system, no JS. */
.detail-hero { position: relative; overflow: hidden; padding: 90px 0 100px; background: linear-gradient(118deg,#fff 17%,#f3f8ff 72%,#edf5ff); }
.detail-hero::after { content: ""; position: absolute; inset: auto 0 -185px 0; height: 350px; background: url("../images/wave-mesh.svg?v=119ebf4ca766") center bottom / cover no-repeat; opacity: .25; pointer-events: none; }
.detail-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; color: #60738e; font-size: 12px; margin-bottom: 27px; }
.breadcrumb a { color: var(--blue); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.detail-heading { max-width: 930px; }
.detail-heading h1 { max-width: 900px; color: var(--navy); font-size: clamp(40px,5.1vw,67px); line-height: 1.09; letter-spacing: -.044em; margin: 0 0 24px; }
.detail-heading > p:not(.overline) { max-width: 710px; color: #435871; font-size: clamp(16px,1.6vw,20px); line-height: 1.65; margin-bottom: 28px; }
.detail-content { padding: 85px 0 100px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: 9%; align-items: start; }
.detail-content h2 { color: var(--navy); font-size: clamp(29px,3.2vw,41px); line-height: 1.16; letter-spacing: -.035em; margin: 0 0 19px; }
.detail-content h3 { color: var(--navy); font-size: 20px; line-height: 1.32; margin: 0 0 11px; }
.detail-content p { color: #52677f; font-size: 15px; line-height: 1.75; margin: 0 0 20px; }
.detail-content ul { margin: 0 0 25px; padding-left: 21px; }
.detail-content li { font-size: 15px; line-height: 1.75; color: #445b73; padding-left: 3px; margin-bottom: 10px; }
.detail-content li::marker { color: var(--blue); }
.detail-block { margin-bottom: 62px; }
.detail-block:last-child { margin-bottom: 0; }
.detail-side { position: sticky; top: 122px; border: 1px solid #d9e5f4; background: #f8fbff; border-radius: 17px; padding: 32px; }
.detail-side .overline { font-size: 10px; }
.detail-side h3 { font-size: 21px; }
.detail-side p { font-size: 13px; margin-bottom: 16px; }
.detail-side .button { width: 100%; white-space: normal; text-align: center; }
.detail-scope { border-top: 1px solid #dfebf7; padding-top: 20px; margin-top: 22px; }
.detail-scope strong { color: var(--navy); font-size: 12px; }
.detail-scope p { margin: 7px 0 0; font-size: 12px; }
/* AVC-11 #22: one rendered number only, across Safari/Chrome/Firefox/Edge.
   The <ol> is *inside* .detail-steps: disabling bullets on the wrapper
   alone leaves the native browser marker visible next to our CSS counter. */
.detail-steps { padding: 0; margin: 0; counter-reset: step; }
.detail-steps > ol { list-style: none !important; list-style-type: none !important; margin: 0; padding: 0; }
.detail-steps > ol > li { list-style: none !important; list-style-type: none !important; }
.detail-steps > ol > li::marker { content: ""; }
.steps-list > li { list-style: none; }
.steps-list > li::marker { content: ""; }
.detail-steps li { position: relative; padding: 0 0 25px 55px; margin-bottom: 21px; border-bottom: 1px solid #e4ebf5; }
.detail-steps li:last-child { border-bottom: 0; }
.detail-steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; color: var(--blue); font-size: 13px; font-weight: 800; }
.detail-steps strong { display: block; color: var(--navy); margin-bottom: 3px; }
.detail-steps span { display: block; color: #52677f; }
.detail-deliverables { background: #f6f9fe; padding: 78px 0; border-top: 1px solid #e8eff8; border-bottom: 1px solid #e8eff8; }
.detail-deliverables h2 { max-width: 740px; }
.deliverables-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; margin-top: 27px; }
.deliverable-card { min-height: 185px; padding: 27px 26px; border: 1px solid #dce6f4; border-radius: 15px; background: #fff; }
.deliverable-card span { display: block; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 1.6px; margin-bottom: 12px; }
.deliverable-card h3 { color: var(--navy); font-size: 18px; margin: 0 0 11px; }
.deliverable-card p { color: #5a6c83; font-size: 13px; line-height: 1.65; margin: 0; }
.detail-end { padding: 83px 0; background: #fff; }
.detail-end h2 { color: var(--navy); font-size: clamp(28px,3.1vw,40px); letter-spacing: -.035em; margin: 0 0 16px; }
.detail-end p { max-width: 760px; color: #536880; margin-bottom: 24px; }
@media (max-width: 870px) {
  .services-section { padding-bottom: 56px; }
  .industries-section { padding-bottom: 50px; }
  .detail-hero { padding: 65px 0 78px; }
  .detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .detail-side { position: relative; top: 0; }
  .detail-content { padding: 65px 0; }
  .detail-deliverables { padding: 65px 0; }
  .deliverables-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .services-section { padding-bottom: 37px; }
  .industries-section { padding-bottom: 36px; }
  .detail-hero { padding: 45px 0 66px; }
  .detail-heading h1 { font-size: clamp(36px,9vw,49px); }
  .detail-content { padding: 50px 0; }
  .detail-side { padding: 24px; }
  .detail-block { margin-bottom: 44px; }
  .detail-deliverables { padding: 55px 0; }
  .deliverables-grid { grid-template-columns: 1fr; gap: 12px; }
  .deliverable-card { min-height: unset; }
  .detail-end { padding: 56px 0; }
}


/* AVC-11 owner review #13–18: single visual system / no dynamic dependencies. */
.hero-visual-halo { display: none; }
.hero-visual img {
  right: -166px;
  bottom: -2px;
  width: 850px;
  height: auto;
  object-fit: contain;
  filter: none;
}
/* Owner #14: initial editorial two-column timeline with linked headings. */
.steps-list h3 a { color: var(--navy); text-decoration: none; }
.steps-list h3 a:hover, .steps-list h3 a:focus-visible { color: var(--blue); }
.steps-list h3 a span { color: var(--blue); display: inline-block; font-size: 18px; margin-left: 4px; font-weight: 400; }
.steps-list li:last-child { padding-bottom: 0; }

/* Owner #15: Expertise uses the same premium-card language as Services. */
.expertise-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.expertise-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 31px 25px 28px;
  background: #fff;
  border: 1px solid #e0e8f3;
  border-radius: var(--radius);
  box-shadow: 0 10px 36px rgba(14, 40, 81, .035);
}
.expertise-card:hover { border-color: #becfea; box-shadow: var(--shadow); }
.expertise-card .service-icon { margin-bottom: 22px; }
.expertise-card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.018em; margin-bottom: 14px; }
.expertise-card p { color: #586a81; font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.expertise-card .text-link { margin-top: auto; font-size: 12px; white-space: normal; }

/* Owner #17: symmetric outer spacing across standard content sections.
   Existing tight card-to-card gaps remain; only asymmetric outer padding is normalized. */
.section, .section-challenge, .services-section,
.approach-section, .industries-section, .expertise-section,
.faq-section { padding-top: 76px; padding-bottom: 76px; }
.contact-section { padding-top: 80px; padding-bottom: 80px; }
.detail-hero { padding-top: 85px; padding-bottom: 85px; }
.detail-content { padding-top: 76px; padding-bottom: 76px; }
.detail-deliverables { padding-top: 76px; padding-bottom: 76px; }
.detail-end { padding-top: 76px; padding-bottom: 76px; }

/* Owner's new #18: one coordinated four-column deliverables row on desktop;
   two-by-two on tablets and one column on phones — no orphan fourth card. */
.deliverables-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
  margin-top: 31px;
}
.deliverable-card {
  min-width: 0;
  min-height: 235px;
  display: flex;
  flex-direction: column;
  padding: 31px 25px 27px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #e0e8f3;
  box-shadow: 0 10px 36px rgba(14, 40, 81, .035);
}
.deliverable-card:hover { border-color: #becfea; box-shadow: var(--shadow); }
.deliverable-card span { font-size: 10px; margin-bottom: 22px; color: #4670b4; }
.deliverable-card h3 { font-size: 19px; line-height: 1.27; margin-bottom: 15px; }
.deliverable-card p { font-size: 14px; line-height: 1.7; }

@media (max-width: 1130px) {
  .hero-visual img { width: 740px; right: -200px; }
  .expertise-cards, .deliverables-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expertise-card { min-height: 300px; }
  .deliverable-card { min-height: 205px; }
}
@media (max-width: 870px) {
  .hero-visual img { width: 650px; right: -265px; }
  .section, .section-challenge, .services-section,
  .approach-section, .industries-section, .expertise-section,
  .faq-section, .detail-content, .detail-deliverables, .detail-end {
    padding-top: 62px; padding-bottom: 62px;
  }
  .contact-section { padding-top: 64px; padding-bottom: 64px; }
  .detail-hero { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 600px) {
  .hero-visual img { width: 100%; min-width: 360px; right: -25px; bottom: -4px; }
  .expertise-cards, .deliverables-grid { grid-template-columns: 1fr; gap: 14px; }
  .expertise-card, .deliverable-card { min-height: 0; padding: 26px 23px; }
  .expertise-card .service-icon { margin-bottom: 12px; }
  .deliverable-card span { margin-bottom: 12px; }
  .section, .section-challenge, .services-section,
  .approach-section, .industries-section, .expertise-section,
  .faq-section, .detail-content, .detail-deliverables, .detail-end {
    padding-top: 48px; padding-bottom: 48px;
  }
  .contact-section { padding-top: 54px; padding-bottom: 54px; }
  .detail-hero { padding-top: 48px; padding-bottom: 48px; }
}

/* Remove the large pale-blue semicircle above the building: owner #13. */
.hero::after { display: none; }


/* AVC-11 #21 — roofline follows Section 7, building image deliberately
   bleeds past the right side of the viewport. This hides the crop boundary
   while retaining a sharp, separate architectural silhouette. */
@media (min-width: 1131px) {
  .hero-visual img { width: 1050px; right: -340px; }
}
@media (min-width: 871px) and (max-width: 1130px) {
  .hero-visual img { width: 925px; right: -315px; }
}
@media (min-width: 601px) and (max-width: 870px) {
  .hero-visual img { width: 760px; right: -285px; }
}
@media (max-width: 600px) {
  .hero-visual img { width: 138%; min-width: 410px; right: -120px; }
}

/* AVC-11 #23: the facade is a separate, sharply outlined foreground layer.
   Fade only its LOWER edge into the existing light hero canvas; never blur
   the accepted curved roofline. -webkit-mask-image supports Safari/WebKit. */
.hero-visual img {
  -webkit-mask-image: linear-gradient(to bottom,
    #000 0%, #000 75%,
    rgba(0,0,0,.97) 78%,
    rgba(0,0,0,.66) 89%,
    transparent 100%);
  mask-image: linear-gradient(to bottom,
    #000 0%, #000 75%,
    rgba(0,0,0,.97) 78%,
    rgba(0,0,0,.66) 89%,
    transparent 100%);
}

/* AVC-11 #24/#25: the approved glass building is reused as a FIRST-PLANE
   photographic cutout on all seven detail pages, while dotted wave remains a
   separate BACKGROUND layer. The wave fades before it reaches the building.
   No runtime JS, remote image, filter blur or image compositing requests. */
.hero-wave {
  inset: auto auto -126px 0;
  width: 67%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 36%, transparent 94%);
  mask-image: linear-gradient(to right, #000 0%, #000 36%, transparent 94%);
}
.hero-visual { z-index: 2; }
.hero-copy { z-index: 3; }

.detail-hero {
  isolation: isolate;
  min-height: 635px;
  padding-top: 88px;
  padding-bottom: 88px;
  background: linear-gradient(112deg, #fff 17%, #f6faff 53%, #e9f2ff 100%);
}
.detail-hero::after { display: none; }
.detail-hero-wave {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  bottom: -124px;
  left: 0;
  width: 67%;
  height: 420px;
  opacity: .58;
  background: url("../images/wave-mesh.svg?v=119ebf4ca766") center bottom / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 36%, transparent 94%);
  mask-image: linear-gradient(to right, #000 0%, #000 36%, transparent 94%);
}
.detail-hero-building {
  position: absolute;
  overflow: hidden;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}
.detail-hero-building img {
  position: absolute;
  display: block;
  width: 980px;
  max-width: none;
  height: auto;
  right: -265px;
  bottom: -7px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 75%, rgba(0,0,0,.97) 78%, rgba(0,0,0,.66) 89%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 75%, rgba(0,0,0,.97) 78%, rgba(0,0,0,.66) 89%, transparent 100%);
}
.detail-hero .container { z-index: 2; }
.detail-heading { max-width: 675px; }
.detail-heading h1 { max-width: 675px; font-size: clamp(39px, 4.5vw, 61px); }
.detail-heading > p:not(.overline) { max-width: 550px; }
.detail-hero .breadcrumb { position: relative; z-index: 2; max-width: 720px; }

@media (min-width: 1131px) {
  .detail-hero-building img { width: 1030px; right: -333px; }
}
@media (min-width: 871px) and (max-width: 1130px) {
  .detail-hero { min-height: 660px; }
  .detail-hero-building img { width: 880px; right: -293px; }
  .detail-heading { max-width: 59%; }
  .detail-heading h1 { font-size: clamp(37px, 5vw, 53px); }
}
@media (max-width: 870px) {
  .detail-hero { min-height: 0; padding-top: 62px; padding-bottom: 280px; }
  .detail-hero-building img { width: 825px; right: -286px; bottom: -3px; }
  .detail-heading { max-width: 675px; }
  .detail-heading h1 { font-size: clamp(36px, 5.5vw, 54px); }
}
@media (max-width: 600px) {
  .hero-wave, .detail-hero-wave {
    width: 71%;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 16%, transparent 85%);
    mask-image: linear-gradient(to right, #000 0%, #000 16%, transparent 85%);
  }
  .detail-hero { padding-top: 42px; padding-bottom: 235px; }
  .detail-hero-building img { width: 590px; right: -156px; bottom: -4px; }
  .detail-heading h1 { font-size: clamp(35px, 9vw, 47px); }
}


/* AVC-11 #27 — all seven detail pages inherit the HOME hero design.
   Historical #26 (old SVG on subpages) is superseded. Same approved
   photographic cutout, gradient, dotted-wave/background separation,
   image placement, typography and action buttons on every page.
   Copy, breadcrumbs and navigation remain page-specific. */
.detail-hero {
  isolation: isolate;
  position: relative;
  min-height: 0;
  padding: 0;
  background: linear-gradient(112deg, #fff 17%, #f6faff 53%, #e9f2ff 100%);
}
.detail-hero::after { display: none; }
.detail-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  min-height: 680px;
  align-items: center;
}
.detail-hero-copy {
  max-width: 700px;
  padding: 54px 0 74px;
  z-index: 3;
}
.detail-hero-copy .breadcrumb {
  position: relative;
  margin: 0 0 28px;
  line-height: 1.5;
}
.detail-hero-copy .eyebrow { margin-bottom: 24px; }
.detail-hero-copy h1 {
  max-width: 690px;
  font-size: clamp(41px, 4.3vw, 65px);
  line-height: 1.07;
  margin: 0 0 25px;
}
.detail-hero-copy .hero-lead {
  max-width: 560px;
  margin-bottom: 29px;
}
.detail-hero-wave {
  inset: auto auto -126px 0;
  width: 67%;
  height: 420px;
  z-index: 0;
  opacity: .58;
}
.detail-hero-building {
  position: relative;
  inset: auto;
  height: 680px;
  align-self: stretch;
  overflow: visible;
  margin-right: -30px;
  z-index: 2;
}
.detail-hero-building img {
  position: absolute;
  display: block;
  right: -340px;
  bottom: -2px;
  width: 1050px;
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 75%, rgba(0,0,0,.97) 78%, rgba(0,0,0,.66) 89%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 75%, rgba(0,0,0,.97) 78%, rgba(0,0,0,.66) 89%, transparent 100%);
}
@media (min-width: 871px) and (max-width: 1130px) {
  .detail-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 675px; }
  .detail-hero-copy { max-width: 100%; padding: 45px 0 60px; }
  .detail-hero-copy h1 { font-size: clamp(39px, 4.8vw, 57px); }
  .detail-hero-building { height: 675px; }
  .detail-hero-building img { width: 925px; right: -315px; bottom: -2px; }
}
@media (min-width: 601px) and (max-width: 870px) {
  .detail-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); min-height: 650px; }
  .detail-hero-copy { max-width: 100%; padding: 38px 0 55px; }
  .detail-hero-copy h1 { font-size: clamp(36px, 5.2vw, 48px); }
  .detail-hero-building { height: 650px; }
  .detail-hero-building img { width: 760px; right: -285px; bottom: -2px; }
}
@media (max-width: 600px) {
  .detail-hero-grid {
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-items: stretch;
  }
  .detail-hero-copy {
    max-width: 100%;
    width: 100%;
    padding: 35px 0 13px;
  }
  .detail-hero-copy .breadcrumb { margin-bottom: 25px; font-size: 11px; }
  .detail-hero-copy .eyebrow { margin-bottom: 18px; }
  .detail-hero-copy h1 { font-size: clamp(36px, 9vw, 47px); margin-bottom: 20px; }
  .detail-hero-copy .hero-lead { font-size: 16px; margin-bottom: 24px; }
  .detail-hero-building { height: 265px; width: 100%; margin-right: 0; align-self: stretch; }
  .detail-hero-building img { width: 138%; min-width: 410px; right: -120px; bottom: -3px; }
  .detail-hero-wave { width: 71%; height: 500px; bottom: -180px; opacity: .33; }
}


/* AVC-13 owner-selected C — Premium Contrast.
   Dedicated higher-resolution branded visual with dark glazing and
   cloud reflections, not a filter on the old low-resolution photograph.
   This WebP has a transparent curved roof and an intrinsic soft bottom
   fade; disable the older CSS alpha mask to avoid double fading. */
.hero-visual img[src^="/assets/images/hero-building-premium-contrast.webp"] {
  filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.hero-wave { opacity: .42; }
.detail-hero-wave { opacity: .42; }


/* AVC-16: make the entire AVConsult.ing wordmark a reliable home link.
   Keep the cursor explicit in Safari over both the <a> and nested SVG image. */
.site-header .brand-link,
.site-header .brand-link img,
.site-footer .footer-inner > a,
.site-footer .footer-inner > a img { cursor: pointer; }
.site-header .brand-link { position: relative; z-index: 1; }
.site-header .brand-link img { pointer-events: none; }
.site-header .brand-link:hover { opacity: .94; }


/* AVC-15: replace the duplicate service label with a compact, linked
   breadcrumb placed directly beside the approved blue eyebrow stroke. */
.detail-hero-copy .detail-breadcrumb {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  /* Exactly the homepage tagline's type scale and spacing. */
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  margin: 0 0 26px;
  min-width: 0;
}
.detail-breadcrumb .eyebrow-mark { margin-top: .58em; }
.detail-hero-copy .detail-breadcrumb .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 9px;
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  font-weight: inherit;
  text-transform: inherit;
}
.detail-breadcrumb .breadcrumb a { color: var(--blue); font-weight: inherit; text-decoration: none; }
.detail-breadcrumb .breadcrumb a:is(:hover, :focus-visible) { text-decoration: underline; }
.detail-breadcrumb .breadcrumb [aria-current="page"] {
  color: #546d8b;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  /* Match the 11px homepage tagline even on mobile. */
  .detail-hero-copy .detail-breadcrumb { font-size: 11px; gap: 10px; }
  .detail-breadcrumb .breadcrumb { gap: 4px 7px; }
}


/* AVC-14 — active section/group navigation. No client-rendered content:
   a tiny local progressive enhancement only updates the link state. */
.desktop-nav > a:not(.button):is(.is-active, [aria-current="location"]) {
  color: var(--blue);
  position: relative;
}
.desktop-nav > a:not(.button):is(.is-active, [aria-current="location"])::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}
.mobile-menu nav > a:is(.is-active, [aria-current="location"]) {
  color: var(--blue);
  padding-left: 12px;
  box-shadow: inset 3px 0 var(--blue);
}
/* CSS-only current-group fallback on static detail pages (JS disabled). */
body[data-nav-group="services"] .desktop-nav > a[href$="#services"],
body[data-nav-group="approach"] .desktop-nav > a[href$="#approach"],
body[data-nav-group="expertise"] .desktop-nav > a[href$="#expertise"] {
  color: var(--blue);
}
/* No-JS deep-link fallback. Once JS starts scroll tracking it adds
   nav-enhanced to disable persistent :target highlight (AVC-19).
   Otherwise Approach stays blue after scrolling to Expertise. */
body[data-nav-group="home"]:not(.nav-enhanced):has(#services:target) .desktop-nav > a[href="#services"],
body[data-nav-group="home"]:not(.nav-enhanced):has(#approach:target) .desktop-nav > a[href="#approach"],
body[data-nav-group="home"]:not(.nav-enhanced):has(#expertise:target) .desktop-nav > a[href="#expertise"],
body[data-nav-group="home"]:not(.nav-enhanced):has(#faq:target) .desktop-nav > a[href="#faq"] {
  color: var(--blue);
}

/* AVC-17: approved Services and Expertise hero family, using homepage icons. */
.detail-hero .hero-diagram { position: relative; z-index: 2; overflow: visible; }
.detail-hero .hero-diagram img {
  position: absolute;
  top: 50%;
  bottom: auto;
  right: -222px;
  width: 910px;
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translateY(-50%);
  -webkit-mask-image: none;
  mask-image: none;
  filter: none;
  pointer-events: none;
}
@media (min-width: 871px) and (max-width: 1130px) {
  .detail-hero .hero-diagram img { right: -205px; width: 790px; }
}
@media (min-width: 601px) and (max-width: 870px) {
  .detail-hero .hero-diagram img { right: -190px; width: 680px; }
}
@media (max-width: 600px) {
  .detail-hero .hero-diagram {
    height: 278px;
    width: 100%;
    margin-right: 0;
  }
  .detail-hero .hero-diagram img {
    right: 50%;
    top: 49%;
    width: min(650px, 152vw);
    min-width: 0;
    transform: translate(50%, -50%);
  }
}


/* AVC-22 owner correction: hover anywhere on an Approach step illuminates
   ONLY its numbered square (1–4), never the entire row of text.
   Native :hover works with Safari trackpads; :focus-within serves keyboards. */
.step-num {
  background: #fff;
  transition: background-color .2s ease, border-color .2s ease,
              color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.steps-list > li:hover > .step-num,
.steps-list > li:focus-within > .step-num {
  color: var(--blue-deep);
  background: #fff;
  border-color: #709be4;
  box-shadow: 0 6px 14px rgba(10, 39, 92, .14),
              0 2px 6px rgba(40, 91, 203, .10);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .step-num { transition: none; }
  .steps-list > li:hover > .step-num,
  .steps-list > li:focus-within > .step-num { transform: none; }
}


/* AVC-23 owner experiment: the eleven detail-page heroes retain only the
   light-blue gradient and dotted wave mesh. The homepage facade is restored
   separately below for a new owner review; historical design files remain. */
.hero .hero-grid,
.detail-hero .detail-hero-grid {
  grid-template-columns: minmax(0, 1fr);
}
.hero .hero-copy { max-width: 700px; }
.detail-hero .detail-hero-copy { max-width: 720px; }
@media (max-width: 600px) {
  /* Keep the unused detail-page artwork area collapsed. */
  .detail-hero .detail-hero-copy { padding-bottom: 72px; }
}

/* AVC-24: the original Premium Contrast C facade is a real alpha-transparent
   foreground image, not a CSS-background crop. Restore it on HOME only.
   Keep the curved roof crisp and its original lower fade; the wave remains
   behind everything and no masking or image filters are applied. */
@media (min-width: 871px) {
  .hero .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .hero .hero-copy { max-width: 645px; }
  .hero .hero-visual { height: auto; min-height: 633px; margin-right: 0; align-self: stretch; pointer-events: none; }
  .hero .hero-visual img {
    display: block; width: 1050px; height: auto; max-width: none;
    right: -315px; bottom: -3px; object-fit: contain;
    -webkit-mask-image: none; mask-image: none; filter: none;
  }
}
@media (min-width: 871px) and (max-width: 1130px) {
  .hero .hero-visual img { width: 900px; right: -305px; }
}
@media (max-width: 870px) {
  .hero .hero-grid { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero .hero-copy { max-width: 100%; padding-bottom: 12px; }
  /* Reserve enough space for the entire source silhouette below the CTAs. */
  .hero .hero-visual { position: relative; height: 355px; min-height: 0; width: 100%; margin: 0; align-self: stretch; pointer-events: none; }
  .hero .hero-visual img {
    display: block; width: 790px; min-width: 0; max-width: none; height: auto;
    right: -110px; bottom: -4px; object-fit: contain;
    -webkit-mask-image: none; mask-image: none; filter: none;
  }
}
@media (max-width: 600px) {
  .hero .hero-copy { padding-bottom: 14px; }
  .hero .hero-visual { height: clamp(255px, 76vw, 300px); }
  .hero .hero-visual img { width: max(470px, 142vw); right: -96px; bottom: -3px; }
}

/* AVC-32 — one hero visual across all 12 pages, shared with Home.
   The detail pages reuse the exact Premium Contrast C alpha-WebP facade,
   sizes/srcset, gradient and dotted wave. Keep their own textual copy.
   There are no per-Service, per-Approach or per-Expertise hero images. */
.detail-hero {
  padding: 0;
  background: linear-gradient(112deg, #fff 17%, #f6faff 53%, #e9f2ff 100%);
}
.detail-hero .detail-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  min-height: 633px;
  align-items: center;
}
.detail-hero .detail-hero-copy {
  max-width: 645px;
  padding: 54px 0 74px;
}
.detail-hero .detail-hero-wave {
  inset: auto 0 -126px 0;
  width: 100%;
  height: 420px;
  opacity: .42;
}
.detail-hero .hero-visual {
  min-height: 633px;
  height: auto;
  margin-right: 0;
  align-self: stretch;
  pointer-events: none;
}
.detail-hero .hero-visual img {
  width: 1050px;
  right: -315px;
  bottom: -3px;
  height: auto;
  max-width: none;
  object-fit: contain;
  -webkit-mask-image: none;
  mask-image: none;
  filter: none;
}
@media (min-width: 871px) and (max-width: 1130px) {
  .detail-hero .detail-hero-copy {
    max-width: 100%;
    padding: 45px 0 60px;
  }
  .detail-hero .hero-visual img {
    width: 900px;
    right: -305px;
  }
}
@media (max-width: 870px) {
  .detail-hero .detail-hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .detail-hero .detail-hero-copy {
    max-width: 100%;
    width: 100%;
    padding: 44px 0 12px;
  }
  .detail-hero .hero-visual {
    position: relative;
    height: 355px;
    min-height: 0;
    width: 100%;
    margin: 0;
    align-self: stretch;
  }
  .detail-hero .hero-visual img {
    width: 790px;
    min-width: 0;
    max-width: none;
    right: -110px;
    bottom: -4px;
  }
}
@media (max-width: 600px) {
  .detail-hero .detail-hero-copy {
    padding: 40px 0 14px;
  }
  .detail-hero .hero-visual {
    height: clamp(255px, 76vw, 300px);
  }
  .detail-hero .hero-visual img {
    width: max(470px, 142vw);
    right: -96px;
    bottom: -3px;
  }
}

/* AVC-34 — accessible contact composer (no website-side data submission). */
.contact-email { color: #fff; font-weight: 700; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-email:hover, .contact-email:focus-visible { color: #b8d7ff; }
.contact-dialog { box-sizing: border-box; width: min(94vw, 590px); max-height: min(92vh, 850px); overflow-y: auto; margin: auto; padding: clamp(22px, 3vw, 36px); border: 1px solid #dce5f2; border-radius: 17px; box-shadow: 0 28px 80px rgba(9, 28, 63, .32); background: #fff; color: #0C2345; }
.contact-dialog::backdrop { background: rgba(3, 17, 40, .72); backdrop-filter: blur(4px); }
.contact-dialog-header { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.contact-dialog .contact-dialog-eyebrow { margin: 0 0 8px; color: #285BCB; font: 700 11px/1.5 Arial, sans-serif; letter-spacing: .11em; }
.contact-dialog h2 { color: #0C2345; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0 0 8px; letter-spacing: -.03em; }
.contact-dialog-header p:not(.contact-dialog-eyebrow) { color: #4b5b72; font-size: 13px; line-height: 1.6; margin: 0; }
.contact-dialog-close { border: 0; border-radius: 50%; background: #eef3fb; color: #0C2345; cursor: pointer; width: 36px; height: 36px; font-size: 28px; line-height: 1; flex: none; }
.contact-dialog-close:hover, .contact-dialog-close:focus-visible { background: #dce9fe; }
.contact-compose-form { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.contact-compose-form label { color: #15335c; font-size: 13px; font-weight: 700; margin-top: 8px; }
.contact-compose-form input, .contact-compose-form textarea { box-sizing: border-box; width: 100%; border: 1px solid #bfcde0; border-radius: 8px; padding: 11px 12px; background: #fff; color: #112b4e; font: 400 15px/1.5 Arial, sans-serif; }
.contact-compose-form textarea { resize: vertical; min-height: 108px; }
.contact-compose-form input:focus-visible, .contact-compose-form textarea:focus-visible { outline: 3px solid rgba(40,91,203,.24); border-color: #285BCB; }
.contact-compose-form .contact-form-privacy { color: #586b83; font-size: 12px; line-height: 1.55; margin: 12px 0 4px; }
.contact-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.contact-form-actions .button { cursor: pointer; border: 1px solid #285BCB; font-family: inherit; }
@media (max-width: 480px) {
  .contact-dialog { width: calc(100vw - 22px); max-height: calc(100dvh - 22px); padding: 20px 16px; }
  .contact-form-actions { flex-direction: column-reverse; align-items: stretch; }
  .contact-form-actions .button { justify-content: center; width: 100%; }
}

/* AVC-38 — branded 404, noindex. Error status belongs to Apache/Nginx, not HTML. */
.error-page { isolation: isolate; position: relative; overflow: hidden; background: linear-gradient(112deg, #fff 16%, #f6faff 54%, #e5f0ff 100%); }
.error-wave { position: absolute; inset: auto -5% -156px -5%; height: 430px; background: url("../images/wave-mesh.svg?v=119ebf4ca766") center bottom / cover no-repeat; opacity: .42; pointer-events: none; z-index: 0; }
.error-layout { isolation: isolate; position: relative; z-index: 1; display: grid; grid-template-columns: 1.06fr .94fr; min-height: 605px; align-items: center; }
.error-copy { position: relative; z-index: 2; padding: 62px 0 76px; max-width: 670px; }
.error-copy .eyebrow { margin-bottom: 18px; }
.error-code { display: flex; align-items: baseline; font-size: clamp(106px, 13vw, 176px); letter-spacing: -.09em; line-height: .99; font-weight: 800; color: #0C2345; margin: 0 0 12px; }
.error-code span { color: #285BCB; }
.error-copy h1 { font-size: clamp(32px, 3.5vw, 49px); line-height: 1.13; letter-spacing: -.045em; margin: 0 0 21px; }
.error-copy h1 span { color: #285BCB; }
.error-lead { font-size: 16px; line-height: 1.75; color: #42556e; max-width: 510px; margin: 0 0 27px; }
.error-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.error-contact { font-size: 13px; line-height: 1.8; color: #506581; margin: 27px 0 0; }
.error-contact a { color: #2055bd; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.error-contact a:hover { color: #0C2345; }
.error-visual { align-self: stretch; position: relative; z-index: 1; min-height: 605px; pointer-events: none; }
.error-visual-orbit { position: absolute; width: 590px; height: 590px; right: -210px; top: -120px; border: 1px solid rgba(40,91,203,.085); border-radius: 50%; }
.error-visual img { position: absolute; width: min(870px, 65vw); max-width: none; height: auto; right: -165px; bottom: -1px; filter: drop-shadow(-9px 18px 26px rgba(8,36,73,.045)); }
.error-paths { padding: 40px 0 64px; background: #fff; border-top: 1px solid #e5eefa; }
.error-paths h2 { font-size: 16px; line-height: 1.35; letter-spacing: -.015em; margin-bottom: 20px; }
.error-paths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.error-paths-grid a { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; min-height: 113px; padding: 18px 22px; border-radius: 12px; border: 1px solid #e1eaf6; background: #f9fbff; transition: border-color .2s, box-shadow .2s; }
.error-paths-grid a:hover, .error-paths-grid a:focus-visible { border-color: #8eafe4; box-shadow: 0 8px 18px rgba(15,51,102,.07); }
.error-paths-grid a > span:first-child { grid-column: 1/-1; color: #527bb7; font-size: 10px; font-weight: 800; letter-spacing: 1.3px; }
.error-paths-grid a strong { color: var(--navy); font-size: 15px; line-height: 1.4; }
.error-path-arrow { font-size: 22px; font-weight: 400; color: #285BCB; }
@media (max-width: 980px) {
  .error-layout { grid-template-columns: 1fr .55fr; min-height: 555px; }
  .error-visual { min-height: 555px; }
  .error-visual img { width: 660px; right: -240px; }
  .error-code { font-size: 124px; }
}
@media (max-width: 700px) {
  .error-layout { display: flex; flex-direction: column; align-items: stretch; }
  .error-copy { padding: 53px 0 0; }
  .error-code { font-size: clamp(97px, 22vw, 124px); margin-bottom: 13px; }
  .error-copy h1 { font-size: clamp(33px, 7vw, 43px); }
  .error-lead { font-size: 15px; }
  .error-actions { display: grid; grid-template-columns: 1fr; max-width: 430px; gap: 10px; }
  .error-actions .button { white-space: normal; }
  .error-contact { margin-top: 24px; }
  .error-visual { width: 100%; height: 245px; min-height: 245px; }
  .error-visual img { width: min(710px, 146vw); right: -19%; }
  .error-paths-grid { grid-template-columns: 1fr; gap: 10px; }
  .error-paths-grid a { min-height: 85px; }
  .error-paths { padding: 33px 0 47px; }
}
@media (prefers-reduced-motion: reduce) { .error-paths-grid a { transition: none; } }
