/* Homepage-only styles. Shared header, footer, typography baseline and utilities live in sting-shell.css. */
:root {
    /* Theme Colors based on user provided tokens */
    --sting-red: #d20a11;
    --on-primary: #ffffff;
    --surface: #131313;
    --on-surface: #e4e2e1;
    --on-surface-variant: #a1a1a1;
    --outline: #4d4d4d;
    --outline-variant: #2a2a2a;
    --surface-container: #1f2020;
    --surface-container-lowest: #0e0e0e;
    --background: #0a0a0a;

    /* Spacing */
    --unit: 4px;
    --margin-desktop: 64px;
    --gutter: 16px;
    --margin-mobile: 20px;

    /* Fonts */
    --font-headline: 'Inter', sans-serif;
    --font-label: 'JetBrains Mono', monospace;
    --font-body: 'Inter', sans-serif;
}

.sting-page-home, .sting-page-home * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.sting-page-home {
    background-color: var(--background);
    color: var(--on-surface);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

.sting-page-home a {
    text-decoration: none;
    color: inherit;
}

.sting-page-home button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* Hero Section */
.sting-page-home .hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.sting-page-home .hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.sting-page-home .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
    transform: scale(1.05);
}

.sting-page-home .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--background), transparent 60%);
}

.sting-page-home .hero-tint {
    position: absolute;
    inset: 0;
    background-color: rgba(210, 10, 17, 0.05);
}

.sting-page-home .hero-content {
    z-index: 10;
    max-width: 1000px;
    padding: 0 var(--margin-mobile);
}

.sting-page-home .hero-tag {
    font-family: var(--font-label);
    font-size: 14px;
    letter-spacing: 0.6em;
    color: var(--sting-red);
    font-weight: 700;
    margin-bottom: 24px;
    display: block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.sting-page-home .hero-title {
    font-family: var(--font-headline);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: clamp(48px, 14vw, 140px);
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
    text-shadow: 0 0 40px rgba(210, 10, 17, 0.4);
}

.sting-page-home .hero-title span {
    color: var(--sting-red);
}

.sting-page-home .hero-desc {
    font-size: clamp(16px, 4vw, 20px);
    color: var(--on-surface-variant);
    max-width: 600px;
    margin: 0 auto 56px;
}

.sting-page-home .hero-desc span {
    color: white;
    font-weight: 700;
}

.sting-page-home .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
}

@media (min-width: 768px) {
    .sting-page-home .hero-actions {
        flex-direction: row;
    }
}

.sting-page-home .btn-hero-primary {
    background: white;
    color: black;
    padding: 20px 48px;
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.sting-page-home .btn-hero-primary:hover {
    background: var(--sting-red);
    color: white;
}

.sting-page-home .btn-hero-outline {
    border: 2px solid white;
    color: white;
    padding: 20px 48px;
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.sting-page-home .btn-hero-outline:hover {
    background: white;
    color: black;
}

.sting-page-home .scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    opacity: 0.7;
}

.sting-page-home .scroll-text {
    font-family: var(--font-label);
    font-size: 10px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--sting-red);
}

.sting-page-home .scroll-line {
    width: 1px;
    height: 64px;
    background: linear-gradient(to bottom, var(--sting-red), transparent);
}

/* Main Content */
.sting-page-home .main-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 128px var(--margin-mobile);
}

@media (min-width: 768px) {
    .sting-page-home .main-container {
        padding: 128px var(--margin-desktop);
    }
}

/* Section Header */
.sting-page-home .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
}

.sting-page-home .section-tag {
    font-family: var(--font-label);
    font-size: 14px;
    color: var(--sting-red);
    letter-spacing: 0.4em;
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
}

.sting-page-home .section-title {
    font-family: var(--font-headline);
    font-size: clamp(40px, 6vw, 60px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

.sting-page-home .section-link {
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    color: var(--on-surface-variant);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--outline);
    padding-bottom: 4px;
    transition: all 0.2s;
}

.sting-page-home .section-link:hover {
    color: var(--sting-red);
    border-color: var(--sting-red);
}

/* News Grid */
.sting-page-home .news-grid {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--outline-variant);
    background-color: var(--surface-container-lowest);
    margin-bottom: 160px;
}

@media (min-width: 768px) {
    .sting-page-home .news-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.sting-page-home .news-featured {
    padding: 32px;
    border-bottom: 1px solid var(--outline-variant);
    cursor: pointer;
}

@media (min-width: 768px) {
    .sting-page-home .news-featured {
        padding: 56px;
        border-bottom: none;
        border-right: 1px solid var(--outline-variant);
    }
}

.sting-page-home .news-img-box {
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--outline-variant);
}

.sting-page-home .news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: transform 0.7s, filter 0.7s;
}

.sting-page-home .news-featured:hover .news-img-box img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.sting-page-home .news-category {
    display: inline-block;
    background: var(--sting-red);
    color: white;
    padding: 4px 12px;
    font-family: var(--font-label);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 24px;
}

.sting-page-home .news-featured-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

.sting-page-home .news-featured:hover .news-featured-title {
    color: var(--sting-red);
}

.sting-page-home .news-featured-excerpt {
    color: var(--on-surface-variant);
    font-size: 18px;
    line-height: 1.6;
}

.sting-page-home .news-sidebar {
    display: flex;
    flex-direction: column;
}

.sting-page-home .sidebar-item {
    padding: 40px;
    border-bottom: 1px solid var(--outline-variant);
    transition: background 0.3s;
    cursor: pointer;
    flex: 1;
}

.sting-page-home .sidebar-item:last-child {
    border-bottom: none;
}

.sting-page-home .sidebar-item:hover {
    background-color: var(--surface-container);
}

.sting-page-home .sidebar-tag {
    font-family: var(--font-label);
    font-size: 11px;
    color: var(--sting-red);
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.sting-page-home .sidebar-title {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    transition: color 0.3s;
}

.sting-page-home .sidebar-item:hover .sidebar-title {
    color: var(--sting-red);
}

.sting-page-home .sidebar-desc {
    color: var(--on-surface-variant);
    margin-top: 16px;
    font-size: 16px;
}

/* CTA Section */
.sting-page-home .cta-section {
    display: grid;
    grid-template-columns: 1fr;
    border: 4px solid var(--sting-red);
    margin-bottom: 160px;
    box-shadow: 0 20px 50px rgba(210, 10, 17, 0.2);
    overflow: hidden;
}

@media (min-width: 768px) {
    .sting-page-home .cta-section {
        grid-template-columns: 1fr 1fr;
    }
}

.sting-page-home .cta-content {
    padding: 48px;
    background-color: var(--surface-container-lowest);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .sting-page-home .cta-content {
        padding: 96px;
    }
}

.sting-page-home .cta-tag {
    font-family: var(--font-label);
    font-size: 14px;
    color: var(--sting-red);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 32px;
}

.sting-page-home .cta-title {
    font-size: clamp(40px, 6vw, 60px);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-bottom: 40px;
}

.sting-page-home .cta-title span {
    color: var(--sting-red);
}

.sting-page-home .cta-desc {
    font-size: 20px;
    color: var(--on-surface-variant);
    line-height: 1.6;
    margin-bottom: 48px;
}

.sting-page-home .cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.sting-page-home .btn-cta-red {
    background-color: var(--sting-red);
    color: white;
    padding: 20px 40px;
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: filter 0.2s;
}

.sting-page-home .btn-cta-red:hover {
    filter: brightness(1.2);
}

.sting-page-home .btn-cta-outline {
    border: 2px solid var(--outline);
    color: var(--on-surface);
    padding: 20px 40px;
    font-family: var(--font-label);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.sting-page-home .btn-cta-outline:hover {
    background: white;
    color: black;
    border-color: white;
}

.sting-page-home .cta-visual {
    position: relative;
    height: 450px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .sting-page-home .cta-visual {
        height: auto;
    }
}

.sting-page-home .cta-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.5);
    transition: filter 1s;
}

.sting-page-home .cta-visual:hover img {
    filter: grayscale(0) brightness(0.7);
}

.sting-page-home .cta-visual-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(210, 10, 17, 0.2);
    mix-blend-mode: multiply;
}

.sting-page-home .cta-visual-border {
    position: absolute;
    inset: 0;
    border-left: 12px solid var(--sting-red);
}
/* 2026-07 homepage visual correction */
.sting-page-home .hero {
  height: calc(100vh - 58px);
  min-height: 640px;
  isolation: isolate;
}

.sting-page-home .hero-bg {
  z-index: 0;
  background: #090909;
}

.sting-page-home .hero-bg img {
  display: block;
  opacity: 1;
  filter: brightness(0.42);
  transform: scale(1.02);
}

.sting-page-home .hero-overlay,
.sting-page-home .hero-tint {
  z-index: 1;
}

.sting-page-home .hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 20px 90px;
}

.sting-page-home .hero-tag {
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.42em;
}

.sting-page-home .hero-title {
  max-width: 840px;
  margin: 0 auto 28px;
  font-size: clamp(46px, 8.2vw, 102px);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.sting-page-home .hero-desc {
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
}

.sting-page-home .hero-actions {
  gap: 16px;
}

.sting-page-home .btn-hero-primary,
.sting-page-home .btn-hero-outline {
  padding: 14px 32px;
  font-size: 11px;
  letter-spacing: 0.11em;
}

.sting-page-home .scroll-indicator {
  z-index: 3;
  bottom: 16px;
  gap: 8px;
  pointer-events: none;
}

.sting-page-home .scroll-text {
  font-size: 8px;
  letter-spacing: 0.28em;
}

.sting-page-home .scroll-line {
  height: 34px;
}

.sting-page-home .main-container {
  padding-top: 92px;
  padding-bottom: 92px;
}

.sting-page-home .section-header {
  margin-bottom: 44px;
}

.sting-page-home .section-title {
  font-size: clamp(34px, 4.2vw, 52px);
}

.sting-page-home .news-featured-title {
  font-size: clamp(26px, 2.7vw, 34px);
}

.sting-page-home .sidebar-title {
  font-size: 20px;
}

.sting-page-home .cta-title {
  font-size: clamp(36px, 4.5vw, 54px);
}

@media (max-width: 767px) {
  .sting-page-home .hero {
    min-height: 650px;
  }

  .sting-page-home .hero-content {
    padding-bottom: 105px;
  }

  .sting-page-home .hero-title {
    font-size: clamp(42px, 15vw, 68px);
  }

  .sting-page-home .hero-actions {
    gap: 12px;
  }

  .sting-page-home .btn-hero-primary,
  .sting-page-home .btn-hero-outline {
    width: min(280px, 100%);
    padding: 13px 22px;
  }
}


/* Final hero scroll position */
.sting-page-home .scroll-indicator {
  bottom: 2rem;
}
