:root {
    --bg: #f5f3ef;
    --paper: #fff;
    --ink: #171717;
    --muted: #5e6470;
    --line: #ded8cf;
    --soft: #ebe7df;
    --blue: #16588e;
    --cyan: #3aa7de;
    --red: #d4202f;
    --gold: #b99055;
    --shadow: 0 18px 50px rgba(20, 20, 20, .12);
    --radius: 8px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.6; }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; }
  .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .site-header {
    position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
    min-height: 78px; padding: 12px clamp(18px, 4vw, 64px);
    background: #171717; border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 28px rgba(0,0,0,.22);
  }
  .brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
  .brand img, .custom-logo { width: 170px; height: auto; }
  .main-nav { margin-left: auto; }
  .main-nav .menu { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 750; }
  .main-nav a, .header-call, .service-card a, .article-card a { text-decoration: none; }
  .main-nav a { color: rgba(255,255,255,.82); }
  .main-nav a:hover, .text-link:hover, .site-footer a:hover { color: var(--red); }
  .header-call { padding: 10px 14px; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); font-weight: 800; white-space: nowrap; color: #fff; background: rgba(212,32,47,.92); }
  .nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
  .nav-toggle span:not(.screen-reader-text) { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }
  .hero {
    min-height: calc(100svh - 78px); display: grid; align-items: end;
    padding: clamp(90px, 10vw, 150px) clamp(20px, 6vw, 88px) clamp(48px, 8vw, 92px);
    color: #fff;
    background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.58) 39%, rgba(0,0,0,.18) 100%), url("../images/compressed/hero1.jpg") center / cover no-repeat;
  }
  .hero-content { max-width: 820px; }
  .eyebrow, .meta { margin: 0 0 10px; color: var(--gold); font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
  .hero h1, .page-hero h1, .page-title h1, .article-hero h1 { margin: 0; max-width: 980px; font-size: clamp(38px, 6vw, 78px); line-height: 1.02; letter-spacing: 0; }
  .hero p:not(.eyebrow), .page-hero p:not(.eyebrow), .page-title p:not(.eyebrow), .article-hero p:not(.meta) { max-width: 760px; margin: 22px 0 0; font-size: clamp(18px, 2vw, 23px); color: rgba(255,255,255,.86); }
  .hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border-radius: var(--radius); text-decoration: none; font-weight: 850; line-height: 1.15; }
  .button.primary { background: var(--red); color: #fff; }
  .button.secondary { background: #fff; color: var(--ink); border: 1px solid rgba(0,0,0,.14); }
  .trust-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
  .trust-bar div { padding: 22px clamp(18px, 3vw, 36px); background: var(--paper); }
  .trust-bar strong, .trust-bar span { display: block; }
  .trust-bar strong { font-size: 13px; color: var(--muted); text-transform: uppercase; }
  .trust-bar span { margin-top: 4px; font-weight: 850; }
  .section, .split-section, .contact-band, .page-title, .article, .page-hero { padding: clamp(58px, 8vw, 108px) clamp(20px, 6vw, 88px); }
  .section-heading { max-width: 820px; margin-bottom: 34px; }
  .section-heading h2, .split-section h2, .contact-band h2, .panel h2, .article-body h2, .content h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 48px); line-height: 1.1; letter-spacing: 0; }
  .section-heading p:not(.eyebrow), .split-section p, .contact-band p, .panel p, .article-body p, .content p, .service-card p, .article-card p { color: var(--muted); }
  .muted { background: var(--soft); }
  .service-grid { display: grid; grid-template-columns: repeat(5, minmax(230px, 1fr)); gap: 18px; overflow-x: auto; padding-bottom: 10px; }
  .service-card, .article-card, .panel, .review-grid figure { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 28px rgba(0,0,0,.05); }
  .service-card, .article-card { min-width: 230px; overflow: hidden; }
  .service-card img, .article-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
  .service-card div, .article-card div { padding: 20px; }
  .service-card h3, .article-card h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.2; }
  .text-link { display: inline-flex; margin-top: 8px; font-weight: 850; color: var(--blue); }
  .split-section, .page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
  .split-section img, .page-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
  .check-list, .content ul { display: grid; gap: 10px; padding: 0; margin: 22px 0 0; list-style: none; }
  .check-list li, .content li { position: relative; padding-left: 28px; }
  .check-list li::before, .content li::before { content: ""; position: absolute; left: 0; top: .65em; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--red)); }
  .review-grid, .article-grid, .contact-grid, .two-column { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .panel, .review-grid figure { padding: 24px; }
  .review-grid blockquote { margin: 0 0 18px; font-size: 20px; line-height: 1.45; }
  .review-grid figcaption { color: var(--muted); font-weight: 850; }
  .contact-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; color: #fff; background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.66)), url("../images/compressed/SUNSET.jpg") center / cover no-repeat; }
  .contact-band p { color: rgba(255,255,255,.82); max-width: 720px; }
  .page-title { background: var(--ink); color: #fff; }
  .page-title p:not(.eyebrow) { color: rgba(255,255,255,.78); }
  .page-hero { background: var(--paper); }
  .page-hero p:not(.eyebrow) { color: var(--muted); }
  .two-column { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); }
  .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article { max-width: 1120px; margin: 0 auto; }
  .article-hero p:not(.meta) { color: var(--muted); }
  .article-hero img { width: 100%; margin-top: 32px; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
  .article-body { max-width: 820px; margin: 48px auto 0; }
  .article-body section + section, .article-body .panel { margin-top: 32px; }
  .site-footer { padding: 54px clamp(20px, 6vw, 88px) 92px; color: #e9e4dc; background: #161616; }
  .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
  .footer-logo { width: 160px; height: auto; opacity: .98; }
  .site-footer h2 { margin: 0 0 12px; font-size: 16px; text-transform: uppercase; }
  .site-footer p, .site-footer li { color: rgba(255,255,255,.68); }
  .site-footer ul { margin: 0; padding: 0; list-style: none; }
  .site-footer a { color: inherit; text-decoration: none; }
  .footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.55); font-size: 14px; }
  .sticky-cta { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; gap: 8px; }
  .sticky-cta a { padding: 10px 13px; color: #fff; background: var(--ink); border-radius: var(--radius); text-decoration: none; font-size: 14px; font-weight: 850; box-shadow: 0 12px 34px rgba(0,0,0,.24); }
  @media (max-width: 1100px) {
    .service-grid, .article-grid, .review-grid, .contact-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-header { flex-wrap: wrap; }
    .main-nav { order: 3; flex-basis: 100%; margin-left: 0; }
    .main-nav .menu { justify-content: center; }
  }
  @media (max-width: 760px) {
    .site-header { position: static; gap: 12px; }
    .brand img, .custom-logo { width: 128px; }
    .header-call { margin-left: auto; }
    .nav-toggle { display: block; }
    .main-nav { display: none; flex-basis: 100%; }
    .main-nav.is-open { display: block; }
    .main-nav .menu { display: grid; gap: 8px; }
    .main-nav a { display: block; padding: 10px 0; }
    .hero { min-height: 690px; align-items: end; }
    .trust-bar, .split-section, .page-hero, .two-column, .article-grid, .review-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; overflow: visible; }
    .contact-band, .footer-bottom { display: block; }
    .contact-actions { margin-top: 22px; }
    .sticky-cta { left: 12px; right: 12px; bottom: 10px; }
    .sticky-cta a { flex: 1; text-align: center; }
  }
  

html body .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  display: flex !important;
  align-items: center !important;
  min-height: 88px !important;
  height: auto !important;
  padding: 12px clamp(18px, 4vw, 64px) !important;
  overflow: visible !important;
  color: #fff !important;
  background: #111318 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .14) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .24) !important;
}

body.admin-bar .site-header {
  top: 32px !important;
}

html body .site-header .brand {
  display: inline-flex !important;
  align-items: center !important;
  height: 64px !important;
  flex: 0 0 auto !important;
  overflow: visible !important;
}

html body .site-header .brand img,
html body .site-header .custom-logo {
  width: 190px !important;
  max-width: min(190px, 38vw) !important;
  max-height: 64px !important;
  height: auto !important;
  object-fit: contain !important;
  mix-blend-mode: normal !important;
  filter: none !important;
}

html body .site-header .main-nav a {
  color: rgba(255, 255, 255, .9) !important;
}

html body .site-header .main-nav a:hover {
  color: #fff !important;
}

html body .site-header .header-call {
  color: #fff !important;
  background: #d4202f !important;
  border-color: rgba(255, 255, 255, .24) !important;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px !important;
  }
}

@media (max-width: 760px) {
  html body .site-header {
    position: sticky !important;
    gap: 10px !important;
    min-height: 78px !important;
  }

  html body .site-header .brand {
    height: 54px !important;
  }

  html body .site-header .brand img,
  html body .site-header .custom-logo {
    width: 150px !important;
    max-height: 54px !important;
  }
}

.section-actions {
  margin-top: 28px;
}

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--red));
  border-radius: 50%;
  font-weight: 900;
}

.blog-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.blog-toolbar label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.blog-toolbar input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-buttons button,
.filter-buttons a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
}

.filter-buttons button.is-active,
.filter-buttons a.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.empty-state {
  padding: 20px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 820px);
  gap: 38px;
  align-items: start;
  max-width: 1160px;
  margin: 48px auto 0;
}

.article-side {
  position: sticky;
  top: 110px;
}

.article-side .panel h2 {
  font-size: 22px;
}

.article-body {
  margin-top: 0;
}

.article-body h2 {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
  color: var(--muted);
}

.article-body li::marker {
  color: var(--red);
  font-weight: 900;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 auto 24px;
  max-width: 1160px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}

.article-table-wrap {
  margin: 28px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.article-table th,
.article-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: #fff;
  background: #171717;
}

.article-related,
.mcave-article-cta {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.mcave-article-cta {
  color: #fff;
  background: linear-gradient(135deg, #171717, #242a33);
  border-color: rgba(255,255,255,.16);
}

.mcave-article-cta p,
.mcave-article-cta a {
  color: rgba(255,255,255,.86);
}

.mcave-article-cta a {
  font-weight: 900;
}

.article-inline-visual {
  margin: 34px 0;
  overflow: hidden;
  background: #111318;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .12);
}

.article-inline-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-inline-visual figcaption {
  padding: 14px 18px 16px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.5;
  background: #111318;
}

.article-card[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .blog-toolbar,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-side {
    position: static;
  }
}
