:root {
  --navy: #061c33;
  --navy-2: #092846;
  --teal: #0d7f7c;
  --ink: #0c2138;
  --muted: #5d6873;
  --line: #dfe4e8;
  --paper: #ffffff;
  --offwhite: #f5f6f7;
  --max: 1540px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
a { color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 12px 4vw;
  background: #fff;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 430px;
  text-decoration: none;
}
.brand img {
  width: 145px;
  height: 78px;
  object-fit: contain;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-copy strong {
  font-size: clamp(1.45rem, 2vw, 2.2rem);
  letter-spacing: -0.03em;
}
.brand-copy small {
  margin-top: 9px;
  font-size: .9rem;
  text-transform: uppercase;
  color: var(--navy-2);
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
}
.main-nav a {
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--teal); }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  width: 24px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  min-height: 405px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slideshow,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slideshow {
  z-index: 0;
  overflow: hidden;
  background: #071523 url('assets/anechoic-wedges-01.jpg') center / cover no-repeat;
}
.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02) translate3d(0, 0, 0);
  transition: opacity 2.5s ease-in-out;
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.hero-slide.is-visible { opacity: 1; }
.hero-slide.is-moving { animation-duration: 17.5s; animation-timing-function: linear; animation-fill-mode: forwards; }
.hero-slide.kb-right { animation-name: kb-right; }
.hero-slide.kb-left { animation-name: kb-left; }
.hero-slide.kb-up { animation-name: kb-up; }
.hero-slide.kb-down { animation-name: kb-down; }
.hero-slide.kb-up-right { animation-name: kb-up-right; }
.hero-slide.kb-up-left { animation-name: kb-up-left; }
.hero-slide.kb-down-right { animation-name: kb-down-right; }
.hero-slide.kb-down-left { animation-name: kb-down-left; }

@keyframes kb-right { from { transform: scale(1.02) translate3d(-1.5%, 0, 0); } to { transform: scale(1.11) translate3d(1.5%, 0, 0); } }
@keyframes kb-left { from { transform: scale(1.02) translate3d(1.5%, 0, 0); } to { transform: scale(1.11) translate3d(-1.5%, 0, 0); } }
@keyframes kb-up { from { transform: scale(1.02) translate3d(0, 1.5%, 0); } to { transform: scale(1.11) translate3d(0, -1.5%, 0); } }
@keyframes kb-down { from { transform: scale(1.02) translate3d(0, -1.5%, 0); } to { transform: scale(1.11) translate3d(0, 1.5%, 0); } }
@keyframes kb-up-right { from { transform: scale(1.02) translate3d(-1.2%, 1.2%, 0); } to { transform: scale(1.11) translate3d(1.2%, -1.2%, 0); } }
@keyframes kb-up-left { from { transform: scale(1.02) translate3d(1.2%, 1.2%, 0); } to { transform: scale(1.11) translate3d(-1.2%, -1.2%, 0); } }
@keyframes kb-down-right { from { transform: scale(1.02) translate3d(-1.2%, -1.2%, 0); } to { transform: scale(1.11) translate3d(1.2%, 1.2%, 0); } }
@keyframes kb-down-left { from { transform: scale(1.02) translate3d(1.2%, -1.2%, 0); } to { transform: scale(1.11) translate3d(-1.2%, 1.2%, 0); } }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none !important; transition-duration: .4s; transform: none; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(2,16,29,.98) 0%, rgba(2,16,29,.93) 31%, rgba(2,16,29,.35) 58%, rgba(2,16,29,.04) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(560px, 88vw);
  margin-left: max(4vw, calc((100vw - var(--max)) / 2));
  padding: 58px 0;
  color: #fff;
}
.hero .eyebrow {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.02;
  font-weight: 700;
  margin: 0 0 12px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.accent-line {
  width: 48px;
  height: 3px;
  margin: 28px 0;
  background: var(--teal);
}
.hero-content > p:last-child {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  margin: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(330px, .95fr);
  background: var(--offwhite);
}
.direction-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-left: max(4vw, calc((100vw - var(--max)) / 2));
}
.direction-card {
  min-height: 315px;
  padding: 42px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
  background: #fff;
}
.direction-card:first-child { border-left: 1px solid var(--line); }
.icon,
.quick-icon {
  color: var(--teal);
  font-size: 3.2rem;
  line-height: 1;
}
.direction-card h2 {
  margin: 22px 0 14px;
  font-size: 1rem;
  text-transform: uppercase;
}
.direction-card p {
  margin: 0 auto;
  max-width: 230px;
  line-height: 1.65;
  color: #2b3641;
}
.direction-card::after {
  content: '';
  display: block;
  width: 42px;
  height: 2px;
  margin: 24px auto 0;
  background: var(--teal);
}

.news-panel {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff;
  padding: 40px clamp(30px, 4vw, 66px);
}
.news-panel h2 {
  margin: 0;
  font-size: 1.25rem;
  text-transform: uppercase;
}
.news-panel .accent-line { margin: 16px 0 18px; }
.news-panel a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  text-decoration: none;
}
.news-panel a:last-child { border-bottom: 0; }
.news-panel time {
  display: block;
  margin-bottom: 6px;
  font-size: .75rem;
  opacity: .72;
}
.news-panel span {
  display: block;
  line-height: 1.45;
}
.news-panel a:hover span { color: #bde9e6; }

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--max);
  margin: 0 auto;
  background: #fff;
}
.quick-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 32px 28px;
  min-height: 170px;
  border-right: 1px solid var(--line);
  text-decoration: none;
}
.quick-card:first-child { border-left: 1px solid var(--line); }
.quick-icon { font-size: 2.2rem; }
.quick-card strong {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: .98rem;
}
.quick-card small {
  display: block;
  min-height: 56px;
  line-height: 1.45;
  color: #283440;
}
.quick-card em {
  display: block;
  margin-top: 14px;
  color: var(--teal);
  font-style: normal;
  font-weight: 700;
  font-size: .88rem;
}
.quick-card:hover { background: #f7fbfb; }

.site-footer {
  min-height: 65px;
  padding: 20px max(4vw, calc((100vw - var(--max)) / 2));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
}
.site-footer div { display: flex; gap: 28px; }
.site-footer a { text-decoration: none; opacity: .9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }

@media (max-width: 1200px) {
  .site-header { min-height: 88px; }
  .brand { min-width: 0; }
  .brand img { width: 110px; height: 62px; }
  .brand-copy small { font-size: .74rem; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .75rem; }
  .direction-grid { grid-template-columns: repeat(2, 1fr); padding-left: 0; }
  .content-grid { grid-template-columns: 1.5fr .8fr; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-header { padding: 10px 20px; flex-wrap: wrap; }
  .brand img { width: 96px; }
  .brand-copy strong { font-size: 1.35rem; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 14px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-top: 1px solid var(--line); }
  .hero { min-height: 440px; background-position: 58% center; }
  
.hero-slideshow,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slideshow {
  z-index: 0;
  overflow: hidden;
  background: #071523 url('assets/anechoic-wedges-01.jpg') center / cover no-repeat;
}
.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02) translate3d(0, 0, 0);
  transition: opacity 2.5s ease-in-out;
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.hero-slide.is-visible { opacity: 1; }
.hero-slide.is-moving { animation-duration: 17.5s; animation-timing-function: linear; animation-fill-mode: forwards; }
.hero-slide.kb-right { animation-name: kb-right; }
.hero-slide.kb-left { animation-name: kb-left; }
.hero-slide.kb-up { animation-name: kb-up; }
.hero-slide.kb-down { animation-name: kb-down; }
.hero-slide.kb-up-right { animation-name: kb-up-right; }
.hero-slide.kb-up-left { animation-name: kb-up-left; }
.hero-slide.kb-down-right { animation-name: kb-down-right; }
.hero-slide.kb-down-left { animation-name: kb-down-left; }

@keyframes kb-right { from { transform: scale(1.02) translate3d(-1.5%, 0, 0); } to { transform: scale(1.11) translate3d(1.5%, 0, 0); } }
@keyframes kb-left { from { transform: scale(1.02) translate3d(1.5%, 0, 0); } to { transform: scale(1.11) translate3d(-1.5%, 0, 0); } }
@keyframes kb-up { from { transform: scale(1.02) translate3d(0, 1.5%, 0); } to { transform: scale(1.11) translate3d(0, -1.5%, 0); } }
@keyframes kb-down { from { transform: scale(1.02) translate3d(0, -1.5%, 0); } to { transform: scale(1.11) translate3d(0, 1.5%, 0); } }
@keyframes kb-up-right { from { transform: scale(1.02) translate3d(-1.2%, 1.2%, 0); } to { transform: scale(1.11) translate3d(1.2%, -1.2%, 0); } }
@keyframes kb-up-left { from { transform: scale(1.02) translate3d(1.2%, 1.2%, 0); } to { transform: scale(1.11) translate3d(-1.2%, -1.2%, 0); } }
@keyframes kb-down-right { from { transform: scale(1.02) translate3d(-1.2%, -1.2%, 0); } to { transform: scale(1.11) translate3d(1.2%, 1.2%, 0); } }
@keyframes kb-down-left { from { transform: scale(1.02) translate3d(1.2%, -1.2%, 0); } to { transform: scale(1.11) translate3d(-1.2%, 1.2%, 0); } }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none !important; transition-duration: .4s; transform: none; }
}

.hero-overlay { background: linear-gradient(90deg, rgba(2,16,29,.97) 0%, rgba(2,16,29,.88) 55%, rgba(2,16,29,.28) 100%); }
  .content-grid { grid-template-columns: 1fr; }
  .news-panel { padding: 36px 6vw; }
}

@media (max-width: 640px) {
  .brand { gap: 8px; }
  .brand img { width: 78px; height: 52px; }
  .brand-copy strong { font-size: 1.03rem; }
  .brand-copy small { font-size: .62rem; margin-top: 4px; }
  .hero-content { margin-left: 6vw; padding-right: 6vw; }
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card { min-height: auto; border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-links { grid-template-columns: 1fr; }
  .quick-card { border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .site-footer div { flex-wrap: wrap; }
}

/* ===== RESPONSIVE / SCALE LAYER 2026-08-24 =====
   Added to make the existing LAA pages follow browser width without
   using transform:scale(). Desktop appearance above 1200px is preserved. */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }

/* Old MS/BlueGriffon tables: keep proportions inside the viewport. */
table.MsoNormalTable,
table[id^="AutoNumber"] {
  width: min(100%, 1430px) !important;
  max-width: calc(100vw - 8vw) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
  right: auto !important;
}
table.MsoNormalTable img,
table[id^="AutoNumber"] img {
  max-width: 100% !important;
  height: auto !important;
}
td, th { overflow-wrap: anywhere; }

/* Inline hero dimensions from BlueGriffon must not lock the page to 1820px. */
.hero-overlay {
  width: auto !important;
  left: 0 !important;
  right: 0 !important;
}

@media (max-width: 1200px) {
  /* Neutralise old pixel positioning in the common header. */
  .site-header .brand,
  .site-header .brand *,
  .site-header .main-nav,
  .site-header .main-nav * {
    margin-left: 0 !important;
    left: auto !important;
    right: auto !important;
  }
  .site-header .brand { min-width: 0 !important; }
  .site-header .brand-copy { min-width: 0; }

  table.MsoNormalTable,
  table[id^="AutoNumber"] {
    width: 92vw !important;
    max-width: 92vw !important;
  }
}

@media (max-width: 900px) {
  table.MsoNormalTable,
  table[id^="AutoNumber"] {
    display: table;
    width: 94vw !important;
    max-width: 94vw !important;
    table-layout: auto;
  }
  table.MsoNormalTable td,
  table.MsoNormalTable th,
  table[id^="AutoNumber"] td,
  table[id^="AutoNumber"] th {
    max-width: 94vw !important;
  }
}

@media (max-width: 640px) {
  .site-header { gap: 10px; }
  .site-header .brand-copy b,
  .site-header .brand-copy span,
  .site-header .brand-copy small {
    width: auto !important;
  }
  table.MsoNormalTable,
  table[id^="AutoNumber"] {
    width: 96vw !important;
    max-width: 96vw !important;
  }
}
