/* =========================================
   BASE
========================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.brand img {
    width: auto;
    height: 55px;
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: rgba(248, 246, 239, 0.92);
    color: #1b1b1b;

    line-height: 1.7;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    width: 100%;
    background: rgba(248, 246, 239, 0.92);
    border-bottom: 1px solid #e8e8e8;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;

    padding: 20px 28px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    color: #151515;

    font-size: 18px;
    font-weight: 800;

    text-decoration: none;
}

.main-nav {
    display: flex;
    align-items: center;

    gap: 26px;
}

.main-nav a {
    color: #555;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease;
}

.main-nav a:hover {
    color: #111;
}


/* =========================================
   HERO
========================================= */

.article-hero {
    position: relative;

    height: min(650px, 70vh);
    min-height: 480px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background: #111;
}

.article-hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.article-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.42),
            rgba(0, 0, 0, 0.68)
        );
}

.article-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1050px;

    margin: 0 auto;
    padding: 70px 28px;
}

.article-category {
    display: inline-block;

    margin-bottom: 18px;

    padding: 7px 11px;

    background: rgba(148, 255, 128, 0.25);

    border: 1px solid rgba(148, 255, 128, 0.25);
    border-radius: 5px;

    color: #fff;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.article-hero h1 {
    max-width: 850px;

    color: #ffffff;

    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.05;

    letter-spacing: -2px;
}

.article-hero p {
    max-width: 720px;

    margin-top: 20px;

    color: rgba(255, 255, 255, 0.8);

    font-size: 18px;
    line-height: 1.6;
}


/* =========================================
   ARTICLE
========================================= */

.article-container {
    max-width: 900px;

    margin: 0 auto;

    padding: 75px 28px 100px;
}

.article-content {
    width: 100%;
}

.article-meta {
    margin-bottom: 32px;

    color: #777;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.2px;
}

.meta-divider {
    margin: 0 8px;
}

.article-content p {
    margin-bottom: 24px;

    color: #444;

    font-size: 17px;
}

.article-intro {
    margin-bottom: 45px !important;

    color: #222 !important;

    font-size: 21px !important;
    line-height: 1.7;

    font-weight: 500;
}

.article-content h2 {
    margin-top: 56px;
    margin-bottom: 18px;

    color: #151515;

    font-size: 32px;
    line-height: 1.2;

    letter-spacing: -0.7px;
}

.article-content h3 {
    color: #171717;

    font-size: 19px;
    line-height: 1.3;
}


/* =========================================
   ARTICLE IMAGES
========================================= */

.article-image-block {
    margin: 48px 0;
}

.article-image-block img {
    max-height: 600px;

    object-fit: cover;

    border-radius: 10px;
}

.article-image-block figcaption {
    margin-top: 11px;

    color: #888;

    font-size: 13px;
    text-align: center;
}

.article-image-wide img {
    aspect-ratio: 16 / 9;
}


/* =========================================
   HIGHLIGHT
========================================= */

.highlight-box {
    margin: 48px 0;

    padding: 30px 32px;

    background: #f5f5f3;

    border-left: 4px solid #191919;
    border-radius: 4px;
}

.highlight-label {
    display: block;

    margin-bottom: 10px;

    color: #777;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.4px;
}

.highlight-box p {
    margin: 0;

    color: #252525;

    font-size: 18px;
    font-weight: 600;
}


/* =========================================
   BENEFITS
========================================= */

.benefit-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    margin-top: 28px;
    margin-bottom: 50px;
}

.benefit-card {
    padding: 28px;

    background: #fafafa;

    border: 1px solid #e9e9e9;
    border-radius: 8px;
}

.benefit-number {
    display: block;

    margin-bottom: 18px;

    color: #aaa;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;
}

.benefit-card h3 {
    margin-bottom: 10px;
}

.benefit-card p {
    margin: 0;

    color: #666;

    font-size: 15px;
}


/* =========================================
   CTA
========================================= */

.cta-section {
    margin-top: 75px;

    padding: 55px;

    background: #111;

    border-radius: 12px;

    color: #fff;
}

.cta-eyebrow {
    display: block;

    margin-bottom: 16px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.cta-section h2 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 38px;
}

.cta-section p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 16px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: #ffffff;
    color: #111111;
}

.button-primary:hover {
    background: #e9e9e9;
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.28);

    color: #ffffff;
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
}


/* =========================================
   FOOTER
========================================= */

.footer {
  background: #0a1710;
  color: white;
  padding: 50px 0 24px;
  overflow-x: hidden;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.footer__grid > div {
  min-width: 0;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 1rem;
}

.footer a,
.footer p {
  display: block;
  color: #d2ccbd;
  margin: 8px 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer a:hover {
  color: var(--gold);
}

.footer__bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #a9a291;
  font-size: .92rem;
}


/* MOBILE FOOTER */

@media (max-width: 768px) {

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__grid > div {
    width: 100%;
  }

  .footer-logo {
    max-width: 180px;
  }

  .footer a,
  .footer p {
    overflow-wrap: anywhere;
    word-break: normal;
    font-size: 1rem;
  }

  .footer__bottom {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

#site-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #f8f6ef;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}

#site-loader img {
  width: 260px;
  max-width: 70vw;
  height: auto;
  animation: loaderFade 1.2s ease forwards;
}

#site-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 750px) {

    .header-container {
        padding: 17px 20px;
    }

    .main-nav {
        display: none;
    }

    .article-hero {
        min-height: 500px;
    }

    .article-hero-content {
        padding: 50px 20px;
    }

    .article-hero h1 {
        font-size: 40px;

        letter-spacing: -1.2px;
    }

    .article-hero p {
        font-size: 16px;
    }

    .article-container {
        padding:
            50px 20px
            75px;
    }

    .article-intro {
        font-size: 18px !important;
    }

    .article-content h2 {
        margin-top: 45px;

        font-size: 27px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .highlight-box {
        padding: 25px;
    }

    .cta-section {
        padding: 36px 25px;
    }

    .cta-section h2 {
        font-size: 30px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;

        padding: 35px 20px;
    }

}

