/* Home page design_lock restoration (DECISION-003).
   Scoped entirely under body.home-redesign so no other page is affected.
   Colors/font verified by direct pixel-sampling and zoomed letterform
   comparison against archive/design_lock/*.png - see SESSION_REVIVAL.md.

   The `--hr-*` tokens and all header/nav CSS (navbar/navbar-brand/
   hr-logo-gradient/hr-nav-scrolled, sticky+shrink behavior) that used to
   live in this file were moved to static/css/site_redesign.css in WP-A0
   (DECISION-003 remaining-pages workpack) so About/Technologies/Services/
   Contact can share them without editing this Home-only file. Pure move -
   no values changed. This file now only carries the tokens' consumer
   (background/font-family below) plus Home-page-specific content: hero,
   services-section, case-studies. */

body.home-redesign {
    background: var(--hr-bg) !important;
    font-family: 'Barlow', sans-serif;
}

/* Canvas background animation is part of the old theme - hide it here,
   the veins/organic-texture layers below replace it for this page. */
body.home-redesign #uv-background-canvas { display: none; }

/* --- Hero background: the original approved veins glow, restored to its
   own full-width/hero-height wrapper (not the old organic-grain layers,
   which are dropped per direct instruction). --- */
body.home-redesign .hr-page { position: relative; overflow: hidden; }
body.home-redesign .hr-hero-wrap { position: relative; }
body.home-redesign .hr-veins {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        radial-gradient(circle at 15% 10%, rgba(181,51,247,0.09), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(1,206,211,0.07), transparent 45%);
}

/* --- Hero --- */
body.home-redesign .hr-hero {
    position: relative; z-index: 2;
    padding: 90px 64px 140px; max-width: 1500px; margin: 0 auto;
}
body.home-redesign .hr-hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 108px; font-weight: 800; letter-spacing: 1px;
    background: linear-gradient(90deg, var(--hr-highlight) 0%, #7b5fd0 30%, #4a9fd8 65%, var(--hr-primary) 100%) !important;
    -webkit-background-clip: text !important; background-clip: text !important;
    -webkit-text-fill-color: transparent !important; color: transparent !important;
    line-height: 1.0; margin-bottom: 18px;
}
body.home-redesign .hr-hero .hr-subtitle {
    font-size: 30px; color: var(--hr-light); font-weight: 400; margin-bottom: 90px;
}
body.home-redesign .hr-hero .hr-value-prop {
    font-family: 'Barlow', sans-serif;
    font-size: 44px; font-weight: 700; line-height: 1.35; max-width: 1150px; margin-bottom: 36px;
    color: var(--hr-light);
    background: rgba(13,15,20,0.42);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
    padding: 32px 40px;
}
body.home-redesign .hr-hero .hr-accent {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 1.2em; line-height: 1;
}
body.home-redesign .hr-hero .hr-accent.violet { color: var(--hr-highlight); }
body.home-redesign .hr-hero .hr-accent.cyan { color: var(--hr-primary); }
body.home-redesign .hr-more-link {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--hr-light); text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase;
}
body.home-redesign .hr-more-link svg { width: 22px; height: 14px; }

/* --- Services --- */
body.home-redesign .hr-services { position: relative; z-index: 2; padding: 24px 64px 0; max-width: 1500px; margin: 0 auto; }
body.home-redesign .hr-connector-zone { position: relative; max-width: 1400px; margin: 0 auto; }
/* .hr-connector-logo itself now lives in site_redesign.css - required on
   every redesigned page, not just Home (see that file for the full
   positioning/gradient/mask history). The div still needs to be placed
   as the first child of each page's own top-level wrapper, matching
   home.html's structure; .hr-connector-zone above no longer contains it. */
body.home-redesign .hr-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 60px; }
body.home-redesign .hr-card {
    position: relative; border-radius: 14px; padding: 26px 32px 22px; min-height: 190px; overflow: hidden;
    background: rgba(13,15,20,0.42); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08);
}
body.home-redesign .hr-card.violet { background: radial-gradient(circle at 15% 0%, rgba(181,51,247,0.30), rgba(13,15,20,0) 55%), rgba(13,15,20,0.42); }
body.home-redesign .hr-card.teal { background: radial-gradient(circle at 85% 0%, rgba(1,206,211,0.30), rgba(13,15,20,0) 55%), rgba(13,15,20,0.42); }
body.home-redesign .hr-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 700; margin-bottom: 18px; }
body.home-redesign .hr-card.violet h3 { color: var(--hr-highlight); }
body.home-redesign .hr-card.teal h3 { color: var(--hr-primary); }
body.home-redesign .hr-card p { font-family: 'Barlow', sans-serif; font-size: 17px; line-height: 1.55; color: var(--hr-text-muted); max-width: 440px; margin-bottom: 34px; }
body.home-redesign .hr-card .hr-see-more { display: inline-flex; align-items: center; gap: 10px; color: var(--hr-light); text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; }
body.home-redesign .hr-card .hr-see-more svg { width: 20px; height: 12px; }

body.home-redesign .hr-cta-wrap { position: relative; z-index: 2; display: flex; justify-content: center; margin: 18px 0 28px; }
body.home-redesign .hr-cta-pill {
    display: inline-flex; align-items: center; padding: 22px 46px; border-radius: 8px;
    background: linear-gradient(90deg, var(--hr-highlight), var(--hr-primary)); color: var(--hr-light);
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: 1.5px; text-transform: uppercase;
    text-decoration: none; box-shadow: 0 0 40px rgba(181,51,247,0.25);
}

/* --- Case studies --- */
body.home-redesign .hr-cs { position: relative; z-index: 2; padding: 40px 64px 100px; max-width: 1500px; margin: 0 auto; }
body.home-redesign .hr-cs h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 44px; font-weight: 800; letter-spacing: 1px; color: var(--hr-light) !important; margin-bottom: 36px; }
body.home-redesign .hr-cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 60px; }
body.home-redesign .hr-cs-card {
    position: relative;
    background: rgba(13,15,20,0.42);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
    padding: 20px 20px 26px;
}
body.home-redesign .hr-cs-photo { position: relative; height: 240px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; background: #11141a; }
body.home-redesign .hr-cs-photo img { width: 100%; height: 100%; object-fit: cover; }
body.home-redesign .hr-cs-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 12px; color: var(--hr-light); }
body.home-redesign .hr-cs-card p { font-family: 'Barlow', sans-serif; font-size: 16px; line-height: 1.55; color: var(--hr-text-muted); max-width: 640px; margin-bottom: 16px; }
body.home-redesign .hr-cs-card .hr-see-more { display: inline-flex; align-items: center; gap: 10px; color: var(--hr-light); text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; }

/* --- Responsive: this entire design was built against a fixed 1920px
   canvas with no breakpoints at all - real gap, fixed here rather than
   left for a separate pass. Tablet first, then phone. --- */
@media (max-width: 1024px) {
    body.home-redesign .hr-hero { padding: 60px 40px 90px; }
    body.home-redesign .hr-hero h1 { font-size: 72px; }
    body.home-redesign .hr-hero .hr-value-prop { font-size: 32px; max-width: 100%; }
    body.home-redesign .hr-services, body.home-redesign .hr-cs { padding-left: 40px; padding-right: 40px; }
    /* .hr-connector-logo breakpoint now lives in site_redesign.css - shared
       across all "-redesign" pages, not just Home. */
}

@media (max-width: 768px) {
    /* navbar-brand sizing at this breakpoint now lives in
       site_redesign.css (WP-A0) - shared across all "-redesign" pages. */
    body.home-redesign .hr-hero { padding: 40px 20px 60px; }
    body.home-redesign .hr-hero h1 { font-size: 44px; }
    body.home-redesign .hr-hero .hr-subtitle { font-size: 18px; margin-bottom: 40px; }
    body.home-redesign .hr-hero .hr-value-prop { font-size: 22px; margin-bottom: 24px; }

    body.home-redesign .hr-services, body.home-redesign .hr-cs { padding-left: 20px; padding-right: 20px; }
    body.home-redesign .hr-grid { grid-template-columns: 1fr; gap: 16px; }
    body.home-redesign .hr-card { padding: 22px 22px 18px; min-height: 0; }
    body.home-redesign .hr-card h3 { font-size: 26px; }
    body.home-redesign .hr-card p { font-size: 15px; max-width: 100%; }

    /* .hr-connector-logo phone hiding now lives in site_redesign.css -
       shared across all "-redesign" pages, not just Home. */

    body.home-redesign .hr-cs h2 { font-size: 32px; }
    body.home-redesign .hr-cs-grid { grid-template-columns: 1fr; gap: 28px; }
    body.home-redesign .hr-cs-photo { height: 200px; }
    body.home-redesign .hr-cs-card p { max-width: 100%; }
}
