/* Valerya® Home — standalone CSS; classes use underscore naming. */
:root {
  color-scheme: dark;
  --home_ink: #06080b;
  --home_bg: #07080a;
  --home_layer: #0e1013;
  --home_layer_alt: #131518;
  --home_border: rgba(212, 222, 231, .16);
  --home_border_bright: rgba(218, 226, 233, .29);
  --home_text: #f0f2f3;
  --home_text_soft: #b4b9c1;
  --home_text_dim: #858d97;
  --home_silver: #d4dbe1;
  --home_white: #fff;
  --home_max_width: 1300px;
  --home_rounded: 2px;
  --home_font_sans: "Elms Sans", "Montserrat", "Segoe UI", Arial, sans-serif;
  --home_font_identity: "Montserrat", "Elms Sans", "Segoe UI", Arial, sans-serif;
  --home_font_display: "BankGothic Lt BT", "Elms Sans", "Montserrat", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; min-width: 320px; background: var(--home_bg); color: var(--home_text); font: 400 16px/1.7 var(--home_font_sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
::selection { color: #06080b; background: #d4dbe1; }
:focus-visible { outline: 2px solid #e6eef4; outline-offset: 5px; }
.home_container { width: min(calc(100% - 104px), var(--home_max_width)); margin-inline: auto; }
.home_skip { position: fixed; z-index: 200; top: -80px; left: 20px; padding: 10px 18px; background: white; color: black; }
.home_skip:focus { top: 12px; }

/* Navigation */
.home_header { position: sticky; z-index: 100; top: 0; background: rgba(7, 8, 10, .92); border-bottom: 1px solid var(--home_border); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); transition: background .25s, box-shadow .25s; }
.home_header.home_header_scrolled { background: rgba(7, 8, 10, .98); box-shadow: 0 10px 35px rgba(0,0,0,.25); }
.home_header_inner { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home_brand { display: flex; align-items: center; gap: 19px; flex-shrink: 0; white-space: nowrap; }
.home_brand_name { font: italic 200 29px/1 var(--home_font_identity); letter-spacing: -.045em; }
.home_brand_name sup, .home_hero h1 sup { font: normal 300 .24em/1 var(--home_font_identity); vertical-align: top; margin-left: 2px; position: relative; top: .1em; }
.home_brand_separator { display: block; height: 27px; width: 1px; background: #646d75; }
.home_brand_sub { font-size: 9px; line-height: 1.5; letter-spacing: .19em; color: var(--home_text_dim); max-width: 115px; white-space: normal; }
.home_nav { display: flex; align-items: center; gap: clamp(15px, 2vw, 31px); }
.home_nav a, .home_nav_workspace { font-size: 12px; color: #bbc0c5; white-space: nowrap; transition: color .2s; }
.home_nav a:hover, .home_nav a.home_nav_current { color: #fff; }
.home_nav_workspace { padding: 8px 12px; border: 1px solid var(--home_border_bright); color: #e5e8eb; cursor: default; }
.home_nav_workspace span { font-size: 10px; color: #9fa6af; }
.home_menu_toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--home_border); background: transparent; color: white; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.home_menu_toggle span { display: block; width: 18px; height: 1px; background: white; transition: transform .2s; }

/* Shared type and sections */
.home_kicker, .home_eyebrow, .home_panel_label { font-size: 11px; line-height: 1.5; font-weight: 600; letter-spacing: .2em; color: #aeb6c0; }
.home_kicker { margin: 0 0 21px; }
.home_section { padding-block: clamp(96px, 10vw, 166px); border-bottom: 1px solid var(--home_border); }
.home_section h2 { margin: 0; font: 400 clamp(36px, 4.6vw, 68px)/1.08 var(--home_font_display); letter-spacing: -.025em; text-wrap: balance; }
.home_section h3 { margin: 0; font-size: clamp(21px, 2vw, 27px); line-height: 1.24; font-weight: 500; letter-spacing: -.035em; }
.home_section p { color: var(--home_text_soft); }
.home_section_intro { max-width: 805px; margin-bottom: 50px; }
.home_section_intro > p:not(.home_kicker) { margin: 25px 0 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.85; }

/* Hero */
.home_hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: 45px; min-height: min(770px, calc(100svh - 88px)); padding-block: 125px 150px; }
.home_hero::before { content: ""; position: absolute; width: 700px; aspect-ratio: 1; right: -13%; top: 1%; pointer-events: none; background: radial-gradient(circle, rgba(58,67,78,.12) 0%, transparent 63%); }
.home_eyebrow { margin: 0 0 32px; display: flex; align-items: center; gap: 12px; }
.home_eyebrow_line { width: 29px; height: 1px; background: #b9c2cc; }
.home_edition { margin: 0 0 22px; color: #9ca6b1; font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.home_edition span { color: #555b64; padding-inline: 5px; }
.home_hero h1 { margin: 0; font: italic 200 clamp(66px, 8vw, 112px)/.94 var(--home_font_identity); letter-spacing: -.055em; }
.home_hero h1 > span { display: block; max-width: 650px; margin-top: 27px; font: 400 clamp(31px, 3vw, 44px)/1.17 var(--home_font_sans); letter-spacing: -.035em; color: #c7ccd2; }
.home_hero_lead { margin: 28px 0 0; max-width: 602px; color: var(--home_text_soft); font-size: 16px; line-height: 1.93; }
.home_hero_actions { display: flex; flex-wrap: wrap; align-items: center; gap: 29px; margin-top: 36px; }
.home_button { display: inline-flex; align-items: center; justify-content: center; gap: 33px; min-height: 49px; padding: 12px 19px; border: 1px solid #cad1d7; font-size: 12px; font-weight: 600; letter-spacing: .035em; transition: background .2s, color .2s, border .2s, transform .2s; }
.home_button span, .home_text_link span { font-size: 18px; font-weight: 300; line-height: 1; }
.home_button:hover { transform: translateY(-2px); }
.home_button_primary { background: #e6e8ea; color: #101215; }
.home_button_primary:hover { background: #fff; }
.home_button_outline { background: transparent; color: #e7edf1; }
.home_button_outline:hover { background: #e6e8ea; color: #101215; }
.home_text_link { display: inline-flex; align-items: center; gap: 15px; font-size: 12px; color: #d0d6dc; border-bottom: 1px solid #67717b; padding-bottom: 4px; transition: color .2s; }
.home_text_link:hover { color: white; }
.home_hero_visual { min-width: 0; align-self: center; }
.home_hero_image_frame { display: flex; align-items: center; justify-content: center; min-height: 430px; border: 1px solid rgba(178,190,201,.14); background: linear-gradient(140deg, rgba(27,30,35,.36), rgba(6,8,10,.18) 50%, rgba(10,11,15,.58)); position: relative; overflow: hidden; }
.home_hero_image_frame::before, .home_hero_image_frame::after { content: ""; position: absolute; z-index: 1; width: 25px; height: 25px; border-color: #a7b0ba; border-style: solid; opacity: .53; pointer-events: none; }
.home_hero_image_frame::before { top: 15px; left: 15px; border-width: 1px 0 0 1px; }
.home_hero_image_frame::after { bottom: 15px; right: 15px; border-width: 0 1px 1px 0; }
.home_valerya_identity { width: 100%; object-fit: contain; filter: brightness(1.06); }
.home_visual_caption { display: flex; justify-content: space-between; gap: 14px; margin-top: 13px; font-size: 10px; letter-spacing: .12em; color: #89939d; }
.home_scroll_hint { position: absolute; bottom: 45px; left: 0; font-size: 10px; letter-spacing: .17em; color: #9099a3; display: flex; gap: 20px; align-items: center; }
.home_scroll_hint span { font-size: 20px; }
.home_signal { background: #111316; border-block: 1px solid var(--home_border); }
.home_signal_inner { display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 66px; }
.home_signal_inner span { font-size: 10px; font-weight: 600; letter-spacing: .12em; color: #acb3bc; white-space: nowrap; }
.home_signal_inner i { display: block; width: 3px; height: 3px; background: #606975; border-radius: 50%; }

/* Overview */
.home_overview { display: grid; grid-template-columns: .8fr 1.2fr; gap: 11%; }
.home_overview .home_section_body { padding-top: 8px; }
.home_section_body p { margin: 0 0 24px; font-size: 17px; line-height: 1.91; }
.home_section_body p:last-child { margin-bottom: 0; }
.home_section_body strong { color: #e3e7eb; font-weight: 550; }

/* Correlations */
.home_method { background: linear-gradient(180deg, #0c0e11, #090b0e); }
.home_method_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.home_info_panel { min-height: 335px; padding: 40px 37px 32px; border: 1px solid var(--home_border); background: rgba(255,255,255,.012); display: flex; flex-direction: column; }
.home_info_panel h3 { margin-top: 29px; }
.home_info_panel p { margin: 17px 0 30px; font-size: 15px; line-height: 1.85; }
.home_factor_line { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: auto; color: #919ba6; }
.home_factor_line span { font-size: 9px; letter-spacing: .105em; }
.home_factor_line b { display: block; width: 16px; height: 1px; background: #6c7680; }

/* 3+1+1 architecture */
.home_dimension_grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.home_dimension { min-height: 280px; padding: 35px 32px 30px; border: 1px solid var(--home_border); background: linear-gradient(135deg, #101216, #0a0c0f); }
.home_dimension_count { display: block; font: 400 clamp(53px, 6vw, 82px)/1 var(--home_font_display); letter-spacing: -.06em; color: #d3d9df; }
.home_dimension h3 { margin-top: 34px; font-size: 23px; }
.home_dimension p { font-size: 14px; line-height: 1.8; margin: 13px 0 0; }
.home_architecture_note { margin-top: 22px; padding: 30px 32px; border-left: 1px solid #a6b0ba; background: rgba(255,255,255,.024); display: flex; gap: 27px; align-items: flex-start; }
.home_note_marker { font: 400 26px/1 var(--home_font_display); color: #c9d0d8; }
.home_architecture_note p { margin: 0; max-width: 980px; line-height: 1.85; font-size: 15px; }

/* Generations */
.home_generations { background: #0d0f12; }
.home_generation_list { border-top: 1px solid var(--home_border_bright); }
.home_generation { display: grid; grid-template-columns: 170px minmax(0, 1fr) 60px; gap: 32px; padding: 35px 4px; align-items: start; border-bottom: 1px solid var(--home_border); }
.home_generation_version { display: flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.home_generation_version span { font-size: 10px; letter-spacing: .17em; color: #8e98a3; }
.home_generation_version strong { font: 400 38px/.95 var(--home_font_display); letter-spacing: -.045em; }
.home_generation h3 { margin-bottom: 9px; font-size: 23px; }
.home_generation p { margin: 0; max-width: 800px; color: #aeb6bf; font-size: 15px; line-height: 1.81; }
.home_generation_link { justify-self: end; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #626a72; font-size: 22px; transition: background .2s, color .2s; }
.home_generation_link:hover { background: #e3e8ed; color: #0b0c0f; }
.home_comparison { margin-top: 75px; }
.home_comparison_heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-bottom: 22px; }
.home_comparison_heading h3 { font: 400 32px/1.15 var(--home_font_display); }
.home_comparison_heading p { margin: 0; font-size: 12px; }
.home_table_scroll { width: 100%; overflow-x: auto; border: 1px solid var(--home_border); }
.home_table_scroll table { width: 100%; border-collapse: collapse; min-width: 670px; text-align: left; }
.home_table_scroll th, .home_table_scroll td { padding: 18px 22px; border-bottom: 1px solid var(--home_border); text-align: left; vertical-align: top; font-size: 13px; line-height: 1.65; }
.home_table_scroll thead th { color: #e8ebee; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; background: #171a1e; }
.home_table_scroll tbody th { font: 400 22px/1.4 var(--home_font_display); width: 12%; }
.home_table_scroll tbody tr:last-child th, .home_table_scroll tbody tr:last-child td { border-bottom: 0; }
.home_table_scroll tbody tr:hover { background: rgba(255,255,255,.035); }
.home_table_note { font-size: 12px; line-height: 1.8; margin-top: 16px; max-width: 900px; }

/* Operations */
.home_operations_grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.home_operation_card { padding: 34px 30px 38px; border: 1px solid var(--home_border); min-height: 302px; }
.home_card_index { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid #68717b; color: #bfc7ce; font: 400 16px/1 var(--home_font_display); }
.home_operation_card h3 { margin-top: 33px; }
.home_operation_card p { font-size: 14px; line-height: 1.83; margin: 15px 0 0; }

/* Continuity */
.home_continuity { background: #111317; }
.home_continuity_grid { display: grid; grid-template-columns: 1fr .78fr; gap: 12%; align-items: start; }
.home_continuity h2 { margin-bottom: 28px; }
.home_continuity p:not(.home_kicker) { line-height: 1.89; }
.home_continuity_panel { border: 1px solid var(--home_border_bright); padding: 30px; background: #0c0e11; }
.home_continuity_panel .home_panel_label { margin: 0 0 10px; }
.home_continuity_item { display: grid; grid-template-columns: 120px 1fr; gap: 12px; border-bottom: 1px solid var(--home_border); padding: 22px 0; align-items: baseline; }
.home_continuity_item strong { font: 400 26px/1 var(--home_font_display); }
.home_continuity_item span { font-size: 13px; color: #b3bbc3; }
.home_continuity_panel p.home_continuity_foot { font-size: 12px; margin: 24px 0 0; color: #969fa9; line-height: 1.8; }

/* Applications */
.home_application_list { border-top: 1px solid var(--home_border_bright); }
.home_application { display: grid; grid-template-columns: minmax(140px, .3fr) 1fr; gap: 42px; border-bottom: 1px solid var(--home_border); padding: 33px 0; }
.home_application > span { font-size: 11px; letter-spacing: .16em; color: #9da6b0; padding-top: 5px; }
.home_application h3 { margin-bottom: 13px; }
.home_application p { margin: 0; line-height: 1.85; max-width: 770px; font-size: 15px; }
.home_instances_note { max-width: 930px; margin-top: 41px; padding: 24px 27px; border-left: 1px solid #9da9b4; color: #b5bec7; font-size: 14px; line-height: 1.85; background: rgba(255,255,255,.018); }
.home_instances_note strong { color: #e1e5e8; font-weight: 600; }

/* Institutional */
.home_institutional { background: radial-gradient(ellipse at 83% 20%, rgba(102,117,131,.12), transparent 50%), #0b0d10; }
.home_institutional_inner { max-width: 1100px; }
.home_institutional h2 { max-width: 850px; }
.home_institutional_inner > p:not(.home_kicker) { font-size: 18px; line-height: 1.86; max-width: 970px; margin: 30px 0; }
.home_institutional p a, .home_footer_statement a { color: #ecf0f3; border-bottom: 1px solid #929ba4; transition: border-color .2s, color .2s; }
.home_institutional p a:hover, .home_footer_statement a:hover { color: white; border-color: white; }
.home_institutional_cta { padding-top: 28px; margin-top: 50px; border-top: 1px solid var(--home_border); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.home_institutional_cta > span { font-size: 13px; color: #a8b1ba; }

/* Footer */
.home_footer { background: #060709; padding: 56px 0 28px; }
.home_footer_top { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.home_footer_identity { width: min(360px, 70%); }
.home_footer_identity img { display: block; max-width: 340px; width: 100%; }
.home_footer_identity > span { display: block; margin-top: 8px; color: #9aa3ae; font-size: 10px; letter-spacing: .12em; }
.home_back_top { display: inline-flex; gap: 24px; align-items: center; font-size: 12px; color: #bbc3ca; }
.home_back_top span { font-size: 20px; }
.home_footer_statement { max-width: 950px; margin: 45px 0 48px; font-size: 14px; line-height: 1.95; color: #aeb5bf; }
.home_footer_bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding-top: 20px; border-top: 1px solid var(--home_border); color: #89929c; font-size: 11px; }

/* Progressive enhancement: elements remain visible if JS is absent */
.home_js_ready [data_home_reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.home_js_ready [data_home_reveal].home_revealed { opacity: 1; transform: translateY(0); }

@media (max-width: 1190px) {
  .home_container { width: min(calc(100% - 70px), var(--home_max_width)); }
  .home_header_inner { min-height: 77px; }
  .home_brand_sub { display: none; }
  .home_brand_separator { display: none; }
  .home_hero { grid-template-columns: 1fr 1fr; gap: 25px; }
  .home_hero_image_frame { min-height: 350px; }
  .home_signal_inner { justify-content: center; flex-wrap: wrap; padding-block: 18px; min-height: 0; }
  .home_signal_inner i:last-of-type { display: none; }
}
@media (max-width: 900px) {
  .home_container { width: min(calc(100% - 50px), var(--home_max_width)); }
  .home_menu_toggle { display: flex; }
  /* Without JS, mobile navigation is displayed as a static row rather than hidden. */
  .home_nav { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 13px 22px; padding: 0 0 15px; }
  .home_header_inner { flex-wrap: wrap; }
  .home_menu_toggle { visibility: hidden; }
  .home_js_ready .home_menu_toggle { visibility: visible; }
  .home_js_ready .home_nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 24px 25px; background: #0c0d10; border-bottom: 1px solid var(--home_border_bright); flex-direction: column; align-items: stretch; gap: 0; }
  .home_js_ready .home_nav.home_nav_open { display: flex; }
  .home_js_ready .home_nav a, .home_js_ready .home_nav_workspace { padding: 12px 7px; font-size: 15px; }
  .home_nav_workspace { align-self: flex-start; }
  .home_menu_toggle.home_menu_open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .home_menu_toggle.home_menu_open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .home_hero { padding-block: 85px 110px; min-height: auto; grid-template-columns: 1fr; gap: 52px; }
  .home_hero_copy { max-width: 800px; }
  .home_hero_image_frame { min-height: 300px; }
  .home_scroll_hint { bottom: 26px; }
  .home_overview, .home_continuity_grid { grid-template-columns: 1fr; gap: 38px; }
  .home_method_grid { gap: 14px; }
  .home_info_panel { padding: 27px; }
  .home_dimension { padding: 25px; }
  .home_operation_card { padding: 25px; }
  .home_generation { grid-template-columns: 135px 1fr 45px; gap: 15px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 75px; }
  .home_container { width: calc(100% - 36px); }
  .home_brand_name { font-size: 26px; }
  .home_header_inner { min-height: 70px; }
  .home_hero { padding-block: 70px 108px; gap: 40px; }
  .home_eyebrow { font-size: 9px; letter-spacing: .14em; }
  .home_edition { font-size: 10px; }
  .home_hero h1 { font-size: 69px; }
  .home_hero h1 > span { font-size: 32px; }
  .home_hero_lead { font-size: 15px; line-height: 1.85; }
  .home_hero_actions { gap: 22px; }
  .home_hero_image_frame { min-height: 225px; }
  .home_visual_caption { font-size: 8px; }
  .home_scroll_hint { font-size: 9px; }
  .home_signal_inner { justify-content: flex-start; gap: 12px; }
  .home_signal_inner span { font-size: 9px; }
  .home_signal_inner i { display: none; }
  .home_section { padding-block: 82px; }
  .home_section h2 { font-size: clamp(37px, 9vw, 51px); }
  .home_section_intro { margin-bottom: 33px; }
  .home_section_intro > p:not(.home_kicker) { font-size: 16px; margin-top: 18px; line-height: 1.8; }
  .home_section_body p { font-size: 16px; }
  .home_method_grid, .home_dimension_grid, .home_operations_grid { grid-template-columns: 1fr; }
  .home_info_panel, .home_dimension, .home_operation_card { min-height: 0; padding: 27px 23px; }
  .home_dimension h3 { margin-top: 23px; }
  .home_dimension_count { font-size: 65px; }
  .home_architecture_note { padding: 22px; gap: 15px; }
  .home_generation { grid-template-columns: 1fr 40px; gap: 12px; padding: 27px 0; }
  .home_generation_version { grid-column: 1; }
  .home_generation_content { grid-column: 1; }
  .home_generation_link { grid-column: 2; grid-row: 1 / span 2; }
  .home_generation h3 { font-size: 21px; }
  .home_generation p { font-size: 14px; }
  .home_comparison { margin-top: 50px; }
  .home_comparison_heading { display: block; }
  .home_comparison_heading p { margin-top: 9px; }
  .home_operation_card h3 { margin-top: 23px; }
  .home_continuity_item { grid-template-columns: 97px 1fr; }
  .home_continuity_item strong { font-size: 22px; }
  .home_application { grid-template-columns: 1fr; gap: 10px; padding-block: 27px; }
  .home_institutional_inner > p:not(.home_kicker) { font-size: 16px; }
  .home_institutional_cta { align-items: flex-start; flex-direction: column; }
  .home_footer_top { gap: 18px; }
  .home_footer_identity { width: 68%; }
  .home_footer_identity > span { font-size: 8px; }
  .home_back_top { font-size: 11px; gap: 6px; }
  .home_footer_statement { margin: 36px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .home_js_ready [data_home_reveal] { opacity: 1; transform: none; }
}
