/*
Theme Name: Asvinta Global
Theme URI: https://www.asvinta.lk/
Author: Asvinta Global
Description: A custom, editable WordPress theme for Asvinta Global.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: asvinta-global
*/

:root {
  --av-cyan: #00acc1;
  --av-cyan-light: #4dd0e1;
  --av-cyan-dark: #00838f;
  --av-yellow: #fdb913;
  --av-charcoal: #1d1d1d;
  --av-navy: #111d27;
  --av-navy-2: #172530;
  --av-gray: #f5f5f5;
  --av-muted: #64717b;
  --av-white: #fff;
  --av-border: #dfe7ea;
  --av-container: 1180px;
  --av-radius: 0;
  --av-shadow: 0 18px 46px rgba(17, 29, 39, .12);
  --av-font: "Century Gothic", CenturyGothic, AppleGothic, "Trebuchet MS", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--av-charcoal);
  background: var(--av-white);
  font-family: var(--av-font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header.is-sticky { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; color: var(--av-charcoal); font-weight: 700; line-height: 1.16; }
p { margin: 0 0 22px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { z-index: 100000; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 18px; clip: auto; background: #fff; color: #000; }
.container { width: min(calc(100% - 48px), var(--av-container)); margin-inline: auto; }
.section { position: relative; padding: 108px 0; }
.section--gray { background: var(--av-gray); }
.section--dark { background: var(--av-navy); color: rgba(255,255,255,.76); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 17px; color: var(--av-cyan-dark); font-size: 13px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.section-eyebrow::after { content: ""; width: 42px; height: 3px; background: var(--av-yellow); }
.section-title { max-width: 760px; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.035em; }
.section-lede { max-width: 760px; color: var(--av-muted); font-size: 18px; line-height: 1.8; }
.section-heading { margin-bottom: 50px; }

.button, .wp-block-button__link {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 28px;
  border: 0;
  border-radius: 0;
  background: var(--av-cyan);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button::after, .wp-block-button__link::after { content: "\2192"; font-size: 18px; line-height: 1; }
.button:hover, .button:focus-visible, .wp-block-button__link:hover, .wp-block-button__link:focus-visible { background: var(--av-cyan-dark); color: #fff; transform: translateY(-2px); }
.button--yellow { background: var(--av-yellow); color: var(--av-charcoal); }
.button--yellow:hover, .button--yellow:focus-visible { background: #e5a500; color: var(--av-charcoal); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--av-yellow); outline-offset: 4px; }

.site-header { position: relative; z-index: 1000; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); background: var(--av-navy); box-shadow: 0 10px 30px rgba(6,18,27,.1); }
.site-header.is-sticky { position: fixed; top: 0; left: 0; animation: av-header-in .22s ease; }
@keyframes av-header-in { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.header-accent { height: 3px; background: linear-gradient(90deg, var(--av-cyan) 0 62%, var(--av-cyan-light) 62% 82%, var(--av-yellow) 82% 100%); }
.header-inner { display: grid; grid-template-columns: 205px minmax(0, 1fr) 166px; min-height: 92px; align-items: center; gap: 24px; }
.site-branding { display: flex; min-width: 0; align-items: center; }
.custom-logo-link, .brand-fallback { display: inline-flex; min-width: 120px; height: 68px; align-items: center; padding: 5px 0; }
.custom-logo, .brand-fallback img { width: 190px; max-height: 58px; object-fit: contain; }
.primary-navigation { min-width: 0; justify-self: center; }
.primary-navigation .menu, .primary-navigation ul { display: flex; margin: 0; padding: 0; align-items: center; justify-content: center; gap: clamp(14px, 1.45vw, 24px); list-style: none; }
.primary-navigation li { position: relative; }
.primary-navigation a { display: flex; min-height: 92px; align-items: center; color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: color .22s ease; }
.primary-navigation > ul > li.menu-item-has-children > a { padding-right: 18px; }
.primary-navigation > ul > li > a::after { position: absolute; right: 50%; bottom: 20px; left: 50%; height: 2px; content: ""; background: var(--av-cyan); transition: right .24s ease, left .24s ease; }
.primary-navigation > ul > li > a:hover, .primary-navigation .current-menu-item > a, .primary-navigation .current-menu-ancestor > a { color: var(--av-cyan-light); }
.primary-navigation > ul > li > a:hover::after, .primary-navigation .current-menu-item > a::after, .primary-navigation .current-menu-ancestor > a::after { right: 0; left: 0; }
.primary-navigation .sub-menu { position: absolute; z-index: 20; top: calc(100% - 4px); left: -18px; display: block; width: 260px; padding: 12px 0; visibility: hidden; transform: translateY(10px); border-top: 2px solid var(--av-cyan); background: #fff; box-shadow: 0 18px 44px rgba(6,18,27,.16); opacity: 0; transition: opacity .24s ease, transform .3s cubic-bezier(.2,.75,.25,1), visibility .24s; }
.primary-navigation .sub-menu a { min-height: 46px; padding: 11px 22px; color: var(--av-charcoal); font-size: 12px; line-height: 1.5; text-transform: none; white-space: normal; transition: color .2s ease, background .2s ease, padding-left .2s ease; }
.primary-navigation .sub-menu a:hover, .primary-navigation .sub-menu .current-menu-item a { color: var(--av-cyan-dark); background: var(--av-gray); }
.primary-navigation .sub-menu a:hover { padding-left: 26px; }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu, .primary-navigation li.submenu-open > .sub-menu { visibility: visible; transform: translateY(0); opacity: 1; }
.submenu-toggle { display: inline-grid; width: 22px; height: 30px; place-items: center; border: 0; background: transparent; color: var(--av-cyan-light); cursor: pointer; }
.submenu-toggle:focus-visible { outline-width: 2px; outline-offset: 1px; }
.submenu-toggle::before { width: 7px; height: 7px; content: ""; transform: translateY(-2px) rotate(45deg); border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: transform .28s cubic-bezier(.2,.75,.25,1), color .2s ease; }
.primary-navigation > ul > li.menu-item-has-children > .submenu-toggle { position: absolute; top: 50%; right: -2px; margin: 0; transform: translateY(-50%); }
.primary-navigation li:hover > .submenu-toggle::before, .primary-navigation li:focus-within > .submenu-toggle::before, .submenu-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(225deg); }
.header-cta { min-width: 158px; min-height: 50px; justify-self: end; padding: 12px 20px; white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.menu-toggle:hover, .menu-toggle:focus-visible { border-color: var(--av-cyan-light); background: rgba(255,255,255,.05); }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 4px 0; transform-origin: center; background: currentColor; transition: transform .28s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero { position: relative; min-height: 650px; overflow: hidden; background: var(--av-navy); color: #fff; }
.hero::before { position: absolute; inset: 0; content: ""; opacity: .24; background-image: radial-gradient(circle at 22% 44%, transparent 0 90px, rgba(77,208,225,.28) 92px 94px, transparent 96px), repeating-radial-gradient(circle at 12% 120%, transparent 0 55px, rgba(255,255,255,.05) 56px 58px); }
.hero-grid { position: relative; z-index: 1; display: grid; min-height: 650px; grid-template-columns: 54% 46%; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding: 88px 32px 88px 0; }
.hero-kicker { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; color: var(--av-cyan-light); font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero-kicker::after { width: 76px; height: 6px; content: ""; background: repeating-linear-gradient(90deg, var(--av-yellow) 0 8px, transparent 8px 12px); }
.hero h1, .hero .hero-title { max-width: 720px; margin-bottom: 24px; color: #fff; font-size: clamp(48px, 5.35vw, 78px); letter-spacing: -.045em; }
.hero-subtitle { max-width: 630px; margin-bottom: 36px; color: rgba(255,255,255,.76); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.55; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 49%; overflow: hidden; border-bottom-left-radius: 47% 34%; }
.hero-media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, var(--av-navy), transparent 30%), linear-gradient(180deg, rgba(0,172,193,.08), rgba(17,29,39,.25)); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.hero-orbit { position: absolute; z-index: 2; right: 6%; bottom: -88px; width: 310px; height: 310px; overflow: hidden; border: 14px solid #fff; border-radius: 50%; box-shadow: 0 20px 55px rgba(0,0,0,.22); }
.hero-orbit img { width: 100%; height: 100%; object-fit: cover; }
.hero-slider { position: relative; min-height: 650px; overflow: hidden; background: var(--av-navy); color: #fff; }
.hero-slider .hero-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .6s ease, visibility .6s ease; }
.hero-slider .hero-slide.is-active { z-index: 1; visibility: visible; opacity: 1; pointer-events: auto; }
.hero-slider .hero-slide .hero-copy { transform: translateY(16px); opacity: 0; transition: transform .6s ease .12s, opacity .6s ease .12s; }
.hero-slider .hero-slide.is-active .hero-copy { transform: translateY(0); opacity: 1; }
.hero-controls { position: absolute; z-index: 5; right: 0; bottom: 30px; left: 0; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.hero-control, .hero-dot { display: inline-grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(255,255,255,.45); background: rgba(17,29,39,.78); color: #fff; cursor: pointer; pointer-events: auto; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.hero-control { width: 44px; height: 44px; font-size: 21px; line-height: 1; }
.hero-control:hover, .hero-control:focus-visible { border-color: var(--av-yellow); background: var(--av-cyan-dark); transform: translateY(-2px); }
.hero-dots { display: flex; align-items: center; gap: 8px; margin-inline: 4px; pointer-events: auto; }
.hero-dot { width: 34px; height: 8px; border: 0; background: rgba(255,255,255,.46); }
.hero-dot.is-active { background: var(--av-yellow); }
.hero-toggle { margin-left: 4px; font-size: 15px; }

.intro-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 76px; align-items: center; }
.image-frame { position: relative; min-height: 490px; }
.image-frame::before { position: absolute; top: -20px; right: 35px; width: 160px; height: 160px; content: ""; border: 18px solid rgba(0,172,193,.14); border-radius: 50%; }
.image-frame img { position: relative; z-index: 1; width: calc(100% - 50px); height: 490px; object-fit: cover; box-shadow: var(--av-shadow); }
.image-frame .image-accent { position: absolute; z-index: 2; right: 0; bottom: -38px; width: 54%; height: 230px; border: 12px solid #fff; object-fit: cover; }
.feature-stripe { display: grid; margin-top: 34px; grid-template-columns: 8px 1fr; background: var(--av-gray); }
.feature-stripe::before { content: ""; background: var(--av-cyan); }
.feature-stripe p { margin: 0; padding: 20px 24px; color: var(--av-charcoal); font-weight: 700; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.service-card { position: relative; min-height: 345px; overflow: hidden; padding: 44px 42px 38px; border-top: 4px solid var(--av-cyan); background: #fff; box-shadow: 0 16px 45px rgba(17,29,39,.08); transition: transform .24s ease, box-shadow .24s ease; }
.service-card::after { position: absolute; right: -54px; bottom: -74px; width: 180px; height: 180px; content: ""; border: 25px solid rgba(0,172,193,.07); border-radius: 50%; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--av-shadow); }
.card-link { display: block; height: 100%; }
.card-number { display: block; margin-bottom: 33px; color: var(--av-cyan); font-size: 14px; font-weight: 700; letter-spacing: .16em; }
.service-card h3 { font-size: clamp(25px, 2.4vw, 34px); }
.service-card p { color: var(--av-muted); }
.text-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; color: var(--av-cyan-dark); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.text-link::before { content: "\276f"; color: var(--av-yellow); }
.text-link:hover { color: var(--av-charcoal); }

.industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.industry-card { position: relative; min-height: 470px; overflow: hidden; color: #fff; }
.industry-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.industry-card > .card-link { position: absolute; inset: 0; }
.industry-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 25%, rgba(9,20,28,.92) 100%); }
.industry-card:hover img { transform: scale(1.04); }
.industry-content { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 35px 38px; }
.industry-content h3 { color: #fff; font-size: clamp(28px, 3vw, 40px); }
.industry-content p { max-width: 540px; color: rgba(255,255,255,.76); }
.industry-content .text-link { color: var(--av-cyan-light); }

.cta-band { position: relative; overflow: hidden; padding: 76px 0; background: var(--av-cyan); color: #fff; }
.cta-band::before { position: absolute; top: -90px; right: 7%; width: 320px; height: 320px; content: ""; border: 42px solid rgba(255,255,255,.12); border-radius: 50%; }
.cta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: center; }
.cta-band h2 { max-width: 780px; margin-bottom: 12px; color: #fff; font-size: clamp(34px, 4.2vw, 54px); }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); font-size: 18px; }

.page-hero { position: relative; min-height: 340px; display: flex; align-items: center; overflow: hidden; background: var(--av-navy); color: #fff; }
.page-hero::before { position: absolute; inset: 0; content: ""; opacity: .22; background-image: linear-gradient(135deg, transparent 40%, rgba(0,172,193,.7)), repeating-radial-gradient(circle at 90% 50%, transparent 0 38px, rgba(255,255,255,.08) 40px 42px); }
.page-hero h1 { color: #fff; font-size: clamp(44px, 6vw, 72px); letter-spacing: -.04em; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--av-cyan-light); }
.breadcrumbs span + span::before { margin-right: 9px; content: "/"; color: var(--av-yellow); }
.content-section { padding: 95px 0 110px; }
.prose { max-width: 860px; }
.prose h2 { margin-top: 52px; font-size: clamp(30px, 3.5vw, 46px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 38px; font-size: 28px; }
.prose p { color: var(--av-muted); font-size: 17px; }
.split-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: 75px; align-items: start; }
.split-content__image { position: sticky; top: 140px; }
.split-content__image img { width: 100%; min-height: 480px; object-fit: cover; box-shadow: var(--av-shadow); }
.detail-list { display: grid; gap: 28px; }
.detail-block { padding: 0 0 26px 28px; border-left: 4px solid var(--av-cyan); border-bottom: 1px solid var(--av-border); }
.detail-block h2, .detail-block h3 { margin-top: 0; font-size: 30px; }
.detail-block p:last-child { margin-bottom: 0; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.post-card { overflow: hidden; background: #fff; box-shadow: 0 15px 40px rgba(17,29,39,.08); }
.post-card__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--av-gray); }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card__image img { transform: scale(1.04); }
.post-card__body { padding: 28px 30px 31px; }
.post-card__meta { margin-bottom: 12px; color: var(--av-cyan-dark); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post-card h2 { font-size: 25px; }
.post-card p { color: var(--av-muted); }
.empty-state { padding: 62px; border: 1px solid var(--av-border); background: var(--av-gray); text-align: center; }
.empty-state p { margin: 0; color: var(--av-muted); font-size: 18px; }

.faq-list { max-width: 920px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--av-border); }
.faq-question { display: grid; width: 100%; padding: 25px 0; grid-template-columns: 1fr 42px; align-items: center; gap: 20px; border: 0; background: transparent; color: var(--av-charcoal); text-align: left; cursor: pointer; }
.faq-question span:first-child { font-size: 20px; font-weight: 700; }
.faq-icon { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--av-cyan); }
.faq-icon::before, .faq-icon::after { position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; content: ""; transform: translate(-50%,-50%); background: #fff; }
.faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .2s; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%,-50%) rotate(0); }
.faq-answer { padding: 0 70px 24px 0; color: var(--av-muted); }
.faq-answer[hidden] { display: none; }

.site-footer { background: #0c161e; color: rgba(255,255,255,.7); }
.footer-accent { display: grid; min-height: 105px; align-items: center; background: var(--av-cyan); }
.footer-accent__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.footer-accent h2 { margin: 0; color: #fff; font-size: clamp(24px, 3vw, 36px); }
.footer-main { display: grid; padding: 76px 0 62px; grid-template-columns: 1fr 1.25fr; gap: 90px; align-items: center; }
.footer-brand .custom-logo-link, .footer-brand .brand-fallback { height: 90px; margin-bottom: 26px; padding-inline: 0; }
.footer-brand .custom-logo, .footer-brand .brand-fallback img { width: 240px; max-height: 76px; }
.footer-brand p { max-width: 480px; }
.footer-navigation h2 { color: #fff; font-size: 25px; }
.footer-navigation .menu, .footer-navigation ul { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 32px; list-style: none; }
.footer-navigation .sub-menu { display: none; }
.footer-navigation a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.76); font-size: 14px; }
.footer-navigation a::before { content: "\276f"; color: var(--av-cyan-light); }
.footer-navigation a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom__inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 20px; font-size: 13px; }

.pagination { display: flex; margin-top: 48px; gap: 8px; }
.pagination .page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--av-border); }
.pagination .current, .pagination a:hover { border-color: var(--av-cyan); background: var(--av-cyan); color: #fff; }
.single-post .entry-content { max-width: 860px; margin-inline: auto; }
.entry-content > * { max-width: 860px; margin-right: auto; margin-left: auto; }
.entry-content > .alignwide { max-width: var(--av-container); }
.entry-content > .alignfull { max-width: none; }
.elementor-page .entry-content { max-width: none; }
.elementor-page .entry-content > *, .elementor-page-content > * { max-width: none; margin-right: auto; margin-left: auto; }
.elementor-page .entry-content > .elementor, .elementor-page-content > .elementor { width: 100%; margin: 0; }
.elementor-page-content { width: 100%; margin: 0; }
.asvinta-elementor-canvas { margin: 0; background: #fff; }
.elementor-editor-active .site-header { position: relative !important; top: auto !important; }
.elementor-editor-active { padding-top: 0 !important; }

@media (max-width: 1120px) {
  .header-inner { grid-template-columns: 175px minmax(0, 1fr) 150px; gap: 14px; }
  .custom-logo, .brand-fallback img { width: 160px; }
  .primary-navigation .menu, .primary-navigation ul { gap: 14px; }
  .primary-navigation a { font-size: 10.5px; }
  .header-cta { min-width: 152px; padding-inline: 18px; }
  .hero-grid { grid-template-columns: 59% 41%; }
  .hero-media { width: 44%; }
}

@media (max-width: 1050px) {
  body.admin-bar .site-header.is-sticky { top: 46px; }
  .header-inner { min-height: 78px; grid-template-columns: 1fr auto; }
  .custom-logo-link, .brand-fallback { height: 58px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .primary-navigation { position: absolute; top: 81px; right: 0; left: 0; display: none; max-height: calc(100vh - 81px); overflow-y: auto; background: var(--av-navy); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 35px rgba(6,18,27,.18); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation .menu, .primary-navigation ul { display: block; padding: 12px 24px 24px; }
  .primary-navigation a { min-height: 48px; font-size: 13px; }
  .primary-navigation > ul > li > a::after { display: none; }
  .primary-navigation .sub-menu { position: static; display: block; width: auto; max-height: 0; overflow: hidden; padding: 0 0 0 18px; visibility: hidden; transform: translateY(-6px); border-top: 0; background: rgba(255,255,255,.035); box-shadow: none; opacity: 0; transition: max-height .32s ease, opacity .22s ease, transform .28s ease, visibility .22s; }
  .primary-navigation li.submenu-open > .sub-menu { max-height: 240px; padding-bottom: 6px; visibility: visible; transform: translateY(0); opacity: 1; }
  .primary-navigation .sub-menu a { color: rgba(255,255,255,.78); }
  .primary-navigation > ul > li.menu-item-has-children > a { padding-right: 40px; }
  .submenu-toggle, .primary-navigation > ul > li.menu-item-has-children > .submenu-toggle { position: absolute; top: 9px; right: 0; width: 36px; height: 36px; margin: 0; transform: none; }
  .hero-slider, .hero, .hero-grid { min-height: 720px; }
  .hero-grid { display: flex; align-items: flex-end; }
  .hero-copy { width: 100%; padding: 245px 0 118px; }
  .hero-media { inset: 0; width: 100%; border-radius: 0; }
  .hero-media::after { background: linear-gradient(180deg, rgba(17,29,39,.3), var(--av-navy) 82%); }
  .hero-orbit { display: none; }
  .intro-grid, .split-content { grid-template-columns: 1fr; gap: 60px; }
  .split-content__image { position: static; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 34px), var(--av-container)); }
  .section { padding: 78px 0; }
  .section-title { font-size: 37px; }
  .hero-slider, .hero, .hero-grid { min-height: 690px; }
  .hero h1, .hero .hero-title { font-size: clamp(44px, 13vw, 61px); }
  .hero-copy { padding-top: 215px; }
  .hero-kicker { font-size: 11px; letter-spacing: .13em; }
  .hero-subtitle { font-size: 18px; }
  .hero-controls { bottom: 24px; }
  .hero-control { width: 40px; height: 40px; }
  .hero-dot { width: 24px; }
  .cards, .industry-grid, .post-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 36px 28px; }
  .industry-card { min-height: 410px; }
  .industry-content { padding: 28px 26px; }
  .image-frame { min-height: 420px; }
  .image-frame img { width: calc(100% - 24px); height: 410px; }
  .image-frame .image-accent { display: none; }
  .cta-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 280px; }
  .content-section { padding: 72px 0 82px; }
  .split-content { gap: 40px; }
  .split-content__image img { min-height: 340px; }
  .footer-accent__inner { padding: 32px 0; flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr; gap: 42px; }
  .footer-bottom__inner { min-height: 95px; flex-direction: column; justify-content: center; text-align: center; }
  .empty-state { padding: 42px 25px; }
}

@media (max-width: 370px) {
  .container { width: min(calc(100% - 26px), var(--av-container)); }
  .custom-logo-link, .brand-fallback { padding-inline: 8px; }
  .custom-logo, .brand-fallback img { width: 145px; }
  .hero h1, .hero .hero-title { font-size: 42px; }
  .button { padding-inline: 22px; }
  .service-card { padding-inline: 23px; }
  .footer-navigation .menu, .footer-navigation ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
