/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:   #0a0f1e;
    --navy2:  #111827;
    --gold:   #c9a84c;
    --gold2:  #e8c97a;
    --white:  #ffffff;
    --off:    #f5f4f0;
    --muted:  #6b7280;
    --border: rgba(201,168,76,.18);
    --card-bg: #ffffff;
    --radius: 16px;
    --nav-h: 68px;
    --transition: .55s cubic-bezier(.22,1,.36,1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--white);
    color: var(--navy);
    line-height: 1.6;
    overflow-x: hidden;
}

em { font-style: normal; color: var(--gold); }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ────────────────────────────────────────────── */
.container {
    width: min(1120px, 92%);
    margin-inline: auto;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 100;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(10,15,30,.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 32px rgba(0,0,0,.35);
}

.nav-inner {
    width: min(1120px, 92%);
    margin-inline: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--white);
    text-transform: uppercase;
}
.nav-logo span { color: var(--gold); }

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,.8);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .04em;
    transition: color .25s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width .3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: .45rem 1.1rem;
    border-radius: 50px;
    font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold2) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

/* ── Sections ─────────────────────────────────────────────── */
.section       { padding: 120px 0; position: relative; }
.section-alt   { background: var(--off); }
.section-dark  { background: var(--navy); color: var(--white); }
.section-dark .section-label { color: var(--gold); }
.section-dark .section-title { color: var(--white); }

.section-label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--navy);
}

.section-title.centered { text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 3rem; font-size: 1.05rem; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0f1e 0%, #1a2340 50%, #0f1a2e 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 80% 40%, rgba(201,168,76,.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 10% 80%, rgba(201,168,76,.07) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: var(--nav-h);
}

.hero-eyebrow {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.02em;
    margin-bottom: 1rem;
}

.hero-sub {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    margin-bottom: 1.5rem;
}

.hero-tagline {
    max-width: 520px;
    color: rgba(255,255,255,.6);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: .85rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .05em;
    transition: all .3s;
    cursor: pointer;
}

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover {
    background: var(--gold2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,168,76,.35);
}

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.4);
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: .4; transform: scaleY(1); }
    50%       { opacity: 1;  transform: scaleY(1.15); }
}

/* ── About ────────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 5rem;
    align-items: start;
}

.about-text p { color: var(--muted); margin-bottom: 2rem; font-size: 1.05rem; }

.mission-block {
    background: var(--navy);
    color: var(--white);
    padding: 1.75rem 2rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--gold);
    margin-bottom: 2rem;
}

.mission-block h3 {
    color: var(--gold);
    font-size: .75rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.mission-block p { color: rgba(255,255,255,.85); margin: 0; }

.values-list li {
    padding: .6rem 0 .6rem 1rem;
    color: var(--muted);
    font-size: .95rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
    position: relative;
}

.values-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 4px;
    background: var(--gold);
    border-radius: 50%;
}

.ceo-card {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
}

.ceo-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
    font-weight: 900;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.ceo-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: .25rem; }

.ceo-title {
    color: var(--gold);
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.ceo-facts { display: flex; flex-direction: column; gap: 1.25rem; }

.ceo-fact strong {
    display: block;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .3rem;
}

.ceo-fact span { color: rgba(255,255,255,.75); font-size: .9rem; }

.ceo-stat {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    margin-top: .5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
}

.stat-num { font-size: 2.5rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-label { color: rgba(255,255,255,.6); font-size: .85rem; }

/* ── Services ─────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s cubic-bezier(.22,1,.36,1), border-color .3s;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .4s;
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 64px rgba(0,0,0,.13);
    border-color: var(--gold);
}

.service-icon {
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .1em;
    color: var(--gold);
    margin-bottom: 1.25rem;
    background: rgba(201,168,76,.1);
    display: inline-block;
    padding: .4rem .75rem;
    border-radius: 50px;
}

.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; color: var(--navy); }
.service-card p  { color: var(--muted); font-size: .95rem; line-height: 1.65; }

.styles-bar {
    background: var(--navy);
    border-radius: var(--radius);
    padding: 1.75rem 2.25rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.styles-label {
    color: var(--gold);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.style-tags { display: flex; gap: .75rem; flex-wrap: wrap; }

.style-tags span {
    background: rgba(201,168,76,.15);
    color: var(--gold2);
    border: 1px solid var(--border);
    padding: .35rem .9rem;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
}

/* ── Clients ──────────────────────────────────────────────── */
.publishers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.publisher-card {
    background: var(--off);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy);
    transition: background .4s cubic-bezier(.22,1,.36,1),
                color .4s cubic-bezier(.22,1,.36,1),
                transform .4s cubic-bezier(.22,1,.36,1),
                box-shadow .4s cubic-bezier(.22,1,.36,1);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.publisher-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 40%; height: 200%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    transition: left .5s ease;
}

.publisher-card:hover::after { left: 130%; }

.publisher-card:hover {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 16px 48px rgba(0,0,0,.18);
}

/* ── Infrastructure ───────────────────────────────────────── */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.infra-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    border: 1px solid rgba(0,0,0,.07);
    transition: transform var(--transition), box-shadow var(--transition);
}

.infra-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,.1);
}

.infra-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.infra-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; color: var(--navy); }
.infra-card p  { color: var(--muted); font-size: .92rem; }

.quality-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    background: var(--navy);
    border-radius: var(--radius);
    padding: 2.5rem 2.25rem;
}

.quality-item h4 {
    color: var(--gold);
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: .6rem;
}

.quality-item p { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.65; }

/* ── Team ─────────────────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.team-card {
    background: var(--off);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    border: 1px solid rgba(0,0,0,.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,.09);
}

.team-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .85rem; color: var(--navy); }
.team-card p, .team-card li { color: var(--muted); font-size: .95rem; line-height: 1.65; }
.team-card ul { margin-top: .5rem; }

.team-card li {
    padding: .4rem 0 .4rem 1rem;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.team-card li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 4px;
    background: var(--gold);
    border-radius: 50%;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: var(--navy);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
}

.stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 0 1rem;
    border-right: 1px solid rgba(255,255,255,.08);
}

.stat:last-child { border-right: none; }
.stat-n { font-size: 2.25rem; font-weight: 900; color: var(--gold); line-height: 1; display: block; }
.stat span:last-child { color: rgba(255,255,255,.6); font-size: .85rem; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    border: 1px solid rgba(201,168,76,.2);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    transition: border-color .3s, background .3s;
}

.contact-card:hover { background: rgba(201,168,76,.06); border-color: var(--gold); }

.contact-role {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .6rem;
}

.contact-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; color: var(--white); }

.contact-card a,
.contact-card p {
    display: block;
    color: rgba(255,255,255,.6);
    font-size: .95rem;
    margin-bottom: .4rem;
    transition: color .25s;
}

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

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    background: #06090f;
    padding: 1.75rem 0;
    text-align: center;
    color: rgba(255,255,255,.3);
    font-size: .85rem;
    letter-spacing: .04em;
}

/* ── Scroll progress bar ──────────────────────────────────── */
.progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
    z-index: 200;
    transition: width .1s linear;
}

/* ── Hero entrance animations ─────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hero-eyebrow { animation: fadeUp .8s .2s both cubic-bezier(.22,1,.36,1); }
.hero-title   { animation: fadeUp .9s .35s both cubic-bezier(.22,1,.36,1); }
.hero-sub     { animation: fadeUp .8s .5s  both cubic-bezier(.22,1,.36,1); }
.hero-tagline { animation: fadeUp .8s .65s both cubic-bezier(.22,1,.36,1); }
.hero-content .btn { animation: fadeUp .8s .8s both cubic-bezier(.22,1,.36,1); }
.scroll-hint  { animation: fadeIn 1s 1.2s both; }

/* ── Reveal animations ────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.services-grid   .reveal:nth-child(1) { transition-delay: 0s;   }
.services-grid   .reveal:nth-child(2) { transition-delay: .08s; }
.services-grid   .reveal:nth-child(3) { transition-delay: .16s; }
.services-grid   .reveal:nth-child(4) { transition-delay: .24s; }

.publishers-grid .reveal:nth-child(1) { transition-delay: 0s;   }
.publishers-grid .reveal:nth-child(2) { transition-delay: .06s; }
.publishers-grid .reveal:nth-child(3) { transition-delay: .12s; }
.publishers-grid .reveal:nth-child(4) { transition-delay: .18s; }
.publishers-grid .reveal:nth-child(5) { transition-delay: .24s; }
.publishers-grid .reveal:nth-child(6) { transition-delay: .30s; }
.publishers-grid .reveal:nth-child(7) { transition-delay: .36s; }

.infra-grid  .reveal:nth-child(1) { transition-delay: 0s;   }
.infra-grid  .reveal:nth-child(2) { transition-delay: .08s; }
.infra-grid  .reveal:nth-child(3) { transition-delay: .16s; }
.infra-grid  .reveal:nth-child(4) { transition-delay: .24s; }

.stats-row   .reveal:nth-child(1) { transition-delay: 0s;   }
.stats-row   .reveal:nth-child(2) { transition-delay: .07s; }
.stats-row   .reveal:nth-child(3) { transition-delay: .14s; }
.stats-row   .reveal:nth-child(4) { transition-delay: .21s; }

.contact-grid .reveal:nth-child(1) { transition-delay: 0s;   }
.contact-grid .reveal:nth-child(2) { transition-delay: .09s; }
.contact-grid .reveal:nth-child(3) { transition-delay: .18s; }

.quality-strip .reveal:nth-child(1) { transition-delay: 0s;   }
.quality-strip .reveal:nth-child(2) { transition-delay: .09s; }
.quality-strip .reveal:nth-child(3) { transition-delay: .18s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .ceo-card   { position: static; }
    .stats-row  { grid-template-columns: repeat(2, 1fr); }
    .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 1.5rem; }
    .stat:nth-child(3), .stat:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
    .section { padding: 80px 0; }
    .nav-links {
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        background: rgba(10,15,30,.97);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-110%);
        transition: transform .4s cubic-bezier(.22,1,.36,1);
    }
    .nav-links.open  { transform: translateY(0); }
    .nav-toggle      { display: flex; }
    .stats-row       { grid-template-columns: repeat(2, 1fr); }
    .styles-bar      { flex-direction: column; align-items: flex-start; }
}
