/* ==========================================================================
   Hybrid Agency — Editorial redesign
   ========================================================================== */

:root {
    /* Brand document colors */
    --orange: #F47B20;
    --orange-hover: #D96A10;
    --purple: #8E44AD;
    --purple-hover: #7A388F;
    --dark: #1A1A2E;
    --cream: #FFF9F5;
    --cream-2: #F5EFE8;
    --light-purple: #F0E6F6;
    --warm-gray: #8D8078;
    --rule: #E8DDD0;

    /* Semantic aliases */
    --paper: var(--cream);
    --paper-2: var(--cream-2);
    --ink: var(--dark);
    --ink-soft: #4A4558;
    --ink-muted: #8B8599;
    --accent: var(--orange);
    --accent-hover: var(--orange-hover);
    --accent-soft: rgba(244, 123, 32, 0.08);
    --accent-2: var(--purple);

    --sans: 'Inter', 'Cairo', -apple-system, sans-serif;
    --arabic: 'Cairo', 'IBM Plex Arabic', sans-serif;
    --mono: 'JetBrains Mono', 'SF Mono', monospace;

    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "kern", "liga", "calt", "ss01";
}

body {
    font-family: 'Cairo', var(--sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.55;
    font-size: 16px;
    font-weight: 400;
}

html[lang="en"] body {
    font-family: var(--sans);
}

/* Subtle paper grain */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: multiply;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.display-heading,
.section-title,
.cta-headline {
    font-family: var(--sans);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.02;
    color: var(--ink);
}

html[lang="ar"] .display-heading,
html[lang="ar"] .section-title,
html[lang="ar"] .cta-headline {
    font-family: var(--arabic);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.display-heading em,
.section-title em,
.cta-headline em {
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    color: var(--accent);
}

html[lang="ar"] .display-heading em,
html[lang="ar"] .section-title em,
html[lang="ar"] .cta-headline em {
    font-family: var(--arabic);
    font-weight: 500;
    color: var(--accent);
}

.display-heading {
    font-size: clamp(48px, 7vw, 96px);
}

.section-title {
    font-size: clamp(42px, 6vw, 84px);
    margin-top: 20px;
}

.meta-num,
.meta-label,
.meta-divider {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.section-meta,
.hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-meta.light .meta-num,
.section-meta.light .meta-label,
.section-meta.light .meta-divider {
    color: rgba(255, 245, 230, 0.55);
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */

.btn, a { text-decoration: none; }

.btn-primary-refined {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 32px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary-refined::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--orange-hover);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 0;
}

.btn-primary-refined:hover::before {
    transform: translateY(0);
}

.btn-primary-refined > * { position: relative; z-index: 1; }

.btn-primary-light {
    background: var(--paper);
    color: var(--ink);
}

.btn-primary-light::before { background: var(--orange); }
.btn-primary-light:hover { color: #fff; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    border-radius: 2px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--ink);
    color: var(--paper);
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--rule);
    color: var(--ink-soft);
    padding: 8px 12px;
    border-radius: 2px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle:hover {
    border-color: var(--ink);
    color: var(--ink);
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 249, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rule);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: var(--paper);
    font-family: var(--sans);
    font-weight: 800;
    font-size: 15px;
    border-radius: 4px;
}

.logo-light {
    color: var(--ink-muted);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--ink);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}


.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    transition: var(--transition);
}

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

/* ==========================================================================
   Hands (fixed during hero only)
   ========================================================================== */

.hand {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    width: 60%;
    aspect-ratio: 16 / 9;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.hand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    mix-blend-mode: multiply;
}

.hand-1 {
    top: 0;
    left: 0;
    opacity: 0.95;
}

.hand-2 {
    bottom: 0;
    right: 0;
    opacity: 0.9;
}

/* ==========================================================================
   Hero
   ========================================================================== */

/* Hero — light mode, natural scroll with sticky hands background */
.hero {
    position: relative;
    background: var(--paper);
    color: var(--ink);
}

/* Sticky hands layer — pins to viewport, stays behind flowing text */
.hands-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(26, 26, 46, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 26, 46, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
}

/* Text chapters — scroll naturally over the sticky hands */
.hero-flow {
    position: relative;
    z-index: 5;
    /* Negative margin pulls first chapter up over the sticky hands viewport */
    margin-top: -100vh;
}

.chapter {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 80px 40px;
    text-align: center;
}

.chapter-first {
    /* No extra top padding — min-height: 100vh + flexbox centering handles it */
}

.chapter-last {
    padding-bottom: 160px;
}

.chapter-inner {
    max-width: 640px;
    width: 100%;
    padding: 0 24px;
    will-change: opacity, transform;
}

.chapter-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.chapter-heading {
    font-family: var(--arabic);
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

html[lang="en"] .chapter-heading {
    font-family: var(--sans);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.chapter-heading em {
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    color: var(--accent);
}

html[lang="ar"] .chapter-heading em {
    font-family: var(--arabic);
    font-weight: 500;
    color: var(--accent);
}

.chapter-sub {
    margin-top: 28px;
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.chapter-cta {
    display: inline-flex;
    margin-top: 40px;
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */

.section {
    padding: 140px 0;
    position: relative;
    border-top: 1px solid var(--rule);
}

.section-header {
    margin-bottom: 80px;
    max-width: 720px;
}

/* ==========================================================================
   Method (editorial numbered list)
   ========================================================================== */

.method-list {
    list-style: none;
    border-top: 1px solid var(--rule);
}

.method-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 60px;
    padding: 56px 0;
    border-bottom: 1px solid var(--rule);
    transition: var(--transition);
}

.method-item:hover {
    padding-left: 20px;
    padding-right: 20px;
    background: var(--paper-2);
    border-radius: 8px;
}

html[dir="rtl"] .method-item:hover {
    padding-left: 20px;
    padding-right: 20px;
    background: var(--paper-2);
    border-radius: 8px;
}

.method-num {
    font-family: var(--mono);
    font-weight: 500;
    font-size: 56px;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.method-body h3 {
    font-family: var(--arabic);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--ink);
    letter-spacing: -0.01em;
}

html[lang="en"] .method-body h3 {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 30px;
    letter-spacing: -0.02em;
}

.method-body p {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 640px;
    line-height: 1.6;
}

/* ==========================================================================
   Services (grid with fine detail)
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--rule);
}

.service-item {
    display: flex;
    gap: 24px;
    padding: 48px 32px;
    border-bottom: 1px solid var(--rule);
    border-right: 1px solid var(--rule);
    position: relative;
    transition: var(--transition);
}

html[dir="rtl"] .service-item {
    border-right: none;
    border-left: 1px solid var(--rule);
}

.service-item:nth-child(3n) {
    border-right: none;
}

html[dir="rtl"] .service-item:nth-child(3n) {
    border-left: none;
}

.service-item:hover {
    background: var(--paper-2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(26, 26, 46, 0.06);
    border-color: var(--orange);
}

.service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 12px;
    padding: 10px;
    transition: var(--transition);
}

.service-item:hover .service-icon {
    background: var(--orange);
    color: #fff;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-content {
    flex: 1;
}

.service-label {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 8px;
}

.service-content h3 {
    font-family: var(--arabic);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

html[lang="en"] .service-content h3 {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.015em;
}

.service-content p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* ==========================================================================
   Pricing (editorial table)
   ========================================================================== */

.pricing-table {
    border-top: 1px solid var(--ink);
}

.pricing-row {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1fr;
    gap: 40px;
    padding: 32px 0;
    border-bottom: 1px solid var(--rule);
    align-items: center;
    transition: var(--transition);
}

.pricing-row:not(.pricing-header-row):hover {
    background: var(--paper-2);
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 4px;
    border-bottom-color: var(--orange);
}

.pricing-header-row {
    padding: 20px 0;
    border-bottom: 1px solid var(--ink);
}

.pricing-header-row > div {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.pricing-col-service {
    font-family: var(--arabic);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
}

html[lang="en"] .pricing-col-service {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.015em;
}

.pricing-col-desc {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.5;
}

.pricing-col-price {
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: right;
}

html[dir="rtl"] .pricing-col-price {
    text-align: left;
}

.pricing-note {
    margin-top: 32px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-muted);
    font-style: italic;
}

/* ==========================================================================
   Dark Section (reusable)
   ========================================================================== */

.section-dark {
    background: var(--ink);
    color: var(--paper);
    border-top-color: rgba(255, 249, 245, 0.08);
}

.section-dark .section-title { color: var(--paper); }
.section-dark .section-title em { color: var(--orange); }
.section-dark .meta-num,
.section-dark .meta-label,
.section-dark .meta-divider { color: rgba(255, 249, 245, 0.5); }

/* ==========================================================================
   Why (editorial two-column)
   ========================================================================== */

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.why-intro {
    margin-top: 32px;
    font-size: 18px;
    color: rgba(255, 249, 245, 0.7);
    line-height: 1.6;
    max-width: 420px;
}

.why-right {
    display: flex;
    flex-direction: column;
}

.why-point {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 249, 245, 0.1);
    transition: var(--transition);
}

.why-point:hover {
    padding-left: 16px;
    padding-right: 16px;
    background: rgba(255, 249, 245, 0.03);
    border-radius: 8px;
}

.why-point:first-child {
    border-top: 1px solid rgba(255, 249, 245, 0.1);
}

.why-point-num {
    font-family: var(--mono);
    font-weight: 500;
    font-size: 20px;
    color: var(--accent-2);
    line-height: 1;
    letter-spacing: 0.05em;
}

.why-point h3 {
    font-family: var(--arabic);
    font-size: 22px;
    font-weight: 700;
    color: var(--paper);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

html[lang="en"] .why-point h3 {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.015em;
}

.why-point p {
    font-size: 16px;
    color: rgba(255, 249, 245, 0.6);
    line-height: 1.55;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
    max-width: 860px;
    border-top: 1px solid var(--ink);
}

.faq-item {
    border-bottom: 1px solid var(--rule);
    transition: var(--transition);
    border-radius: 4px;
}

.faq-item:hover {
    background: var(--paper-2);
}

.faq-item.open {
    background: var(--paper-2);
    border-bottom-color: var(--orange);
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    cursor: pointer;
    font-family: var(--arabic);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    text-align: inherit;
    letter-spacing: -0.01em;
    transition: var(--transition);
}

html[lang="en"] .faq-q {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.015em;
}

.faq-q:hover {
    color: var(--accent);
}

.faq-toggle {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-toggle::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 1.5px;
    transform: translateY(-50%);
}

.faq-toggle::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1.5px;
    transform: translateX(-50%);
}

.faq-item.open .faq-toggle::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-item.open .faq-q {
    color: var(--orange);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item.open .faq-a {
    max-height: 300px;
}

.faq-a p {
    padding: 0 0 32px;
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 720px;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.section-cta {
    background: linear-gradient(135deg, var(--orange), var(--purple));
    color: #fff;
    border-top: none;
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.12) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-headline {
    color: #fff;
    margin-top: 24px;
}

.cta-headline em {
    color: #fff;
    opacity: 0.9;
}

.cta-sub {
    margin: 28px auto 48px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    line-height: 1.55;
}

.section-cta .section-meta {
    justify-content: center;
}

.section-cta .meta-num,
.section-cta .meta-label,
.section-cta .meta-divider {
    color: rgba(255, 255, 255, 0.7);
}

.section-cta .btn-primary-light {
    background: #fff;
    color: var(--orange);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.section-cta .btn-primary-light:hover {
    color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--ink);
    color: rgba(255, 245, 230, 0.6);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 245, 230, 0.08);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 245, 230, 0.08);
}

.footer-brand p {
    margin-top: 16px;
    color: rgba(255, 245, 230, 0.5);
    max-width: 360px;
    font-size: 15px;
    line-height: 1.55;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--paper);
}

.footer-logo .logo-light {
    color: rgba(255, 245, 230, 0.45);
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer-col h4 {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 245, 230, 0.45);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: rgba(255, 245, 230, 0.7);
    font-size: 14px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 245, 230, 0.4);
}

/* ==========================================================================
   Stats Strip
   ========================================================================== */

.stats-strip {
    background: var(--ink);
    color: var(--paper);
    padding: 80px 0;
    border-top: 1px solid rgba(255, 249, 245, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-num {
    font-family: var(--arabic);
    font-size: 48px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

html[lang="en"] .stat-num {
    font-family: var(--sans);
    font-weight: 800;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 249, 245, 0.6);
    line-height: 1.4;
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Stagger children — each card/item delays slightly more */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-item:nth-child(3n) { border-right: 1px solid var(--rule); }
    html[dir="rtl"] .service-item:nth-child(3n) {
        border-right: none;
        border-left: 1px solid var(--rule);
    }
    .service-item:nth-child(2n) { border-right: none; }
    html[dir="rtl"] .service-item:nth-child(2n) { border-left: none; }
}

@media (max-width: 900px) {
    .hand { display: none; }

    .container { padding: 0 24px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-num { font-size: 36px; }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--paper);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--rule);
        z-index: 100;
        gap: 16px;
    }
    .nav-links.open { display: flex; }
    .nav-links a { color: var(--ink) !important; font-size: 14px; }
    .menu-toggle { display: flex; }
    .menu-toggle span { background: var(--ink); }
    .nav-actions .btn-outline { display: none; }

    /* Mobile hero */
    .hands-sticky {
        height: 100dvh;
    }

    .hand {
        display: none;
    }

    .chapter {
        min-height: 80vh;
        padding: 60px 20px;
    }

    .chapter-heading {
        font-size: clamp(32px, 10vw, 48px);
    }

    .chapter-sub {
        font-size: 15px;
        margin-top: 16px;
    }

    .chapter-meta {
        margin-bottom: 16px;
    }

    .chapter-cta {
        padding: 14px 28px;
        font-size: 13px;
    }

    .section-title {
        font-size: clamp(32px, 9vw, 48px);
    }

    .display-heading {
        font-size: clamp(32px, 9vw, 48px);
    }

    .section { padding: 80px 0; }
    .section-header { margin-bottom: 60px; }

    .method-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 0;
    }
    .method-num { font-size: 56px; }

    .services-grid { grid-template-columns: 1fr; }
    .service-item { border-right: none !important; border-left: none !important; }

    .pricing-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 28px 0;
    }
    .pricing-header-row { display: none; }
    .pricing-col-price { text-align: left; }
    html[dir="rtl"] .pricing-col-price { text-align: right; }

    .why-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
