/* Hide Mandatory Ionos Default Template Elements */
#ionos_system_lock,
#container {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

/* Base Page Reset & Dark Navy Wave Background */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  background-color: #03091e !important;
  color: #ffffff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

#avl_site {
  position: relative;
  min-height: 100vh;
  background-color: #03091e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' width='100%25' height='100%25'%3E%3Cg fill='none' stroke='%23163b73' stroke-width='0.8' opacity='0.38'%3E%3Cpath d='M-100 100 C 300 400, 600 -100, 1540 300'/%3E%3Cpath d='M-100 130 C 320 430, 620 -70, 1540 330'/%3E%3Cpath d='M-100 160 C 340 460, 640 -40, 1540 360'/%3E%3Cpath d='M-100 190 C 360 490, 660 -10, 1540 390'/%3E%3Cpath d='M-100 220 C 380 520, 680 20, 1540 420'/%3E%3Cpath d='M-100 250 C 400 550, 700 50, 1540 450'/%3E%3Cpath d='M-100 650 C 400 250, 900 850, 1540 400'/%3E%3Cpath d='M-100 680 C 420 280, 920 880, 1540 430'/%3E%3Cpath d='M-100 710 C 440 310, 940 910, 1540 460'/%3E%3Cpath d='M-100 740 C 460 340, 960 940, 1540 490'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding: 32px 20px 60px 20px;
  box-sizing: border-box;
}

.avl_shell {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Top Navigation Bar */
.avl_topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 36px;
}

.avl_status_pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: #cbd5e1;
}

.avl_status_dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00e676;
  box-shadow: 0 0 10px #00e676;
}

.avl_top_actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avl_top_cta {
  background: linear-gradient(135deg, #38b6ff, #1e88e5);
  color: #03091e !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
}

/* Main Hero Card & Artwork Lockup */
.avl_hero_card {
  background: rgba(8, 17, 46, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
  margin-bottom: 32px;
}

.avl_logo_lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 44px;
  margin-bottom: 44px;
}

/* Embedded Crisp SVG Pinwheel from Your Logo Artwork */
.avl_pinwheel_graphic {
  width: 210px;
  height: 210px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Ccircle cx='130' cy='132' r='28' fill='%23ff002b'/%3E%3Cg fill='%23ff9900'%3E%3Ccircle cx='115' cy='80' r='21'/%3E%3Ccircle cx='72' cy='70' r='11'/%3E%3Cpath d='M72 64 L115 70 L115 90 L72 76 Z'/%3E%3C/g%3E%3Cg fill='%23ffcc00'%3E%3Ccircle cx='165' cy='95' r='21'/%3E%3Ccircle cx='152' cy='52' r='11'/%3E%3Cpath d='M146 52 L156 95 L174 95 L158 52 Z'/%3E%3C/g%3E%3Cg fill='%2300e676'%3E%3Ccircle cx='180' cy='142' r='21'/%3E%3Ccircle cx='208' cy='108' r='11'/%3E%3Cpath d='M202 103 L172 135 L188 149 L214 113 Z'/%3E%3C/g%3E%3Cg fill='%2300f0ff'%3E%3Ccircle cx='146' cy='182' r='21'/%3E%3Ccircle cx='188' cy='190' r='11'/%3E%3Cpath d='M146 172 L188 184 L188 196 L146 192 Z'/%3E%3C/g%3E%3Cg fill='%2300b4ff'%3E%3Ccircle cx='96' cy='170' r='21'/%3E%3Ccircle cx='110' cy='212' r='11'/%3E%3Cpath d='M88 170 L104 212 L116 212 L106 170 Z'/%3E%3C/g%3E%3Cg fill='%232979ff'%3E%3Ccircle cx='82' cy='120' r='21'/%3E%3Ccircle cx='54' cy='154' r='11'/%3E%3Cpath d='M74 114 L48 149 L60 159 L90 126 Z'/%3E%3C/g%3E%3C/svg%3E");
}

.avl_brand_text {
  flex: 1;
  min-width: 240px;
  max-width: 520px;
}

.avl_rule_line {
  height: 2px;
  background-color: rgba(255, 255, 255, 0.85);
  width: 100%;
}

.avl_title {
  margin: 14px 0 !important;
  font-size: 64px !important;
  line-height: 1.02 !important;
  font-weight: 800 !important;
  letter-spacing: -1.5px;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
}

.avl_letter_a { color: #ff002b; }
.avl_letter_v { color: #ffcc00; }
.avl_letter_l { color: #5ce1e6; }
.avl_word_events {
  display: block;
  color: #ffffff;
  font-size: 68px;
}

.avl_tagline {
  margin: 14px 0 0 0 !important;
  font-size: 20px !important;
  font-style: italic;
  color: #f1f5f9 !important;
  letter-spacing: 0.2px;
}

/* Three Discipline Cards */
.avl_pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.avl_pillar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
}

.avl_pillar_a { border-top: 3px solid #ff002b; }
.avl_pillar_v { border-top: 3px solid #ffcc00; }
.avl_pillar_l { border-top: 3px solid #5ce1e6; }

.avl_pillar_badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  margin-bottom: 8px;
  color: #94a3b8;
}

.avl_pillar h3 {
  margin: 0 0 8px 0 !important;
  font-size: 18px !important;
  color: #ffffff !important;
}

.avl_pillar p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #94a3b8 !important;
}

/* Contact & Form Grid */
.avl_contact_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.avl_contact_info,
.avl_form_box {
  background: rgba(8, 17, 46, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 34px;
  box-sizing: border-box;
}

.avl_eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #5ce1e6;
  margin-bottom: 8px;
}

.avl_contact_info h2,
.avl_form_box h2 {
  margin: 0 0 12px 0 !important;
  font-size: 26px !important;
  color: #ffffff !important;
}

.avl_lead {
  margin: 0 0 24px 0 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: #cbd5e1 !important;
}

.avl_direct_cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.avl_direct_card {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 20px;
  text-decoration: none !important;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.avl_direct_card:hover {
  border-color: #5ce1e6;
  transform: translateY(-2px);
}

.avl_card_label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.avl_card_value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  word-break: break-word;
}

.avl_card_sub {
  display: block;
  font-size: 12px;
  color: #5ce1e6;
  margin-top: 4px;
}

/* Form Styles */
.avl_field {
  margin-bottom: 16px;
}

.avl_field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.avl_input,
.avl_textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(3, 9, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
}

.avl_input:focus,
.avl_textarea:focus {
  outline: none;
  border-color: #5ce1e6;
}

.avl_submit_btn {
  width: 100%;
  background: linear-gradient(135deg, #ff002b, #ff5500);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
}

/* Footer */
.avl_footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #64748b;
}

/* Mobile Responsive Adjustments for Real Phones */
@media screen and (max-width: 768px) {
  #avl_site {
    padding: 16px 12px 40px 12px;
  }
  .avl_topbar {
    justify-content: center;
    text-align: center;
  }
  .avl_hero_card {
    padding: 28px 18px;
  }
  .avl_logo_lockup {
    gap: 20px;
    margin-bottom: 28px;
    text-align: center;
  }
  .avl_pinwheel_graphic {
    width: 140px;
    height: 140px;
  }
  .avl_title {
    font-size: 44px !important;
  }
  .avl_word_events {
    font-size: 48px;
  }
  .avl_tagline {
    font-size: 16px !important;
  }
  .avl_contact_info,
  .avl_form_box {
    padding: 22px 18px;
  }
  .avl_footer {
    flex-direction: column;
    text-align: center;
  }
}