/* ==========================================================================
   Secure Technology — Home 2 (alternate premium layout)
   Page-scoped: every rule sits under .h2-page so the primary home page and
   the rest of the site keep using style.css untouched.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

.h2-page {
    --ink-1000: #05070c;
    --ink-950: #080b12;
    --ink-900: #0d1119;
    --ink-850: #121722;
    --ink-800: #1a2130;
    --line: rgba(255, 255, 255, 0.10);
    --line-dark: rgba(11, 16, 28, 0.10);

    --paper: #ffffff;
    --paper-2: #ffffff;
    --bone: #ffffff;

    --accent: #4f7cff;
    --accent-soft: #7ea0ff;
    --glow: #38e0ff;
    --gold: #d8c39a;

    --t-1000: #0a0d15;
    --t-700: #3d4658;
    --t-500: #6d7688;
    --t-inv-700: rgba(255, 255, 255, 0.66);
    --t-inv-500: rgba(255, 255, 255, 0.42);

    --f-display: 'Sora', 'Poppins', sans-serif;
    --f-serif: 'Instrument Serif', Georgia, serif;
    --f-body: 'Inter', sans-serif;

    --r-sm: 10px;
    --r-md: 18px;
    --r-lg: 28px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    background: var(--paper);
    font-family: var(--f-body);
    color: var(--t-1000);
}

/* --------------------------------------------------------------------------
   Chrome overrides — the shared header/topbar/footer restyled for this page
   -------------------------------------------------------------------------- */
.h2-page .topbar {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    color: rgba(255, 255, 255, 0.62);
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.h2-page .topbar a,
.h2-page .topbar span,
.h2-page .topbar i { color: rgba(255, 255, 255, 0.62); }
.h2-page .topbar a:hover { color: #fff; }
.h2-page.h2-scrolled .topbar { opacity: 0; visibility: hidden; }

.h2-page .site-header {
    position: fixed;
    top: 47px;
    left: 0;
    right: 0;
    z-index: 70;
    background: transparent !important;
    box-shadow: none !important;
    border-bottom: 1px solid transparent;
    /* style.css blurs/saturates whatever sits behind the bar — over the hero that
       reads as a tinted band, so the glass only switches on once scrolled. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: top 0.45s var(--ease), background-color 0.45s var(--ease),
                border-color 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
}
.h2-page.h2-scrolled .site-header {
    top: 0;
    background: rgba(6, 9, 15, 0.90) !important;
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom-color: var(--line);
}
.h2-page .site-header .main-nav a {
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--f-body);
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}
.h2-page .site-header .main-nav a { position: relative; background: transparent !important; }
.h2-page .site-header .main-nav a:hover,
.h2-page .site-header .main-nav a.active { color: #fff; background: rgba(255, 255, 255, 0.08) !important; }
.h2-page .site-header .main-nav a.active::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--glow);
}
.h2-page .site-header .header-actions .btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    box-shadow: none;
    border-radius: 50px;
    font-family: var(--f-body);
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.h2-page .site-header .header-actions .btn:hover {
    background: #fff;
    color: var(--ink-1000);
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.h2-page .site-header .nav-toggle span { background: #fff; }
.h2-page .main-nav.open { background: rgba(8, 11, 18, 0.96); }

.h2-page .site-footer { background: var(--ink-1000); border-top: 1px solid var(--line); }
.h2-page .site-footer h4 { font-family: var(--f-display); }
.h2-page .floating-call {
    background: var(--accent);
    box-shadow: 0 16px 40px rgba(79, 124, 255, 0.42);
}

/* --------------------------------------------------------------------------
   Primitives
   -------------------------------------------------------------------------- */
.h2-page .h2-shell {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

/* The shared header/footer still use .container — widen it to match the shell */
.h2-page .container { max-width: 1320px; padding: 0 32px; }
/* These three set their own inset, so .container alone cannot align them */
.h2-page .topbar-inner { padding: 12px 32px; }
.h2-page .header-inner { padding: 18px 32px; }
.h2-page .footer-grid { padding: 76px 32px 44px; }

.h2-page .h2-section { padding: 130px 0; position: relative; scroll-margin-top: 104px; }
.h2-page .h2-section-tint { background: var(--paper-2); }
.h2-page .h2-section-ink {
    background:
        radial-gradient(1200px 620px at 8% -10%, rgba(79, 124, 255, 0.18), transparent 62%),
        radial-gradient(900px 560px at 100% 108%, rgba(56, 224, 255, 0.10), transparent 60%),
        var(--ink-950);
    color: var(--t-inv-700);
}

.h2-page .h2-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* Section index label — 01 — Capabilities */
.h2-page .h2-index {
    font-family: var(--f-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--t-500);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.h2-page .h2-section-ink .h2-index,
.h2-page .h2-closer .h2-index { color: var(--accent-soft); }

.h2-page .h2-title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--t-1000);
    margin: 0 0 22px;
}
.h2-page .h2-section-ink .h2-title,
.h2-page .h2-closer .h2-title { color: #fff; }
.h2-page .h2-title em {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--accent);
}
.h2-page .h2-section-ink .h2-title em { color: var(--glow); }

.h2-page .h2-sub {
    font-size: 1.04rem;
    line-height: 1.75;
    color: var(--t-700);
    max-width: 60ch;
    margin: 0;
}
.h2-page .h2-section-ink .h2-sub,
.h2-page .h2-closer .h2-sub { color: var(--t-inv-700); }

.h2-page .h2-head { max-width: 780px; margin-bottom: 72px; }
.h2-page .h2-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.h2-page .h2-head.center .h2-index { justify-content: center; }
.h2-page .h2-head.center .h2-sub { margin-left: auto; margin-right: auto; }
.h2-page .h2-head-row {
    max-width: none;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: end;
}

/* Buttons */
.h2-page .h2-btn {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-family: var(--f-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 15px 28px;
    border-radius: 50px;
    border: 1px solid transparent;
    transition: transform 0.4s var(--ease), background-color 0.35s var(--ease),
                color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.4s var(--ease);
    cursor: pointer;
}
.h2-page .h2-btn i { font-size: 0.85em; transition: transform 0.4s var(--ease); }
.h2-page .h2-btn:hover i.fa-arrow-right { transform: translateX(5px); }

.h2-page .h2-btn-solid {
    background: #fff;
    color: var(--ink-1000);
    box-shadow: 0 16px 40px rgba(5, 7, 12, 0.28);
}
.h2-page .h2-btn-solid:hover { transform: translateY(-3px); box-shadow: 0 22px 52px rgba(5, 7, 12, 0.36); }
.h2-page .h2-section .h2-btn-solid,
.h2-page .h2-about .h2-btn-solid {
    background: var(--ink-1000);
    color: #fff;
}
.h2-page .h2-section .h2-btn-solid:hover { background: var(--accent); box-shadow: 0 22px 48px rgba(79, 124, 255, 0.38); }

.h2-page .h2-btn-ghost {
    border-color: rgba(255, 255, 255, 0.26);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.h2-page .h2-btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.5); transform: translateY(-3px); }
.h2-page .h2-btn-ghost-dark {
    border-color: var(--line-dark);
    color: var(--t-1000);
    background: transparent;
}
.h2-page .h2-btn-ghost-dark:hover { background: rgba(11, 16, 28, 0.05); border-color: rgba(11, 16, 28, 0.28); }

.h2-page .h2-btn-line {
    padding: 0 0 8px;
    border-radius: 0;
    border-bottom: 1px solid currentColor;
    color: var(--t-1000);
}
.h2-page .h2-section-ink .h2-btn-line { color: #fff; }
.h2-page .h2-btn-line:hover { color: var(--accent); }
.h2-page .h2-section-ink .h2-btn-line:hover { color: var(--glow); }

/* Reveal-on-scroll */
.h2-page [data-h2-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.h2-page [data-h2-reveal].h2-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */
.h2-page .h2-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding: 190px 0 64px;
    overflow: hidden;
    background: var(--ink-1000);
    isolation: isolate;
}
.h2-page .h2-hero-bg { position: absolute; inset: -6% 0 0; z-index: 0; }
.h2-page .h2-hero-bg img {
    width: 100%;
    height: 112%;
    object-fit: cover;
    object-position: center 42%;
    filter: grayscale(0.15) contrast(1.12) brightness(0.56) saturate(1.05);
    transform: scale(1.06);
    will-change: transform;
}
.h2-page .h2-hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(5, 7, 12, 0.78) 0%, rgba(5, 7, 12, 0.34) 46%, rgba(5, 7, 12, 0.10) 72%),
        linear-gradient(180deg, rgba(5, 7, 12, 0.86) 0%, rgba(5, 7, 12, 0.30) 30%, rgba(5, 7, 12, 0.78) 68%, rgba(5, 7, 12, 0.96) 100%),
        radial-gradient(1000px 640px at 78% 22%, rgba(56, 224, 255, 0.18), transparent 62%),
        radial-gradient(900px 620px at 12% 78%, rgba(79, 124, 255, 0.24), transparent 60%);
}
.h2-page .h2-hero .h2-grain { z-index: 2; }
.h2-page .h2-hero-inner { position: relative; z-index: 3; }

.h2-page .h2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 34px;
}
.h2-page .h2-eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--glow);
    box-shadow: 0 0 0 0 rgba(56, 224, 255, 0.55);
    animation: h2Ping 2.6s infinite;
}
@keyframes h2Ping {
    0%   { box-shadow: 0 0 0 0 rgba(56, 224, 255, 0.55); }
    70%  { box-shadow: 0 0 0 14px rgba(56, 224, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 224, 255, 0); }
}

.h2-page .h2-display {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(3rem, 8.6vw, 8rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
    color: #fff;
    margin: 0 0 54px;
}
.h2-page .h2-display .h2-line { display: block; overflow: hidden; }
.h2-page .h2-display .h2-line > * ,
.h2-page .h2-display .h2-line { will-change: transform; }
.h2-page .h2-display em {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
    background: linear-gradient(100deg, #fff 8%, var(--glow) 52%, var(--accent-soft) 92%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 0.06em;
}

.h2-page .h2-hero-foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 46px;
    align-items: end;
    padding-bottom: 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.h2-page .h2-hero-lede {
    max-width: 52ch;
    font-size: 1.06rem;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.74);
    margin: 0;
}
.h2-page .h2-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.h2-page .h2-hero-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    padding-top: 34px;
}
.h2-page .h2-hero-meta div { display: flex; flex-direction: column; gap: 6px; }
.h2-page .h2-hero-meta strong {
    font-family: var(--f-display);
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1;
}
.h2-page .h2-hero-meta span {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.46);
}

.h2-page .h2-scroll {
    position: absolute;
    right: 102px; /* clears the floating call button */
    bottom: 42px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    writing-mode: vertical-rl;
}
.h2-page .h2-scroll span {
    width: 1px;
    height: 62px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.7));
    animation: h2Drop 2.4s var(--ease) infinite;
}
@keyframes h2Drop {
    0%, 100% { transform: scaleY(0.35); transform-origin: top; opacity: 0.5; }
    50%      { transform: scaleY(1);    transform-origin: top; opacity: 1; }
}

/* --------------------------------------------------------------------------
   2. Keyword ribbon
   -------------------------------------------------------------------------- */
.h2-page .h2-ribbon {
    background: var(--ink-1000);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 22px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.h2-page .h2-ribbon-track {
    display: flex;
    align-items: center;
    gap: 34px;
    width: max-content;
    animation: h2Slide 46s linear infinite;
}
.h2-page .h2-ribbon span {
    font-family: var(--f-display);
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
}
.h2-page .h2-ribbon i { color: var(--accent); font-size: 0.72rem; }
@keyframes h2Slide {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   3. Capabilities — expanding panel accordion
   Panels sit equal-width by default; hovering (or focusing) one lets it take
   the extra space while the rest settle back. No JS required.
   -------------------------------------------------------------------------- */
.h2-page .h2-accord {
    display: flex;
    gap: 12px;
    height: 580px;
}
.h2-page .h2-panel {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--ink-850);
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: flex-grow 0.75s var(--ease), border-color 0.6s var(--ease);
}
.h2-page .h2-panel > a { display: block; height: 100%; position: relative; }

.h2-page .h2-panel-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.55) brightness(0.66);
    transform: scale(1.04);
    transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}
.h2-page .h2-panel > a::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 7, 12, 0.20) 0%, rgba(5, 7, 12, 0.30) 42%, rgba(5, 7, 12, 0.90) 100%);
    transition: opacity 0.6s var(--ease);
}

/* Collapsed state — number over a vertical title */
.h2-page .h2-panel-rail {
    position: absolute;
    inset: 0;
    z-index: 3;
    transition: opacity 0.4s var(--ease);
}
.h2-page .h2-panel-rail .h2-panel-no {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: var(--f-display);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--accent-soft);
}
.h2-page .h2-panel-vert {
    position: absolute;
    bottom: 28px;
    left: 50%;
    writing-mode: vertical-rl;
    transform: translateX(-50%) rotate(180deg);
    font-family: var(--f-display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #fff;
    white-space: nowrap;
    max-height: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h2-page .h2-panel-glyph {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 0.92rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: left 0.6s var(--ease), transform 0.6s var(--ease),
                background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}

/* Expanded state */
.h2-page .h2-panel-open {
    position: absolute;
    left: 36px;
    bottom: 36px;
    z-index: 4;
    width: 420px;
    max-width: calc(100% - 72px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s var(--ease) 0.1s, transform 0.6s var(--ease) 0.1s;
    pointer-events: none;
}
.h2-page .h2-panel-open .h2-panel-no {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-soft);
}
.h2-page .h2-panel-open h3 {
    font-family: var(--f-display);
    font-size: clamp(1.3rem, 1.9vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.16;
    color: #fff;
    margin: 0;
}
.h2-page .h2-panel-open p {
    font-size: 0.97rem;
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.74);
    margin: 0;
    max-width: 40ch;
}
.h2-page .h2-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--ink-1000);
    background: #fff;
}
.h2-page .h2-panel-link i { font-size: 0.78em; transition: transform 0.45s var(--ease); }

/* First panel opens by default, and yields as soon as another is hovered */
.h2-page .h2-panel:first-child { flex-grow: 3.4; }
.h2-page .h2-panel:first-child .h2-panel-img { filter: grayscale(0) brightness(0.78); }
.h2-page .h2-panel:first-child .h2-panel-open { opacity: 1; transform: none; pointer-events: auto; }
.h2-page .h2-panel:first-child .h2-panel-rail { opacity: 0; }
.h2-page .h2-panel:first-child .h2-panel-glyph { left: 36px; transform: none; }

.h2-page .h2-accord:hover .h2-panel:first-child,
.h2-page .h2-accord:focus-within .h2-panel:first-child { flex-grow: 1; }
.h2-page .h2-accord:hover .h2-panel:first-child .h2-panel-img,
.h2-page .h2-accord:focus-within .h2-panel:first-child .h2-panel-img { filter: grayscale(0.55) brightness(0.66); }
.h2-page .h2-accord:hover .h2-panel:first-child .h2-panel-open,
.h2-page .h2-accord:focus-within .h2-panel:first-child .h2-panel-open {
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
    transition-delay: 0s;
}
.h2-page .h2-accord:hover .h2-panel:first-child .h2-panel-rail,
.h2-page .h2-accord:focus-within .h2-panel:first-child .h2-panel-rail { opacity: 1; }
.h2-page .h2-accord:hover .h2-panel:first-child .h2-panel-glyph,
.h2-page .h2-accord:focus-within .h2-panel:first-child .h2-panel-glyph { left: 50%; transform: translateX(-50%); }

/* The hovered/focused panel always wins */
.h2-page .h2-panel:hover,
.h2-page .h2-panel:focus-within { flex-grow: 3.4; border-color: rgba(79, 124, 255, 0.42); }
.h2-page .h2-panel:hover .h2-panel-img,
.h2-page .h2-panel:focus-within .h2-panel-img { filter: grayscale(0) brightness(0.78); transform: scale(1); }
.h2-page .h2-panel:hover .h2-panel-open,
.h2-page .h2-panel:focus-within .h2-panel-open { opacity: 1; transform: none; pointer-events: auto; }
.h2-page .h2-panel:hover .h2-panel-rail,
.h2-page .h2-panel:focus-within .h2-panel-rail { opacity: 0; }
.h2-page .h2-panel:hover .h2-panel-glyph,
.h2-page .h2-panel:focus-within .h2-panel-glyph {
    left: 36px;
    transform: none;
    background: var(--accent);
    border-color: var(--accent);
}
.h2-page .h2-panel:hover .h2-panel-link i { transform: translateX(4px); }

.h2-page .h2-cap-foot {
    margin-top: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding-top: 34px;
    border-top: 1px solid var(--line-dark);
    flex-wrap: wrap;
}
.h2-page .h2-cap-foot p {
    font-family: var(--f-display);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--t-1000);
    margin: 0;
}

/* --------------------------------------------------------------------------
   4. The edge — sticky split
   -------------------------------------------------------------------------- */
.h2-page .h2-split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
    align-items: start;
}
.h2-page .h2-split-sticky { position: sticky; top: 130px; }
.h2-page .h2-split-sticky .h2-sub { margin-bottom: 32px; }

.h2-page .h2-edge,
.h2-page .h2-rail { list-style: none; }
.h2-page .h2-edge li {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    transition: padding-left 0.5s var(--ease);
}
.h2-page .h2-edge li:last-child { border-bottom: 1px solid var(--line); }
.h2-page .h2-edge-no {
    font-family: var(--f-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--accent-soft);
    padding-top: 5px;
}
.h2-page .h2-edge h3 {
    font-family: var(--f-display);
    font-size: 1.28rem;
    font-weight: 500;
    letter-spacing: -0.028em;
    color: #fff;
    margin: 0 0 8px;
}
.h2-page .h2-edge p {
    font-size: 0.97rem;
    line-height: 1.72;
    color: var(--t-inv-700);
    margin: 0;
    max-width: 56ch;
}
.h2-page .h2-edge li:hover { padding-left: 14px; }
.h2-page .h2-edge li:hover .h2-edge-no { color: var(--glow); }

/* --------------------------------------------------------------------------
   5. About collage
   -------------------------------------------------------------------------- */
.h2-page .h2-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}
.h2-page .h2-collage { position: relative; padding-bottom: 78px; padding-right: 60px; }
.h2-page .h2-collage figure { margin: 0; overflow: hidden; }
.h2-page .h2-collage-a {
    border-radius: var(--r-lg);
    aspect-ratio: 4 / 5;
    box-shadow: 0 40px 90px rgba(10, 14, 25, 0.20);
}
.h2-page .h2-collage-a img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.h2-page .h2-collage-b {
    position: absolute;
    right: 0;
    bottom: 24px;
    width: 56%;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-md);
    border: 8px solid var(--paper);
    box-shadow: 0 30px 70px rgba(10, 14, 25, 0.22);
}
.h2-page .h2-collage-b img { width: 100%; height: 100%; object-fit: cover; }
.h2-page .h2-medallion {
    position: absolute;
    left: -18px;
    bottom: 96px;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 2px;
    background: var(--ink-1000);
    color: #fff;
    box-shadow: 0 26px 60px rgba(10, 14, 25, 0.34);
}
.h2-page .h2-medallion strong {
    font-family: var(--f-display);
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
}
.h2-page .h2-medallion sup { font-size: 0.5em; top: -0.6em; color: var(--glow); }
.h2-page .h2-medallion span {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.h2-page .h2-check { margin: 30px 0 36px; display: grid; gap: 13px; }
.h2-page .h2-check li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    font-size: 0.97rem;
    color: var(--t-700);
}
.h2-page .h2-check i {
    flex: none;
    margin-top: 3px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.6rem;
    color: #fff;
    background: var(--accent);
}
.h2-page .h2-about-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* --------------------------------------------------------------------------
   6. Process rail
   -------------------------------------------------------------------------- */
.h2-page .h2-rail {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid rgba(11, 16, 28, 0.14);
}
.h2-page .h2-rail li {
    position: relative;
    padding: 40px 26px 8px 0;
    transition: transform 0.5s var(--ease);
}
.h2-page .h2-rail li + li { padding-left: 26px; border-left: 1px solid rgba(11, 16, 28, 0.10); }
.h2-page .h2-rail-dot {
    position: absolute;
    top: -6px;
    left: 0;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--paper-2);
    border: 2px solid var(--ink-1000);
    transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.h2-page .h2-rail li + li .h2-rail-dot { left: 26px; }
.h2-page .h2-rail-no {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.h2-page .h2-rail h3 {
    font-family: var(--f-display);
    font-size: 1.16rem;
    font-weight: 600;
    letter-spacing: -0.028em;
    color: var(--t-1000);
    margin: 0 0 10px;
}
.h2-page .h2-rail p { font-size: 0.92rem; line-height: 1.7; color: var(--t-700); margin: 0; }
.h2-page .h2-rail li:hover { transform: translateY(-6px); }
.h2-page .h2-rail li:hover .h2-rail-dot { background: var(--accent); border-color: var(--accent); transform: scale(1.35); }

/* --------------------------------------------------------------------------
   7. Reviews — drifting columns
   -------------------------------------------------------------------------- */
.h2-page .h2-reviews { padding-bottom: 150px; overflow: hidden; }
.h2-page .h2-review-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    height: 620px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 14%, #000 84%, transparent);
}
.h2-page .h2-review-track {
    display: flex;
    flex-direction: column;
    gap: 22px;
    animation: h2Drift 58s linear infinite;
}
.h2-page .h2-review-col-2 .h2-review-track { animation-duration: 74s; animation-direction: reverse; }
.h2-page .h2-review-col-3 .h2-review-track { animation-duration: 66s; }
.h2-page .h2-review-columns:hover .h2-review-track { animation-play-state: paused; }
@keyframes h2Drift {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

.h2-page .h2-review {
    margin: 0;
    padding: 28px 26px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.5s var(--ease), background-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.h2-page .h2-review:hover {
    border-color: rgba(79, 124, 255, 0.45);
    background: rgba(255, 255, 255, 0.075);
    transform: translateY(-4px);
}
.h2-page .h2-review-stars { display: flex; gap: 4px; color: #f5b731; font-size: 0.76rem; margin-bottom: 16px; }
.h2-page .h2-review blockquote {
    margin: 0 0 22px;
    font-size: 0.96rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.80);
}
.h2-page .h2-review figcaption { display: flex; align-items: center; gap: 13px; }
.h2-page .h2-review-avatar {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--f-display);
    font-size: 1.02rem;
    font-weight: 600;
    color: #fff;
}
.h2-page .h2-review-who { display: flex; flex-direction: column; }
.h2-page .h2-review-who strong {
    font-size: 0.94rem;
    font-weight: 600;
    color: #fff;
    text-transform: capitalize;
}
.h2-page .h2-review-who small {
    font-size: 0.76rem;
    color: var(--t-inv-500);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --------------------------------------------------------------------------
   8. Closing CTA
   -------------------------------------------------------------------------- */
.h2-page .h2-closer {
    position: relative;
    overflow: hidden;
    padding: 150px 0 160px;
    text-align: center;
    background:
        radial-gradient(900px 520px at 50% 0%, rgba(79, 124, 255, 0.30), transparent 62%),
        radial-gradient(700px 420px at 50% 100%, rgba(56, 224, 255, 0.14), transparent 60%),
        var(--ink-1000);
}
.h2-page .h2-closer-inner { position: relative; z-index: 2; }
.h2-page .h2-closer .h2-index { justify-content: center; }
.h2-page .h2-closer-title {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(2.4rem, 6vw, 5rem);
    line-height: 1.03;
    letter-spacing: -0.05em;
    color: #fff;
    margin: 0 0 26px;
}
.h2-page .h2-closer-title em {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(100deg, #fff, var(--glow) 55%, var(--accent-soft));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.h2-page .h2-closer .h2-sub { margin: 0 auto; text-align: center; }
.h2-page .h2-closer-actions {
    margin: 42px 0 46px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.h2-page .h2-closer-meta {
    display: flex;
    gap: 34px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.88rem;
    color: var(--t-inv-500);
}
.h2-page .h2-closer-meta span { display: inline-flex; align-items: center; gap: 10px; }
.h2-page .h2-closer-meta i { color: var(--accent-soft); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
    .h2-page .h2-accord { height: 520px; gap: 10px; }
    .h2-page .h2-panel-open { left: 28px; bottom: 28px; width: 360px; }
    .h2-page .h2-split { gap: 56px; }
    .h2-page .h2-about { gap: 60px; }
    .h2-page .h2-rail { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
}

@media (max-width: 992px) {
    .h2-page .h2-shell { padding: 0 24px; }
    .h2-page .container { padding: 0 24px; }
    .h2-page .topbar-inner { padding: 12px 24px; }
    .h2-page .header-inner { padding: 16px 24px; }
    .h2-page .footer-grid { padding: 64px 24px 40px; }
    .h2-page .h2-section { padding: 96px 0; }
    .h2-page .h2-hero { padding-top: 160px; }
    .h2-page .h2-hero-foot { grid-template-columns: 1fr; gap: 30px; }
    .h2-page .h2-hero-meta { grid-template-columns: repeat(2, 1fr); gap: 22px; }
    .h2-page .h2-scroll { display: none; }
    .h2-page .h2-head-row { grid-template-columns: 1fr; gap: 24px; }
    .h2-page .h2-split { grid-template-columns: 1fr; gap: 46px; }
    .h2-page .h2-split-sticky { position: static; }
    .h2-page .h2-about { grid-template-columns: 1fr; }
    .h2-page .h2-collage { padding-right: 40px; margin-bottom: 8px; }
    .h2-page .h2-review-columns { grid-template-columns: repeat(2, 1fr); height: 560px; padding: 0 24px; }
    .h2-page .h2-review-col-3 { display: none; }

    /* Hover expansion means nothing on touch — stack the full cards instead */
    .h2-page .h2-accord {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        height: auto;
        overflow: visible;
    }
    .h2-page .h2-panel,
    .h2-page .h2-panel:first-child,
    .h2-page .h2-panel:hover,
    .h2-page .h2-panel:focus-within { flex: none; height: 420px; }
    .h2-page .h2-panel-rail,
    .h2-page .h2-accord:hover .h2-panel:first-child .h2-panel-rail,
    .h2-page .h2-accord:focus-within .h2-panel:first-child .h2-panel-rail { display: none; }
    .h2-page .h2-panel .h2-panel-img,
    .h2-page .h2-accord:hover .h2-panel:first-child .h2-panel-img { filter: grayscale(0) brightness(0.58); transform: scale(1); }
    .h2-page .h2-panel .h2-panel-open,
    .h2-page .h2-accord:hover .h2-panel:first-child .h2-panel-open,
    .h2-page .h2-accord:focus-within .h2-panel:first-child .h2-panel-open {
        opacity: 1;
        transform: none;
        pointer-events: auto;
        left: 26px;
        bottom: 26px;
        width: auto;
        max-width: calc(100% - 52px);
    }
    .h2-page .h2-panel .h2-panel-glyph,
    .h2-page .h2-accord:hover .h2-panel:first-child .h2-panel-glyph,
    .h2-page .h2-accord:focus-within .h2-panel:first-child .h2-panel-glyph { left: 26px; transform: none; }
}

@media (max-width: 720px) {
    .h2-page .topbar { display: none; }
    .h2-page .site-header { top: 0; background: rgba(6, 9, 15, 0.90) !important; backdrop-filter: blur(16px); }
    .h2-page .site-header .header-inner { gap: 12px; }
    .h2-page .site-header .brand img { height: 64px; }
    .h2-page .site-header.is-stuck .brand img { height: 44px; }
    .h2-page .site-header .header-actions { flex: none; }
    .h2-page .h2-section { padding: 78px 0; }
    .h2-page .h2-hero { padding: 130px 0 52px; min-height: auto; }
    .h2-page .h2-display { margin-bottom: 38px; }
    .h2-page .h2-hero-cta { width: 100%; }
    .h2-page .h2-hero-cta .h2-btn { flex: 1 1 auto; justify-content: center; }
    .h2-page .h2-accord { grid-template-columns: 1fr; gap: 14px; }
    .h2-page .h2-panel,
    .h2-page .h2-panel:first-child,
    .h2-page .h2-panel:hover,
    .h2-page .h2-panel:focus-within { height: 400px; }
    .h2-page .h2-cap-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
    .h2-page .h2-edge li { grid-template-columns: 1fr; gap: 8px; }
    .h2-page .h2-collage { padding: 0 0 64px; }
    .h2-page .h2-collage-b { width: 62%; right: -6px; bottom: 0; }
    .h2-page .h2-medallion { width: 108px; height: 108px; left: 0; bottom: 34px; }
    .h2-page .h2-medallion strong { font-size: 1.9rem; }
    .h2-page .h2-rail { grid-template-columns: 1fr; }
    .h2-page .h2-rail li,
    .h2-page .h2-rail li + li { padding: 30px 0 6px 22px; border-left: 1px solid rgba(11, 16, 28, 0.12); }
    .h2-page .h2-rail li + li .h2-rail-dot { left: -6px; }
    .h2-page .h2-rail-dot { left: -6px; top: 34px; }
    .h2-page .h2-review-columns { grid-template-columns: 1fr; height: 520px; }
    .h2-page .h2-review-col-2 { display: none; }
    .h2-page .h2-closer { padding: 92px 0 100px; }
    .h2-page .h2-closer-actions { flex-direction: column; }
    .h2-page .h2-closer-actions .h2-btn { justify-content: center; }
    .h2-page .h2-closer-meta { flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .h2-page .h2-ribbon-track,
    .h2-page .h2-review-track,
    .h2-page .h2-eyebrow span,
    .h2-page .h2-scroll span { animation: none !important; }
    .h2-page [data-h2-reveal] { opacity: 1; transform: none; transition: none; }
}
