@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --navy: #0f1720;
  --navy-2: #101d28;
  --blue: #0b6ea8;
  --blue-light: #1295d8;
  --steel: #c7d0d9;
  --muted: #aab6c2;
  --line: rgba(255,255,255,.12);
  --shadow: 0 24px 80px rgba(0,0,0,.35);
  --soft-shadow: 0 18px 50px rgba(15,23,32,.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  color: #1b2430;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 86px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  transition: .3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(15,23,32,.94);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.brand {
  position: relative;
  z-index: 1002;
}

.brand img {
  height: 62px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.site-nav a {
  opacity: .9;
  position: relative;
}

.site-nav a:hover,
.site-nav .active {
  color: var(--steel);
  opacity: 1;
}

.nav-cta {
  border: 1px solid rgba(255,255,255,.55);
  padding: 12px 20px;
  border-radius: 10px;
}

.nav-cta:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  position: relative;
  z-index: 1003;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
}

/* HERO */
.hero,
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.page-hero { min-height: 62vh; }

.hero-bg,
.feature-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay,
.feature-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,16,22,.92), rgba(10,16,22,.62), rgba(10,16,22,.25)),
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.35));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  max-width: 780px;
}

.eyebrow {
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.05;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(42px, 7vw, 88px);
  letter-spacing: -.05em;
}

h2 {
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -.04em;
}

h3 { font-size: 23px; }

.hero-subtitle {
  max-width: 660px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  color: rgba(255,255,255,.86);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  font-weight: 800;
  border-radius: 12px;
  transition: .25s ease;
  letter-spacing: .02em;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff;
  box-shadow: 0 14px 35px rgba(11,110,168,.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0d80c2, #18a8ef);
  box-shadow: 0 18px 45px rgba(11,110,168,.45);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.65);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: #fff;
  color: var(--navy);
  transform: translateY(-2px);
}

/* TRUST STRIP */
.trust-strip {
  background: var(--navy);
  color: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
  padding: 30px 20px;
  border-right: 1px solid var(--line);
  text-align: left;
}

.trust-grid div:last-child { border-right: 0; }

.trust-grid strong {
  display: block;
  color: var(--steel);
  font-size: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.trust-grid span {
  color: var(--muted);
  font-size: 14px;
}

/* SECTIONS */
.section { padding: 100px 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}

.reverse { grid-template-columns: .85fr 1.15fr; }

/* CLEAN IMAGE STYLING */
.image-stack {
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 22px;
  align-items: end;
}

.image-stack img,
.large-image img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.image-stack img:nth-child(2) {
  height: 310px;
  margin-bottom: -45px;
}

.section-copy p {
  line-height: 1.8;
  color: #465260;
  font-size: 16px;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.dark-section {
  background:
    radial-gradient(circle at 20% 10%, rgba(11,110,168,.22), transparent 32%),
    linear-gradient(135deg, #0b1119, var(--navy));
  color: #fff;
}

.section-heading {
  max-width: 760px;
  text-align: center;
  margin-bottom: 52px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

/* SERVICE CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: #111;
  color: #fff;
  box-shadow: 0 22px 65px rgba(0,0,0,.28);
  border-radius: 22px;
}

.service-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: .55s ease;
  border-radius: 22px;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.88));
  pointer-events: none;
}

.service-card div {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 28px;
}

.service-card p {
  color: rgba(255,255,255,.78);
  line-height: 1.6;
}

.service-card:hover img { transform: scale(1.08); }

.service-card:hover { box-shadow: 0 28px 80px rgba(0,0,0,.34); }

.center {
  text-align: center;
  margin-top: 42px;
}

/* FEATURE BAND */
.feature-band {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.feature-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid #e8edf2;
  position: relative;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 900;
}

/* CTA */
.cta-section {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.16), transparent 36%),
    linear-gradient(135deg, var(--blue), #073954);
  color: #fff;
  text-align: center;
  padding: 86px 0;
}

.cta-section h2 {
  max-width: 780px;
  margin-inline: auto;
}

/* FOOTER - RESPONSIVE VECTOR STYLE */
.site-footer {
  background:
    linear-gradient(135deg, #0a0d11 0%, #101820 50%, #171b20 100%);
  color: #fff;
  padding-top: 46px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22%;
  width: 1180px;
  height: 1180px;
  transform: translateX(-50%) rotate(45deg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -190px;
  width: 2px;
  height: 150%;
  background: rgba(255,255,255,.035);
  transform: translateX(-50%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .65fr 1fr;
  gap: 30px;
  padding-bottom: 36px;
  align-items: start;
}

.footer-logo {
  width: 58px;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  display: block;
  color: var(--muted);
  line-height: 1.6;
  margin: 5px 0;
  font-size: 14px;
}

.site-footer a:hover { color: #fff; }

.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  padding: 15px;
  font-size: 13px;
}

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
}

.contact-card,
.contact-form {
  background: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.12);
  padding: 36px;
  border-radius: 22px;
  border: 1px solid rgba(15,23,32,.08);
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  font-weight: 800;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d9e1e8;
  padding: 14px;
  font: inherit;
  border-radius: 10px;
}

.form-note {
  font-size: 13px;
  color: #687584;
}

.map-wrap {
  margin-top: 36px;
}

.map-wrap iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(15%);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

/* ANIMATION */
.reveal {
  opacity: 1;
  transform: none;
  transition: .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* TABLET */
@media (max-width: 980px) {
  .nav-toggle { display: block; }

  /* Corrected mobile/tablet menu:
     - starts from top of screen
     - narrower
     - equal inner spacing
     - X is the same existing button and actually works through JS */
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 310px;
    max-width: min(310px, 74vw);
    height: auto;
    min-height: 390px;
    background: rgba(15,23,32,.985);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    padding: 112px 26px 28px 49px;
    border-radius: 0 0 24px 24px;
    border: 0;
    box-shadow: 0 30px 90px rgba(0,0,0,.42);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: .28s ease;
    z-index: 999;
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a { font-size: 18px; }

  .site-nav .nav-cta {
    margin-top: 8px;
    padding: 15px 28px;
    width: auto;
  }

  /* Existing hamburger becomes a real clickable X.
     Works with body.nav-open OR directly when .site-nav has .open. */
  body.nav-open .nav-toggle,
  .site-header:has(.site-nav.open) .nav-toggle {
    font-size: 0 !important;
    color: transparent !important;
  }

  body.nav-open .nav-toggle::before,
  .site-header:has(.site-nav.open) .nav-toggle::before {
    content: "×";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 300;
    color: rgba(255,255,255,.72);
    line-height: 1;
  }

  .split,
  .reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .trust-grid { grid-template-columns: repeat(4, 1fr); }

  .trust-grid div {
    padding: 22px 12px;
    text-align: center;
  }

  .trust-grid strong { font-size: 24px; }

  .trust-grid span { font-size: 12px; }

  .image-stack {
    grid-template-columns: 1fr .82fr;
    gap: 16px;
  }

  .image-stack img:nth-child(1) { height: 380px; }

  .image-stack img:nth-child(2) {
    height: 280px;
    margin-bottom: -36px;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }

  .site-header {
    height: 76px;
    padding: 0 22px;
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
  }

  .site-header.scrolled {
    background: rgba(15,23,32,.94);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
  }

  .brand img { height: 54px; }

  .site-nav {
    top: 0;
    right: 0;
    width: 292px;
    max-width: min(292px, 72vw);
    min-height: 370px;
    padding: 106px 24px 24px 47px;
    gap: 22px;
    border-radius: 0 0 22px 22px;
  }

  .hero,
  .page-hero {
    min-height: 82vh;
  }

  .hero-content { padding-top: 70px; }

  .hero-actions { gap: 12px; }

  .btn {
    min-height: 50px;
    padding: 0 22px;
    font-size: 14px;
    border-radius: 10px;
  }

  .section { padding: 72px 0; }

  .trust-grid { grid-template-columns: repeat(4, 1fr); }

  .trust-grid div {
    padding: 18px 6px;
    border-right: 1px solid var(--line);
  }

  .trust-grid strong {
    font-size: 18px;
    line-height: 1.1;
  }

  .trust-grid span {
    font-size: 10px;
    line-height: 1.3;
  }

  .services-grid { grid-template-columns: 1fr; }

  .service-card,
  .service-card img { min-height: 320px; }

  .service-card,
  .service-card img,
  .service-card::after { border-radius: 18px; }

  .image-stack {
    grid-template-columns: 1fr .82fr;
    gap: 12px;
    align-items: end;
  }

  .image-stack img:nth-child(1) { height: 300px; }

  .image-stack img:nth-child(2) {
    height: 220px;
    margin-bottom: -32px;
  }

  .image-stack img,
  .large-image img { border-radius: 18px; }

  .large-image img { height: 320px; }

  .contact-card,
  .contact-form { padding: 24px; }

  .site-footer {
    text-align: center;
    padding-top: 34px;
    background:
      radial-gradient(circle at 50% 0%, rgba(11,110,168,.20), transparent 42%),
      linear-gradient(180deg, #101820 0%, #0b1118 100%);
  }

  .site-footer::before {
    left: 50%;
    top: 18px;
    bottom: auto;
    width: 360px;
    height: 360px;
    transform: translateX(-50%) rotate(45deg);
    background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.01));
    opacity: .7;
  }

  .site-footer::after {
    top: 0;
    height: 100%;
    opacity: .5;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 26px;
  }

  .footer-logo {
    width: 46px;
    margin: 0 auto 12px;
  }

  .site-footer a,
  .site-footer p {
    text-align: center;
  }

  .footer-grid > div:nth-child(2) {
    display: none;
  }

  .footer-bottom {
    padding: 13px;
    font-size: 12px;
  }
}

/* VERY SMALL PHONES */
@media (max-width: 390px) {
  .trust-grid strong { font-size: 16px; }

  .trust-grid span { font-size: 9px; }

  h1 { font-size: 38px; }

  .image-stack img:nth-child(1) { height: 270px; }

  .image-stack img:nth-child(2) { height: 195px; }

  .site-nav {
    right: 0;
    width: 278px;
    max-width: min(278px, 72vw);
  }
}
/* ===== MOBILE MENU FINAL FIX ===== */

@media (max-width: 980px) {
  .site-nav {
    right: 0 !important;
    width: 310px !important;
    max-width: 74vw !important;

    /* less right-side empty space, content shifts right visually */
    padding-top: 112px !important;
    padding-right: 10px !important;
    padding-bottom: 28px !important;
    padding-left: 58px !important;

    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 34px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .site-nav .nav-cta {
    margin-left: 0 !important;
  }
}

@media (max-width: 640px) {
  .site-nav {
    right: 0 !important;
    width: 230px !important;
    max-width: 72vw !important;

    padding-top: 106px !important;
    padding-right: 4px !important;
    padding-bottom: 24px !important;
    padding-left: 26px !important;

    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 32px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}

/* EQUIPMENT PAGE */
.equip-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.photo-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.photo-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--soft-shadow);
  transition: .4s ease;
}

.photo-gallery img:hover { transform: scale(1.025); }

.photo-gallery.single img {
  height: 480px;
  grid-column: 1 / -1;
  border-radius: 18px;
}

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 28px;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.dark-section .check-list li {
  border-bottom-color: var(--line);
  color: rgba(255,255,255,.82);
}

@media (max-width: 860px) {
  .equip-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .photo-gallery.single img { height: 340px; }
  .photo-gallery img { height: 175px; }
}

@media (max-width: 640px) {
  .photo-gallery.single img { height: 260px; }
  .photo-gallery img { height: 140px; }
}

/* ============================================================
   NEWS & UPDATES
   ============================================================ */

/* Listing page */
.news-hero { padding: 140px 0 70px; background: var(--navy); text-align: center; }
.news-hero .eyebrow { color: var(--muted); }
.news-hero h1 { color: #fff; margin: 8px 0 20px; }
.news-hero p { color: var(--steel); max-width: 640px; margin: 0 auto; font-size: 17px; line-height: 1.7; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.news-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--soft-shadow); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 28px 70px rgba(15,23,32,.22); }

.news-card-img-wrap { aspect-ratio: 16/9; overflow: hidden; position: relative; background: #e4eaf0; }
.news-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.news-card:hover .news-card-img-wrap img { transform: scale(1.04); }
.news-card-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 40px; }
.news-video-badge { position: absolute; bottom: 10px; right: 10px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 20px; display: flex; align-items: center; gap: 5px; }

.news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.news-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-category-tag { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: #e8f4fd; padding: 3px 10px; border-radius: 20px; }
.news-date { font-size: 13px; color: var(--muted); }
.news-card-body h3 { font-family: 'Montserrat', sans-serif; font-size: 17px; line-height: 1.3; margin: 0; color: var(--navy); }
.news-card-body h3 a { color: inherit; }
.news-card-body h3 a:hover { color: var(--blue); }
.news-excerpt { font-size: 14px; color: #5a6673; line-height: 1.65; margin: 0; flex: 1; }
.news-read-more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue); margin-top: 4px; }
.news-read-more:hover { gap: 10px; }

.news-empty { text-align: center; padding: 80px 20px; color: var(--muted); grid-column: 1/-1; }

/* Article page */
.article-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; padding: 0; overflow: hidden; }
.article-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,18,28,.90) 40%, rgba(11,18,28,.40) 100%); }
.article-hero-content { position: relative; z-index: 1; padding: 60px 0 50px; width: 100%; }
.article-hero-content .eyebrow { color: var(--muted); }
.article-hero-content h1 { color: #fff; font-size: clamp(24px, 4vw, 40px); max-width: 760px; margin: 8px 0 16px; line-height: 1.2; }
.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.article-meta time { color: var(--steel); font-size: 14px; }
.article-meta .divider { color: var(--muted); }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; padding: 60px 0 80px; align-items: start; }

.article-body { min-width: 0; }
.article-body p { font-size: 16px; line-height: 1.8; color: #2a3340; margin: 0 0 20px; }
.article-body h2 { font-family: 'Montserrat', sans-serif; font-size: 22px; color: var(--navy); margin: 36px 0 14px; }
.article-body h3 { font-family: 'Montserrat', sans-serif; font-size: 18px; color: var(--navy); margin: 28px 0 12px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 20px; }
.article-body li { font-size: 16px; line-height: 1.75; color: #2a3340; margin-bottom: 6px; }
.article-body strong { color: var(--navy); }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-body img { width: 100%; border-radius: 12px; margin: 20px 0; }
.article-body .article-video { margin: 32px 0; }

.article-sidebar { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 24px; }
.sidebar-card { background: #f8fafc; border: 1px solid #e4eaf0; border-radius: 16px; padding: 22px; }
.sidebar-card h4 { font-family: 'Montserrat', sans-serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.related-post { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #e8edf2; }
.related-post:last-child { border-bottom: 0; padding-bottom: 0; }
.related-post img { width: 60px; height: 46px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.related-post-body p { font-size: 11px; color: var(--muted); margin: 0 0 3px; }
.related-post-body a { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.related-post-body a:hover { color: var(--blue); }

/* Homepage latest news */
.latest-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; }
.latest-news-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(15,23,32,.10); transition: transform .3s; }
.latest-news-card:hover { transform: translateY(-4px); }
.latest-news-card-img { aspect-ratio: 16/9; overflow: hidden; background: #e4eaf0; }
.latest-news-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.latest-news-card-body { padding: 18px 20px; }
.latest-news-card-body .news-category-tag { display: inline-block; margin-bottom: 8px; }
.latest-news-card-body .news-date { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.latest-news-card-body h3 { font-family: 'Montserrat', sans-serif; font-size: 15px; line-height: 1.35; margin: 0 0 8px; color: var(--navy); }
.latest-news-card-body h3 a { color: inherit; }
.latest-news-card-body h3 a:hover { color: var(--blue); }
.latest-news-card-body p { font-size: 13px; color: #5a6673; line-height: 1.6; margin: 0 0 12px; }

/* Admin news tab */
.admin-tabs { display: flex; gap: 4px; background: #f0f3f6; border-radius: 10px; padding: 4px; }
.admin-tab { padding: 7px 18px; border-radius: 8px; font-size: 13px; font-weight: 800; cursor: pointer; border: 0; background: transparent; color: #687584; transition: .2s; white-space: nowrap; }
.admin-tab.active { background: #fff; color: #0f1720; box-shadow: 0 2px 8px rgba(0,0,0,.09); }
.news-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.news-table th { text-align: left; padding: 10px 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid #e4eaf0; white-space: nowrap; }
.news-table td { padding: 14px; border-bottom: 1px solid #f0f3f6; vertical-align: middle; }
.news-table tr:hover td { background: #f8fafc; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 20px; }
.status-published { background: #edfbf3; color: #1a8a4a; }
.status-draft { background: #fff8e6; color: #b07d0a; }
.nt-title { font-weight: 700; color: #0f1720; max-width: 240px; }
.nt-excerpt { color: #687584; font-size: 13px; margin: 2px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.nt-actions { display: flex; gap: 8px; flex-wrap: nowrap; }
.btn-edit { background: #e8f4fd; border: 0; border-radius: 8px; padding: 6px 14px; font-size: 12px; font-weight: 800; color: var(--blue); cursor: pointer; transition: .2s; }
.btn-edit:hover { background: var(--blue); color: #fff; }
.rte-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; background: #f8fafc; border: 1px solid #e4eaf0; border-bottom: 0; border-radius: 10px 10px 0 0; }
.rte-toolbar button { border: 1px solid #e4eaf0; background: #fff; border-radius: 6px; padding: 4px 9px; font-size: 13px; cursor: pointer; color: #1b2430; font-weight: 700; transition: .15s; min-width: 28px; }
.rte-toolbar button:hover { border-color: var(--blue); color: var(--blue); }
.rte-editor { border: 1px solid #e4eaf0; border-radius: 0 0 10px 10px; padding: 14px; min-height: 240px; font-family: 'Open Sans', sans-serif; font-size: 15px; line-height: 1.7; color: #1b2430; outline: none; overflow-y: auto; }
.rte-editor:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,110,168,.12); }
.rte-editor p { margin: 0 0 12px; }
.rte-editor h2 { font-family: 'Montserrat',sans-serif; margin: 20px 0 8px; }
.rte-editor h3 { font-family: 'Montserrat',sans-serif; margin: 16px 0 6px; }
.slug-row { display: flex; align-items: center; gap: 8px; }
.slug-prefix { font-size: 13px; color: var(--muted); white-space: nowrap; }
.news-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.news-form-grid .full { grid-column: 1/-1; }

@media (max-width: 1000px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .latest-news-grid { grid-template-columns: 1fr 1fr; }
  .news-form-grid { grid-template-columns: 1fr; }
  .news-form-grid .full { grid-column: 1; }
}

@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .latest-news-grid { grid-template-columns: 1fr; }
  .article-hero { min-height: 320px; }
  .news-table thead { display: none; }
  .news-table td { display: block; padding: 6px 14px; }
  .news-table td:first-child { padding-top: 14px; }
  .news-table td:last-child { padding-bottom: 14px; }
  .news-table tr { border-bottom: 2px solid #e4eaf0; display: block; margin-bottom: 4px; }
}
/* Phase 1 service content and accessible fallbacks. */
.fabrication-overview { background: #f4f7fa; }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.capability-card { padding: 30px; border: 1px solid #d9e1e8; border-radius: 18px; background: #fff; color: #1b2430; }
.capability-card p { line-height: 1.8; }
.capability-card img { border-radius: 12px; margin-bottom: 28px; }
.capability-card h2 { font-size: 30px; }
.service-detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.service-detail .section-copy h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.2; margin-top: 34px; }
.service-detail .section-copy h2:first-child { margin-top: 0; }
.service-detail a, .capability-card a { overflow-wrap: anywhere; }
.equipment-service-links { padding-top: 32px; line-height: 1.8; }
.section:not(.dark-section) .section-heading p { color: #465260; }
.section:not(.dark-section) .eyebrow { color: #465260; }
.article-body .btn-outline, .sidebar-card .btn-outline { color: #0b6ea8; border-color: #0b6ea8; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #1295d8; outline-offset: 4px; }
@media (max-width: 980px) {
  .site-nav:not(.open) { visibility: hidden; }
  .site-nav.open { visibility: visible; }
  .service-detail { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) { .capability-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Intrinsic dimensions */
img { height: auto; }
.brand img { height: 62px; width: auto; }
@media (max-width: 640px) { .brand img { height: 54px; } }
