/* ===== TYPOGRAPHY UTILITIES (index.html only) ===== */
.title-xl { font-size: clamp(3rem, 8vw, 8rem); letter-spacing: -0.02em; }
.title-lg { font-size: clamp(2.5rem, 5vw, 5rem); letter-spacing: -0.01em; }
.title-md { font-size: clamp(1.8rem, 3vw, 3rem); }
.title-sm { font-size: clamp(1.2rem, 2vw, 1.8rem); }
.text-upper { text-transform: uppercase; letter-spacing: 0.12em; }
.section-padding { padding: var(--section-padding); }
.section-margin { margin: 100px 0; }

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #000 0%, #0a0a0a 40%, #111 100%); }
.hero-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(ellipse at 70% 50%, rgba(212,119,42,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(212,119,42,0.04) 0%, transparent 50%);
}
.hero-grid-lines {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.3;
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-label {
    font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--theme-color);
    margin-bottom: 30px; display: flex; align-items: center; gap: 12px;
    opacity: 0; animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-label::before { content: ''; width: 40px; height: 1px; background: var(--theme-color); }
.hero-title {
    font-size: clamp(3.5rem, 9vw, 9rem); line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 40px;
    opacity: 0; animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-title em { font-style: normal; color: var(--theme-color); display: block; }
.hero-subtitle {
    max-width: 560px; font-size: 16px; line-height: 1.8; color: rgba(239,239,239,0.7); margin-bottom: 50px;
    opacity: 0; animation: fadeUp 0.8s ease 0.7s forwards;
}
.hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s ease 0.9s forwards; }
.hero-stats {
    position: absolute; right: 40px; bottom: 60px; display: flex; gap: 50px; z-index: 2;
    opacity: 0; animation: fadeUp 0.8s ease 1.1s forwards;
}
.stat-item { text-align: center; }
.stat-number { font-family: var(--heading-font); font-size: clamp(2.5rem, 4vw, 4rem); color: var(--theme-color); line-height: 1; display: block; }
.stat-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(239,239,239,0.5); margin-top: 6px; }
.scroll-indicator {
    position: absolute; left: 40px; bottom: 60px; z-index: 2;
    display: flex; align-items: center; gap: 12px;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(239,239,239,0.4);
    opacity: 0; animation: fadeUp 0.8s ease 1.3s forwards;
}
.scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--theme-color), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* ===== MARQUEE ===== */
.marquee-section { padding: 40px 0; overflow: hidden; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: var(--assistant-color); }
.marquee-track { display: flex; gap: 80px; white-space: nowrap; animation: marquee 20s linear infinite; }
.marquee-item { font-family: var(--heading-font); font-size: 3rem; text-transform: uppercase; color: rgba(239,239,239,0.15); display: flex; align-items: center; gap: 30px; flex-shrink: 0; }
.marquee-dot { width: 8px; height: 8px; background: var(--theme-color); border-radius: 50%; flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== ABOUT ===== */
#about { padding: 120px 0; background: var(--bg-color); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-title { font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.1; margin-bottom: 30px; }
.about-text { font-size: 16px; line-height: 1.9; color: rgba(239,239,239,0.7); margin-bottom: 25px; }
.about-highlight { display: flex; gap: 40px; margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--border-color); }
.highlight-item { flex: 1; }
.highlight-number { font-family: var(--heading-font); font-size: 3.5rem; color: var(--theme-color); line-height: 1; }
.highlight-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(239,239,239,0.5); margin-top: 8px; }
.about-visual { position: relative; }
.about-img-card { background: var(--assistant-color); border: 1px solid var(--border-color); padding: 50px 40px; position: relative; overflow: hidden; }
.about-img-card::before { content: ''; position: absolute; top: 0; right: 0; width: 3px; height: 100%; background: var(--theme-color); }
.img-card-icon { width: 60px; height: 60px; background: var(--theme-color); display: flex; align-items: center; justify-content: center; margin-bottom: 30px; font-size: 24px; color: #000; }
.img-card-title { font-size: 2rem; margin-bottom: 15px; }
.img-card-desc { color: rgba(239,239,239,0.6); font-size: 14px; line-height: 1.8; }
.about-badge { position: absolute; bottom: -85px; left: 40px; background: var(--theme-color); color: #000; padding: 20px 30px; font-family: var(--heading-font); }
.about-badge span { display: block; font-size: 2.5rem; line-height: 1; font-weight: 700; }
.about-badge small { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== SERVICES ===== */
#services { padding: 120px 0; background: var(--assistant-color); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 80px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-color); }
.service-card { background: var(--assistant-color); padding: 50px 40px; position: relative; transition: background 0.4s; overflow: hidden; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--theme-color); transition: width 0.4s; }
.service-card:hover { background: #161616; }
.service-card:hover::after { width: 100%; }
.service-number { font-family: var(--heading-font); font-size: 5rem; color: var(--border-color); line-height: 1; margin-bottom: 30px; transition: color 0.4s; }
.service-card:hover .service-number { color: var(--theme-color); }
.service-icon { font-size: 32px; color: var(--theme-color); margin-bottom: 20px; }
.service-title { font-size: 1.6rem; margin-bottom: 16px; }
.service-desc { font-size: 14px; line-height: 1.8; color: rgba(239,239,239,0.6); }

/* ===== PARTNERS ===== */
#partners { padding: 100px 0; background: var(--bg-color); }
.partners-inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.partner-badge { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 32px 36px; border: 1px solid var(--border-color); position: relative; transition: border-color 0.3s; }
.partner-badge:hover { border-color: var(--theme-color); }
.partner-badge::before { content: ''; position: absolute; top: -1px; left: 20px; right: 20px; height: 2px; background: var(--theme-color); transform: scaleX(0); transition: transform 0.3s; }
.partner-badge:hover::before { transform: scaleX(1); }
.partner-name { font-family: var(--heading-font); font-size: 2.8rem; letter-spacing: -0.01em; }
.partner-logo { height: 52px; width: auto; display: block; }
.partner-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(239,239,239,0.4); }
.partner-divider { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(239,239,239,0.3); }

/* ===== WHY US ===== */
#why-us { padding: 120px 0; background: var(--assistant-color); border-top: 1px solid var(--border-color); position: relative; overflow: hidden; }
.why-us-bg { position: absolute; right: 0; top: 0; bottom: 0; width: 40%; background: linear-gradient(135deg, transparent, rgba(212,119,42,0.04)); }
.why-us-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-list { margin-top: 50px; }
.why-item { display: flex; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--border-color); align-items: flex-start; transition: padding-left 0.3s; }
.why-item:hover { padding-left: 10px; }
.why-item:first-child { border-top: 1px solid var(--border-color); }
.why-num { font-family: var(--heading-font); font-size: 1rem; color: var(--theme-color); min-width: 30px; padding-top: 2px; }
.why-content h4 { font-size: 1.1rem; margin-bottom: 8px; }
.why-content p { font-size: 13px; color: rgba(239,239,239,0.6); line-height: 1.7; }
.why-visual { background: var(--bg-color); border: 1px solid var(--border-color); padding: 60px; text-align: center; position: relative; }
.opportunity-ring { width: 200px; height: 200px; border-radius: 50%; border: 2px solid var(--theme-color); display: flex; align-items: center; justify-content: center; margin: 0 auto 40px; position: relative; }
.opportunity-ring::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed var(--border-color); animation: spin 20s linear infinite; }
.opportunity-ring::after { content: '✦'; position: absolute; top: -8px; left: 50%; transform: translateX(-50%); color: var(--theme-color); font-size: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
.opportunity-inner { z-index: 1; }
.opportunity-text { font-family: var(--heading-font); font-size: 4rem; color: var(--theme-color); line-height: 1; }
.opportunity-sub { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(239,239,239,0.4); }

/* ===== CAREERS ===== */
#careers { padding: 120px 0; background: var(--bg-color); }
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; }
.career-card { border: 1px solid var(--border-color); padding: 50px 40px; position: relative; overflow: hidden; transition: border-color 0.3s; }
.career-card:hover { border-color: var(--theme-color); }
.career-card-accent { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--theme-color); transform: scaleX(0); transition: transform 0.4s; transform-origin: left; }
.career-card:hover .career-card-accent { transform: scaleX(1); }
.career-icon { font-size: 2.5rem; color: var(--theme-color); margin-bottom: 25px; }
.career-title { font-size: 1.5rem; margin-bottom: 15px; }
.career-desc { font-size: 14px; color: rgba(239,239,239,0.65); line-height: 1.8; }
.career-tag { display: inline-block; margin-top: 20px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--theme-color); border: 1px solid var(--theme-color); padding: 5px 14px; }

/* ===== CTA ===== */
#cta { padding: 120px 0; background: linear-gradient(135deg, #0a0a0a 0%, #111 50%, #0f0f0f 100%); border-top: 1px solid var(--border-color); position: relative; overflow: hidden; text-align: center; }
#cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(212,119,42,0.07) 0%, transparent 70%); }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-size: clamp(2.5rem, 6vw, 6rem); line-height: 1.05; margin-bottom: 30px; }
.cta-subtitle { font-size: 16px; color: rgba(239,239,239,0.6); max-width: 500px; margin: 0 auto 50px; line-height: 1.8; }
.cta-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* ===== EXTRA REVEAL DELAYS ===== */
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero-title { font-size: clamp(2.8rem, 9vw, 5rem); }
    .hero-stats { position: relative; z-index: 3; right: auto; bottom: auto; margin-top: 50px; justify-content: flex-start; flex-wrap: nowrap; gap: 20px; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 9px; color: rgba(239,239,239,0.85); }
    #hero { min-height: unset !important; padding-bottom: 60px; }
    .about-grid, .why-us-grid, .careers-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .services-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .about-highlight { flex-direction: column; gap: 20px; }
    .partners-inner { gap: 16px; flex-direction: column; align-items: stretch; }
    .partner-badge { padding: 16px 24px; width: 100%; align-items: center; }
    .partner-divider { display: none; }
    .scroll-indicator { display: none !important; animation: none !important; }
}

/* ===== UTILITY CLASSES (extracted from inline styles) ===== */
.section-tag-centered { justify-content: center; }
.partners-tagline { color: rgba(239,239,239,0.5); margin-top: 20px; font-size: 15px; }
.partners-footer-note { font-size: 13px; color: rgba(239,239,239,0.35); letter-spacing: 0.1em; text-transform: uppercase; }
.partners-center-wrap { text-align: center; margin-bottom: 70px; }
.partners-footer-wrap { text-align: center; margin-top: 60px; }
.hero-fiber-tagline { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border-color); }
.hero-fiber-sub { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(239,239,239,0.4); }
.opportunity-body-para { color: rgba(239,239,239,0.55); font-size: 14px; line-height: 1.8; margin-bottom: 30px; }
.opportunity-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.opportunity-stat-box { flex: 1; min-width: 100px; background: var(--bg-color); border: 1px solid var(--border-color); padding: 20px; text-align: center; }
.opportunity-stat-val { font-family: var(--heading-font); font-size: 1.8rem; color: var(--theme-color); }
.opportunity-stat-lbl { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(239,239,239,0.4); margin-top: 5px; }
.opportunity-sub-label { font-size: 9px; letter-spacing: 0.15em; }
.opportunity-h3 { font-size: 1.8rem; margin-bottom: 16px; }
.careers-body-wrap { max-width: 700px; }
.careers-body-intro { color: rgba(239,239,239,0.6); margin-top: 20px; font-size: 16px; line-height: 1.8; }
.hero-tagline-para { max-width: 300px; font-size: 14px; color: rgba(239,239,239,0.5); text-align: right; line-height: 1.8; }

/* ─── Core image utilities ────────────────────────────── */
.cover-bg-img {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.img-overlay { position: absolute; inset: 0; z-index: 1; }
.img-overlay-dark { background: rgba(0,0,0,0.58); }
.img-overlay-grad-up { background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.25) 55%, transparent 100%); }
.has-border-radius { border-radius: 20px; }
.rel-overflow { position: relative; overflow: hidden; }

/* ─── HERO: full-bleed photo ─────────────────────────── */
#hero { padding-top: 100px; }

.hero-photo-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo-bg img {
    width: 100%; height: 130%; object-fit: cover;
    object-position: center 30%;
    will-change: transform;
}
#hero .hero-bg { background: rgba(0,0,0,0.68) !important; z-index: 1; }
#hero .hero-bg-pattern { z-index: 2; }
#hero .hero-grid-lines { z-index: 2; opacity: 0.15; }
#hero .hero-content { position: relative; z-index: 3; }
#hero .hero-stats { z-index: 3; }
#hero .scroll-indicator { position: relative; z-index: 3; }

.hero-label-line {
    display: flex; align-items: center; gap: 12px;
    font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--theme-color); margin-bottom: 24px;
    opacity: 0; animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-label-line::before { content: ''; width: 40px; height: 1px; background: var(--theme-color); }

.hero-title-box { display: inline-block; padding: 0 0 36px; }
.hero-title-box .hero-title { margin-bottom: 0; }

/* ─── ABOUT: stacked image column ───────────────────── */
.about-imgs-col { display: flex; flex-direction: column; gap: 14px; position: relative; }
.about-img-tall { position: relative; overflow: hidden; border-radius: 16px; height: 340px; }
.about-img-tall img,
.about-img-tall video {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.7s ease;
}
.about-imgs-col:hover .about-img-tall img,
.about-imgs-col:hover .about-img-tall video { transform: scale(1.04); }

.about-img-bottom { display: grid; grid-template-columns: 1fr 110px; gap: 14px; align-items: stretch; }
.about-img-short { position: relative; overflow: hidden; border-radius: 16px; height: 170px; }
.about-img-short img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.7s ease;
}
.about-imgs-col:hover .about-img-short img { transform: scale(1.04); }

.about-years-tile {
    background: var(--theme-color); color: #000;
    border-radius: 16px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center;
    padding: 16px;
}
.about-years-tile .num {
    font-family: var(--heading-font);
    font-size: 2.8rem; line-height: 1; font-weight: 700; display: block;
}
.about-years-tile .lbl {
    font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
    margin-top: 6px; display: block; line-height: 1.4;
}

/* ─── IN THE FIELD section ───────────────────────────── */
#field-photos {
    padding: 110px 0 0;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
}
.field-intro-wrap { margin-bottom: 56px; }
.field-intro-sub {
    color: rgba(239,239,239,0.5); font-size: 14px; line-height: 1.8;
    max-width: 440px; margin-top: 14px;
}
.field-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.field-card { position: relative; border-radius: 20px; overflow: hidden; cursor: pointer; }
.field-card-img {
    width: 100%; height: 500px; display: block; object-fit: cover;
    transition: transform 0.65s ease;
}
.field-card:hover .field-card-img { transform: scale(1.06); }
.field-card, .about-img-tall, .about-img-short { background: #111; }

/* ─── WHY US: background image ───────────────────────── */
.why-us-photo-bg { position: absolute; inset: 0; z-index: 0; }
.why-us-photo-bg img {
    width: 100%; height: 130%; object-fit: cover; object-position: center;
    will-change: transform;
}
.why-us-photo-bg::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.76); }
#why-us { overflow: hidden; }
#why-us .why-us-bg { display: none; }
#why-us .container { position: relative; z-index: 2; }
#why-us .why-visual { background: rgba(10,10,10,0.7); backdrop-filter: blur(4px); }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
    .field-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .hero-photo-bg { position: fixed; z-index: -1; }
    .hero-photo-bg img { height: 100vh; will-change: auto; }
    .why-us-photo-bg img { height: 100%; will-change: auto; }
}
@media (max-width: 640px) {
    .field-cards { grid-template-columns: 1fr; }
    .field-card-img { height: 300px !important; }
    .about-grid { grid-template-columns: 1fr !important; }
    .about-img-tall { height: 240px; }
    .about-img-short { height: 140px; }
    #hero .hero-bg {
        background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.75) 70%, rgba(0,0,0,0.88) 100%) !important;
    }
}
