/* ==========================================================================
   Faztech Websites — landing stylesheet (violet / dark design system)
   Shared by index / services / pricing / how-it-works / contact.
   Brand: violet #8b3dff, green pay-accent #34d399, deep-violet dark background.
   Edit the design tokens below to retune the whole site at once.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --violet:      #8b3dff;
    --violet-2:    #a855f7;
    --violet-deep: #6d28d9;
    --green:       #34d399;
    --green-deep:  #059669;
    --bg-0:        #0a0710;
    --bg-1:        #140a24;
    --bg-2:        #26104d;
    --ink:         #ffffff;
    --muted:       #b4abc9;
    --muted-2:     #8a80a6;
    --card:        rgba(255,255,255,.04);
    --card-2:      rgba(255,255,255,.06);
    --line:        rgba(255,255,255,.10);
    --line-2:      rgba(255,255,255,.16);
    --radius:      14px;
    --radius-lg:   20px;
    --glow:        0 0 0 1px rgba(139,61,255,.5), 0 14px 44px -10px rgba(139,61,255,.45);
    --container:   1140px;
    --font:        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --display:     "Space Grotesk", "Inter", sans-serif;
    /* Logo sizing — tune these two to fit your logo, nothing else needed.
       --logo-h = displayed logo height; --nav-h = header bar height. */
    --logo-h:      78px;
    --nav-h:       108px;
}

/* ----- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    line-height: 1.6;
    font-size: 17px;
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(1100px 600px at 85% -5%, rgba(139,61,255,.30), transparent 60%),
        radial-gradient(900px 500px at 10% 110%, rgba(109,40,217,.24), transparent 55%),
        linear-gradient(150deg, var(--bg-0) 0%, var(--bg-1) 55%, var(--bg-2) 130%);
    background-attachment: fixed;
}
/* decorative background art — soft, blurred, translucent */
body::before, body::after {
    content: ""; position: fixed; z-index: 0; pointer-events: none;
    width: 620px; height: 620px;
    background: url("/static/images/art/art-swirl.png") no-repeat center / contain;
    filter: blur(8px);
}
body::before { top: -130px; right: -170px; opacity: .32; }
body::after  { bottom: -150px; left: -180px; opacity: .2; }
/* keep content above the background art */
.site-header, .hero, .section, .page-hero, .site-footer, .container { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.16; color: var(--ink); margin: 0 0 .5em; font-weight: 700; font-family: var(--display); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }

/* ----- layout helpers ---------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: rgba(139,61,255,.04); }
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.eyebrow {
    display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--violet-2); margin-bottom: 14px; font-family: var(--display);
}
.lead { font-size: 1.15rem; color: var(--muted); }

/* ----- buttons ----------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-weight: 700; font-size: 1rem; line-height: 1; cursor: pointer; font-family: var(--display);
    letter-spacing: .01em; padding: 15px 26px; border-radius: 12px; border: 1px solid transparent;
    transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(135deg, var(--violet), var(--violet-deep)); color: #fff; box-shadow: 0 10px 30px -8px rgba(139,61,255,.6); }
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--navy { background: linear-gradient(135deg, var(--green), var(--green-deep)); color: #fff; box-shadow: 0 10px 30px -8px rgba(16,185,129,.55); }
.btn--navy:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--violet); background: rgba(139,61,255,.08); }
.btn--ghost-light { background: transparent; color: #fff; border-color: var(--line-2); }
.btn--ghost-light:hover { border-color: var(--violet); background: rgba(139,61,255,.08); }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }

/* ----- header ------------------------------------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(12,8,22,.72);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 30px; height: var(--nav-h); }
.nav > nav { margin-left: auto; }   /* push the Menu · Portfolio group to the right, beside the button */
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img { height: var(--logo-h); width: auto; max-width: 340px; object-fit: contain; }
.nav__brand-text { font-weight: 700; color: #fff; font-size: 1.15rem; letter-spacing: -.01em; font-family: var(--display); }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: .98rem; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
/* "Menu ▾" dropdown — groups secondary nav links; order:-1 puts it before Portfolio */
.nav__more { position: relative; order: -1; }
.nav__more-btn {
    display: inline-flex; align-items: center; gap: 6px; background: none; border: 0;
    color: var(--muted); font: inherit; font-weight: 500; font-size: .98rem; cursor: pointer; padding: 0;
}
.nav__more-btn:hover, .nav__more.open .nav__more-btn { color: #fff; }
.nav__more-btn svg { width: 14px; height: 14px; transition: transform .18s ease; }
.nav__more.open .nav__more-btn svg { transform: rotate(180deg); }
.nav__drop {
    position: absolute; top: calc(100% + 16px); left: 50%; min-width: 205px;
    transform: translateX(-50%) translateY(-6px);
    background: #160e28; border: 1px solid var(--line-2); border-radius: 14px; padding: 8px;
    list-style: none; margin: 0; opacity: 0; pointer-events: none; transition: .18s ease;
    box-shadow: 0 18px 50px -12px rgba(0,0,0,.6); z-index: 60;
}
.nav__more.open .nav__drop { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav__drop a { display: block; padding: 10px 14px; border-radius: 9px; font-size: .95rem; color: var(--muted); }
.nav__drop a:hover, .nav__drop a.is-active { background: rgba(139,61,255,.12); color: #fff; }
.nav__m-only { display: none; }   /* Home: only in the mobile menu (logo is home on desktop) */
.nav__login { font-weight: 600; color: var(--muted); }
.nav__login:hover { color: #fff; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: #fff; }
.nav__toggle svg { width: 26px; height: 26px; }

/* ----- hero -------------------------------------------------------------- */
.hero { padding: 92px 0 100px; }
.hero h1 { color: #fff; }
.hero p { color: var(--muted); font-size: 1.2rem; max-width: 560px; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__stats { display: flex; gap: 40px; margin-top: 44px; }
.hero__stat strong { display: block; font-size: 1.9rem; color: #fff; line-height: 1; font-family: var(--display); }
.hero__stat span { color: var(--muted-2); font-size: .9rem; }
.hero__art { display: flex; align-items: center; justify-content: center; }
.hero__art img { width: 100%; max-width: 600px; height: auto; filter: drop-shadow(0 26px 60px rgba(139,61,255,.35)); }

/* ----- cards / grids ----------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px; backdrop-filter: blur(10px);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: transparent; }
.card__icon {
    width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(139,61,255,.14); color: var(--violet-2); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ----- steps ------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step {
    position: relative; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 28px 30px 28px 88px; backdrop-filter: blur(10px);
}
.step::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 26px; top: 26px;
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--violet), var(--violet-deep)); color: #fff;
    font-weight: 700; font-size: 1.15rem; font-family: var(--display);
    display: grid; place-items: center; box-shadow: 0 6px 18px -4px rgba(139,61,255,.7);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* ----- pricing ----------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
    display: flex; flex-direction: column; background: var(--card);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 34px 30px; backdrop-filter: blur(10px);
}
.price-card--featured { border-color: transparent; box-shadow: var(--glow); background: rgba(139,61,255,.10); position: relative; }
.price-card--featured .price-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--violet), var(--violet-deep)); color: #fff; font-size: .72rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 20px;
}
.price-card h3 { font-size: 1.25rem; }
.price-card__amount { margin: 14px 0 4px; }
.price-card__amount .num { font-size: 2.4rem; font-weight: 800; color: #fff; font-family: var(--display); }
.price-card__amount .from { color: var(--muted-2); font-size: .95rem; }
.price-card__desc { color: var(--muted); font-size: .96rem; min-height: 48px; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.price-card li { position: relative; padding-left: 28px; color: var(--muted); font-size: .96rem; }
.price-card li::before {
    content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
    border-radius: 50%; background: rgba(139,61,255,.18);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
}
.price-card .btn { margin-top: auto; width: 100%; }

/* ----- budget selector --------------------------------------------------- */
.budget {
    margin-top: 56px; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 38px; backdrop-filter: blur(10px);
    max-width: 860px; margin-left: auto; margin-right: auto;
}
.budget h3 { text-align: center; margin-bottom: 6px; }
.budget > p { text-align: center; color: var(--muted); margin-bottom: 26px; }
.budget__ranges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 22px; }
.budget__range { position: relative; }
.budget__range input { position: absolute; opacity: 0; pointer-events: none; }
.budget__range label {
    display: block; cursor: pointer; padding: 12px 20px; border-radius: 30px;
    border: 1px solid var(--line-2); font-weight: 600; color: #fff; font-size: .95rem;
    transition: all .15s ease; user-select: none;
}
.budget__range input:checked + label { border-color: var(--violet); background: rgba(139,61,255,.14); color: #fff; }
.budget__range label:hover { border-color: var(--violet); }
.budget__custom { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: center; }
.budget__field { flex: 1; min-width: 220px; max-width: 320px; }
.budget__field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; color: #e7e2f2; }
.budget__input-wrap { position: relative; }
.budget__input-wrap .cur { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.budget__custom input[type="number"] {
    width: 100%; padding: 14px 16px 14px 34px; font-size: 1rem; font-family: var(--font);
    border: 1px solid var(--line); border-radius: 10px; color: #fff; background: rgba(255,255,255,.03);
}
.budget__custom input[type="number"]:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,61,255,.18); }
.budget__note { text-align: center; color: var(--muted-2); font-size: .88rem; margin: 18px 0 0; }

/* ----- CTA band ---------------------------------------------------------- */
.cta-band {
    background: linear-gradient(120deg, rgba(37,16,77,.80), rgba(12,7,22,.60)), url("/static/images/art/cta-bg.jpg") center / cover;
    color: #fff; border: 1px solid var(--line-2);
    border-radius: var(--radius-lg); padding: 56px; text-align: center;
    box-shadow: 0 20px 60px -18px rgba(139,61,255,.6);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn { margin: 0 7px; }
.cta-band .btn--primary { background: #fff; color: var(--violet-deep); box-shadow: none; }
.cta-band .btn--primary:hover { background: #f2ecff; }
.cta-band .btn--ghost-light { border-color: rgba(255,255,255,.5); }
.cta-band .btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.12); }

/* ----- contact ----------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic {
    width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center;
    background: rgba(139,61,255,.14); color: var(--violet-2);
}
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: #fff; }
.contact-list a, .contact-list span { color: var(--muted); }
.contact-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; backdrop-filter: blur(10px); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: #e7e2f2; }
.form-row input, .form-row textarea, .form-row select {
    width: 100%; padding: 13px 15px; font-size: 1rem; font-family: var(--font);
    border: 1px solid var(--line); border-radius: 10px; color: #fff; background: rgba(255,255,255,.03);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--muted-2); }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,61,255,.18); }
.form-row select option { background: #160e28; }
.form-row textarea { resize: vertical; min-height: 130px; }

/* ----- footer ------------------------------------------------------------ */
.site-footer { background: rgba(8,5,15,.55); border-top: 1px solid var(--line); color: var(--muted); padding: 64px 0 28px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 44px; width: auto; max-width: 240px; object-fit: contain; margin-bottom: 16px; }
.footer-brand p { font-size: .95rem; color: var(--muted-2); max-width: 280px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-links a { color: var(--muted); font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
    margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: .88rem; color: var(--muted-2);
}
.footer-bottom a { color: var(--muted); }

/* ----- work showcase ------------------------------------------------------ */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: .16s; }
.shot:hover { transform: translateY(-3px); box-shadow: var(--glow); border-color: transparent; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.shot .cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
    font-size: 13px; font-weight: 600; color: #fff; font-family: var(--display);
    background: linear-gradient(transparent, rgba(10,7,16,.92));
}

/* ----- homepage package teaser ------------------------------------------- */
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.pkg-price { font-size: 1.7rem; font-weight: 700; font-family: var(--display); margin: 6px 0 4px; }
.pkg-price small { font-size: .85rem; color: var(--muted-2); font-weight: 600; }
.pkg-link { display: inline-block; margin-top: 12px; color: var(--violet-2); font-weight: 600; font-size: .93rem; }
.pkg-link:hover { color: #fff; }

/* ----- M-Pesa / payments badge --------------------------------------------- */
.mpesa-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(52,211,153,.10); border: 1px solid rgba(52,211,153,.35);
    color: #a7f3d0; font-size: .9rem; font-weight: 600;
    padding: 9px 16px; border-radius: 999px;
}
.mpesa-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(52,211,153,.8); }

/* ----- FAQ ----------------------------------------------------------------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 13px; margin-bottom: 10px; backdrop-filter: blur(10px); }
.faq details[open] { border-color: rgba(139,61,255,.35); }
.faq summary {
    cursor: pointer; font-weight: 600; padding: 16px 20px; font-family: var(--display);
    font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--violet-2); font-size: 1.3rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .a { padding: 0 20px 16px; color: var(--muted); font-size: .96rem; line-height: 1.6; }

/* ----- portfolio ------------------------------------------------------------ */
.pf-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.pf-chip {
    padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
    color: var(--muted); font-weight: 600; font-size: .9rem; cursor: pointer; font-family: var(--display); transition: .15s;
}
.pf-chip:hover { color: #fff; border-color: var(--violet); }
.pf-chip.on { background: linear-gradient(135deg, var(--violet), var(--violet-deep)); border-color: transparent; color: #fff; }
.pf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.pf-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
    overflow: hidden; backdrop-filter: blur(10px); transition: .16s; cursor: pointer;
}
.pf-card:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: transparent; }
.pf-card .im { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.pf-card .im img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.pf-card:hover .im img { transform: scale(1.045); }
.pf-card .bd { padding: 20px 22px 22px; }
.pf-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.pf-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.pf-tag {
    display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--violet-2); background: rgba(139,61,255,.12); border: 1px solid rgba(139,61,255,.3);
    padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.pf-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(6,4,12,.88); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 28px; }
.pf-lightbox.on { display: flex; }
.pf-lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; border-radius: 14px; box-shadow: 0 30px 90px rgba(0,0,0,.6); }
.pf-lightbox .x { position: absolute; top: 18px; right: 22px; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }
.pf-lightbox .x:hover { border-color: var(--violet); background: rgba(139,61,255,.2); }

/* ----- blog ---------------------------------------------------------------- */
/* reading-progress bar */
.readbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
    background: linear-gradient(90deg, var(--violet), var(--violet-2) 55%, var(--green));
    box-shadow: 0 0 12px rgba(139,61,255,.65); transition: width .08s linear; }

/* post layout: article + sticky TOC */
.post-wrap { padding-top: 32px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 244px; gap: 56px;
    max-width: 1080px; margin: 0 auto; align-items: start; }
.post { max-width: 720px; min-width: 0; }
.crumb { font-size: .82rem; color: var(--muted-2); margin-bottom: 18px; }
.crumb a { color: var(--muted); } .crumb a:hover { color: #fff; }
.crumb span { color: var(--muted-2); }

.post-cat { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .72rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2);
    background: rgba(139,61,255,.12); border: 1px solid rgba(139,61,255,.28);
    padding: 5px 13px; border-radius: 999px; }
.post h1 { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 2.85rem); line-height: 1.13;
    margin: 16px 0 14px; letter-spacing: -.02em; }
.post-dek { font-size: 1.18rem; line-height: 1.6; color: var(--muted); margin: 0 0 22px; max-width: 46ch; }

/* byline + share row */
.post-byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.byline-av { width: 42px; height: 42px; border-radius: 50%; flex: none;
    background: linear-gradient(135deg, var(--violet), var(--violet-deep));
    display: grid; place-items: center; font-family: var(--display); font-weight: 700; color: #fff; font-size: 1rem;
    box-shadow: 0 4px 14px -4px rgba(139,61,255,.6); }
.byline-meta { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.byline-meta b { color: #fff; font-weight: 600; display: block; font-size: .95rem; }
.post-share { display: flex; gap: 8px; margin-left: auto; }
.post-share a, .post-share button { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    background: var(--card); border: 1px solid var(--line); color: var(--muted); cursor: pointer; transition: .15s; padding: 0; }
.post-share a:hover, .post-share button:hover { color: #fff; border-color: var(--violet);
    background: rgba(139,61,255,.14); transform: translateY(-2px); }
.post-share svg { width: 17px; height: 17px; }
.post-share .copied { color: var(--green); border-color: var(--green); background: rgba(52,211,153,.14); }

/* hero image / branded placeholder */
.post-hero { position: relative; margin: 0 0 34px; border-radius: 18px; overflow: hidden;
    aspect-ratio: 1200 / 630; border: 1px solid var(--line);
    background: linear-gradient(135deg, #2a1259, #160a2e 55%, #0c0718);
    box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
.post-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(120% 120% at 12% 0%, rgba(139,61,255,.34), transparent 55%),
                radial-gradient(90% 90% at 100% 100%, rgba(52,211,153,.15), transparent 50%); }
.post-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.post-hero .ph-logo { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; text-align: center;
    font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 2.6vw, 1.7rem); color: rgba(255,255,255,.86);
    padding: 0 12% 20px; line-height: 1.28; }
.post-hero .ph-mark { position: absolute; z-index: 2; left: 0; right: 0; bottom: 20px; text-align: center;
    font-family: var(--display); font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    font-size: .68rem; color: rgba(255,255,255,.5); }
.post-hero.has-img .ph-logo, .post-hero.has-img .ph-mark, .post-hero.has-img::after { display: none; }

/* prose */
.prose { color: #d7d1e4; font-size: 1.075rem; line-height: 1.78; }
.prose > p:first-of-type { font-size: 1.16rem; color: #e7e2f2; }
.prose > p:first-of-type::first-letter { font-family: var(--display); font-weight: 700; font-size: 3.1rem;
    float: left; line-height: .86; padding: 6px 12px 0 0; color: var(--violet-2); }
.prose h2 { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.72rem); margin: 46px 0 14px; color: #fff;
    letter-spacing: -.01em; scroll-margin-top: 90px; }
.prose h2::before { content: ""; display: block; width: 46px; height: 3px; border-radius: 3px; margin-bottom: 14px;
    background: linear-gradient(90deg, var(--violet), var(--violet-2)); }
.prose h3 { font-family: var(--display); font-size: 1.22rem; margin: 28px 0 8px; color: #fff; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 4px; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 30px; margin: 0 0 11px; }
.prose ul li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 8px; height: 8px; border-radius: 2px;
    background: linear-gradient(135deg, var(--violet-2), var(--violet)); transform: rotate(45deg); }
.prose ol { counter-reset: li; }
.prose ol li::before { counter-increment: li; content: counter(li); position: absolute; left: 0; top: .05em;
    width: 22px; height: 22px; border-radius: 50%; font-size: .72rem; font-weight: 700; color: #fff;
    display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--violet-deep)); }
.prose a { color: var(--violet-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: #fff; }
.prose strong { color: #fff; font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--violet); margin: 24px 0; padding: 4px 0 4px 20px;
    color: var(--muted); font-style: italic; font-size: 1.1rem; }

/* key-fact callout (Direct answer) */
.prose p.prose-key { position: relative; background: linear-gradient(135deg, rgba(139,61,255,.15), rgba(52,211,153,.07));
    border: 1px solid rgba(139,61,255,.32); border-left: 4px solid var(--violet-2); border-radius: 14px;
    padding: 18px 20px 18px 52px; color: #efeaf9; font-size: 1.04rem; margin: 6px 0 26px; }
.prose p.prose-key::first-letter { all: unset; }
.prose p.prose-key::before { content: "\2605"; position: absolute; left: 19px; top: 17px; color: var(--violet-2); font-size: 1.05rem; }
.prose p.prose-key strong { color: #fff; }

/* sticky table of contents */
.post-toc { position: sticky; top: 96px; font-size: .9rem; }
.post-toc .toc-h { font-family: var(--display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted-2); margin: 0 0 12px; }
.post-toc ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.post-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; color: var(--muted);
    border-left: 2px solid transparent; line-height: 1.35; transition: .15s; }
.post-toc a:hover { color: #fff; }
.post-toc a.active { color: #fff; border-left-color: var(--violet); font-weight: 600; }

.post .faq { max-width: none; margin: 0; }

/* end share + related */
.post-endshare { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 36px 0 0;
    padding-top: 24px; border-top: 1px solid var(--line); }
.post-endshare > span { font-family: var(--display); font-weight: 600; color: #fff; }
.post-endshare .post-share { margin-left: auto; }
.post-related { margin-top: 40px; }
.post-related > h2 { font-family: var(--display); font-size: 1.4rem; margin: 0 0 22px; }

/* blog index cards (with thumbnails) */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
    border-radius: 16px; overflow: hidden; backdrop-filter: blur(10px); transition: .18s; }
.bcard:hover { transform: translateY(-5px); box-shadow: var(--glow); border-color: transparent; }
.bcard-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
    background: linear-gradient(135deg, #2a1259, #160a2e 60%, #0c0718); }
.bcard-thumb::after { content: ""; position: absolute; inset: 0;
    background: radial-gradient(120% 120% at 15% 0%, rgba(139,61,255,.4), transparent 55%); }
.bcard-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.bcard-thumb .bt-mark { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; text-align: center;
    padding: 0 20px; font-family: var(--display); font-weight: 700; color: rgba(255,255,255,.82);
    font-size: 1rem; line-height: 1.3; }
.bcard.has-img .bt-mark, .bcard.has-img .bcard-thumb::after { display: none; }
.bcard-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.bcard .eyebrow { margin-bottom: 10px; }
.bcard h2 { font-family: var(--display); font-size: 1.16rem; line-height: 1.3; margin: 0 0 9px; }
.bcard h2 a { color: #fff; } .bcard h2 a:hover { color: var(--violet-2); }
.bcard p { color: var(--muted); font-size: .93rem; flex: 1; margin: 0; line-height: 1.6; }
.bcard .more { margin-top: 15px; color: var(--violet-2); font-weight: 600; font-size: .9rem; }
.bcard .more:hover { color: #fff; }

/* pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 14px; border-radius: 11px;
    display: inline-grid; place-items: center; font-weight: 600; font-size: .95rem;
    border: 1px solid var(--line); color: var(--muted); background: var(--card); transition: .15s; }
.pagination a:hover { color: #fff; border-color: var(--violet); background: rgba(139,61,255,.14); }
.pagination .is-current { background: linear-gradient(135deg, var(--violet), var(--violet-deep)); color: #fff; border-color: transparent; }
.pagination .is-disabled { opacity: .4; pointer-events: none; }

@media (max-width: 980px) {
    .post-layout { grid-template-columns: 1fr; gap: 0; max-width: 760px; }
    .post-toc { display: none; }
}
@media (max-width: 920px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
    .post-share { gap: 7px; }
    .post-byline .post-share { margin-left: 0; width: 100%; }
    .prose > p:first-of-type::first-letter { font-size: 2.6rem; }
}

/* ----- page hero (sub-pages) -------------------------------------------- */
.page-hero { padding: 78px 0 68px; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 600px; margin: 0 auto; font-size: 1.12rem; }

/* ----- responsive -------------------------------------------------------- */
@media (max-width: 920px) {
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__art { order: -1; }
    .grid--3, .pricing { grid-template-columns: 1fr 1fr; }
    .grid--4, .shots { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 680px) {
    .section { padding: 60px 0; }
    .nav__links, .nav__login { display: none; }
    .nav__toggle { display: inline-flex; }
    .nav__links.is-open {
        display: flex; flex-direction: column; gap: 18px; position: absolute;
        top: var(--nav-h); left: 0; right: 0; background: #140a24; padding: 24px;
        border-bottom: 1px solid var(--line);
    }
    :root { --logo-h: 52px; --nav-h: 84px; }
    .nav > nav { margin-left: 0; }
    /* On mobile the "Menu ▾" dropdown flattens into the hamburger list */
    .nav__m-only { display: block; }
    .nav__more { position: static; order: 0; }
    .nav__more-btn { display: none; }
    .nav__drop {
        position: static; opacity: 1; pointer-events: auto; transform: none;
        background: none; border: 0; box-shadow: none; padding: 0; min-width: 0;
        display: flex; flex-direction: column; gap: 18px; margin: 0;
    }
    .nav__drop a { padding: 0; font-size: 1rem; }
    .nav__drop a:hover, .nav__drop a.is-active { background: none; }
    .grid--3, .grid--2, .grid--4, .pricing, .footer-grid, .shots, .pf-grid { grid-template-columns: 1fr; }
    .hero__stats { gap: 28px; }
    .cta-band { padding: 40px 24px; }
    .cta-band .btn { display: flex; margin: 10px 0 0; }
}
