/* =============================================
   HERO.CSS — Hero Section (Version A / Homepage)
   ============================================= */

.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid rgba(245, 184, 0, 0.10);
}

/* ── Video Background ── */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--bg-primary);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

/* Lighter overlay — video stays visible */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg,
            rgba(9, 12, 19, 0.52) 0%,
            rgba(9, 12, 19, 0.32) 50%,
            rgba(9, 12, 19, 0.46) 100%),
        linear-gradient(to top,
            rgba(9, 12, 19, 0.7) 0%,
            transparent 40%);
}

/* Subtle yellow-tinted grid */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 184, 0, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 184, 0, 0.035) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

/* ══════════════════════════════════════════════
   HERO CONTENT
   ══════════════════════════════════════════════ */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    padding-bottom: 160px;
    width: 100%;
    min-height: 80vh;
}

.hero-main { max-width: 620px; }

/* ── Title ── */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 3vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.hero-title--accent {
    display: block;
    color: var(--accent);
    font-size: clamp(3rem, 3vw, 6.2rem);
    font-weight: 900;
    line-height: 0.92;
    margin-top: 6px;
}

/* ── Description ── */
.hero-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 520px;
    margin-top: 4px;
}

.hero-desc strong {
    color: var(--accent);
    font-weight: 600;
}

/* ══════════════════════════════════════════════
   CORNER GRADES (bottom-left)
   ══════════════════════════════════════════════ */
.corner-grades {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(13, 18, 32, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-subtle);
    border-right: 3px solid var(--accent);
    border-top-right-radius: 12px;
    padding: 14px 20px 18px;
    z-index: 3;
    min-width: 185px;
}

/* Concave arc connector — top-right corner of panel */
.corner-grades::before {
    content: '';
    position: absolute;
    top: -14px;
    right: -14px;
    width: 28px;
    height: 28px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 7px 7px 0 0 rgba(13, 18, 32, 0.88);
    pointer-events: none;
}

.corner-grades__label {
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.8;
}

.corner-grades__list { display: flex; flex-direction: column; gap: 5px; }

.corner-grades__list a {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.73rem;
    color: var(--text-secondary);
    transition: color var(--t-fast);
}

.corner-grades__list a:hover { color: var(--text-primary); }

.corner-grades__list .grade-code {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent);
    min-width: 40px;
    letter-spacing: 0.04em;
}
/* ══════════════════════════════════════════════
   GEO TAG (just above contact-inset)
   ══════════════════════════════════════════════ */
.geo-tag {
    position: absolute;
    bottom: 200px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    z-index: 2;
    pointer-events: none;
}

.geo-tag span {
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: rgba(245, 184, 0, 0.3);
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-section       { min-height: 100vh; }
    .hero-title         { font-size: clamp(1.8rem, 8vw, 2.6rem); }
    .hero-title--accent { font-size: clamp(2.2rem, 10vw, 3.2rem); }
    .hero-content       { padding-top: 20px; align-items: flex-start; }
    .contact-inset,
    .corner-grades      { display: none; }
    .geo-tag            { display: none; }
}

@media (max-width: 480px) {
    .hero-content { padding: 20px 20px 60px; }
}
