/* ==========================================================================
   AYRUS Technologies — Website Stylesheet
   Brand system per Master BRD: blue structural, orange action, gold highlight.
   Tokens: Navy #071A3A | Blue #075FC9 | Deep Blue #0B3D91 | Orange #FF5A00
           Gold #FFC400 | White #FFFFFF | Ice #F4F8FC | Pale #EAF3FF
           Graphite #1D2733 | Slate #667085 | Border #D9E2EC
   ========================================================================== */

/* ---------- Tokens & reset ---------- */
:root {
  --navy: #071A3A;
  --blue: #075FC9;
  --blue-deep: #0B3D91;
  --orange: #FF5A00;
  --orange-dark: #D64A00;
  --gold: #FFC400;
  --white: #FFFFFF;
  --ice: #F4F8FC;
  --pale: #EAF3FF;
  --graphite: #1D2733;
  --slate: #667085;
  --border: #D9E2EC;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Manrope", "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(7, 26, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(7, 26, 58, 0.10);
  --container: 1180px;
  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--white);
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1.02rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: 0.45em; }

hr { border: 0; border-top: 1px solid var(--border); margin: 2.5em 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 18px;
  z-index: 200; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout primitives ---------- */
.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }

.section { padding: 88px 0; }
.section--ice { background: var(--ice); }
.section--pale { background: var(--pale); }
.section--navy { background: var(--navy); color: #C9D6EA; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold);
  flex: none;
}
.section--navy .eyebrow { color: var(--gold); }

.lede { font-size: 1.13rem; color: var(--slate); }
.section--navy .lede { color: #A9BBD6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 10px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }

.btn--accent { background: var(--orange); color: #fff; }
.btn--accent:hover { background: var(--orange-dark); }

.btn--secondary {
  background: transparent; color: var(--blue);
  border-color: var(--blue);
}
.btn--secondary:hover { background: var(--pale); }

.btn--ghost-light {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.45);
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--sm { padding: 9px 18px; font-size: 0.88rem; }
.btn--block { width: 100%; }

.btn .btn-arrow { flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.4);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 176px; height: auto; }

.nav-toggle {
  display: none; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 9px 13px; font: 600 0.9rem var(--font-body); color: var(--navy);
  cursor: pointer;
}
.nav-toggle .bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle .bars span {
  width: 18px; height: 2px; background: var(--navy); border-radius: 1px;
}

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav > li { list-style: none; position: relative; }
.primary-nav ul { margin: 0; padding: 0; list-style: none; }

.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px; border-radius: 8px;
  font: 500 0.95rem var(--font-body); color: var(--graphite);
  text-decoration: none;
}
.nav-link:hover { color: var(--blue); background: var(--pale); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav-link .caret { transition: transform .18s ease; }

.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-md); min-width: 320px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font: 500 0.93rem var(--font-body); color: var(--graphite); text-decoration: none;
}
.dropdown a:hover { background: var(--ice); color: var(--blue); text-decoration: none; }
.dropdown a strong { display: block; font-weight: 600; color: var(--navy); }
.dropdown a span { display: block; font-size: 0.8rem; color: var(--slate); margin-top: 1px; }

.header-cta { display: inline-flex; align-items: center; gap: 12px; }
.header-phone {
  font: 600 0.92rem var(--font-body); color: var(--navy);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
}
.header-phone:hover { color: var(--blue); text-decoration: none; }

/* ---------- Mobile nav ---------- */
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .header-phone { display: none; }
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); padding: 12px 24px 20px;
    flex-direction: column; align-items: stretch; gap: 2px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .primary-nav.is-open { display: flex; }
  .nav-link { padding: 12px 10px; font-size: 1rem; justify-content: space-between; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--pale);
    border-radius: 0; min-width: 0; margin: 0 0 4px 10px; padding: 0 0 0 6px;
  }
  .has-dropdown .dropdown { display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .mobile-cta { display: flex; gap: 12px; margin-top: 12px; }
  .mobile-cta .btn { flex: 1; }
}
.mobile-cta { display: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(115deg, #08203F 0%, var(--navy) 55%, #061530 100%);
  color: #C9D6EA;
  padding: 96px 0 100px;
}
.hero::after {
  /* thin gold horizon rule echoing the logo swoosh */
  content: ""; position: absolute; left: 0; right: 0; bottom: 92px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,196,0,.0) 30%, rgba(255,196,0,.55) 55%, rgba(255,90,0,.0) 78%, transparent 100%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(122,165,235,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,165,235,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 85% 90% at 70% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 90% at 70% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--gold); }
.hero .lede { color: #A9BBD6; max-width: 560px; font-size: 1.16rem; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note {
  margin-top: 26px; font-size: 0.86rem; color: #7E92B4;
  display: flex; align-items: center; gap: 8px;
}
.hero-note svg { flex: none; }

/* hero schematic panel */
.hero-panel { position: relative; }
.hero-panel svg { width: 100%; height: auto; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, #08203F 0%, var(--navy) 60%, #061530 100%);
  color: #C9D6EA; padding: 64px 0 66px;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.page-hero p { max-width: 720px; margin: 0; color: #A9BBD6; font-size: 1.08rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 16px 0 0; font-size: 0.85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; color: var(--slate); }
.breadcrumbs li + li::before { content: "/"; color: var(--border); }
.breadcrumbs a { color: var(--blue); }
.breadcrumbs [aria-current="page"] { color: var(--slate); }

/* ---------- Capability bar ---------- */
.capbar { border-bottom: 1px solid var(--border); background: #fff; }
.capbar-inner {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  padding: 26px 0;
}
.capbar-item { display: flex; gap: 12px; align-items: center; }
.capbar-item svg { flex: none; color: var(--blue); }
.capbar-item .cap-name { font: 700 0.9rem var(--font-head); color: var(--navy); line-height: 1.3; }
.capbar-item .cap-sub { font-size: 0.78rem; color: var(--slate); }
@media (max-width: 1060px) { .capbar-inner { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .capbar-inner { grid-template-columns: 1fr 1fr; } .capbar-item { flex-direction: column; align-items: flex-start; } }

/* ---------- About snapshot ---------- */
.about-snapshot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.about-facts { margin: 26px 0 30px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-facts li { display: flex; gap: 10px; margin: 0; font-size: 0.95rem; }
.about-facts svg { flex: none; margin-top: 3px; color: var(--orange); }

.mark-panel {
  position: relative; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ice) 0%, var(--pale) 100%);
  border: 1px solid var(--border);
  padding: 48px 40px; text-align: center; overflow: hidden;
}
.mark-panel img { width: 190px; margin: 0 auto 18px; }
.mark-panel .mark-caption { font-size: 0.85rem; color: var(--slate); max-width: 300px; margin: 0 auto; }
.mark-panel .ray {
  position: absolute; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,196,0,.5), transparent);
  transform: rotate(24deg);
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.service-card {
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px 28px; position: relative; overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-deep));
  opacity: 0; transition: opacity .18s ease;
}
.service-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card:hover::before { opacity: 1; }
.service-card .icon-tile {
  width: 52px; height: 52px; border-radius: 11px;
  background: var(--pale); color: var(--blue);
  display: grid; place-items: center; flex: none;
}
.service-card h3 { margin: 0; }
.service-card p { color: var(--slate); font-size: 0.95rem; margin: 0; flex: 1; }
.service-card .card-link { font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Process / workflow ---------- */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.process-step {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px;
}
.process-step .step-no {
  font-family: var(--font-head); font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.1em; color: var(--orange); display: block; margin-bottom: 10px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.92rem; color: var(--slate); margin: 0; }
@media (max-width: 980px) { .process { grid-template-columns: 1fr; } }

/* ---------- Quality band (navy + gold) ---------- */
.quality-band .q-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 56px; align-items: center; }
.quality-band .q-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.quality-band .q-item:last-child { border-bottom: 0; }
.quality-band .q-item svg { flex: none; color: var(--gold); margin-top: 3px; }
.quality-band .q-item h3 { font-size: 1.02rem; margin: 0 0 4px; }
.quality-band .q-item p { margin: 0; color: #A9BBD6; font-size: 0.93rem; }

/* ---------- Industries ---------- */
.industry-tile {
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff;
  padding: 26px 24px; transition: border-color .18s ease, transform .18s ease;
}
.industry-tile:hover { border-color: var(--blue); transform: translateY(-3px); }
.industry-tile .icon-tile {
  width: 46px; height: 46px; border-radius: 10px; background: var(--pale);
  color: var(--blue); display: grid; place-items: center; margin-bottom: 16px;
}
.industry-tile h3 { font-size: 1.02rem; margin-bottom: 6px; }
.industry-tile p { font-size: 0.9rem; color: var(--slate); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 60% 120% at 85% 10%, rgba(7,95,201,.35), transparent 60%),
    var(--navy);
  color: #C9D6EA; border-radius: 16px;
  padding: 56px 52px; display: flex; align-items: center;
  justify-content: space-between; gap: 36px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: 1.7rem; }
.cta-band p { margin: 0; color: #A9BBD6; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Form ---------- */
.enquiry {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 56px; align-items: start;
}
.enquiry-info .contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(7,26,58,.08); }
.enquiry-info .contact-line:last-of-type { border-bottom: 0; }
.enquiry-info .contact-line svg { flex: none; color: var(--blue); margin-top: 4px; }
.enquiry-info .contact-line .label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.enquiry-info .contact-line .val { font-weight: 600; color: var(--navy); }

.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 36px; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font: 600 0.87rem var(--font-body); color: var(--navy); }
.form-field .optional { color: var(--slate); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  font: 400 0.95rem var(--font-body); color: var(--graphite);
  border: 1px solid var(--border); border-radius: 9px; padding: 11px 13px;
  background: #fff; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7,95,201,.14);
}
.form-field .error-msg { display: none; font-size: 0.8rem; color: #C0392B; font-weight: 500; }
.form-field.is-invalid input, .form-field.is-invalid select, .form-field.is-invalid textarea { border-color: #C0392B; }
.form-field.is-invalid .error-msg { display: block; }
.form-note { font-size: 0.8rem; color: var(--slate); margin: 14px 0 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-success {
  display: none; text-align: center; padding: 28px 10px;
}
.form-success.is-shown { display: block; }
.form-success .ok-ring {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--pale); color: var(--blue);
  display: grid; place-items: center; margin: 0 auto 18px;
}
.form-success h3 { margin-bottom: 6px; }
.form-success p { color: var(--slate); font-size: 0.95rem; }

@media (max-width: 900px) {
  .enquiry { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-panel { max-width: 520px; }
  .about-snapshot, .quality-band .q-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border: 1px solid var(--border); border-radius: 11px; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font: 700 0.98rem var(--font-head); color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; color: var(--blue); transition: transform .18s ease; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--slate); font-size: 0.95rem; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Article / prose ---------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.18rem; margin-top: 1.5em; }
.prose ul li::marker { color: var(--orange); }
.prose .article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.85rem; color: var(--slate); margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.prose .article-meta span { display: inline-flex; align-items: center; gap: 7px; }

.callout {
  background: var(--pale); border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 1.6em 0;
  font-size: 0.96rem;
}
.callout strong { color: var(--navy); }

.article-card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.article-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-card .tag {
  align-self: flex-start; font: 600 0.72rem var(--font-body); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue); background: var(--pale);
  border-radius: 999px; padding: 4px 12px;
}
.article-card h3 { margin: 0; font-size: 1.08rem; }
.article-card p { color: var(--slate); font-size: 0.92rem; margin: 0; flex: 1; }
.article-card .meta { font-size: 0.8rem; color: var(--slate); }
.article-card--planned { opacity: .78; border-style: dashed; }
.article-card--planned:hover { transform: none; box-shadow: none; border-color: var(--border); }

/* ---------- Spec table ---------- */
.spec-table-wrap { overflow-x: auto; }
table.spec-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { font: 700 0.82rem var(--font-head); letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); background: var(--ice); }
.spec-table td { color: var(--graphite); }
.spec-table tr:hover td { background: #FBFDFF; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 56px; align-items: start; }
.address-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 34px; }
.address-card h3 { display: flex; align-items: center; gap: 10px; }
.map-card {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--ice), var(--pale));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 56px 30px; text-align: center;
}
.map-card svg { color: var(--blue); }
@media (max-width: 900px) { .location-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #93A6C4; font-size: 0.92rem; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 44px; padding: 64px 0 46px; }
.footer-brand img { width: 58px; margin-bottom: 16px; }
.footer-brand .wordmark { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: 0.02em; }
.footer-brand .wordmark small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.34em; color: var(--gold); text-transform: uppercase; margin-top: 4px; }
.footer-brand p { margin: 18px 0 0; max-width: 320px; font-size: 0.9rem; }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 18px; font-family: var(--font-body); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #A9BBD6; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; color: var(--gold); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; font-size: 0.84rem; }
.footer-bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- Misc ---------- */
.page-content { padding: 64px 0 88px; }
.page-content .prose { margin-inline: auto; }

.sitemap-page ul { list-style: none; padding: 0; }
.sitemap-page .sitemap-section { margin-bottom: 38px; }
.sitemap-page .sitemap-section h2 { font-size: 1.15rem; border-bottom: 2px solid var(--pale); padding-bottom: 10px; }
.sitemap-page li { padding: 7px 0; border-bottom: 1px solid var(--ice); }
.sitemap-page li a { display: inline-flex; align-items: center; gap: 8px; }

.legal-prose { max-width: 780px; margin-inline: auto; }
.legal-prose h2 { font-size: 1.25rem; margin-top: 2em; }

.status-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--ice); border: 1px solid var(--border);
  border-radius: 11px; padding: 18px 20px; font-size: 0.9rem; color: var(--slate);
}
.status-note svg { flex: none; color: var(--blue); margin-top: 2px; }

.tag-line { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font: 600 0.78rem var(--font-body); color: var(--navy);
  background: var(--pale); border: 1px solid #CFE1F8;
  padding: 5px 13px; border-radius: 999px; white-space: nowrap;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .hero-panel { display: none; }
  body { font-size: 12pt; }
}

/* ==========================================================================
   v2 additions: photography, slideshow, scroll-reveal animations
   ========================================================================== */

/* ---------- Scroll reveal (JS-gated: hidden only when JS is active) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal-d1 { transition-delay: .08s; }
html.js .reveal-d2 { transition-delay: .16s; }
html.js .reveal-d3 { transition-delay: .24s; }
html.js .reveal-d4 { transition-delay: .32s; }

/* ---------- Hero content entrance ---------- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
html.js .hero-inner > div:first-child > * { animation: heroFadeUp .7s ease both; }
html.js .hero-inner > div:first-child > *:nth-child(2) { animation-delay: .08s; }
html.js .hero-inner > div:first-child > *:nth-child(3) { animation-delay: .16s; }
html.js .hero-inner > div:first-child > *:nth-child(4) { animation-delay: .24s; }
html.js .hero-inner > div:first-child > *:nth-child(5) { animation-delay: .32s; }

/* ---------- Hero slideshow ---------- */
.hero-slideshow {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 60px rgba(2,8,20,.45);
  aspect-ratio: 16 / 10;
  background: #061530;
}
.hero-slideshow .slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1s ease;
}
.hero-slideshow .slide.is-active { opacity: 1; }
.hero-slideshow .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slideshow .slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 44px 24px 16px;
  background: linear-gradient(180deg, transparent, rgba(7,26,58,.88));
  color: #E7EEF8; font-size: 0.88rem; line-height: 1.45;
}
.hero-slideshow .slide-caption strong { color: #fff; display: block; font-size: 0.95rem; margin-bottom: 2px; }
.slideshow-controls {
  position: absolute; inset: 0; display: flex;
  align-items: flex-end; justify-content: space-between;
  padding: 0 14px 52px; pointer-events: none;
}
.slideshow-controls button {
  pointer-events: auto; cursor: pointer;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(7,26,58,.55); color: #fff;
  display: grid; place-items: center;
  transition: background .18s ease, border-color .18s ease;
}
.slideshow-controls button:hover { background: rgba(7,95,201,.8); border-color: transparent; }
.slideshow-controls .dots {
  pointer-events: auto; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 14px; display: flex; gap: 8px; align-items: center;
}
.slideshow-controls .dots button {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.25);
}
.slideshow-controls .dots button[aria-current="true"] { background: var(--gold); border-color: var(--gold); }
@media (max-width: 900px) { .hero-slideshow { aspect-ratio: 4/3; } }

/* ---------- Photo figures ---------- */
figure.photo { margin: 0; }
figure.photo img { width: 100%; height: auto; display: block; }
figure.photo figcaption {
  font-size: 0.82rem; color: var(--slate); padding-top: 10px;
  display: flex; gap: 8px; align-items: flex-start; line-height: 1.5;
}
figure.photo figcaption::before {
  content: ""; width: 16px; height: 2px; background: var(--gold);
  flex: none; margin-top: 8px;
}
.photo-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.photo-frame--lift { transition: transform .3s ease, box-shadow .3s ease; }
.photo-frame--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ---------- Split media + text ---------- */
.media-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.media-split--rev .media-split-media { order: 2; }
@media (max-width: 900px) {
  .media-split { grid-template-columns: 1fr; gap: 34px; }
  .media-split--rev .media-split-media { order: 0; }
}

/* ---------- Photo gallery ---------- */
.photo-grid { display: grid; gap: 20px; }
.photo-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.photo-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.photo-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.photo-grid figure {
  margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  background: #fff; position: relative;
}
.photo-grid figure img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  transition: transform .45s ease;
}
.photo-grid figure:hover img { transform: scale(1.045); }
.photo-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 16px 12px; font-size: 0.82rem; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(7,26,58,.82));
}
@media (max-width: 980px) { .photo-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .photo-grid--4, .photo-grid--3 { grid-template-columns: 1fr; } }

/* ---------- Industry tiles with photos ---------- */
.industry-tile--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.industry-tile--photo .tile-photo img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block;
  transition: transform .45s ease;
}
.industry-tile--photo:hover .tile-photo img { transform: scale(1.04); }
.industry-tile--photo .tile-body { padding: 20px 22px 24px; }
.industry-tile--photo h3 { margin-bottom: 6px; }
.industry-tile--photo p { font-size: 0.9rem; color: var(--slate); margin: 0; }

/* ---------- Service page side column ---------- */
.side-photo { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 18px; }

/* ---------- Article header image ---------- */
.article-featured { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); margin-bottom: 34px; }
.article-featured img { width: 100%; aspect-ratio: 16/8; object-fit: cover; display: block; }

/* ---------- Credits list ---------- */
.credits-list { list-style: none; padding: 0; margin: 0; }
.credits-list li {
  padding: 14px 0; border-bottom: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline;
}
.credits-list .fname { font-weight: 600; color: var(--navy); font-family: ui-monospace, Menlo, monospace; font-size: 0.88rem; }
.credits-list .fmeta { color: var(--slate); font-size: 0.88rem; }
.credits-list a { word-break: break-all; }
